/* ==========================================================================
   Inteliera: estilos del sitio público
   Paleta cálida y cercana: azul de marca + fondo crema + acento ámbar + verde WhatsApp
   ========================================================================== */

:root {
  --ink: #12203a;
  --ink-2: #34425c;
  --muted: #5f6b84;
  --bg: #fbfaf6;
  --surface: #ffffff;
  --soft: #f4f0e8;
  --line: #e9e3d7;
  --line-2: #d9d1c1;

  --brand: #1f4fd8;
  --brand-600: #1a42b5;
  --brand-50: #eef3ff;
  --brand-100: #d9e4ff;
  --teal: #0b8f94;
  --teal-50: #e3f6f5;
  --amber: #f59f1a;
  --amber-ink: #8a5300;
  --amber-50: #fff3dd;
  --amber-mark: #ffe0a3;
  --wa: #128c4a;
  --wa-600: #0d7a3f;
  --wa-50: #e6f5ec;
  --navy: #13234a;
  --navy-2: #0b1426;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(18, 32, 58, .06);
  --shadow: 0 12px 32px -14px rgba(18, 32, 58, .22), 0 2px 6px rgba(18, 32, 58, .05);
  --shadow-lg: 0 34px 70px -24px rgba(18, 32, 58, .35);

  --font-head: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --container: 1180px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 1.35rem + 3.3vw, 3.85rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.25rem + 1.9vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.icon { flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip-link:focus { left: 16px; color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--ink-2); max-width: 640px; }
.mark { background: linear-gradient(180deg, transparent 58%, var(--amber-mark) 58%, var(--amber-mark) 92%, transparent 92%); padding: 0 .08em; border-radius: 4px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: .9rem 1.35rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font-body); cursor: pointer; text-align: center;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(31, 79, 216, .55); }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -8px rgba(18, 140, 74, .55); }
.btn-wa:hover { background: var(--wa-600); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline-wa { background: var(--surface); color: var(--wa-600); border-color: #b9e1c8; box-shadow: none; }
.btn-outline-wa:hover { background: var(--wa-50); color: var(--wa-600); }
.btn-sm { padding: .6rem 1rem; font-size: .95rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand); }
.link-arrow .icon { transition: transform .15s ease; }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: rgba(251, 250, 246, .88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(18, 32, 58, .35); }
.nav { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.32rem; color: var(--ink); letter-spacing: -0.02em; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 36px; height: 36px; }
.wm { letter-spacing: -0.035em; text-transform: lowercase; }
.wm-era { color: var(--brand); }
.logo-light .wm-era { color: #9db7ff; }
.footer-tagline { margin: 10px 0 0 !important; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 9px 13px; border-radius: 10px; color: var(--ink-2); font-weight: 500; font-size: .98rem; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav-link:hover, .nav-link.is-active, .nav-dd.is-active > .nav-link { color: var(--ink); background: rgba(18, 32, 58, .05); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; border-radius: 10px; }

.nav-dd { position: relative; }
.dd-toggle .icon { transition: transform .2s ease; }
.dd-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px);
  width: 380px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.dd-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-dd:hover .dd-menu, .nav-dd:focus-within .dd-menu, .nav-dd.is-open .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dd:hover .dd-toggle .icon, .nav-dd.is-open .dd-toggle .icon { transform: rotate(180deg); }
.dd-item { display: flex; gap: 14px; padding: 12px; border-radius: 12px; color: var(--ink); }
.dd-item:hover { background: var(--soft); color: var(--ink); }
.dd-item strong { display: block; font-weight: 600; }
.dd-item small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; margin-top: 2px; }
.dd-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 72px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(520px 380px at 88% 18%, rgba(31, 79, 216, .10), transparent 70%),
    radial-gradient(420px 320px at 70% 92%, rgba(245, 159, 26, .14), transparent 70%),
    radial-gradient(500px 340px at 0% 0%, rgba(11, 143, 148, .07), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.eyebrow-pill { background: var(--surface); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; color: var(--ink-2); letter-spacing: .02em; text-transform: none; font-size: .88rem; font-weight: 600; box-shadow: var(--shadow-sm); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(18, 140, 74, .5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(18, 140, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 140, 74, 0); } }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions.center { justify-content: center; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin-top: 24px; }
.hero-checks li { display: inline-flex; align-items: center; gap: 7px; font-size: .95rem; color: var(--ink-2); font-weight: 500; }
.hero-checks .icon { color: var(--wa); }
.hero-proof { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; padding-top: 22px; border-top: 1px dashed var(--line-2); color: var(--muted); font-size: .95rem; }
.hero-proof .icon { color: var(--amber); }

/* Maqueta del producto: sistema de gestión + flujo automático */
.hero-visual { position: relative; min-height: 520px; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; }
.app-window { width: min(440px, 100%); margin: 84px 64px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #f1a7a1; }
.app-bar i:nth-child(2) { background: #f6cf7a; } .app-bar i:nth-child(3) { background: #9fd8a9; }
.app-bar span { margin-left: 10px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.app-body { display: grid; grid-template-columns: 52px 1fr; }
.app-side { background: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 0; }
.app-side span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: rgba(255, 255, 255, .55); }
.app-side span.is-on { background: rgba(255, 255, 255, .14); color: #fff; }
.app-main { padding: 16px 18px 18px; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: .95rem; }
.app-chip { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 700; color: var(--wa-600); background: var(--wa-50); padding: 3px 9px; border-radius: 999px; }
.app-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.app-kpis div { background: var(--soft); border-radius: 10px; padding: 8px 10px; }
.app-kpis b { display: block; font-family: var(--font-head); font-size: 1.35rem; line-height: 1.1; }
.app-kpis small { font-size: .72rem; color: var(--muted); }
.app-rows { list-style: none; }
.app-rows li { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .82rem; }
.app-id { color: var(--muted); font-variant-numeric: tabular-nums; }
.app-name { font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.badge-ok { background: var(--wa-50); color: var(--wa-600); }
.badge-wait { background: var(--amber-50); color: var(--amber-ink); }
.badge-new { background: var(--brand-50); color: var(--brand); }
.float-card { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 16px; }
.fc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.fc-top .icon { color: var(--amber); }
.fc-flow { top: -6px; right: 0; width: 210px; }
.flow { list-style: none; display: grid; gap: 9px; position: relative; }
.flow::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; border-left: 2px dashed var(--line-2); }
.flow li { position: relative; padding-left: 24px; font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.flow li::before { content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 3px var(--surface); }
.flow li.now::before { background: var(--amber); animation: pulse-amber 2s infinite; }
@keyframes pulse-amber { 0% { box-shadow: 0 0 0 3px var(--surface), 0 0 0 3px rgba(245, 159, 26, .5); } 70% { box-shadow: 0 0 0 3px var(--surface), 0 0 0 10px rgba(245, 159, 26, 0); } 100% { box-shadow: 0 0 0 3px var(--surface), 0 0 0 3px rgba(245, 159, 26, 0); } }
.fc-report { bottom: 2%; left: 0; display: flex; align-items: center; gap: 12px; max-width: 260px; }
.fc-report strong { display: block; font-size: .9rem; }
.fc-report small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.35; }
.fc-check { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }

/* ---------- IA aplicada ---------- */
.ai-section { background: radial-gradient(600px 360px at 100% 0%, rgba(11, 143, 148, .10), transparent 70%), radial-gradient(520px 340px at 0% 100%, rgba(31, 79, 216, .09), transparent 70%), var(--bg); border-top: 1px solid var(--line); }
.ai-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.ai-intro .eyebrow { color: var(--teal); }
.ai-intro .lead { margin-bottom: 26px; }
.ai-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ai-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.ai-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.ai-card p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.ai-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--teal)); box-shadow: 0 10px 22px -12px rgba(31, 79, 216, .7); }

/* ---------- Franja de WhatsApp ---------- */
.wa-band { background: var(--wa-50); border-block: 1px solid #c4e6d1; padding: 44px 0; }
.wa-band-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.wa-band-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 14px 30px -12px rgba(18, 140, 74, .6); }
.wa-band-copy h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); margin-bottom: 6px; }
.wa-band-copy p { margin: 0; color: var(--ink-2); max-width: 560px; }
.wa-band-cta { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.wa-band-cta small { color: var(--muted); font-size: .88rem; }
.btn-lg { padding: 1.05rem 1.6rem; font-size: 1.06rem; }

/* ---------- Franja de datos ---------- */
.stats { background: var(--surface); border-block: 1px solid var(--line); padding: 28px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding-left: 18px; border-left: 3px solid var(--amber-mark); }
.stat strong { font-family: var(--font-head); font-size: 1.65rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); line-height: 1.15; }
.stat span { color: var(--muted); font-size: .94rem; line-height: 1.4; }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 56px 0 88px; }
.section-soft { background: var(--soft); }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: 14px; }
.center-link { text-align: center; margin: 36px 0 0; }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.fine-print { text-align: center; color: var(--muted); font-size: .92rem; margin: 28px auto 0; max-width: 720px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Problemas (checklist) ---------- */
.pain-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pain {
  display: flex; align-items: flex-start; gap: 14px; height: 100%; padding: 18px 18px; background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.pain:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.pain input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pain-box { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--line-2); display: grid; place-items: center; color: transparent; flex-shrink: 0; margin-top: 1px; transition: all .15s ease; background: #fff; }
.pain-text { font-weight: 500; color: var(--ink-2); line-height: 1.45; }
.pain:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.pain input:checked + .pain-box { background: var(--brand); border-color: var(--brand); color: #fff; }
.pain input:focus-visible + .pain-box { outline: 3px solid var(--brand); outline-offset: 2px; }
.pains-cta { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 16px 24px; box-shadow: var(--shadow-sm); }
.pains-cta p { margin: 0; font-weight: 600; color: var(--ink-2); }
.pains-cta p b { color: var(--brand); }

/* ---------- Perfiles ---------- */
.segment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.segment-card {
  display: flex; flex-direction: column; padding: 30px 28px 26px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); color: var(--ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.segment-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); color: var(--ink); }
.segment-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; background: var(--amber-50); color: var(--amber-ink); }
.segment-card:nth-child(2) .segment-icon { background: var(--brand-50); color: var(--brand); }
.segment-card:nth-child(3) .segment-icon { background: var(--teal-50); color: var(--teal); }
.segment-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.segment-card > p { color: var(--ink-2); }
.segment-list { list-style: none; display: grid; gap: 8px; margin: 4px 0 18px; }
.segment-list li { display: flex; gap: 9px; align-items: flex-start; font-size: .97rem; color: var(--ink-2); }
.segment-list .icon { color: var(--wa); margin-top: 4px; }
.segment-examples { font-size: .88rem; color: var(--muted); margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.segment-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.price-chip { display: inline-block; font-weight: 700; font-size: .9rem; background: var(--soft); color: var(--ink); padding: 6px 12px; border-radius: 999px; }

/* ---------- Casos ---------- */
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.case-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.case-media { position: relative; aspect-ratio: 16 / 9; background: var(--soft); overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-media-empty { aspect-ratio: auto; height: 170px; display: grid; place-items: center; color: var(--brand); background: linear-gradient(135deg, var(--brand-50), var(--amber-50)); }
.case-icon { width: 84px; height: 84px; border-radius: 24px; background: rgba(255, 255, 255, .75); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.case-badge { position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: .78rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.case-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.case-client { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.case-client-lg { font-size: .9rem; color: var(--brand); }
.case-body h3 { font-size: 1.28rem; }
.case-body > p { color: var(--ink-2); font-size: .98rem; }
.case-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 18px; padding: 14px 0; border-block: 1px dashed var(--line-2); }
.case-metrics strong { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--brand); line-height: 1.15; }
.case-metrics span { font-size: .84rem; color: var(--muted); line-height: 1.35; display: block; }
.case-body .link-arrow { margin-top: auto; }

/* Categorías de casos */
.cat-chip { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.cat-grandes { background: var(--brand-50); color: var(--brand); }
.cat-crecimiento { background: var(--amber-50); color: var(--amber-ink); }
.case-media-empty.cat-bg-grandes { background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .55), transparent 40%), linear-gradient(135deg, #dfe8ff, #eef3ff 55%, #e3f6f5); }
.case-media-empty.cat-bg-crecimiento { background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .55), transparent 40%), linear-gradient(135deg, #ffe9c2, #fff3dd 55%, #e6f5ec); color: var(--amber-ink); }
.case-grid-3 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.filter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.filter-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.filter-tabs a:hover { border-color: var(--ink); color: var(--ink); }
.filter-tabs a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-tabs b { font-weight: 700; font-size: .8rem; padding: 1px 8px; border-radius: 999px; background: rgba(18, 32, 58, .07); }
.filter-tabs a.is-active b { background: rgba(255, 255, 255, .18); }

/* ---------- Últimos proyectos (carrusel por categoría) ---------- */
.showcase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.showcase-grid.is-single { grid-template-columns: minmax(0, 640px); justify-content: center; }
.showcase { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.showcase::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--brand); z-index: 2; }
.showcase-crecimiento::before { background: linear-gradient(90deg, var(--amber), #f7c35f); }
.showcase-grandes::before { background: linear-gradient(90deg, var(--brand), var(--teal)); }
.showcase-head { display: flex; align-items: center; gap: 14px; padding: 22px 22px 18px; }
.showcase-head h3 { margin: 0; font-size: 1.22rem; flex: 1; }
.showcase-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; background: var(--brand-50); color: var(--brand); }
.showcase-crecimiento .showcase-icon { background: var(--amber-50); color: var(--amber-ink); }
.slider-nav { display: flex; gap: 8px; }
.slider-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.slider-btn:hover { border-color: var(--ink); background: var(--soft); }
.slider-track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.slide { flex: 0 0 100%; scroll-snap-align: start; display: flex; flex-direction: column; }
.slide-media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 7; margin: 0 22px; border-radius: var(--radius); overflow: hidden; background: var(--soft); color: var(--brand); }
.slide-media img { width: 100%; height: 100%; object-fit: cover; }
.slide-media.case-media-empty { height: auto; }
.slide-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.slide-body h4 { font-family: var(--font-head); font-size: 1.32rem; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 8px; }
.slide-body h4 a { color: var(--ink); }
.slide-body h4 a:hover { color: var(--brand); }
.slide-body > p { color: var(--ink-2); font-size: .98rem; }
.slide-body .link-arrow { margin-top: auto; padding-top: 6px; }
.tags-sm { margin: 0 0 16px; }
.tags-sm li { font-size: .78rem; padding: 4px 10px; background: var(--soft); border-color: transparent; }
.slider-dots { display: flex; justify-content: center; gap: 8px; padding: 0 0 20px; }
.slider-dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: var(--line-2); cursor: pointer; transition: width .2s ease, background-color .2s ease; }
.slider-dots button[aria-current="true"] { width: 26px; background: var(--ink); }

/* ---------- Proceso ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 22px; left: 62px; right: -14px; border-top: 2px dashed var(--line-2); z-index: -1; }
.step { position: relative; z-index: 1; }
.step-num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; margin-bottom: 18px; box-shadow: 0 0 0 7px var(--bg); }
.section-soft .step-num { box-shadow: 0 0 0 7px var(--soft); }
.step:nth-child(2) .step-num { background: var(--brand); }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: .97rem; margin: 0; }

/* ---------- Servicios ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: stretch; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.service-card.is-featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.service-flag { position: absolute; top: -13px; left: 22px; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.service-tagline { color: var(--muted); font-size: .94rem; min-height: 2.9em; }
.service-price { margin: 4px 0 2px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.service-price small { color: var(--muted); font-size: .9rem; }
.service-price strong { font-family: var(--font-head); font-size: 2rem; letter-spacing: -0.02em; line-height: 1.1; }
.service-note { font-size: .88rem; color: var(--ink-2); font-weight: 600; margin: 0 0 6px; }
.service-time { display: flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--muted); margin: 6px 0 18px; }
.check-list { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; color: var(--ink-2); line-height: 1.45; }
.check-list .icon { color: var(--wa); margin-top: 3px; }
.check-list-lg li { font-size: 1.02rem; }
.service-card .btn { margin-top: auto; }

/* ---------- Personas y compromisos ---------- */
.people { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.quote { margin: 8px 0 26px; padding: 4px 0 4px 22px; border-left: 4px solid var(--amber); }
.quote p { font-family: var(--font-head); font-size: clamp(1.15rem, 1rem + .6vw, 1.42rem); line-height: 1.4; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 10px; }
.quote footer { color: var(--muted); font-size: .95rem; font-weight: 500; }
.quote-lg { margin: 40px 0; }
.people-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.people-chip { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); padding: 6px 16px 6px 6px; border-radius: 999px; }
.people-chip strong { display: block; font-size: .92rem; line-height: 1.2; }
.people-chip small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.2; }
.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-sm { width: 40px; height: 40px; }
.avatar-md { width: 64px; height: 64px; }
.avatar-lg { width: 116px; height: 116px; }
.avatar-initials { display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; background: linear-gradient(135deg, var(--brand), var(--teal)); }
.avatar-sm.avatar-initials { font-size: .9rem; }
.avatar-lg.avatar-initials { font-size: 2.1rem; }
.commit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.commit { display: flex; gap: 16px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.commit-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex-shrink: 0; }
.commit:nth-child(2) .commit-icon { background: var(--amber-50); color: var(--amber-ink); }
.commit:nth-child(3) .commit-icon { background: var(--teal-50); color: var(--teal); }
.commit:nth-child(4) .commit-icon { background: var(--wa-50); color: var(--wa); }
.commit h3 { font-size: 1.06rem; margin-bottom: 4px; }
.commit p { color: var(--ink-2); font-size: .94rem; margin: 0; line-height: 1.5; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 280px)); justify-content: center; gap: 22px; }
.team-card { text-align: center; padding: 32px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.team-card .avatar { margin: 0 auto 18px; }
.team-card h3 { margin-bottom: 2px; }
.team-role { color: var(--brand); font-weight: 600; font-size: .95rem; margin-bottom: 12px; }
.team-bio { color: var(--ink-2); font-size: .95rem; }
.team-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; cursor: pointer; font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; transition: transform .2s ease; }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-answer { padding: 0 4px 22px; color: var(--ink-2); max-width: 720px; }
.faq-answer p:last-child { margin: 0; }

/* ---------- Formas de contacto ---------- */
.contact-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; max-width: 980px; margin: 0 auto; }
.contact-option { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.contact-option:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.contact-option strong { font-family: var(--font-head); font-size: 1.22rem; letter-spacing: -0.01em; }
.contact-option > span:not(.co-icon):not(.link-arrow) { color: var(--ink-2); font-size: .97rem; }
.contact-option .link-arrow { margin-top: auto; padding-top: 10px; }
.co-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 8px; }
.contact-wa { background: var(--wa-50); border-color: #bfe3cc; }
.contact-wa .co-icon { background: var(--wa); color: #fff; }
.contact-wa .link-arrow { color: var(--wa-600); }
.contact-alt { text-align: center; margin: 26px 0 0; color: var(--muted); font-size: .97rem; }
.contact-alt:empty { display: none; }

.section-dark { background: var(--navy); color: rgba(255, 255, 255, .78); }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--amber); }
.section-dark .lead { color: rgba(255, 255, 255, .76); }
.section-dark .contact-option { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; }
.section-dark .contact-option:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.section-dark .contact-option > span:not(.co-icon):not(.link-arrow) { color: rgba(255, 255, 255, .74); }
.section-dark .co-icon { background: rgba(255, 255, 255, .1); color: #fff; }
.section-dark .link-arrow { color: #fff; }
.section-dark .contact-wa { background: var(--wa); border-color: var(--wa); }
.section-dark .contact-wa:hover { background: var(--wa-600); }
.section-dark .contact-wa .co-icon { background: rgba(255, 255, 255, .18); }
.section-dark .contact-wa > span:not(.co-icon):not(.link-arrow) { color: rgba(255, 255, 255, .9); }
.section-dark .contact-alt { color: rgba(255, 255, 255, .7); }
.section-dark .contact-alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Páginas internas ---------- */
.page-hero { padding: 72px 0 56px; background: linear-gradient(180deg, var(--soft), var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.3rem); max-width: 860px; margin-bottom: 18px; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .hero-actions { margin-top: 30px; }
.page-hero-split { display: grid; grid-template-columns: 1.45fr .85fr; gap: 48px; align-items: center; }
.page-hero-center { text-align: center; padding: 110px 0 120px; border-bottom: 0; }
.page-hero-center h1, .page-hero-center .lead { margin-left: auto; margin-right: auto; }
.hero-aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 26px 22px; box-shadow: var(--shadow); }
.aside-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 4px; }
.aside-value { font-weight: 500; color: var(--ink-2); margin-bottom: 18px; }
.aside-price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.hero-aside .hero-checks { flex-direction: column; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.big-check { width: 84px; height: 84px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--wa-50); color: var(--wa); margin-bottom: 24px; }
.back-link { display: inline-block; font-weight: 600; margin-bottom: 18px; font-size: .95rem; }

.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.offer { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.offer-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 16px; }
.offer:nth-child(2) .offer-icon { background: var(--amber-50); color: var(--amber-ink); }
.offer:nth-child(3) .offer-icon { background: var(--teal-50); color: var(--teal); }
.offer:nth-child(4) .offer-icon { background: var(--wa-50); color: var(--wa); }
.offer h3 { margin-bottom: 6px; }
.offer p { color: var(--ink-2); margin: 0; }

.case-hero .lead { margin-top: 10px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.stats-case { border-top: 0; }
.case-content .case-image { border-radius: var(--radius-lg); border: 1px solid var(--line); margin-bottom: 40px; box-shadow: var(--shadow); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 40px; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.case-block { margin-bottom: 40px; }
.case-block h2 { display: flex; align-items: center; gap: 12px; font-size: 1.55rem; }
.cb-num { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: 1rem; flex-shrink: 0; }
.case-block p, .case-block li, .prose p, .prose li { color: var(--ink-2); font-size: 1.06rem; }
.case-block ul, .prose ul { padding-left: 1.2em; display: grid; gap: 8px; margin-bottom: 1em; }
.case-block li::marker, .prose li::marker { color: var(--brand); }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.case-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 30px 32px; border-radius: var(--radius-lg); background: var(--brand-50); border: 1px solid var(--brand-100); }
.case-cta h2 { font-size: 1.45rem; margin-bottom: 4px; }
.case-cta p { margin: 0; color: var(--ink-2); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.two-col-start { align-items: start; }
.two-col h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-bottom: 22px; }
.extras { margin: 0; display: grid; }
.extras div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px dashed var(--line-2); }
.extras dt { color: var(--ink-2); }
.extras dd { margin: 0; font-weight: 700; white-space: nowrap; color: var(--ink); }
.company-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.company-card h2 { font-size: 1.2rem; margin-bottom: 14px; }
.company-card dl { margin: 0; display: grid; gap: 14px; }
.company-card dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.company-card dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; }

/* ---------- Formulario ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .94rem; color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input:not([type=checkbox]):not([type=hidden]), .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  padding: .8rem .95rem; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); transition: border-color .15s ease, box-shadow .15s ease;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); line-height: 1.45; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); flex-shrink: 0; }
.form-error { background: #fdeeee; color: #9b1c1c; border: 1px solid #f6caca; border-radius: var(--radius-sm); padding: 12px 14px; margin: 0; font-weight: 500; }
.form-alt { text-align: center; font-size: .94rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--navy-2); color: rgba(255, 255, 255, .7); padding: 72px 0 28px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.35fr; gap: 40px; }
.logo-light, .logo-light:hover { color: #fff; }
.footer-brand p { margin: 16px 0 20px; max-width: 320px; }
.footer-brand .footer-tagline + p { margin-top: 14px; }
.footer-title { font-family: var(--font-body); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 16px; }
.footer-links, .footer-contact { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.footer-contact li, .footer-contact a { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 3px; opacity: .8; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.socials a:hover { background: rgba(255, 255, 255, .16); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50; display: inline-flex; align-items: center; gap: 10px;
  background: var(--wa); color: #fff; padding: 14px; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(18, 140, 74, .65);
  font-weight: 700; transition: transform .2s ease, background-color .2s ease;
}
.wa-float:hover { color: #fff; background: var(--wa-600); transform: translateY(-2px); }
.wa-float span { display: none; padding-right: 6px; }

/* ---------- Responsive ---------- */
@media (min-width: 921px) {
  .wa-float span { display: inline; }
}

@media (max-width: 1080px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .segment-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .people { grid-template-columns: 1fr; gap: 40px; }
  .showcase-grid { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin: 0 auto; }
  .ai-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 16px 20px 32px;
    background: var(--bg); overflow-y: auto; display: none; border-top: 1px solid var(--line);
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav-links { display: flex; }
  .nav-link { font-size: 1.12rem; padding: 14px 12px; justify-content: space-between; }
  .nav-dd .dd-toggle { pointer-events: none; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; padding-bottom: 6px; }
  .nav-dd .dd-toggle .icon { display: none; }
  .dd-menu { position: static; transform: none; opacity: 1; visibility: visible; width: auto; box-shadow: none; border: 0; padding: 0 0 10px; background: transparent; }
  .nav-dd:hover .dd-menu, .nav-dd:focus-within .dd-menu, .nav-dd.is-open .dd-menu { transform: none; }
  .dd-item { background: var(--surface); border: 1px solid var(--line); margin-bottom: 8px; }
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-visual { min-height: 0; padding-bottom: 70px; }
  .app-window { margin: 70px 0 0; width: min(440px, calc(100% - 24px)); }
  .wa-band-inner { grid-template-columns: auto 1fr; }
  .wa-band-cta { grid-column: 1 / -1; align-items: stretch; }
  .page-hero-split { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .section { padding: 72px 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  body { font-size: 1rem; }
  .nav-cta span { display: none; }
  .nav-cta { padding: .6rem; }
  .hero-actions .btn { width: 100%; }
  .hero-checks { gap: 6px 16px; }
  .app-window { margin-top: 96px; }
  .app-body { grid-template-columns: 40px 1fr; }
  .app-side span { width: 28px; height: 28px; }
  .app-main { padding: 12px; }
  .app-rows li { grid-template-columns: 42px 1fr auto; font-size: .76rem; }
  .fc-flow { width: 180px; padding: 11px 12px; }
  .flow li { font-size: .76rem; }
  .fc-report { max-width: 230px; padding: 11px 12px; bottom: 0; }
  .wa-band { padding: 36px 0; }
  .wa-band-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 18px; }
  .wa-band-cta .btn { width: 100%; }
  .pain-grid, .segment-grid, .offer-grid, .commit-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .step { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; }
  .step-num { grid-row: span 2; margin: 0; }
  .pains-cta { padding: 16px; }
  .pains-cta .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .case-cta { padding: 24px; }
  .case-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding-bottom: 96px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 32px; }
  .page-hero { padding: 48px 0 40px; }
  .extras div { flex-direction: column; gap: 2px; }
  .extras dd { white-space: normal; }
  .showcase-head { padding: 20px 16px 14px; gap: 12px; }
  .showcase-head h3 { font-size: 1.05rem; }
  .slider-btn { width: 36px; height: 36px; }
  .slide-media { margin: 0 16px; aspect-ratio: 16 / 9; }
  .slide-body { padding: 18px 16px 22px; }
  .filter-tabs { justify-content: flex-start; }
  .filter-tabs a { font-size: .88rem; padding: 8px 14px; }
  .case-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .ai-cards { grid-template-columns: minmax(0, 1fr); }
  .ai-intro .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
