/* Glaciar — demo de cotizaciones (Fuerte y Claro)
   Identidad: hoja técnica fría. Tinta azul noche, hielo, y un naranja
   "termostato" reservado para lo urgente. */

:root {
  --ink: #0b1e2d;
  --ink-2: #163a52;
  --ink-soft: #3d5566;
  --paper: #f6f9fa;
  --white: #ffffff;
  --ice: #dff0f5;
  --frost: #b9e2ec;
  --cool: #7fd4ea;
  --cool-strong: #0e6f8a;   /* texto azul sobre blanco: 5.6:1 */
  --heat: #ff8a5c;
  --heat-strong: #b8380f;   /* blanco sobre esto: 5.4:1 */
  --wa: #128c4a;            /* blanco sobre esto: 4.6:1 */
  --line: #d3e2e8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 30, 45, .06), 0 10px 30px -12px rgba(11, 30, 45, .25);
  --bar-h: 40px;
  --f-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 72px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding-top: var(--bar-h);
  font: 400 1rem/1.6 var(--f-body);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cool-strong); outline-offset: 3px; border-radius: 6px; }
.sec-wiz :focus-visible, .sec-ink :focus-visible, .hero :focus-visible, .urgent :focus-visible, .foot :focus-visible, .demo-bar :focus-visible { outline-color: var(--cool); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: calc(var(--bar-h) + 8px); }

/* ---------- Barra de demo ---------- */
.demo-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--bar-h);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 0 12px; background: #fff4d6; color: #3b2a00;
  font-size: .8rem; border-bottom: 1px solid #ecd9a4;
}
.demo-bar p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-bar a { flex: none; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #3b2a00; color: #fff4d6; text-decoration: none; }
.demo-bar :focus-visible { outline-color: #3b2a00; }
@media (max-width: 520px) {
  :root { --bar-h: 50px; }
  .demo-bar { font-size: .76rem; gap: 10px; justify-content: space-between; }
  .demo-bar p { white-space: normal; line-height: 1.25; }
  .demo-bar p span[aria-hidden] { display: none; }
  .demo-bar p strong { display: block; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 20px; border-radius: 999px;
  border: 2px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); }
.btn-ice { background: var(--cool); color: var(--ink); }
.btn-ice:hover { background: #a6e3f2; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--white); }
.btn-line { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); }
.btn-heat { background: var(--heat-strong); color: var(--white); }
.btn-heat:hover { background: #9c2f0b; }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: #0e7a40; }
.btn[hidden] { display: none; }

/* ---------- Encabezado ---------- */
.site { position: sticky; top: var(--bar-h); z-index: 50; background: rgba(11, 30, 45, .94); backdrop-filter: blur(10px); color: var(--white); }
.site-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 36px; height: 36px; }
.logo svg rect { fill: var(--cool); }
.logo svg path { stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.logo strong { display: block; font-family: var(--f-display); font-size: 1.25rem; letter-spacing: -.02em; line-height: 1; }
.logo small { display: block; font-size: .7rem; opacity: .75; margin-top: 3px; }
.site nav { display: none; gap: 26px; }
.site nav a { text-decoration: none; font-weight: 500; opacity: .85; }
.site nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.site .btn-ink { background: var(--cool); color: var(--ink); }
@media (min-width: 860px) { .site nav { display: flex; } }
@media (max-width: 380px) { .logo small { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(127, 212, 234, .22), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, #0f2b40 100%);
  padding: 40px 0 56px;
}
.hero::after { /* rejilla técnica */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero-in { position: relative; z-index: 1; display: grid; gap: 36px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--frost); padding: 8px 12px; border: 1px solid rgba(185, 226, 236, .3); border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5be38f; box-shadow: 0 0 0 4px rgba(91, 227, 143, .18); }
.hero h1 { font-size: clamp(2.1rem, 8.4vw, 4.1rem); font-weight: 800; margin: 18px 0 16px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--cool); }
.lead { font-size: 1.08rem; color: #cfe3ea; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cta-row .btn { flex: 1 1 200px; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; font-size: .95rem; color: #cfe3ea; }
.hero-points li { display: flex; gap: 10px; align-items: center; }
.hero-points li::before { content: ''; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--cool) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230b1e2d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

.hero-art { position: relative; max-width: 460px; width: 100%; margin: 0 auto; }
.unit { width: 100%; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); }
.flow path { stroke-dasharray: 18 14; animation: flow 1.6s linear infinite; }
.flow path:nth-child(2) { animation-delay: -.4s; } .flow path:nth-child(3) { animation-delay: -.8s; } .flow path:nth-child(4) { animation-delay: -1.2s; }
@keyframes flow { to { stroke-dashoffset: -64; } }
.thermo {
  position: absolute; right: 4%; bottom: 2%; width: min(210px, 52%);
  background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow);
}
.thermo-lbl { font: 600 .7rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.thermo-val { display: flex; align-items: baseline; gap: 8px; font-family: var(--f-display); font-weight: 800; margin-top: 6px; }
.t-from { font-size: 1.2rem; color: var(--heat-strong); text-decoration: line-through; text-decoration-thickness: 2px; }
.t-arrow { color: var(--ink-soft); }
.t-to { font-size: 2.4rem; color: var(--cool-strong); letter-spacing: -.03em; }
.thermo-bar { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--cool) 0%, #e9f0f2 0%); margin-top: 8px; overflow: hidden; }
.thermo-bar span { display: block; height: 100%; width: 72%; background: linear-gradient(90deg, var(--cool-strong), var(--cool)); border-radius: inherit; animation: cool 3s ease-out both; }
@keyframes cool { from { width: 8%; } to { width: 72%; } }

@media (min-width: 900px) {
  .hero { padding: 72px 0 88px; }
  .hero-in { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
  .cta-row .btn { flex: 0 0 auto; }
}

/* ---------- Secciones ---------- */
.sec { padding: 64px 0; }
.sec-tint { background: var(--ice); }
.sec-ink { background: var(--ink); color: var(--white); }
.sec-head { max-width: 640px; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(1.8rem, 6vw, 2.8rem); font-weight: 800; text-wrap: balance; }
.sec-head > p:not(.kicker) { margin-top: 12px; color: var(--ink-soft); font-size: 1.05rem; }
.sec-head-light > p:not(.kicker) { color: #cfe3ea; }
.kicker { font: 600 .78rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--cool-strong); margin-bottom: 14px; }
.sec-head-light .kicker, .sec-ink .kicker { color: var(--cool); }
.kicker-heat { color: var(--heat) !important; }
.note-demo { display: inline-block; font-size: .9rem !important; padding: 6px 12px; border-radius: 8px; background: #fff4d6; color: #3b2a00 !important; }
@media (min-width: 900px) { .sec { padding: 96px 0; } }

/* ---------- Servicios ---------- */
.svc-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.svc {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.svc:hover { border-color: var(--frost); box-shadow: var(--shadow); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.svc-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ice); color: var(--cool-strong); }
.svc-ico .ico { width: 26px; height: 26px; }
.svc-price { font: 600 1.15rem/1.1 var(--f-mono); text-align: right; color: var(--ink); }
.svc-price span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.svc h3 { font-size: 1.3rem; font-weight: 700; }
.svc-short { color: var(--ink-soft); }
.svc-list { list-style: none; padding: 12px 0 0; margin: 4px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; font-size: .95rem; }
.svc-list li { display: flex; gap: 10px; }
.svc-list li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: .6em; border-radius: 2px; background: var(--cool-strong); transform: rotate(45deg); }
.svc-note { font-size: .85rem; color: var(--ink-soft); font-style: italic; }
.svc .btn { margin-top: auto; align-self: stretch; }

/* ---------- Asistente ---------- */
.sec-wiz { background: linear-gradient(180deg, var(--ink) 0%, #0f2b40 100%); color: var(--white); }
.wiz-wrap { max-width: 760px; }
.wizard {
  --heatmix: 1;
  background: var(--white); color: var(--ink);
  border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(11, 30, 45, .5), 0 0 0 1px var(--line);
  padding: 20px 16px 16px;
}
@media (min-width: 640px) { .wizard { padding: 32px 32px 24px; } }
.wz-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 32px; }
.wz-count { font: 600 .78rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.wz-live { font-size: .85rem; background: var(--ice); padding: 6px 12px; border-radius: 999px; }
.wz-live span { color: var(--ink-soft); }
.wz-live strong { font-family: var(--f-mono); font-weight: 600; }
.wz-progress { display: flex; align-items: center; gap: 12px; margin: 12px 0 18px; }
.wz-track { flex: 1; height: 8px; border-radius: 8px; background: #edf3f5; overflow: hidden; }
.wz-fill {
  display: block; height: 100%; border-radius: 8px; clip-path: inset(0 86% 0 0 round 8px);
  background: linear-gradient(90deg, var(--heat-strong), var(--heat) 30%, var(--cool) 75%, var(--cool-strong));
  background-size: 100% 100%;
  transition: clip-path .45s cubic-bezier(.2, .8, .2, 1);
}
.wz-temp {
  font: 700 1.05rem/1 var(--f-mono); min-width: 3ch; text-align: right;
  color: color-mix(in srgb, var(--heat-strong) calc(var(--heatmix) * 100%), var(--cool-strong));
  transition: color .4s ease;
}
.wz-title { font-size: clamp(1.5rem, 5.5vw, 2rem); font-weight: 800; margin-bottom: 18px; }
.wz-title:focus { outline: none; }
.wz-title:focus-visible { outline: 3px solid var(--cool-strong); }

.wz-body { min-height: 220px; }
.wz-body.enter { animation: stepIn .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.q { margin-bottom: 22px; }
.q legend, .q-label { font-weight: 700; font-size: 1.02rem; margin-bottom: 10px; padding: 0; }
.q-help { font-size: .9rem; color: var(--ink-soft); margin-top: 10px; }
.q-help.strong { background: #fff1ea; color: #7a2508; padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 18px; }

.opts { display: grid; gap: 10px; }
@media (min-width: 560px) { .opts { grid-template-columns: repeat(2, 1fr); } }
.opts-svc { grid-template-columns: 1fr; }
@media (min-width: 560px) { .opts-svc { grid-template-columns: repeat(2, 1fr); } }
.opts-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opts-days { grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (min-width: 560px) { .opts-days { grid-template-columns: repeat(8, 1fr); } }

.opt { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt-box {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 60px; padding: 12px 16px 12px 48px; border-radius: var(--radius-sm);
  border: 2px solid var(--line); background: var(--white);
  transition: border-color .15s ease, background-color .15s ease, transform .12s ease;
  position: relative;
}
.opt-box::before { /* radio */
  content: ''; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  border-radius: 50%; border: 2px solid #9fb6c2; background: var(--white); transition: all .15s ease;
}
.opt-label { font-weight: 600; display: flex; align-items: center; gap: 10px; }
.opt-hint { font-size: .85rem; color: var(--ink-soft); }
.opt:hover .opt-box { border-color: var(--frost); }
.opt:active .opt-box { transform: scale(.985); }
.opt input:checked + .opt-box { border-color: var(--cool-strong); background: #eef8fb; }
.opt input:checked + .opt-box::before { border-color: var(--cool-strong); background: var(--cool-strong); box-shadow: inset 0 0 0 4px var(--white); }
.opt input:focus-visible + .opt-box { outline: 3px solid var(--cool-strong); outline-offset: 2px; }

.opt-svc .opt-box { min-height: 76px; padding-left: 16px; }
.opt-svc .opt-box::before { display: none; }
.opt-svc .opt-label .ico { width: 32px; height: 32px; padding: 6px; border-radius: 10px; background: var(--ice); color: var(--cool-strong); box-sizing: content-box; }
.opt-svc .opt-hint { padding-left: 54px; font-family: var(--f-mono); font-size: .8rem; }
.opt-svc input:checked + .opt-box .ico { background: var(--cool-strong); color: var(--white); }

.opt-chip .opt-box { min-height: 48px; padding: 8px 16px; border-radius: 999px; }
.opt-chip .opt-box::before { display: none; }
.opt-chip .opt-hint { font-size: .72rem; font-family: var(--f-mono); }
.opt-chip input:checked + .opt-box { background: var(--ink); border-color: var(--ink); color: var(--white); }
.opt-chip input:checked + .opt-box .opt-hint { color: var(--frost); }

.opt-day .opt-box { padding: 10px 4px; min-height: 76px; align-items: center; text-align: center; }
.opt-day .opt-box::before { display: none; }
.opt-day .opt-label { flex-direction: column; gap: 0; }
.d-dow, .d-mon { font: 600 .7rem/1.2 var(--f-mono); text-transform: uppercase; color: var(--ink-soft); }
.d-num { font: 800 1.5rem/1.1 var(--f-display); }
.opt-day input:checked + .opt-box { background: var(--ink); border-color: var(--ink); color: var(--white); }
.opt-day input:checked + .opt-box .d-dow, .opt-day input:checked + .opt-box .d-mon { color: var(--frost); }

.opt-urgent input:checked + .opt-box { border-color: var(--heat-strong); background: #fff1ea; }
.opt-urgent input:checked + .opt-box::before { border-color: var(--heat-strong); background: var(--heat-strong); }

.stepper { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; padding: 4px; }
.stepper button { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--ice); font-size: 1.6rem; font-weight: 700; cursor: pointer; }
.stepper button:hover:not(:disabled) { background: var(--frost); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 64px; text-align: center; font: 800 1.6rem/1 var(--f-display); }

.check { display: flex; align-items: center; gap: 12px; min-height: 48px; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--cool-strong); }
.field { display: grid; gap: 6px; margin-bottom: 16px; font-weight: 600; }
.field input {
  width: 100%; min-height: 56px; padding: 0 16px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); font-size: 1.1rem; font-weight: 500;
}
.field input:focus { border-color: var(--cool-strong); outline: none; box-shadow: 0 0 0 4px rgba(14, 111, 138, .18); }
.phone { display: flex; align-items: stretch; }
.phone .pfx { display: grid; place-items: center; padding: 0 14px; border: 2px solid var(--line); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--ice); font: 600 1rem var(--f-mono); }
.phone input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--f-mono); letter-spacing: .04em; }

.drop {
  position: relative; display: grid; place-items: center; gap: 6px; text-align: center;
  min-height: 150px; padding: 20px; margin-top: 16px; border: 2px dashed #9fc6d4; border-radius: var(--radius);
  background: #f2fafc; cursor: pointer; font-weight: 600;
}
.drop:hover { border-color: var(--cool-strong); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop:focus-within { outline: 3px solid var(--cool-strong); outline-offset: 2px; }
.drop small { font: 500 .8rem var(--f-mono); color: var(--ink-soft); }
.drop-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--cool-strong); color: var(--white); font-size: 1.8rem; line-height: 1; }
.drop.is-full { opacity: .6; cursor: not-allowed; }
.thumbs { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.thumbs li { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--ice); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(11, 30, 45, .8); color: var(--white); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.thumbs.small { grid-template-columns: repeat(6, 1fr); }

.estimate { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 22px 20px; margin-bottom: 20px; position: relative; overflow: hidden; }
.estimate::after { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(127, 212, 234, .35), transparent 70%); pointer-events: none; }
.est-tag { display: inline-block; font: 600 .74rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink); background: var(--cool); padding: 6px 10px; border-radius: 6px; }
.est-range { font: 800 clamp(1.8rem, 8vw, 2.6rem)/1.1 var(--f-display); letter-spacing: -.02em; margin: 14px 0 6px; }
.est-range span { color: var(--cool); }
.est-sub { font-size: .88rem; color: #cfe3ea; }
.est-lines { list-style: none; padding: 14px 0 0; margin: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .15); display: grid; gap: 6px; font-size: .9rem; }
.est-lines li { display: flex; justify-content: space-between; gap: 12px; }
.est-lines li span:last-child { font-family: var(--f-mono); text-align: right; white-space: nowrap; }
.est-warn { margin-top: 14px; font-size: .88rem; color: var(--frost); }
.sum { margin: 0; display: grid; border-top: 1px solid var(--line); }
.sum div { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.sum dt { font: 600 .72rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); grid-column: 1; }
.sum dd { margin: 0; font-weight: 600; grid-column: 1; }
.sum .link { grid-column: 2; grid-row: 1 / span 2; }
.link { background: none; border: 0; color: var(--cool-strong); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 10px 4px; min-height: 44px; }

.wz-error { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: #fff1ea; color: #7a2508; font-weight: 600; }
.wz-error[hidden] { display: none; }
.wz-nav {
  display: flex; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  position: sticky; bottom: 0; background: var(--white); padding-bottom: 4px; z-index: 2;
}
.wz-nav #wz-next { flex: 1; }
@media (min-width: 640px) { .wz-nav { position: static; justify-content: flex-end; } .wz-nav #wz-next { flex: 0 0 auto; min-width: 220px; } }

/* ---------- Cómo trabajamos ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.st-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font: 700 1.1rem var(--f-mono); background: var(--ink); color: var(--cool); margin-bottom: 14px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 6px; }
.steps p { color: var(--ink-soft); }
@media (min-width: 1000px) {
  .steps li:not(:last-child)::after { content: ''; position: absolute; top: 44px; right: -14px; width: 14px; border-top: 2px dashed var(--frost); }
}

/* ---------- Galería ---------- */
.gallery { display: grid; gap: 20px; }
@media (min-width: 960px) { .gallery { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.compare { margin: 0; }
.cmp-stage { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 600 / 380; background: #eef4f6; box-shadow: var(--shadow); }
.cmp-img { width: 100%; height: 100%; }
.cmp-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); box-shadow: 0 0 0 1px rgba(11, 30, 45, .2); pointer-events: none; }
.cmp-handle::after { content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--ink); font-weight: 800; box-shadow: var(--shadow); }
.cmp-ctrl { display: block; margin-top: 12px; }
.cmp-ctrl input { width: 100%; accent-color: var(--cool-strong); height: 32px; cursor: pointer; }
.compare figcaption, .work figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: 6px; }
.work-cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) and (max-width: 959px) { .work-cards { grid-template-columns: repeat(3, 1fr); } }
.work { margin: 0; background: var(--white); border-radius: var(--radius); padding: 10px; border: 1px solid var(--line); }
.work svg { width: 100%; border-radius: 10px; }
.work figcaption { padding: 4px 6px 2px; font-weight: 600; color: var(--ink); }
@media (min-width: 960px) { .work { display: grid; grid-template-columns: 140px 1fr; gap: 14px; align-items: center; } .work figcaption { margin: 0; } }

/* ---------- Zonas ---------- */
.zones { display: grid; gap: 14px; }
@media (min-width: 640px) { .zones { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .zones { grid-template-columns: repeat(4, 1fr); } }
.zone { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.zone h3 { font-size: 1.2rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.zone h3::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--cool-strong); box-shadow: 0 0 0 4px var(--ice); }
.zone ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.zone li { font-size: .9rem; padding: 5px 10px; border-radius: 999px; background: var(--ice); }
.zone li small { font-family: var(--f-mono); font-size: .72rem; color: var(--ink-soft); }
.zone li.fee { background: #f1f5f7; }
.zones-foot { margin-top: 18px; color: var(--ink-soft); }

/* ---------- Políticas ---------- */
.policies { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: rgba(255, 255, 255, .12); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 700px) { .policies { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .policies { grid-template-columns: repeat(4, 1fr); } }
.policies li { background: var(--ink); padding: 26px 22px; }
.pol-big { display: block; font: 800 2rem/1 var(--f-display); color: var(--cool); letter-spacing: -.03em; margin-bottom: 14px; }
.policies h3 { font-size: 1.1rem; margin-bottom: 6px; }
.policies p { color: #cfe3ea; font-size: .95rem; }

/* ---------- Reseñas placeholder ---------- */
.placeholder { border: 2px dashed #b9cdd6; border-radius: 24px; padding: 32px 20px; text-align: center; background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(185, 226, 236, .18) 14px 28px); }
.placeholder h2 { font-size: clamp(1.4rem, 5vw, 2rem); max-width: 22em; margin: 0 auto; }
.placeholder > p:not(.kicker) { color: var(--ink-soft); margin: 12px auto 0; max-width: 34em; }
.ph-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 520px; margin: 24px auto 0; }
.ph-cards span { height: 70px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); position: relative; }
.ph-cards span::before, .ph-cards span::after { content: ''; position: absolute; left: 12px; right: 30%; height: 8px; border-radius: 4px; background: #e5eef2; top: 18px; }
.ph-cards span::after { right: 12px; top: 38px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 18px; font-weight: 700; font-size: 1.05rem; position: relative; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); font: 700 1.2rem/1 var(--f-mono); transition: transform .2s ease; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 18px 18px; color: var(--ink-soft); }

/* ---------- Urgencias ---------- */
.urgent { background: linear-gradient(120deg, #2a0f06, #5a1e08 55%, var(--heat-strong)); color: var(--white); padding: 56px 0; }
.urgent-in { display: grid; gap: 24px; }
.urgent h2 { font-size: clamp(1.7rem, 6vw, 2.6rem); font-weight: 800; text-wrap: balance; }
.urgent p:not(.kicker) { color: #ffd9c9; margin-top: 10px; max-width: 34em; }
.urgent-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.urgent-cta .btn { flex: 1 1 200px; }
.urgent .btn-heat { background: var(--white); color: #8a2a0a; }
.urgent .btn-heat:hover { background: #ffe8de; }
@media (min-width: 900px) { .urgent-in { grid-template-columns: 1.4fr 1fr; align-items: center; } }

/* ---------- Pie ---------- */
.foot { background: var(--ink); color: #cfe3ea; padding: 48px 0 calc(28px + 76px); font-size: .95rem; }
@media (min-width: 700px) { .foot { padding-bottom: 28px; } }
.foot-in { display: grid; gap: 24px; }
.foot-brand { color: var(--white); font-size: 1.05rem; margin-bottom: 4px; }
.foot-brand strong { font-family: var(--f-display); }
.foot-demo { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; justify-items: start; }
.foot-copy { margin-top: 28px; font-size: .8rem; opacity: .7; }
@media (min-width: 800px) { .foot-in { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---------- Barra móvil ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line); backdrop-filter: blur(10px);
  transform: translateY(110%); transition: transform .3s ease; visibility: hidden;
}
.mbar.show { transform: none; visibility: visible; }
.mbar .btn { flex: 1; }
@media (min-width: 700px) { .mbar { display: none; } }

/* ---------- Hoja demo ---------- */
.sheet {
  border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 520px; max-height: 92vh;
  border-radius: 24px 24px 0 0; background: var(--white); color: var(--ink); box-shadow: 0 -20px 60px rgba(0, 0, 0, .3);
}
.sheet[open] { animation: sheetUp .3s cubic-bezier(.2, .8, .2, 1); }
.sheet::backdrop { background: rgba(11, 30, 45, .6); backdrop-filter: blur(2px); }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 640px) { .sheet { margin: auto; border-radius: 24px; } }
.sheet-in { position: relative; padding: 24px 20px calc(20px + env(safe-area-inset-bottom)); display: grid; gap: 12px; }
.sheet-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ice); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.sheet-tag { font: 600 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: #3b2a00; background: #fff4d6; justify-self: start; padding: 6px 10px; border-radius: 6px; }
.sheet h2 { font-size: 1.5rem; padding-right: 48px; }
.sheet-msg {
  margin: 0; white-space: pre-wrap; word-break: break-word; font: 500 .92rem/1.5 var(--f-body);
  background: #e7f6ec; border: 1px solid #c4e6cf; border-radius: 16px 16px 16px 4px; padding: 14px 16px; max-height: 42vh; overflow: auto;
}
.sheet-small { font-size: .85rem; color: var(--ink-soft); }
.sheet-actions { display: grid; gap: 8px; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .flow path { animation: none; }
}

/* PHP + SQLite: notas del cliente y confirmación del servidor */
.field textarea {
  width: 100%; min-height: 96px; padding: 12px 16px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); font: inherit; font-size: 1rem; font-weight: 500; resize: vertical;
}
.field textarea:focus { border-color: var(--cool-strong); outline: none; box-shadow: 0 0 0 4px rgba(14, 111, 138, .18); }
.sheet-saved { font-size: .9rem; font-weight: 600; color: #0b5a40; background: #e5f6ee; padding: 10px 12px; border-radius: var(--radius-sm); }
.foot-copy a { color: inherit; }

/* Fotos de muestra (Unsplash): hero y trabajos */
.hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 840 / 680; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 40px rgba(0, 0, 0, .35); }
.work img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 10px; }

/* Logo (SVG en img/logo.svg) */
.logo-img { display: block; flex: none; width: 36px; height: 36px; }
.logo-img { border-radius: 9px; box-shadow: 0 0 0 1px rgba(127, 212, 234, .4); }
