/* ==========================================================================
   Block Studio — landing SEO + GEO (España)
   ========================================================================== */

:root {
  --ink: #0B0D00;
  --t2: #54554C;
  --t3: #8B8C82;
  --t4: #6B6C63;
  --line: #E4E4E0;
  --line2: #EDEDEA;
  --card: #F4F4EF;
  --band: #F7F7F3;
  --lime-soft: #F7FECC;
  --lime: #E5FE4D;
  --olive: #576500;
  --d1: #16180E;
  --d2: #1F2216;
  --d3: #2A2C22;
  --d-t: #9A9B92;
  --d-t2: #B8BAB0;
  --d-t3: #7A7C70;
  --pad: clamp(20px, 5vw, 72px);
  --display: 'Bricolage Grotesque', 'Archivo', system-ui, sans-serif;
  --body: 'Archivo', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #FFFFFF; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--olive); }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 84px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.band { background: var(--band); }
.bt { border-top: 1px solid var(--line2); }
.sec { padding-top: clamp(64px, 8vw, 96px); padding-bottom: clamp(64px, 8vw, 96px); }

/* ---------- Type ---------- */
.h1, .h2 { font-family: var(--display); font-weight: 450; letter-spacing: -0.05em; }
.h1 { font-size: clamp(42px, 6.2vw, 74px); line-height: 0.98; }
.h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.04; letter-spacing: -0.045em; }
.muted { color: var(--t3); }
.mono { font-family: var(--mono); }
.lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--t2); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.sec-head p { max-width: 400px; font-size: 16px; line-height: 1.6; color: var(--t2); }

/* ---------- Buttons ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-dark:hover { color: #FFFFFF; background: #23261A; }
.btn-line { border-color: #D6D6D0; color: var(--ink); font-weight: 500; background: #FFFFFF; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { color: var(--ink); background: #D9F53A; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn svg { flex-shrink: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line2); }
.nav-in { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--t2); }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: #FFFFFF; align-items: center; justify-content: center; cursor: pointer; }
.nav-menu { display: none; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 60px; padding-bottom: 72px; }
.chip-pill { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 12px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 30px; font-size: 13px; font-weight: 500; color: var(--t2); }
.live { position: relative; width: 8px; height: 8px; flex-shrink: 0; }
.live::before, .live::after { content: ""; position: absolute; inset: 0; border-radius: 999px; }
.live::before { background: #C8E020; animation: bs-pulse 2s ease-out infinite; }
.live::after { background: var(--ink); }
.hero .h1 { margin-bottom: 24px; }
.hero .lead { max-width: 500px; margin-bottom: 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13px; color: var(--t3); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }

.hero-visual { position: relative; height: 540px; background: var(--lime-soft); border-radius: 20px; overflow: hidden; background-image: radial-gradient(#DDEBA0 1px, transparent 1px); background-size: 22px 22px; }
.ui-card { position: absolute; background: #FFFFFF; border: 1px solid #E9EDD2; border-radius: 14px; box-shadow: 0 24px 48px -24px rgba(11,13,0,.28); }
.hv-a { left: 36px; top: 40px; width: min(420px, 76%); padding: 24px; z-index: 1; }
.hv-b { right: 28px; top: 196px; width: min(300px, 58%); padding: 18px; z-index: 3; animation: bs-float 6s ease-in-out infinite; }
.hv-c { left: 60px; bottom: 36px; width: min(300px, 56%); padding: 20px; background: var(--ink); border: 0; z-index: 2; animation: bs-float 7s ease-in-out 1s infinite; box-shadow: 0 28px 56px -24px rgba(11,13,0,.45); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tag { font-family: var(--mono); font-size: 10px; padding: 4px 8px; background: var(--card); border-radius: 999px; color: var(--t2); white-space: nowrap; }
.big-num { font-family: var(--display); font-weight: 500; font-size: 40px; letter-spacing: -0.04em; line-height: 1.1; }
.up { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--olive); background: #F2FDB8; padding: 3px 8px; border-radius: 999px; }
.chart-a { width: 100%; height: 140px; }
.ai-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12px; font-weight: 600; }
.ai-icon { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.ai-q { background: var(--card); border-radius: 10px; padding: 10px 12px; font-size: 12.5px; line-height: 1.45; margin-bottom: 12px; }
.ai-row { display: flex; align-items: center; padding: 9px 10px; border-radius: 8px; font-size: 12.5px; }
.ai-row.hit { justify-content: space-between; background: var(--lime-soft); border: 1px solid #D7EC6A; font-weight: 600; }
.ai-row .n { font-family: var(--mono); font-weight: 400; color: var(--olive); margin-right: 8px; }
.ai-row .n.off { color: #B8B9B0; }
.cited { font-size: 10px; font-weight: 600; color: #FFFFFF; background: var(--ink); padding: 3px 7px; border-radius: 999px; }
.skel { height: 7px; background: var(--line2); border-radius: 4px; display: inline-block; }
.cursor { width: 2px; height: 14px; background: var(--ink); margin-left: 6px; display: inline-block; animation: bs-blink 1s steps(1) infinite; }
.meter { display: flex; align-items: center; gap: 10px; }
.meter span { width: 82px; font-size: 11.5px; color: var(--d-t2); flex-shrink: 0; }
.meter .track { flex-grow: 1; height: 6px; background: var(--d3); border-radius: 4px; overflow: hidden; }
.meter .bar { height: 100%; background: var(--lime); border-radius: 4px; }

/* ---------- Problem bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.span2 { grid-column: span 2; }
.b-card { background: var(--card); border-radius: 16px; padding: 32px; min-height: 344px; display: flex; flex-direction: column; overflow: hidden; }
.b-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.b-card > p { font-size: 14.5px; line-height: 1.5; color: var(--t4); margin-bottom: 22px; }
.b-card.dark { background: var(--ink); }
.b-card.dark h3 { color: #FFFFFF; margin-bottom: 20px; }
.b-inner { flex-grow: 1; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.b-card.serp { padding-bottom: 0; }
.serp .b-inner { border-bottom: 0; border-radius: 12px 12px 0 0; padding: 22px 24px; }
.search { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 18px; max-width: 420px; font-size: 13.5px; color: var(--t2); overflow: hidden; white-space: nowrap; }
.serp-row { display: flex; gap: 24px; }
.aio { flex-grow: 1; background: var(--lime-soft); border-radius: 10px; padding: 16px 18px; }
.aio-label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--olive); }
.dot { width: 7px; height: 7px; border-radius: 999px; background: var(--ink); flex-shrink: 0; }
.dot.pop { animation: bs-pop 1.4s ease-in-out infinite; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-family: var(--mono); font-size: 10.5px; padding: 4px 9px; background: #FFFFFF; border-radius: 999px; color: var(--t2); }
.serp-side { width: 250px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.you { margin-top: 6px; padding: 10px 12px; border: 1px dashed #D6D6D0; border-radius: 8px; opacity: .8; font-size: 12px; font-weight: 600; color: var(--t3); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 11.5px; color: var(--t2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 2px; display: inline-block; }
.chat { flex-grow: 1; background: var(--d1); border: 1px solid var(--d3); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.bubble { align-self: flex-end; background: var(--d3); border-radius: 10px; padding: 9px 12px; font-size: 12.5px; color: #FFFFFF; max-width: 230px; line-height: 1.4; }
.c-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--d2); border-radius: 8px; font-size: 12.5px; color: #FFFFFF; }
.c-row .mono { font-size: 11px; color: var(--d-t3); }
.c-miss { margin-top: auto; display: flex; justify-content: space-between; padding: 9px 10px; border: 1px dashed #3A3D2E; border-radius: 8px; font-size: 12px; color: var(--d-t3); }
.bars { flex-grow: 1; min-height: 150px; padding-top: 28px; display: flex; align-items: flex-end; gap: 12px; border-bottom: 1px solid var(--line); position: relative; }
.bars > i { flex: 1; max-width: 38px; background: var(--ink); border-radius: 5px 5px 0 0; transform-origin: bottom; }
.bars > i.off { background: #D6D6D0; }
.pause-mark { flex: 0 0 1px; align-self: stretch; border-left: 1px dashed #B8B9B0; margin: 0 6px; position: relative; }
.pause-mark b { position: absolute; top: 0; left: 10px; white-space: nowrap; font-family: var(--mono); font-weight: 400; font-size: 10px; background: var(--lime); padding: 3px 7px; border-radius: 999px; }

/* ---------- Solution diagram ---------- */
.diagram { position: relative; width: 100%; aspect-ratio: 1296 / 440; background: var(--band); border-radius: 20px; background-image: radial-gradient(#E1E1DB 1px, transparent 1px); background-size: 22px 22px; }
.diagram > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dg { position: absolute; box-sizing: border-box; }
.dg-base { left: 3.09%; width: 20.06%; height: 14.55%; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; gap: 12px; padding: 0 16px; overflow: hidden; }
.dg-base b { display: block; font-size: 14px; }
.dg-base small { display: block; font-size: 11.5px; color: var(--t3); white-space: nowrap; }
.ico { width: 32px; height: 32px; border-radius: 8px; background: var(--card); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dg-web { left: 41.67%; top: 28.18%; width: 16.67%; height: 43.64%; background: var(--ink); border-radius: 16px; padding: 14px; box-shadow: 0 30px 60px -28px rgba(11,13,0,.55); overflow: hidden; }
.dots3 { display: flex; gap: 5px; margin-bottom: 12px; }
.dots3 i { width: 7px; height: 7px; border-radius: 999px; background: #3A3D2E; }
.dg-web .url { font-family: var(--mono); font-size: 11px; color: var(--lime); margin-bottom: 14px; }
.check-row { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: #D6D7D0; margin-bottom: 7px; }
.dg-out { left: 76.85%; width: 20.06%; height: 31.82%; border-radius: 14px; padding: 18px; overflow: hidden; }
.dg-out.g { top: 13.64%; background: #FFFFFF; border: 1px solid var(--line); }
.dg-out.ai { top: 54.55%; background: var(--lime); }
.dg-out h4 { margin: 0 0 12px; display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; }
.badge-dark { margin-left: auto; font-size: 10px; font-weight: 600; background: var(--ink); color: #FFFFFF; padding: 3px 8px; border-radius: 999px; }
.model-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.model-chips span { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; background: #FFFFFF; padding: 5px 9px; border-radius: 999px; }
.diagram-stack { display: none; }

/* ---------- Process ---------- */
.gantt { background: var(--card); border-radius: 16px; padding: 26px 28px; margin-bottom: 20px; }
.g-row { display: flex; align-items: center; }
.g-label { width: 220px; flex-shrink: 0; font-size: 13.5px; font-weight: 500; }
.g-axis { flex-grow: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); font-family: var(--mono); font-size: 10px; color: var(--t3); margin-bottom: 10px; }
.g-track { flex-grow: 1; height: 30px; position: relative; background: #FFFFFF; border-radius: 8px; }
.g-bar { position: absolute; top: 0; bottom: 0; background: var(--ink); border-radius: 8px; transform-origin: left; }
.g-bar.lime { background: var(--lime); display: flex; align-items: center; justify-content: flex-end; padding-right: 12px; font-family: var(--mono); font-size: 10px; white-space: nowrap; overflow: hidden; }
.g-tick { position: absolute; top: 5px; width: 20px; height: 20px; border-radius: 6px; background: var(--ink); }
.g-rows { display: flex; flex-direction: column; gap: 10px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 24px; }
.step-vis { height: 190px; background: var(--card); border-radius: 10px; padding: 18px; }
.step-body { padding: 20px 6px 0; }
.step-body .mono { font-size: 10.5px; color: var(--t3); margin-bottom: 8px; }
.step-body h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.step-body p { font-size: 14px; line-height: 1.5; color: var(--t4); }
.chk { display: flex; align-items: center; justify-content: space-between; background: #FFFFFF; border-radius: 8px; padding: 9px 11px; font-size: 12px; margin-bottom: 9px; }
.code { background: var(--ink); font-family: var(--mono); font-size: 11.5px; line-height: 1.75; color: var(--d-t); overflow: hidden; }
.code b { font-weight: 400; color: var(--lime); }
.code .blk { display: inline-block; width: 7px; height: 14px; background: var(--lime); vertical-align: middle; margin-left: 4px; animation: bs-blink 1s steps(1) infinite; }
.cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.cal span { font-family: var(--mono); font-size: 9.5px; color: var(--t3); text-align: center; }
.cal i { height: 28px; background: #FFFFFF; border-radius: 6px; }
.cal i.k { background: var(--ink); }
.cal i.l { background: var(--lime); }
.mini-bars { display: flex; flex-direction: column; }
.mini-bars .bars2 { flex-grow: 1; display: flex; align-items: flex-end; gap: 10px; height: 126px; }
.bars2 i { flex: 1; background: var(--ink); border-radius: 4px 4px 0 0; transform-origin: bottom; }
.bars2 i.off { background: #D6D6D0; }
.bars2 i.hl { background: var(--lime); border: 1.5px solid var(--ink); }

/* ---------- Cases ---------- */
.cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.case { border-radius: 16px; overflow: hidden; background: #FFFFFF; border: 1px solid var(--line); display: flex; flex-direction: column; }
.case-top { padding: 24px; min-height: 150px; }
.case-top .name { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.03em; margin-bottom: 4px; }
.case-top .mono { font-size: 10px; margin-bottom: 16px; }
.case-top p { font-size: 14px; line-height: 1.45; font-weight: 500; }
.case-top.lime { background: var(--lime); } .case-top.lime .mono { color: var(--olive); }
.case-top.ink { background: var(--ink); color: #FFFFFF; } .case-top.ink .mono { color: var(--lime); }
.case-top.soft { background: var(--lime-soft); } .case-top.soft .mono { color: var(--olive); }
.case-top.grey { background: var(--line); } .case-top.grey .mono { color: var(--t2); }
.case-body { padding: 24px; }
.case-num { font-family: var(--display); font-weight: 400; font-size: 46px; letter-spacing: -0.05em; line-height: 1; }
.case-lbl { font-size: 12.5px; color: var(--t3); margin: 6px 0 18px; }
.case-chart { width: 100%; height: 92px; }
.case-link { margin: auto 24px 24px; display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 16px; border: 1px solid #D6D6D0; border-radius: 999px; font-size: 14px; font-weight: 600; }
.browser { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 20px 24px 14px; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: var(--card); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 6px; height: 6px; border-radius: 999px; background: #D6D6D0; }
.browser-bar span { margin-left: 6px; font-family: var(--mono); font-size: 10px; color: var(--t2); background: #FFFFFF; padding: 2px 8px; border-radius: 999px; }
.browser-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.drop { font-size: 10px; font-weight: 600; background: var(--ink); color: var(--lime); padding: 3px 7px; border-radius: 999px; }
.ba { height: 92px; display: flex; align-items: flex-end; gap: 16px; }
.ba > div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.ba i { display: block; border-radius: 4px 4px 0 0; transform-origin: bottom; }
.ba span { font-family: var(--mono); font-size: 9.5px; text-align: center; color: var(--t3); }

.feature { display: flex; background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; min-height: 360px; }
.feature-l { width: 400px; flex-shrink: 0; padding: 32px; display: flex; flex-direction: column; border-right: 1px solid var(--line2); }
.hl-chip { font-size: 11.5px; font-weight: 600; background: var(--lime); padding: 5px 10px; border-radius: 999px; }
.feature-l .name { font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: -0.04em; margin: 18px 0 6px; }
.kpis { margin-top: auto; display: flex; gap: 32px; margin-bottom: 14px; padding-top: 24px; }
.kpi-n { white-space: nowrap; font-family: var(--display); font-size: 44px; letter-spacing: -0.05em; line-height: 1; }
.kpi-l { font-size: 12.5px; color: var(--t3); margin-top: 6px; }
.soft-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.soft-chips span { font-size: 12px; background: var(--card); padding: 5px 10px; border-radius: 999px; }
.feature-r { flex-grow: 1; min-width: 0; padding: 26px 28px 20px; display: flex; flex-direction: column; }
.gsc-wrap { position: relative; flex-grow: 1; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; }
.gsc-mark { position: absolute; left: calc(44.4% + 8px); top: 0; font-family: var(--mono); font-size: 10px; background: var(--ink); color: var(--lime); padding: 3px 8px; border-radius: 999px; }
.gsc { width: 100%; height: 200px; }
.gsc-axis { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--mono); font-size: 9.5px; color: var(--t3); }

/* ---------- Audit (dark) ---------- */
.audit { background: var(--ink); color: #FFFFFF; }
.audit-grid { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 64px; align-items: center; }
.audit .h2 { color: #FFFFFF; margin-bottom: 18px; }
.audit .h2 .muted { color: var(--d-t3); }
.audit-copy > p { font-size: 16px; line-height: 1.6; color: var(--d-t); max-width: 500px; margin-bottom: 44px; }
.report { position: relative; height: 350px; }
.report-back1 { position: absolute; left: 40px; right: 0; top: 0; height: 320px; background: var(--d2); border-radius: 16px; }
.report-back2 { position: absolute; left: 20px; right: 20px; top: 16px; height: 320px; background: var(--d3); border-radius: 16px; }
.report-front { position: absolute; left: 0; right: 40px; top: 34px; background: #FFFFFF; color: var(--ink); border-radius: 16px; padding: 24px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); animation: bs-float 7s ease-in-out infinite; }
.r-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line2); }
.r-rows { display: flex; flex-direction: column; gap: 14px; }
.r-row { display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
.r-row .grow { flex-grow: 1; }
.ico.sm { width: 30px; height: 30px; }
.form-card { background: #FFFFFF; color: var(--ink); border-radius: 20px; padding: clamp(24px, 3vw, 40px); }
.form-card h3 { font-family: var(--display); font-weight: 500; font-size: 26px; letter-spacing: -0.035em; margin-bottom: 6px; }
.form-card > p { font-size: 14px; color: var(--t3); margin-bottom: 26px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.f-row { display: flex; gap: 14px; }
.field { flex: 1; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-size: 13px; font-weight: 500; color: var(--t2); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #FAFAF8; font: 15px/1.4 var(--body); color: var(--ink); }
.field textarea { padding: 14px; resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #FFFFFF; }
.consent { font-size: 12px; line-height: 1.5; color: var(--t3); text-align: center; }
.consent a { text-decoration: underline; }
.hp { display: none; }

/* ---------- Pricing ---------- */
.price-box { max-width: 1080px; margin: 0 auto; display: flex; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.price-l { width: 380px; flex-shrink: 0; background: var(--lime-soft); padding: 40px; display: flex; flex-direction: column; }
.price-l .tagw { align-self: flex-start; font-size: 12px; font-weight: 600; background: #FFFFFF; padding: 6px 12px; border-radius: 999px; margin-bottom: 28px; }
.price { display: flex; align-items: flex-start; gap: 4px; font-family: var(--display); font-weight: 400; letter-spacing: -0.06em; }
.price b { font-weight: 400; font-size: clamp(64px, 7vw, 84px); line-height: .9; }
.price span { font-size: 36px; margin-top: 4px; }
.price-sub { font-size: 14px; color: var(--olive); margin: 10px 0 32px; }
.price-terms { font-size: 12.5px; color: var(--olive); text-align: center; margin-top: 14px; }
.price-note { padding-top: 24px; margin-top: 28px; border-top: 1px solid #DDEBA0; font-size: 13px; line-height: 1.5; color: #45502A; }
.price-r { flex-grow: 1; padding: 40px 44px; }
.price-r > .lbl { font-size: 13px; font-weight: 600; color: var(--t3); margin-bottom: 24px; }
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.feat { display: flex; gap: 14px; }
.feat .ico { width: 38px; height: 38px; border-radius: 10px; }
.feat b { display: block; font-size: 15px; margin-bottom: 3px; }
.feat span { font-size: 13.5px; line-height: 1.45; color: var(--t4); }
.excl { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line2); display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 13px; color: var(--t3); }
.excl span { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- FAQ ---------- */
.faq-grid { display: flex; gap: 96px; align-items: flex-start; }
.faq-grid .h2 { width: 380px; flex-shrink: 0; font-size: clamp(32px, 3.6vw, 44px); }
.faq { flex-grow: 1; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { transition: transform .2s ease; flex-shrink: 0; }
.faq details[open] .pm { transform: rotate(45deg); }
.faq details p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--t2); max-width: 640px; }

/* ---------- Final CTA ---------- */
.cta { text-align: center; padding-top: clamp(72px, 9vw, 104px); padding-bottom: clamp(72px, 9vw, 104px); }
.cta .model-row { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.cta .model-row span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; }
.cta .h2 { font-size: clamp(34px, 5vw, 64px); margin-bottom: 22px; }
.cta .lead { max-width: 520px; margin: 0 auto 36px; }
.cta .actions { justify-content: center; margin-bottom: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line2); padding-top: 64px; overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; gap: 48px; padding-bottom: 44px; }
.foot-brand { max-width: 340px; }
.foot-brand img { height: 34px; width: auto; margin-bottom: 18px; }
.foot-brand p { font-size: 14.5px; line-height: 1.6; color: var(--t2); margin-bottom: 24px; }
.foot-cols { display: flex; gap: 72px; }
.foot-col { display: flex; flex-direction: column; gap: 11px; }
.foot-col b { font-size: 13px; margin-bottom: 6px; }
.foot-col a { font-size: 14px; color: var(--t4); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line2); font-size: 12.5px; color: var(--t3); }
.foot-legal nav { display: flex; gap: 24px; }
.foot-legal a { color: var(--t3); }
.foot-chart { position: relative; height: 230px; margin-top: 8px; }
.foot-chart .lbl { position: absolute; left: 0; top: 24px; font-family: var(--mono); font-size: 10.5px; color: var(--t3); }
.foot-chart .here { position: absolute; right: 5%; top: 34px; display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #FFFFFF; font-size: 12.5px; font-weight: 600; padding: 7px 12px 7px 10px; border-radius: 999px; z-index: 2; }
.foot-chart .here .live::before, .foot-chart .here .live::after { background: var(--lime); }
.foot-chart svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 206px; }

/* ---------- Thank-you / 404 ---------- */
.simple { min-height: 70vh; display: flex; align-items: center; }
.simple .box { max-width: 640px; padding: 96px 0; }
.simple .h1 { margin-bottom: 20px; }
.simple .lead { margin-bottom: 32px; }

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes bs-draw { 0% { stroke-dashoffset: 700; } 45% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
@keyframes bs-draw-long { 0% { stroke-dashoffset: 6000; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
@keyframes bs-draw-foot { 0% { stroke-dashoffset: 1600; } 50% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
@keyframes bs-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes bs-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bs-pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(2.2); opacity: 0; } }
@keyframes bs-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes bs-flow { to { stroke-dashoffset: -40; } }
@keyframes bs-blink { 50% { opacity: 0; } }
@keyframes bs-pop { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes bs-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.a-draw { stroke-dasharray: 700; animation: bs-draw 6s cubic-bezier(.3,.7,.2,1) var(--d, 0s) infinite; }
.a-draw-long { stroke-dasharray: 6000; animation: bs-draw-long 8s cubic-bezier(.3,.7,.2,1) infinite; }
.a-draw-foot { stroke-dasharray: 1600; animation: bs-draw-foot 7s cubic-bezier(.3,.7,.2,1) infinite; }
.a-grow { transform-origin: bottom; animation: bs-grow 1s cubic-bezier(.2,.8,.2,1) var(--d, 0s) both; }
.a-fill { transform-origin: left; animation: bs-fill 1.4s cubic-bezier(.2,.8,.2,1) var(--d, 0s) both; }
.a-up { animation: bs-up .7s cubic-bezier(.2,.8,.2,1) var(--d, 0s) both; }
.a-flow { animation: bs-flow 1.2s linear infinite; }

/* Scroll-triggered: hold the entrance animations until the section is on screen */
.js .reveal:not(.is-in) :is(.a-draw, .a-draw-long, .a-draw-foot, .a-grow, .a-fill, .a-up) { animation-play-state: paused; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  .hero { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { max-width: 720px; width: 100%; }
  .diagram { display: none; }
  .diagram-stack { display: block; background: var(--band); border-radius: 18px; padding: 20px; max-width: 720px; }
  .ds-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ds-grid > div { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
  .ds-grid b { display: block; font-size: 14px; }
  .ds-grid small { display: block; font-size: 12px; color: var(--t3); }
  .ds-grid > div.ai { background: var(--lime); border-color: var(--lime); }
  .ds-grid > div.ai small { color: #45502A; }
  .ds-line { height: 30px; display: flex; justify-content: center; }
  .ds-line i { width: 2px; height: 30px; background: repeating-linear-gradient(var(--ink) 0 4px, transparent 4px 10px); }
  .ds-web { background: var(--ink); border-radius: 12px; padding: 14px; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--lime); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audit-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .audit-copy { max-width: 640px; }
  .faq-grid { gap: 56px; }
}

@media (max-width: 1023px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: absolute; left: 0; right: 0; top: 72px; background: #FFFFFF; border-bottom: 1px solid var(--line2); padding: 12px var(--pad) 20px; flex-direction: column; gap: 4px; }
  .nav.open .nav-menu { display: flex; }
  .nav-menu a:not(.btn) { padding: 12px 0; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--line2); }
  .nav-menu .btn { margin-top: 12px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .span2 { grid-column: span 2; }
  .feature { flex-direction: column; }
  .feature-l { width: auto; border-right: 0; border-bottom: 1px solid var(--line2); }
  .price-box { flex-direction: column; }
  .price-l { width: auto; }
  .faq-grid { flex-direction: column; gap: 32px; }
  .faq-grid .h2 { width: auto; }
  .foot-top { flex-direction: column; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 719px) {
  .nav-in { height: 64px; }
  .nav-menu { top: 64px; }
  .logo img { height: 24px; }
  .hero { padding-top: 36px; padding-bottom: 48px; }
  .actions .btn { width: 100%; }
  .hero-visual { height: 420px; }
  .hv-a { left: 16px; right: 16px; top: 16px; width: auto; padding: 16px; }
  .hv-a .big-num { font-size: 32px; }
  .chart-a { height: 96px; }
  .hv-b { left: 36px; right: 16px; top: auto; bottom: 16px; width: auto; }
  .hv-c { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento .span2 { grid-column: auto; }
  .b-card { padding: 22px; min-height: 0; }
  .b-card.serp { padding-bottom: 0; }
  .serp .b-inner { padding: 16px; }
  .serp-row { flex-direction: column; gap: 12px; }
  .serp-side { width: auto; }
  .serp-side .skel-group { display: none; }
  .bars { gap: 6px; min-height: 130px; }
  .pause-mark { position: static; }
  .pause-mark b { font-size: 9px; left: auto; right: 0; top: 0; }
  .g-label { width: 104px; font-size: 12px; }
  .g-axis span:nth-child(even) { visibility: hidden; }
  .gantt { padding: 18px 16px; }
  .g-bar.lime { font-size: 0; padding: 0; }
  .steps, .cases { grid-template-columns: 1fr; }
  .feature-l { padding: 24px; }
  .feature-r { padding: 20px 16px 16px; }
  .feature-r .legend { display: none; }
  .gsc { height: 160px; }
  .gsc-wrap { min-height: 190px; }
  .gsc-axis span:nth-child(even) { display: none; }
  .kpi-n { font-size: 36px; }
  .report { height: auto; }
  .report-back1, .report-back2 { display: none; }
  .report-front { position: static; animation: none; padding: 20px; }
  .f-row { flex-direction: column; }
  .form .btn, .price-l .btn { white-space: normal; text-align: center; line-height: 1.25; padding: 12px 22px; }
  .price-l, .price-r { padding: 28px 24px; }
  .feat-grid { grid-template-columns: 1fr; gap: 20px; }
  .foot-cols { flex-wrap: wrap; gap: 32px 48px; }
  .foot-chart { height: 150px; }
  .foot-chart svg { height: 120px; }
  .foot-chart .here { right: 0; top: 0; font-size: 11.5px; }
  .foot-chart .lbl { top: 6px; }
}

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(64px, 8vw, 112px); }
.legal .h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 12px; }
.legal .upd { font-family: var(--mono); font-size: 11px; color: var(--t3); margin-bottom: 40px; }
.legal h2 { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -0.03em; margin: 36px 0 12px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; color: var(--t2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 12px 0; }
.legal a { text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14.5px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--t2); }
.legal th { color: var(--ink); font-weight: 600; background: var(--band); }
.fill { background: var(--lime-soft); color: var(--ink); padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.legal-foot { border-top: 1px solid var(--line2); }
.legal-foot .foot-legal { border-top: 0; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; max-width: 520px; margin-left: auto; padding: 20px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 40px rgba(11, 13, 0, .12); font-size: 14px; line-height: 1.55; color: var(--t2); }
.cookie-banner a { color: var(--ink); text-decoration: underline; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cookie-actions .btn { width: 100%; }
.foot-legal button.link { background: none; border: 0; padding: 0; color: var(--t3); font-size: inherit; cursor: pointer; }
.foot-legal button.link:hover { color: var(--olive); }

/* ---------- Cal.com embed (/gracias) ---------- */
.agenda { padding-bottom: clamp(64px, 8vw, 96px); }
.agenda .h2 { margin-bottom: 12px; }
.agenda .lead { margin-bottom: 28px; }
.cal-embed { width: 100%; min-height: 640px; overflow: auto; border: 1px solid var(--line2); border-radius: 18px; }
