/* =========================================================
   DISAR Logistics — Hoja de estilos principal
   ========================================================= */
:root {
  /* Paleta "film": cristal, agua y frescura — clara y profesional */
  --navy: #1B1E22;
  --navy-2: #2E333A;
  --ink: #1B1E22;
  --ink-soft: #555D66;
  --muted: #8B939C;
  --line: rgba(27, 30, 34, .10);
  --line-dark: #E2E5E9;
  --bg-light: #F4F5F6;
  --white: #FFFFFF;
  --film: #EEF0F2;

  --blue: #0E8C99;
  --blue-2: #3FA9B3;
  --cyan: #19B3C0;
  --green: #22A95B;
  --magenta: #19B3C0;
  --amber: #F4A623;

  --grad: linear-gradient(120deg, #0E8C99 0%, #19B3C0 100%);
  --grad-hot: linear-gradient(120deg, #22A95B 0%, #14B8A6 100%);
  --grad-green: linear-gradient(120deg, #22A95B 0%, #14B8A6 100%);

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px -28px rgba(27, 30, 34, .28);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body), "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botones ---------- */
.btn {
  --b: var(--grad);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 15px/1 var(--font-body); letter-spacing: .01em; text-decoration: none;
  color: var(--white); background: var(--b); background-size: 160% 100%;
  box-shadow: 0 12px 30px -10px rgba(46, 75, 255, .65);
  transition: transform .2s ease, box-shadow .2s ease, background-position .4s ease;
}
.btn:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 18px 40px -12px rgba(0, 184, 255, .7); }
.btn svg { width: 18px; height: 18px; }
.btn-hot { --b: var(--grad-hot); box-shadow: 0 12px 30px -10px rgba(255, 46, 147, .6); }
.btn-green { --b: var(--grad-green); box-shadow: 0 12px 30px -10px rgba(25, 196, 99, .6); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.35); box-shadow: none; }
.btn-ghost:hover { border-color: var(--cyan); box-shadow: none; }
.btn-ghost-dark { background: transparent; color: var(--ink); border: 1.5px solid var(--line-dark); box-shadow: none; }
.btn-ghost-dark:hover { border-color: var(--blue); box-shadow: none; }
.btn-block { width: 100%; }

/* ---------- Header / menú ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(6, 10, 34, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 62px; width: auto; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: 14.5px;
  transition: color .2s, background .2s;
}
.menu a:hover, .menu a.active { color: var(--white); background: rgba(255,255,255,.08); }
.menu .btn { padding: 12px 22px; margin-left: 8px; font-size: 14px; color: var(--white); }
.menu .btn:hover { background-color: transparent; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,.06); cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 12px; width: 22px; height: 2px; background: var(--white); border-radius: 2px; content: ""; transition: transform .25s, top .25s, opacity .2s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .menu {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 18px 20px 28px; background: rgba(6,10,34,.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s ease;
  }
  .nav-open .menu { transform: none; opacity: 1; pointer-events: auto; }
  .menu a { padding: 14px 16px; font-size: 16px; }
  .menu .btn { margin: 10px 0 0; padding: 16px; }
  .brand img { height: 42px; }
}

/* ---------- Navegación por puntos (una sección por pantalla) ---------- */
.dots {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 90;
  display: flex; flex-direction: column; gap: 14px; list-style: none; margin: 0; padding: 0;
}
.dots a {
  display: block; width: 11px; height: 11px; border-radius: 50%;
  background: rgba(140, 150, 190, .45); border: 2px solid transparent; position: relative;
  transition: transform .25s, background .25s;
}
.dots a::after {
  content: attr(data-label); position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; font: 600 12px var(--font-body); color: var(--white);
  background: rgba(6,10,34,.85); padding: 5px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.dots a:hover::after { opacity: 1; }
.dots a.active { background: var(--cyan); transform: scale(1.35); box-shadow: 0 0 0 4px rgba(0,224,198,.2); }
@media (max-width: 980px) { .dots { display: none; } }

/* ---------- Secciones a pantalla completa ---------- */
.slide {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 70px;
  overflow: hidden;
}
.slide.dark { background: var(--navy); color: var(--white); }
.slide.light { background: var(--bg-light); }
.slide.white { background: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12.5px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.dark .eyebrow { color: var(--cyan); }
.section-title { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; }
.section-lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-soft); max-width: 680px; }
.dark .section-lead { color: rgba(255,255,255,.72); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hot-text { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }

/* Fondo animado */
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; }
.glow.g1 { width: 520px; height: 520px; background: #2E4BFF; top: -140px; left: -120px; animation: float 14s ease-in-out infinite; }
.glow.g2 { width: 460px; height: 460px; background: #00E0C6; bottom: -160px; right: 10%; opacity: .35; animation: float 18s ease-in-out infinite reverse; }
.glow.g3 { width: 300px; height: 300px; background: #FF2E93; top: 30%; right: -80px; opacity: .3; animation: float 16s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, 30px); } }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* ---------- HERO ---------- */
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.7vw, 64px); font-weight: 800; margin-bottom: 22px; }
.hero p.lead { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.75); max-width: 590px; margin-bottom: 34px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; margin-bottom: 26px;
  border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,.9);
}
.pill b { background: var(--grad-hot); color: var(--white); border-radius: 999px; padding: 5px 11px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(25,196,99,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(25,196,99,0); } 100% { box-shadow: 0 0 0 0 rgba(25,196,99,0); } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 26px; }
.hero-stats div { padding-right: 14px; }
.hero-stats strong { display: block; font: 800 clamp(22px, 2.4vw, 30px)/1.1 var(--font-display); color: var(--white); }
.hero-stats span { font-size: 13px; color: rgba(255,255,255,.6); }

.hero-media { position: relative; justify-self: center; width: min(380px, 100%); }
.video-frame {
  position: relative; border-radius: 34px; overflow: hidden; aspect-ratio: 9 / 15.5;
  background: #000; box-shadow: 0 40px 100px -30px rgba(0, 184, 255, .55), 0 0 0 1px rgba(255,255,255,.12);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(6,10,34,.55)); pointer-events: none; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: rgba(255,255,255,.96); color: var(--ink); border-radius: 18px; box-shadow: var(--shadow);
  font-size: 13px; line-height: 1.3; animation: bob 5s ease-in-out infinite;
}
.float-card strong { display: block; font: 800 15px var(--font-display); }
.float-card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--white); flex: none; }
.float-card .ic svg { width: 22px; height: 22px; }
.float-card.fc1 { left: -70px; top: 16%; }
.float-card.fc1 .ic { background: var(--grad-green); }
.float-card.fc2 { right: -50px; bottom: 14%; animation-delay: -2.5s; }
.float-card.fc2 .ic { background: var(--grad); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.5); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue i { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.35); border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: wheel 1.6s infinite; }
@keyframes wheel { to { transform: translateY(10px); opacity: 0; } }

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; gap: 50px; }
  .hero-media { width: min(320px, 80%); }
  .float-card.fc1 { left: -40px; }
  .float-card.fc2 { right: -30px; }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .float-card { padding: 10px 12px; font-size: 12px; }
  .float-card.fc1 { left: -24px; }
  .float-card.fc2 { right: -20px; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--grad); color: var(--white); overflow: hidden; padding: 14px 0; position: relative; z-index: 3; }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: ticker 32s linear infinite; font: 700 15px var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.ticker-track span { display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.ticker-track span::after { content: "✦"; opacity: .7; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Productos ---------- */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.product {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line-dark);
  transition: transform .3s ease;
}
.product:hover { transform: translateY(-6px); }
.product-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #ddd; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product:hover .product-img img { transform: scale(1.05); }
.badge {
  position: absolute; top: 18px; left: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; color: var(--white); font: 700 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  background: var(--grad-hot); box-shadow: 0 10px 24px -8px rgba(255,46,147,.7);
}
.badge.blue { background: var(--grad); box-shadow: 0 10px 24px -8px rgba(46,75,255,.7); }
.product-body { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 26px; margin-bottom: 8px; }
.product-body > p { color: var(--ink-soft); }
.specs { list-style: none; padding: 0; margin: 6px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.specs li { background: var(--bg-light); border-radius: 12px; padding: 11px 14px; font-size: 14px; }
.specs li b { display: block; font: 800 16px var(--font-display); color: var(--ink); }
.specs li span { color: var(--ink-soft); font-size: 12.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tag { padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(46,75,255,.08); color: var(--blue); }
.tag.g { background: rgba(25,196,99,.1); color: #0E9A4C; }
.tag.m { background: rgba(255,46,147,.1); color: #D61876; }
.product-cta { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }
.min-note { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(120deg, rgba(46,75,255,.08), rgba(0,224,198,.1)); margin-bottom: 24px; font-size: 14.5px; }
.min-note b { font: 800 22px var(--font-display); color: var(--blue); }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .product-body { padding: 24px 20px 26px; } .specs { grid-template-columns: 1fr; } }

/* ---------- Calidad ---------- */
.quality { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; position: relative; z-index: 2; }
.quality-video { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 9/14; box-shadow: 0 40px 100px -40px rgba(0,224,198,.6); max-width: 420px; }
.quality-video video { width: 100%; height: 100%; object-fit: cover; }
.quality-video .tagline { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 14px 18px; border-radius: 16px; background: rgba(6,10,34,.72); backdrop-filter: blur(8px); font-size: 14px; color: rgba(255,255,255,.88); }
.quality-video .tagline b { color: var(--cyan); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.feature { padding: 24px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.feature:hover { border-color: rgba(0,224,198,.5); background: rgba(255,255,255,.07); }
.feature .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; color: var(--white); }
.feature .ic svg { width: 24px; height: 24px; }
.feature h4 { font-size: 18px; margin-bottom: 6px; color: var(--white); }
.feature p { margin: 0; font-size: 14.5px; color: rgba(255,255,255,.66); }
.ic.c1 { background: var(--grad); } .ic.c2 { background: var(--grad-green); } .ic.c3 { background: var(--grad-hot); } .ic.c4 { background: linear-gradient(120deg, #FFB020, #FF6A3D); }
.certs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cert { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(0,224,198,.35); color: var(--white); font-size: 13.5px; font-weight: 700; }
.cert::before { content: "✓"; color: var(--cyan); font-weight: 900; }
@media (max-width: 980px) { .quality { grid-template-columns: 1fr; gap: 44px; } .quality-video { margin-inline: auto; width: min(360px, 100%); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- Logística / galería ---------- */
.logi { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; gap: 14px; }
.gallery figure { margin: 0; border-radius: 18px; overflow: hidden; position: relative; box-shadow: 0 20px 50px -25px rgba(10,20,80,.5); }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery .tall { grid-row: span 2; }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(6,10,34,.75); color: var(--white); font-size: 12px; font-weight: 700; }
.checklist { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li i { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: var(--white); font-style: normal; font-weight: 900; font-size: 14px; margin-top: 2px; }
.checklist b { display: block; font-family: var(--font-display); }
.checklist span { color: var(--ink-soft); font-size: 15px; }
.world-band { display: flex; gap: 14px; flex-wrap: wrap; }
.world-band span { padding: 10px 16px; border-radius: 12px; background: var(--white); border: 1px solid var(--line-dark); font-weight: 700; font-size: 14px; }
@media (max-width: 980px) { .logi { grid-template-columns: 1fr; } .gallery { grid-template-rows: 160px 160px 160px; } }

/* ---------- Formulario de pedidos ---------- */
.order-wrap { display: grid; grid-template-columns: .75fr 1.25fr; gap: 48px; align-items: start; position: relative; z-index: 2; }
.order-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.order-aside .rule { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid var(--line); margin-bottom: 14px; }
.order-aside .rule b { font-family: var(--font-display); display: block; color: var(--white); }
.order-aside .rule span { font-size: 14px; color: rgba(255,255,255,.66); }
.order-aside .rule .n { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font: 800 16px var(--font-display); color: var(--white); }
.form-card { background: var(--white); color: var(--ink); border-radius: 26px; padding: 36px; box-shadow: 0 40px 120px -40px rgba(0,0,0,.6); }
.form-card h3 { font-size: 22px; margin-bottom: 4px; }
.step-title { display: flex; align-items: center; gap: 12px; font: 800 13px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 30px 0 16px; }
.step-title:first-of-type { margin-top: 8px; }
.step-title i { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); color: var(--white); display: grid; place-items: center; font-style: normal; font-size: 13px; letter-spacing: 0; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice .box { height: 100%; display: block; padding: 18px; border-radius: 16px; border: 2px solid var(--line-dark); transition: border-color .2s, box-shadow .2s, background .2s; }
.choice .box b { display: block; font: 800 16px var(--font-display); margin-bottom: 4px; }
.choice .box span { font-size: 13.5px; color: var(--ink-soft); display: block; }
.choice .box em { display: inline-block; margin-top: 10px; font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255,46,147,.1); color: #D61876; }
.choice .box em.b { background: rgba(46,75,255,.1); color: var(--blue); }
.choice input:checked + .box { border-color: var(--blue); background: rgba(46,75,255,.04); box-shadow: 0 0 0 4px rgba(46,75,255,.12); }
.choice input:focus-visible + .box { outline: 3px solid var(--cyan); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line-dark); background: #FBFCFF;
  font: 500 15px var(--font-body); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(46,75,255,.12); background: var(--white); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--magenta); box-shadow: 0 0 0 4px rgba(255,46,147,.1); }
.field .err { font-size: 12.5px; color: #D61876; font-weight: 700; display: none; }
.field.invalid .err { display: block; }
.input-group { display: flex; gap: 8px; }
.input-group input { flex: 1; min-width: 0; }
.input-group select { width: auto; flex: none; }
.qty-summary { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--bg-light); font-size: 14.5px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.qty-summary b { font-family: var(--font-display); color: var(--blue); }
.checks { display: grid; gap: 12px; margin-top: 22px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); flex: none; }
.check a { color: var(--blue); font-weight: 700; }
.check.invalid { color: #D61876; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.form-actions .btn { flex: 1 1 220px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.hp { position: absolute; left: -5000px; }
[hidden] { display: none !important; }
.form-status { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 14px; font-size: 14.5px; }
.form-status.ok { display: block; background: rgba(25,196,99,.1); color: #0B7A3C; border: 1px solid rgba(25,196,99,.35); }
.form-status.error { display: block; background: rgba(255,46,147,.08); color: #B0145F; border: 1px solid rgba(255,46,147,.3); }
.btn[disabled] { opacity: .65; pointer-events: none; }
@media (max-width: 980px) { .order-wrap { grid-template-columns: 1fr; } .order-aside { position: static; } }
@media (max-width: 600px) { .form-card { padding: 26px 18px; border-radius: 20px; } .fields, .choice-grid { grid-template-columns: 1fr; } }

/* ---------- Contacto ---------- */
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.office { position: relative; padding: 34px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-dark); box-shadow: var(--shadow); overflow: hidden; }
.office::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad); }
.office.gt::before { background: var(--grad-hot); }
.office .flag { display: inline-flex; align-items: center; gap: 10px; font: 800 13px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.office .flag i { width: 30px; height: 20px; border-radius: 4px; display: inline-block; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.flag-sv { background: linear-gradient(#0047AB 33%, #fff 33% 66%, #0047AB 66%); }
.flag-gt { background: linear-gradient(90deg, #4997D0 33%, #fff 33% 66%, #4997D0 66%); }
.office h3 { font-size: 19px; line-height: 1.35; margin-bottom: 18px; }
.office ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.office li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-soft); }
.office li svg { flex: none; width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }
.office li a { text-decoration: none; font-weight: 700; color: var(--ink); }
.office li a:hover { color: var(--blue); }
.office .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.office .actions .btn { padding: 12px 20px; font-size: 14px; }
.contact-strip { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 30px; border-radius: var(--radius); background: var(--navy); color: var(--white); }
.contact-strip p { margin: 0; color: rgba(255,255,255,.75); }
.contact-strip a.mail { font: 800 clamp(18px, 2.2vw, 26px) var(--font-display); text-decoration: none; }
@media (max-width: 900px) { .offices { grid-template-columns: 1fr; } .office { padding: 26px 22px; } }

/* ---------- Footer ---------- */
.site-footer { background: #04071A; color: rgba(255,255,255,.7); padding: 70px 0 30px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid img { height: 64px; width: auto; margin-bottom: 16px; }
.footer-grid h5 { font: 800 13px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin: 6px 0 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--cyan); }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 95; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: var(--white);
  box-shadow: 0 14px 34px -8px rgba(37,211,102,.7); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Banner de cookies ---------- */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 200; max-width: 980px; margin-inline: auto;
  background: var(--white); color: var(--ink); border-radius: 22px; padding: 24px 26px;
  box-shadow: 0 30px 90px -20px rgba(0,0,0,.45); border: 1px solid var(--line-dark);
  display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center;
  transform: translateY(140%); transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.cookie-banner.show { transform: none; }
.cookie-banner h4 { font-size: 17px; margin-bottom: 6px; }
.cookie-banner p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.cookie-banner p a { color: var(--blue); font-weight: 700; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { padding: 12px 20px; font-size: 14px; }
@media (max-width: 760px) { .cookie-banner { grid-template-columns: 1fr; left: 12px; right: 12px; bottom: 12px; padding: 20px; } .cookie-actions .btn { flex: 1 1 auto; } }

.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(4,7,26,.7); backdrop-filter: blur(6px); }
.modal.show { display: flex; }
.modal-card { width: min(560px, 100%); max-height: 90vh; overflow: auto; background: var(--white); border-radius: 24px; padding: 30px; color: var(--ink); }
.modal-card h3 { font-size: 22px; }
.pref { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.pref b { font-family: var(--font-display); }
.pref p { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-soft); }
.switch { position: relative; flex: none; width: 50px; height: 28px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #CBD3EA; cursor: pointer; transition: .2s; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); transition: .2s; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:disabled + span { background: var(--green); opacity: .7; cursor: not-allowed; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.modal-actions .btn { flex: 1 1 auto; padding: 13px 20px; font-size: 14px; }

/* ---------- Animaciones al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Páginas legales ---------- */
.legal-hero { background: var(--navy); color: var(--white); padding: calc(var(--header-h) + 70px) 0 70px; position: relative; overflow: hidden; }
.legal-hero h1 { font-size: clamp(32px, 5vw, 56px); position: relative; z-index: 2; }
.legal-hero p { color: rgba(255,255,255,.7); position: relative; z-index: 2; margin: 0; }
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; padding: 64px 0 90px; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: 14px; }
.legal-toc h5 { font: 800 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.legal-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.legal-toc a { color: var(--ink-soft); text-decoration: none; }
.legal-toc a:hover { color: var(--blue); }
.legal-doc { max-width: 780px; font-size: 16px; color: #2A3150; }
.legal-doc h2 { font-size: 23px; margin: 46px 0 14px; padding-top: 6px; color: var(--ink); }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h3 { font-size: 17px; margin: 24px 0 10px; color: var(--ink); }
.legal-doc ul, .legal-doc ol { padding-left: 22px; margin: 0 0 1em; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc a { color: var(--blue); font-weight: 600; }
.legal-doc .box { padding: 20px 22px; border-radius: 16px; background: var(--bg-light); border: 1px solid var(--line-dark); margin: 18px 0; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 14.5px; }
.legal-doc th, .legal-doc td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-dark); vertical-align: top; }
.legal-doc th { background: var(--bg-light); font-family: var(--font-display); font-size: 13.5px; }
.table-scroll { overflow-x: auto; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; } .legal-toc { position: static; } }

@media print {
  .site-header, .dots, .wa-float, .cookie-banner, .modal, .site-footer, .legal-toc { display: none !important; }
  .legal-hero { padding: 20px 0; background: none; color: #000; }
  .legal-hero p { color: #333; }
}
@media (max-height: 950px) { .scroll-cue { display: none; } }

/* =========================================================
   TEMA CLARO "FILM" — superficies cristalinas con reflejos
   ========================================================= */
body { background: var(--white); color: var(--ink); }
.slide.film {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(25,179,192,.16), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(34,169,91,.10), transparent 60%),
    linear-gradient(160deg, #FAFAFB 0%, #EEF0F2 55%, #F5F6F7 100%);
  color: var(--ink);
}
/* Reflejos diagonales tipo película plástica */
.slide.film > .slide-bg::before, .legal-hero::before {
  content: ""; position: absolute; inset: -20%; pointer-events: none; z-index: 0;
  background: repeating-linear-gradient(115deg, transparent 0 140px, rgba(255,255,255,.65) 140px 175px, transparent 175px 260px, rgba(255,255,255,.35) 260px 272px, transparent 272px 420px);
  animation: sheen 22s linear infinite;
}
@keyframes sheen { to { transform: translateX(420px); } }

.glow { opacity: .22; filter: blur(110px); }
.glow.g1 { background: #19B3C0; }
.glow.g2 { background: #22A95B; opacity: .14; }
.glow.g3 { background: #0E8C99; opacity: .12; }
.grid-bg {
  opacity: .9;
  background-image: linear-gradient(rgba(27,30,34,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(27,30,34,.035) 1px, transparent 1px);
}

/* Header claro */
.site-header.scrolled, .site-header.solid {
  background: rgba(255,255,255,.86);
  box-shadow: 0 1px 0 var(--line-dark), 0 10px 30px -20px rgba(27,30,34,.25);
}
.menu a { color: var(--ink-soft); }
.menu a:hover, .menu a.active { color: var(--blue); background: rgba(14,140,153,.08); }
.nav-toggle { border-color: var(--line-dark); background: var(--white); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { background: var(--ink); }
@media (max-width: 980px) {
  .menu { background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line-dark); box-shadow: 0 20px 40px -20px rgba(27,30,34,.25); }
}

/* Textos en secciones film */
.film .eyebrow { color: var(--blue); }
.film .section-lead { color: var(--ink-soft); }
.hero p.lead { color: var(--ink-soft); }
.pill { background: rgba(255,255,255,.75); border-color: var(--line-dark); color: var(--ink); box-shadow: 0 8px 24px -16px rgba(27,30,34,.3); backdrop-filter: blur(6px); }
.hero-stats { border-top-color: var(--line-dark); }
.hero-stats strong { color: var(--ink); }
.hero-stats span { color: var(--ink-soft); }
.video-frame { box-shadow: 0 40px 90px -36px rgba(14,140,153,.45), 0 0 0 8px rgba(255,255,255,.7), 0 0 0 9px var(--line-dark); }
.video-frame::after { background: linear-gradient(180deg, transparent 70%, rgba(27,30,34,.35)); }
.float-card { border: 1px solid var(--line-dark); }
.scroll-cue { color: var(--muted); }
.scroll-cue i { border-color: rgba(27,30,34,.25); }
.btn-ghost-dark { background: rgba(255,255,255,.7); }
.btn-ghost-dark:hover { background: var(--white); }

/* Calidad */
.quality-video { box-shadow: 0 40px 90px -40px rgba(25,179,192,.55), 0 0 0 8px rgba(255,255,255,.7), 0 0 0 9px var(--line-dark); }
.feature { background: rgba(255,255,255,.8); border-color: var(--line-dark); box-shadow: 0 16px 40px -28px rgba(27,30,34,.3); backdrop-filter: blur(6px); }
.feature:hover { border-color: rgba(25,179,192,.55); background: var(--white); }
.feature h4 { color: var(--ink); }
.feature p { color: var(--ink-soft); }
.ic.c3 { background: linear-gradient(120deg, #0E8C99, #4A515A); }
.cert { color: var(--ink); border-color: rgba(34,169,91,.35); background: rgba(255,255,255,.7); }
.cert::before { color: var(--green); }

/* Badges y etiquetas */
.badge { box-shadow: 0 10px 24px -8px rgba(34,169,91,.6); }
.tag.m { background: rgba(34,169,91,.1); color: #17803F; }
.choice .box em { background: rgba(34,169,91,.12); color: #17803F; }
.pulse { background: #FFFFFF; }
.pill .pulse { background: var(--green); }

/* Pedidos */
.order-aside .rule { background: rgba(255,255,255,.8); border-color: var(--line-dark); box-shadow: 0 16px 40px -30px rgba(27,30,34,.35); }
.order-aside .rule b { color: var(--ink); }
.order-aside .rule span { color: var(--ink-soft); }
.form-card { box-shadow: 0 40px 100px -40px rgba(27,30,34,.35); border: 1px solid var(--line-dark); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #D93B56; box-shadow: 0 0 0 4px rgba(217,59,86,.1); }
.field .err, .check.invalid { color: #C02A45; }
.form-status.error { background: rgba(217,59,86,.07); color: #A32139; border-color: rgba(217,59,86,.3); }

/* Contacto */
.office.gt::before { background: var(--grad-green); }
.contact-strip { background: linear-gradient(120deg, #1B1E22, #2E333A); }
.contact-strip p b { color: #7FE3D3; }

/* Ticker */
.ticker { background: linear-gradient(120deg, #0E8C99, #19B3C0 60%, #22A95B); }

/* Páginas legales */
.legal-hero { background: linear-gradient(160deg, #FAFAFB 0%, #EEF0F2 60%, #F5F6F7 100%); color: var(--ink); border-bottom: 1px solid var(--line-dark); }
.legal-hero p { color: var(--ink-soft); }
.legal-hero .container { position: relative; z-index: 2; }

/* Footer (azul profundo para cerrar con solidez) */
.site-footer { background: #1B1E22; }
.footer-grid a:hover { color: #7FE3D3; }
.menu a.btn, .menu a.btn:hover, .menu a.btn.active { color: var(--white); background: var(--b); background-size: 160% 100%; }


/* =========================================================
   MODO PANTALLAS (una sección por pantalla + Anterior/Siguiente)
   ========================================================= */
:root { --nav-h: 76px; }
html:has(body.deck-mode), body.deck-mode { height: 100%; overflow: hidden; overscroll-behavior: none; }
body.deck-mode { background: #F4F5F6; }
body.deck-mode .site-header { top: 0; padding-top: env(safe-area-inset-top, 0px); height: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }

.deck {
  position: fixed; left: 0; right: 0;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}
.slide {
  position: absolute; inset: 0; min-height: 0; display: block; padding: 0; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateX(48px);
  transition: opacity .55s ease, transform .6s cubic-bezier(.2,.8,.2,1), visibility 0s linear .6s;
}
.slide.before { transform: translateX(-48px); }
.slide.active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; z-index: 2; }
.slide-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.slide-scroll {
  position: absolute; inset: 0; z-index: 1; overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch; overscroll-behavior: contain; scrollbar-width: thin;
}
.slide-inner { min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(20px, 4vh, 48px); }
.slide-inner > .container { padding-left: max(0px, env(safe-area-inset-left, 0px)); padding-right: max(0px, env(safe-area-inset-right, 0px)); }
.slide .section-head { margin-bottom: clamp(22px, 4vh, 44px); }
.dots { display: none !important; }

/* Hero */
.hero .slide-scroll { display: flex; flex-direction: column; }
.hero .slide-inner { flex: 1; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-copy { min-width: 0; }
.hero .ticker { flex: none; }
.hero-media { width: min(360px, 100%); }
.video-frame { aspect-ratio: 9 / 14; max-height: calc(100dvh - var(--header-h) - var(--nav-h) - 120px); margin-inline: auto; }

/* Barra inferior de navegación */
.deck-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(255,255,255,.9); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid var(--line-dark); box-shadow: 0 -10px 30px -22px rgba(27,30,34,.35);
}
.deck-progress { position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: transparent; }
.deck-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #0E8C99, #19B3C0, #22A95B); transition: width .5s ease; border-radius: 0 3px 3px 0; }
.deck-row { height: var(--nav-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; }
.deck-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; cursor: pointer;
  font: 700 15px var(--font-body); border: 1.5px solid var(--line-dark); background: var(--white); color: var(--ink);
  transition: transform .2s, border-color .2s, box-shadow .2s, opacity .2s;
}
.deck-btn svg { width: 20px; height: 20px; flex: none; }
.deck-btn:hover { border-color: var(--blue); transform: translateY(-1px); }
.deck-btn:disabled { opacity: .38; cursor: default; transform: none; border-color: var(--line-dark); }
.deck-btn.next { background: var(--grad); background-size: 160% 100%; color: var(--white); border-color: transparent; box-shadow: 0 12px 26px -12px rgba(14,140,153,.7); }
.deck-btn.next:hover { background-position: 100% 0; }
.deck-btn.next.restart { background: var(--grad-green); box-shadow: 0 12px 26px -12px rgba(34,169,91,.7); }
.deck-center { display: flex; align-items: center; justify-content: center; gap: 18px; min-width: 0; }
.deck-dots { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.deck-dots button { display: block; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: #D3D7DC; cursor: pointer; transition: width .3s, background .3s; }
.deck-dots button:hover { background: #A9B0B8; }
.deck-dots button.active { width: 30px; background: var(--grad); }
.deck-label { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; color: var(--ink-soft); font-size: 14px; white-space: nowrap; min-width: 0; }
.deck-label b { font: 800 18px var(--font-display); color: var(--ink); }
.deck-sep { opacity: .5; }
.deck-name { margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--line-dark); font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }

/* Elementos flotantes respetan la barra inferior */
body.deck-mode .wa-float { bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom, 0px)); right: max(18px, env(safe-area-inset-right, 0px)); width: 54px; height: 54px; }
body.deck-mode .cookie-banner { bottom: calc(var(--nav-h) + 12px + env(safe-area-inset-bottom, 0px)); }

/* Pie dentro de la última pantalla */
.slide-footer { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--ink-soft); display: grid; gap: 10px; }
.slide-footer p { margin: 0; }
.sf-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.sf-links a, .sf-links button { color: var(--ink); font: 700 13px var(--font-body); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.sf-links a:hover, .sf-links button:hover { color: var(--blue); }

/* Formulario dentro de pantalla */
.order-aside { top: 12px; }
.form-sub { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

/* Código de área + teléfono */
.phone-group { display: flex; gap: 8px; }
.phone-group input { flex: 1; min-width: 0; }
.dial { position: relative; flex: none; width: 104px; }
.dial-view {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 100%; min-height: 50px;
  padding: 0 12px 0 14px; border-radius: 12px; border: 1.5px solid var(--line-dark); background: #FBFCFF;
  font: 700 15px var(--font-body); color: var(--ink); font-variant-numeric: tabular-nums; pointer-events: none;
}
.dial-view::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: rotate(45deg) translateY(-3px); }
.dial select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.dial:focus-within .dial-view { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(14,140,153,.12); background: var(--white); }
.field.invalid .dial-view { border-color: #D93B56; }

/* Selector de idioma */
.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 12px 0 11px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line-dark); background: var(--white); color: var(--ink); font: 800 13.5px var(--font-body); letter-spacing: .03em;
}
.lang-btn svg { width: 18px; height: 18px; color: var(--blue); }
.lang-btn .chev { width: 14px; height: 14px; color: var(--ink-soft); transition: transform .2s; }
.lang.open .lang-btn .chev { transform: rotate(180deg); }
.lang-btn:hover { border-color: var(--blue); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 150; min-width: 200px; list-style: none; margin: 0; padding: 6px;
  background: var(--white); border: 1px solid var(--line-dark); border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(27,30,34,.35);
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .18s, transform .18s;
}
.lang.open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: 10px; background: none; cursor: pointer;
  font: 600 15px var(--font-body); color: var(--ink); text-align: left;
}
.lang-menu button b { display: inline-grid; place-items: center; min-width: 38px; height: 26px; border-radius: 7px; background: var(--bg-light); font-size: 12px; color: var(--ink-soft); }
.lang-menu button:hover { background: var(--bg-light); }
.lang-menu button.active { background: rgba(14,140,153,.08); color: var(--blue); }
.lang-menu button.active b { background: var(--grad); color: var(--white); }

/* Ajustes de tipografía para chino */
html[data-lang="zh"] h1, html[data-lang="zh"] h2, html[data-lang="zh"] h3 { letter-spacing: 0; line-height: 1.25; }
html[data-lang="zh"] .eyebrow { letter-spacing: .08em; }

/* ---------- Resoluciones ---------- */
@media (min-width: 1600px) {
  .container { width: min(1360px, 100% - 80px); }
  .hero h1 { font-size: 70px; }
  .hero-media { width: 400px; }
}
@media (max-width: 1180px) {
  .menu a { padding: 10px 10px; font-size: 14px; }
}
@media (max-width: 980px) {
  :root { --header-h: 66px; --nav-h: 68px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { width: min(300px, 78%); margin-top: 8px; }
  .video-frame { max-height: none; aspect-ratio: 9 / 13; }
  .menu { inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0; }
  .deck-name { display: none; }
}
@media (max-width: 640px) {
  .container { width: auto; margin-inline: 0; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .slide-inner > .container { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .deck-row { gap: 10px; }
  .deck-btn { height: 46px; padding: 0 16px; font-size: 14px; }
  .deck-btn.prev span { display: none; }
  .deck-btn.prev { width: 46px; padding: 0; justify-content: center; }
  .deck-dots { display: none; }
  .deck-label b { font-size: 17px; }
  .deck-name { display: inline; border-left: 0; margin-left: 4px; padding-left: 4px; }
  .brand img { height: 50px; }
  .lang-btn { height: 40px; padding: 0 10px; }
  .lang-btn .chev { display: none; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .section-title { font-size: clamp(27px, 7.6vw, 36px); }
  .pill { font-size: 12.5px; }
  .dial { width: 92px; }
  .contact-strip { padding: 22px 20px; }
  .contact-strip a.mail { font-size: 17px; word-break: break-all; }
  body.deck-mode .wa-float { width: 50px; height: 50px; }
  .float-card { display: none; }
}
@media (max-width: 380px) {
  .deck-btn.next { padding: 0 14px; }
  .deck-label { font-size: 13px; }
}
/* Pantallas bajas (laptops 1366×768, móviles en horizontal) */
@media (max-height: 760px) and (min-width: 981px) {
  :root { --header-h: 66px; --nav-h: 64px; }
  .hero h1 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 14px; }
  .hero p.lead { margin-bottom: 22px; }
  .hero-stats { margin-top: 24px; padding-top: 16px; }
  .pill { margin-bottom: 16px; }
  .section-title { font-size: clamp(30px, 3.6vw, 44px); }
}
@media (max-height: 520px) and (orientation: landscape) {
  :root { --header-h: 56px; --nav-h: 56px; }
  .brand img { height: 40px; }
  .deck-btn { height: 40px; }
  .hero-media { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .slide { transform: none !important; }
}
.legal-back { position: relative; z-index: 2; display: inline-flex; margin-bottom: 18px; font-weight: 700; font-size: 14px; color: var(--blue); text-decoration: none; }
.legal-back:hover { text-decoration: underline; }
.hero .slide-inner { flex: 1 0 auto; }
@media (min-width: 981px) { .product-img { aspect-ratio: 16 / 8; } .product-body { padding: 24px 28px 26px; } .specs { margin-bottom: 16px; } .tags { margin-bottom: 18px; } }
@media (max-width: 980px) { .logi .gallery { order: 2; } }
.site-header > .container { flex: 1 1 auto; min-width: 0; }

/* =========================================================
   Selector de país / código de área con buscador
   ========================================================= */
.cbx { position: relative; min-width: 0; }
.cbx-native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; left: 0; bottom: 0; }
.cbx-btn {
  width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 0 12px 0 14px; border-radius: 12px; border: 1.5px solid var(--line-dark); background: #FBFCFF; cursor: pointer;
  font: 600 15px var(--font-body); color: var(--ink); text-align: left;
}
.cbx-btn:hover { border-color: #C3C8CE; }
.cbx.open .cbx-btn, .cbx-btn:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(14,140,153,.12); background: var(--white); }
.cbx-val { display: flex; align-items: baseline; gap: 6px; min-width: 0; overflow: hidden; }
.cbx-val b { font-variant-numeric: tabular-nums; font-weight: 800; }
.cbx-val small { font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: .04em; }
.cbx-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cbx-ph { color: var(--muted); font-weight: 500; }
.cbx-chev { width: 16px; height: 16px; flex: none; color: var(--ink-soft); transition: transform .2s; }
.cbx.open .cbx-chev { transform: rotate(180deg); }
.field.invalid .cbx-btn { border-color: #D93B56; box-shadow: 0 0 0 4px rgba(217,59,86,.1); }

.cbx-pop {
  position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; width: max(100%, 340px); max-width: min(420px, 92vw);
  background: var(--white); border: 1px solid var(--line-dark); border-radius: 16px; box-shadow: 0 30px 70px -24px rgba(27,30,34,.4);
  display: flex; flex-direction: column; overflow: hidden;
}
.cbx-pop[hidden] { display: none !important; }
.cbx-head { display: flex; gap: 8px; align-items: center; padding: 10px; border-bottom: 1px solid var(--line-dark); background: var(--bg-light); }
.cbx-search-wrap { position: relative; flex: 1; min-width: 0; }
.cbx-search-wrap svg { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.cbx-search {
  width: 100%; height: 44px; padding: 0 12px 0 38px; border-radius: 10px; border: 1.5px solid var(--line-dark); background: var(--white);
  font: 500 16px var(--font-body); color: var(--ink);
}
.cbx-search:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14,140,153,.12); }
.cbx-close { display: none; height: 44px; padding: 0 12px; border: 0; background: none; color: var(--blue); font: 700 15px var(--font-body); cursor: pointer; }
.cbx-list { list-style: none; margin: 0; padding: 6px; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.cbx-list li[data-iso] { display: flex; align-items: center; gap: 10px; padding: 10px 10px; border-radius: 10px; cursor: pointer; font-size: 15px; color: var(--ink); }
.cbx-list li[data-iso]:hover, .cbx-list li.act { background: var(--bg-light); }
.cbx-list li.sel { background: rgba(14,140,153,.08); color: var(--blue); font-weight: 700; }
.cbx-iso { flex: none; width: 30px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: #ECEEF0; font-size: 11px; font-weight: 800; color: var(--ink-soft); letter-spacing: .03em; }
.cbx-n { flex: 1; min-width: 0; }
.cbx-d { flex: none; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink-soft); }
.cbx-group { padding: 10px 10px 4px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cbx-empty { padding: 18px 12px; color: var(--muted); text-align: center; }

/* Teléfono: código + número */
.phone-group { display: flex; gap: 8px; }
.phone-group .cbx { flex: none; width: 112px; }
.phone-group .cbx-pop { width: 340px; }

/* En celular el buscador se abre como hoja a pantalla completa */
@media (max-width: 640px) {
  .cbx-pop {
    position: fixed; z-index: 400; left: 0; right: 0; bottom: 0; top: max(56px, env(safe-area-inset-top, 0px));
    width: auto; max-width: none; border-radius: 20px 20px 0 0; box-shadow: 0 -20px 60px -10px rgba(27,30,34,.4);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .cbx-head { padding: 12px max(12px, env(safe-area-inset-right, 0px)) 12px max(12px, env(safe-area-inset-left, 0px)); }
  .cbx-close { display: block; }
  .cbx-list { max-height: none; flex: 1; padding: 8px max(8px, env(safe-area-inset-right, 0px)) 8px max(8px, env(safe-area-inset-left, 0px)); }
  .cbx-list li[data-iso] { padding: 13px 10px; font-size: 16px; }
  .phone-group .cbx { width: 100px; }
  body.cbx-sheet-open .wa-float, body.cbx-sheet-open .deck-nav { visibility: hidden; }
  .cbx-pop { box-shadow: 0 0 0 100vmax rgba(27,30,34,.45), 0 -20px 60px -10px rgba(27,30,34,.4); }
  body.cbx-sheet-open .deck { z-index: 300; }
}


/* =========================================================
   PALETA NEUTRA (grafito y plata, como el logo) + acento turquesa
   ========================================================= */
:root {
  --grad: linear-gradient(120deg, #0E8C99 0%, #19B3C0 100%);
  --grad-hot: linear-gradient(120deg, #0E8C99 0%, #17A9B6 100%);
  --grad-text: linear-gradient(110deg, #0E8C99 0%, #1FB5C2 100%);
  --graphite: linear-gradient(120deg, #1B1E22 0%, #3A4048 100%);
}
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slide.film {
  background:
    radial-gradient(1100px 560px at 88% -10%, rgba(25,179,192,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(27,30,34,.06), transparent 60%),
    linear-gradient(160deg, #FBFBFC 0%, #EEF0F2 55%, #F6F7F8 100%);
}
.slide.light { background: #F4F5F6; }
.glow.g1 { background: #19B3C0; opacity: .14; }
.glow.g2 { background: #8B939C; opacity: .16; }
.glow.g3 { background: #0E8C99; opacity: .08; }
.ticker { background: #1B1E22; color: #E9ECEF; }
.ticker-track span::after { color: #19B3C0; opacity: 1; }
.btn { box-shadow: 0 12px 28px -12px rgba(14,140,153,.55); }
.btn-hot { box-shadow: 0 12px 28px -12px rgba(14,140,153,.6); }
.menu a.btn, .menu a.btn:hover, .menu a.btn.active { background: var(--graphite); box-shadow: 0 10px 24px -12px rgba(27,30,34,.6); }
.menu a.btn:hover { background: var(--grad-hot); }
.badge { background: var(--graphite); box-shadow: 0 10px 24px -10px rgba(27,30,34,.55); }
.badge .pulse { background: #19B3C0; }
.badge.blue { background: var(--grad); }
.pill b { background: var(--graphite); }
.tag { background: rgba(14,140,153,.09); color: #0B7782; }
.tag.m { background: rgba(27,30,34,.07); color: #1B1E22; }
.tag.g { background: rgba(34,169,91,.09); color: #17803F; }
.choice .box em { background: rgba(27,30,34,.07); color: #1B1E22; }
.choice .box em.b { background: rgba(14,140,153,.1); color: #0B7782; }
.ic.c1 { background: var(--graphite); }
.ic.c2 { background: var(--grad); }
.ic.c3 { background: linear-gradient(120deg, #4A515A, #6B737D); }
.ic.c4 { background: linear-gradient(120deg, #0E8C99, #3FA9B3); }
.checklist li i { background: var(--graphite); }
.cert { border-color: rgba(14,140,153,.3); }
.cert::before { color: #0E8C99; }
.office::before { background: var(--graphite); }
.office.gt::before { background: var(--grad); }
.office li svg { color: #0E8C99; }
.contact-strip { background: var(--graphite); }
.contact-strip a.mail { color: #FFFFFF; }
.contact-strip p b, .footer-grid a:hover { color: #5FD0DA; }
.site-footer { background: #1B1E22; }
.min-note { background: linear-gradient(120deg, rgba(27,30,34,.05), rgba(14,140,153,.08)); }
.min-note b { color: #0E8C99; }
.qty-summary b { color: #0E8C99; }
.step-title { color: #0E8C99; }
.step-title i { background: var(--graphite); }
.order-aside .rule .n[style*="grad-hot"] { background: var(--graphite) !important; }
.deck-btn.next { background: var(--graphite); box-shadow: 0 12px 26px -12px rgba(27,30,34,.6); }
.deck-btn.next:hover { background: var(--grad); }
.deck-btn.next.restart { background: var(--grad); }
.deck-dots button.active { background: #1B1E22; }
.deck-progress span { background: linear-gradient(90deg, #1B1E22, #0E8C99, #19B3C0); }
.lang-btn svg { color: #0E8C99; }
.lang-menu button.active { color: #0B7782; }
.lang-menu button.active b { background: var(--graphite); }
.eyebrow::before { background: #0E8C99; }
.float-card.fc1 .ic { background: var(--grad); }
.float-card.fc2 .ic { background: var(--graphite); }
.video-frame { box-shadow: 0 40px 90px -36px rgba(27,30,34,.45), 0 0 0 8px rgba(255,255,255,.75), 0 0 0 9px #E2E5E9; }
.legal-hero { background: linear-gradient(160deg, #FBFBFC 0%, #EEF0F2 60%, #F6F7F8 100%); }
body.deck-mode { background: #F4F5F6; }

.min-note { align-items: center; }
.min-note .mn-ic { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--graphite); color: #fff; }
.min-note span b { font: inherit; font-weight: 800; color: #0E8C99; }
.neg-note { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(14,140,153,.07); border: 1px dashed rgba(14,140,153,.35); font-size: 13.5px; color: var(--ink-soft); }
.cookie-banner:not(.show) { visibility: hidden; transform: translateY(calc(100% + 240px)); }
@media (max-height: 940px) and (min-width: 981px) {
  .hero h1 { font-size: clamp(36px, 4.1vw, 58px); margin-bottom: 16px; }
  .hero p.lead { font-size: 18px; margin-bottom: 26px; }
  .pill { margin-bottom: 18px; }
  .hero-stats { margin-top: 30px; padding-top: 18px; }
}

.office h3 { margin-bottom: 6px; }
.office .tax-id { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
