/* ============================================================
   WILSON VILLON — Portfolio
   styles.css
   ============================================================ */

/* ── Google Fonts are loaded via <link> in the HTML ── */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --bg:            hsl(40, 40%, 98%);
  --bg-alt:        hsl(42, 33%, 93%);
  --fg:            hsl(210, 10%, 11%);
  --fg-muted:      hsl(210, 5%, 45%);
  --primary:       hsl(194, 30%, 25%);
  --primary-fg:    #ffffff;
  --accent:        hsl(40, 47%, 68%);
  --card:          #ffffff;
  --border:        hsl(40, 15%, 88%);
  --muted:         hsl(40, 15%, 94%);

  --font:          'Outfit', sans-serif;
  --radius:        0px;

  --nav-h:         80px;
  --max-w:         1200px;
  --px:            clamp(1.25rem, 5vw, 3rem);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; width: 100%; overflow-x: hidden; }
body {
  width: 100%;
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Layout helpers ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  border-color: var(--primary);
}
.btn-primary:hover { opacity: 0.88; }
.btn-outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn-outline:hover { background: var(--muted); }
.btn-full { width: 100%; text-align: center; padding: 1rem 2rem; }
.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-text-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.btn-text-link:hover { color: var(--primary); border-color: var(--primary); }
.btn-text-link:hover svg { transform: translateX(4px); }

/* ── Section headers ────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.125rem;
  color: var(--fg-muted);
}

/* ── Scroll animations ──────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.21, 0.47, 0.32, 0.98),
              transform 0.7s cubic-bezier(0.21, 0.47, 0.32, 0.98);
}
.fade-in[data-direction="left"] { transform: translateX(-32px); }
.fade-in[data-direction="right"] { transform: translateX(32px); }
.fade-in.visible { opacity: 1; transform: translate(0, 0); }

.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.21, 0.47, 0.32, 0.98),
              transform 0.6s cubic-bezier(0.21, 0.47, 0.32, 0.98);
}
.stagger-item.visible { opacity: 1; transform: translateY(0); }

/* ── NAVIGATION ─────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: hsla(40, 40%, 98%, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.06); }
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.accent-dot { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--primary); }
.nav-cta {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.88; }

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 6rem;
  overflow: hidden;
}
.hero-bg-shape {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: var(--bg-alt);
  border-bottom-left-radius: 100px;
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid hsla(194, 30%, 25%, 0.2);
  background: hsla(194, 30%, 25%, 0.05);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.hero-heading {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: var(--fg);
}
.hero-em {
  font-style: italic;
  color: var(--primary);
  font-weight: 700;
}
.hero-subtext {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
}
.trust-icon {
  width: 16px; height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}
.hero-image { position: relative; }
.hero-img-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 80px 0 80px 0;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.14);
}
.hero-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-overlay {
  position: absolute; inset: 0;
  background: hsla(194, 30%, 25%, 0.1);
  mix-blend-mode: multiply;
}
.hero-stat-card {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  max-width: 240px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.hero-stat-card .stat-card-icon {
  width: 44px; height: 44px;
  background: var(--muted);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.hero-stat-card .stat-card-icon svg { width: 22px; height: 22px; }
.stat-label { font-size: 0.8rem; font-weight: 500; color: var(--fg-muted); }
.stat-value { font-size: 1.4rem; font-weight: 700; color: var(--fg); }
.stat-desc { font-size: 0.75rem; color: var(--fg-muted); margin-top: 0.5rem; line-height: 1.5; }

/* ── WHO I HELP ─────────────────────────────────────────────── */
.who-i-help { padding: 6rem 0; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.card {
  background: var(--card);
  padding: 2.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.card-icon {
  width: 48px; height: 48px;
  background: hsla(194, 30%, 25%, 0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; }
.card p { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.7; }

/* ── SERVICES ───────────────────────────────────────────────── */
.services { padding: 6rem 0; }
.services-inner {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 4rem;
  align-items: start;
}
.services-intro h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.services-intro p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.services-list { display: flex; flex-direction: column; gap: 1.5rem; }
.service-item {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  padding: 2rem 2.25rem;
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color 0.25s;
}
.service-item:hover { border-color: hsla(194, 30%, 25%, 0.3); }
.service-icon {
  width: 56px; height: 56px;
  background: var(--muted);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.service-icon svg { width: 28px; height: 28px; }
.service-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.service-item:hover .service-content h3 { color: var(--primary); }
.service-content p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* ── CASE STUDY ─────────────────────────────────────────────── */
.case-study {
  position: relative;
  padding: 6rem 0;
  background: var(--primary);
  color: var(--primary-fg);
  overflow: hidden;
}
.case-study-grid-bg {
  position: absolute; inset: 0;
  opacity: 0.07;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 39px, rgba(255,255,255,0.5) 39px, rgba(255,255,255,0.5) 40px
  ),
  repeating-linear-gradient(
    90deg, transparent, transparent 39px, rgba(255,255,255,0.5) 39px, rgba(255,255,255,0.5) 40px
  );
}
.case-study-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--primary-fg);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 2.5rem;
}
.case-study-inner { position: relative; z-index: 1; }
.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.case-study-image {
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 5 / 5.9;
}
.case-study-image img {   display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.95;
}
.case-study-img-border {
  position: absolute; 
  inset: 0;
  border: 6px solid rgba(255,255,255,0.12);
  pointer-events: none;
}
.case-study-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: #fff;
}
.case-study-context {
  margin-top: 0.75rem;
  margin-bottom: 1.75rem;
  font-size: 0.98rem;
  font-weight: 500;
  opacity: 0.92;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 38rem;
}
.case-study-block { margin-bottom: 1.75rem; }
.cs-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.case-study-block p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.8);
}
.case-study-result {
  background: rgba(255,255,255,0.06);
  border-left: 4px solid var(--accent);
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
}
.result-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.result-heading svg { width: 18px; height: 18px; color: var(--accent); }
.case-study-result p {
  font-size: 0.97rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
}

/* ── PROCESS ────────────────────────────────────────────────── */
.process { padding: 6rem 0; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: calc(var(--px) + 1.5rem);
  right: calc(var(--px) + 1.5rem);
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.process-step {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 48px; height: 48px;
  background: var(--primary);
  color: var(--primary-fg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.process-step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.process-step p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.7; }

/* ── ABOUT ──────────────────────────────────────────────────── */
.about { padding: 6rem 0; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image {
  position: relative;
  max-width: 420px;
}
.about-img-wrapper {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--muted);
}
.about-img-wrapper img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.25);
}
.about-deco-square-bottom {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  width: 10rem; height: 10rem;
  background: var(--muted);
  z-index: -1;
}
.about-deco-border-top {
  position: absolute;
  top: -1.5rem; left: -1.5rem;
  width: 6rem; height: 6rem;
  border: 1px solid var(--border);
  z-index: -1;
}
.about-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.about-paragraphs { display: flex; flex-direction: column; gap: 1.25rem; }
.about-paragraphs p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.8;
}
.about-cta { margin-top: 0.5rem; }

/* ── CONTACT ────────────────────────────────────────────────── */
.contact {
  padding: 6rem 0;
  background: var(--primary);
  color: var(--primary-fg);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1rem;
}
.contact-info > p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 380px;
}
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-detail-item { display: flex; align-items: center; gap: 1.25rem; }
.contact-detail-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 20px; height: 20px; color: var(--accent); }
.contact-detail-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.2rem;
}
.contact-detail-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  transition: color 0.2s;
}
a.contact-detail-value:hover { color: var(--accent); }

/* Form card */
.form-card {
  background: var(--card);
  color: var(--fg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-field { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.form-field:last-child { margin-bottom: 0; }
.form-field label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--fg);
}
.form-field input,
.form-field textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--fg-muted); opacity: 0.6; }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(194, 30%, 25%, 0.12);
}
.form-field input.has-error,
.form-field textarea.has-error { border-color: #d9534f; }
.form-field textarea { resize: none; }
.field-error {
  font-size: 0.8rem;
  color: #d9534f;
  margin-top: 0.25rem;
  min-height: 1.1em;
}

/* Form submit */
.contact-form .btn-full {
  margin-top: 0.5rem;
  padding: 1rem;
  font-size: 1rem;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 3rem 1rem;
}
.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.success-icon svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.form-success p { color: var(--fg-muted); margin-bottom: 2rem; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
  padding-bottom: 2rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.footer-brand p { font-size: 0.9rem; color: var(--fg-muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 2rem; }
.footer-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.825rem;
  color: var(--fg-muted);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .btn-text-link { display: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: block; min-width: 0;max-width: 100%; margin-top: 2rem; }
  .hero-image img { width: 100%; height: auto; display: block; }
  .hero-heading { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .hero-stat-card { position: static; margin-top: 1.25rem; max-width: 100%; }
  .cards-grid { grid-template-columns: 1fr; }
  .case-study-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .case-study-image { order: 2; }
  .case-study-content { order: 1; min-width: 0; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-image { display: block; min-width: 0; max-width: 100%; margin-top: 2rem; }
  .about-image img { width: 100%; height: auto; display: block; }
  .about-deco-square-bottom { display: none; }
  .about-deco-border-top { display: none; }
  .about-content { min-width: 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-info { min-width: 0; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { min-width: 0; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* Mobile nav open state */
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem var(--px) 2rem;
    gap: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    z-index: 99;
  }
  .nav-links.mobile-open .nav-link,
  .nav-links.mobile-open .nav-cta {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    font-weight: 600;
    color: var(--fg);
    background: none;
    border-radius: 0;
  }
  .nav-links.mobile-open .nav-cta {
    margin-top: 1rem;
    border-bottom: none;
    background: var(--primary);
    color: var(--primary-fg);
    text-align: center;
    padding: 0.85rem 1.25rem;
  }
}

@media (max-width: 520px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; gap: 0.75rem; }
}
