/* =========================================================================
   VIT CRISTALES — estilos
   Paleta de marca y tipografías en :root.
   ========================================================================= */
:root {
  /* Marca */
  --c-navy: #004883;          /* azul marino del logo */
  --c-blue: #004F8A;          /* azul corporativo */
  --c-deep: #003D64;          /* fondos oscuros */
  --c-deep-2: #003554;
  --c-sky: #00A6F6;           /* celeste del swoosh */
  --c-sky-soft: #BFD8E1;
  --c-sky-light: #8fd8ff;     /* celeste para texto sobre fondo oscuro */
  --c-green: #05A67F;         /* acento puntual (checks) */
  --c-gray: #EEF1F1;
  --c-white: #ffffff;
  --sky-rgb: 0, 166, 246;
  --deep-rgb: 0, 53, 84;

  /* Texto */
  --c-ink: #0a2540;
  --c-muted: #4a5e70;
  --c-muted-light: #b8cedc;
  --c-line: rgba(var(--deep-rgb), .12);
  --c-wa: #25d366;
  --c-wa-dark: #128c4b;
  --c-error: #b42318;
  --c-star: #f5b301;

  /* Vidrio */
  --glass-bg: rgba(255, 255, 255, .58);
  --glass-border: rgba(255, 255, 255, .8);
  --glass-dark-bg: rgba(255, 255, 255, .06);
  --glass-dark-border: rgba(255, 255, 255, .15);
  --glass-blur: 18px;

  /* Tipografía */
  --f-display: "Kanit", "Segoe UI", system-ui, sans-serif;
  --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Medidas */
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --demo-h: 0px;
  --ease: cubic-bezier(.22, .8, .26, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);
  --shadow: 0 1px 0 rgba(255,255,255,.85) inset, 0 18px 50px -18px rgba(var(--deep-rgb), .32);
}
body.has-demo { --demo-h: 30px; }

/* ------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--demo-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--f-sans); font-size: 1rem; line-height: 1.6;
  color: var(--c-ink); background: #f5f8f9; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg, iframe, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--c-sky); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .hero :focus-visible, .footer :focus-visible { outline-color: var(--c-sky-light); }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--c-navy); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

/* ------------------------------------------------------------- Botones */
.btn {
  --bg: var(--c-navy); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary {
  --fg: #002b4d;
  background: linear-gradient(135deg, #7fd6ff 0%, var(--c-sky) 55%, #0090d6 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 10px 30px -10px rgba(var(--sky-rgb), .75);
}
.btn--primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 16px 36px -10px rgba(var(--sky-rgb), .9); }
.btn--glass { background: rgba(255,255,255,.08); --fg: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255,255,255,.16); }
.btn--ghost { background: transparent; --fg: var(--c-ink); border-color: var(--c-line); }
.btn--ghost:hover { background: rgba(255,255,255,.75); border-color: rgba(var(--deep-rgb), .25); }
.btn--whatsapp { --bg: var(--c-wa-dark); --fg: #fff; box-shadow: 0 10px 30px -10px rgba(18,140,75,.7); }
.btn--whatsapp:hover { --bg: #0f7a41; }
.btn--sm { padding: .6em 1.1em; font-size: .85rem; }
.btn--lg { padding: 1em 1.8em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn__arrow { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.ico-wa { width: 1.25em; height: 1.25em; }

/* ------------------------------------------------------------- Vidrio */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%); -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  border: 1px solid var(--glass-border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.glass--dark { background: var(--glass-dark-bg); border-color: var(--glass-dark-border); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 20px 50px -20px rgba(0,0,0,.5); }

/* Brillo especular que sigue al cursor (--mx/--my) y tilt (--rx/--ry) */
.shine {
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  position: relative; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); transform-style: preserve-3d;
}
.shine::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.6), rgba(255,255,255,0) 45%);
  opacity: 0; transition: opacity .4s; mix-blend-mode: soft-light;
}
.shine::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px; z-index: 2;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(var(--sky-rgb), .95), rgba(255,255,255,.25) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.shine:hover::before, .shine:hover::after, .shine:focus-within::after { opacity: 1; }
.shine.is-tilting { transition: transform .12s linear, box-shadow .5s var(--ease); }

/* Fallback de imagen: vidrio azulado si la foto no carga */
.media {
  --h: 205;
  position: absolute; inset: 0; overflow: hidden; display: block;
  background:
    linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 38%, transparent 44%, transparent 56%, rgba(255,255,255,.18) 60%, transparent 63%),
    radial-gradient(80% 70% at 20% 10%, hsl(var(--h) 55% 85% / .9), transparent 60%),
    radial-gradient(70% 60% at 90% 100%, hsl(calc(var(--h) + 10) 70% 35% / .9), transparent 60%),
    linear-gradient(145deg, hsl(var(--h) 45% 62%), hsl(calc(var(--h) + 5) 80% 22%));
}
.media::before {
  content: ""; position: absolute; width: 46%; height: 66%; left: 27%; top: 14%; border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.5);
  box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .4), 18px 14px 0 -6px rgba(255,255,255,.12); transform: perspective(500px) rotateY(-14deg);
}
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); z-index: 1; }
.media img.is-missing { display: none; }

/* ------------------------------------------------------------- Demo + header */
.demo-bar {
  position: fixed; inset: 0 0 auto 0; height: var(--demo-h); z-index: 60;
  display: flex; align-items: center; justify-content: center; padding-inline: 12px;
  background: linear-gradient(90deg, #002640, var(--c-navy), #002640); color: #d4edff;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; text-align: center; white-space: nowrap; overflow: hidden;
}
.demo-bar span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) { .demo-bar { font-size: .62rem; letter-spacing: .08em; } }
.header {
  position: fixed; left: 0; right: 0; top: var(--demo-h); z-index: 50; height: var(--header-h);
  color: #fff; transition: background-color .4s, color .4s, box-shadow .4s, height .4s;
}
.header.is-scrolled {
  --header-h: 64px; color: var(--c-ink);
  background: rgba(238, 241, 241, .8); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 10px 30px -18px rgba(var(--deep-rgb), .4);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; position: relative; z-index: 2; flex: none; }
.logo__img { height: 58px; width: auto; transition: opacity .4s, height .4s; }
.header.is-scrolled .logo__img { height: 48px; }
.logo__img--light { position: absolute; left: 0; top: 50%; translate: 0 -50%; opacity: 0; pointer-events: none; }
.logo.has-light .logo__img--light { opacity: 1; }
.logo.has-light .logo__img--main { opacity: 0; }
.header.is-scrolled .logo.has-light .logo__img--light { opacity: 0; }
.header.is-scrolled .logo.has-light .logo__img--main { opacity: 1; }
.logo.no-img .logo__img { display: none; }
.logo__text { display: none; font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.logo.no-img .logo__text { display: inline-flex; gap: .25em; align-items: baseline; }
.logo__b { color: var(--c-sky); }

.nav { display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; gap: 2px; }
.nav__list a { position: relative; display: block; padding: 8px 11px; border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 600; opacity: .9; transition: opacity .2s, background-color .2s; }
.nav__list a:hover, .nav__list a.is-active { opacity: 1; background: rgba(255,255,255,.12); }
.header.is-scrolled .nav__list a:hover, .header.is-scrolled .nav__list a.is-active { background: rgba(var(--deep-rgb), .07); }

.burger { display: none; position: relative; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.header.is-scrolled .burger { border-color: var(--c-line); background: rgba(255,255,255,.55); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease-spring), opacity .25s, top .45s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 30px;
    padding: calc(var(--header-h) + var(--demo-h) + 20px) var(--gutter) 40px;
    background: rgba(0, 38, 64, .9); color: #fff; backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%);
    clip-path: circle(0 at calc(100% - 44px) 36px); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
  .nav__list { flex-direction: column; align-items: center; gap: 4px; }
  .nav__list a { font-family: var(--f-display); font-weight: 600; font-size: 1.9rem; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); }
  .nav.is-open .nav__list a { opacity: 1; transform: none; }
  .nav.is-open li:nth-child(1) a { transition-delay: .12s; } .nav.is-open li:nth-child(2) a { transition-delay: .16s; }
  .nav.is-open li:nth-child(3) a { transition-delay: .2s; } .nav.is-open li:nth-child(4) a { transition-delay: .24s; }
  .nav.is-open li:nth-child(5) a { transition-delay: .28s; } .nav.is-open li:nth-child(6) a { transition-delay: .32s; }
  .nav.is-open li:nth-child(7) a { transition-delay: .36s; }
  .header.is-scrolled .nav__list a:hover { background: rgba(255,255,255,.1); }
  body.menu-open .header { color: #fff; }
  body.menu-open .header .logo.has-light .logo__img--light { opacity: 1; }
  body.menu-open .header .logo.has-light .logo__img--main { opacity: 0; }
  body.menu-open .burger { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 560px) { .logo__img { height: 48px; } .header.is-scrolled .logo__img { height: 42px; } }

/* ------------------------------------------------------------- Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + var(--demo-h) + 40px) 0 100px; overflow: hidden; color: #fff; isolation: isolate;
  background: var(--c-deep-2);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden;
  background: radial-gradient(120% 80% at 85% 0%, #00609e 0%, transparent 55%), linear-gradient(160deg, var(--c-deep) 0%, #002338 75%); }
.hero__photo-bg { /* la foto del hero, desenfocada, como luz de fondo */
  position: absolute; inset: -60px; background: var(--hero-img, none) center / cover no-repeat;
  filter: blur(34px) saturate(1.3); opacity: .38; transform: scale(1.05);
}
.hero__photo-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--deep-rgb), .55), rgba(0, 35, 56, .9)); }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: drift 18s ease-in-out infinite alternate; }
.hero__glow--a { width: 46vw; height: 46vw; left: 50%; top: 0; background: radial-gradient(circle, rgba(var(--sky-rgb), .9), transparent 65%); opacity: .35; }
.hero__glow--b { width: 36vw; height: 36vw; left: -8%; top: 45%; background: radial-gradient(circle, var(--c-blue), transparent 65%); animation-duration: 22s; animation-delay: -6s; }
.hero__glow--c { width: 26vw; height: 26vw; left: 70%; top: 62%; background: radial-gradient(circle, var(--c-sky-soft), transparent 65%); opacity: .22; animation-duration: 26s; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-6vw, 4vw) scale(1.15); } }
.hero__grain { position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 40px; } }
.hero__content { position: relative; z-index: 1; }

/* Foto vertical dentro de un marco de vidrio + paneles flotantes */
.hero__visual { position: relative; width: min(100%, 420px); aspect-ratio: 4 / 5; justify-self: center; }
@media (min-width: 960px) { .hero__visual { justify-self: end; margin-right: 4%; } }
.hero__frame {
  position: absolute; inset: 0; border-radius: 32px; overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,.3), rgba(255,255,255,.06) 50%, rgba(var(--sky-rgb), .18));
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .3), inset 2px 2px 0 rgba(255,255,255,.35), 0 60px 110px -40px rgba(0,0,0,.75);
}
.hero__media { inset: 11px; border-radius: 22px; }
.hero__media img { object-position: center 40%; }
.hero__frame-sheen { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; border-radius: inherit; }
.hero__frame-sheen::after { content: ""; position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 44%, rgba(255,255,255,.32) 49%, rgba(255,255,255,.06) 52%, transparent 57%); animation: sheen 8s var(--ease) infinite 1s; }
.hero__panels { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.gpanel {
  --r: 0deg;
  position: absolute; border-radius: 22px; overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,.26) 0%, rgba(255,255,255,.06) 45%, rgba(var(--sky-rgb), .14) 100%);
  backdrop-filter: blur(7px) saturate(170%); -webkit-backdrop-filter: blur(7px) saturate(170%);
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .3), inset 3px 3px 0 -1px rgba(255,255,255,.45), inset -2px -2px 12px rgba(var(--sky-rgb), .3), 0 30px 60px -24px rgba(0,0,0,.55);
  translate: var(--tx, 0) var(--ty, 0); transform: rotate(var(--r));
  animation: float 9s ease-in-out infinite; transition: translate .9s var(--ease);
}
.gpanel::after { content: ""; position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.42) 49%, rgba(255,255,255,.08) 52%, transparent 58%); animation: sheen 7s var(--ease) infinite; }
.gpanel__tag { position: absolute; left: 12px; bottom: 12px; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; padding: 5px 9px; border-radius: 999px; background: rgba(0, 40, 70, .35); border: 1px solid rgba(255,255,255,.25); white-space: nowrap; }
.gpanel--1 { --r: -8deg; width: 40%; aspect-ratio: 3 / 4; left: -24%; top: 12%; }
.gpanel--2 { --r: 7deg; width: 36%; aspect-ratio: 4 / 5; right: -16%; bottom: 14%; animation-delay: -3s; animation-duration: 11s; }
.gpanel--3 { --r: 14deg; width: 30%; aspect-ratio: 1; left: -10%; bottom: -8%; animation-delay: -5s; animation-duration: 13s; }
.gpanel--4 { --r: -16deg; width: 16%; aspect-ratio: 1 / 2; right: -7%; top: -6%; animation-delay: -1s; animation-duration: 10s; border-radius: 14px; }
.gpanel--2::after { animation-delay: 1.4s; } .gpanel--3::after { animation-delay: 2.8s; } .gpanel--4::after { animation-delay: 4.2s; }
@keyframes float { 0%,100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(calc(var(--r) + 2deg)) translateY(-14px); } }
@keyframes sheen { 0% { transform: translateX(-60%); } 55%, 100% { transform: translateX(60%); } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--c-blue); }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--c-sky); }
.eyebrow--light { color: var(--c-sky-light); }
.hero__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.5rem, 6.2vw, 5.3rem); line-height: .98; letter-spacing: -.02em; max-width: 13ch; }
.hero__line { display: block; }
.hero__line--accent { font-weight: 300; font-style: italic; padding-bottom: .1em; -webkit-box-reflect: below -0.2em linear-gradient(transparent 50%, rgba(255,255,255,.22)); }
.sheen-text {
  background: linear-gradient(100deg, #8fdcff 0%, #ffffff 18%, var(--c-sky) 34%, #ffffff 46%, #5cc7ff 58%, #d6f0ff 80%, #8fdcff 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: textSheen 6s linear infinite;
}
@keyframes textSheen { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.hero__lead { margin-top: 30px; max-width: 46ch; font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: #d2e4f0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255,255,255,.45); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 959px) {
  .hero { min-height: 0; padding-bottom: 80px; }
  .hero__visual { width: min(70%, 340px); margin-top: 8px; }
  .hero__scroll { display: none; }
}
@media (max-width: 560px) { .hero__ctas .btn { flex: 1 1 auto; } .gpanel__tag { font-size: .58rem; left: 8px; bottom: 8px; } }

/* ------------------------------------------------------------- Marquesinas */
.marquee {
  position: relative; overflow: hidden; padding: 18px 0; background: linear-gradient(90deg, #e3ecf0, #f7fafb, #e3ecf0); border-block: 1px solid #fff;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.6rem); white-space: nowrap; color: var(--c-navy); text-transform: uppercase; letter-spacing: .02em; }
.marquee__item:nth-child(even) { color: var(--c-sky); font-weight: 300; font-style: italic; text-transform: none; }
.marquee__item::after { content: ""; width: 10px; height: 10px; transform: rotate(45deg); border: 1px solid var(--c-sky); background: linear-gradient(135deg, #fff, rgba(var(--sky-rgb), .4)); }
@keyframes marquee { to { transform: translateX(-50%); } }

.arch { padding: clamp(48px, 7vw, 72px) 0; text-align: center; overflow: hidden; background: linear-gradient(180deg, #fff, var(--c-gray)); border-block: 1px solid rgba(var(--deep-rgb), .06); }
.arch__title { font-family: var(--f-sans); font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 26px; padding-inline: var(--gutter); }
.arch__marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.arch__track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.arch__marquee:hover .arch__track { animation-play-state: paused; }
.arch__track li { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--c-navy); white-space: nowrap; opacity: .85; transition: opacity .3s, color .3s; }
.arch__track li:hover { opacity: 1; color: var(--c-blue); }
.arch__track li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-sky); box-shadow: 0 0 10px rgba(var(--sky-rgb), .8); }

/* ------------------------------------------------------------- Secciones */
.section { position: relative; padding: clamp(80px, 11vw, 136px) 0; overflow: hidden; isolation: isolate; }
.section::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(40vw 40vw at 92% 8%, rgba(var(--sky-rgb), .13), transparent 60%), radial-gradient(34vw 34vw at 4% 92%, rgba(0, 79, 138, .1), transparent 60%);
}
.section--tint { background: linear-gradient(180deg, #e8eff2, #f5f8f9); }
.section--dark { background: var(--c-deep-2); color: #fff; }
.section--dark::before { background: radial-gradient(45vw 45vw at 85% 15%, rgba(var(--sky-rgb), .2), transparent 60%), radial-gradient(40vw 40vw at 0% 100%, rgba(0, 79, 138, .55), transparent 60%); }
.section--quote { background: linear-gradient(170deg, #dae8f0 0%, #f1f6f8 45%, #e1ecf2 100%); }
.section--quote::before { background: radial-gradient(38vw 38vw at 12% 20%, rgba(var(--sky-rgb), .3), transparent 60%), radial-gradient(30vw 30vw at 90% 70%, rgba(0, 79, 138, .22), transparent 60%), radial-gradient(20vw 20vw at 60% 0%, rgba(255,255,255,.85), transparent 60%); }
.section__head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 60px); text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.section__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.9rem, 4.2vw, 3.1rem); letter-spacing: -.015em; color: var(--c-navy); }
.section--dark .section__title, .hero .section__title { color: #fff; }
.section__lead { margin-top: 14px; color: var(--c-muted); font-size: 1.06rem; }
.section--dark .section__lead { color: var(--c-muted-light); }

/* Revelado al scroll (solo con JS). Usa "translate" para no pisar el tilt (transform). */
.js .reveal { opacity: 0; translate: 0 28px; filter: blur(6px); transition: opacity .9s var(--ease) var(--d, 0s), translate .9s var(--ease) var(--d, 0s), filter .9s var(--ease) var(--d, 0s), transform .5s var(--ease), box-shadow .5s var(--ease); }
.js .reveal.is-visible { opacity: 1; translate: none; filter: none; }
.js .reveal.is-visible.is-tilting { transition: opacity .9s, translate .9s, filter .9s, transform .12s linear, box-shadow .5s var(--ease); }

.icon--fill { fill: currentColor !important; stroke: none !important; }
.icon { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------- Servicios */
.services { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 560px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(4, 1fr); } .service { padding: 26px 22px 22px; } }
.service {
  display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 24px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(255,255,255,.5));
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow);
}
.service:hover { box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 30px 60px -24px rgba(var(--deep-rgb), .4); }
.service__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, rgba(var(--sky-rgb), .2), rgba(255,255,255,.85)); border: 1px solid rgba(var(--sky-rgb), .35); color: var(--c-blue); transform: translateZ(30px); }
.service h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; color: var(--c-navy); }
.service p { color: var(--c-muted); font-size: .94rem; flex: 1; }
.service__cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 8px 0; border: 0; background: none; font-weight: 700; font-size: .9rem; color: var(--c-blue); text-decoration: none; position: relative; z-index: 3; }
.service__cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
.service__cta:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------- Stock */
.stock { display: grid; gap: 22px; align-items: start; }
@media (min-width: 960px) { .stock.has-photo { grid-template-columns: 340px 1fr; } }
.stock__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(var(--deep-rgb), .55); border: 8px solid rgba(255,255,255,.65); }
@media (min-width: 960px) { .stock__photo { position: sticky; top: calc(var(--header-h) + var(--demo-h) + 24px); } }
@media (max-width: 959px) { .stock__photo { max-width: 280px; width: 100%; margin-inline: auto; } }
.stock__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.scard { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.scard__badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #005a87; background: rgba(var(--sky-rgb), .13); border: 1px solid rgba(var(--sky-rgb), .3); }
.scard__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-green); box-shadow: 0 0 0 3px rgba(5,166,127,.2); }
.scard h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; color: var(--c-navy); }
.scard__size { display: flex; align-items: center; gap: 8px; color: var(--c-muted); font-size: .9rem; font-weight: 600; }
.scard__size .icon { width: 20px; height: 20px; color: var(--c-sky); }
.scard__prices { display: grid; gap: 4px; margin: 6px 0 4px; padding: 14px 0 0; border-top: 1px solid var(--c-line); }
.scard__price { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.scard__price small { font-size: .78rem; color: var(--c-muted); font-weight: 600; }
.scard__price strong { font-family: var(--f-display); font-weight: 700; font-size: 1.7rem; color: var(--c-navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.scard__price span { font-weight: 700; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.scard .btn { margin-top: auto; }
.scard__alt { align-self: center; font-size: .82rem; font-weight: 700; color: var(--c-blue); text-decoration: none; padding: 4px; }
.scard__alt:hover { text-decoration: underline; }
/* Con foto al costado: cada mampara es una fila horizontal de vidrio */
@media (min-width: 960px) {
  .stock.has-photo .stock__grid { grid-template-columns: 1fr; }
  .stock.has-photo .scard {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, auto); gap: 6px 28px; align-items: center;
    grid-template-areas: "badge prices" "title prices" "size prices" "alt btn";
  }
  .stock.has-photo .scard__badge { grid-area: badge; justify-self: start; }
  .stock.has-photo .scard h3 { grid-area: title; }
  .stock.has-photo .scard__size { grid-area: size; }
  .stock.has-photo .scard__prices { grid-area: prices; margin: 0; padding: 4px 0 4px 28px; border-top: 0; border-left: 1px solid var(--c-line); align-self: stretch; align-content: center; gap: 8px; }
  .stock.has-photo .scard .btn { grid-area: btn; margin-top: 10px; }
  .stock.has-photo .scard__alt { grid-area: alt; justify-self: start; margin-top: 10px; }
}
.stock__note { margin: 26px auto 0; max-width: 760px; text-align: center; font-size: .88rem; color: var(--c-muted); }
.stock__note:empty { display: none; }

/* ------------------------------------------------------------- Fábrica / Nosotros */
.about { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: 1fr 1fr; gap: 72px; } }
.about__media { position: relative; width: min(100%, 500px); aspect-ratio: 1 / 1.08; justify-self: center; }
.about__img { position: absolute; border-radius: 28px; padding: 9px; background: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .25), 0 40px 80px -36px rgba(var(--deep-rgb), .6); }
.about__img .media { inset: 9px; border-radius: 20px; }
.about__img--a { left: 0; top: 0; width: 62%; height: 90%; z-index: 1; }
.about__img--b { right: 0; bottom: 0; width: 50%; height: 64%; z-index: 3; translate: 0 var(--py, 0px); transition: translate .2s linear; }
.about__media.is-single .about__img--a { left: 12%; width: 76%; height: 100%; }
.about__glass { /* panel de vidrio que refracta la foto de atrás */
  position: absolute; z-index: 2; left: 40%; top: 6%; width: 24%; height: 40%; border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(var(--sky-rgb), .12));
  backdrop-filter: blur(6px) saturate(170%); -webkit-backdrop-filter: blur(6px) saturate(170%);
  border: 1px solid rgba(255,255,255,.7); box-shadow: inset 2px 2px 0 rgba(255,255,255,.6), 0 20px 40px -20px rgba(var(--deep-rgb), .5);
  rotate: 8deg; animation: float 10s ease-in-out infinite; overflow: hidden;
}
.about__glass::after { content: ""; position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.5) 49%, transparent 56%); animation: sheen 7s var(--ease) infinite 2s; }
.about__media.is-single .about__glass { left: 70%; }
.about__text { margin-top: 18px; color: var(--c-muted); font-size: 1.05rem; }
.about__text p + p { margin-top: 14px; }

/* ------------------------------------------------------------- Diferenciales */
.why { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .why { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.why__item { padding: 24px; border-radius: var(--radius); }
.why__item .service__icon { background: rgba(var(--sky-rgb), .12); border-color: rgba(var(--sky-rgb), .35); color: var(--c-sky-light); width: 48px; height: 48px; margin-bottom: 14px; }
.why__item h3 { font-size: 1.1rem; font-family: var(--f-display); font-weight: 500; margin-bottom: 6px; }
.why__item p { color: var(--c-muted-light); font-size: .93rem; }
.counters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: clamp(48px, 7vw, 80px); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
@media (min-width: 760px) { .counters { grid-template-columns: repeat(4, 1fr); } }
.counter { padding: 30px 16px; text-align: center; background: rgba(0, 38, 62, .88); }
.counter__num { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.3rem, 5.4vw, 3.8rem); line-height: 1; }
.counter__num.sheen-text { animation-duration: 8s; }
.counter__label { display: block; margin-top: 8px; font-size: .85rem; color: var(--c-muted-light); letter-spacing: .03em; }

/* ------------------------------------------------------------- Checklist */
.checklist { display: grid; gap: 10px; margin: 24px 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checklist li::before { content: ""; flex: none; margin-top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002b4d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checklist--green li::before { background-color: var(--c-green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }

/* ------------------------------------------------------------- Espejo */
.mirror-wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .mirror-wrap { grid-template-columns: 1fr 1fr; gap: 72px; } }
.mirror-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.switch-btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; border: 1px solid var(--c-line); background: rgba(255,255,255,.75); font-weight: 700; }
.switch-btn__dot { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #c8d5dc; transition: background-color .3s; }
.switch-btn__dot::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .4s var(--ease-spring); }
.switch-btn[aria-pressed="true"] .switch-btn__dot { background: var(--c-sky); }
.switch-btn[aria-pressed="true"] .switch-btn__dot::after { transform: translateX(16px); }
.temp { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid var(--c-line); }
.temp button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; color: var(--c-muted); transition: background-color .3s, color .3s; }
.temp button[aria-checked="true"] { background: var(--c-navy); color: #fff; }
.mirror { --led: #ffe9c4; display: grid; place-items: center; position: relative; }
.mirror[data-temp="calida"] { --led: #ffc77a; }
.mirror[data-temp="fria"] { --led: #d6efff; }
.mirror::before { content: ""; position: absolute; width: 90%; height: 90%; border-radius: 50%; background: radial-gradient(circle, var(--led), transparent 65%); filter: blur(40px); opacity: 0; transition: opacity .8s, background .6s; }
.mirror.is-on::before { opacity: .9; }
.mirror__frame {
  position: relative; width: min(100%, 420px); aspect-ratio: 4 / 5.2; max-height: 72vh; border-radius: 999px 999px 28px 28px; overflow: hidden; touch-action: none;
  box-shadow: 0 0 0 1px rgba(var(--sky-rgb), .5), 0 0 0 6px rgba(255,255,255,.6), 0 0 0 7px rgba(var(--sky-rgb), .3), 0 40px 80px -30px rgba(var(--deep-rgb), .55); transition: box-shadow .6s;
}
.mirror.is-on .mirror__frame { box-shadow: 0 0 0 1px rgba(var(--sky-rgb), .5), 0 0 0 6px rgba(255,255,255,.75), 0 0 0 7px rgba(var(--sky-rgb), .3), 0 0 60px 10px var(--led), 0 40px 80px -30px rgba(var(--deep-rgb), .55); }
.mirror__reflection { position: absolute; inset: 0; transition: filter .6s; filter: brightness(.82) saturate(.9); }
.mirror.is-on .mirror__reflection { filter: brightness(1.05) saturate(1.05); }
.mirror__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.mirror__img.is-missing { display: none; }
.mirror__abstract { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(255,255,255,.25) 62.4%, transparent 63%), repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 1px, transparent 1px 64px), repeating-linear-gradient(0deg, rgba(255,255,255,.1) 0 1px, transparent 1px 64px), linear-gradient(170deg, #d6e6ee 0%, #a9c4d4 40%, #7d9db3 75%, #5a7a94 100%); }
.mirror__abstract span { position: absolute; border-radius: 50%; filter: blur(14px); }
.mirror__abstract span:nth-child(1) { width: 55%; height: 40%; left: 8%; top: 12%; background: radial-gradient(circle, rgba(255,255,255,.75), transparent 70%); }
.mirror__abstract span:nth-child(2) { width: 30%; height: 50%; right: 6%; bottom: 8%; background: radial-gradient(circle, rgba(40,90,120,.6), transparent 70%); border-radius: 40% 60% 30% 70%; }
.mirror__abstract span:nth-child(3) { width: 40%; height: 18%; left: 20%; bottom: 4%; background: radial-gradient(circle, rgba(255,255,255,.5), transparent 70%); }
.mirror__img:not(.is-missing) + .mirror__abstract { display: none; }
.mirror__fog { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
.mirror__led { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 3px transparent; transition: box-shadow .6s; }
.mirror.is-on .mirror__led { box-shadow: inset 0 0 0 4px var(--led), inset 0 0 18px 6px var(--led), inset 0 0 60px 12px color-mix(in srgb, var(--led) 60%, transparent); }
.mirror__sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 42%, transparent 50%, transparent 60%, rgba(255,255,255,.18) 64%, transparent 68%); mix-blend-mode: screen; }
.mirror__hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); pointer-events: none; padding: 8px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; color: var(--c-ink); background: rgba(255,255,255,.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: opacity .6s; animation: hintPulse 2.4s ease-in-out infinite; }
.mirror__hint.is-hidden { opacity: 0; }
@keyframes hintPulse { 50% { transform: translateX(-50%) translateY(-4px); } }

/* ------------------------------------------------------------- Galería (masonry para fotos verticales) */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.filter { position: relative; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(var(--deep-rgb), .14); background: rgba(255,255,255,.65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .9rem; font-weight: 700; color: var(--c-muted); transition: color .3s, background-color .3s, border-color .3s, transform .3s var(--ease); }
.filter:hover { color: var(--c-ink); transform: translateY(-1px); }
.filter[aria-pressed="true"] { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.filter__n { margin-left: 6px; font-size: .75rem; opacity: .65; }
.gallery { columns: 4 230px; column-gap: 18px; }
.gallery__item { break-inside: avoid; margin-bottom: 18px; border-radius: var(--radius); }
.gallery__item.is-hidden { display: none; }
.gallery__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: inherit; overflow: hidden; aspect-ratio: var(--ar, 4 / 5); background: none; text-align: left; color: #fff; box-shadow: 0 20px 50px -26px rgba(var(--deep-rgb), .6); }
.gallery__btn .media { border-radius: inherit; }
.gallery__btn:hover .media img { transform: scale(1.06); }
.gallery__btn::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 50%, rgba(0, 25, 45, .85)); }
.gallery__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 16px 18px; transform: translateY(6px); transition: transform .5s var(--ease); }
.gallery__btn:hover .gallery__info, .gallery__btn:focus-visible .gallery__info { transform: none; }
.gallery__cat { display: inline-block; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gallery__title { display: block; font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; line-height: 1.2; }
.gallery__zoom { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--ease-spring); }
.gallery__zoom svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.gallery__btn:hover .gallery__zoom, .gallery__btn:focus-visible .gallery__zoom { opacity: 1; transform: none; }
@media (max-width: 559px) {
  .gallery { columns: 2; column-gap: 10px; }
  .gallery__item { margin-bottom: 10px; border-radius: 16px; }
  .gallery__info { padding: 10px 12px; }
  .gallery__title { font-size: .92rem; }
  .gallery__cat { font-size: .58rem; padding: 2px 7px; }
  .mirror__frame { width: min(84%, 420px); }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 56px 16px 20px; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(0, 20, 36, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); animation: fadeIn .35s var(--ease); }
.lightbox__figure { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 100%; animation: lbIn .5s var(--ease); touch-action: pan-y; }
.lightbox__media { --ar: .8; position: relative; height: min(76vh, calc((100vw - 32px) / var(--ar))); aspect-ratio: var(--ar); max-width: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 100px -30px #000; }
.lightbox__media.is-swapping { animation: lbSwap .45s var(--ease); }
.lightbox__caption { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 12px; max-width: 640px; padding: 14px 4px 0; color: #e3eef5; text-align: center; font-size: .92rem; }
.lightbox__caption strong { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; }
.lightbox__cat { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-sky-light); }
.lightbox__count { font-size: .82rem; color: var(--c-muted-light); }
.lightbox__btn { position: absolute; z-index: 2; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .3s, transform .3s var(--ease); }
.lightbox__btn:hover { background: rgba(255,255,255,.2); transform: scale(1.06); }
.lightbox__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 16px; top: 50%; margin-top: -25px; }
.lightbox__next { right: 16px; top: 50%; margin-top: -25px; }
@media (max-width: 760px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; margin: 0; } .lightbox { padding-bottom: 86px; } .lightbox__media { height: min(64vh, calc((100vw - 32px) / var(--ar))); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes lbIn { from { opacity: 0; transform: scale(.94) translateY(20px); } }
@keyframes lbSwap { from { opacity: .2; transform: translateX(var(--swap, 30px)); } }

/* ------------------------------------------------------------- Antes / Después */
.ba-wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .ba-wrap { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.ba-hint { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: .88rem; font-weight: 700; color: var(--c-blue); }
.ba-hint svg { width: 22px; height: 22px; fill: none; stroke: var(--c-sky); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba {
  --pos: 50%;
  position: relative; width: min(100%, 470px); aspect-ratio: 4 / 5; justify-self: center; border-radius: 28px; overflow: hidden;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; background: #dfe8ee;
  box-shadow: 0 0 0 8px rgba(255,255,255,.7), 0 0 0 9px rgba(var(--sky-rgb), .3), 0 40px 80px -30px rgba(var(--deep-rgb), .6);
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: rgba(255,255,255,.9); box-shadow: 0 0 14px rgba(var(--sky-rgb), .9); pointer-events: none; }
.ba__handle {
  position: absolute; top: 50%; left: var(--pos); width: 60px; height: 60px; translate: -50% -50%; border-radius: 50%;
  display: grid; place-items: center; color: #fff; cursor: grab; overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,.4), rgba(var(--sky-rgb), .25));
  backdrop-filter: blur(10px) saturate(170%); -webkit-backdrop-filter: blur(10px) saturate(170%);
  border: 1px solid rgba(255,255,255,.8); box-shadow: inset 2px 2px 0 rgba(255,255,255,.5), 0 12px 30px -8px rgba(0,0,0,.45);
  transition: transform .3s var(--ease-spring);
}
.ba__handle::after { content: ""; position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.6) 49%, transparent 56%); animation: sheen 5s var(--ease) infinite; }
.ba__handle svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); position: relative; z-index: 1; }
.ba.is-dragging .ba__handle { transform: scale(1.1); cursor: grabbing; }
.ba__handle:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ba__label { position: absolute; bottom: 16px; z-index: 1; padding: 6px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(0, 35, 56, .5); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.ba__label:empty { display: none; }
.ba__label--before { left: 16px; }
.ba__label--after { right: 16px; }

/* ------------------------------------------------------------- Proceso */
.process { position: relative; display: grid; gap: 22px; }
@media (min-width: 860px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .process::before, .process::after { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 44px; height: 2px; border-radius: 2px; background: rgba(var(--deep-rgb), .1); }
  .process::after { background: linear-gradient(90deg, var(--c-sky), var(--c-navy)); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .3s; }
  .process.is-visible::after { transform: scaleX(1); }
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step__icon { position: relative; z-index: 1; width: 88px; height: 88px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(225,236,242,.75)); border: 1px solid #fff; box-shadow: inset 0 0 0 1px rgba(var(--sky-rgb), .3), 0 18px 40px -16px rgba(var(--deep-rgb), .45); color: var(--c-blue); }
.step__icon .icon { width: 34px; height: 34px; }
.step__num { position: absolute; top: -4px; right: -4px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--c-navy); color: #fff; font-size: .8rem; font-weight: 700; }
.step h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; margin-bottom: 6px; color: var(--c-navy); }
.step p { color: var(--c-muted); font-size: .95rem; max-width: 26ch; margin-inline: auto; }
@media (max-width: 859px) {
  .step { display: grid; grid-template-columns: 72px 1fr; gap: 4px 18px; text-align: left; align-items: center; }
  .step__icon { width: 72px; height: 72px; margin: 0; grid-row: span 2; }
  .step p { margin: 0; }
}

/* ------------------------------------------------------------- Cotizador */
.quote { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1000px) { .quote { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; } .quote__summary { position: sticky; top: calc(var(--header-h) + var(--demo-h) + 20px); } }
.quote__main { padding: clamp(20px, 3.4vw, 36px); min-width: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.steps button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 6px; border: 0; background: none; color: var(--c-muted); font-size: .85rem; font-weight: 700; text-align: left; border-radius: 10px; }
.steps button:disabled { cursor: default; }
.steps span { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(var(--deep-rgb), .16); background: rgba(255,255,255,.65); font-size: .82rem; transition: all .4s var(--ease); }
.steps em { font-style: normal; }
.steps li.is-current span { background: var(--c-navy); border-color: var(--c-navy); color: #fff; transform: scale(1.08); }
.steps li.is-current button { color: var(--c-ink); }
.steps li.is-done span { background: var(--c-sky); border-color: var(--c-sky); color: #002b4d; }
@media (max-width: 600px) { .steps em { display: none; } .steps button { justify-content: center; } }
.steps__bar { height: 3px; margin: 14px 0 28px; border-radius: 3px; background: rgba(var(--deep-rgb), .08); overflow: hidden; }
.steps__bar span { display: block; height: 100%; width: 25%; border-radius: inherit; background: linear-gradient(90deg, var(--c-sky), var(--c-navy)); transition: width .7s var(--ease); }
.quote__stage { position: relative; }
.qstep__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: 22px; color: var(--c-navy); }
.qstep.is-entering { animation: stepIn .55s var(--ease) both; }
.qstep.is-entering.from-left { animation-name: stepInLeft; }
@keyframes stepIn { from { opacity: 0; transform: translateX(40px); filter: blur(6px); } }
@keyframes stepInLeft { from { opacity: 0; transform: translateX(-40px); filter: blur(6px); } }
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .products { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
.product { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 16px; min-height: 150px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.62); text-align: left; box-shadow: 0 10px 30px -20px rgba(var(--deep-rgb), .45); transition: border-color .3s, background-color .3s, box-shadow .4s, transform .4s var(--ease); }
.product:hover { transform: translateY(-3px); background: rgba(255,255,255,.88); }
.product[aria-checked="true"] { border-color: var(--c-sky); background: #fff; box-shadow: 0 0 0 3px rgba(var(--sky-rgb), .3), 0 20px 40px -20px rgba(var(--deep-rgb), .55); }
.product__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(var(--sky-rgb), .14); color: var(--c-blue); }
.product strong { font-size: .98rem; line-height: 1.25; color: var(--c-navy); }
.product small { font-size: .8rem; color: var(--c-muted); line-height: 1.35; }
.product__check { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-green); display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease-spring); }
.product__check svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.product[aria-checked="true"] .product__check { transform: scale(1); }
.qopts { display: grid; gap: 22px; }
.qopt { margin: 0; padding: 0; border: 0; min-width: 0; }
.qopt__label { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: .92rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(var(--deep-rgb), .15); background: rgba(255,255,255,.7); font-size: .9rem; font-weight: 600; transition: all .3s var(--ease); }
.pill:hover span { border-color: rgba(var(--deep-rgb), .32); }
.pill input:checked + span { background: var(--c-navy); color: #fff; border-color: var(--c-navy); box-shadow: 0 8px 20px -10px rgba(0, 72, 131, .7); }
.pill input:focus-visible + span { outline: 3px solid var(--c-sky); outline-offset: 2px; }
.toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; font-size: .92rem; width: fit-content; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__ui { flex: none; position: relative; width: 44px; height: 26px; border-radius: 999px; background: #c8d5dc; transition: background-color .3s; }
.toggle__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .4s var(--ease-spring); }
.toggle input:checked + .toggle__ui { background: var(--c-blue); }
.toggle input:checked + .toggle__ui::after { transform: translateX(18px); }
.toggle input:focus-visible + .toggle__ui { outline: 3px solid var(--c-sky); outline-offset: 2px; }
.qnav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--c-line); }
@media (max-width: 520px) { .qnav .btn { flex: 1 1 auto; } }
.measure { display: grid; gap: 22px; align-items: center; }
@media (min-width: 700px) { .measure { grid-template-columns: 1fr 200px; } }
.measure__fields { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: end; }
.measure__x { padding-bottom: 12px; font-size: 1.4rem; color: var(--c-muted); }
.field--qty { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label { font-size: .85rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(var(--deep-rgb), .18); background: rgba(255,255,255,.88); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(var(--sky-rgb), .3); }
.field input[aria-invalid="true"] { border-color: var(--c-error); }
.field textarea { resize: vertical; }
.field__error { min-height: 1.2em; margin-top: 10px; color: var(--c-error); font-size: .88rem; font-weight: 700; }
.qty { display: inline-flex; align-items: center; width: fit-content; border-radius: 12px; border: 1px solid rgba(var(--deep-rgb), .18); background: rgba(255,255,255,.88); overflow: hidden; }
.qty button { width: 44px; height: 46px; border: 0; background: none; font-size: 1.3rem; }
.qty button:hover { background: rgba(var(--sky-rgb), .14); }
.field .qty input { width: 64px; border: 0; border-radius: 0; text-align: center; background: transparent; box-shadow: none; padding: 12px 4px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.measure__preview { display: grid; place-items: center; height: 200px; border-radius: var(--radius-sm); background: repeating-linear-gradient(0deg, rgba(var(--deep-rgb), .05) 0 1px, transparent 1px 20px), repeating-linear-gradient(90deg, rgba(var(--deep-rgb), .05) 0 1px, transparent 1px 20px); }
.glass-preview { position: relative; width: 120px; height: 160px; border-radius: 6px; background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(191,216,225,.6) 60%, rgba(var(--sky-rgb), .35)); border: 1px solid #fff; box-shadow: inset 0 0 0 2px rgba(var(--sky-rgb), .45), 10px 14px 30px -12px rgba(var(--deep-rgb), .5); transition: width .6s var(--ease-spring), height .6s var(--ease-spring); }
.glass-preview::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.85) 40%, transparent 48%); }
.glass-preview__w, .glass-preview__h { position: absolute; font-size: .72rem; font-weight: 700; color: var(--c-blue); white-space: nowrap; }
.glass-preview__w { left: 50%; top: -20px; transform: translateX(-50%); }
.glass-preview__h { top: 50%; left: calc(100% + 8px); transform: translateY(-50%); }
.item-preview { margin-top: 6px; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: .9rem; color: var(--c-muted); }
.item-preview strong { font-size: 1.15rem; color: var(--c-navy); }
.item-preview:empty { display: none; }
.qform { display: grid; gap: 18px; }
@media (min-width: 700px) { .qform { grid-template-columns: 1fr 1fr; } .qform .qopt, .qform .field--full { grid-column: 1 / -1; } }
.quote__summary { padding: 24px; }
.summary__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.summary__head h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; color: var(--c-navy); }
.summary__count { font-size: .8rem; font-weight: 700; color: var(--c-muted); }
.summary__list { display: grid; gap: 10px; }
.sitem { position: relative; padding: 14px 14px 12px; border-radius: var(--radius-sm); background: rgba(255,255,255,.8); border: 1px solid #fff; animation: sitemIn .5s var(--ease-spring); }
.sitem.is-removing { animation: sitemOut .35s var(--ease) forwards; }
@keyframes sitemIn { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@keyframes sitemOut { to { opacity: 0; transform: translateX(30px); } }
.sitem__top { display: flex; justify-content: space-between; gap: 10px; }
.sitem__name { font-weight: 700; font-size: .95rem; color: var(--c-navy); }
.sitem__price { font-weight: 700; white-space: nowrap; }
.sitem__meta { margin-top: 4px; font-size: .8rem; color: var(--c-muted); line-height: 1.45; }
.sitem__actions { display: flex; gap: 6px; margin-top: 8px; }
.sitem__actions button { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--c-line); background: #fff; font-size: .78rem; font-weight: 700; color: var(--c-muted); }
.sitem__actions button:hover { color: var(--c-ink); border-color: rgba(var(--deep-rgb), .3); }
.sitem__actions button.del:hover { color: var(--c-error); border-color: rgba(180,35,24,.4); }
.sitem__actions svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.summary__empty { padding: 18px; border-radius: var(--radius-sm); border: 1px dashed rgba(var(--deep-rgb), .22); color: var(--c-muted); font-size: .9rem; text-align: center; }
.summary__add { margin-top: 12px; width: 100%; }
.summary__totals { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--c-line); display: grid; gap: 6px; font-size: .9rem; }
.summary__totals div { display: flex; justify-content: space-between; }
.summary__totals dt { color: var(--c-muted); }
.summary__totals dd { margin: 0; font-weight: 700; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 12px; padding: 16px 18px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--c-navy), var(--c-deep-2)); color: #fff; position: relative; overflow: hidden; }
.summary__total::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(var(--sky-rgb), .4) 50%, transparent 65%); transform: translateX(-100%); }
.summary__total.is-bump::after { animation: totalSheen 1s var(--ease); }
@keyframes totalSheen { to { transform: translateX(100%); } }
.summary__total span { font-size: .85rem; color: var(--c-muted-light); }
.summary__total strong { font-family: var(--f-display); font-weight: 700; font-size: 1.75rem; line-height: 1; font-variant-numeric: tabular-nums; }
.summary__note { margin: 12px 0 14px; font-size: .78rem; color: var(--c-muted); }

/* ------------------------------------------------------------- Testimonios + Google */
.gbadge { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 10px 18px 10px 10px; border-radius: 999px; text-decoration: none; background: rgba(255,255,255,.75); border: 1px solid #fff; box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .3s var(--ease), box-shadow .3s; }
.gbadge:hover { transform: translateY(-2px); box-shadow: 0 1px 0 #fff inset, 0 24px 50px -20px rgba(var(--deep-rgb), .45); }
.gbadge__score { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-navy); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; }
.gbadge__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; font-size: .88rem; color: var(--c-muted); }
.gbadge__text strong { color: var(--c-ink); font-size: .95rem; }
.gstars { position: relative; display: inline-block; font-size: 1rem; letter-spacing: 2px; color: #d3dde3; line-height: 1; }
.gstars span { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--c-star); }
.testimonials { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .testimonials { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1140px) { .testimonials { grid-template-columns: repeat(4, 1fr); } }
.testimonial { padding: 28px 26px; display: flex; flex-direction: column; gap: 16px; }
.testimonial__stars { display: flex; gap: 3px; color: var(--c-star); }
.testimonial__stars svg { width: 16px; height: 16px; fill: currentColor; }
.testimonial blockquote { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: 1.15rem; line-height: 1.45; flex: 1; color: var(--c-ink); }
.testimonial blockquote::before { content: "“"; display: block; height: .55em; font-size: 3rem; font-weight: 600; line-height: 1; color: var(--c-sky); }
.testimonial figcaption { font-size: .88rem; color: var(--c-muted); }
.testimonial figcaption strong { color: var(--c-navy); display: block; font-size: .95rem; }

/* ------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: var(--radius-sm); background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 10px 30px -22px rgba(var(--deep-rgb), .45); transition: background-color .3s; }
.faq__item.is-open { background: rgba(255,255,255,.92); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; border: 0; background: none; text-align: left; font-weight: 700; font-size: 1.02rem; color: var(--c-navy); }
.faq__icon { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--c-line); transition: background-color .3s, transform .5s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--c-sky); border-color: var(--c-sky); transform: rotate(180deg); }
.faq__item.is-open .faq__icon::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 22px 22px; color: var(--c-muted); }

/* ------------------------------------------------------------- Contacto */
.contact { display: grid; gap: 20px; }
@media (min-width: 1100px) { .contact { grid-template-columns: 1.1fr .9fr; gap: 24px; } }
.contact__info { display: grid; gap: 20px; align-content: start; }
.contact__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.ccard { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm); text-decoration: none; background: var(--glass-dark-bg); border: 1px solid var(--glass-dark-border); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background-color .3s, border-color .3s; }
.ccard:hover { background: rgba(255,255,255,.1); border-color: rgba(var(--sky-rgb), .55); }
.ccard__icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(var(--sky-rgb), .15); color: var(--c-sky-light); }
.ccard__icon .icon { width: 22px; height: 22px; }
.ccard--wa .ccard__icon { background: rgba(37,211,102,.16); color: #5be08f; }
.ccard small { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted-light); }
.ccard span { font-weight: 700; font-size: .95rem; overflow-wrap: anywhere; }
.contact__block { padding: 26px; }
.contact__block h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; margin-bottom: 12px; }
.contact__block h3:not(:first-child) { margin-top: 22px; }
.contact__block p { color: var(--c-muted-light); }
.hours { margin: 0; display: grid; gap: 6px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px dashed rgba(255,255,255,.14); }
.hours dt { color: var(--c-muted-light); }
.hours dd { margin: 0; font-weight: 700; text-align: right; }
.contact__map { min-height: 360px; padding: 8px; overflow: hidden; }
.contact__map iframe { width: 100%; height: 100%; min-height: 344px; border: 0; border-radius: calc(var(--radius) - 8px); filter: saturate(.85) contrast(1.05); }

/* ------------------------------------------------------------- Footer */
.footer { padding: 48px 0 110px; background: #00243b; color: var(--c-muted-light); font-size: .9rem; }
@media (min-width: 760px) { .footer { padding-bottom: 44px; } }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer__brand { display: grid; gap: 10px; justify-items: start; }
.footer__logo { height: 76px; width: auto; }
.footer__name { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: #fff; text-transform: uppercase; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); color: #fff; transition: background-color .3s, border-color .3s; }
.footer__social a:hover { background: rgba(var(--sky-rgb), .2); border-color: var(--c-sky); }
.footer__social .icon { width: 20px; height: 20px; }
.footer__copy { width: 100%; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }

/* ------------------------------------------------------------- WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 0; height: 60px; min-width: 60px; padding: 0 17px; border-radius: 999px; text-decoration: none; background: var(--c-wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(18,140,75,.7); transform: scale(0); animation: waIn .7s var(--ease-spring) 1.2s forwards; transition: gap .4s var(--ease), padding .4s var(--ease); }
.wa-float svg { width: 27px; height: 27px; flex: none; }
.wa-float::before, .wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--c-wa); animation: waPulse 2.6s ease-out infinite 2s; pointer-events: none; }
.wa-float::after { animation-delay: 3.3s; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: .92rem; color: #06301a; transition: max-width .5s var(--ease); }
.wa-float:hover, .wa-float:focus-visible { gap: 10px; padding-right: 22px; }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 140px; }
@keyframes waIn { to { transform: scale(1); } }
@keyframes waPulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }

/* ------------------------------------------------------------- Toast */
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 300; padding: 12px 20px; border-radius: 999px; background: rgba(0, 35, 56, .92); color: #fff; font-weight: 700; font-size: .9rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .35s, transform .5s var(--ease-spring); max-width: calc(100vw - 32px); text-align: center; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------- Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; translate: none; filter: none; }
  /* Sin animación: las marquesinas quedan como una fila que se puede desplazar */
  .marquee__track, .arch__track { animation: none; margin-inline: auto; }
  .marquee__track .is-clone, .arch__track .is-clone { display: none; }
  .marquee, .arch__marquee { -webkit-mask: none; mask: none; overflow-x: auto; padding-inline: var(--gutter); }
  .gpanel::after, .shine::before, .shine::after, .hero__frame-sheen, .about__glass::after, .ba__handle::after { display: none; }
  .wa-float { transform: none; }
  .sheen-text { background-position: 30% 0; }
}
