/* =============================================================
   LeadFlow — Diego Nuñez · Glassmorphism SaaS (azul/morado)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --blue:      #3A5AFF;
  --blue-600:  #2c45e0;
  --purple:    #7A3FFF;
  --purple-600:#6a2ff0;

  --ink:       #141a2e;
  --ink-soft:  #3f4762;
  --ink-mute:  #7e87a3;

  --bg:        #fbfcff;
  --bg-2:      #f1f4fd;
  --paper:     #ffffff;

  --line:      rgba(20, 26, 46, 0.09);
  --glass:     rgba(255, 255, 255, 0.55);
  --glass-2:   rgba(255, 255, 255, 0.35);

  --grad:      linear-gradient(120deg, #3A5AFF 0%, #7A3FFF 100%);
  --grad-soft: linear-gradient(120deg, rgba(58,90,255,.12), rgba(122,63,255,.12));

  --shadow-sm: 0 2px 10px rgba(20, 26, 46, 0.05);
  --shadow-md: 0 14px 40px -16px rgba(40, 50, 110, 0.22);
  --shadow-lg: 0 40px 90px -30px rgba(58, 70, 160, 0.35);
  --shadow-blue: 0 18px 40px -14px rgba(58, 90, 255, 0.5);

  --radius:    22px;
  --radius-sm: 14px;
  --radius-lg: 30px;

  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --display: 'Poppins', var(--sans);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
::selection { background: rgba(122, 63, 255, 0.18); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--paper); color: var(--ink);
  z-index: 9999; border-radius: 8px; font-weight: 600; box-shadow: var(--shadow-md);
}
.skip-link:focus { top: 1rem; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}

.sec-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-tag {
  display: inline-flex; align-items: center;
  font-family: var(--display); font-weight: 600;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 14px;
}
.sec-intro { color: var(--ink-soft); font-size: 1.08rem; margin-top: 14px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* glass surface */
.glass {
  background: rgba(255, 255, 255, 0.78);              /* solid fallback */
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-md);
}
@supports ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
  .glass {
    background: var(--glass);
    -webkit-backdrop-filter: blur(18px) saturate(165%);
    backdrop-filter: blur(18px) saturate(165%);
  }
}

/* =============================================================
   4. Mesh background
   ============================================================= */
.mesh-bg {
  position: fixed; inset: -10%; z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 38% at 18% 12%, rgba(58, 90, 255, 0.22), transparent 60%),
    radial-gradient(38% 36% at 85% 18%, rgba(122, 63, 255, 0.20), transparent 60%),
    radial-gradient(45% 40% at 72% 88%, rgba(58, 90, 255, 0.16), transparent 62%),
    radial-gradient(40% 38% at 12% 82%, rgba(122, 63, 255, 0.14), transparent 60%);
  filter: blur(50px) saturate(135%);
  animation: meshDrift 26s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(0,-2%,0) scale(1.12); }
}

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--display); font-weight: 600; font-size: .98rem;
  padding: .92em 1.5em; border-radius: 999px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s;
  will-change: transform;
}
.btn-sm { padding: .66em 1.15em; font-size: .9rem; }
.btn-block { width: 100%; padding-block: 1.05em; }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -16px rgba(58, 90, 255, 0.6); }
.btn-ghost {
  background: rgba(255,255,255,0.7); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(58,90,255,.35); color: var(--blue-600); }

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  padding: 14px var(--gutter);
  transition: padding .3s var(--ease-out);
}
.nav-inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; gap: 20px;
  padding: 10px 14px 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, background .3s;
}
@supports ((backdrop-filter: blur(14px)) or (-webkit-backdrop-filter: blur(14px))) {
  .nav-inner { background: rgba(255,255,255,0.45); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
}
.nav.is-stuck .nav-inner { box-shadow: var(--shadow-md); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; }
.brand-mark {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 1.05rem;
  box-shadow: var(--shadow-blue);
}
.brand-name { font-size: 1.12rem; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  position: relative; padding: .5em .85em; border-radius: 999px;
  font-weight: 500; font-size: .95rem; color: var(--ink-soft);
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--ink); background: var(--grad-soft); }
.nav .btn-primary { flex-shrink: 0; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  max-width: var(--maxw); margin-inline: auto;
  padding: clamp(40px, 7vw, 90px) var(--gutter) clamp(30px, 5vw, 56px);
}
.hero-grid {
  display: grid; gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 600; font-size: .82rem;
  letter-spacing: .06em; color: var(--ink-soft);
  padding: 7px 15px; border-radius: 999px;
  background: rgba(255,255,255,0.6); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(58,90,255,.16); }
.hero-title {
  font-size: clamp(2.3rem, 6vw, 4rem);
  margin: 22px 0 18px;
  max-width: 16ch;
  line-height: 1.02;
}
.hero-sub { font-size: 1.2rem; color: var(--ink-soft); max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 28px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 26px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.hero-trust li { font-size: .92rem; color: var(--ink-mute); line-height: 1.3; }
.hero-trust strong { display: block; font-family: var(--display); font-size: 1.45rem; color: var(--ink); font-weight: 700; }

/* ---- Dashboard mockup ---- */
.hero-visual { position: relative; perspective: 1400px; }
.dash {
  border-radius: var(--radius);
  overflow: hidden;
  transform: rotateY(-9deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out);
}
.dash-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.5);
}
.dash-dots { display: inline-flex; gap: 6px; }
.dash-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.dash-dots i:nth-child(1) { background: #ff6b6b; }
.dash-dots i:nth-child(2) { background: #ffd166; }
.dash-dots i:nth-child(3) { background: #4ade80; }
.dash-title { font-size: .8rem; color: var(--ink-mute); font-weight: 500; }
.dash-body { display: grid; grid-template-columns: 52px 1fr; min-height: 300px; }
.dash-side {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 16px 0; background: var(--grad);
}
.dash-logo { width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,0.22); display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 800; }
.dash-ic { width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,0.25); }
.dash-ic.is-active { background: rgba(255,255,255,0.85); }
.dash-main { padding: 18px; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.stat { padding: 12px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.6); border: 1px solid var(--line); }
.stat-lab { display: block; font-size: .68rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .06em; }
.stat-val { display: block; font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--ink); line-height: 1.2; }
.stat-up { font-size: .7rem; font-weight: 700; color: #16a34a; }
.dash-table { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.dash-table .row { display: grid; grid-template-columns: 1.1fr 1fr .9fr; gap: 8px; padding: 10px 12px; font-size: .8rem; align-items: center; }
.dash-table .row + .row { border-top: 1px solid var(--line); }
.dash-table .head { background: rgba(58,90,255,.06); font-weight: 600; color: var(--ink-mute); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }
.tag { justify-self: start; font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.tag-green { background: rgba(22,163,74,.12); color: #16a34a; }
.tag-blue { background: rgba(58,90,255,.12); color: var(--blue-600); }
.tag-amber { background: rgba(186,117,23,.14); color: #b8860b; }

.float-card {
  position: absolute; left: -18px; bottom: -26px;
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: var(--radius-sm); max-width: 250px;
  animation: floatY 5s var(--ease-soft) infinite;
}
.float-card .fc-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(22,163,74,.15); color: #16a34a; font-weight: 800; flex-shrink: 0; }
.float-card strong { display: block; font-family: var(--display); font-size: .88rem; }
.float-card small { color: var(--ink-mute); font-size: .76rem; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* =============================================================
   8. Logos strip
   ============================================================= */
.logos { max-width: var(--maxw); margin: 0 auto; padding: 10px var(--gutter) 30px; text-align: center; }
.logos-lead { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-mute); margin-bottom: 18px; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 4vw, 48px); }
.logos-row li { font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 2.2vw, 1.4rem); color: var(--ink-mute); opacity: .65; transition: opacity .3s, color .3s; letter-spacing: -.01em; }
.logos-row li:hover { opacity: 1; color: var(--ink); }
.logos-row .logo-chip {
  display: grid; place-items: center;
  width: clamp(88px, 22vw, 110px); height: clamp(88px, 22vw, 110px);
  border-radius: 22px; background: #0d1022; padding: 15px; opacity: 1;
  box-shadow: var(--shadow-md); border: 1px solid rgba(255,255,255,0.08);
}
.logos-row .logo-chip img { width: 100%; height: 100%; object-fit: contain; }

/* =============================================================
   9. About
   ============================================================= */
.about-grid { display: grid; gap: clamp(36px, 6vw, 70px); align-items: center; }
@media (min-width: 860px) { .about-grid { grid-template-columns: .85fr 1fr; } }
.about-photo { position: relative; max-width: 380px; margin-inline: auto; }
.about-photo img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--grad-soft);
}
.about-badge {
  position: absolute; right: -10px; bottom: 22px;
  padding: 12px 18px; border-radius: 16px;
  font-family: var(--display); font-weight: 700; font-size: .98rem; line-height: 1.2;
}
.about-badge small { display: block; font-weight: 500; color: var(--ink-mute); font-size: .76rem; margin-top: 2px; }
.industries { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.industries li {
  padding: 8px 16px; border-radius: 999px;
  background: var(--grad-soft); border: 1px solid var(--line);
  font-size: .9rem; font-weight: 500; color: var(--ink-soft);
}
.about-copy h2 { margin-bottom: 16px; }
.about-copy p + p { margin-top: 14px; }

/* =============================================================
   10. Product / feature grid
   ============================================================= */
.feature-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature {
  padding: 28px 24px; border-radius: var(--radius);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.feat-ic {
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 15px; background: var(--grad); color: #fff; margin-bottom: 18px;
  box-shadow: var(--shadow-blue);
}
.feat-ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: .96rem; }

/* =============================================================
   11. Clients
   ============================================================= */
.client-feature {
  display: grid; gap: 0; border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 24px;
}
@media (min-width: 760px) { .client-feature { grid-template-columns: 1.05fr 1fr; } }
.cf-media { position: relative; min-height: 240px; }
.cf-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/11; }
.cf-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--grad); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: .82rem;
  padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-blue);
}
.cf-copy { padding: clamp(26px, 4vw, 44px); }
.cf-copy h3 { font-size: 1.7rem; margin-bottom: 12px; }
.cf-copy p { color: var(--ink-soft); }
.cf-highlight { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--grad-soft); border: 1px solid var(--line); color: var(--ink); }
.cf-highlight strong { color: var(--purple-600); }
.cf-logo {
  display: inline-grid; place-items: center;
  width: 60px; height: 60px; border-radius: 16px;
  background: #0d1022; padding: 9px; margin-bottom: 14px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,0.08);
}
.cf-logo img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 760px) {
  .client-feature.reverse .cf-media { order: 2; }
  .client-feature.reverse .cf-copy { order: 1; }
}

.client-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .client-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .client-grid { grid-template-columns: repeat(3, 1fr); } }
.client-card { border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.cc-media { aspect-ratio: 16/11; overflow: hidden; }
.cc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.client-card:hover .cc-media img { transform: scale(1.07); }
.cc-body { padding: 18px 20px 22px; }
.cc-body h4 { font-size: 1.1rem; margin-bottom: 6px; }
.cc-body p { font-size: .9rem; color: var(--ink-soft); }

/* =============================================================
   12. Process steps
   ============================================================= */
.steps { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 620px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; padding: 30px 24px 26px;
  border-radius: var(--radius); background: rgba(255,255,255,0.55);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.step-num {
  font-family: var(--display); font-weight: 800; font-size: 2.4rem;
  line-height: 1; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .9;
}
.step h3 { font-size: 1.15rem; margin: 12px 0 8px; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* =============================================================
   13. CTA + form
   ============================================================= */
.cta-card {
  display: grid; gap: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 860px) { .cta-card { grid-template-columns: 1fr 1fr; } }
.cta-copy h2 { margin-bottom: 14px; }
.cta-copy p { color: var(--ink-soft); }
.cta-points { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.cta-points li { display: flex; align-items: center; gap: 7px; font-size: .9rem; color: var(--ink-soft); }
.cta-points li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); color: #fff; font-size: .7rem; font-weight: 800; }
.cta-form { display: grid; gap: 14px; }
.cta-form label { display: grid; gap: 6px; font-weight: 600; font-size: .85rem; color: var(--ink-soft); font-family: var(--display); }
.cta-form input {
  font: inherit; font-weight: 400; color: var(--ink);
  padding: .85em 1em; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.8); border: 1px solid var(--line);
  transition: border-color .25s, box-shadow .25s;
}
.cta-form input::placeholder { color: var(--ink-mute); }
.cta-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(58,90,255,.14); }
.cta-form.is-sending button { opacity: .7; pointer-events: none; }
.form-status { font-size: .9rem; font-weight: 600; min-height: 1.2em; text-align: center; }
.form-status.ok { color: #16a34a; }
.form-status.err { color: #dc2626; }

/* =============================================================
   14. Footer
   ============================================================= */
.footer { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); background: rgba(255,255,255,0.5); }
.footer-inner {
  max-width: var(--maxw); margin-inline: auto; padding: clamp(40px, 6vw, 64px) var(--gutter) 30px;
  display: grid; gap: 32px;
}
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand p { color: var(--ink-mute); font-size: .92rem; margin-top: 12px; max-width: 32ch; }
.footer-links, .footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--ink-soft); font-size: .94rem; transition: color .25s; }
.footer-links a:hover { color: var(--blue-600); }
.footer-social > span { font-family: var(--display); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); }
.social-row { display: flex; flex-wrap: wrap; gap: 14px; }
.social-row a { color: var(--ink-soft); font-size: .92rem; transition: color .25s; }
.social-row a:hover { color: var(--purple-600); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom span { display: block; max-width: var(--maxw); margin-inline: auto; padding: 20px var(--gutter); font-size: .85rem; color: var(--ink-mute); }

/* =============================================================
   15. Effects — reveal
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }   /* defensive */
.is-ready .reveal { will-change: opacity, transform; }

/* =============================================================
   16. Responsive
   ============================================================= */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav .btn-primary { display: none; }
  .nav-inner.is-open { flex-wrap: wrap; border-radius: 24px; }
  .nav-inner.is-open .nav-links { display: flex; flex-direction: column; width: 100%; order: 3; gap: 2px; padding-top: 8px; }
  .nav-inner.is-open .nav-links a { width: 100%; }
  .nav-inner.is-open .btn-primary { display: inline-flex; order: 4; width: 100%; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 959px) {
  .hero-visual { max-width: 520px; margin-inline: auto; }
  .dash { transform: none; }
}
@media (max-width: 520px) {
  .float-card { left: 0; bottom: -18px; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .dash-stats .stat:last-child { grid-column: span 2; }
}

/* =============================================================
   17. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mesh-bg { animation: none; }
  .float-card { animation: none; }
}
