/* ==========================================================
   Khöne — Landing page aire acondicionado
   Basado en el Manual de Identidad Gráfica KHÖNE:
   · Poppins (títulos ExtraLight, párrafos Light, destacados Medium/SemiBold naranjo)
   · Black C #2D2926 · Cool Gray 1 #F7F7F7 · 2995 C #00A7E1 · Orange 021 C #FE5000
   · Textos en minúscula y alineados a la izquierda
   ========================================================== */

:root {
  --black: #2d2926;
  --gray: #f7f7f7;
  --blue: #00a7e1;
  --blue-50: #80d3f0;
  --blue-30: #b3e5f6;
  --blue-10: #e6f6fc;
  --orange: #fe5000;
  --orange-50: #ffa780;
  --orange-30: #ffcbb3;
  --orange-10: #fff0e8;

  --white: #ffffff;
  --text: #2d2926;
  --muted: #6f6a66;
  --line: #e7e5e3;

  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(45, 41, 38, .04), 0 12px 32px rgba(45, 41, 38, .07);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 300 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
b { font-weight: 500; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Iconos SVG (trazo negro grueso redondeado, como en el manual) */
.ico {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico--blue { color: var(--blue); }
.ico--orange { color: var(--orange); }
svg .fill { fill: currentColor; stroke: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 500 15px/1 var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 18px; height: 18px; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: #e04600; }
.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--line { border-color: var(--black); color: var(--black); background: transparent; }
.btn--line:hover { background: var(--black); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--orange);
}
.link .ico { width: 18px; height: 18px; transition: transform .2s; }
.link:hover .ico { transform: translateX(4px); }

/* ---------- Topbar + Header ---------- */
.topbar { background: var(--black); color: #cfcac6; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; font-weight: 500; }
.topbar a:hover { color: var(--blue-50); }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }

.logo { display: flex; align-items: center; gap: 18px; }
.logo img { width: 210px; height: auto; mix-blend-mode: multiply; }
.logo__tag {
  padding-left: 18px;
  border-left: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.3;
  letter-spacing: .04em;
  color: var(--muted);
}
.nav { display: flex; gap: 30px; }
.nav a { font-size: 14px; font-weight: 400; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--black); }

/* ---------- Tipografía de secciones ---------- */
h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 200;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h1 strong, h2 strong { font-weight: 500; }
h3 { font-size: 17px; font-weight: 500; line-height: 1.3; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
}
/* línea separadora del manual: punto + línea azul */
.eyebrow::before {
  --c: var(--blue);
  content: "";
  flex: none;
  width: 40px;
  height: 8px;
  background:
    radial-gradient(circle at 4px 50%, var(--c) 3.5px, transparent 4px),
    linear-gradient(var(--c), var(--c)) 0 50% / 100% 1px no-repeat;
}
.eyebrow--orange::before { --c: var(--orange); }
.eyebrow--light { color: var(--orange-50); }

.sep { position: relative; height: 1px; background: var(--blue); margin: 32px 0; max-width: 280px; }
.sep::before { content: ""; position: absolute; left: 0; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

.head { max-width: 680px; margin-bottom: 56px; }
.head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.head__sub { margin-top: 18px; font-size: 17px; color: var(--muted); }
.head__sub b, .hero__lead b { color: var(--orange); }

.section { padding: 112px 0; }
.section--gray { background: var(--gray); }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 80px; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }

.hero__lead { margin-top: 24px; font-size: 18px; color: var(--muted); max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 28px 0 0;
  margin: 44px 0 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.hero__badges li { display: flex; align-items: center; gap: 8px; }
.hero__badges .ico { width: 20px; height: 20px; }
.badge-a {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #00a651;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}

/* Escena de portada: muro minimalista, luz natural y flujo de aire */
.scene {
  --flow: var(--blue);
  --wall-a: #f5f6f7;
  --wall-b: #eaedef;
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1.02;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(160deg, var(--wall-a) 0%, var(--wall-b) 100%);
  transition: background .8s;
}
.scene[data-mode="heat"] { --flow: var(--orange); --wall-a: #f8f6f4; --wall-b: #efeae6; }

/* haces de luz que entran por una ventana fuera de cuadro */
.scene__light {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(118deg, transparent 30%, rgba(255, 255, 255, .85) 38%, transparent 47%),
    linear-gradient(118deg, transparent 49%, rgba(255, 255, 255, .7) 55%, transparent 63%),
    radial-gradient(60% 50% at 85% 0%, rgba(255, 255, 255, .9), transparent 70%);
  animation: light 9s ease-in-out infinite alternate;
}
@keyframes light { from { opacity: .75; transform: translateX(-2%); } to { opacity: 1; transform: translateX(2%); } }

.scene__unit {
  position: absolute;
  z-index: 1;
  top: 3%;
  left: 50%;
  width: 92%;
  max-width: none;
  transform: translateX(-50%);
  mix-blend-mode: multiply;
}
.scene__air {
  position: absolute;
  z-index: 1;
  left: 14%;
  top: 50%;
  width: 72%;
  height: 34%;
  overflow: visible;
  -webkit-mask: linear-gradient(180deg, #000 0%, transparent 95%);
          mask: linear-gradient(180deg, #000 0%, transparent 95%);
}
.scene__air path {
  fill: none;
  stroke: var(--flow);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 34 26;
  opacity: .45;
  animation: flow 3.2s linear infinite;
  transition: stroke .6s;
}
.scene__air path:nth-child(2n) { animation-delay: -1.1s; opacity: .35; }
.scene__air path:nth-child(3) { animation-delay: -.5s; }
@keyframes flow { to { stroke-dashoffset: -120; } }

.scene__floor {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16%;
  background: linear-gradient(180deg, rgba(45, 41, 38, .04), rgba(45, 41, 38, .015));
  border-top: 1px solid rgba(45, 41, 38, .06);
}

.scene__panel {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 16px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 12px 30px rgba(45, 41, 38, .08);
}
.scene__temp { display: flex; flex-direction: column; line-height: 1; }
.scene__label { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.scene__value { font-size: 44px; font-weight: 200; letter-spacing: -0.03em; color: var(--flow); transition: color .6s; }
.scene__modes { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: rgba(45, 41, 38, .06); }
.scene__mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 400 14px/1 var(--font);
  cursor: pointer;
  transition: background .25s, color .25s;
}
.scene__mode .ico { width: 16px; height: 16px; }
.scene__mode.is-active { background: #fff; color: var(--black); box-shadow: 0 2px 8px rgba(45, 41, 38, .1); }
.scene__mode.is-active[data-mode="cool"] .ico { color: var(--blue); }
.scene__mode.is-active[data-mode="heat"] .ico { color: var(--orange); }
.scene__chip {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 12.5px;
  font-weight: 500;
}
.scene__chip .ico { width: 16px; height: 16px; color: var(--blue); }

/* ---------- Franja oscura ---------- */
.strip { background: var(--black); color: #fff; }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__grid > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 20px;
  border-left: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  color: #bdb7b2;
  line-height: 1.4;
}
.strip__grid > div:first-child { border-left: 0; padding-left: 0; }
.strip__grid b { display: block; color: #fff; font-size: 14.5px; }
.strip .ico { width: 26px; height: 26px; color: var(--blue); }

/* ---------- Beneficios ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 72px; }
.stat {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--gray);
  border-top: 3px solid var(--blue);
}
.stat:nth-child(2n) { border-top-color: var(--orange); }
.stat__num { font-size: 56px; font-weight: 200; line-height: 1; letter-spacing: -0.03em; }
.stat__num small { font-size: 22px; font-weight: 300; margin-left: 4px; color: var(--muted); }
.stat__label { margin-top: 12px; font-weight: 500; font-size: 15px; line-height: 1.35; }
.stat__desc { margin-top: 10px; font-size: 14px; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 48px; }
.feature .ico { width: 30px; height: 30px; stroke-width: 2.1; margin-bottom: 16px; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--muted); }

/* ---------- Modelos ---------- */
.models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.model {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.model:hover { border-color: var(--blue-30); box-shadow: var(--shadow); transform: translateY(-4px); }
.model.is-recommended { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), var(--shadow); }
.model__flag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}
.model__media { position: relative; aspect-ratio: 10 / 9; margin: 0 0 18px; }
.model__img { position: absolute; top: 0; left: -6%; width: 112%; max-width: none; aspect-ratio: 2 / 1; object-fit: cover; mix-blend-mode: multiply; }
.model__out { position: absolute; right: 0; bottom: 0; width: 50%; mix-blend-mode: multiply; }
.model__media::after {
  content: "unidad interior + exterior";
  position: absolute;
  left: 0;
  bottom: 14%;
  font-size: 11.5px;
  color: var(--muted);
  max-width: 45%;
  line-height: 1.35;
}

/* Las fotos de producto traen fondo casi blanco: se funden con el fondo y se desvanecen en los bordes */
.scene__unit, .model__img, .model__out, .gallery__stage img, .result__model img {
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%);
}
.model__img, .result__model img {
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, #000 66%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, #000 66%, transparent 100%);
}

/* Galería de producto */
.gallery {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
}
.gallery__stage { margin: 0; position: relative; }
.gallery__stage img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: multiply; transition: opacity .25s; }
.gallery__stage img.is-fading { opacity: 0; }
.gallery__stage figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gray);
  font-size: 12.5px;
  color: var(--muted);
}
.gallery__title { font-size: 28px; font-weight: 200; line-height: 1.2; }
.gallery__title strong { font-weight: 500; }
.gallery__text { margin-top: 14px; font-size: 15px; color: var(--muted); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.thumb {
  padding: 4px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s;
}
.thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: multiply; }
.thumb:hover { border-color: #c9c4c0; }
.thumb.is-active { border-color: var(--orange); }
.thumb:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--orange-30); }
.model__btu { font-size: 40px; font-weight: 200; line-height: 1; letter-spacing: -0.02em; }
.model__btu small { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.model__area { margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--blue); }
.model__ideal { margin-top: 6px; font-size: 14px; color: var(--muted); min-height: 46px; }
.model__specs {
  list-style: none;
  padding: 16px 0 0;
  margin: 16px 0 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  flex: 1;
}
.model__specs li { display: flex; justify-content: space-between; gap: 12px; }
.model__specs span { color: var(--muted); }
.model__specs b { text-align: right; }
.model__code { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.model__actions { display: grid; gap: 8px; margin-top: auto; }
.model__price { margin-top: 16px; font-size: 26px; font-weight: 500; line-height: 1.1; color: var(--black); }
.model__price small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 4px; }
.model__price span { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.hero__campaign { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 14px; border-radius: 999px;
  background: var(--black); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero__campaign b { color: var(--blue); font-weight: 600; }
.hero__campaign i { font-style: normal; font-weight: 300; letter-spacing: 0; font-size: 15px; }

.specs { margin-top: 40px; border-top: 1px solid var(--line); }
.specs summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 22px 0;
  list-style: none;
  font-weight: 500;
  cursor: pointer;
}
.specs summary::-webkit-details-marker { display: none; }
.specs summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s;
}
.specs[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.specs__scroll { overflow-x: auto; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.specs__table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
.specs__table th, .specs__table td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.specs__table thead th { background: var(--black); color: #fff; font-weight: 500; }
.specs__table tbody th { font-weight: 400; color: var(--muted); white-space: nowrap; }
.specs__table tr.group th { background: var(--blue-10); color: var(--black); font-weight: 500; }
.specs__table tbody tr:last-child > * { border-bottom: 0; }
.specs__note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---------- Ventana Premium ---------- */
.window { background: linear-gradient(180deg, var(--blue-10) 0%, #fff 70%); }
.window__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: start; }
.window__media { position: sticky; top: 110px; margin: 0; }
.window__media img { width: 100%; border-radius: var(--radius-lg); background: #fff; }
.window__badge {
  position: absolute;
  right: 24px;
  top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
}
.window__badge b { font-size: 30px; font-weight: 300; }
.window__badge span { margin-top: 6px; opacity: .9; }

.window__list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.window__list li { display: flex; gap: 14px; font-size: 14.5px; color: var(--muted); }
.window__list .ico { width: 26px; height: 26px; color: var(--orange); }
.window__list b { display: block; color: var(--black); font-size: 15px; margin-bottom: 2px; }

.window__steps { margin-top: 40px; padding: 26px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.window__steps-title { font-weight: 500; margin-bottom: 14px; }
.window__steps ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.window__steps li { display: flex; align-items: center; gap: 14px; font-size: 14.5px; color: var(--muted); }
.window__steps li span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--orange-10);
  color: var(--orange);
  font-weight: 600;
  font-size: 13px;
}
.video { position: relative; display: block; width: 100%; margin-top: 20px; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--black); aspect-ratio: 16 / 9; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.video:hover img { opacity: 1; }
.video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.video__play svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }
.video__label { position: absolute; left: 16px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 13px; font-weight: 500; }
.video__frame { display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: 20px; border: 0; border-radius: var(--radius); }
.window__price { margin-top: 32px; font-size: 30px; font-weight: 500; line-height: 1.1; color: var(--black); }
.window__price[hidden] { display: none; }
.window__price small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 4px; }
.window__price span { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.window__actions { margin-top: 32px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.window__note { font-size: 13px; color: var(--muted); }

.compare { margin-top: 96px; }
.compare__title { font-size: 26px; font-weight: 200; margin-bottom: 20px; }
.compare__title span { font-weight: 500; }
.compare__scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-weight: 500; font-size: 15px; }
.compare thead th:nth-child(2) { color: var(--blue); }
.compare thead th:nth-child(3) { color: var(--orange); }
.compare td:first-child { color: var(--muted); width: 22%; }
.compare tbody tr:last-child td { border-bottom: 0; }
.yes { font-weight: 500; }
.yes::before { content: "✓ "; color: var(--blue); }

/* ---------- Formularios comunes ---------- */
.q + .q { margin-top: 30px; }
.q__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.q__row label, .q__label { display: block; font-size: 15px; font-weight: 500; }
.q__label { margin-bottom: 12px; }
.q__row output { font-size: 18px; font-weight: 500; color: var(--orange); }
.q__hint { margin-top: 10px; font-size: 13px; color: var(--muted); }
.opt { font-weight: 300; color: var(--muted); }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue) var(--fill, 20%), var(--line) var(--fill, 20%));
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
  box-shadow: 0 2px 8px rgba(45, 41, 38, .15);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); cursor: pointer; }
input[type="range"]:focus-visible { box-shadow: 0 0 0 4px var(--blue-30); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  color: var(--muted);
  transition: all .2s;
}
.chip span .ico { width: 17px; height: 17px; }
.chip:hover span { border-color: #c9c4c0; color: var(--black); }
.chip input:checked + span { border-color: var(--black); background: var(--black); color: #fff; font-weight: 400; }
.chip input:checked + span .ico--blue { color: var(--blue-50); }
.chip input:checked + span .ico--orange { color: var(--orange-50); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px var(--blue-30); }
.chip.is-disabled { opacity: .4; pointer-events: none; }

.check { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--black); }

input[type="text"], input[type="number"], select, textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--black);
  font: 300 15px/1.4 var(--font);
  transition: border-color .2s, box-shadow .2s;
}
select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fe5000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; padding-right: 40px; cursor: pointer; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-10); }
.is-invalid { border-color: var(--orange) !important; }

/* ---------- Calculadora ---------- */
.calc { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: start; }
.calc__form { padding: 40px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }

.result {
  position: sticky;
  top: 100px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--black);
  color: #fff;
}
.result__label { display: block; font-size: 13px; color: #a8a29d; }
.result__need { font-size: 54px; font-weight: 200; line-height: 1.1; letter-spacing: -0.02em; }
.result__need small { font-size: 16px; color: #a8a29d; font-weight: 300; }

.result__bars { margin: 22px 0 26px; display: grid; gap: 9px; }
.bar { display: grid; grid-template-columns: 96px 1fr 52px; align-items: center; gap: 10px; font-size: 12px; color: #a8a29d; }
.bar__track { height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 4px; background: var(--blue); transition: width .35s; }
.bar__fill.is-up { background: var(--orange); }
.bar__val { text-align: right; color: #fff; }

.result__model {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  color: var(--black);
}
.result__model img { width: 120px; flex: none; aspect-ratio: 2 / 1; object-fit: cover; transform: scale(1.25); mix-blend-mode: multiply; }
.result__rec { font-size: 12px; color: var(--orange); font-weight: 500; }
.result__name { font-size: 17px; font-weight: 500; line-height: 1.3; }
.result__code { font-size: 12px; color: var(--muted); }
.result__note { margin: 16px 0 0; font-size: 14px; color: #cfcac6; }
.result__note:empty { display: none; }
.result__alt {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(254, 80, 0, .12);
  border: 1px solid rgba(254, 80, 0, .35);
  font-size: 13.5px;
  color: #ead9cf;
}
.result__alt[hidden] { display: none; }
.result__alt .ico { color: var(--orange-50); }
.result__alt b { color: #fff; }
.result__alt a { color: var(--orange-50); text-decoration: underline; }
.result .btn { margin-top: 24px; }
.result__disclaimer { margin-top: 14px; font-size: 12px; color: #8f8984; }

/* ---------- Consumo ---------- */
.energy { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.energy__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; max-width: 480px; }
.energy__facts li { position: relative; padding-left: 22px; font-size: 15px; color: var(--muted); }
.energy__facts li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.energy__facts b { display: block; color: var(--orange); font-weight: 600; }
.energy__source { margin-top: 24px; font-size: 12.5px; color: var(--muted); }
.energy__source a, .branches__note a { text-decoration: underline; text-underline-offset: 2px; }
.energy__compare {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--orange-10);
  font-size: 14px;
  color: var(--black);
}
.energy__compare[hidden] { display: none; }
.energy__compare b { color: var(--orange); font-weight: 600; }
.energy__card { padding: 36px; border-radius: var(--radius-lg); background: var(--gray); }
.energy__card .chip span, .energy__card select, .energy__card input[type="number"] { background: #fff; }
.money { position: relative; }
.money span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.money input { padding-left: 32px; }
.energy__result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.energy__result .result__label { color: var(--muted); }
.energy__kwh { font-size: 34px; font-weight: 200; line-height: 1.2; }
.energy__kwh small { font-size: 14px; color: var(--muted); }
.energy__cost { font-size: 34px; font-weight: 500; line-height: 1.2; color: var(--orange); }
.energy__card .result__disclaimer { color: var(--muted); }

/* ---------- Tips ---------- */
.section--dark { background: var(--black); color: #fff; }
.tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; }
.tip { padding: 30px 26px 34px; background: var(--black); transition: background .25s; }
.tip:hover { background: #36322f; }
.tip__n { display: block; margin-bottom: 22px; font-size: 13px; font-weight: 500; color: var(--blue); }
.tip h3 { margin-bottom: 10px; font-weight: 400; font-size: 18px; }
.tip p { font-size: 14px; color: #b3ada8; }

/* ---------- Glosario / FAQ ---------- */
.glossary { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.glossary .head { margin: 0; }
.glossary__img { width: 220px; margin-top: 40px; mix-blend-mode: multiply; }
.glossary__list { border-top: 1px solid var(--line); }
.glossary__list details { border-bottom: 1px solid var(--line); }
.glossary__list summary {
  position: relative;
  list-style: none;
  padding: 24px 44px 24px 0;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
}
.glossary__list summary::-webkit-details-marker { display: none; }
.glossary__list summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background:
    linear-gradient(var(--orange), var(--orange)) center / 14px 2px no-repeat,
    linear-gradient(var(--orange), var(--orange)) center / 2px 14px no-repeat;
  transition: transform .25s;
}
.glossary__list details[open] summary::after { transform: rotate(45deg); }
.glossary__list details p { padding: 0 44px 26px 0; color: var(--muted); }

/* ---------- Sucursales ---------- */
.branch-filter { align-self: flex-end; }
.support {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.support__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--gray);
}
.support__item small { display: block; font-size: 12px; color: var(--muted); }
.support__item a { font-weight: 500; }
.support__item a:hover { color: var(--orange); }
.support__ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--blue); color: #fff; }
.support__ico--wa { background: #25d366; }

.branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.branch {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.branch:hover { border-color: var(--blue-30); box-shadow: var(--shadow); }
.branch[hidden] { display: none; }
.branch__zone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
}
.branch__zone::before {
  content: "";
  width: 32px;
  height: 8px;
  background:
    radial-gradient(circle at 4px 50%, var(--blue) 3.5px, transparent 4px),
    linear-gradient(var(--blue), var(--blue)) 0 50% / 100% 1px no-repeat;
}
.branch h3 { margin: 14px 0 4px; font-size: 24px; font-weight: 200; }
.branch__type { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.branch__row { display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.branch__row + .branch__row { margin-top: 8px; }
.branch__row .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--black); }
.branch__row a:hover { color: var(--orange); }
.branch__map { margin-top: auto; padding-top: 18px; }
.branch__map a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--orange); }
.branch__map .ico { width: 16px; height: 16px; }
.branches__note { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ---------- Contacto ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact__channels { display: grid; gap: 14px; margin-top: 36px; }
.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  font-size: 18px;
  font-weight: 400;
  transition: border-color .2s, transform .2s;
}
.channel:hover { border-color: var(--black); transform: translateX(4px); }
.channel small { display: block; font-size: 12px; color: var(--muted); }
.channel__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue); color: #fff; }
.channel__ico--wa { background: #25d366; }
.contact__form { padding: 36px; border-radius: var(--radius-lg); background: var(--gray); }
.contact__form .q + .q { margin-top: 22px; }
.contact__error { margin-top: 18px; font-size: 14px; color: var(--orange); }
.contact__error[hidden] { display: none; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: #b3ada8; padding: 56px 0; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer__logo { width: 200px; filter: invert(1); mix-blend-mode: screen; }
.footer__tag { margin-top: 14px; font-size: 13px; line-height: 1.5; }
.footer__nav, .footer__contact { display: grid; gap: 10px; align-content: start; }
.footer a:hover { color: #fff; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.footer__legal span { margin-right: auto; }
.footer__link { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.footer__link:hover { color: #fff; }

/* ---------- Aviso de cookies ---------- */
.cookies {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 70;
  max-width: 460px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}
.cookies[hidden] { display: none; }
.cookies a { color: var(--blue); text-decoration: underline; }
.cookies__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }

/* ---------- Página legal ---------- */
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: 40px; font-weight: 500; line-height: 1.15; margin-bottom: 8px; }
.legal h2 { font-size: 22px; font-weight: 500; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--text); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0 20px; display: grid; gap: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--gray); font-weight: 500; }
.legal a { color: var(--blue); text-decoration: underline; }
.legal__date { color: var(--muted); font-size: 14px; }
.legal__note { margin-top: 24px; padding: 16px 20px; border-radius: var(--radius); background: #fff4e5; font-size: 14px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .4);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float .ico { width: 30px; height: 30px; stroke-width: 1.7; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .hero__grid, .window__grid, .calc, .energy, .glossary, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .scene { max-width: 640px; }
  .gallery { grid-template-columns: 1fr; gap: 24px; }
  .gallery__thumbs { grid-template-columns: repeat(5, 1fr); }
  .branches { grid-template-columns: repeat(2, 1fr); }
  .support { grid-template-columns: 1fr; }
  .models, .stats { grid-template-columns: repeat(2, 1fr); }
  .tips { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .strip__grid > div { border-left: 0; padding-left: 0; }
  .window__media, .result { position: static; }
  .window__media { max-width: 560px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .cookies { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .legal h1 { font-size: 30px; }
  .topbar__right { display: none; }
  .header__inner { height: 70px; }
  .logo img { width: 128px; }
  .logo__tag { display: none; }
  .hero { padding: 28px 0 56px; }
  .hero__lead { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .scene { aspect-ratio: 1 / 1.15; }
  .scene__unit { top: 10%; width: 100%; }
  .scene__air { top: 44%; }
  .scene__panel { left: 12px; right: 12px; bottom: 12px; padding: 12px 12px 12px 16px; }
  .scene__value { font-size: 34px; }
  .scene__mode { padding: 8px 12px; font-size: 13px; }
  .scene__chip { top: 12px; right: 12px; }
  .gallery { padding: 14px; }
  .gallery__thumbs { gap: 6px; }
  .gallery__title { font-size: 24px; }
  .branches { grid-template-columns: 1fr; }
  .branch-filter { align-self: flex-start; }
  .footer__logo { width: 170px; }
  .section { padding: 72px 0; }
  .head { margin-bottom: 36px; }
  .models, .stats, .features, .tips, .strip__grid, .window__list, .footer__grid { grid-template-columns: 1fr; }
  .stats { margin-bottom: 48px; }
  .strip__grid > div { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .strip__grid > div:first-child { border-top: 0; }
  .calc__form, .result, .energy__card, .contact__form { padding: 24px 20px; }
  .result__need { font-size: 44px; }
  .result__model img { width: 84px; }
  .bar { grid-template-columns: 84px 1fr 46px; }
  .energy__result { grid-template-columns: 1fr; }
  .compare { margin-top: 64px; }
  .contact__actions .btn { flex: 1 1 100%; }
  .window__badge { right: 14px; top: 14px; padding: 12px 14px; }
  .window__badge b { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
