/* ControlClima — su azul, su naranja (logo), Manrope. Sobrio, cuadrado, sin trucos. */
:root {
  --ink: #0B2239; --ink2: #3D5268; --mute: #6B7C8F;
  --blue: #1668AD; --blue2: #1E7FD0; --ice: #E3F0FB; --paper: #F5F9FC; --line: #DCE6F0;
  --hot: #F26B21; --ok: #1FA37A; --wa: #1FAF57;
  --r: 14px; --w: 1160px;
  --sans: Manrope, system-ui, sans-serif; --mono: "Fira Code", ui-monospace, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font: 500 16px/1.6 var(--sans); color: var(--ink); background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { font-weight: 800; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.mono { font-family: var(--mono); font-weight: 600; letter-spacing: -.02em; }
.wrap { width: min(var(--w), 100% - 40px); margin-inline: auto; }
.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec.alt { background: var(--paper); }
.kicker { font: 800 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.sub { color: var(--ink2); max-width: 62ch; margin-top: 14px; font-size: 17px; }
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 22px; border-radius: 12px; border: 1.5px solid transparent; font-weight: 800; font-size: 15.5px; text-decoration: none; white-space: nowrap; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.98); }
.btn-pri { background: var(--hot); color: #fff; box-shadow: 0 10px 24px -12px rgba(242, 107, 33, .8); }
.btn-pri:hover { background: #DD5A14; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17974A; }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { border-color: #fff; }
.btn-ghost.dk { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost.dk:hover { border-color: var(--blue); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.c { justify-content: center; }
:focus-visible { outline: 3px solid var(--blue2); outline-offset: 3px; border-radius: 6px; }

/* header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: 68px; display: flex; align-items: center; gap: 24px; padding: 0 max(20px, calc((100% - var(--w)) / 2)); color: #fff; transition: background .25s, box-shadow .25s, color .25s; }
.hdr.solid { background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; letter-spacing: .08em; font-size: 15px; }
.logo img { width: 38px; height: 38px; border-radius: 50%; }
.logo b { font-weight: 800; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; font-weight: 700; }
.nav a { text-decoration: none; opacity: .85; padding: 8px 0; }
.nav a:hover { opacity: 1; }
.hdr-cta { min-height: 42px; padding: 0 16px; font-size: 14.5px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 11px; margin-right: -10px; }
.burger i { display: block; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* hero */
.hero { position: relative; background: var(--ink); color: #fff; padding: 118px 0 0; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 520px at 85% 12%, color-mix(in srgb, var(--amb, var(--hot)) 34%, transparent), transparent 70%), linear-gradient(180deg, #0B2239, #0E2C4A); transition: --amb .6s; }
.hero-g { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 700; padding: 7px 14px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: pulse 2s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } }
.hero h1 { font-size: clamp(34px, 5vw, 58px); }
.hero h1 em { font-style: normal; color: #7CC4FF; }
.lead { margin-top: 20px; font-size: clamp(16px, 1.5vw, 18.5px); color: #C5D4E3; max-width: 52ch; }
.hero .cta-row { margin-top: 30px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 700; color: #DCE8F4; }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks svg { width: 16px; height: 16px; color: #3DDC84; }

.clima { --c: var(--hot); position: relative; border-radius: 26px; padding: 22px 22px 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .14); }
.unit { width: 100%; height: auto; overflow: visible; }
.flow path { stroke: var(--c); stroke-dasharray: 10 14; animation: flow 1.1s linear infinite; opacity: .9; transition: stroke .5s; }
.flow path:nth-child(even) { animation-duration: 1.4s; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.dial { text-align: center; margin-top: 4px; }
.modo { display: inline-block; font: 800 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); padding: 7px 12px; border-radius: 99px; transition: color .5s, background .5s; }
.temp { display: flex; justify-content: center; align-items: flex-start; font-family: var(--mono); line-height: 1; margin: 10px 0 6px; }
.temp b { font-size: clamp(88px, 12vw, 132px); font-weight: 600; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.temp i { font-style: normal; font-size: 26px; font-weight: 600; margin-top: 16px; color: var(--c); transition: color .5s; }
.amb { font-size: 13.5px; color: #B9CADB; }
.amb b { color: #fff; font-family: var(--mono); }
.remoto { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 13px; font-weight: 700; color: #B9CADB; }
.remoto button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); color: #fff; font-size: 24px; line-height: 1; transition: background .2s, transform .12s; }
.remoto button:hover { background: rgba(255, 255, 255, .16); }
.remoto button:active { transform: scale(.92); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid rgba(255, 255, 255, .14); }
.stats div { padding: 26px 8px 30px; border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 24px; }
.stats div:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font: 600 clamp(24px, 3vw, 34px)/1.1 var(--mono); letter-spacing: -.04em; }
.stats span { font-size: 13.5px; color: #B9CADB; }

/* servicios */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.card { border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 22px; display: flex; flex-direction: column; background: #fff; transition: border-color .2s, box-shadow .2s, transform .6s cubic-bezier(.2, .7, .2, 1), opacity .6s; }
.card:hover { border-color: var(--blue); box-shadow: 0 18px 40px -28px rgba(22, 104, 173, .6); }
.ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ice); color: var(--blue); margin-bottom: 18px; }
.ic svg { width: 24px; height: 24px; }
.ic.c2 { background: #FDEBDD; color: var(--hot); } .ic.c3 { background: #DDF4EC; color: var(--ok); } .ic.c4 { background: #ECE7FE; color: #6A4BE0; }
.card p { color: var(--ink2); font-size: 15px; margin: 8px 0 18px; flex: 1; }
.lnk { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--blue); font-weight: 800; font-size: 15px; text-decoration: none; }
.lnk svg { width: 17px; height: 17px; transition: transform .2s; }
.lnk:hover svg { transform: translateX(4px); }

/* turnero */
.turno-sec { background: linear-gradient(180deg, var(--paper), #fff); }
.tn { display: grid; grid-template-columns: 1fr 360px; gap: 22px; margin-top: 40px; align-items: start; }
.tn-form { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 24px; box-shadow: 0 30px 60px -44px rgba(11, 34, 57, .5); min-width: 0; }
.pasos { list-style: none; counter-reset: p; display: flex; gap: 6px; padding: 0; margin: 0 0 24px; font-size: 12.5px; font-weight: 800; color: var(--mute); }
.pasos li { counter-increment: p; flex: 1; border-top: 3px solid var(--line); padding-top: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pasos li::before { content: counter(p) ". "; }
.pasos li.on { border-color: var(--hot); color: var(--ink); }
.pasos li.ok { border-color: var(--blue); color: var(--blue); }
.pane h3 { font-size: 21px; margin-bottom: 16px; }
.pane h4 { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); margin: 20px 0 9px; }
.pane h4:first-child { margin-top: 0; }
.opts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.opts.o2 { grid-template-columns: repeat(2, 1fr); }
.opt { position: relative; display: block; text-align: left; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; font-size: 15px; line-height: 1.3; transition: border-color .15s, background .15s; }
.opt small { display: block; font-weight: 500; font-size: 12.5px; color: var(--mute); margin-top: 2px; }
.opt:hover { border-color: var(--blue2); }
.opt.on { border-color: var(--blue); background: var(--ice); box-shadow: inset 0 0 0 1px var(--blue); }
.opt:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.opt em { font-style: normal; color: var(--blue); font-family: var(--mono); font-size: 12.5px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid var(--line); border-radius: 12px; padding: 4px; }
.stepper button { width: 44px; height: 44px; border: 0; border-radius: 9px; background: var(--paper); font-size: 20px; font-weight: 700; }
.stepper b { min-width: 74px; text-align: center; font-family: var(--mono); }
.dias { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin: 0 -2px 6px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.dia { flex: none; min-width: 78px; min-height: 64px; padding: 9px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; text-align: center; font-weight: 800; font-size: 14px; line-height: 1.25; }
.dia small { display: block; font-weight: 600; font-size: 11.5px; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.dia.on { border-color: var(--blue); background: var(--ice); box-shadow: inset 0 0 0 1px var(--blue); }
.hint { font-size: 13.5px; color: var(--mute); margin-top: 12px; min-height: 1.6em; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink2); }
.fields label small { font-weight: 500; color: var(--mute); }
.fields .full { grid-column: 1 / -1; }
.fields input { display: block; width: 100%; min-height: 50px; margin-top: 6px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 16px; font-weight: 600; }
.fields input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px var(--ice); }
.err { color: #C62828; font-size: 14px; font-weight: 700; margin: 14px 0 0; min-height: 0; }
.err:empty { display: none; }
.tn-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.tn-nav .btn-pri { margin-left: auto; min-width: 150px; }
.done { text-align: center; padding: 8px 0 4px; }
.done .check { width: 60px; height: 60px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; }
.done .check svg { width: 30px; height: 30px; }
.done > p { color: var(--ink2); max-width: 46ch; margin: 0 auto; }
.okbox { text-align: left; border: 1px dashed var(--line); border-radius: 12px; padding: 16px 18px; margin: 20px 0; background: var(--paper); font-size: 15px; display: grid; gap: 6px; }
.okbox div { display: flex; justify-content: space-between; gap: 16px; }
.okbox span { color: var(--mute); flex: none; }
.okbox b { text-align: right; }
.done .cta-row { justify-content: center; }
.demo-lnk { display: inline-block; margin-top: 18px; padding: 10px 0; font-size: 14px; font-weight: 800; color: var(--blue); }
.tn-res { position: sticky; top: 88px; border-radius: 18px; background: var(--ink); color: #fff; padding: 24px; }
.res-k { font: 800 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #7CC4FF; margin-bottom: 16px; }
.res-l { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; }
.res-l li { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; color: #DCE8F4; }
.res-l li b { font-family: var(--mono); font-weight: 600; white-space: nowrap; color: #fff; }
.res-l li.neg b { color: #3DDC84; }
.res-l .vacio { color: #93A8BD; }
.res-t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .16); font-weight: 700; }
.res-t b { font-size: 30px; }
.res-turno { margin-top: 14px; font-size: 14.5px; color: #DCE8F4; }
.res-turno:empty { display: none; }
.res-turno b { color: #fff; }
.res-n { margin-top: 16px; font-size: 12.5px; line-height: 1.5; color: #93A8BD; }

/* fallas */
.fallas { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; align-items: start; }
.f-chips { display: grid; gap: 10px; }
.f-chip { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 12px 18px; text-align: left; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-weight: 800; font-size: 16px; }
.f-chip svg { width: 18px; height: 18px; color: var(--mute); flex: none; }
.f-chip.on { border-color: var(--hot); background: #FFF5EE; }
.f-chip.on svg { color: var(--hot); }
.f-out { border-radius: 18px; background: var(--paper); border: 1px solid var(--line); padding: 28px; position: sticky; top: 88px; }
.f-out small { font: 800 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--hot); }
.f-out h3 { font-size: 24px; margin: 10px 0 10px; }
.f-out p { color: var(--ink2); }
.f-out .srv { margin: 18px 0 20px; padding: 14px 16px; background: #fff; border-radius: 12px; border: 1px solid var(--line); font-size: 14.5px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.f-out .srv b { font-family: var(--mono); white-space: nowrap; }

/* pasos */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; }
.steps b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: #fff; font-family: var(--mono); margin-bottom: 16px; }
.steps p { color: var(--ink2); font-size: 15px; margin-top: 8px; }

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.why div { padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why h3::before { content: ""; display: block; width: 26px; height: 3px; background: var(--hot); margin-bottom: 14px; }
.why p { color: var(--ink2); font-size: 15px; margin-top: 8px; }
.marcas { margin-top: 44px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mq { display: flex; gap: 44px; width: max-content; animation: mq 36s linear infinite; font-weight: 800; font-size: 20px; letter-spacing: -.01em; color: #9AAABC; }
@keyframes mq { to { transform: translateX(-50%); } }

.cap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.cap-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.cap-box label { display: block; font-weight: 700; font-size: 17px; }
.cap-box label b { font-size: 22px; color: var(--blue); }
.cap-box input[type=range] { width: 100%; margin: 18px 0 8px; accent-color: var(--blue); height: 36px; }
.cap-out { display: grid; gap: 4px; padding: 18px 0 22px; }
.cap-out b { font-size: clamp(28px, 4vw, 38px); line-height: 1.1; }
.cap-out span { color: var(--ink2); }

.revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.revs figure { margin: 0; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; display: flex; flex-direction: column; gap: 20px; }
.revs figure::before { content: "★★★★★"; color: #F5A623; letter-spacing: 3px; font-size: 15px; }
.revs blockquote { margin: 0; font-size: 16px; line-height: 1.6; flex: 1; }
.revs figcaption { font-size: 13.5px; color: var(--mute); }
.revs figcaption b { display: block; font-size: 15px; color: var(--ink); }

.zonas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.zona { text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: var(--r); padding: 18px 20px; min-height: 120px; display: flex; flex-direction: column; transition: border-color .2s; }
.zona:hover { border-color: var(--blue); }
.zona b { font-size: 17px; font-weight: 800; }
.zona small { color: var(--mute); font-size: 13.5px; margin-top: 2px; flex: 1; }
.zona span { margin-top: 12px; font-size: 13.5px; font-weight: 800; color: var(--ok); }

.faq-g { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-g .btn { margin-top: 24px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc details:first-child { border-top: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 800; font-size: 17px; position: relative; min-height: 56px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 500 26px/1 var(--mono); color: var(--blue); transition: transform .2s; }
.acc details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc p { color: var(--ink2); padding: 0 40px 22px 0; }
.acc a { color: var(--blue); font-weight: 700; }

.fin { background: var(--blue); color: #fff; text-align: center; padding: clamp(64px, 9vw, 104px) 0; background-image: radial-gradient(700px 360px at 50% -10%, rgba(255, 255, 255, .16), transparent 70%); }
.fin p { margin: 16px auto 30px; max-width: 52ch; color: #DCEBF8; font-size: 17px; }
.fin small { display: block; margin-top: 22px; color: #C2DBF1; font-size: 13.5px; }
.btn-pri.lt { background: #fff; color: var(--ink); box-shadow: none; }
.btn-pri.lt:hover { background: #FFF1E8; }

.ft { background: var(--ink); color: #B9CADB; padding: 56px 0 100px; font-size: 14.5px; }
.ft-g { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ft .logo { color: #fff; margin-bottom: 14px; }
.ft h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.ft-g a:not(.logo) { display: block; text-decoration: none; padding: 5px 0; }
.ft-g p a { display: inline !important; }
.ft-g a:hover { color: #fff; }
.ft-b { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }

/* barra móvil + asistente */
.bar { display: none; }
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 9px; height: 56px; padding: 0 20px 0 16px; border: 0; border-radius: 99px; background: var(--wa); color: #fff; font-weight: 800; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .5); }
.fab svg { width: 26px; height: 26px; }
.chat { position: fixed; right: 20px; bottom: 88px; z-index: 70; width: min(380px, calc(100vw - 24px)); height: min(580px, calc(100dvh - 110px)); display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #ECE5DD; box-shadow: 0 30px 70px -20px rgba(11, 34, 57, .55); }
.chat header { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #075E54; color: #fff; }
.chat header img { border-radius: 50%; }
.chat header b { display: block; font-size: 15px; line-height: 1.2; }
.chat header small { font-size: 12px; color: #B8F0C4; }
.chat header button { margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 28px; line-height: 1; }
.chat-b { flex: 1; overflow-y: auto; padding: 14px 12px 6px; display: flex; flex-direction: column; gap: 7px; overscroll-behavior: contain; }
.mg { max-width: 86%; padding: 8px 11px; border-radius: 12px; font-size: 14.5px; line-height: 1.42; white-space: pre-line; box-shadow: 0 1px 0 rgba(0, 0, 0, .08); animation: mg .25s ease; }
@keyframes mg { from { opacity: 0; transform: translateY(8px); } }
.mg.bot { background: #fff; border-top-left-radius: 3px; align-self: flex-start; }
.mg.usr { background: #DCF8C6; border-top-right-radius: 3px; align-self: flex-end; }
.mg b { font-weight: 800; }
.mg.typing { display: inline-flex; gap: 4px; padding: 12px 13px; }
.mg.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9A9088; animation: ty 1s infinite; }
.mg.typing i:nth-child(2) { animation-delay: .15s; } .mg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ty { 30% { transform: translateY(-4px); } }
.chat-q { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 12px 8px; }
.chat-q:empty { display: none; }
.chat-q button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 99px; background: #fff; color: #075E54; font-weight: 800; font-size: 13.5px; box-shadow: 0 1px 0 rgba(0, 0, 0, .1); }
.chat-f { display: flex; gap: 8px; padding: 8px 10px 10px; background: #F0EBE4; }
.chat-f input { flex: 1; min-width: 0; height: 44px; border: 0; border-radius: 22px; padding: 0 16px; font-size: 16px; background: #fff; }
.chat-f input:focus { outline: 2px solid #075E54; }
.chat-f button { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: #075E54; color: #fff; display: grid; place-items: center; }
.chat-f svg { width: 20px; height: 20px; }

/* tablet */
@media (max-width: 980px) {
  .nav { position: fixed; inset: 68px 0 auto; flex-direction: column; gap: 0; background: #fff; color: var(--ink); padding: 8px 20px 18px; box-shadow: 0 24px 40px -24px rgba(11, 34, 57, .4); transform: translateY(-130%); transition: transform .25s; margin: 0; }
  .nav.open { transform: none; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; opacity: 1; }
  .burger { display: block; }
  .hdr-cta { margin-left: auto; }
  .hero-g, .tn, .fallas, .cap, .faq-g { grid-template-columns: 1fr; }
  .clima { max-width: 460px; width: 100%; margin: 0 auto; }
  .cards, .revs, .why { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .tn-res, .f-out { position: static; }
  .ft-g { grid-template-columns: 1fr 1fr; }
}
/* celular */
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .hdr { padding: 0 16px; gap: 10px; height: 62px; }
  .nav { inset: 62px 0 auto; }
  .hdr-cta span { display: none; } .hdr-cta { padding: 0; width: 42px; }
  .hero { padding-top: 92px; }
  .hero .btn { width: 100%; }
  .ticks { gap: 8px 16px; font-size: 13.5px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div { padding: 18px 0 18px 16px; }
  .stats div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .cards, .revs, .why, .steps, .zonas { grid-template-columns: 1fr; }
  .tn-form { padding: 18px 16px; border-radius: 16px; }
  .pasos { font-size: 11px; gap: 4px; }
  .pasos li::before { content: counter(p); } .pasos li { font-size: 0; } .pasos li::before { font-size: 12px; } .pasos li.on { font-size: 12px; flex: 3; } .pasos li.on::before { content: counter(p) ". "; }
  .opts.o2 { grid-template-columns: 1fr; }
  .opts.o2.k2 { grid-template-columns: 1fr 1fr; }
  .fields { grid-template-columns: 1fr; }
  .tn-nav .btn { flex: 1; min-width: 0; }
  .okbox div { flex-direction: column; gap: 0; } .okbox b { text-align: left; }
  .done .btn { width: 100%; }
  .f-out { padding: 22px 18px; }
  .ft-g { grid-template-columns: 1fr; gap: 26px; }
  .ft { padding-bottom: 150px; }
  .bar { position: fixed; inset: auto 0 0; z-index: 55; display: grid; grid-template-columns: 1.2fr 1fr 1fr; background: #fff; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; transform: translateY(110%); transition: transform .25s; }
  .bar.on { transform: none; }
  .bar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; border-radius: 11px; font-weight: 800; font-size: 14px; text-decoration: none; border: 1.5px solid var(--line); }
  .bar svg { width: 18px; height: 18px; }
  .bar .b-pri { background: var(--hot); color: #fff; border-color: var(--hot); }
  .fab { right: 14px; bottom: 80px; height: 52px; padding: 0 14px; }
  .fab span { display: none; }
  .chat { right: 0; left: 0; bottom: 0; width: 100%; height: min(100dvh, 640px); border-radius: 18px 18px 0 0; z-index: 80; }
}
@property --amb { syntax: "<color>"; inherits: true; initial-value: #F26B21; }

.dia:disabled { opacity: .38; cursor: not-allowed; }
