/* =========================================================
   PVC Persianas — sitio de clientes
   Base: DESIGN 2 (onyx / graphite / ivory / cobalt)
   ========================================================= */

:root {
  /* Paleta basada en el azul del logo (#071135) */
  --onyx: #071135;
  --graphite: #0c1a4a;
  --obsidian: #15265e;
  --slate: #7f89ad;
  --mist: #e2e6f2;
  --ash: #c4c9dc;
  --ivory: #eef0f8;
  --cobalt: #071135;        /* azul del logo */
  --cobalt-hover: #0d1d55;
  --brand-tint: #3c5bd6;    /* el mismo azul, aclarado para contornos sobre fondo oscuro */
  --white: #ffffff;
  --line: rgba(226, 230, 245, 0.14);
  --line-strong: rgba(226, 230, 245, 0.3);

  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Archivo', 'Inter', ui-sans-serif, system-ui, sans-serif;

  --max: 1240px;
  --wide: 1440px;
  --gutter: 32px;
  --section: 128px;
  --r-card: 12px;
  --r-pill: 32px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--onyx); color: var(--ivory);
  font-family: var(--font-body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brand-tint); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand-tint); color: var(--white); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); width: 100%; }

/* ---------- Tipografía ---------- */
.h-xl, .hero__title, .index__name, .story__step h3, .quotes__num, .footer__word, .brand__text b, .timeline__day, .swatch-hero__model {
  font-family: var(--font-display);
  font-weight: 480;
}
.h-xl { font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -0.01em; font-variation-settings: "wdth" 108; margin: 0; }
.kicker { font-size: 14px; color: var(--ash); margin: 0 0 20px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--ash); }
.muted { color: var(--slate); }

/* ---------- Botones ---------- */
/* Acabado metálico: degradado tipo aluminio anodizado, filo de luz arriba,
   sombra interna abajo y un destello que cruza el botón al pasar el cursor */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 28px; border-radius: var(--r-pill);
  font-size: 16px; font-weight: 460; border: 1px solid transparent; white-space: nowrap;
  transition: filter .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%);
  transform: skewX(-18deg); transition: left .7s var(--ease); pointer-events: none;
}
.btn:hover::after { left: 115%; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.98); }
.btn--primary {
  color: #071135; text-shadow: 0 1px 0 rgba(255,255,255,.7);
  background: linear-gradient(180deg, #ffffff 0%, #eef0f6 22%, #cfd3e0 49%, #b4b9cb 51%, #d9dce7 82%, #f7f8fb 100%);
  border-color: transparent;
  background-clip: padding-box;
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 4px rgba(7,17,53,.28), 0 0 0 1px rgba(255,255,255,.35);
}
.btn--ghost {
  color: var(--ivory); border-radius: 40px; border-color: transparent;
  background:
    linear-gradient(180deg, #23377a 0%, #13235e 48%, #0b1847 52%, #18296a 100%) padding-box,
    linear-gradient(180deg, #f6f6fa 0%, #9c9caa 45%, #e3e3ea 55%, #7a7a88 100%) border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.btn--ghost::after { background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.22) 50%, transparent 100%); }
.btn--light {
  color: var(--onyx); text-shadow: 0 1px 0 rgba(255,255,255,.6);
  background: linear-gradient(180deg, #ffffff 0%, #e9e9ef 28%, #c9cad4 50%, #b6b7c3 51%, #dcdde5 82%, #f4f4f8 100%);
  border-color: #a5a6b3;
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 4px rgba(60,60,80,.25);
}
.btn:disabled { filter: grayscale(.4) brightness(.8); }
.btn--sm { height: 40px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }

.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 480; padding-bottom: 4px; background: linear-gradient(var(--ivory), var(--ivory)) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--ease); }
.link::after { content: "→"; transition: transform .3s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link:hover::after { transform: translateX(4px); }

.chip { height: 40px; padding: 0 18px; border-radius: 40px; border: 1px solid var(--line-strong); font-size: 15px; color: var(--ash); transition: all .2s; }
.chip:hover { border-color: var(--ivory); color: var(--ivory); }
.chip.is-active { background: var(--ivory); border-color: var(--ivory); color: var(--onyx); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .35s, border-color .35s; border-bottom: 1px solid transparent; }
.nav.is-scrolled, .nav.is-open { background: rgba(7,17,53,.78); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom-color: var(--line); }
.nav__inner { max-width: var(--wide); margin: 0 auto; height: var(--nav-h); padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__icon { width: 28px; height: 28px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text b { font-size: 20px; letter-spacing: 0.06em; font-variation-settings: "wdth" 115; }
.brand__text small { font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ash); margin-top: 3px; }
.nav__links { display: flex; gap: 2px; padding: 4px; border-radius: 40px; }
.nav.is-scrolled .nav__links { background: rgba(21,38,94,.6); }
.nav__links a { padding: 8px 16px; border-radius: 40px; font-size: 15px; transition: background-color .2s; display: inline-flex; align-items: center; gap: 8px; }
.nav__links a:hover { background: rgba(237,237,243,.1); }
.nav__new i { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 20px; border: 1px solid var(--line-strong); color: var(--ash); }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__phone { font-size: 15px; color: var(--ash); }
.nav__phone:hover { color: var(--ivory); }
.nav__toggle { display: none; width: 40px; height: 40px; border-radius: 40px; border: 1px solid var(--line-strong); position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ivory); transition: transform .25s, top .25s; }
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 23px; }
.nav.is-open .nav__toggle span:first-child { top: 19px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 19px; transform: rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; padding: 8px var(--gutter) 24px; }
.mobile-menu a:not(.btn) { padding: 16px 0; font-family: var(--font-display); font-size: 26px; font-weight: 460; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 20px; }
.mobile-menu[hidden] { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: calc(var(--nav-h) + 24px) 0 0; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; z-index: -2; transform: scale(1.08); animation: heroIn 2.2s var(--ease) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,17,53,.6) 0%, rgba(7,17,53,0) 28%, rgba(7,17,53,.1) 50%, rgba(7,17,53,.85) 82%, var(--onyx) 100%); }
.hero__top { position: absolute; top: calc(var(--nav-h) + 12px); left: 0; right: 0; display: flex; gap: 28px; font-size: 13px; color: var(--ash); letter-spacing: .02em; }
.hero__top span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--slate); margin: 0 28px 2px -16px; vertical-align: middle; }
.hero__body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: end; padding-bottom: 48px; }
.hero__title { font-size: clamp(56px, 9.2vw, 148px); line-height: .92; letter-spacing: -0.025em; margin: 0; color: var(--white); font-variation-settings: "wdth" 100; font-weight: 460; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }
.hero__side { display: flex; flex-direction: column; gap: 28px; padding-bottom: 12px; opacity: 0; animation: fade 1s .5s var(--ease) forwards; }
@keyframes fade { to { opacity: 1; } }
.hero__side p { margin: 0; font-size: 18px; line-height: 1.5; max-width: 400px; color: var(--ivory); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__facts { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.hero__facts li { padding: 22px 0 28px; display: flex; align-items: baseline; gap: 12px; }
.hero__facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.hero__facts b { font-family: var(--font-display); font-weight: 460; font-size: 28px; font-variation-settings: "wdth" 110; }
.hero__facts span { font-size: 14px; color: var(--ash); }

/* ---------- Declaración ---------- */
.statement { padding: 140px 0 120px; }
.statement__text { font-family: var(--font-display); font-weight: 420; font-size: clamp(30px, 4.1vw, 58px); line-height: 1.18; letter-spacing: -0.012em; margin: 0; max-width: 1120px; font-variation-settings: "wdth" 100; }
.inline-img { display: inline-block; height: .92em; width: 1.5em; object-fit: cover; border-radius: 40px; vertical-align: -0.12em; margin: 0 .22em; }
.inline-img--wide { width: 2.3em; }

/* ---------- Cinta de telas ---------- */
.ribbon { overflow: hidden; padding: 8px 0 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ribbon__track { display: flex; gap: 12px; width: max-content; animation: slide 70s linear infinite; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.ribbon figure { margin: 0; width: 168px; flex: none; }
.ribbon img { width: 168px; height: 210px; object-fit: cover; border-radius: var(--r-card); }
.ribbon figcaption { font-size: 12px; color: var(--ash); margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ribbon figcaption b { color: var(--ivory); font-weight: 480; }

/* ---------- Secciones ---------- */
.section { padding: var(--section) 0; }
.section--card { background: var(--graphite); }
.head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 72px; }
.head__aside { margin: 0; color: var(--ash); font-size: 18px; max-width: 440px; justify-self: end; }
.head--row { display: flex; justify-content: space-between; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Índice de productos ---------- */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index__row { border-bottom: 1px solid var(--line); }
.index__head { width: 100%; display: grid; grid-template-columns: 64px 1fr auto 40px; align-items: center; gap: 24px; padding: 30px 0; text-align: left; transition: padding .4s var(--ease), color .3s; }
.index__num { font-size: 14px; color: var(--slate); font-variant-numeric: tabular-nums; }
.index__name { font-size: clamp(28px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -0.01em; font-variation-settings: "wdth" 104; transition: transform .45s var(--ease), color .3s; }
.index__tag { font-size: 14px; color: var(--ash); }
.index__plus { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; transition: transform .4s var(--ease), background-color .3s; }
.index__plus::before, .index__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ivory); transform: translate(-50%, -50%); }
.index__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.index__head[aria-expanded="true"] .index__plus::after { transform: translate(-50%, -50%) rotate(0); }
.index__head:hover .index__name { transform: translateX(12px); }
.index:hover .index__row:not(:hover) .index__name { color: var(--slate); }
.index__body { display: grid; grid-template-columns: 64px 360px 1fr; gap: 24px; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .6s var(--ease), opacity .4s, padding .4s; }
.index__body img { grid-column: 2; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.index__body > div { align-self: end; max-width: 420px; }
.index__body p { margin: 0 0 20px; color: var(--ash); font-size: 17px; }
.index__row.is-open .index__body { max-height: 420px; opacity: 1; padding-bottom: 36px; }
.cursor-preview { position: fixed; left: 0; top: 0; width: 300px; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; pointer-events: none; z-index: 30; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .3s, transform .4s var(--ease); }
.cursor-preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Story Onda Perfecta ---------- */
.story { padding: var(--section) 0; }
.story__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 96px; }
.story__media { position: sticky; top: calc(var(--nav-h) + 24px); height: calc(100vh - var(--nav-h) - 48px); max-height: 820px; }
.story__frame { position: relative; height: 100%; border-radius: var(--r-card); overflow: hidden; background: var(--graphite); }
.story__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.story__frame img.is-on { opacity: 1; transform: none; }
.story__count { position: absolute; left: 20px; bottom: 20px; padding: 8px 14px; border-radius: 40px; background: rgba(7,17,53,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; color: var(--ash); font-variant-numeric: tabular-nums; }
.story__count span { color: var(--ivory); }
.story__intro { min-height: 40vh; display: flex; flex-direction: column; justify-content: center; }
.story__step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); opacity: .35; transition: opacity .5s; }
.story__step.is-on { opacity: 1; }
.story__step h3 { font-size: clamp(28px, 3vw, 42px); margin: 0 0 16px; font-variation-settings: "wdth" 106; }
.story__step p { color: var(--ash); font-size: 18px; max-width: 440px; margin: 0 0 24px; }
.story__mobile-img { display: none; }

/* ---------- Explorador de telas ---------- */
.explorer { display: grid; grid-template-columns: 320px 1fr; gap: 16px; }
.explorer__nav { background: var(--onyx); border-radius: var(--r-card); padding: 12px; display: flex; flex-direction: column; min-height: 0; }
.fam-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 8px 16px; border-bottom: 1px solid var(--line); }
.fam-tabs button { height: 34px; padding: 0 14px; border-radius: 40px; font-size: 14px; color: var(--ash); border: 1px solid var(--line); transition: all .2s; }
.fam-tabs button:hover { color: var(--ivory); border-color: var(--line-strong); }
.fam-tabs button[aria-selected="true"] { background: var(--ivory); color: var(--onyx); border-color: var(--ivory); }
.model-list { list-style: none; margin: 0; padding: 8px 0 0; overflow-y: auto; max-height: 560px; }
.model-list button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 12px; border-radius: 10px; text-align: left; font-size: 16px; color: var(--ash); transition: background-color .2s, color .2s; }
.model-list button:hover { background: var(--graphite); color: var(--ivory); }
.model-list button.is-on { background: var(--obsidian); color: var(--ivory); }
.model-list .dots { display: flex; }
.model-list .dots i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--onyx); margin-left: -4px; }
.model-list button.is-on .dots i, .model-list button:hover .dots i { border-color: var(--obsidian); }
.explorer__view { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 16px; }
.swatch-hero { margin: 0; grid-row: span 2; position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--onyx); min-height: 520px; }
.swatch-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.swatch-hero img.is-loading { opacity: .4; }
.swatch-hero figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 20px; border-radius: 40px; background: rgba(7,17,53,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.swatch-hero figcaption > div { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.swatch-hero__model { font-size: 17px; font-variation-settings: "wdth" 106; }
.swatch-hero__color { font-size: 14px; color: var(--ash); }
.color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; align-content: start; background: var(--onyx); border-radius: var(--r-card); padding: 16px; }
.color-grid button { display: flex; flex-direction: column; gap: 6px; text-align: left; font-size: 12px; color: var(--ash); }
.color-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; outline: 1.5px solid transparent; outline-offset: 2px; transition: outline-color .2s, transform .3s var(--ease); }
.color-grid button:hover img { transform: scale(.96); }
.color-grid button[aria-selected="true"] img { outline-color: var(--ivory); }
.color-grid button[aria-selected="true"] { color: var(--ivory); }
.fam-desc { margin: 0; align-self: end; background: var(--onyx); border-radius: var(--r-card); padding: 20px 22px; color: var(--ash); font-size: 15px; }
.fam-desc b { color: var(--ivory); font-weight: 480; }

/* ---------- Probador teaser ---------- */
.tryon { padding: var(--section) 0; }
.tryon__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 96px; align-items: center; }
.tryon__demo { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3; }
.tryon__demo > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.82); }
.tryon__quad { position: absolute; left: 17%; top: 12%; width: 62%; height: 64%; border: 1px dashed rgba(255,255,255,.6); }
.tryon__quad i { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--brand-tint); transform: translate(-50%, -50%); }
.tryon__quad i:nth-child(2) { left: 0; top: 0; } .tryon__quad i:nth-child(3) { left: 100%; top: 0; } .tryon__quad i:nth-child(4) { left: 100%; top: 100%; } .tryon__quad i:nth-child(5) { left: 0; top: 100%; }
.tryon__blind { position: absolute; left: 0; right: 0; top: 0; height: 0; background: repeating-linear-gradient(180deg, rgba(59,58,58,.97) 0 22px, rgba(205,203,196,.55) 22px 36px); border-bottom: 4px solid #2a2a2a; animation: blind 6s var(--ease) infinite; }
.tryon__blind::before { content: ""; position: absolute; left: -2px; right: -2px; top: 0; height: 14px; background: #e9e8e4; }
@keyframes blind { 0%, 8% { height: 0; } 45%, 70% { height: 100%; } 95%, 100% { height: 0; } }
.tryon__ui { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 8px; padding: 8px; border-radius: 40px; background: rgba(7,17,53,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.tryon__ui .sw { width: 28px; height: 28px; border-radius: 50%; }
.tryon__ui .sw.is-on { outline: 2px solid var(--ivory); outline-offset: 2px; }
.tryon__text p { font-size: 18px; color: var(--ash); margin: 28px 0 36px; max-width: 460px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 12px; }
.bento__item { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--graphite); cursor: zoom-in; text-align: left; }
.bento__item.is-tall { grid-row: span 2; }
.bento__item.is-big { grid-row: span 2; grid-column: span 2; }
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bento__item:hover img { transform: scale(1.05); }
.bento__item span { position: absolute; left: 12px; bottom: 12px; right: 12px; font-size: 13px; padding: 8px 12px; border-radius: 40px; background: rgba(7,17,53,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); width: max-content; max-width: calc(100% - 24px); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.bento__item:hover span, .bento__item:focus-visible span { opacity: 1; transform: none; }
.bento__item[hidden] { display: none; }

/* ---------- Componentes ---------- */
.parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.parts figure { margin: 0; }
.parts img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); }
.parts figcaption { display: flex; flex-direction: column; padding: 18px 4px 0; }
.parts b { font-weight: 480; font-size: 18px; }
.parts span { color: var(--ash); font-size: 15px; }

/* ---------- Exteriores ---------- */
.outdoor { display: grid; grid-template-columns: 1.4fr 1fr 0.7fr; min-height: 640px; }
.outdoor__img img { width: 100%; height: 100%; object-fit: cover; }
.outdoor__img--small { padding: 72px 0 72px 0; }
.outdoor__img--small img { border-radius: var(--r-card) 0 0 var(--r-card); }
.outdoor__text { padding: 96px 56px; display: flex; flex-direction: column; justify-content: center; gap: 36px; }
.specs { margin: 0; display: grid; gap: 24px; }
.specs div { padding-top: 20px; border-top: 1px solid var(--line); }
.specs dt { font-weight: 480; font-size: 18px; margin-bottom: 6px; }
.specs dd { margin: 0; color: var(--ash); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-strong); }
.timeline li { position: relative; padding: 48px 32px 0 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--onyx); border: 1px solid var(--ivory); }
.timeline li:last-child::before { background: var(--ivory); }
.timeline__day { font-size: clamp(30px, 3vw, 44px); font-variation-settings: "wdth" 110; display: block; line-height: 1; }
.timeline h3 { font-size: 18px; font-weight: 480; margin: 20px 0 8px; }
.timeline p { color: var(--ash); margin: 0; font-size: 15px; }
.footnote { margin: 56px 0 0; font-size: 13px; color: var(--slate); }

/* ---------- Reseñas ---------- */
.quotes { display: grid; grid-template-columns: 300px 1fr; gap: 96px; align-items: start; }
.quotes__rating { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; }
.quotes__num { font-size: 120px; line-height: .9; font-variation-settings: "wdth" 110; letter-spacing: -0.03em; }
.quotes__stars { letter-spacing: 4px; font-size: 18px; }
.quotes__count { color: var(--ash); margin-bottom: 24px; }
.quotes__stage { min-width: 0; }
.quotes__list { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s; }
.quote.is-on { opacity: 1; visibility: visible; transform: none; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 420; font-size: clamp(26px, 3vw, 42px); line-height: 1.2; letter-spacing: -0.01em; text-indent: -0.4em; }
.quote blockquote::before { content: "“"; }
.quote blockquote::after { content: "”"; }
.quote figcaption { margin-top: 28px; color: var(--ash); }
.quotes__ctrl { display: flex; align-items: center; gap: 16px; margin-top: 48px; font-size: 14px; color: var(--ash); font-variant-numeric: tabular-nums; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 18px; transition: background-color .2s, border-color .2s; }
.round:hover { background: rgba(237,237,243,.08); border-color: var(--ivory); }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }
.contact__lead { color: var(--ash); font-size: 18px; margin: 28px 0 0; }
.info { margin: 48px 0 0; display: grid; gap: 0; }
.info div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.info dt { font-size: 14px; color: var(--ash); }
.info dd { margin: 0; }
.info a { background: linear-gradient(var(--slate), var(--slate)) 0 100% / 100% 1px no-repeat; }
.form { background: var(--graphite); border-radius: var(--r-card); padding: 40px; display: grid; gap: 20px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend { font-size: 14px; color: var(--ash); padding: 0; }
.field legend { margin-bottom: 8px; }
.opt { color: var(--slate); }
.field input, .field select, .field textarea { width: 100%; height: 50px; padding: 0 20px; background: transparent; color: var(--ivory); border: 1px solid rgba(226,230,245,.3); border-radius: var(--r-pill); font: inherit; transition: border-color .2s; }
.field textarea { height: auto; padding: 14px 20px; border-radius: 20px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23c3c3cc' stroke-width='1.5'/%3E%3C/svg%3E") right 16px center / 18px no-repeat; }
.field select option { background: var(--graphite); }
.field input::placeholder, .field textarea::placeholder { color: var(--slate); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ivory); }
.field input.is-invalid { border-color: #e46b6b; }
.checks-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-check { position: relative; }
.pill-check input { position: absolute; opacity: 0; pointer-events: none; }
.pill-check span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 40px; border: 1px solid var(--line-strong); font-size: 14px; color: var(--ash); cursor: pointer; transition: all .2s; }
.pill-check input:checked + span { background: var(--ivory); border-color: var(--ivory); color: var(--onyx); }
.pill-check input:focus-visible + span { outline: 2px solid var(--brand-tint); outline-offset: 2px; }
.form__note { margin: 0; font-size: 14px; color: var(--ash); min-height: 1.2em; text-align: center; }

/* ---------- Footer ---------- */
.footer { padding: 96px 0 32px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__top p { margin: 0; color: var(--ash); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__nav a { color: var(--ash); }
.footer__nav a:hover { color: var(--ivory); }
.footer__word { font-size: clamp(56px, 12.4vw, 190px); line-height: .9; letter-spacing: -0.03em; white-space: nowrap; margin: 72px 0 40px; font-variation-settings: "wdth" 100; color: var(--graphite); -webkit-text-stroke: 0; }
.footer__legal { margin: 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .01em; font-weight: 480; color: var(--slate); }

/* ---------- Flotantes ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--obsidian); color: var(--ivory); display: grid; place-items: center; border: 1px solid rgba(237,237,243,.2); transition: transform .25s var(--ease); }
.wa-float:hover { transform: translateY(-3px); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(3,8,28,.95); display: flex; align-items: center; justify-content: center; padding: 56px 88px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 8px; object-fit: contain; }
.lightbox figcaption { color: var(--ash); font-size: 14px; }
.lightbox > button { position: absolute; background: rgba(21,38,94,.8); border: 1px solid rgba(237,237,243,.2); width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1; 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%); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-block; }
  .explorer { grid-template-columns: minmax(0, 1fr); }
  .explorer > * { min-width: 0; }
  .model-list { display: flex; overflow-x: auto; max-height: none; gap: 4px; scrollbar-width: none; }
  .model-list::-webkit-scrollbar { display: none; }
  .model-list li { flex: none; }
  .model-list button { white-space: nowrap; padding: 10px 14px; }
  .quotes { grid-template-columns: 1fr; gap: 48px; }
  .quotes__rating { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 16px; }
  .quotes__num { font-size: 72px; }
  .quotes__count { margin: 0; }
  .outdoor { grid-template-columns: 1fr 1fr; }
  .outdoor__img--small { display: none; }
}
@media (max-width: 900px) {
  :root { --section: 96px; --gutter: 24px; }
  .hero__body { grid-template-columns: 1fr; gap: 28px; }
  .hero__facts { grid-template-columns: repeat(2, 1fr); }
  .hero__facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .head__aside { justify-self: start; }
  .index__head { grid-template-columns: 40px 1fr 40px; }
  .index__tag { display: none; }
  .index__body { grid-template-columns: 1fr; }
  .index__body img { grid-column: 1; }
  .index__row.is-open .index__body { max-height: 760px; }
  .story__grid { grid-template-columns: 1fr; gap: 0; }
  .story__media { display: none; }
  .story__intro { min-height: 0; padding-bottom: 48px; }
  .story__step { min-height: 0; opacity: 1; padding: 32px 0 48px; }
  .story__mobile-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); margin-bottom: 24px; }
  .explorer__view { grid-template-columns: minmax(0, 1fr); }
  .swatch-hero { grid-row: auto; min-height: 0; aspect-ratio: 1; }
  .tryon__grid, .contact { grid-template-columns: 1fr; gap: 48px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .bento__item.is-big { grid-column: span 2; }
  .parts { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .outdoor { grid-template-columns: 1fr; }
  .outdoor__img { aspect-ratio: 3 / 2; }
  .outdoor__text { padding: 56px var(--gutter) 96px; }
  .timeline { grid-template-columns: 1fr; gap: 40px; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline li { padding: 0 0 0 48px; }
  .info div { grid-template-columns: 1fr; gap: 2px; }
  .cursor-preview { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section: 80px; --nav-h: 64px; }
  .nav__phone { display: none; }
  .hero__top { display: none; }
  .hero__title { font-size: clamp(50px, 15vw, 72px); }
  .hero__side p { font-size: 17px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .hero__facts li { padding: 16px 0 20px; flex-direction: column; gap: 2px; }
  .hero__facts li + li { padding-left: 16px; }
  .hero__facts b { font-size: 24px; }
  .hero__facts span { font-size: 13px; }
  .statement { padding: 88px 0 72px; }
  .ribbon figure, .ribbon img { width: 128px; }
  .ribbon img { height: 160px; }
  .index__head { padding: 22px 0; gap: 12px; }
  .parts { grid-template-columns: 1fr; }
  .parts img { aspect-ratio: 16 / 10; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 24px 18px; }
  .swatch-hero figcaption { flex-direction: column; align-items: stretch; border-radius: 20px; padding: 14px; }
  .swatch-hero figcaption .btn { width: 100%; }
  .color-grid { grid-template-columns: repeat(4, 1fr); }
  .lightbox { padding: 64px 8px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 8px; transform: none; }
  .lightbox__prev { left: calc(50% - 56px); }
  .lightbox__next { right: calc(50% - 56px); }
  .footer__word { margin: 48px 0 24px; }
}

/* =========================================================
   v3 · ajustes del cliente
   ========================================================= */

/* Chips activos con el mismo acabado metálico plateado */
.chip.is-active, .fam-tabs button[aria-selected="true"], .proc-tabs button[aria-selected="true"] {
  background: linear-gradient(180deg, #ffffff 0%, #e6e6ec 45%, #c4c5cf 52%, #eeeef3 100%);
  border-color: #a5a6b3; color: var(--onyx);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 2px rgba(60,60,80,.25);
}

.ico-s { width: 20px; height: 20px; flex: none; }

/* Hero */
.hero__warranty { display: flex; gap: 12px; align-items: flex-start; font-size: 15px !important; color: var(--ash) !important; padding: 14px 16px; border-radius: 14px; background: rgba(7,17,53,.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); max-width: 420px; }
.hero__warranty b { color: var(--ivory); font-weight: 480; }
.hero__warranty .ico-s { color: var(--ivory); margin-top: 1px; }
.hero__facts li.is-text { align-items: center; gap: 12px; }
.hero__facts li.is-text b { font-family: var(--font-body); font-size: 17px; font-weight: 460; line-height: 1.25; font-variation-settings: normal; }
.hero__facts li.is-text .ico-s { color: var(--ash); }

/* Declaración con fotos aparte */
.statement__text { max-width: 1040px; }
.statement__photos { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; margin-top: 72px; align-items: start; }
.statement__photos figure { margin: 0; }
.statement__photos figure:nth-child(2) { margin-top: 120px; }
.statement__photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); }
.statement__photos figure:first-child img { aspect-ratio: 5 / 5.2; object-position: 50% 40%; }
.statement__photos figcaption { display: flex; gap: 14px; align-items: baseline; margin-top: 16px; font-size: 16px; color: var(--ash); }
.statement__photos figcaption span { font-size: 13px; color: var(--slate); font-variant-numeric: tabular-nums; }

/* Índice con íconos */
.index__head { grid-template-columns: 56px 48px 1fr auto 40px; }
.index__ico { width: 40px; height: 40px; color: var(--ash); transition: color .3s, transform .45s var(--ease); }
.index__head:hover .index__ico, .index__head[aria-expanded="true"] .index__ico { color: var(--ivory); transform: translateY(-2px); }
.index__body { grid-template-columns: 56px 48px 360px 1fr; }
.index__body > img, .index__body > .index__soon { grid-column: 3; }
.index__body > div:not(.index__soon) { grid-column: 4; }
.index__soon { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-card); border: 1px dashed var(--line-strong); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--ash); font-size: 14px; background: var(--graphite); }
.index__soon svg { width: 72px; height: 72px; color: var(--ivory); opacity: .8; }

.closer { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; margin-top: 56px; padding: 28px 32px; border-radius: var(--r-card); background: var(--graphite); }
.closer p { margin: 0; font-family: var(--font-display); font-weight: 420; font-size: clamp(20px, 2vw, 26px); line-height: 1.25; max-width: 760px; }

/* Historia */
.story__type { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ash); margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.story__type svg { width: 26px; height: 26px; color: var(--ivory); }
.story__frame img[data-step="4"] { object-fit: cover; }

/* Tiempos de entrega */
.proc-tabs { display: inline-flex; gap: 6px; padding: 4px; border-radius: 40px; background: var(--graphite); }
.proc-tabs button { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px 0 16px; border-radius: 40px; color: var(--ash); font-size: 15px; border: 1px solid transparent; transition: color .2s; }
.proc-tabs button svg { width: 24px; height: 24px; }
.proc-tabs button:hover { color: var(--ivory); }
.timeline[hidden] { display: none; }
.timeline.is-enter li { animation: tlIn .6s var(--ease) both; }
.timeline.is-enter li:nth-child(2) { animation-delay: .06s; } .timeline.is-enter li:nth-child(3) { animation-delay: .12s; } .timeline.is-enter li:nth-child(4) { animation-delay: .18s; }
@keyframes tlIn { from { opacity: 0; transform: translateY(14px); } }

/* Preguntas frecuentes */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 96px; align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__head p { color: var(--ash); font-size: 17px; margin: 24px 0 20px; max-width: 340px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 19px; font-weight: 460; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); background: linear-gradient(var(--ivory), var(--ivory)) center / 12px 1.5px no-repeat, linear-gradient(var(--ivory), var(--ivory)) center / 1.5px 12px no-repeat; transition: transform .35s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list summary:hover { color: var(--white); }
.faq__list details p { margin: -6px 0 26px; color: var(--ash); max-width: 640px; font-size: 16px; }
.faq__list details p b { color: var(--ivory); font-weight: 480; }
.faq__list details p a { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }
.faq__list details[open] p { animation: tlIn .4s var(--ease); }

/* Cierre */
.closing { padding: 128px 0; background: radial-gradient(900px 420px at 80% 0%, rgba(28,52,150,.38), transparent 70%), var(--graphite); border-top: 1px solid var(--line); }
.closing__title { font-family: var(--font-display); font-weight: 480; font-variation-settings: "wdth" 104; font-size: clamp(40px, 6vw, 92px); line-height: 1; letter-spacing: -0.02em; margin: 0; }
.closing__title span { color: var(--slate); }
.closing__row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-top: 56px; }
.closing__row p { margin: 0; color: var(--ash); font-size: 19px; max-width: 560px; }
.closing__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.closing__points { list-style: none; padding: 32px 0 0; margin: 56px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 40px; }
.closing__points li { display: flex; align-items: center; gap: 10px; color: var(--ash); }
.closing__points .ico-s { color: var(--ivory); }

/* Pantalla de carga con las ilustraciones de los modelos */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--onyx); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; transition: opacity .5s var(--ease), visibility .5s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__icons { display: flex; gap: 18px; }
.loader__ico { width: 46px; height: 46px; color: var(--ivory); animation: drop 1.6s var(--ease) infinite; clip-path: inset(0 0 100% 0); }
.loader__ico:nth-child(2) { animation-delay: .18s; } .loader__ico:nth-child(3) { animation-delay: .36s; } .loader__ico:nth-child(4) { animation-delay: .54s; }
@keyframes drop { 0% { clip-path: inset(0 0 100% 0); opacity: .4; } 45%, 70% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(100% 0 0 0); opacity: .4; } }
.loader__label { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--slate); }
/* Carga dentro de un bloque (muestrario, probador) */
.mini-loader { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; pointer-events: none; opacity: 0; transition: opacity .25s; z-index: 2; }
.mini-loader.is-on { opacity: 1; }
.mini-loader svg { width: 34px; height: 34px; color: var(--ivory); animation: drop 1.4s var(--ease) infinite; }
.mini-loader svg:nth-child(2) { animation-delay: .15s; } .mini-loader svg:nth-child(3) { animation-delay: .3s; }

@media (max-width: 900px) {
  .statement__photos { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 48px; }
  .statement__photos figure:nth-child(2) { margin-top: 48px; }
  .statement__photos figcaption { font-size: 14px; flex-direction: column; gap: 2px; }
  .index__head { grid-template-columns: 32px 36px 1fr 36px; gap: 12px; }
  .index__ico { width: 32px; height: 32px; }
  .index__body { grid-template-columns: 1fr; }
  .index__body > img, .index__body > .index__soon, .index__body > div:not(.index__soon) { grid-column: 1; }
  .faq { grid-template-columns: 1fr; gap: 40px; }
  .faq__head { position: static; }
  .faq__list summary { font-size: 17px; padding: 20px 0; }
  .closing { padding: 88px 0; }
  .closing__row { grid-template-columns: 1fr; gap: 28px; }
  .closing__ctas { justify-content: flex-start; }
  .proc-tabs { width: 100%; }
  .proc-tabs button { flex: 1; justify-content: center; }
}
@media (max-width: 640px) {
  .hero__warranty { font-size: 14px !important; padding: 12px 14px; }
  .hero__facts li.is-text { flex-direction: row; align-items: center; }
  .hero__facts li.is-text b { font-size: 14px; }
  .closer { padding: 24px 20px; }
  .closing__ctas .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .loader { display: none; } }
/* La animación del hero arranca cuando se va la pantalla de carga */
body.is-loading .hero__bg, body.is-loading .hero__title .line > span, body.is-loading .hero__side { animation-play-state: paused; }

/* v5 · logo, video y azul de marca */
.brand__logo { height: 34px; width: auto; display: block; }
.footer__logo { display: block; width: min(560px, 80%); height: auto; margin: 72px 0 40px; opacity: .92; }
video.hero__bg { background: var(--onyx); }
.hero__shade { background:
  linear-gradient(90deg, rgba(7,17,53,.15) 0%, rgba(7,17,53,0) 40%, rgba(7,17,53,.55) 100%),
  linear-gradient(180deg, rgba(7,17,53,.6) 0%, rgba(7,17,53,.2) 26%, rgba(7,17,53,.32) 50%, rgba(7,17,53,.9) 82%, var(--onyx) 100%); }
.hero__side p, .hero__title { text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.btn--primary:hover { filter: brightness(1.05); }
@media (max-width: 640px) {
  .brand__logo { height: 28px; }
  .footer__logo { margin: 48px 0 24px; width: 86%; }
}
.loader__logo { height: 30px; width: auto; opacity: .7; }

/* v8 · pie con logo pequeño, mapa y ventana de descuento */
.footer__top { align-items: center; }
.footer__brand { display: block; flex: none; }
.footer__logo { width: 170px; margin: 0; opacity: 1; }
.footer__tag { flex-basis: 100%; }
.footer__legal { margin-top: 48px; }
@media (min-width: 900px) { .footer__tag { flex-basis: auto; } }
@media (max-width: 640px) { .footer__logo { width: 150px; margin: 0; } }

.map-mini { margin-top: 32px; border-radius: var(--r-card); overflow: hidden; background: var(--graphite); border: 1px solid var(--line); }
.map-mini iframe { display: block; width: 100%; height: 220px; border: 0; filter: invert(.92) hue-rotate(195deg) saturate(.55) brightness(.95); }
.map-mini__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 18px; font-size: 14px; color: var(--ash); }
.map-mini__bar b { color: var(--ivory); font-weight: 480; margin-right: 6px; }

html.promo-open { overflow: hidden; }
.promo { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; }
.promo[hidden] { display: none; }
.promo__scrim { position: absolute; inset: 0; background: rgba(3,8,28,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .35s ease forwards; opacity: 0; }
.promo__card { position: relative; width: min(820px, 100%); display: grid; grid-template-columns: .85fr 1fr; background: var(--graphite); border-radius: 18px; overflow: hidden; border: 1px solid transparent; background: linear-gradient(var(--graphite), var(--graphite)) padding-box, linear-gradient(160deg, #f4f5fa, #7f89ad 40%, #e3e6f0 60%, #5a6590) border-box; box-shadow: 0 30px 80px rgba(0,0,0,.55); animation: promoIn .55s var(--ease) both; max-height: calc(100vh - 32px); overflow-y: auto; }
@keyframes promoIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.promo__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo__body { padding: 40px 36px 28px; display: flex; flex-direction: column; }
.promo__kicker { align-self: flex-start; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--onyx); padding: 6px 12px; border-radius: 40px; background: linear-gradient(180deg, #fff, #cfd3e0); }
.promo h2 { font-family: var(--font-display); font-weight: 480; font-variation-settings: "wdth" 104; font-size: clamp(26px, 3vw, 34px); line-height: 1.08; letter-spacing: -.01em; margin: 18px 0 12px; }
.promo__body > p { margin: 0; color: var(--ash); font-size: 16px; }
.promo__label { margin-top: 24px; font-size: 13px; color: var(--ash); }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 18px; }
.countdown div { background: var(--onyx); border: 1px solid var(--line); border-radius: 12px; padding: 12px 6px 10px; text-align: center; }
.countdown b { display: block; font-family: var(--font-display); font-weight: 480; font-variation-settings: "wdth" 110; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.promo__code { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; margin-bottom: 14px; border-radius: 10px; border: 1px dashed var(--line-strong); font-size: 13px; color: var(--ash); }
.promo__code b { font-family: var(--font-display); font-weight: 480; letter-spacing: .14em; color: var(--ivory); font-size: 16px; }
.promo__later { margin-top: 8px; padding: 10px; font-size: 14px; color: var(--ash); }
.promo__later:hover { color: var(--ivory); }
.promo__fine { margin: 6px 0 0 !important; font-size: 11.5px !important; color: var(--slate) !important; text-align: center; }
.promo__x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(7,17,53,.7); border: 1px solid var(--line-strong); font-size: 20px; line-height: 1; }

.promo-badge { position: fixed; left: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 14px; border-radius: 40px; font-size: 13px; color: var(--onyx); background: linear-gradient(180deg, #ffffff 0%, #eef0f6 22%, #cfd3e0 49%, #b4b9cb 51%, #d9dce7 82%, #f7f8fb 100%); box-shadow: inset 0 1px 0 #fff, 0 10px 30px rgba(0,0,0,.4); animation: promoIn .5s var(--ease) both; }
.promo-badge[hidden] { display: none; }
.promo-badge svg { width: 18px; height: 18px; }
.promo-badge b { font-variant-numeric: tabular-nums; font-weight: 600; }

@media (max-width: 720px) {
  .promo { align-items: end; padding: 0; }
  .promo__card { grid-template-columns: 1fr; border-radius: 20px 20px 0 0; max-height: 92vh; }
  .promo__media { height: 140px; }
  .promo__body { padding: 24px 20px 20px; }
  .countdown b { font-size: 28px; }
  .promo-badge { left: 12px; bottom: 16px; height: 44px; font-size: 12px; max-width: calc(100vw - 100px); }
  .map-mini iframe { height: 200px; }
  .map-mini__bar { flex-direction: column; align-items: stretch; padding: 14px; }
}

/* v9 · muestrario separado en persianas y cortinas */
.kind-tabs { display: inline-flex; gap: 6px; padding: 4px; margin-bottom: 16px; border-radius: 40px; background: var(--onyx); border: 1px solid var(--line); }
.kind-tabs button { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px 0 14px; border-radius: 40px; font-size: 15px; color: var(--ash); transition: color .2s; }
.kind-tabs button svg { width: 26px; height: 26px; }
.kind-tabs button:hover { color: var(--ivory); }
.kind-tabs button[aria-selected="true"] { color: var(--onyx); background: linear-gradient(180deg, #ffffff 0%, #e6e8f0 45%, #c4c9d8 52%, #eef0f5 100%); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 2px rgba(7,17,53,.25); }
.swatch-hero__specs { font-size: 12px; color: var(--slate); }
.swatch-hero__specs:empty { display: none; }
@media (max-width: 640px) {
  .kind-tabs { display: flex; width: 100%; }
  .kind-tabs button { flex: 1; justify-content: center; padding: 0 10px; font-size: 13.5px; gap: 6px; }
  .kind-tabs button svg { width: 20px; height: 20px; }
}
