/* Genesis Property Renovation — paleta del SunSplash ERP.
   Oscuro por defecto (navy + azul eléctrico + morado + cian + verde neón + sol) y claro opcional.
   Todo color que cambia con el tema es un token; los componentes solo usan tokens. */

/* ---------- tokens comunes ---------- */
:root {
  --font-display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-editorial: "Fraunces", Georgia, "Times New Roman", serif;

  --blue: #3d7dff;
  --blue-d: #1c53e6;
  --violet: #8b7bff;
  --violet-d: #6d5cf5;
  --cyan: #3ff0ff;
  --green: #22ffa0;
  --sun: #ffcf33;
  --sun-2: #ff9f1c;
  --wa: #25d366;
  --wa-ink: #043d1c;

  --radius: 26px;
  --gutter: 16px;
  --ease: cubic-bezier(.2,.8,.2,1);

  --text-hero: clamp(2.7rem, 7.4vw, 7rem);
  --text-h2: clamp(2.1rem, 4.4vw, 4.4rem);
  --text-h3: clamp(1.18rem, 1.7vw, 1.5rem);
  --text-lead: clamp(1.04rem, 1.2vw, 1.25rem);
  --text-body: clamp(1rem, .25vw + .94rem, 1.08rem);
}
@media (min-width: 768px) { :root { --gutter: 28px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; } }

/* ---------- tema OSCURO (por defecto) ---------- */
:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050e29;
  --bg-2: #0a1a42;
  --ink: #eef4ff;
  --muted: #b9caeb;
  --accent-ink: #a8c6ff;
  --premium-ink: #ffd66b;
  --body-bg:
    radial-gradient(900px 620px at 6% 8%, rgba(61,125,255,.30), transparent 60%),
    radial-gradient(760px 640px at 96% 26%, rgba(139,123,255,.26), transparent 60%),
    radial-gradient(820px 700px at 10% 62%, rgba(63,240,255,.12), transparent 60%),
    radial-gradient(700px 600px at 92% 88%, rgba(255,207,51,.12), transparent 60%),
    linear-gradient(180deg, #050e29, #081640 50%, #050e29);

  --surface: linear-gradient(150deg, rgba(38,64,140,.62), rgba(14,30,78,.56));
  --surface-hi: radial-gradient(120% 70% at 0% 0%, rgba(120,170,255,.18), transparent 55%);
  --surface-2: linear-gradient(150deg, rgba(48,78,165,.62), rgba(20,38,98,.62));
  --surface-3: rgba(10,24,66,.72);
  --edge: rgba(140,180,255,.30);
  --edge-strong: rgba(160,195,255,.45);
  --hi: rgba(190,215,255,.38);
  --lip: rgba(0,6,30,.55);
  --under: rgba(70,110,230,.55);
  --shadow-far: rgba(0,4,24,.75);
  --glow: rgba(61,125,255,.45);
  --glow-2: rgba(139,123,255,.35);

  --field-bg: rgba(6,16,48,.85);
  --field-edge: rgba(120,165,255,.38);
  --seg-bg: rgba(4,12,40,.55);

  --prem-surface: linear-gradient(150deg, rgba(120,84,10,.55), rgba(64,38,6,.6));
  --prem-edge: rgba(255,207,51,.50);
  --prem-glow: rgba(255,170,30,.40);
  --tip-bg: linear-gradient(150deg, rgba(120,84,10,.45), rgba(70,40,6,.5));
  --tip-ink: #ffe3a0;

  --nav-solid: rgba(5,14,41,.72);
  --emo: linear-gradient(100deg, var(--cyan) 5%, var(--blue) 40%, var(--violet) 75%, #c07bff);
  --price-grad: linear-gradient(100deg, var(--cyan), var(--blue) 45%, var(--violet));
  --map-filter: invert(.9) hue-rotate(180deg) saturate(.8) brightness(.95);
}

/* ---------- tema CLARO ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #eaf2ff;
  --bg-2: #d4e4ff;
  --ink: #0a1a3c;
  --muted: #3f5480;
  --accent-ink: #1747c9;
  --premium-ink: #8a4a00;
  --body-bg:
    radial-gradient(900px 600px at 8% 12%, rgba(63,200,255,.22), transparent 60%),
    radial-gradient(800px 700px at 95% 30%, rgba(139,123,255,.18), transparent 60%),
    radial-gradient(900px 700px at 15% 70%, rgba(61,125,255,.16), transparent 60%),
    radial-gradient(700px 600px at 90% 90%, rgba(255,207,51,.20), transparent 60%),
    linear-gradient(180deg, #eaf2ff, #dbe8ff);

  --surface: linear-gradient(150deg, rgba(255,255,255,.84), rgba(255,255,255,.56));
  --surface-hi: radial-gradient(120% 70% at 0% 0%, rgba(255,255,255,.8), transparent 55%);
  --surface-2: linear-gradient(150deg, #ffffff, #eaf2ff);
  --surface-3: rgba(255,255,255,.7);
  --edge: rgba(255,255,255,.95);
  --edge-strong: #ffffff;
  --hi: #ffffff;
  --lip: rgba(61,125,255,.14);
  --under: rgba(150,185,240,.6);
  --shadow-far: rgba(18,70,190,.45);
  --glow: rgba(61,125,255,.32);
  --glow-2: rgba(139,123,255,.22);

  --field-bg: #ffffff;
  --field-edge: rgba(61,125,255,.28);
  --seg-bg: rgba(61,125,255,.09);

  --prem-surface: linear-gradient(150deg, rgba(255,250,236,.96), rgba(255,230,180,.8));
  --prem-edge: #ffffff;
  --prem-glow: rgba(255,150,31,.45);
  --tip-bg: linear-gradient(150deg, #fff8e6, #ffefc7);
  --tip-ink: #5a3300;

  --nav-solid: rgba(234,242,255,.76);
  --emo: linear-gradient(100deg, var(--blue-d) 10%, var(--violet-d) 60%, #0aa7c9);
  --price-grad: linear-gradient(100deg, var(--blue-d), var(--violet-d));
  --map-filter: none;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }
html, body { font-family: var(--font-display); }
body {
  margin: 0; color: var(--ink); font-size: var(--text-body); line-height: 1.65;
  background: var(--body-bg); background-color: var(--bg);
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
button, input, select, textarea, optgroup { font-family: inherit; font-size: max(16px, 1em); color: inherit; }
::placeholder { font-family: inherit; color: var(--muted); opacity: .8; }
img { max-width: 100%; display: block; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; }
.sr { position: absolute !important; 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; padding: 10px 16px; border-radius: 12px; background: var(--blue-d); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
header, main, section, footer { position: relative; z-index: 1; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }

/* ---------- vidrio 3D (tarjetas) ---------- */
.glass {
  position: relative; isolation: isolate;
  background: var(--surface-hi), var(--surface);
  border: 1px solid var(--edge);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border-radius: var(--radius);
  box-shadow:
    0 1px 1px rgba(0,0,0,.12),
    0 3px 0 -1px var(--under),
    0 14px 30px -12px var(--glow),
    0 44px 90px -34px var(--shadow-far),
    inset 0 1px 0 var(--hi),
    inset 0 -3px 0 var(--lip),
    inset 1px 0 0 rgba(255,255,255,.08);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s;
}
.glass::before {
  content: ""; position: absolute; z-index: -1; left: 14%; right: 14%; bottom: -16%; height: 46%;
  background: radial-gradient(circle, var(--glow-2), transparent 68%); filter: blur(40px); pointer-events: none;
}
.svc:hover, .pkg:hover, .chip:hover, .city:hover {
  transform: translateY(-5px);
  box-shadow:
    0 2px 2px rgba(0,0,0,.14),
    0 4px 0 -1px var(--under),
    0 24px 44px -14px var(--glow),
    0 64px 110px -40px var(--shadow-far),
    inset 0 1px 0 var(--hi),
    inset 0 -3px 0 var(--lip),
    inset 1px 0 0 rgba(255,255,255,.08);
}
/* piezas internas (precios, opciones, filas) */
.piece {
  background: var(--surface-2);
  border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 var(--hi), inset 0 -2px 0 var(--lip), 0 3px 0 -1px var(--under), 0 10px 20px -12px var(--glow);
}

/* ---------- tipografía ---------- */
.eyebrow { font-size: clamp(.68rem, .2vw + .64rem, .76rem); font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--accent-ink); }
.emo {
  display: inline-block; font-family: var(--font-editorial); font-style: italic; font-weight: 600;
  font-size: 1.12em; line-height: .84; letter-spacing: -.02em;
  background: var(--emo); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 .08em .08em 0;
  filter: drop-shadow(0 2px 0 rgba(90,70,255,.22)) drop-shadow(0 8px 16px rgba(61,125,255,.3));
}
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.sec-head h2 { font-size: var(--text-h2); line-height: 1.04; letter-spacing: -.03em; margin-top: 12px; text-wrap: balance; text-shadow: 0 12px 34px var(--glow); }
.sec-head h2 .line, .final-card h2 .line, .final-card h1 .line { display: inline; }
.lead { font-size: var(--text-lead); color: var(--muted); margin-top: 16px; max-width: 60ch; line-height: 1.6; }

/* ---------- botones 3D de cristal con color ---------- */
.btn {
  --btn: var(--blue);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 1.3em; border-radius: 16px;
  font-weight: 700; font-size: 1rem; line-height: 1.1; letter-spacing: -.01em;
  text-decoration: none; text-align: center; cursor: pointer;
  border: 1px solid color-mix(in srgb, white 45%, var(--btn));
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn::after {
  content: ""; position: absolute; inset: 1px 1px 52% 1px; z-index: -1; border-radius: 15px 15px 40% 40% / 15px 15px 12px 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0)); pointer-events: none;
}
.btn .ico { width: 1.2em; height: 1.2em; flex: none; }
.btn:hover { transform: translateY(-3px); filter: saturate(1.1) brightness(1.05); }
.btn:active { transform: translateY(2px); filter: none; }
.btn-sun { --btn: var(--sun); color: #2b1600; background: linear-gradient(150deg, #ffe066, color-mix(in srgb, var(--sun) 80%, var(--sun-2))); box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -3px 0 #e08a00, 0 4px 0 -1px #c97400, 0 14px 30px -10px rgba(255,190,40,.8), 0 0 26px -6px rgba(255,207,51,.55); }
.btn-wa { --btn: var(--wa); color: var(--wa-ink); background: linear-gradient(150deg, #5cf09a, color-mix(in srgb, var(--wa) 86%, transparent)); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -3px 0 #16a64d, 0 4px 0 -1px #11873e, 0 14px 30px -10px rgba(37,211,102,.75), 0 0 26px -6px rgba(34,255,160,.45); }
.btn-blue { --btn: var(--blue); color: #fff; background: linear-gradient(150deg, #2f6bf5, var(--blue-d)); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -3px 0 #0b3fb0, 0 4px 0 -1px #0a349a, 0 14px 30px -10px rgba(61,125,255,.9), 0 0 26px -6px rgba(61,125,255,.6); }
.btn-soft { --btn: var(--violet); color: var(--ink); background: var(--surface-2); border-color: var(--edge-strong); box-shadow: inset 0 1px 0 var(--hi), inset 0 -3px 0 var(--lip), 0 4px 0 -1px var(--under), 0 12px 26px -12px var(--glow); }
.btn-soft .ico { color: var(--cyan); }
:root[data-theme="light"] .btn-soft { color: var(--blue-d); }
:root[data-theme="light"] .btn-soft .ico { color: var(--blue); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; filter: saturate(.6); }
.link-btn { background: none; border: 0; color: var(--accent-ink); font-weight: 700; cursor: pointer; min-height: 44px; padding: 0 6px; }

/* iconos 3D (piezas de vidrio de color) */
.ico3d {
  position: relative; overflow: hidden; flex: none; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, var(--c1, var(--cyan)), var(--c2, var(--blue)));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -3px 0 rgba(0,20,90,.3), 0 3px 0 -1px rgba(10,40,140,.45), 0 10px 22px -8px var(--c2, var(--blue)), 0 0 18px -6px var(--c1, var(--cyan));
}
.ico3d::after { content: ""; position: absolute; inset: 1px 1px 50% 1px; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0)); pointer-events: none; }
.ico3d .ico { position: relative; z-index: 1; filter: drop-shadow(0 2px 2px rgba(0,20,80,.35)); }

/* ---------- navegación ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top); transition: background .4s, box-shadow .4s; }
.nav-in { display: flex; align-items: center; gap: 10px; height: 68px; max-width: 1320px; margin: 0 auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo-mark { width: 40px; height: 40px; flex: none; border-radius: 12px; box-shadow: 0 3px 0 -1px #0a1d6a, 0 8px 20px -6px rgba(61,125,255,.8), 0 0 18px -4px rgba(63,240,255,.5); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; color: #fff; text-shadow: 0 1px 3px rgba(4,12,40,.6), 0 2px 14px rgba(4,12,40,.45); min-width: 0; }
.brand-txt b { font-size: 1.05rem; letter-spacing: -.01em; }
.brand-txt span { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; white-space: nowrap; }
.nav-links { display: none; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.langs { display: flex; gap: 3px; padding: 3px; border-radius: 14px; background: rgba(8,20,60,.35); border: 1px solid rgba(255,255,255,.35); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.lang { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 44px; min-height: 40px; padding: 0 8px; border-radius: 11px; text-decoration: none; font-size: .78rem; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(4,12,40,.6); }
.lang.is-on { background: linear-gradient(150deg, #2f6bf5, var(--blue-d)); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 #0b3fb0, 0 6px 16px -6px rgba(61,125,255,.9); text-shadow: none; }
.flag { width: 20px; height: 14px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.7); }
.nav-cta { display: none; min-height: 44px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; border: 1px solid rgba(255,255,255,.45); color: #fff; background: linear-gradient(150deg, rgba(255,255,255,.26), rgba(255,255,255,.08)); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 0 rgba(0,10,40,.25); cursor: pointer; }
.icon-btn .ico { width: 21px; height: 21px; filter: drop-shadow(0 1px 2px rgba(4,12,40,.6)); }
.theme-btn .i-sun { display: none; }
:root[data-theme="light"] .theme-btn .i-sun { display: block; }
:root[data-theme="light"] .theme-btn .i-moon { display: none; }
.nav.is-solid { background: var(--nav-solid); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); box-shadow: 0 1px 0 var(--edge), 0 12px 30px -18px var(--shadow-far); }
.nav.is-solid .brand-txt, .nav.is-solid .lang:not(.is-on) { color: var(--ink); text-shadow: none; }
.nav.is-solid .langs { background: var(--surface-3); border-color: var(--edge); }
.nav.is-solid .icon-btn { color: var(--ink); background: var(--surface-2); border-color: var(--edge); }
.nav.is-solid .icon-btn .ico { filter: none; }
@media (max-width: 440px) { .lang span { display: none; } .lang { min-width: 42px; padding: 0 6px; } .nav .brand-txt span { display: none; } .brand-txt b { font-size: 1.12rem; } }
@media (max-width: 370px) { .brand-txt { display: none; } }
@media (min-width: 1080px) {
  .nav-links { display: flex; gap: 2px; margin-left: 18px; }
  .nav-links a { padding: 10px 12px; border-radius: 12px; text-decoration: none; font-size: .9rem; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(4,12,40,.6), 0 2px 12px rgba(4,12,40,.35); transition: background .3s; }
  .nav-links a:hover { background: rgba(255,255,255,.16); }
  .nav.is-solid .nav-links a { color: var(--ink); text-shadow: none; }
  .nav.is-solid .nav-links a:hover { background: var(--seg-bg); }
  .nav-cta { display: inline-flex; }
  .menu-btn { display: none; }
}

/* menú del teléfono */
.sheet { position: fixed; inset: 0; z-index: 80; background: rgba(2,6,24,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet[hidden] { display: none; }
.sheet-panel {
  position: absolute; top: calc(10px + env(safe-area-inset-top)); left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right));
  padding: 16px; border-radius: 26px; display: grid; gap: 8px;
  background: var(--surface-hi), var(--surface), var(--bg);
  border: 1px solid var(--edge-strong);
  box-shadow: 0 4px 0 -1px var(--under), 0 30px 80px -20px var(--shadow-far), 0 0 40px -10px var(--glow), inset 0 1px 0 var(--hi);
  max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); overflow-y: auto;
  animation: drop .45s var(--ease);
}
@keyframes drop { from { opacity: 0; transform: translateY(-12px) scale(.98); } }
.sheet-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 8px; }
.sheet-top .brand-txt { color: var(--ink); text-shadow: none; display: flex; }
.sheet-x { color: var(--ink); background: var(--surface-2); border-color: var(--edge); }
.sheet-x .ico { filter: none; }
.sheet-link { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 16px; border-radius: 16px; text-decoration: none; font-weight: 700; color: var(--ink); }
.sheet-link .ico { width: 20px; height: 20px; color: var(--cyan); }
:root[data-theme="light"] .sheet-link .ico { color: var(--blue); }
.sheet-cta { margin-top: 6px; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 600px; max-height: 1100px; overflow: hidden; background: #0a1a42; color: #fff; }
@media (min-width: 768px) { .hero { height: 96svh; min-height: 640px; } }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; z-index: 1; }
.slide picture, .slide img { width: 100%; height: 100%; }
.slide img { object-fit: cover; transform-origin: 60% 50%; }
.slide.is-active { opacity: 1; z-index: 3; }
.slide.is-prev { opacity: 1; z-index: 2; }
.slide.is-active img { animation: kenburns 9s linear both; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.12); } }
.slide.is-active.enter[data-fx="1"] { animation: fx-fade 1.4s var(--ease) both; }
.slide.is-active.enter[data-fx="2"] { animation: fx-slide 1.3s var(--ease) both; }
.slide.is-active.enter[data-fx="3"] { animation: fx-mask 1.5s cubic-bezier(.7,0,.2,1) both; }
.slide.is-active.enter[data-fx="4"] { animation: fx-blur 1.4s ease both; }
.slide.is-active.enter[data-fx="5"] { animation: fx-iris 1.6s cubic-bezier(.6,0,.2,1) both; }
@keyframes fx-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fx-slide { from { opacity: .2; transform: translateX(14%); } to { opacity: 1; transform: none; } }
@keyframes fx-mask { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fx-blur { from { opacity: 0; filter: blur(22px) saturate(1.3); } to { opacity: 1; filter: blur(0) saturate(1); } }
@keyframes fx-iris { from { clip-path: circle(0% at 72% 42%); } to { clip-path: circle(150% at 72% 42%); } }
@media (prefers-reduced-motion: reduce) {
  .slide.is-active.enter[data-fx] { animation: fx-fade .8s ease both !important; }
  .slide.is-active img { animation: none; }
}
.hero-copy {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; max-width: 1320px; margin: 0 auto;
  padding: 0 max(var(--gutter), env(safe-area-inset-left)) calc(26px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
}
.hero-eyebrow { color: #fff; text-shadow: 0 0 2px rgba(4,12,40,.75), 0 1px 3px rgba(4,12,40,.75), 0 3px 18px rgba(4,12,40,.6); letter-spacing: .24em; font-size: .66rem; }
.hero-title {
  margin-top: 12px; font-size: var(--text-hero); font-weight: 700; line-height: .96; letter-spacing: -.04em;
  max-width: 11ch; text-wrap: balance; overflow-wrap: normal; word-break: normal;
  text-shadow: 0 0 2px rgba(4,12,40,.6), 0 1px 3px rgba(4,12,40,.6), 0 4px 26px rgba(4,12,40,.55);
}
.hero-title .line { display: block; }
.hero-title .emo { background: none; color: var(--sun); -webkit-background-clip: initial; background-clip: initial; filter: none;
  text-shadow: 0 0 2px rgba(60,30,0,.6), 0 1px 3px rgba(40,20,0,.55), 0 4px 24px rgba(4,12,40,.5), 0 0 30px rgba(255,207,51,.45); }
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; max-width: 460px; }
.hero-actions .btn { min-height: 54px; padding-inline: .7rem; font-size: clamp(.86rem, 3.6vw, 1rem); }
.hero-ctrl { display: flex; align-items: center; gap: 4px; margin-top: 16px; }
.dot { display: grid; gap: 5px; justify-items: start; width: 48px; min-height: 44px; align-content: center; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; font-size: .72rem; font-weight: 700; text-shadow: 0 1px 3px rgba(4,12,40,.85); }
.dot i { display: block; width: 36px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.55); box-shadow: 0 1px 4px rgba(4,12,40,.5); overflow: hidden; position: relative; }
.dot i::after { content: ""; position: absolute; inset: 0; background: var(--sun); box-shadow: 0 0 8px var(--sun); transform: scaleX(0); transform-origin: left; }
.dot.is-on i::after { animation: prog var(--dur, 6s) linear forwards; }
.hero.is-paused .dot.is-on i::after { animation-play-state: paused; }
@keyframes prog { to { transform: scaleX(1); } }
.pause { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: #fff; cursor: pointer; filter: drop-shadow(0 1px 3px rgba(4,12,40,.85)); }
.pause .ico { width: 18px; height: 18px; }
@media (min-width: 768px) {
  .hero-copy { bottom: 6%; padding-bottom: 0; }
  .hero-eyebrow { font-size: .76rem; letter-spacing: .31em; }
  .hero-title { max-width: 12ch; }
  .hero-actions { gap: 12px; max-width: 480px; }
  .hero-actions .btn { min-height: 58px; font-size: 1.02rem; }
}

/* ---------- franja de precios ---------- */
.strip { padding: 28px 0 8px; }
.strip-lead { font-size: var(--text-lead); color: var(--muted); max-width: 52ch; margin-bottom: 18px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chip { display: flex; align-items: center; gap: 12px; padding: 14px; text-decoration: none; border-radius: 22px; min-width: 0; }
.chip-ico { width: 42px; height: 42px; border-radius: 13px; }
.chip-ico .ico { width: 22px; height: 22px; }
.chip:nth-child(2) .chip-ico { --c1: var(--green); --c2: #12b3c9; }
.chip:nth-child(3) .chip-ico { --c1: var(--violet); --c2: var(--blue-d); }
.chip:nth-child(4) .chip-ico { --c1: var(--sun); --c2: var(--sun-2); }
.chip-txt { display: grid; min-width: 0; line-height: 1.25; }
.chip-txt span { font-weight: 700; font-size: .95rem; }
.chip-txt b { font-size: .8rem; color: var(--accent-ink); }
.chip-txt small { font-size: .74rem; color: var(--muted); }
@media (min-width: 900px) { .chips { grid-template-columns: repeat(4, 1fr); } .chip { padding: 16px 18px; } }

/* ---------- secciones ---------- */
.sec { padding: clamp(64px, 9vw, 120px) 0 0; }
.sec, .final, .strip { overflow-x: clip; }

/* orbes 3D de fondo */
.orb { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.95) 0 5%, rgba(255,255,255,0) 26%), radial-gradient(circle at 50% 50%, var(--o1), var(--o2) 72%);
  box-shadow: inset -14px -18px 40px rgba(0,10,60,.35), inset 10px 10px 30px rgba(255,255,255,.3), 0 40px 70px -30px var(--o2), 0 0 60px -10px var(--o1);
  animation: float 9s ease-in-out infinite; }
.orb-a { --o1: #7ff6ff; --o2: #3d7dff; width: 110px; height: 110px; right: -46px; top: 18px; }
.orb-b { --o1: #ffe98a; --o2: #ff9f1c; width: 96px; height: 96px; left: -30px; top: 30%; animation-delay: -3s; }
.orb-c { --o1: #c3b8ff; --o2: #6d5cf5; width: 120px; height: 120px; right: 6%; bottom: -30px; animation-delay: -5s; }
.orb-d { --o1: #8dffd0; --o2: #10b981; width: 70px; height: 70px; left: 8%; top: 8px; animation-delay: -2s; }
@keyframes float { 50% { transform: translateY(-16px); } }
@media (min-width: 900px) { .orb-a { width: 220px; height: 220px; right: 2%; top: 60px; } .orb-b { width: 130px; height: 130px; left: 1%; } .orb-c { width: 170px; height: 170px; } }
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }

/* servicios */
.svc-grid { display: grid; gap: 22px; }
.svc { overflow: hidden; display: flex; flex-direction: column; border-radius: 30px; padding: 10px; }
.svc-media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 16px 36px -20px var(--glow); }
.svc-media picture, .svc-media img { width: 100%; height: 100%; }
.svc-media img { object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc-media img { transform: scale(1.05); }
.svc-num { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 10px; font-size: .78rem; font-weight: 700; color: #fff; background: linear-gradient(150deg, #2f6bf5, var(--blue-d)); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 3px 0 -1px #0a349a, 0 6px 14px -4px rgba(61,125,255,.8); }
.svc-body { padding: 18px 10px 12px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.svc-title { display: flex; gap: 12px; align-items: flex-start; }
.svc-ico { width: 46px; height: 46px; border-radius: 15px; --c1: #2f6bf5; --c2: #5b45d9; }
.svc-superficie .svc-ico { --c1: var(--cyan); --c2: #12a3c9; }
.svc-techo .svc-ico { --c1: var(--green); --c2: #0f9f8a; }
.svc-epoxico .svc-ico { --c1: var(--sun); --c2: var(--sun-2); }
.svc-ico .ico { width: 24px; height: 24px; }
.svc h3 { font-size: var(--text-h3); line-height: 1.18; letter-spacing: -.015em; padding-top: 2px; }
.svc-body > p { color: var(--muted); }
.inc-label { font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-ink); }
.inc { list-style: none; margin: -4px 0 0; padding: 0; display: grid; gap: 7px; }
.inc li { display: flex; gap: 9px; align-items: flex-start; font-size: .97rem; line-height: 1.45; }
.ck { width: 20px; height: 20px; flex: none; padding: 3px; border-radius: 7px; color: #032a1a; background: linear-gradient(145deg, var(--green), #12b3c9); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 0 rgba(0,90,70,.35), 0 0 12px -2px rgba(34,255,160,.55); margin-top: 1px; }
.prices { display: grid; gap: 10px; margin-top: 4px; }
.prices.two { grid-template-columns: 1fr 1fr; }
.price { padding: 12px 12px 11px; border-radius: 16px; display: grid; gap: 2px; min-width: 0; }
.price.is-premium { background: var(--prem-surface); border-color: var(--prem-edge); box-shadow: inset 0 1px 0 rgba(255,240,200,.5), inset 0 -2px 0 rgba(80,40,0,.3), 0 3px 0 -1px rgba(200,130,20,.55), 0 10px 22px -12px var(--prem-glow); }
.p-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.price.is-premium .p-label { color: var(--premium-ink); }
.price strong { font-size: clamp(1.1rem, 4.4vw, 1.45rem); letter-spacing: -.02em; line-height: 1.15; }
.price strong small { font-size: .62em; font-weight: 700; margin-left: 2px; color: var(--muted); }
.usd { font-size: .8rem; color: var(--muted); }
.svc .btn { margin-top: auto; align-self: stretch; }
@media (min-width: 760px) { .svc-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (min-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(12, 1fr); }
  .svc-adoquin, .svc-epoxico { grid-column: span 7; }
  .svc-superficie, .svc-techo { grid-column: span 5; }
  .svc-adoquin .svc-media, .svc-epoxico .svc-media { aspect-ratio: 16 / 9; }
}

/* paquetes */
.pkg-grid { display: grid; gap: 22px; max-width: 980px; }
.pkg { padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 12px; border-radius: 32px; }
.pkg h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.025em; }
.pkg-tag { font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-ink); }
.pkg-price { display: flex; align-items: baseline; gap: 4px; }
.pkg-price strong { font-size: clamp(2.4rem, 7vw, 3.4rem); letter-spacing: -.04em; line-height: 1; background: var(--price-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; filter: drop-shadow(0 3px 0 rgba(60,70,200,.3)) drop-shadow(0 10px 16px rgba(61,125,255,.35)); }
.pkg-price span { font-weight: 700; color: var(--muted); }
.pkg .inc { margin: 6px 0 8px; }
.pkg .btn { margin-top: auto; }
.pkg-premium, .pkg-premium:hover { background: var(--surface-hi), var(--prem-surface); border-color: var(--prem-edge); }
.pkg-premium { box-shadow: 0 1px 1px rgba(0,0,0,.12), 0 3px 0 -1px rgba(200,130,20,.6), 0 14px 32px -10px var(--prem-glow), 0 48px 96px -34px var(--shadow-far), inset 0 1px 0 rgba(255,240,200,.55), inset 0 -3px 0 rgba(80,40,0,.3), 0 0 40px -12px rgba(255,207,51,.45); }
.pkg-premium .pkg-tag { color: var(--premium-ink); }
.pkg-premium .pkg-price strong { background: linear-gradient(100deg, #ffe066, var(--sun-2)); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 3px 0 rgba(160,90,0,.4)) drop-shadow(0 10px 16px rgba(255,170,30,.4)); }
:root[data-theme="light"] .pkg-premium .pkg-price strong { background: linear-gradient(100deg, #ff7a00, #d99000); -webkit-background-clip: text; background-clip: text; }
.pkg-flag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: #2b1600; background: linear-gradient(150deg, #ffe066, var(--sun)); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 0 #e08a00, 0 0 20px -4px rgba(255,207,51,.7); }
.pkg-flag .ico { width: 15px; height: 15px; }
@media (min-width: 760px) { .pkg-grid { grid-template-columns: 1fr 1fr; gap: 26px; } .pkg { padding: 34px 30px 30px; } }

/* calculadora */
.calc { display: grid; gap: 18px; padding: 16px; border-radius: 34px; }
.calc-form { display: grid; gap: 14px; min-width: 0; }
.calc-step { margin: 0; padding: 16px; border-radius: 24px; background: var(--surface-3); border: 1px solid var(--edge); box-shadow: inset 0 1px 0 var(--hi), inset 0 -2px 0 var(--lip), 0 10px 26px -18px var(--glow); min-width: 0; }
.calc-step[hidden] { display: none; }
.calc-step legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.02rem; margin-bottom: 12px; padding: 0; }
.calc-step legend + * { clear: both; }
.step-n { width: 30px; height: 30px; border-radius: 10px; font-size: .85rem; --c1: #2f6bf5; --c2: #5b45d9; }
.svc-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick { position: relative; min-width: 0; }
.pick input, .seg input, .q-city input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick-in { display: grid; gap: 4px; justify-items: start; min-height: 96px; padding: 12px; border-radius: 18px; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s, background .3s; }
.pick-in .ico { width: 24px; height: 24px; color: var(--cyan); }
:root[data-theme="light"] .pick-in .ico { color: var(--blue); }
.pick-name { font-weight: 700; line-height: 1.2; }
.pick-price { font-size: .78rem; color: var(--muted); }
.pick input:checked + .pick-in { background: linear-gradient(150deg, #2f6bf5, var(--blue-d)); color: #fff; border-color: rgba(255,255,255,.55); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -3px 0 #0b3fb0, 0 4px 0 -1px #0a349a, 0 16px 30px -12px rgba(61,125,255,.9), 0 0 24px -6px rgba(63,240,255,.5); }
.pick input:checked + .pick-in .ico, .pick input:checked + .pick-in .pick-price { color: #fff; }
.pick input:focus-visible + .pick-in, .seg input:focus-visible + span, .q-city input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 18px; background: var(--seg-bg); box-shadow: inset 0 2px 6px rgba(0,0,0,.25), inset 0 -1px 0 rgba(255,255,255,.06); }
:root[data-theme="light"] .seg { box-shadow: inset 0 1px 3px rgba(61,125,255,.16); }
.seg label { position: relative; min-width: 0; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; text-align: center; min-height: 48px; padding: 6px 8px; border-radius: 13px; font-weight: 700; font-size: .92rem; line-height: 1.2; cursor: pointer; color: var(--muted); transition: background .3s, color .3s, box-shadow .3s; }
.seg span b { font-size: .8rem; font-weight: 700; }
.seg input:checked + span { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 1px 0 var(--hi), inset 0 -2px 0 var(--lip), 0 3px 0 -1px var(--under), 0 8px 16px -8px var(--glow); }
#pkg-seg label:last-child input:checked + span { background: linear-gradient(150deg, #ffe066, var(--sun)); color: #2b1600; box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 0 #e08a00, 0 3px 0 -1px #c97400, 0 0 20px -6px rgba(255,207,51,.7); }
.seg-sm, .seg-unit { margin-bottom: 10px; }
.seg-unit span { min-height: 44px; font-size: .86rem; }
.pkg-desc { margin-top: 10px; font-size: .92rem; color: var(--muted); }
.fields { display: grid; gap: 10px; }
.fields.two { grid-template-columns: 1fr 1fr; }
.fields[hidden] { display: none; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-weight: 700; font-size: .9rem; }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .chat-form textarea {
  width: 100%; border-radius: 16px; background: var(--field-bg); color: var(--ink);
  border: 1.5px solid var(--field-edge); outline: none;
  box-shadow: inset 0 3px 8px rgba(0,0,0,.28), 0 1px 0 rgba(255,255,255,.06);
  transition: border-color .25s, box-shadow .25s;
}
:root[data-theme="light"] .field input, :root[data-theme="light"] .chat-form textarea { box-shadow: inset 0 2px 6px rgba(61,125,255,.1), 0 1px 0 #fff; }
.field input { min-height: 56px; padding: 0 16px; font-size: 1.15rem; font-weight: 700; }
.field input:focus, .chat-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(63,240,255,.18), 0 0 22px -4px rgba(63,240,255,.45), inset 0 3px 8px rgba(0,0,0,.2); }
:root[data-theme="light"] .field input:focus, :root[data-theme="light"] .chat-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(61,125,255,.18); }
.quick-l { margin: 14px 0 8px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.preset { min-height: 44px; padding: 6px 12px; border-radius: 13px; font-size: .86rem; font-weight: 400; cursor: pointer; line-height: 1.25; color: var(--ink); text-align: left; }
.preset b { color: var(--accent-ink); }
.preset:hover { transform: translateY(-1px); }

.calc-out { display: grid; gap: 14px; align-content: start; min-width: 0; }
.line-card { padding: 20px; border-radius: 26px; color: #fff; display: grid; gap: 4px;
  background: radial-gradient(70% 70% at 100% 0%, rgba(63,240,255,.09) 0%, transparent 60%), radial-gradient(70% 70% at 0% 100%, rgba(193,123,255,.1), transparent 60%), linear-gradient(150deg, #2159e2, #4a33d6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -4px 0 rgba(20,20,120,.4), 0 5px 0 -1px #2a20a0, 0 26px 50px -20px rgba(61,125,255,.8), 0 0 40px -10px rgba(139,123,255,.6); }
.lc-label { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; opacity: .92; }
.lc-name { font-weight: 700; font-size: 1rem; }
.lc-price { font-size: clamp(2.2rem, 9vw, 3.1rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin-top: 6px; text-shadow: 0 2px 0 rgba(20,20,120,.35), 0 8px 20px rgba(10,10,80,.35); }
.lc-usd { font-size: .95rem; opacity: .95; }
.lc-alt { margin-top: 6px; padding: 9px 12px; border-radius: 12px; font-size: .9rem; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); }
.line-card .btn { margin-top: 12px; color: #1b2a7a; background: linear-gradient(150deg, #ffffff, #dfe8ff); border-color: #fff; box-shadow: inset 0 1px 0 #fff, inset 0 -3px 0 rgba(61,125,255,.25), 0 4px 0 -1px rgba(20,20,110,.45), 0 12px 24px -10px rgba(10,20,80,.5); }
.line-card .btn[disabled] { opacity: .6; }
.quote { padding: 18px; border-radius: 26px; background: var(--surface-3); border: 1px solid var(--edge); box-shadow: inset 0 1px 0 var(--hi), inset 0 -2px 0 var(--lip), 0 14px 30px -18px var(--glow); display: grid; gap: 12px; }
.q-head { display: flex; align-items: center; justify-content: space-between; }
.q-head h3 { font-size: 1.1rem; }
.q-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.q-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 10px 6px 10px 12px; border-radius: 15px; }
.q-list .q-n { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.q-list .q-d { grid-column: 1; font-size: .82rem; color: var(--muted); }
.q-list .q-p { grid-column: 1; font-weight: 700; font-size: .95rem; }
.q-list .q-x { grid-column: 2; grid-row: 1 / span 3; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--seg-bg); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.q-list .q-x .ico { width: 18px; height: 18px; }
.q-empty { color: var(--muted); font-size: .95rem; }
.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tips li { display: flex; gap: 8px; padding: 10px 12px; border-radius: 14px; font-size: .9rem; line-height: 1.45; background: var(--tip-bg); color: var(--tip-ink); border: 1px solid rgba(255,207,51,.3); box-shadow: inset 0 -2px 0 rgba(80,40,0,.2); }
.tips .ico { width: 18px; height: 18px; flex: none; color: var(--sun); margin-top: 1px; }
:root[data-theme="light"] .tips .ico { color: var(--sun-2); }
.q-city { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.q-city > span { font-weight: 700; font-size: .9rem; margin-right: 2px; }
.q-city label { position: relative; }
.q-city label span { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 12px; border-radius: 13px; font-size: .88rem; font-weight: 700; cursor: pointer; color: var(--muted); }
.q-city label span .ico { width: 16px; height: 16px; }
.q-city input:checked + span { color: #fff; background: linear-gradient(150deg, #2f6bf5, var(--blue-d)); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 0 #0b3fb0, 0 3px 0 -1px #0a349a, 0 0 18px -4px rgba(63,240,255,.6); }
.q-total { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; padding: 14px 16px; border-radius: 18px; color: #fff;
  background: radial-gradient(90% 120% at 100% 0%, rgba(139,123,255,.45), transparent 60%), linear-gradient(150deg, #0d1e56, #152f86);
  border: 1px solid rgba(140,180,255,.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -3px 0 rgba(0,0,40,.45), 0 4px 0 -1px #050f33, 0 18px 32px -16px rgba(5,14,50,.9), 0 0 30px -12px rgba(61,125,255,.6); }
.q-total span { font-weight: 700; font-size: .9rem; }
.q-total strong { font-size: clamp(1.4rem, 6vw, 1.9rem); letter-spacing: -.03em; text-align: right; color: var(--sun); text-shadow: 0 0 18px rgba(255,207,51,.45); }
.q-total small { grid-column: 2; text-align: right; opacity: .9; font-size: .85rem; }
.q-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.q-actions .btn { padding-inline: .6rem; font-size: .92rem; }
.q-note { font-size: .82rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 440px) { .q-actions { grid-template-columns: 1fr; } .presets { display: grid; grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) {
  .calc { grid-template-columns: 1.15fr .85fr; gap: 22px; padding: 22px; }
  .svc-pick { grid-template-columns: repeat(4, 1fr); }
  .calc-out { position: sticky; top: 90px; }
}

/* asistente */
.ai-grid { display: grid; gap: 28px; }
.ai-points { list-style: none; padding: 0; margin: -10px 0 0; display: grid; gap: 10px; }
.ai-points li { display: flex; gap: 10px; font-weight: 700; }
.chat { display: flex; flex-direction: column; border-radius: 32px; overflow: hidden; height: min(620px, 78svh); min-height: 460px; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: #fff; background: radial-gradient(70% 140% at 100% 0%, rgba(63,240,255,.08), transparent 60%), linear-gradient(150deg, #2a63ec, #5b3fe6); box-shadow: inset 0 -1px 0 rgba(255,255,255,.2), 0 6px 20px -8px rgba(61,125,255,.7); position: relative; z-index: 1; }
.chat-av { width: 42px; height: 42px; border-radius: 14px; --c1: #ffe066; --c2: var(--sun-2); }
.chat-av .ico { width: 22px; height: 22px; color: #3a1f00; filter: none; }
.chat-t { font-weight: 700; }
.chat-s { font-size: .82rem; opacity: .95; display: flex; align-items: center; gap: 6px; }
.chat-s i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 18px; font-size: .98rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.bot { align-self: flex-start; border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; color: #fff; background: linear-gradient(150deg, #2f6bf5, var(--blue-d)); border-bottom-right-radius: 6px; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 3px 0 -1px #0a349a, 0 10px 20px -10px rgba(61,125,255,.9); }
.msg.err { background: var(--tip-bg); color: var(--tip-ink); border-color: rgba(255,207,51,.35); }
.msg .btn { margin-top: 10px; min-height: 44px; font-size: .9rem; }
.msg.typing { color: var(--muted); font-style: italic; }
.chat-sug { display: flex; gap: 8px; padding: 0 16px 10px; flex-wrap: wrap; }
.chat-sug[hidden] { display: none; }
.sug { min-height: 40px; padding: 6px 12px; border-radius: 12px; font-size: .84rem; line-height: 1.25; text-align: left; color: var(--accent-ink); font-weight: 700; cursor: pointer; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px 6px; border-top: 1px solid var(--edge); background: var(--surface-3); }
.chat-form textarea { flex: 1; min-width: 0; min-height: 52px; max-height: 140px; resize: none; padding: 14px; font-size: 16px; line-height: 1.4; }
.chat-send { flex: none; width: 52px; height: 52px; border-radius: 16px; border: 1px solid rgba(255,255,255,.6); color: #2b1600; background: linear-gradient(150deg, #ffe066, var(--sun)); box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -3px 0 #e08a00, 0 4px 0 -1px #c97400, 0 0 22px -6px rgba(255,207,51,.7); display: grid; place-items: center; cursor: pointer; }
.chat-send .ico { width: 22px; height: 22px; }
.chat-send[disabled] { opacity: .55; }
.chat-note { padding: 0 16px 12px; font-size: .74rem; color: var(--muted); background: var(--surface-3); }
@media (min-width: 980px) { .ai-grid { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 48px; } }

.ai-fab { position: fixed; z-index: 40; right: max(14px, env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px 0 14px; border-radius: 18px; border: 1px solid rgba(255,255,255,.5); color: #fff; font-weight: 700; font-size: .95rem; background: radial-gradient(60% 140% at 0% 0%, rgba(63,240,255,.07), transparent 55%), linear-gradient(150deg, rgba(33,89,226,.98), rgba(91,63,230,.96)); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -3px 0 rgba(20,20,120,.4), 0 4px 0 -1px #2a20a0, 0 16px 34px -12px rgba(61,125,255,.85), 0 0 30px -8px rgba(139,123,255,.7); cursor: pointer; transition: transform .4s var(--ease), opacity .4s; }
.ai-fab .ico { width: 20px; height: 20px; color: var(--sun); filter: drop-shadow(0 0 6px rgba(255,207,51,.8)); }
.ai-fab.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }

/* pasos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step { padding: 22px; border-radius: 28px; display: grid; gap: 8px; }
.step-big { font-size: 3rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; color: #5b92ff;
  text-shadow: 0 1px 0 #4f86f5, 0 2px 0 #4476e6, 0 3px 0 #3966d2, 0 4px 0 #2f57bd, 0 5px 0 #2548a5, 0 14px 22px rgba(61,125,255,.5), 0 0 30px rgba(63,240,255,.35); }
.step:nth-child(2) .step-big { color: #45e7f5; text-shadow: 0 1px 0 #34d3e6, 0 2px 0 #26bfd4, 0 3px 0 #1aaac0, 0 4px 0 #1296aa, 0 5px 0 #0c8294, 0 14px 22px rgba(63,240,255,.45); }
.step:nth-child(3) .step-big { color: #a193ff; text-shadow: 0 1px 0 #9384fa, 0 2px 0 #8474ef, 0 3px 0 #7563e2, 0 4px 0 #6653d2, 0 5px 0 #5843bf, 0 14px 22px rgba(139,123,255,.5); }
.step:nth-child(4) .step-big { color: #ffd84d; text-shadow: 0 1px 0 #f5c93a, 0 2px 0 #eab52a, 0 3px 0 #dda01c, 0 4px 0 #cf8b10, 0 5px 0 #bf7707, 0 14px 22px rgba(255,190,40,.45); }
.step h3 { font-size: var(--text-h3); margin-top: 6px; }
.step p { color: var(--muted); }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* galería */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { margin: 0; padding: 7px; border-radius: 24px; overflow: hidden; }
.tile picture, .tile img { width: 100%; height: 100%; }
.tile img { object-fit: cover; border-radius: 17px; aspect-ratio: 1; box-shadow: 0 12px 24px -16px var(--glow); }
.tile figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.t2 img, .t6 img { aspect-ratio: 3 / 4; }
.gal-note { margin-top: 12px; font-size: .82rem; color: var(--muted); }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
  .tile img { aspect-ratio: auto; }
  .t1 { grid-row: span 2; grid-column: span 2; }
  .t2, .t6 { grid-row: span 2; }
  .t7 { grid-column: span 2; }
}

/* zona */
.zone-grid { display: grid; gap: 24px; }
.cities { display: grid; gap: 12px; }
.city { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 24px; text-decoration: none; }
.city > span:nth-child(2) { display: grid; flex: 1; line-height: 1.3; }
.city b { font-size: 1.1rem; }
.city small { color: var(--accent-ink); font-weight: 700; font-size: .85rem; }
.city > .ico { width: 20px; height: 20px; color: var(--cyan); }
:root[data-theme="light"] .city > .ico { color: var(--blue); }
.city-ico { width: 46px; height: 46px; border-radius: 15px; }
.city:nth-child(2) .city-ico { --c1: var(--violet); --c2: var(--blue-d); }
.city-ico .ico { width: 24px; height: 24px; }
.map { padding: 8px; border-radius: 30px; overflow: hidden; min-height: 320px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: 22px; filter: var(--map-filter); }
@media (min-width: 980px) { .zone-grid { grid-template-columns: .95fr 1.05fr; align-items: stretch; gap: 40px; } .map { min-height: 460px; } }

/* preguntas */
.faq-wrap { max-width: 980px; }
.faqs { display: grid; gap: 12px; }
.faq { border-radius: 24px; padding: 0; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px; min-height: 60px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq h3 { font-size: 1.04rem; line-height: 1.35; letter-spacing: -.01em; }
.plus { flex: none; width: 34px; height: 34px; border-radius: 11px; position: relative; background: linear-gradient(145deg, var(--blue), var(--violet-d)); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(20,20,120,.4), 0 3px 0 -1px #2a20a0, 0 0 16px -4px rgba(139,123,255,.7); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.4px; border-radius: 2px; background: #fff; transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq p { padding: 0 18px 20px; color: var(--muted); }

/* final */
.final { padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 8vw, 96px); }
.final-card { padding: clamp(28px, 5vw, 60px); border-radius: 38px; overflow: hidden;
  background: radial-gradient(60% 80% at 100% 0%, rgba(63,240,255,.1), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(255,207,51,.09), transparent 60%), var(--surface-hi), var(--surface); }
.final-card h2, .final-card h1 { font-size: var(--text-h2); line-height: 1.04; letter-spacing: -.03em; max-width: 14ch; text-wrap: balance; text-shadow: 0 12px 34px var(--glow); }
.final-actions { display: grid; gap: 10px; margin-top: 26px; max-width: 560px; }
@media (min-width: 560px) { .final-actions { grid-template-columns: 1fr 1fr; } }

/* pie */
.foot { padding: 48px 0 calc(90px + env(safe-area-inset-bottom));
  background: radial-gradient(700px 400px at 10% 0%, rgba(63,240,255,.12), transparent 60%), radial-gradient(700px 500px at 100% 100%, rgba(139,123,255,.16), transparent 60%), var(--surface-3);
  border-top: 1px solid var(--edge); }
.foot-grid { display: grid; gap: 28px; }
.foot .brand-txt { color: var(--ink); text-shadow: none; }
.foot p { color: var(--muted); margin-top: 12px; max-width: 36ch; }
.foot .foot-h { font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.foot li { display: flex; align-items: center; gap: 8px; color: var(--muted); min-height: 36px; }
.foot li a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-height: 44px; font-weight: 700; color: var(--ink); }
.foot .ico { width: 18px; height: 18px; color: var(--cyan); flex: none; }
:root[data-theme="light"] .foot .ico { color: var(--blue); }
.foot-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--edge); display: grid; gap: 6px; }
.foot-bottom p { margin: 0; font-size: .86rem; }
.foot .made { font-weight: 700; color: var(--accent-ink); }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } .foot-bottom { grid-template-columns: 1fr auto; } }

/* 404 */
.nf-main { min-height: 100svh; display: grid; place-items: center; padding-block: 40px; }

/* aparición al hacer scroll (translate, para no pisar el transform del hover/inclinación) */
.reveal { opacity: 0; translate: 0 14px; transition: opacity .7s var(--ease), translate .7s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }
.reveal.is-in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; translate: none; transition: none; } html { scroll-behavior: auto; } }
.btn-soft::after { opacity: .45; }
/* números grandes en modo claro: tonos más profundos para leerse sobre fondo claro */
:root[data-theme="light"] .step-big { color: #1c53e6; text-shadow: 0 1px 0 #1747c9, 0 2px 0 #133db0, 0 3px 0 #103497, 0 4px 0 #0d2b7e, 0 5px 0 #0a2266, 0 14px 22px rgba(61,125,255,.35); }
:root[data-theme="light"] .step:nth-child(2) .step-big { color: #0891b2; text-shadow: 0 1px 0 #0782a0, 0 2px 0 #06738e, 0 3px 0 #05647c, 0 4px 0 #04556a, 0 5px 0 #034658, 0 14px 22px rgba(8,145,178,.35); }
:root[data-theme="light"] .step:nth-child(3) .step-big { color: #6d5cf5; text-shadow: 0 1px 0 #6050dd, 0 2px 0 #5445c5, 0 3px 0 #483aad, 0 4px 0 #3c2f95, 0 5px 0 #30247d, 0 14px 22px rgba(109,92,245,.35); }
:root[data-theme="light"] .step:nth-child(4) .step-big { color: #c2410c; text-shadow: 0 1px 0 #ad3a0b, 0 2px 0 #98330a, 0 3px 0 #832c08, 0 4px 0 #6e2507, 0 5px 0 #591e06, 0 14px 22px rgba(194,65,12,.3); }

.final-card .lead { color: var(--ink); opacity: .9; }

/* ===== ronda UI 26-sep: móvil chico, escritorio, chat, botón flotante, movimiento reducido ===== */
/* 1) chips y selector: una columna en pantallas chicas; nunca se salen */
.chip-txt, .pick-in { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 419px) { .chips { grid-template-columns: 1fr; } }
@media (max-width: 359px) { .svc-pick { grid-template-columns: 1fr; } .pick-in { min-height: 72px; } }
/* 2) escritorio: los pasos no se estiran y el resumen sí queda pegado al hacer scroll */
.calc { align-items: start; }
.calc-form { align-content: start; }
/* 3) chat: el registro tiene su propia altura; cabe en iPhone SE y 320×568 */
.chat { height: auto; min-height: 0; }
.chat-log { flex: none; height: clamp(200px, 38svh, 420px); }
@media (max-height: 700px) { .chat-form textarea { max-height: 96px; } .chat-sug { max-height: 96px; overflow-y: auto; } }
/* 4) botón flotante: círculo en el teléfono y fuera de la zona de botones (ver app.js) */
@media (max-width: 767px) {
  .ai-fab { width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
  .ai-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ai-fab .ico { width: 24px; height: 24px; }
}
/* 6) título del hero legible también sobre fotos claras: sombra más densa, pegada a las letras (no es capa sobre la foto) */
.hero-title { text-shadow: 0 0 3px rgba(4,12,40,.9), 0 2px 4px rgba(4,12,40,.8), 0 6px 30px rgba(4,12,40,.7); }
.hero-title .emo { text-shadow: 0 0 3px rgba(40,20,0,.9), 0 2px 4px rgba(40,20,0,.75), 0 6px 30px rgba(4,12,40,.7), 0 0 30px rgba(255,207,51,.4); }
.hero-eyebrow { text-shadow: 0 0 3px rgba(4,12,40,.9), 0 1px 3px rgba(4,12,40,.85), 0 3px 18px rgba(4,12,40,.7); }
/* 7) movimiento reducido: nada sigue animándose */
@media (prefers-reduced-motion: reduce) { .dot.is-on i::after { animation: none; transform: scaleX(1); } .sheet-panel { animation: none; } }
/* 8) áreas táctiles */
.lang { min-height: 44px; min-width: 44px; }
.sug { min-height: 44px; }
/* 9) contraste: botón inactivo legible, numeritos de servicio en azul sólido */
.btn.is-disabled, .btn[disabled] { opacity: .72; filter: saturate(.35); }
.svc-num { background: #1c53e6; font-size: .84rem; }
