/* SN Web Design — Services page */

:root {
  --bg: #0f0f0f;
  --bg-alt: #161616;
  --surface: #1c1c1c;
  --border: #2a2a2a;
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --accent: #c9a227;
  --accent-soft: rgba(201, 162, 39, 0.12);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  gap: 24px;
}

.header-nav-left {
  justify-self: start;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link-header {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link-header:hover {
  color: var(--accent);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

.logo img {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
}

.logo-footer img {
  height: 40px;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--bg);
  background: var(--accent);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  background: #d4af37;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* Hero */
.hero {
  padding: 100px 0 120px;
}

.hero-inner {
  max-width: 720px;
}

.hero-subtitle {
  margin: 0 0 20px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}

.hero-desc {
  margin: 0 0 36px;
  font-size: 1.1875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-alt);
}

/* Who We Are — two columns with image box */
.who-we-are-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.who-we-are-content .section-heading {
  margin-top: 0;
}

.who-we-are-image-box {
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
}

.who-we-are-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-heading {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--text);
}

.section-tagline {
  margin: 0 0 40px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* Who We Are — prose */
.prose {
  max-width: 680px;
}

.prose p {
  margin: 0 0 1.25em;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

/* The SN Approach */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.approach-card {
  padding: 40px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.approach-card:hover {
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.approach-letter {
  display: inline-block;
  width: 56px;
  height: 56px;
  line-height: 56px;
  text-align: center;
  font-family: var(--serif);
  font-size: 2.25rem;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.approach-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.approach-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Core Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  padding: 36px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s;
}

.service-card:hover {
  border-color: rgba(201, 162, 39, 0.3);
}

.service-num {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}

.service-card p {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.service-card ul {
  margin: 0;
  padding: 0 0 0 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.service-card li {
  margin-bottom: 4px;
}

.service-card li:last-child {
  margin-bottom: 0;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 36px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s;
}

.pricing-card:hover {
  border-color: rgba(201, 162, 39, 0.3);
}

.pricing-name {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
}

.pricing-tagline {
  margin: 0 0 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-sep {
  opacity: 0.5;
  padding: 0 0.35em;
}

.pricing-desc {
  margin: 0 0 20px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.pricing-list {
  margin: 0 0 0;
  padding: 0 0 0 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.pricing-list li {
  margin-bottom: 6px;
}

.pricing-card .btn {
  margin-top: 24px;
}

/* Why Partner */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.why-card h3 {
  margin: 0 0 10px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
}

.why-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
}

.cta-inner {
  text-align: center;
  padding: 64px 48px;
  background: linear-gradient(180deg, var(--surface) 0%, rgba(201, 162, 39, 0.06) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.cta-title {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--text);
}

.cta-desc {
  margin: 0 0 28px;
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}

/* Footer */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-tagline {
  flex: 1;
  min-width: 200px;
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-copyright {
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Blog Page */
.blog-header {
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 24px;
}

.blog-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  border-color: rgba(201, 162, 39, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.blog-card-image {
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-content {
  padding: 24px;
}

.blog-date {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.blog-card-title {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.blog-card-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card-title a:hover {
  color: var(--accent);
}

.blog-card-excerpt {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.blog-card-link {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card-link:hover {
  color: var(--accent-hover);
}

/* Blog Post Pages */
.blog-post {
  padding: 80px 0;
}

.blog-post-header {
  max-width: 720px;
  margin: 0 auto 48px;
}

.blog-back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.blog-back-link:hover {
  color: var(--accent);
}

.blog-post-header .blog-date {
  margin-bottom: 16px;
}

.blog-post-title {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}

.blog-post-subtitle {
  margin: 0;
  font-size: 1.1875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.blog-post-content {
  max-width: 720px;
  margin: 0 auto;
}

.blog-post-content h2 {
  margin: 2em 0 0.75em;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
}

.blog-post-content h2:first-of-type {
  margin-top: 0;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 1em 0;
  padding-left: 1.5em;
}

.blog-post-content li {
  margin-bottom: 0.5em;
  line-height: 1.7;
}

.blog-post-content a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-post-content a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Start Your Project / brief flow */
.step-page {
  background: var(--bg);
}

.step-main {
  min-height: calc(100vh - 72px - 120px);
}

.step-card {
  max-width: 640px;
  margin: 40px auto 0;
  padding: 40px 32px 32px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.step-intro {
  margin: 0 0 24px;
  font-size: 0.975rem;
  color: var(--text-muted);
}

.step-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}

.field-group {
  display: flex;
  gap: 16px;
}

.field-group .field {
  flex: 1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--text);
  background: #111;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 10px 12px;
  outline: none;
  resize: vertical;
}

.field textarea {
  min-height: 120px;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(201, 162, 39, 0.7);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #666;
}

/* Responsive */
@media (max-width: 900px) {
  .who-we-are-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .approach-grid,
  .services-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .header-inner {
    display: flex;
    justify-content: center;
    position: relative;
  }

  .header-nav-left {
    display: none;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .header-actions {
    position: absolute;
    right: 24px;
  }

  .hero {
    padding: 64px 0 80px;
  }

  .section {
    padding: 64px 0;
  }

  .cta-inner {
    padding: 48px 24px;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-tagline {
    text-align: center;
  }
}
