/* ==========================================================================
   TAHUX — Alta tecnología al alcance de todos
   Basado en el Manual de Marca: negro profundo #0A0F1C, azul eléctrico #007BFF,
   naranja vibrante #FF6600. Sans-serif moderna (Montserrat). Fondos claros.
   Estructura y ritmo inspirados en whiteharrington.com.
   ========================================================================== */

:root {
  --navy: #0A0F1C;
  --blue: #007BFF;
  --orange: #FF6600;

  --bg: #fff;
  --surface: #f4f6fa;
  --surface-2: #e8ecf3;
  --line: rgba(10, 15, 28, 0.1);
  --line-strong: rgba(10, 15, 28, 0.24);
  --text: #0A0F1C;
  --muted: #566074;
  --dim: #8a93a6;

  --radius: 28px;
  --nav-h: 60px;
  --container: 1200px;
  --gutter: clamp(22px, 5vw, 56px);
  --section: clamp(88px, 12vw, 168px);
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
  --font: "Montserrat", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.008em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--orange); color: #fff; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 18px; border-radius: 999px;
  background: var(--navy); color: #fff; font-size: 0.82rem; font-weight: 600;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- Tipografía ---------- */

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px; height: 3px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--orange);
  border-radius: 2px;
}

.section__title, .hero__title, .cta__title {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
}
.section__title span, .hero__title span, .cta__title span { color: var(--dim); }
.section__title { font-size: clamp(2rem, 4.6vw, 3.8rem); }

.section__lead {
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.55;
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35em;
  min-height: 48px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 0.95rem; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--solid { background: var(--navy); color: #fff; }
.btn--solid:hover { background: var(--orange); color: var(--navy); }
.btn--text { padding: 0 4px; color: var(--text); font-weight: 600; }
.btn--text span {
  display: inline-block; font-size: 1.35em; line-height: 1; color: var(--blue);
  transition: transform 0.3s var(--ease);
}
.btn--text:hover span { transform: translateX(4px); }

.section--dark .btn--solid { background: #fff; color: var(--navy); }
.section--dark .btn--solid:hover { background: var(--orange); color: var(--navy); }

/* ---------- Navegación ---------- */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.nav__inner { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); height: var(--nav-h); }

.logo {
  display: inline-flex; flex-shrink: 0; margin-right: auto;
  font-size: 1.55rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  color: var(--navy);
  transition: opacity 0.3s var(--ease);
}
.logo:hover { opacity: 0.8; }
.logo .x { color: var(--orange); }

.nav__links { display: flex; gap: clamp(12px, 1.8vw, 30px); }
.nav__links a:not(.btn) {
  padding: 8px 0; font-size: 0.78rem; font-weight: 500; color: var(--muted);
  transition: color 0.3s var(--ease);
}
.nav__links a:not(.btn):hover, .nav__links a.is-active { color: var(--navy); }
.nav__cta { min-height: 36px; padding: 0 18px; font-size: 0.78rem; }
.nav__cta--mobile { display: none; }

.nav__toggle {
  display: none; width: 44px; height: 44px; margin-right: -12px; padding: 0;
  background: none; border: 0; cursor: pointer; position: relative;
}
.nav__toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 1px;
  background: var(--navy);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav.is-open .nav__toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  --p: 0;
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 88px;
  overflow: hidden;
  background:
    radial-gradient(70% 70% at 78% 45%, rgba(0, 123, 255, 0.10) 0%, rgba(0, 123, 255, 0) 65%),
    var(--bg);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}
.hero__copy {
  opacity: calc(1 - var(--p) * 1.5);
  transform: translate3d(0, calc(var(--p) * -60px), 0);
  will-change: transform, opacity;
}
.hero__title {
  margin-top: 22px;
  font-size: clamp(2.5rem, 6.6vw, 5.6rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.hero__lead {
  max-width: 30rem; margin-top: 28px;
  color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.55;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 40px; }

.hero__visual { position: relative; display: grid; place-items: center; }
.hero__halo {
  position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 102, 0, 0.10), rgba(255, 102, 0, 0) 70%);
  opacity: calc(1 - var(--p)); pointer-events: none;
}
.hero-fridge {
  position: relative; width: min(100%, 380px); height: auto; max-height: 74vh;
  filter: drop-shadow(0 40px 50px rgba(10, 15, 28, 0.22));
  transform: translate3d(0, calc(var(--p) * 70px), 0) scale(calc(1 + var(--p) * 0.12));
  transform-origin: 50% 60%;
  will-change: transform;
}
.f-glow { animation: breathe 6s ease-in-out infinite; }
.f-sheen { animation: sheen 8s var(--ease) infinite; }
@keyframes breathe { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes sheen {
  0%, 50% { transform: translateX(0); }
  100% { transform: translateX(440px); }
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; width: 1px; height: 48px;
  transform: translateX(-50%); background: var(--line);
  opacity: calc(1 - var(--p) * 4); overflow: hidden;
}
.hero__scroll span { position: absolute; inset: 0; background: var(--orange); animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Cifras ---------- */

.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stat { padding: clamp(32px, 5vw, 56px) clamp(16px, 2.5vw, 36px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__value {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 700; letter-spacing: -0.04em;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.stat__value small {
  margin-left: 0.15em; font-size: 0.32em; font-weight: 700; letter-spacing: 0;
  color: var(--orange);
}
.stat__label { margin-top: 14px; font-size: 0.85rem; line-height: 1.4; color: var(--muted); }

/* ---------- Manifiesto ---------- */

.manifesto { padding: clamp(100px, 15vw, 220px) 0; }
.manifesto__text {
  max-width: 21em;
  font-size: clamp(1.7rem, 4vw, 3.3rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.15;
}
.manifesto__text span { opacity: 0.16; transition: opacity 0.25s linear; }
html:not(.js) .manifesto__text span { opacity: 1; }

/* ---------- Secciones ---------- */

.section { padding: var(--section) 0; }
.section__head { display: grid; gap: 20px; margin-bottom: clamp(44px, 6vw, 80px); }
.section__head--left { margin-bottom: 0; align-content: start; }

.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 120px); align-items: start; }
.split .section__head { position: sticky; top: calc(var(--nav-h) + 48px); }

.note { max-width: 34rem; margin-top: 18px; font-size: 0.82rem; line-height: 1.5; color: var(--dim); }

.section--soft { background: var(--surface); --surface: #fff; --surface-2: #eef1f6; }
.section--soft .carousel__btn { background: rgba(10, 15, 28, 0.08); }

.section--dark {
  --bg: var(--navy);
  --surface: #131b30;
  --surface-2: #1b2644;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.26);
  --text: #f4f6fb;
  --muted: #a8b2c7;
  --dim: #6f7b95;
  background: var(--bg);
  color: var(--text);
}
.section--dark .eyebrow { color: var(--muted); }

/* ---------- Tecnología ---------- */

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  position: relative; padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius); background: var(--surface);
  transition: background-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.feature:hover { background: var(--surface-2); }
.feature__num {
  position: absolute; top: clamp(30px, 3.2vw, 44px); right: clamp(28px, 3vw, 40px);
  font-size: 0.78rem; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums;
}
.feature__icon {
  width: 40px; height: 40px; fill: none; stroke: var(--blue);
  stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
}
.feature h3 {
  margin-top: clamp(40px, 5vw, 70px);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;
}
.feature p { margin-top: 10px; font-size: 0.95rem; color: var(--muted); }

/* ---------- Línea de productos (carrusel) ---------- */

.products {
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
  display: flex; gap: 20px; padding: 4px var(--edge) 12px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  scrollbar-width: none;
}
.products::-webkit-scrollbar { display: none; }
.product {
  flex: 0 0 clamp(272px, 78vw, 392px);
  display: flex; flex-direction: column; scroll-snap-align: start;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
}
.product__art {
  position: relative; aspect-ratio: 1 / 1;
  background: radial-gradient(80% 70% at 50% 46%, #fff 0%, #eef1f7 100%);
  overflow: hidden;
}
.product__badge {
  position: absolute; top: 18px; right: 20px; z-index: 1;
  width: 84px; height: auto; mix-blend-mode: multiply; pointer-events: none;
}
.product__art svg {
  position: absolute; top: 50%; left: 50%; height: 72%;
  transform: translate(-50%, -50%);
  fill: none; stroke: #9aa3b5; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.8s var(--ease), stroke 0.5s var(--ease);
}
.product__art svg .thick { stroke-width: 2.4; stroke: var(--navy); }
.product__art svg .acc { stroke: var(--orange); stroke-width: 3; }
.product:hover .product__badge {
  position: absolute; top: 18px; right: 20px; z-index: 1;
  width: 84px; height: auto; mix-blend-mode: multiply; pointer-events: none;
}
.product__art svg { stroke: var(--navy); transform: translate(-50%, -50%) scale(1.05); }
.product__body { display: flex; flex-direction: column; flex: 1; padding: 26px 30px 28px; }
.product__type { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.product__name { margin-top: 6px; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.product__desc { margin-top: 12px; margin-bottom: 24px; font-size: 0.95rem; color: var(--muted); }
.product__specs { margin-top: auto; }
.product__specs li {
  display: flex; justify-content: space-between; gap: 16px; padding: 12px 0;
  border-top: 1px solid var(--line); font-size: 0.85rem;
}
.product__specs li span:first-child { color: var(--muted); }
.product__specs li span:last-child { font-weight: 700; text-align: right; }

.carousel__nav { display: flex; justify-content: flex-end; gap: 14px; margin-top: 22px; }
.carousel__btn {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(10, 15, 28, 0.08); cursor: pointer;
  transition: background-color 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.carousel__btn svg { width: 16px; height: 16px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carousel__btn:hover { background: rgba(10, 15, 28, 0.16); }
.carousel__btn:active { transform: scale(0.94); }
.carousel__btn:disabled { opacity: 0.32; cursor: default; }

/* ---------- Hogar (zonas) ---------- */

.zones { border-top: 1px solid var(--line); }
.zone { padding: 26px 0; border-bottom: 1px solid var(--line); }
.zone__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.zone h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.zone__temp { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.zone__bar { position: relative; height: 4px; margin: 16px 0 14px; border-radius: 2px; background: var(--surface); }
.zone__bar i {
  position: absolute; top: 0; bottom: 0; left: var(--from); width: calc(var(--to) - var(--from));
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), #55b0ff);
  transform-origin: left; transition: transform 1.3s var(--ease) 0.25s;
}
.js .zone.reveal:not(.is-visible) .zone__bar i { transform: scaleX(0); }
.zone__desc { color: var(--muted); }
.zones__scale { position: relative; height: 28px; margin-top: 14px; font-size: 0.75rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.zones__scale span { position: absolute; top: 0; white-space: nowrap; }
.zones__scale span:nth-child(1) { left: 0; }
.zones__scale span:nth-child(2) { left: 75%; transform: translateX(-50%); }
.zones__scale span:nth-child(3) { right: 0; }

/* ---------- Especificaciones ---------- */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.specs { width: 100%; min-width: 880px; border-collapse: collapse; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.specs th, .specs td {
  padding: 17px 18px 17px 0; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line); font-weight: 400;
}
.specs thead th {
  padding-top: 0; padding-bottom: 24px; border-bottom-color: var(--line-strong);
  font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15;
}
.specs thead th small {
  display: block; margin-top: 6px; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.02em; color: var(--muted);
}
.specs tbody th { width: 22%; color: var(--muted); }
.specs td.tbc { color: var(--dim); }

/* ---------- Pilares ---------- */

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: clamp(28px, 3vw, 40px); border-radius: var(--radius); background: var(--surface); }
.pillar h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.pillar h3::before {
  content: ""; display: block; width: 28px; height: 4px; margin-bottom: 28px;
  background: var(--orange); border-radius: 2px;
}
.pillar p { margin-top: 12px; color: var(--muted); }

/* ---------- Historia (el nombre) ---------- */

.name { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.name__part {
  padding: clamp(28px, 3vw, 40px); border-radius: var(--radius); background: var(--surface);
  display: flex; flex-direction: column;
}
.name__part--x { background: var(--navy); color: #f4f6fb; }
.name__letters {
  font-size: clamp(3.6rem, 6.5vw, 5.6rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.9;
  color: var(--navy);
}
.name__part--x .name__letters { color: var(--orange); }
.name__part h3 { margin-top: clamp(28px, 3.5vw, 48px); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
.name__part p { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
.name__part--x p { color: #a8b2c7; }

/* ---------- Preguntas ---------- */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  position: relative; display: block; padding: 24px 52px 24px 0;
  font-size: 1.1rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3;
  cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after {
  content: ""; position: absolute; top: 50%; right: 6px; width: 16px; height: 2px; border-radius: 1px;
  background: var(--muted);
  transition: transform 0.45s var(--ease), background-color 0.3s var(--ease);
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__item summary:hover::before, .faq__item summary:hover::after { background: var(--orange); }
.faq__item p { max-width: 38rem; padding: 0 52px 28px 0; color: var(--muted); }
.faq__item[open] p { animation: faqIn 0.5s var(--ease) both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Contacto ---------- */

.cta {
  position: relative; text-align: center;
  padding: clamp(100px, 14vw, 200px) 0;
  background:
    radial-gradient(60% 60% at 50% 100%, rgba(0, 123, 255, 0.28) 0%, rgba(0, 123, 255, 0) 70%),
    var(--bg);
}
.cta__inner { display: grid; justify-items: center; gap: 22px; }
.cta__title { font-size: clamp(2.2rem, 5.6vw, 4.6rem); letter-spacing: -0.04em; line-height: 1.04; }
.cta .section__lead { margin-inline: auto; }

.callback__card {
  display: grid; gap: 18px; width: 100%; max-width: 560px; margin: 18px auto 0;
  padding: clamp(26px, 4vw, 40px); border-radius: var(--radius);
  background: var(--surface); text-align: left;
}
.field { display: grid; gap: 8px; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.field label span { font-weight: 400; color: var(--dim); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
  color: var(--text); font-size: 1rem;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.field select option { color: #0A0F1C; }
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: rgba(255, 255, 255, 0.1); }
.field input::placeholder { color: var(--dim); }
.field .is-invalid { border-color: #ff5a5a; }
.field__error { font-size: 0.85rem; color: #ff8a8a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.callback__card .btn { width: 100%; }
.callback__card .note { margin: 0; text-align: center; }
.callback__card[hidden], .callback__done[hidden], .field__error[hidden] { display: none; }

.callback__done {
  width: 100%; max-width: 560px; margin: 18px auto 0; padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius); background: var(--surface); text-align: center;
  animation: faqIn 0.6s var(--ease) both;
}
.callback__done h3 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.035em; }
.callback__done h3::after { content: "."; }
.callback__done p { margin-top: 10px; color: var(--muted); }

/* ---------- Selector de idioma ---------- */

.lang { display: flex; align-items: center; gap: 2px; }
.lang button {
  display: grid; place-items: center; width: 34px; height: 30px; padding: 0;
  border: 0; border-radius: 999px; background: none; cursor: pointer;
  transition: background-color 0.3s var(--ease);
}
.lang button .flag { width: 20px; height: 13px; opacity: 0.5; transition: opacity 0.3s var(--ease); }
.lang button:hover .flag, .lang button[aria-pressed="true"] .flag { opacity: 1; }
.lang button[aria-pressed="true"] { background: rgba(10, 15, 28, 0.09); }
.flag { flex-shrink: 0; width: 18px; height: 12px; border-radius: 2.5px; }

/* ---------- Dirección y origen ---------- */

.cta__address { margin-top: 10px; font-style: normal; font-size: 0.94rem; line-height: 1.5; color: var(--muted); }
.origin { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 4px; font-size: 0.78rem; color: var(--dim); }
.origin__item { display: inline-flex; align-items: center; gap: 8px; }
.origin .flag { opacity: 0.85; }

/* ---------- Footer ---------- */

.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer__brand .logo { margin: 0; }
.footer__brand p { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer__nav a { font-size: 0.85rem; color: var(--muted); transition: color 0.3s var(--ease); }
.footer__nav a:hover { color: var(--navy); }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 0.78rem; color: var(--dim);
}
.footer__legal a:hover { color: var(--orange); }

/* ---------- Animaciones de aparición ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .features, .pillars { grid-template-columns: repeat(2, 1fr); }
  .name { grid-template-columns: repeat(2, 1fr); }
  .name__part--x { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split .section__head { position: static; }
}

@media (max-width: 1040px) {
  .nav__toggle { display: block; }
  .nav__cta--desktop { display: none; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0;
    padding: 12px var(--gutter) 28px; background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a:not(.btn) { padding: 16px 0; font-size: 1.1rem; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line); }
  .nav__cta--mobile { display: inline-flex; margin-top: 20px; min-height: 48px; font-size: 1rem; }

}

@media (max-width: 860px) {
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 32px); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero-fridge { max-height: 48vh; }
  .hero__scroll { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .features, .pillars, .name { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; }
}

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