/* =========================================================
   StreetMapping — sistema visual v2
   Tipografía: Geist + Geist Mono (autoalojadas)
   Marca: naranja #ff6900 (del logo) + azul tinta
   ========================================================= */

@font-face { font-family: "Geist"; src: url("../fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #fbfaf7;
  --bg-2: #f4f1ea;
  --bg-3: #ebe6dc;
  --card: #ffffff;
  --ink: #0b1220;
  --ink-2: #364152;
  --ink-3: #6a7282;
  --line: #e6e1d6;
  --line-2: #d8d1c3;
  --signal: #ff6900;
  --signal-2: #ff8a3d;
  --signal-ink: #b04600;
  --signal-soft: #fff0e5;
  --teal: #0f766e;
  --teal-soft: #dff3ef;
  --blue: #2b4c86;
  --ok: #1f7a45;
  --ok-soft: #e2f3e8;
  --danger: #b3261e;

  /* Compatibilidad con nombres anteriores (panel) */
  --paper: var(--bg);
  --paper-2: var(--bg-2);
  --paper-3: var(--bg-3);

  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --f-display: var(--f-sans);
  --f-body: var(--f-sans);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .06);
  --shadow: 0 1px 2px rgba(11, 18, 32, .05), 0 8px 24px -12px rgba(11, 18, 32, .18);
  --shadow-lg: 0 2px 4px rgba(11, 18, 32, .04), 0 24px 60px -24px rgba(11, 18, 32, .35);
  --shadow-xl: 0 40px 100px -40px rgba(11, 18, 32, .45);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--signal-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--signal); color: #fff; }
h1, h2, h3, h4 { font-family: var(--f-sans); font-weight: 650; line-height: 1.06; letter-spacing: -.035em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 700; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
strong, b { font-weight: 600; }
code { font-family: var(--f-mono); font-size: .88em; }
.mono { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .02em; text-transform: uppercase; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font: 550 1rem/1.1 var(--f-sans); letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 24px -10px rgba(11, 18, 32, .5); }
.btn:active { transform: translateY(0); }
.btn--signal { --bg: var(--signal); --fg: #fff; --bd: #f06000; text-shadow: 0 1px 0 rgba(0, 0, 0, .12); }
.btn--signal:hover { --bg: #f56400; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 28px -10px rgba(255, 105, 0, .7); }
.btn--ghost { --bg: rgba(255, 255, 255, .7); --fg: var(--ink); --bd: var(--line-2); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { --bg: #fff; color: var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--sm { min-height: 40px; padding: .5em 1.05em; font-size: .94rem; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, .78); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
.is-scrolled .site-header { border-bottom-color: var(--line); background: rgba(251, 250, 247, .92); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand__logo { width: auto; height: 42px; }
.brand__logo--footer { height: 52px; }
.nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list > li > a, .nav__sub-toggle { display: block; padding: 9px 13px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font: 500 .96rem/1 var(--f-sans); background: none; border: 0; cursor: pointer; transition: color .15s, background .15s; }
.nav__list > li > a:hover, .nav__sub-toggle:hover { color: var(--ink); background: rgba(11, 18, 32, .05); }
.nav__list > li > a[aria-current="page"] { color: var(--ink); background: rgba(11, 18, 32, .07); }
.nav__sub-toggle::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); }
.nav__group { position: relative; }
.nav__sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 10px); left: -10px; width: 320px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s var(--ease); }
.nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub, .nav__group.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 11px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--bg-2); }
.nav__sub strong { display: block; font-weight: 600; }
.nav__sub span { display: block; font-size: .86rem; color: var(--ink-3); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }
@media (max-width: 1020px) {
  .site-header__inner { min-height: 64px; }
  .brand__logo { height: 36px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; width: 44px; height: 44px; border-radius: 999px; background: var(--ink); border: 0; cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 14px; padding: 10px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 64px); overflow-y: auto; }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__list > li > a, .nav__sub-toggle { padding: 14px 12px; font-size: 1.05rem; width: 100%; text-align: left; }
  .nav__sub-toggle { display: none; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; width: auto; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 4px; }
  .nav__actions { flex-direction: column; align-items: stretch; }
}

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.section--tight { padding-block: clamp(48px, 7vw, 84px); }
.section--paper2, .section--sand { background: var(--bg-2); }
.section--white { background: #fff; }
.section--ink { background: var(--ink); color: #e9ecf2; overflow: hidden; isolation: isolate; }
.section--ink::before { content: ""; position: absolute; z-index: -1; inset: -40% -10% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 105, 0, .2), transparent 70%); pointer-events: none; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink a { color: var(--signal-2); }
.section--ink .lead { color: #aeb6c4; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 12px 6px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink-2); font: 500 .8rem/1.2 var(--f-mono); letter-spacing: .01em; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); flex-shrink: 0; }
.section--ink .eyebrow { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #cfd5df; box-shadow: none; }
.section--ink .eyebrow::before { box-shadow: 0 0 0 3px rgba(255, 105, 0, .25); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); color: var(--ink-2); line-height: 1.55; max-width: 62ch; letter-spacing: -.01em; }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 80px) clamp(72px, 9vw, 112px); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(rgba(11, 18, 32, .09) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%); }
.hero::after { content: ""; position: absolute; z-index: -1; right: -10%; top: -20%; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 105, 0, .16), rgba(255, 138, 61, .06) 55%, transparent 75%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.3vw, 4.4rem); }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--signal) 0%, #ff9a4d 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h1-line { display: block; }
.hero .lead { margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; color: var(--ink-2); font-size: .95rem; }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%231f7a45' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; flex-shrink: 0; }

/* Composición del hero con capturas reales */
.hero-visual { position: relative; padding: 0 0 64px; }
.hero-visual .shot--browser { transform: perspective(1600px) rotateY(-8deg) rotateX(3deg); transform-origin: left center; transition: transform .7s var(--ease); }
.hero-visual:hover .shot--browser { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.hero-visual .shot--browser .shot__frame { box-shadow: var(--shadow-xl); }
.hero-visual .shot--phone { position: absolute; right: -6px; bottom: 0; width: 32%; min-width: 140px; }
.hero-visual .shot--phone .shot__frame { max-width: none; border-width: 7px; border-radius: 30px; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); font-size: .84rem; line-height: 1.25; color: var(--ink-2); z-index: 2; }
.chip strong { display: block; color: var(--ink); font-weight: 600; }
.chip__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--signal-soft); color: var(--signal-ink); flex-shrink: 0; }
.chip__ico svg { width: 18px; height: 18px; }
.chip--a { left: -24px; top: 16%; }
.chip--b { left: 16%; bottom: 8px; }
.chip--b .chip__ico { background: var(--ok-soft); color: var(--ok); }
@media (prefers-reduced-motion: no-preference) {
  .chip--a { animation: float 6s ease-in-out infinite; }
  .chip--b { animation: float 7s ease-in-out -2s infinite; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero-visual .shot--browser { transform: none; }
  .hero-visual:hover .shot--browser { transform: none; }
  .chip--a { left: 8px; }
}
@media (max-width: 560px) {
  .hero-visual { padding-bottom: 36px; }
  .hero-visual .shot--phone { width: 38%; right: -4px; }
  .chip--b { display: none; }
  .chip--a { top: auto; bottom: 0; left: 0; }
}

/* ---------- Cifras ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 26px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__n { display: block; font: 700 clamp(1.9rem, 3.4vw, 2.6rem)/1 var(--f-sans); letter-spacing: -.045em; color: var(--ink); margin-bottom: 8px; }
.stat__n em { font-style: normal; color: var(--signal); }
.stat__l { color: var(--ink-3); font-size: .95rem; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Franja de sectores ---------- */
.strip { padding-block: 8px 0; }
.strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; }
.strip__label { font: 500 .8rem var(--f-mono); color: var(--ink-3); }
.strip__items { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.strip__items li { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: .93rem; color: var(--ink-2); }

/* ---------- Antes / después ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare__col { border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); }
.compare__col--before { background: var(--bg-2); border: 1px dashed var(--line-2); }
.compare__col--after { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #e9ecf2; }
.compare__col--after::before { content: ""; position: absolute; z-index: -1; right: -30%; top: -40%; width: 80%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 105, 0, .25), transparent); }
.compare__col--after h3 { color: #fff; }
.compare ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.compare li { display: block; position: relative; padding-left: 30px; }
.compare li::before { content: "✕"; position: absolute; left: 0; top: 0; color: var(--ink-3); font-weight: 600; }
.compare__col--after li::before { content: "✓"; color: var(--signal-2); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Pasos ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 47px; border-top: 2px dashed var(--line-2); }
.step { position: relative; padding: 30px 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 22px; border-radius: 50%; background: var(--signal); color: #fff; font: 600 .95rem var(--f-mono); box-shadow: 0 0 0 6px var(--signal-soft); }
.step__icon { position: absolute; top: 26px; right: 24px; width: 42px; height: 42px; border-radius: 12px; background: var(--bg-2); display: grid; place-items: center; color: var(--ink-2); }
.step__icon svg { width: 22px; height: 22px; }
.step p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

/* ---------- Bento de funcionalidades ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento__item { position: relative; overflow: hidden; isolation: isolate; grid-column: span 2; display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.bento__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.bento__item--wide { grid-column: span 4; }
.bento__item--ink { background: var(--ink); color: #dfe4ec; border-color: var(--ink); }
.bento__item--ink::before { content: ""; position: absolute; z-index: -1; right: -30%; bottom: -50%; width: 90%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 105, 0, .3), transparent); }
.bento__item--ink h3 { color: #fff; }
.bento__item--signal { background: linear-gradient(140deg, var(--signal) 0%, #ff8a3d 100%); color: #fff; border-color: transparent; }
.bento__item--signal h3, .bento__item--signal p { color: #fff; }
.bento__item h3 { font-size: 1.2rem; margin-bottom: .4em; }
.bento__item p { color: var(--ink-2); margin: 0; font-size: 1rem; }
.bento__item--ink p { color: #aeb6c4; }
.bento__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--signal-soft); color: var(--signal-ink); margin-bottom: 18px; }
.bento__icon svg { width: 22px; height: 22px; }
.bento__item--ink .bento__icon { background: rgba(255, 255, 255, .08); color: var(--signal-2); }
.bento__item--signal .bento__icon { background: rgba(255, 255, 255, .2); color: #fff; }
.bento__media { margin: 22px -28px -28px; flex-grow: 1; min-height: 200px; max-height: 260px; background: var(--bg-2); border-top: 1px solid var(--line); overflow: hidden; }
.bento__media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.bento__item .bento__big { font: 700 clamp(3rem, 6vw, 4.4rem)/1 var(--f-sans); letter-spacing: -.05em; margin: auto 0 8px; color: #fff; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento__item, .bento__item--wide { grid-column: span 2; } }
@media (min-width: 620px) and (max-width: 980px) { .bento__item:not(.bento__item--wide) { grid-column: span 1; } }

/* Rejilla clásica de funcionalidades */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--signal-soft); color: var(--signal-ink); margin-bottom: 18px; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.15rem; margin-bottom: .4em; }
.feature p { color: var(--ink-2); margin: 0; font-size: 1rem; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* ---------- Pestañas con capturas ---------- */
.tabs { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.tabs__list { display: grid; gap: 8px; }
.tabs__btn { display: block; width: 100%; text-align: left; padding: 18px 20px; border-radius: var(--r); border: 1px solid transparent; background: transparent; color: inherit; font: inherit; cursor: pointer; transition: background .2s, border-color .2s; }
.tabs__btn strong { display: block; font-size: 1.06rem; color: #fff; margin-bottom: 2px; font-weight: 600; }
.tabs__btn span { color: #9aa3b2; font-size: .94rem; }
.tabs__btn:hover { background: rgba(255, 255, 255, .04); }
.tabs__btn[aria-selected="true"] { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .12); box-shadow: inset 3px 0 0 var(--signal); }
.tabs__panel[hidden] { display: none; }
.tabs__panel .shot--phone .shot__frame { max-width: 320px; }
@media (max-width: 900px) { .tabs { grid-template-columns: 1fr; } .tabs__list { grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); overflow-x: auto; padding-bottom: 6px; } }

/* ---------- Bloques con imagen ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(72px, 9vw, 120px); }
.split > * { min-width: 0; }
.split--rev .split__visual { order: -1; }
.split__text ul { padding-left: 0; list-style: none; display: grid; gap: 12px; margin: 22px 0 0; }
.split__text li { display: block; position: relative; padding-left: 30px; }
.split__text li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--signal-soft); box-shadow: inset 0 0 0 5px var(--signal); }
.split__visual--phone { display: flex; justify-content: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev .split__visual { order: 0; } }

/* ---------- Capturas reales ---------- */
.shot { margin: 0; }
.shot__frame { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); overflow: hidden; }
.shot__frame img { width: 100%; height: auto; display: block; }
.shot__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: linear-gradient(#fbfbfb, #f2f2f2); border-bottom: 1px solid var(--line); }
.shot__bar i { width: 10px; height: 10px; border-radius: 50%; }
.shot__bar i:nth-child(1) { background: #ff5f57; } .shot__bar i:nth-child(2) { background: #febc2e; } .shot__bar i:nth-child(3) { background: #28c840; }
.shot__bar span { margin: 0 auto; padding: 3px 14px; border-radius: 6px; background: #fff; border: 1px solid var(--line); font: 500 .72rem var(--f-mono); color: var(--ink-3); }
.shot figcaption { margin-top: 12px; font-size: .9rem; color: var(--ink-3); }
.section--ink .shot figcaption { color: #8f98a8; }
.shot--phone .shot__frame { max-width: 300px; margin-inline: auto; border: 9px solid #111827; border-radius: 40px; box-shadow: var(--shadow-xl); }
.shot--phone .shot__frame img { aspect-ratio: 390 / 780; object-fit: cover; object-position: top; }
.shot--phone figcaption { text-align: center; }
.showcase { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(220px, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
@media (max-width: 860px) { .showcase { grid-template-columns: 1fr; } }

/* ---------- Tarjetas ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; padding: 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
a.card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.card .mono { color: var(--ink-3); margin-bottom: 14px; }
.card h3 { font-size: 1.4rem; }
.card p { color: var(--ink-2); flex-grow: 1; }
.card__more { font-weight: 600; color: var(--signal-ink); }
a.card:hover .card__more { text-decoration: underline; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Bloque legal ---------- */
.legal-box { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.legal-box__list { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.legal-box__list li { padding: 18px 20px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.legal-box__list strong { display: block; color: #fff; margin-bottom: 2px; }
.legal-box__list span { color: #aeb6c4; font-size: .96rem; }
@media (max-width: 860px) { .legal-box { grid-template-columns: 1fr; } }

/* ---------- Precios ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; isolation: isolate; }
.plan--featured { background: var(--ink); color: #e9ecf2; border-color: var(--ink); box-shadow: var(--shadow-xl); }
.plan--featured::before { content: ""; position: absolute; z-index: -1; right: -40%; top: -50%; width: 100%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 105, 0, .28), transparent); }
.plan--featured h3 { color: #fff; }
.plan__badge { position: absolute; top: 18px; right: 18px; background: var(--signal); color: #fff; font: 600 .72rem var(--f-mono); text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.plan h3 { font-size: 1.25rem; margin-bottom: .2em; }
.plan__for { color: var(--ink-3); font-size: .95rem; margin-bottom: 22px; }
.plan--featured .plan__for { color: #9aa3b2; }
.plan__price { font: 700 3.2rem/1 var(--f-sans); letter-spacing: -.05em; }
.plan__price small { font: 500 .95rem var(--f-sans); letter-spacing: 0; color: var(--ink-3); margin-left: 4px; }
.plan--featured .plan__price small { color: #9aa3b2; }
.plan__note { font-size: .9rem; color: var(--ink-3); margin: 8px 0 22px; }
.plan--featured .plan__note { color: #9aa3b2; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex-grow: 1; }
.plan li { display: block; position: relative; padding-left: 28px; color: var(--ink-2); }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 700; }
.plan.plan--featured li { color: #d5dbe4; }
.plan--featured li::before { color: var(--signal-2); }
.plans-after { margin-top: 64px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

.calc { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.calc__in { padding: clamp(26px, 4vw, 44px); }
.calc__out { position: relative; isolation: isolate; padding: clamp(26px, 4vw, 44px); background: var(--ink); color: #e9ecf2; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.calc__out::before { content: ""; position: absolute; z-index: -1; right: -30%; bottom: -50%; width: 90%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 105, 0, .3), transparent); }
.calc label, .calc legend { display: block; font-weight: 600; margin-bottom: 10px; }
.calc fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row output { font: 700 2rem/1 var(--f-sans); min-width: 2.2ch; text-align: right; letter-spacing: -.04em; }
input[type="range"] { flex: 1; accent-color: var(--signal); height: 32px; }
.seg { display: inline-flex; padding: 4px; background: var(--bg-2); border-radius: 999px; gap: 4px; border: 1px solid var(--line); }
.seg label { margin: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 9px 18px; border-radius: 999px; cursor: pointer; font-weight: 500; }
.seg input:checked + span { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.seg em { font-style: normal; font-size: .78rem; color: var(--signal-ink); margin-left: 6px; font-weight: 600; }
.seg input:checked + span em { color: var(--signal-2); }
.calc__total { font: 700 clamp(2.8rem, 6vw, 4rem)/1 var(--f-sans); letter-spacing: -.05em; margin: 8px 0; color: #fff; }
.calc__total small { font: 500 1rem var(--f-sans); color: #9aa3b2; letter-spacing: 0; }
.calc__detail { color: #c4cad5; margin-bottom: 24px; }
.calc__out .btn { align-self: flex-start; }
.calc__fine { font-size: .88rem; color: #9aa3b2; margin: 16px 0 0; }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font: 500 .74rem var(--f-mono); text-transform: uppercase; color: var(--ink-3); background: var(--bg); }
tr:last-child td { border-bottom: 0; }
td a { font-weight: 600; }

/* ---------- Preguntas ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 58px 20px 22px; position: relative; font: 600 1.05rem/1.35 var(--f-sans); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11h8M11 7v8' stroke='%230b1220' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--signal-soft); }
.faq__body { padding: 0 22px 20px; color: var(--ink-2); }
.faq__body p:last-child { margin: 0; }

/* ---------- CTA final ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 80px); background: var(--ink); color: #e9ecf2; display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; box-shadow: var(--shadow-xl); }
.cta-band::before { content: ""; position: absolute; z-index: -1; right: -15%; top: -60%; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 105, 0, .45), transparent 70%); }
.cta-band::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 20px 20px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; font-size: 1.12rem; max-width: 54ch; color: #b9c1ce; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn:not(.btn--ghost) { --bg: var(--signal); --bd: #f06000; }
.cta-band .btn--ghost { --bg: rgba(255, 255, 255, .06); --fg: #fff; --bd: rgba(255, 255, 255, .2); }
.cta-band .btn--ghost:hover { --bg: rgba(255, 255, 255, .12); color: #fff; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Cabecera de página interior ---------- */
.page-hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; z-index: -1; right: -10%; top: -60%; width: 55%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 105, 0, .12), transparent 70%); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 22ch; }
.page-hero .lead { margin-bottom: 0; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.page-hero__ctas--center { justify-content: center; }
.crumbs { font: 500 .78rem var(--f-mono); color: var(--ink-3); margin-bottom: 22px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Texto largo ---------- */
.prose { font-size: 1.1rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.55rem, 2.6vw, 2.05rem); margin-top: 2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--signal); }
.prose blockquote { margin: 1.6em 0; padding: 20px 24px; border-left: 3px solid var(--signal); background: #fff; border-radius: 0 var(--r) var(--r) 0; box-shadow: var(--shadow-sm); font-size: 1.05rem; }
.prose blockquote p:last-child { margin: 0; }
.prose .table-wrap { margin: 1.4em 0; }
.prose td, .prose th { white-space: normal; vertical-align: top; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose img { border-radius: var(--r); margin: 1.4em 0; }
.prose--legal { font-size: 1rem; line-height: 1.7; }
.prose--legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose--legal h3 { font-size: 1.1rem; }
.callout { padding: 20px 24px; border-radius: var(--r); background: var(--signal-soft); border: 1px solid #fbd3b3; margin: 1.6em 0; }
.callout--info { background: var(--teal-soft); border-color: #bfe3dc; }
.callout p:last-child { margin: 0; }
.callout > strong:first-child { display: block; margin-bottom: 4px; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 1em 0 1.6em; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.dl dt { font-weight: 600; } .dl dd { margin: 0; }
@media (max-width: 560px) { .dl { grid-template-columns: 1fr; gap: 2px; } .dl dd { margin-bottom: 10px; } }
.toc { padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 2em; font-size: 1rem; box-shadow: var(--shadow-sm); }
.toc p { font: 500 .76rem var(--f-mono); text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.toc ol { margin: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; font: 500 .8rem var(--f-mono); color: var(--ink-3); }
.article-cta { position: relative; overflow: hidden; isolation: isolate; margin: 2.6em 0 0; padding: 32px; border-radius: var(--r-lg); background: var(--ink); color: #e9ecf2; }
.article-cta::before { content: ""; position: absolute; z-index: -1; right: -30%; top: -60%; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 105, 0, .3), transparent); }
.article-cta h2 { margin-top: 0; font-size: 1.6rem; color: #fff; }
.article-cta p { color: #b9c1ce; }
.post-cover { width: 100%; height: auto; border-radius: var(--r-lg); margin-bottom: 2em; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.post-card { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease); overflow: hidden; }
.post-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card .mono { color: var(--signal-ink); margin-bottom: 14px; }
.post-card h2, .post-card h3 { font-size: 1.36rem; }
.post-card p { color: var(--ink-2); flex-grow: 1; }
.post-card__meta { font: 500 .76rem var(--f-mono); color: var(--ink-3); }
.post-card__img { width: calc(100% + 60px); max-width: none; margin: -30px -30px 20px; height: 200px; object-fit: cover; }
.post-card--big { grid-column: 1 / -1; background: var(--ink); color: #e9ecf2; border-color: var(--ink); }
.post-card--big::before { content: ""; position: absolute; z-index: -1; right: -20%; top: -60%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 105, 0, .3), transparent); }
.post-card--big:hover { color: #e9ecf2; }
.post-card--big h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 26ch; color: #fff; }
.post-card--big p { color: #b9c1ce; max-width: 62ch; }
.post-card--big .mono { color: var(--signal-2); }
.post-card--big .post-card__meta { color: #8f98a8; }
@media (max-width: 760px) { .posts { grid-template-columns: 1fr; } }

/* ---------- Formularios ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 550; margin-bottom: 6px; font-size: .95rem; }
.field label small { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 4px var(--signal-soft); }
.field--err input, .field--err select, .field--err textarea { border-color: var(--danger); }
.field__err { color: #a52a21; font-size: .88rem; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-info { font-size: .84rem; color: var(--ink-3); line-height: 1.55; margin-top: 18px; }
.notice { padding: 16px 20px; border-radius: var(--r); margin-bottom: 22px; }
.notice--ok { background: var(--ok-soft); border: 1px solid #bfe2cb; }
.notice--err { background: #fde8e6; border: 1px solid #f3bdb6; }
.notice--pass { background: #fff6dc; border: 1px solid #f0d58a; }
.notice p:last-child { margin: 0; }
.plan-pick { display: grid; gap: 4px; margin-bottom: 24px; padding: 20px 22px; border-radius: var(--r); background: linear-gradient(135deg, var(--signal-soft), #fff); border: 1px solid #fbd3b3; }
.plan-pick .mono { color: var(--signal-ink); }
.plan-pick strong { font-size: 1.25rem; letter-spacing: -.02em; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-aside { display: grid; gap: 14px; }
.contact-aside .card { padding: 24px; }
.contact-aside .card h2 { font-size: 1.12rem; }
.contact-aside .card p { margin: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #aeb6c4; padding-block: 80px 32px; font-size: .96rem; }
.site-footer::before { content: ""; position: absolute; z-index: -1; left: -20%; top: -60%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 105, 0, .12), transparent); pointer-events: none; }
.site-footer a { color: #e4e8ef; text-decoration: none; }
.site-footer a:hover { color: var(--signal-2); }
.site-footer__top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer__brand p { margin: 20px 0 0; max-width: 38ch; }
.site-footer__brand .mono { color: #7d8698; }
.site-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.site-footer h2 { font: 500 .74rem var(--f-mono); text-transform: uppercase; color: #7d8698; margin-bottom: 14px; letter-spacing: .04em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding-top: 26px; font-size: .88rem; }
.site-footer__legal p { margin: 0; }
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr; } .site-footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Mapa ilustrado (sección de zonas) ---------- */
.hero-map { position: relative; }
.hero-map__frame { position: relative; border-radius: var(--r-lg); background: #fff; padding: 10px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.hero-map__svg { width: 100%; border-radius: 16px; }
.hero-map__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 6px 4px; font: 500 .72rem var(--f-mono); color: var(--ink-3); }
.hero-map__legend span { display: inline-flex; align-items: center; gap: 6px; }
.hero-map__legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.lg-v { background: var(--ink); } .lg-p { border: 2px solid var(--ink); } .lg-o { background: var(--signal); } .lg-r { width: 18px !important; height: 3px !important; border-radius: 2px !important; background: var(--signal); }
.m-bg { fill: #f3efe7; } .m-block { fill: #e5ded1; } .m-park { fill: #d6e3cd; }
.m-river { fill: none; stroke: #d6e3cd; stroke-width: 30; stroke-linecap: round; }
.m-avenue { fill: none; stroke: #f3efe7; stroke-width: 18; }
.m-hatch { stroke: rgba(11, 18, 32, .12); stroke-width: 2; }
.m-zone { stroke-width: 2.2; stroke-dasharray: 7 5; stroke-linejoin: round; }
.m-zone--a { fill: rgba(15, 118, 110, .12); stroke: var(--teal); }
.m-zone--b { fill: rgba(255, 105, 0, .1); stroke: var(--signal); }
.m-zone--c { fill: url(#hatch); stroke: var(--ink-3); }
.m-route-shadow { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.m-route { fill: none; stroke: var(--signal); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.m-pin { stroke: #fff; stroke-width: 2.2; } .m-pin--v { fill: var(--ink); } .m-pin--p { fill: #fff; stroke: var(--ink); } .m-pin--o { fill: var(--signal); stroke: var(--ink); stroke-width: 2; }
.m-me { fill: var(--signal); stroke: #fff; stroke-width: 3; }
.m-me-halo { fill: var(--signal); opacity: .25; transform-box: fill-box; transform-origin: center; }
.m-label rect { fill: #fff; stroke: var(--line-2); }
.m-label text { font: 600 10.5px var(--f-mono); fill: var(--ink); }
.m-label--a rect { stroke: var(--teal); } .m-label--b rect { stroke: var(--signal); }
.m-compass circle { fill: #fff; stroke: var(--line-2); } .m-compass path { fill: var(--ink); } .m-compass text { font: 700 9px var(--f-mono); fill: var(--ink-3); }
.finca-card { position: absolute; right: -18px; bottom: -36px; width: min(300px, 62%); background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-xl); padding: 16px 16px 12px; font-size: .86rem; }
.finca-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.finca-card__addr { font: 650 1rem/1.2 var(--f-sans); letter-spacing: -.02em; }
.finca-card__meta { font: 500 .68rem var(--f-mono); color: var(--ink-3); margin-top: 3px; }
.finca-card ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.finca-card li { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); }
.finca-card li:last-child { border-bottom: 0; }
.finca-card .door { font: 500 .72rem var(--f-mono); color: var(--ink-3); }
.tag { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.tag--sale { background: var(--signal-soft); color: var(--signal-ink); } .tag--empty { background: var(--teal-soft); color: var(--teal); } .tag--call { background: var(--bg-2); color: var(--ink-2); } .tag--ok { background: var(--ok-soft); color: var(--ok); }
@media (prefers-reduced-motion: no-preference) {
  .m-route { animation: draw 3.2s cubic-bezier(.6, .1, .3, 1) .3s both; }
  .m-me-halo { animation: pulse 2.2s ease-out infinite; }
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(1.8); opacity: 0; } }
@media (max-width: 560px) { .finca-card { position: relative; right: auto; bottom: auto; width: auto; margin: 14px 10px 0; } }

/* ---------- Ficha de datos (páginas pensadas para buscadores e IA) ---------- */
.facts { display: grid; grid-template-columns: max-content 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; box-shadow: var(--shadow); margin: 1.4em 0 2em; font-size: 1rem; }
.facts dt, .facts dd { margin: 0; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; background: var(--bg); }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom: 0; }
@media (max-width: 620px) { .facts { grid-template-columns: 1fr; } .facts dt { border-bottom: 0; padding-bottom: 2px; } }

/* ---------- Utilidades ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-lg { margin-top: 32px; }
.center { text-align: center; }
.stack-lg > * + * { margin-top: clamp(40px, 6vw, 72px); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.note { font-size: .92rem; color: var(--ink-3); }

/* ---------- 404 ---------- */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.lost__code { font: 800 clamp(5rem, 16vw, 10rem)/1 var(--f-sans); letter-spacing: -.07em; background: linear-gradient(120deg, var(--signal), #ffb07a); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Hoja de captación imprimible ---------- */
.sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); color: #111; font-size: .9rem; }
.sheet__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid #111; margin-bottom: 14px; }
.sheet__title { display: block; font: 700 1.35rem var(--f-sans); letter-spacing: -.02em; }
.sheet__head .mono { color: var(--signal-ink); }
.sheet__date { font-size: .85rem; }
.sheet__grid { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid #111; margin-bottom: 14px; }
.sheet__f { min-height: 46px; padding: 4px 6px; border-right: 1px solid #999; border-bottom: 1px solid #999; }
.sheet__f span { font-size: .66rem; text-transform: uppercase; color: #555; }
.sheet__f--wide { grid-column: span 3; } .sheet__f--span4 { grid-column: span 4; } .sheet__f--full { grid-column: 1 / -1; min-height: 56px; } .sheet__f--short { min-height: 46px; }
.sheet__table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.sheet__table th, .sheet__table td { border: 1px solid #999; padding: 4px 6px; height: 34px; white-space: normal; font-size: .72rem; }
.sheet__table th { background: #f1ede6; color: #333; font-family: var(--f-sans); text-transform: none; font-weight: 600; height: auto; }
.sheet__table tr:last-child td { border-bottom: 1px solid #999; }
.sheet__table .c-door { width: 9%; } .sheet__table .c-name { width: 17%; } .sheet__table .c-tel { width: 15%; } .sheet__table .c-st { width: 15%; } .sheet__table .c-next { width: 18%; }
.c-st-opts { color: #999; font-size: .66rem !important; text-align: center; }
.sheet__legend { font-size: .72rem; margin: 10px 0 0; color: #333; }
@media (max-width: 700px) { .sheet { overflow-x: auto; } .sheet__table { min-width: 640px; } .sheet__grid { grid-template-columns: repeat(3, 1fr); } .sheet__f--wide, .sheet__f--span4 { grid-column: span 3; } }
@media print {
  @page { size: A4; margin: 10mm; }
  .site-header, .site-footer, .no-print, .skip { display: none !important; }
  body { background: #fff; font-size: 10.5pt; }
  .section, .page-hero, .section--tight { padding: 0 !important; border: 0; }
  .wrap, .wrap--narrow { width: 100%; }
  .sheet { box-shadow: none !important; border: 0 !important; padding: 0 !important; }
  .sheet__table td { height: 30px; }
  a { color: inherit; text-decoration: none; }
}
.bento__media--phone { display: flex; justify-content: center; align-items: flex-start; padding: 22px 22px 0; background: linear-gradient(var(--bg-2), var(--bg-3)); }
.bento__media--phone img { width: 62%; max-width: 230px; height: auto; object-fit: initial; border: 7px solid #111827; border-bottom: 0; border-radius: 26px 26px 0 0; box-shadow: var(--shadow-lg); }

/* ---------- Aviso de cookies (solo si hay Google Analytics) ---------- */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; max-width: 760px; margin: 0 auto; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); font-size: .95rem; }
.cookies[hidden] { display: none; }
.cookies p { flex: 1 1 320px; margin: 0; color: var(--ink-2); }
.cookies__btns { display: flex; gap: 8px; margin-left: auto; }
@media (max-width: 520px) { .cookies__btns { width: 100%; } .cookies__btns .btn { flex: 1; } }
.cookies p a { color: var(--ink); }
.cookie-prefs__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---------- Cloudflare Turnstile ---------- */
.turnstile { min-height: 65px; }
.cf-turnstile { margin: 4px 0 10px; }
