/* Protecho Roofing Solutions — estilos */
:root {
  --navy: #0B2465;
  --navy-2: #123A8C;
  --blue: #1E5BC6;
  --blue-2: #8EC5FF;
  --sky: #EEF4FD;
  --gold: #FFC20E;
  --gold-hover: #FFD447;
  --wa: #1DA851;
  --wa-dark: #178A43;
  --ink: #142042;
  --muted: #4A5878;
  --line: #D6E0F0;
  --white: #fff;
  --danger: #B91C1C;
  --lilac: #C9D8F5;
  --night: linear-gradient(160deg, #071A4D 0%, #0B2465 55%, #123A8C 100%);
  --foot: #071A4D;
  --radius: 18px;
  --shadow: 0 18px 50px -18px rgba(10, 26, 68, .35);
  --grad: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 45%, var(--blue) 100%);
  --font: 'Lexend', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-h: 'Montserrat', 'Lexend', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
html, body { overflow-x: clip; }
h1, h2, h3, p, li, a, span, strong, small, blockquote { overflow-wrap: break-word; }
a { color: var(--blue); }
svg { width: 1.2em; height: 1.2em; flex: none; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.wrap { width: min(1220px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(860px, 100% - 40px); }
.center { display: flex; justify-content: center; margin-top: 40px; }
.center-text { text-align: center; margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 16px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 12px 22px; border-radius: 14px; border: 2px solid transparent; font-weight: 700; font-size: 1.05rem; text-decoration: none; line-height: 1.2; transition: background .2s, transform .15s, box-shadow .2s, color .2s; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn--cta { background: linear-gradient(180deg, var(--gold-hover), var(--gold)); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(255, 194, 14, .9), inset 0 1px 0 rgba(255,255,255,.5); }
.btn--cta:hover { background: var(--gold-hover); }
.btn--primary { background: var(--grad); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--light:hover { background: rgba(255,255,255,.22); }
.btn--sm { min-height: 46px; padding: 10px 16px; font-size: 1rem; }
.btn--lg { min-height: 60px; padding: 14px 28px; font-size: 1.15rem; }
.btn--xl { min-height: 68px; padding: 16px 36px; font-size: 1.3rem; }
.btn--block { width: 100%; }

/* Barra superior */
.topbar { background: var(--navy); color: #fff; font-size: .95rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; padding: 6px 0; }
.topbar__promo, .topbar__help { display: inline-flex; align-items: center; gap: 8px; }
.topbar__promo svg { color: var(--gold); }
.topbar__help { color: #fff; text-decoration: none; }
.topbar__help strong { color: var(--gold-hover); }
.topbar__help strong { white-space: nowrap; }
.topbar__help { flex-wrap: wrap; justify-content: center; column-gap: 6px; row-gap: 0; text-align: center; }

/* Encabezado */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.6); box-shadow: 0 1px 0 rgba(11,36,101,.06), 0 8px 24px -18px rgba(11,36,101,.35); }
.header__in { display: flex; align-items: center; gap: 20px; min-height: 80px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex: none; }
.brand__logo { width: 56px; height: 56px; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__word { font-family: var(--font-h); font-weight: 900; font-size: 1.6rem; letter-spacing: .01em; background: linear-gradient(180deg, var(--navy-2), var(--navy)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__sub { font-family: var(--font-h); font-weight: 700; font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--navy); margin-top: 5px; border-top: 2px solid var(--gold); padding-top: 4px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 10px 11px; border-radius: 10px; white-space: nowrap; }
.nav a:hover { background: var(--sky); color: var(--blue); }
.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header__actions .btn { white-space: nowrap; }
.header__phone { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); padding: 4px 8px; }
.header__phone svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--sky); color: var(--blue); }
.header__phone span { display: flex; flex-direction: column; line-height: 1.15; }
.header__phone small { font-size: .8rem; color: var(--muted); }
.header__phone strong { font-size: 1.1rem; white-space: nowrap; }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn span { width: 22px; height: 2.5px; background: var(--navy); border-radius: 2px; }
.mobile-nav { display: flex; flex-direction: column; padding: 8px 20px 16px; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav a { padding: 14px 4px; font-size: 1.15rem; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line); }

/* Portada */
.hero { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: #cfd6de; }
.hero__img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.hero__water { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,26,68,.88) 0%, rgba(10,26,68,.72) 38%, rgba(10,26,68,.25) 64%, rgba(10,26,68,.08) 100%), linear-gradient(0deg, rgba(10,26,68,.35), transparent 40%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: start; padding: 48px 0 56px; }
.hero__copy { padding-top: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; color: var(--blue); margin: 0 0 10px; }
.eyebrow--light { color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: 8px 14px; border-radius: 999px; }
.eyebrow--light svg { color: var(--gold-hover); }
.eyebrow--warn { color: var(--danger); }
.hero__title { font-family: var(--font-h); font-weight: 900; text-transform: uppercase; font-size: clamp(2.4rem, 5.2vw, 4.3rem); line-height: .98; margin: 14px 0 14px; letter-spacing: -.01em; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero__title span { display: block; background: linear-gradient(90deg, #fff 0%, #CFE2FF 50%, #8FBFFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__claim { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; margin: 0 0 8px; }
.hero__lead { font-size: 1.15rem; max-width: 36em; margin: 0 0 12px; color: rgba(255,255,255,.92); }
.hero__strong { font-size: 1.25rem; font-weight: 800; margin: 0 0 18px; }
.hero__strong mark { background: var(--gold); color: var(--navy); padding: 0 8px; border-radius: 6px; }
.chips { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.chips li { display: flex; align-items: flex-start; gap: 8px; font-weight: 600; font-size: 1.02rem; line-height: 1.35; }
.chips svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--gold); color: var(--navy); margin-top: 1px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__facts span { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); padding: 8px 14px; border-radius: 12px; font-weight: 600; backdrop-filter: blur(4px); }

/* Calendario */
.booking { background: #fff; color: var(--ink); border-radius: 24px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.5); padding: 24px; border-top: 6px solid var(--gold); }
.booking__head h2 { font-family: var(--font-h); font-weight: 800; font-size: 1.55rem; color: var(--navy); margin: 0; line-height: 1.2; }
.booking__head p { margin: 4px 0 14px; color: var(--muted); font-size: 1rem; }
.demo-flag { background: #FFF6DD; border: 1.5px dashed #C98A00; color: #6B4700; border-radius: 12px; padding: 10px 14px; font-size: .95rem; line-height: 1.4; margin-bottom: 14px; }
.demo-flag strong { display: block; letter-spacing: .06em; }
.step { margin-top: 10px; }
.step + .step { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.step__title { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 800; color: var(--navy); margin: 0 0 12px; }
.step__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 1rem; }
.days-nav { display: flex; align-items: stretch; gap: 8px; }
.days { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; min-height: 108px; }
.day { border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 10px 4px; color: var(--navy); text-align: center; transition: border-color .15s, background .15s; }
.day:hover { border-color: var(--blue); }
.day[aria-pressed="true"] { background: var(--grad); border-color: var(--navy); color: #fff; box-shadow: 0 10px 20px -10px rgba(16,41,107,.8); }
.day__wd { display: block; font-size: 1rem; font-weight: 700; }
.day__num { display: block; font-size: 2rem; font-weight: 800; line-height: 1.1; font-family: var(--font-h); }
.day__mo { display: block; font-size: .95rem; text-transform: capitalize; }
.days-arrow { width: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--sky); color: var(--navy); display: grid; place-items: center; }
.days-arrow:hover { border-color: var(--blue); }
.loading, .times-label { color: var(--muted); margin: 0 0 10px; font-size: 1.05rem; grid-column: 1 / -1; }
.times-label strong { color: var(--navy); text-transform: capitalize; }
.times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.time { min-height: 56px; border-radius: 14px; border: 1.5px solid rgba(29,79,191,.4); background: #fff; color: var(--navy); font-weight: 700; font-size: 1.15rem; transition: background .15s, color .15s; }
.time:hover, .time:focus-visible { background: var(--blue); color: #fff; border-color: var(--blue); }
.hint { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; color: var(--muted); margin: 12px 0 0; }
.hint svg { color: var(--blue); margin-top: 3px; }
.fallback { grid-column: 1 / -1; }
.fallback p { margin: 0 0 10px; color: var(--muted); }
.booking__alt { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 1rem; }
.booking__alt > span { font-weight: 700; color: var(--navy); }
.booking__alt-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 8px; margin: 10px 0; }
.booking__alt-btns .btn { white-space: nowrap; padding-inline: 14px; }
.booking__247 { display: block; color: var(--muted); text-decoration: none; font-size: .95rem; line-height: 1.5; }
.booking__247 svg { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.booking__247 strong { color: var(--navy); }

/* Secciones */
.section { padding: 88px 0; }
.section--tint { background: linear-gradient(180deg, var(--sky), #F6F9FF); }
.h2 { font-family: var(--font-h); font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.12; color: var(--navy); margin: 0 0 18px; letter-spacing: -.01em; }
.h2--light { color: #fff; }
.h3 { font-size: 1.25rem; color: var(--navy); margin: 22px 0 10px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.fineprint { color: var(--muted); font-size: .98rem; margin-top: 20px; }
#como-funciona .eyebrow, #como-funciona .h2, #garantia .eyebrow, #garantia .h2, #galeria .eyebrow, #galeria .h2, #opiniones .eyebrow, #opiniones .h2, .danger .eyebrow, .danger .h2, #preguntas .eyebrow, #preguntas .h2 { display: flex; justify-content: center; text-align: center; }
#garantia .fineprint, #galeria .fineprint { text-align: center; }

/* Cómo funciona */
.steps3 { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps3 li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px 28px; text-align: center; box-shadow: var(--shadow); }
.steps3 li:not(:last-child)::after { content: ''; position: absolute; top: 76px; right: -26px; width: 28px; height: 3px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 10px); }
.steps3__icon { position: relative; width: 104px; height: 104px; margin: 0 auto 18px; border-radius: 30px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 30px -14px rgba(16,41,107,.9); }
.steps3__icon svg { width: 52px; height: 52px; }
.steps3__icon span { position: absolute; top: -10px; right: -10px; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 900; display: grid; place-items: center; font-size: 1.15rem; border: 3px solid #fff; }
.steps3 h3 { font-size: 1.4rem; color: var(--navy); margin: 0 0 8px; }
.steps3 p { margin: 0; color: var(--muted); font-size: 1.08rem; }

/* Placas solares */
.solar { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.solar__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.solar__media button { padding: 0; border: 0; background: none; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.solar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.solar__media button:hover img { transform: scale(1.03); }
.solar__big { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.solar__small { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.tag-illus { position: absolute; left: 12px; top: 12px; background: rgba(10,26,68,.75); color: #fff; font-size: .8rem; padding: 4px 10px; border-radius: 999px; }
.offer { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.offer li { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font-weight: 600; font-size: 1.08rem; }
.offer svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--sky); color: var(--blue); }

/* Garantías */
.warranties { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 36px; max-width: 920px; margin-inline: auto; }
.warranty { position: relative; overflow: hidden; border-radius: 24px; padding: 30px 28px; background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.warranty::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 18px solid rgba(229,168,35,.35); }
.warranty__big { font-family: var(--font-h); font-weight: 900; font-size: 4rem; line-height: 1; color: var(--gold-hover); }
.warranty__unit { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; }
.warranty h3 { font-size: 1.35rem; margin: 16px 0 6px; display: flex; gap: 8px; align-items: center; }
.warranty p { margin: 0; color: rgba(255,255,255,.88); }

/* Financiamiento */
.finance { background: var(--grad); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.finance::before { content: ''; position: absolute; inset: auto -10% -60% auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(61,134,240,.5), transparent 65%); }
.finance__in { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; }
.finance__icon { width: 110px; height: 110px; border-radius: 30px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; color: var(--gold-hover); }
.finance__icon svg { width: 58px; height: 58px; }
.finance__copy .h2 { margin-bottom: 14px; }
.finance__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; font-size: 1.1rem; font-weight: 600; }
.finance__list li { display: flex; align-items: center; gap: 10px; }
.finance__list svg { color: var(--gold-hover); }
.finance__cta { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.finance__cta small { color: rgba(255,255,255,.8); font-size: .9rem; max-width: 18em; }

/* Galería */
.ba { position: relative; max-width: 980px; margin: 36px auto 28px; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow); user-select: none; touch-action: pan-y; background: #ccd; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 4px; margin-left: -2px; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.4); }
.ba__handle::after { content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; font-weight: 900; font-size: 1.4rem; box-shadow: var(--shadow); }
.ba__label { position: absolute; bottom: 14px; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: .95rem; background: rgba(10,26,68,.8); color: #fff; }
.ba__label--a { left: 14px; }
.ba__label--b { right: 14px; background: var(--gold); color: var(--navy); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__note { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); background: rgba(10,26,68,.7); color: #fff; font-size: .8rem; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.filter { min-height: 46px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-weight: 700; }
.filter.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery button { position: relative; padding: 0; border: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sky); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery__zoom { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); display: grid; place-items: center; }
.gallery__tag { position: absolute; left: 10px; top: 10px; background: rgba(10,26,68,.75); color: #fff; font-size: .78rem; padding: 3px 9px; border-radius: 999px; }
.gallery__mun { position: absolute; left: 10px; bottom: 10px; background: #fff; color: var(--navy); font-weight: 700; font-size: .85rem; padding: 3px 10px; border-radius: 999px; }

/* Opiniones */
.rating { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 26px; }
.stars { display: inline-flex; color: var(--gold); }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; font-size: 1.1rem; }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; overflow: hidden; }
.review__who small { display: block; color: var(--muted); }
.reviews-empty { grid-column: 1 / -1; text-align: center; background: #fff; border: 2px dashed var(--line); border-radius: 22px; padding: 40px 24px; max-width: 760px; margin: 0 auto; }
.reviews-empty .stars svg { width: 34px; height: 34px; }
.reviews-empty h3 { color: var(--navy); font-size: 1.35rem; margin: 12px 0 6px; }
.reviews-empty p { color: var(--muted); margin: 0; }
#review-actions { gap: 12px; flex-wrap: wrap; }
#review-actions:empty { display: none; }

/* Daños */
.danger { background: linear-gradient(180deg, #fff, #FFF6F4); }
.damage { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.damage li { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid #F1D8D3; box-shadow: 0 14px 34px -20px rgba(120,20,10,.45); }
.damage img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.damage div { padding: 14px 16px 18px; }
.damage h3 { margin: 0 0 4px; font-size: 1.12rem; color: var(--navy); line-height: 1.25; }
.damage p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.45; }

/* Preguntas */
.faq { margin-top: 30px; display: grid; gap: 12px; }
.faq details { border: 1.5px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.faq details[open] { border-color: var(--blue); box-shadow: var(--shadow); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 1.15rem; color: var(--navy); cursor: pointer; min-height: 64px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--sky); color: var(--blue); transition: transform .25s; }
.faq details[open] summary svg { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--muted); font-size: 1.08rem; }

/* Final */
.final { background: var(--night); color: #fff; padding: 80px 0; text-align: center; border-top: 4px solid var(--gold); }
.final__in { display: flex; flex-direction: column; align-items: center; }
.final img { width: 88px; height: 88px; margin-bottom: 16px; }
.final p { font-size: 1.15rem; max-width: 36em; color: rgba(255,255,255,.9); margin: 0 0 26px; }
.final__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Pie */
.footer { background: var(--foot); color: var(--lilac); padding: 64px 0 24px; font-size: 1rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr; gap: 36px; }
.footer__grid > * { min-width: 0; }
.footer__contact a { overflow-wrap: anywhere; }
.footer h3 { color: #fff; font-size: 1.1rem; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--lilac); text-decoration: none; }
.footer a:hover { color: var(--gold-hover); }
.brand--footer .brand__word { background: none; color: #fff; }
.brand--footer .brand__sub { color: rgba(255,255,255,.85); }
.brand--footer .brand__logo { width: 64px; height: 64px; }
.footer__area { display: flex; gap: 8px; align-items: center; color: var(--gold-hover); font-weight: 600; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { margin-top: 4px; color: var(--gold-hover); }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a, .social span { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; }
.social span { opacity: .75; cursor: default; }
.social svg { width: 24px; height: 24px; }
.daco { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.daco__seal { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; border: 3px double var(--gold-hover); color: #fff; font-family: var(--font-h); font-weight: 900; font-size: .85rem; letter-spacing: .06em; background: radial-gradient(circle, var(--navy-2), #071233); }
.daco small { display: block; color: rgba(255,255,255,.7); }
.footer__legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; text-align: center; font-size: .95rem; color: rgba(255,255,255,.7); }

/* Barra inferior móvil */
.mobilebar { display: none; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7,18,51,.7); backdrop-filter: blur(3px); }
.modal__panel { position: relative; background: #fff; border-radius: 24px; width: min(640px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 24px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.6); }
.modal__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.modal__head h2 { font-family: var(--font-h); font-size: 1.5rem; color: var(--navy); margin: 0; }
.modal__head p { margin: 4px 0 0; color: var(--muted); }
.modal__head p strong { color: var(--navy); }
.modal__close { flex: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; color: var(--navy); font-size: 1.02rem; padding: 0; margin-bottom: 6px; }
.field input, .field select { width: 100%; min-height: 54px; border-radius: 12px; border: 1.5px solid var(--line); padding: 10px 14px; font: inherit; font-size: 1.08rem; color: var(--ink); background: #fff; }
.field input:focus, .field select:focus { border-color: var(--blue); outline: 3px solid rgba(61,134,240,.25); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.radios { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.radios label { position: relative; display: flex; }
.radios input { position: absolute; opacity: 0; }
.radios span { flex: 1; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 44px; font-weight: 600; font-size: 1rem; line-height: 1.3; cursor: pointer; position: relative; min-height: 56px; display: flex; align-items: center; }
.radios span::before { content: ''; position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: 2px solid var(--line); }
.radios input:checked + span { border-color: var(--blue); background: var(--sky); color: var(--navy); }
.radios input:checked + span::before { border: 6px solid var(--blue); }
.radios input:focus-visible + span { outline: 3px solid var(--blue-2); }
.consent { display: flex; gap: 12px; align-items: flex-start; background: var(--sky); border-radius: 12px; padding: 14px; font-size: .98rem; line-height: 1.45; cursor: pointer; }
.consent input { width: 24px; height: 24px; flex: none; margin-top: 2px; accent-color: var(--blue); }
.form__error { color: var(--danger); font-weight: 700; margin: 0; }
.form__note { text-align: center; color: var(--muted); font-size: .92rem; margin: 0; }
.modal__panel { transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .2s ease; }
.modal:not(.is-open) .modal__panel { transform: translateY(18px) scale(.985); opacity: 0; }
.modal__backdrop { transition: opacity .2s ease; }
.modal:not(.is-open) .modal__backdrop { opacity: 0; }
.modal--cal .modal__panel { width: min(780px, 100%); padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.modal--cal .modal__head { margin: 0; padding: 18px 22px; background: var(--grad); color: #fff; align-items: center; }
.modal--cal .modal__head h2 { color: #fff; font-size: 1.3rem; }
.modal--cal .modal__head p, .modal--cal .modal__head p strong { color: rgba(255,255,255,.92); }
.modal--cal .modal__close { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.linkbtn { background: none; border: 0; padding: 0; margin-top: 4px; font: inherit; font-weight: 700; color: var(--gold-hover); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cal-step { position: relative; display: flex; flex-direction: column; min-height: 0; flex: 1; }
.cal-frame { position: relative; flex: 1; background: #fff; }
.cal-step iframe { display: block; width: 100%; height: min(720px, calc(100dvh - 190px)); border: 0; transition: opacity .25s ease; }
.cal-step.is-loading iframe { opacity: 0; }
.cal-skel, .cal-loading-text { display: none; }
.cal-step.is-loading .cal-skel { display: grid; gap: 14px; position: absolute; inset: 0; padding: 28px 26px; align-content: start; }
.cal-step.is-loading .cal-loading-text { display: block; position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: var(--muted); font-weight: 600; margin: 0; }
.cal-skel span { display: block; border-radius: 10px; background: linear-gradient(90deg, #EEF3FB 0%, #F8FAFE 40%, #EEF3FB 80%) 0 0 / 200% 100%; animation: shimmer 1.1s linear infinite; }
.cal-skel__bar { height: 18px; } .cal-skel__bar.w60 { width: 60%; height: 24px; } .cal-skel__bar.w40 { width: 40%; margin-bottom: 10px; }
.cal-skel__field { height: 52px; } .cal-skel__field.tall { height: 96px; }
.cal-skel__btn { height: 52px; width: 200px; border-radius: 999px !important; background: linear-gradient(90deg, #D8E4FA 0%, #E9F1FD 40%, #D8E4FA 80%) 0 0 / 200% 100% !important; }
@keyframes shimmer { to { background-position: -200% 0; } }
.cal-help { text-align: center; font-size: .95rem; color: var(--muted); margin: 0; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.modal--cal .done { padding: 28px 22px; }
.done { text-align: center; padding: 10px 0; }
.done__icon { width: 84px; height: 84px; border-radius: 50%; background: #DCFCE7; color: #15803D; display: grid; place-items: center; margin: 0 auto 14px; }
.done__icon svg { width: 44px; height: 44px; }
.done h3 { font-family: var(--font-h); color: var(--navy); font-size: 1.5rem; margin: 0 0 8px; }
.done p { color: var(--muted); margin: 0 0 20px; }

/* Visor */
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(5,12,34,.94); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100dvh - 120px); border-radius: 12px; object-fit: contain; }
.lightbox figcaption { color: #fff; margin-top: 12px; text-align: center; font-size: 1.05rem; }
.lightbox__close, .lightbox__nav { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; display: grid; place-items: center; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox svg { width: 28px; height: 28px; }

/* Páginas legales */
.legal { padding: 56px 0 80px; }
.legal h1 { font-family: var(--font-h); color: var(--navy); font-size: clamp(2rem, 4vw, 2.6rem); }
.legal h2 { color: var(--navy); font-size: 1.3rem; margin-top: 32px; }
.legal p, .legal li { color: var(--muted); }

/* Adaptable */
/* Encabezado: reparte el espacio sin desbordar */
.header .wrap { width: min(1440px, 100% - 40px); }
.header .hide-md { display: none; }
.nav { gap: 2px; }
.header__in { gap: 16px; }
.nav a { padding: 10px 8px; font-size: .96rem; }
.header__actions { gap: 8px; }
@media (min-width: 1280px) and (max-width: 1379px) {
  .header .btn--wa { width: 46px; padding: 0; }
  .header .btn--wa .hide-sm { display: none; }
}
@media (max-width: 1499px) {
  .header__phone { display: none; }
}
@media (max-width: 1279px) {
  .nav { display: none; }
  .menu-btn { display: flex; }
  .header__actions { margin-left: auto; }
  .header__phone { display: flex; }
}
@media (max-width: 999px) {
  .header__phone { display: none; }
}
@media (max-width: 1024px) and (min-width: 761px) {
  .solar__media { grid-template-columns: 1fr 1fr; }
  .solar__big, .solar__small { grid-column: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 1024px) {
  .topbar__promo { display: none; }
  .topbar__in { justify-content: center; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 44px; }
  .hero__shade { background: linear-gradient(180deg, rgba(10,26,68,.82) 0%, rgba(10,26,68,.6) 45%, rgba(10,26,68,.35) 100%); }
  .booking { max-width: 640px; width: 100%; margin-inline: auto; }
  .solar { grid-template-columns: 1fr; gap: 36px; }
  .damage { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .finance__in { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .finance__list { text-align: left; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  html { scroll-padding-top: 76px; }
  .topbar__promo { display: none; }
  .topbar__in { justify-content: center; }
  .header__in { min-height: 68px; gap: 10px; }
  .brand__logo { width: 46px; height: 46px; }
  .brand__word { font-size: 1.3rem; }
  .brand__sub { font-size: .52rem; letter-spacing: .2em; }
  .header__phone, .header .btn--cta, .hide-sm { display: none; }
  .header .btn--wa { width: 48px; padding: 0; }
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand__name { min-width: 0; }
  .hero__title { font-size: clamp(2.2rem, 10vw, 3rem); }
  .chips { grid-template-columns: 1fr; }
  .hero__facts { display: none; }
  .booking { padding: 18px 14px; border-radius: 20px; }
  .days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .days-arrow { width: 38px; }
  .times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 64px 0; }
  .steps3 { grid-template-columns: 1fr; }
  .steps3 li:not(:last-child)::after { display: none; }
  .damage { grid-template-columns: 1fr 1fr; }
  .damage li:last-child { grid-column: 1 / -1; }
  .damage li:last-child img { aspect-ratio: 2 / 1; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .finance__list { grid-template-columns: 1fr; }
  .field-row, .radios { grid-template-columns: 1fr; }
  .modal { padding: 0; align-items: end; }
  .modal__panel { border-radius: 22px 22px 0 0; max-height: 94dvh; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
  .modal--cal .modal__panel { padding: 0; height: 94dvh; }
  .modal--cal .modal__head { padding: 14px 16px; }
  .cal-step iframe { height: calc(94dvh - 150px); }
  .modal:not(.is-open) .modal__panel { transform: translateY(40px); }
  .footer__grid { grid-template-columns: 1fr; }
  .lightbox__nav { top: auto; bottom: 20px; transform: none; }
  .ba { aspect-ratio: 4 / 3; }
  .mobilebar { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(10,26,68,.18); }
  .mobilebar a { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; border-radius: 14px; text-decoration: none; font-weight: 800; font-size: 1rem; background: var(--navy); color: #fff; }
  .mobilebar a span { font-size: 1.3rem; line-height: 1; }
  .mobilebar svg { width: 22px; height: 22px; }
  .mobilebar__wa { background: var(--wa) !important; }
  .mobilebar__cta { background: linear-gradient(180deg, var(--gold-hover), var(--gold)) !important; color: var(--navy) !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media (max-width: 360px) {
  .wrap, .wrap--narrow { width: calc(100% - 28px); }
  .brand__logo { width: 40px; height: 40px; }
  .brand__word { font-size: 1.15rem; }
  .brand__sub { font-size: .48rem; letter-spacing: .14em; }
  .header__in { gap: 8px; }
  .days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__title { font-size: 2rem; }
  .mobilebar { gap: 6px; padding-inline: 8px; }
  .mobilebar a { font-size: .92rem; }
  .gallery { grid-template-columns: 1fr; }
  .damage { grid-template-columns: 1fr; }
}

/* ===== Estilo de campaña (títulos fuertes, secciones alternadas) ===== */
.h2 { font-weight: 800; text-wrap: balance; }
.h2--light, .hero__title, .final .h2 { text-shadow: 0 2px 18px rgba(0,0,0,.28); }
.final .h2 { text-transform: uppercase; font-weight: 900; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.02; }
.section--tint { background: var(--sky); }
#opiniones { background: var(--night); color: #fff; }
#opiniones > .wrap > .h2, #opiniones .rating { color: #fff; }
#opiniones > .wrap > .eyebrow { color: var(--gold); }
#opiniones .review, #opiniones .reviews-empty { color: var(--ink); }
.eyebrow { color: var(--blue); }
.hero__title span.hero__solar { font-size: .52em; margin-top: 10px; background: none; -webkit-text-fill-color: var(--gold); color: var(--gold); letter-spacing: .01em; }
.solar__steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; counter-reset: ss; }
.solar__steps li { counter-increment: ss; display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.solar__steps li::before { content: counter(ss); flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 900; font-family: var(--font-h); }
.solar__note { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 14px; padding: 14px 16px; margin: 0 0 22px; }
.solar__note svg { width: 32px; height: 32px; color: var(--blue); }
.solar__note p { margin: 0; color: var(--ink); }
@media (max-width: 767px) {
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .mobilebar { left: 10px !important; right: 10px !important; bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important; padding: 6px !important; border-radius: 20px; background: rgba(11,36,101,.9) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(142,197,255,.2); box-shadow: 0 18px 40px -14px rgba(11,36,101,.6) !important; }
  .mobilebar a { background: rgba(255,255,255,.1); }
}
