/* CLIMA CR · sitio público. Marca: negro azulado → azul petróleo, acento turquesa del copo de nieve. */
:root {
  --ink: #0b1b27;
  --ink-2: #26394a;
  --muted: #5a6b7a;
  --line: #e1e9ef;
  --bg: #ffffff;
  --bg-alt: #f3f7fa;
  --navy-950: #070d13;
  --navy-900: #0a141d;
  --navy-800: #0b1f2f;
  --navy-700: #0e3a56;
  --teal: #19a7b5;
  --teal-bright: #2bd0de;
  --teal-dark: #0c7482;
  --teal-soft: #e2f6f8;
  --green: #1fb855;
  --green-dark: #128a3e;
  --amber: #f2994a;
  --red: #d63a40;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 39, .06), 0 2px 8px rgba(11, 27, 39, .05);
  --shadow: 0 10px 30px rgba(11, 27, 39, .1);
  --shadow-lg: 0 24px 60px rgba(11, 27, 39, .18);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-h: 'Poppins', 'Inter', system-ui, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.ic { display: inline-block; vertical-align: -.2em; flex-shrink: 0; }
[hidden] { display: none !important; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #04202b; padding: 10px 16px; border-radius: 8px; z-index: 1000; font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.fineprint { font-size: .8rem; color: var(--muted); margin: .6em 0 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 2px solid transparent; font-weight: 600; font-size: .95rem; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--teal-bright); color: #03202a; box-shadow: 0 6px 20px rgba(43, 208, 222, .35); }
.btn-primary:hover { background: #4ddae7; box-shadow: 0 8px 26px rgba(43, 208, 222, .5); }
.btn-wa { background: var(--green); color: #fff; box-shadow: 0 6px 20px rgba(31, 184, 85, .35); }
.btn-wa:hover { background: #22c75d; }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn-ghost-dark { background: #fff; color: var(--navy-800); border-color: var(--line); }
.btn-ghost-dark:hover { border-color: var(--teal); }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.link { background: none; border: 0; padding: 0; color: var(--teal-dark); text-decoration: underline; font-weight: 600; }

/* Barra superior */
.topbar { background: var(--navy-950); color: #b9c8d4; font-size: .82rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; }
.topbar-l, .topbar-r { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tb-item { display: inline-flex; color: var(--teal-bright); }
.tb-sep { width: 1px; height: 14px; background: #2a3b49; margin: 0 8px; }
.tb-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: #e6eef4; margin-left: 12px; }
.tb-link:hover { color: var(--teal-bright); }
.promo { background: linear-gradient(90deg, #0c7482, #19a7b5); color: #03202a; text-align: center; font-weight: 600; font-size: .85rem; padding: 6px 16px; display: flex; justify-content: center; align-items: center; gap: 8px; }

/* Encabezado */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { display: block; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt strong { font-family: var(--font-h); font-weight: 800; font-size: 1.3rem; letter-spacing: .01em; }
.brand-txt small { font-size: .66rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .93rem; color: var(--ink-2); }
.nav a:hover, .nav a.active { color: var(--teal-dark); background: var(--teal-soft); }
.nav-cta-m { display: none; }
.header-cta { display: flex; gap: 8px; }
.header .btn-primary { box-shadow: none; }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; color: var(--ink); }

/* Hero */
.hero { position: relative; z-index: 2; color: #fff; background: linear-gradient(115deg, #06090d 0%, #0a1620 40%, #0e3a56 100%); padding: 72px 0 0; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; background:
  radial-gradient(600px 420px at 78% 40%, rgba(43, 208, 222, .22), transparent 65%),
  linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px,
  linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-bottom: 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); background: var(--teal-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.eyebrow-dark { color: var(--teal-bright); background: rgba(43, 208, 222, .12); border: 1px solid rgba(43, 208, 222, .25); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 800; margin-bottom: 20px; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #c3d2de; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #dce8f0; font-size: .93rem; }
.hero-checks li { display: flex; align-items: center; gap: 6px; }
.hero-checks .ic { color: var(--teal-bright); }
.hero .fineprint { color: #7f93a3; }
.hero-art { position: relative; min-height: 420px; }
.hero-svg { width: 100%; height: auto; position: relative; z-index: 1; }
.glow { position: absolute; inset: 8% 6%; background: radial-gradient(closest-side, rgba(43, 208, 222, .28), transparent); filter: blur(30px); }
.airflow path { stroke-dasharray: 10 14; animation: flow 2.4s linear infinite; }
.airflow path:nth-child(2) { animation-delay: -.6s; }
.airflow path:nth-child(3) { animation-delay: -1.2s; }
@keyframes flow { to { stroke-dashoffset: -48; } }
.fl { animation: drift 6s ease-in-out infinite; transform-box: fill-box; }
.f2 { animation-delay: -2s; } .f3 { animation-delay: -4s; } .f4 { animation-delay: -1s; }
@keyframes drift { 50% { transform: translateY(-14px) rotate(25deg); opacity: .5; } }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .96); color: var(--ink); padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg); animation: bob 5s ease-in-out infinite; }
.float-card strong { display: block; font-family: var(--font-h); font-size: 1.05rem; line-height: 1.1; }
.float-card small { color: var(--muted); font-size: .76rem; }
.fc-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; }
.fc1 { left: -2%; top: 52%; } .fc2 { right: -1%; top: 36%; animation-delay: -1.5s; } .fc3 { left: 14%; bottom: 2%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; color: var(--ink); border-radius: 20px; box-shadow: var(--shadow-lg); margin: 24px auto -56px; padding: 8px; }
.stat { text-align: center; padding: 22px 12px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 24%; height: 52%; width: 1px; background: var(--line); }
.stat strong { display: block; font-family: var(--font-h); font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--navy-700); line-height: 1; }
.stat span { color: var(--muted); font-size: .9rem; }

/* Secciones */
.section { padding: 88px 0; position: relative; }
.hero + .section { padding-top: 150px; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(160deg, #070d13, #0b1f2f 60%, #0e3a56); color: #fff; }
.sec-head { max-width: 680px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head p { color: var(--muted); font-size: 1.05rem; }
.sec-head.light p { color: #a9bccb; }
.sec-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }

/* Servicios */
.svc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden; }
.svc::after { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::after { transform: scaleX(1); }
.svc-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal-soft), #cdeff3); color: var(--teal-dark); margin-bottom: 18px; }
.svc p { color: var(--muted); font-size: .96rem; }
.svc ul { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.svc li { display: flex; gap: 8px; align-items: flex-start; }
.svc li .ic { color: var(--teal); margin-top: 3px; }
.svc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px dashed var(--line); }
.svc-price small { display: block; color: var(--muted); font-size: .75rem; }
.svc-price strong { font-family: var(--font-h); font-size: 1.1rem; color: var(--navy-700); }

/* Banda emergencia */
.band { background: linear-gradient(100deg, #0c7482, #19a7b5 60%, #2bd0de); color: #03202a; padding: 44px 0; }
.band-in { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.band h2 { margin-bottom: 6px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.band p { margin: 0; max-width: 560px; font-weight: 500; }
.band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Filtros */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); padding: 8px 16px; border-radius: 999px; font-weight: 500; font-size: .9rem; transition: all .15s; }
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Productos */
.prod { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.prod:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prod-img { position: relative; aspect-ratio: 4 / 3; background: #e8f1f6; overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.prod:hover .prod-img img { transform: scale(1.04); }
.tags { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 4px 9px; border-radius: 999px; background: var(--navy-800); color: #fff; }
.tag.teal { background: var(--teal-bright); color: #03202a; }
.tag.amber { background: var(--amber); color: #3a1c00; }
.prod-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-brand { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--teal-dark); font-weight: 700; }
.prod h3 { font-size: 1.02rem; margin: 0; }
.prod-feats { list-style: none; padding: 0; margin: 4px 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .8rem; color: var(--muted); }
.prod-feats li::before { content: '✓ '; color: var(--teal); font-weight: 700; }
.prod-price { margin-top: auto; padding-top: 10px; }
.prod-price strong { font-family: var(--font-h); font-size: 1.3rem; color: var(--navy-700); }
.prod-price s { color: var(--muted); font-size: .85rem; margin-left: 6px; }
.prod-price small { display: block; color: var(--green-dark); font-size: .75rem; font-weight: 600; }
.prod-actions { display: flex; gap: 8px; margin-top: 12px; }
.prod-actions .btn { flex: 1; padding: 9px 10px; font-size: .85rem; }
.btn-add { background: var(--navy-800); color: #fff; }
.btn-add:hover { background: var(--navy-700); }
.btn-add.added { background: var(--teal-soft); color: var(--teal-dark); border-color: var(--teal); }
.btn-icon-wa { flex: 0 0 auto !important; background: #e6f8ed; color: var(--green-dark); }

/* Calculadora */
.calc { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: stretch; }
.calc-form h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field > span { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1.5px solid #cdd9e2; border-radius: 12px; background: #fff; color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(25, 167, 181, .18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-result { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; border: 0; display: flex; flex-direction: column; justify-content: center; }
.calc-empty { text-align: center; color: #a9bccb; }
.big-ico { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: rgba(43, 208, 222, .12); color: var(--teal-bright); margin-bottom: 12px; }
.calc-num { font-family: var(--font-h); font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 800; line-height: 1; color: var(--teal-bright); }
.calc-num small { font-size: 1.1rem; color: #a9bccb; font-weight: 600; margin-left: 6px; }
.calc-rec { margin: 14px 0; padding: 14px 16px; background: rgba(255, 255, 255, .08); border-radius: 12px; }
.calc-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.calc-list li { display: flex; justify-content: space-between; gap: 10px; background: rgba(255, 255, 255, .06); padding: 10px 14px; border-radius: 10px; font-size: .92rem; }
.calc-list strong { color: var(--teal-bright); white-space: nowrap; }

/* Proceso */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.steps li { position: relative; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 26px 22px; }
.steps h3 { color: #fff; margin-top: 12px; }
.steps p { color: #a9bccb; margin: 0; font-size: .95rem; }
.step-n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--teal-bright); color: #03202a; font-family: var(--font-h); font-weight: 800; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-item { display: flex; gap: 14px; padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .04); }
.why-item .ic { color: var(--teal-bright); margin-top: 2px; }
.why-item strong { display: block; color: #fff; }
.why-item span { color: #a9bccb; font-size: .9rem; }

/* Galería */
.gallery { columns: 3 320px; column-gap: 20px; }
.g-item { break-inside: avoid; margin: 0 0 20px; position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: #e8f1f6; display: block; width: 100%; border: 0; padding: 0; text-align: left; box-shadow: var(--shadow-sm); }
.g-item img { display: block; width: 100%; height: auto; transition: transform .4s; }
.g-item:hover img { transform: scale(1.04); }
.g-cap { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; color: #fff; background: linear-gradient(0deg, rgba(7, 13, 19, .88), transparent); opacity: 0; transform: translateY(8px); transition: all .25s; }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
.g-cap strong { display: block; font-size: .95rem; }
.g-cap span { font-size: .8rem; opacity: .85; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 8, 12, .92); display: grid; place-items: center; padding: 24px; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); text-align: center; color: #fff; }
.lightbox img { max-height: 78vh; border-radius: 12px; }
.lightbox figcaption { margin-top: 12px; }
.lb-x { position: absolute; right: 18px; top: 18px; background: rgba(255, 255, 255, .12); border: 0; color: #fff; border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; }

/* Planes */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; position: relative; }
.plan.hl { background: linear-gradient(170deg, var(--navy-900), var(--navy-700)); color: #fff; border: 0; box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--teal-bright); color: #03202a; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.plan h3 { font-size: 1.25rem; }
.plan .p-desc { color: var(--muted); font-size: .92rem; }
.plan.hl .p-desc { color: #a9bccb; }
.plan .p-price { font-family: var(--font-h); font-size: 2.4rem; font-weight: 800; line-height: 1; margin: 10px 0 4px; }
.plan .p-price small { font-size: .9rem; font-weight: 500; color: var(--muted); font-family: var(--font); }
.plan.hl .p-price small { color: #a9bccb; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; font-size: .94rem; }
.plan li { display: flex; gap: 10px; }
.plan li .ic { color: var(--teal); margin-top: 3px; }
.plan.hl li .ic { color: var(--teal-bright); }
.plan .btn { margin-top: auto; }

/* Opiniones */
.rating-sum { display: flex; align-items: center; gap: 14px; background: var(--bg-alt); padding: 12px 20px; border-radius: 14px; }
.rating-sum strong { font-family: var(--font-h); font-size: 2rem; line-height: 1; }
.stars { display: inline-flex; color: #f5b301; gap: 2px; }
.reviews { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: thin; }
.review { flex: 0 0 min(380px, 86%); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.review q { quotes: none; font-size: 1rem; color: var(--ink-2); flex: 1; }
.rv-who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--navy-700)); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-h); overflow: hidden; flex-shrink: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.rv-who strong { display: block; line-height: 1.2; }
.rv-who small { color: var(--muted); }
.review-form-wrap { margin-top: 20px; }
.review-form { margin-top: 18px; max-width: 640px; }
.stars-input { display: flex; gap: 4px; }
.stars-input button { background: none; border: 0; padding: 2px; color: #cdd9e2; }
.stars-input button.on { color: #f5b301; }

/* Formularios de cita y cotización */
.book { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.book-info p { color: var(--muted); font-size: 1.05rem; }
.book-info.light p { color: #a9bccb; }
.info-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list li > .ic { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: #fff; color: var(--teal-dark); box-shadow: var(--shadow-sm); }
.info-list strong { display: block; }
.info-list span { color: var(--muted); font-size: .94rem; }
.book-form h3 { margin: 0; }
.form-step { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; }
.form-step:not(:first-child) { margin-top: 22px; }
.step-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--navy-800); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.dates { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; }
.date-btn { flex: 0 0 62px; display: flex; flex-direction: column; align-items: center; padding: 10px 0; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; color: var(--ink); transition: all .15s; }
.date-btn small { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.date-btn strong { font-family: var(--font-h); font-size: 1.3rem; line-height: 1.2; }
.date-btn span { font-size: .7rem; color: var(--muted); }
.date-btn:hover:not(:disabled) { border-color: var(--teal); }
.date-btn[aria-checked="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.date-btn[aria-checked="true"] small, .date-btn[aria-checked="true"] span { color: #a9bccb; }
.date-btn:disabled { opacity: .4; cursor: not-allowed; background: var(--bg-alt); }
.slots { display: flex; flex-wrap: wrap; gap: 8px; min-height: 46px; }
.slot { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; }
.slot:hover:not(:disabled) { border-color: var(--teal); }
.slot[aria-checked="true"] { background: var(--teal-bright); border-color: var(--teal-bright); color: #03202a; }
.slot:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.form-msg { min-height: 0; font-size: .9rem; margin-bottom: 10px; }
.form-msg.err { color: var(--red); background: #fdecec; padding: 10px 14px; border-radius: 10px; }
.form-msg.ok { color: var(--green-dark); background: #e6f8ed; padding: 10px 14px; border-radius: 10px; }
.book-done { text-align: center; padding: 44px 28px; }
.done-ico { width: 72px; height: 72px; border-radius: 50%; background: #e6f8ed; color: var(--green-dark); display: grid; place-items: center; margin: 0 auto 16px; }
.done-box { background: var(--bg-alt); border-radius: 12px; padding: 14px 18px; margin: 18px 0; text-align: left; font-size: .95rem; }
.done-box div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.quote-cart { margin-top: 26px; }
.qc-title { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-bright); font-weight: 700; margin-bottom: 10px; }
.qc-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 8px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.qc-item img { width: 52px; height: 40px; object-fit: cover; border-radius: 6px; }
.qc-item span { flex: 1; font-size: .9rem; }
.qc-item strong { color: var(--teal-bright); font-size: .85rem; }
.qc-item button { background: none; border: 0; color: #a9bccb; padding: 4px; }
.qc-empty { color: #8499aa; font-size: .92rem; padding: 14px; border: 1px dashed rgba(255, 255, 255, .2); border-radius: 12px; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-side { position: sticky; top: 100px; }
.faq-side p { color: var(--muted); }
.faq-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.faq-item.open { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: 0; padding: 18px 22px; text-align: left; font-weight: 600; font-size: 1rem; color: var(--ink); }
.faq-q .ic { transition: transform .25s; color: var(--teal-dark); }
.faq-item.open .faq-q .ic { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; margin: 0; color: var(--ink-2); white-space: pre-line; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 12px; margin-top: 24px; }
.c-card { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.c-card:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); border-color: var(--teal); }
.c-card > .ic { width: 46px; height: 46px; padding: 12px; background: var(--teal-soft); color: var(--teal-dark); border-radius: 12px; }
.c-card small { color: var(--muted); display: block; }
.c-card strong { font-weight: 600; }

/* Pie */
.footer { background: var(--navy-950); color: #9db0bf; padding-top: 64px; font-size: .93rem; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer .brand-txt strong { color: #fff; }
.footer .brand-txt small { color: #7f93a3; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--teal-bright); }
.f-brand p { margin: 16px 0; max-width: 320px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: #13222f; display: grid; place-items: center; color: #dce8f0; }
.social a:hover { background: var(--teal); color: #03202a; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #16222d; padding: 20px 0; font-size: .82rem; }

/* Flotantes */
.fab { position: fixed; right: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; border: 0; color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .3); transition: transform .2s; text-decoration: none; }
.fab:hover { transform: scale(1.08); }
.fab-wa { bottom: 20px; background: var(--green); }
.fab-wa::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: ping 2.4s ease-out infinite; }
@keyframes ping { to { transform: scale(1.6); opacity: 0; } }
.fab-chat { bottom: 92px; background: var(--navy-800); color: var(--teal-bright); border: 2px solid var(--teal); }
.fab-dot { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; background: var(--amber); border-radius: 50%; border: 2px solid var(--navy-800); }
.chat { position: fixed; right: 20px; bottom: 164px; z-index: 95; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 190px)); background: #fff; border-radius: 20px; box-shadow: 0 24px 70px rgba(5, 15, 25, .35); display: flex; flex-direction: column; overflow: hidden; animation: pop .25s ease; border: 1px solid var(--line); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; }
.chat-av { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; }
.chat-head small { display: flex; align-items: center; gap: 6px; color: #a9bccb; }
.online { width: 8px; height: 8px; background: #3ddc84; border-radius: 50%; display: inline-block; }
.chat-x { margin-left: auto; background: none; border: 0; color: #fff; padding: 6px; border-radius: 8px; }
.chat-x:hover { background: rgba(255, 255, 255, .12); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f6f9fb; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .93rem; white-space: pre-line; line-height: 1.5; animation: pop .2s ease; }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--navy-800); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg-actions .btn { padding: 7px 12px; font-size: .8rem; }
.typing { display: inline-flex; gap: 4px; padding: 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9db0bf; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-chips { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px 4px; background: #f6f9fb; scrollbar-width: none; }
.chat-chips:empty { display: none; }
.chat-chips button { flex: 0 0 auto; border: 1.5px solid var(--teal); color: var(--teal-dark); background: #fff; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 500; }
.chat-chips button:hover { background: var(--teal-soft); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-form input { flex: 1; border: 1.5px solid #cdd9e2; border-radius: 999px; padding: 10px 16px; font: inherit; }
.chat-form input:focus { outline: none; border-color: var(--teal); }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--teal-bright); color: #03202a; display: grid; place-items: center; }

/* Animación de entrada */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .header-cta .btn-ghost { display: none; }
  .nav a { padding: 8px 8px; font-size: .88rem; }
}
@media (max-width: 900px) {
  .burger { display: grid; }
  .header-cta { display: none; }
  .nav { position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 14px 20px 22px; gap: 2px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .25s; max-height: calc(100vh - 72px); overflow: auto; margin: 0; }
  .nav.open { transform: none; }
  .nav a { padding: 12px 10px; font-size: 1rem; }
  .nav-cta-m { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
  .nav-cta-m .btn-light { border-color: var(--line); }
  .hero-in, .calc, .book, .faq, .contact { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin-inline: auto; min-height: 0; }
  .faq-side { position: static; }
  .grid-3, .why { grid-template-columns: 1fr 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .plan.hl { transform: none; }
  .topbar-l .tb-sep, .topbar-l > :nth-child(n+4) { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .section { padding: 60px 0; }
  .hero { padding-top: 40px; }
  .hero + .section { padding-top: 120px; }
  .grid-3, .grid-4, .why, .steps, .footer-in { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; margin-bottom: -48px; }
  .stat:nth-child(3)::before { display: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .topbar-r .tb-link:first-child span:last-child { display: none; }
  .topbar-l { display: none; }
  .topbar-in { justify-content: flex-end; }
  .float-card { transform: scale(.85); }
  .fc1 { left: -4%; } .fc2 { right: -4%; }
  .card { padding: 22px; }
  .fab { width: 54px; height: 54px; right: 14px; }
  .fab-chat { bottom: 82px; }
  .chat { right: 12px; bottom: 148px; }
  .hero-actions .btn { width: 100%; }
  .band-actions .btn { flex: 1; }
}
.ic.off { opacity: .25; }
.hero-in > *, .calc > *, .book > *, .faq > *, .contact > * { min-width: 0; }
html, body { overflow-x: clip; }
.brand { flex-shrink: 0; white-space: nowrap; }
.brand-txt small { white-space: nowrap; font-size: .6rem; }
.brand img { width: 38px; height: auto; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
@media (max-width: 1320px) { .header-cta .btn-ghost { display: none; } }
@media (max-width: 1180px) { .header .brand-txt small { display: none; } }
.header-cta .btn-ghost { display: none; }
@media (min-width: 1500px) { .header-cta .btn-ghost { display: inline-flex; } }
.info-list li > span[data-icon], .c-card > span[data-icon] { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; color: var(--teal-dark); background: #fff; box-shadow: var(--shadow-sm); }
.c-card > span[data-icon] { background: var(--teal-soft); box-shadow: none; }
.info-list li > .ic, .c-card > .ic { width: auto; height: auto; padding: 0; background: none; box-shadow: none; }
@media (max-width: 900px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; inset-inline: 0; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .2s, opacity .2s, visibility .2s; max-height: calc(100vh - 80px); }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
}
