/* ─────────────────────────────────────────────────────────────
   Superlonas — sistema visual
   Inspirado en el logo: navy profundo, rojo señal, blanco hueso
   ─────────────────────────────────────────────────────────── */

:root {
  /* Color */
  --ink-900: #0b1626;
  --ink-800: #11203a;
  --ink-700: #1a2c4a;
  --ink-600: #243a5e;
  --ink-500: #38507a;
  --line:    rgba(255,255,255,0.08);
  --line-2:  rgba(255,255,255,0.16);

  --red-500: #d83644;
  --red-600: #b02935;
  --red-400: #e8525e;

  --azure-600: #1f5fc4;
  --azure-500: #2f7be6;
  --azure-400: #4f9bff;

  --bone:    #f4eee2;
  --bone-2:  #ebe3d2;
  --paper:   #faf7f0;
  --white:   #ffffff;

  /* Type */
  --logo:    "Saira", "Archivo", sans-serif;
  --display: "Archivo", "Helvetica Neue", sans-serif;
  --serif:   "Source Serif 4", "Georgia", serif;
  --sans:    "DM Sans", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Warm Sonora tones */
  --sand:    #c9a878;
  --terra:   #b56240;
  --dusk:    #2a3550;

  /* Geometry */
  --radius-sm: 6px;
  --radius:    14px;
  --radius-lg: 28px;
  --radius-xl: 44px;

  /* Motion */
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-snap: cubic-bezier(.16,1,.3,1);

  /* Layout */
  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--bone);
  background: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ── Type scale ────────────────────────────────────────────── */
.display {
  font-family: var(--logo);
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 0.98;
}
.display .accent { font-style: italic; }
.display-xl { font-size: clamp(48px, 8.5vw, 140px); }
.display-l  { font-size: clamp(40px, 7vw, 96px); }
.display-m  { font-size: clamp(32px, 4.6vw, 64px); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.eyebrow.on-dark { color: rgba(244,238,226,0.6); }
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--red-500);
  border-radius: 50%;
  vertical-align: middle;
  margin: -2px 10px 0 0;
}

.body-l { font-size: 19px; line-height: 1.55; }
.body   { font-size: 16px; line-height: 1.6; }
.body-s { font-size: 14px; line-height: 1.5; }

/* ── Layout ────────────────────────────────────────────────── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { position: relative; }

/* ── Nav ───────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: backdrop-filter .3s, background .3s;
}
.nav.scrolled {
  background: rgba(11, 22, 38, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--logo);
  font-weight: 800;
  font-style: italic;
  font-size: 21px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-brand .mark { width: 36px; height: 36px; }
.nav-links {
  display: flex; gap: 4px;
  margin: 0 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 999px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: rgba(244,238,226,0.78);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--bone); background: rgba(255,255,255,0.06); }
.nav-links a.active {
  color: var(--white);
  background: #b0414c;
}
.nav-links a.active:hover { background: #bd4b56; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--bone);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.auth-btn:hover { background: rgba(255,255,255,0.08); border-color: var(--line-2); }
.auth-btn.signed-in {
  background: rgba(216,54,68,0.12);
  border-color: rgba(216,54,68,0.3);
}
.auth-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--red-500);
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  color: var(--white);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--red-500);
  color: var(--white);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: transform .2s, background .2s;
}
.nav-cta:hover { background: var(--red-400); transform: translateY(-1px); }
/* Hamburguesa — solo móvil */
.nav-burger {
  display: none;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-2);
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  flex: none;
}
.nav-burger-lines {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  width: 18px;
}
.nav-burger-txt {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--bone);
}
.nav-burger-lines span {
  width: 18px; height: 2px; border-radius: 2px;
  background: var(--bone);
  transition: transform .25s var(--ease-out), opacity .2s;
}
.nav.menu-open .nav-burger .nav-burger-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.menu-open .nav-burger .nav-burger-lines span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-burger .nav-burger-lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav-links {
    display: flex;
    position: fixed;
    top: 70px; left: 12px; right: 12px;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 10px;
    background: rgba(11,22,38,0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--line-2);
    border-radius: 18px;
    box-shadow: 0 24px 50px -16px rgba(0,0,0,0.6);
    opacity: 0;
    transform: translateY(-10px) scale(.98);
    pointer-events: none;
    transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
    z-index: 60;
  }
  .nav.menu-open .nav-links {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .nav-links a { padding: 13px 16px; font-size: 15px; border-radius: 12px; }
  .nav-burger { display: flex; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 44px;
  padding: 150px var(--gutter) 40px;
  overflow: hidden;
}
.hero > .hero-copy,
.hero > .hero-foot {
  width: 100%;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 820px) {
  .hero { padding-top: 120px; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero-bg .sonora { display: none; }

/* Slideshow de fotos reales — crossfade + Ken Burns */
.hero-shots { position: absolute; inset: 0; z-index: 0; }
.hshot {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s var(--ease-out);
}
.hshot.is-active {
  opacity: 1;
  animation: kenburns 9s ease-out forwards;
}
@keyframes kenburns {
  0%   { transform: scale(1.13) translate(2%, -1.5%); }
  100% { transform: scale(1) translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hshot.is-active { animation: none; transform: scale(1); }
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,22,38,0.94) 0%, rgba(11,22,38,0.78) 28%, rgba(11,22,38,0.34) 60%, rgba(11,22,38,0.5) 100%),
    linear-gradient(180deg, rgba(11,22,38,0.72) 0%, transparent 22%, transparent 42%, rgba(11,22,38,0.88) 100%);
  z-index: 1;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
  z-index: 2;
}
.hero-bg .topo {
  position: absolute;
  inset: -10%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'><g fill='none' stroke='%23ffffff' stroke-width='0.6' opacity='0.08'><path d='M0 100 Q200 60 400 110 T800 90'/><path d='M0 180 Q220 140 410 190 T800 170'/><path d='M0 260 Q190 220 405 270 T800 250'/><path d='M0 340 Q210 300 410 350 T800 330'/><path d='M0 420 Q200 380 400 430 T800 410'/><path d='M0 500 Q220 460 410 510 T800 490'/></g></svg>");
  background-size: cover;
  z-index: 2;
}

.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 {
  max-width: 15ch;
  font-family: var(--logo);
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.hero-copy h1 .accent { font-style: italic; }
.hero-copy .eyebrow {
  margin-bottom: 22px;
  color: var(--white);
  text-shadow:
    0 0 1px var(--ink-900),
    1px 1px 0 var(--ink-900),
    -1px 1px 0 var(--ink-900),
    0 2px 6px rgba(11,22,38,0.6);
}
.hero-copy .eyebrow .dot { background: var(--red-500); }
.hero-copy h1 { margin: 0 0 28px; line-height: 1.02; padding-bottom: 0.08em; }
.hero-copy h1 .accent {
  color: var(--red-500);
}
.hero-copy p { color: rgba(244,238,226,0.7); max-width: 48ch; margin: 0 0 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .2s var(--ease-out), background .2s, box-shadow .2s;
}
.btn-primary {
  background: var(--red-500);
  color: var(--white);
  box-shadow: 0 8px 24px -10px rgba(216,54,68,0.7);
}
.btn-primary:hover { background: var(--red-400); transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(216,54,68,0.8); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  color: var(--bone);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-wa {
  background: #25d366;
  color: #062b16;
  border: 1px solid #25d366;
  font-weight: 700;
}
.btn-wa:hover { background: #1fbe5a; border-color: #1fbe5a; transform: translateY(-2px); }
.btn .arrow { transition: transform .25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* Pie del hero: estadísticas + rail de categorías */
.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}
@media (max-width: 940px) {
  .hero-foot { flex-direction: column; align-items: stretch; gap: 26px; }
}

.hero-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 10px;
  flex: 1;
  max-width: 740px;
}
@media (max-width: 940px) {
  .hero-rail {
    grid-auto-columns: 42%;
    max-width: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .hrail { scroll-snap-align: start; }
}

.hrail {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
  opacity: .6;
  transition: opacity .3s, transform .3s, border-color .3s;
}
.hrail:hover { opacity: 1; transform: translateY(-3px); }
.hrail.is-active { opacity: 1; border-color: rgba(216,54,68,.6); }
.hrail-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: -2;
  transition: transform .6s var(--ease-out);
}
.hrail:hover .hrail-img { transform: scale(1.08); }
.hrail::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(11,22,38,.92) 0%, rgba(11,22,38,.25) 58%, rgba(11,22,38,0) 100%);
}
.hrail-meta {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 11px 9px;
  color: var(--white);
}
.hrail-n {
  font-family: var(--mono); font-size: 9px; letter-spacing: .14em;
  color: var(--red-400);
}
.hrail-l {
  font-family: var(--sans); font-weight: 600; font-size: 12.5px;
  letter-spacing: -0.005em;
  text-shadow: 0 1px 6px rgba(0,0,0,.55);
}
.hrail-bar {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: rgba(255,255,255,.16);
  z-index: 1;
}
.hrail-bar::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--red-500);
}
.hrail.is-active .hrail-bar::after {
  animation: railProgress var(--rail-dur, 5s) linear forwards;
}
@keyframes railProgress { to { width: 100%; } }

/* Logo pequeño como sello arriba a la derecha — mini-reveal al hover */
/* Logo del nav — mini-reveal de lona al pasar el cursor */
.nav-seal {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 8px;
  overflow: hidden;           /* recorta el rollo para que no invada "Catálogo" */
  display: block;
  flex: none;
}
/* Cover navy que tapa el logo y se "tiende" para revelarlo (replay al hover) */
.nav-seal::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background: #1a2c4a;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  opacity: 0;
}
.nav-brand:hover .nav-seal::before,
.nav-brand:focus-visible .nav-seal::before {
  animation: navReveal .85s var(--ease-snap);
}
@keyframes navReveal {
  0%   { opacity: 1; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  99%  { opacity: 1; }
  100% { opacity: 0; clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); }
}
.nav-seal-logo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.nav-seal-roll {
  position: absolute;
  left: 50%; top: 50%;
  width: 160%; height: 26%;
  transform: translate(-50%, -260%) rotate(-28deg);
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, rgba(120,134,156,0.14) 0 1px, transparent 1px 5px),
    linear-gradient(to bottom, #c2ccd8 0%, #ffffff 45%, #ffffff 55%, #aeb9c7 100%);
  box-shadow:
    0 4px 7px -2px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.85);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}
.nav-seal-shine {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(118deg, transparent 40%, rgba(255,255,255,0.6) 50%, transparent 60%);
  background-size: 250% 100%;
  background-position: 150% 0;
  opacity: 0;
  mix-blend-mode: screen;
}
.nav-brand:hover .nav-seal-roll,
.nav-brand:focus-visible .nav-seal-roll {
  animation: sealRoll .8s var(--ease-out);
}
.nav-brand:hover .nav-seal-shine,
.nav-brand:focus-visible .nav-seal-shine {
  animation: sealShine .8s ease-in-out;
}
@keyframes sealRoll {
  0%   { transform: translate(-50%, -260%) rotate(-28deg); opacity: 0; }
  16%  { opacity: 1; }
  84%  { opacity: 1; }
  100% { transform: translate(-50%, 180%) rotate(-28deg); opacity: 0; }
}
@keyframes sealShine {
  0%   { background-position: 150% 0; opacity: 0; }
  20%  { opacity: 1; }
  100% { background-position: -60% 0; opacity: 0; }
}

/* Hero stats */
.hero-stats {
  display: flex; gap: 32px; align-items: end;
  flex: none;
}
.hero-stats .stat { text-align: center; }
.hero-stats .stat .n {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-stats .stat .l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,238,226,0.5);
  margin-top: 6px;
}
@media (max-width: 720px) {
  .hero-stats { gap: 24px; }
}

/* ── Section base ──────────────────────────────────────────── */
.section {
  padding: 120px var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.section-light {
  background: var(--bone);
  color: var(--ink-900);
  max-width: none;
  padding-left: 0; padding-right: 0;
}
.section-light .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 120px var(--gutter);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head h2 { margin: 14px 0 0; max-width: 14ch; }
.section-head .desc { max-width: 38ch; color: rgba(11,22,38,0.6); font-size: 16px; }
.on-dark .section-head .desc { color: rgba(244,238,226,0.6); }
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ── Marquee — años / ciudades ─────────────────────────────── */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  overflow: hidden;
  background: var(--ink-800);
}
.marquee-track {
  display: flex; gap: 60px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-item {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: rgba(244,238,226,0.85);
  white-space: nowrap;
}
.marquee-item .sep {
  width: 8px; height: 8px;
  background: var(--red-500);
  border-radius: 50%;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Catálogo ──────────────────────────────────────────────── */
#catalogo { background: var(--ink-900); }
#catalogo .cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-800);
  border: 1px solid var(--line);
  min-height: 360px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .35s var(--ease-out), border-color .25s, box-shadow .35s;
  cursor: pointer;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-2); }

/* ── Photo cards (full-bleed real photos) ──────────────────── */
.card-photo { padding: 0; justify-content: flex-end; }
.card-photo .card-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .9s var(--ease-out);
}
.card-photo:hover .card-bg { transform: scale(1.06); }
.card-photo .card-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(11,22,38,0.96) 0%, rgba(11,22,38,0.82) 22%, rgba(11,22,38,0.4) 46%, rgba(11,22,38,0) 70%);
}
.card-photo:hover .card-scrim {
  background:
    linear-gradient(0deg, rgba(216,54,68,0.3) 0%, rgba(11,22,38,0.95) 24%, rgba(11,22,38,0.55) 50%, rgba(11,22,38,0) 74%);
}
.card-photo .card-body {
  position: relative;
  z-index: 2;
  padding: 0 26px 0;
  text-align: left;
}
.card-photo .card-body h3,
.card-photo .card-body p { text-shadow: 0 1px 12px rgba(11,22,38,0.6); }
/* Etiqueta (número + categoría) arriba a la izquierda, anclada al marco */
.card-photo > .tag {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(11,22,38,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
}
.card-photo .card-foot {
  position: relative;
  z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 24px 28px 28px;
  gap: 16px;
}

/* Grid spans — 8 categorías: 7+5, 4+4+4, 4+4+4 */
.card-1 { grid-column: span 7; min-height: 460px; }
.card-2 { grid-column: span 5; min-height: 460px; }
.card-3 { grid-column: span 4; min-height: 400px; }
.card-4 { grid-column: span 4; min-height: 400px; }
.card-5 { grid-column: span 4; min-height: 400px; }
.card-6 { grid-column: span 4; min-height: 400px; }
.card-7 { grid-column: span 4; min-height: 400px; }
.card-8 { grid-column: span 4; min-height: 400px; }
@media (max-width: 860px) {
  .card-1, .card-2, .card-3, .card-4, .card-5, .card-6, .card-7, .card-8 { grid-column: span 12; min-height: 380px; }
}
.card .tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,238,226,0.85);
}
.card .tag .num { color: var(--red-400); }
.card h3 {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 14px 0 10px;
  max-width: 14ch;
  color: var(--white);
}
.card p { font-size: 14px; color: rgba(244,238,226,0.78); max-width: 36ch; margin: 0; }
.card .specs {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,238,226,0.7);
}
.card .arrow-btn {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--white);
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.25);
  transition: background .2s, transform .2s, border-color .2s;
}
.card:hover .arrow-btn { background: var(--red-500); border-color: var(--red-500); transform: rotate(-45deg); }

/* ── 3D scroll scene ───────────────────────────────────────── */
#escena {
  background: linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 50%, var(--ink-900) 100%);
  padding: 0;
  max-width: none;
}
.scene-track {
  position: relative;
}
.scene-sticky {
  position: relative;
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 120px var(--gutter) 60px;
  max-width: var(--maxw);
  margin: 0 auto;
}
@media (max-width: 860px) {
  .scene-sticky { grid-template-columns: 1fr; }
}
.scene-text {
  position: relative;
  z-index: 2;
  min-height: clamp(440px, 48vh, 540px);
  width: 100%;
}
.scene-text .step {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility 0s linear .35s;
  max-width: 32ch;
  pointer-events: none;
}
.scene-text .step.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity .4s var(--ease-out) .25s, transform .4s var(--ease-out) .25s, visibility 0s;
}
.scene-text .step h3 {
  font-family: var(--display);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 16px 0 18px;
}
.scene-text .step p { color: rgba(244,238,226,0.65); font-size: 17px; line-height: 1.55; }
.scene-text .step ul {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; gap: 8px;
}
.scene-text .step ul li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,238,226,0.7);
}
.scene-text .step ul li::before {
  content: ""; width: 16px; height: 1px; background: var(--red-500);
}
.scene-progress { display: none; }

/* Nav de clicks: tabs + flechas */
.scene-nav {
  position: absolute;
  bottom: -52px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  padding: 6px;
  border-radius: 999px;
}
.scene-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: rgba(244,238,226,0.6);
  cursor: pointer;
  transition: color .2s, background .25s var(--ease-out);
}
.scene-tab .num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(244,238,226,0.4);
  transition: color .2s;
}
.scene-tab:hover { color: var(--bone); }
.scene-tab:hover .num { color: var(--red-400); }
.scene-tab.active {
  background: var(--red-500);
  color: var(--white);
}
.scene-tab.active .num { color: rgba(255,255,255,0.7); }
.scene-arrows {
  display: inline-flex;
  gap: 4px;
  margin-left: 4px;
  padding-left: 8px;
  border-left: 1px solid var(--line);
}
.scene-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: transparent;
  color: rgba(244,238,226,0.7);
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.scene-arrow:hover {
  background: rgba(255,255,255,0.06);
  color: var(--bone);
}
.scene-arrow:active { transform: scale(0.92); }
.scene-progress .dot {
  width: 40px; height: 3px;
  background: rgba(244,238,226,0.15);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.scene-progress .dot.active { background: var(--red-500); }

/* 3D stage */
.scene-stage {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  perspective: 1600px;
  transform-style: preserve-3d;
}
.scene-stage::before {
  /* Floor / shadow */
  content: "";
  position: absolute;
  left: 10%; right: 10%; bottom: 8%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.45), transparent 70%);
  filter: blur(20px);
}
.scene-obj {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease-out), visibility 0s linear .35s;
  transform-style: preserve-3d;
  pointer-events: none;
}
.scene-obj.active {
  opacity: 1;
  visibility: visible;
  transition: opacity .5s var(--ease-out) .35s, visibility 0s .35s;
  pointer-events: auto;
}
/* Malla: mover el conjunto (panel + anotaciones) a la izquierda y agrandar */
.scene-obj:has(.prod-malla) {
  transform: translateX(-19%) scale(1.5);
  transform-origin: center center;
}

/* ── Malla: efecto de sombra fresca y luz tamizada ─────────── */
.shade-light {
  position: absolute;
  width: 18px;
  height: 18px;
  background: radial-gradient(circle, rgba(255,224,160,0.85), transparent 65%);
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  animation: shadeFlicker 3.6s ease-in-out infinite;
}
.shade-light.sl1 { top: 55%; left: 26%; animation-delay: 0s; }
.shade-light.sl2 { top: 60%; left: 44%; animation-delay: 0.9s; }
.shade-light.sl3 { top: 56%; left: 60%; animation-delay: 1.7s; }
.shade-light.sl4 { top: 62%; left: 74%; animation-delay: 2.4s; }
@keyframes shadeFlicker {
  0%, 100% { opacity: 0.25; transform: translateY(0) scale(0.9); }
  50%      { opacity: 0.7;  transform: translateY(3px) scale(1.05); }
}
.shade-floor {
  position: absolute;
  bottom: 18%; left: 20%; right: 20%;
  height: 70px;
  background:
    radial-gradient(ellipse at center,
      rgba(36,58,94,0.85) 0%,
      rgba(36,58,94,0.55) 35%,
      transparent 70%);
  filter: blur(8px);
  border-radius: 50%;
  pointer-events: none;
  animation: shadeBreath 6s ease-in-out infinite;
}
@keyframes shadeBreath {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50%      { transform: scale(1.05); opacity: 0.7; }
}

/* ── Lona: efecto impermeable / lluvia que rebota ──────────── */
.rain-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.rain-fx .drop {
  position: absolute;
  width: 3px;
  height: 14px;
  background: linear-gradient(180deg, transparent, rgba(180,210,235,0.95));
  border-radius: 50% / 30%;
  filter: blur(0.3px);
  animation: dropFall 1.8s linear infinite;
  top: -8%;
}
.rain-fx .drop.d1 { left: 32%; animation-delay: 0s;    }
.rain-fx .drop.d2 { left: 42%; animation-delay: 0.4s;  }
.rain-fx .drop.d3 { left: 50%; animation-delay: 0.85s; }
.rain-fx .drop.d4 { left: 58%; animation-delay: 0.2s;  }
.rain-fx .drop.d5 { left: 66%; animation-delay: 1.15s; }
.rain-fx .drop.d6 { left: 74%; animation-delay: 0.65s; }
@keyframes dropFall {
  0%   { transform: translateY(0); opacity: 0; }
  20%  { opacity: 1; }
  62%  { transform: translateY(46%); opacity: 1; }
  72%  { transform: translateY(48%) scaleY(0.4); opacity: 0.8; }
  100% { transform: translateY(48%) scaleY(0); opacity: 0; }
}

.rain-fx .splash {
  position: absolute;
  width: 10px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200,225,240,0.85), transparent 70%);
  filter: blur(0.6px);
  animation: splashOut 1.8s ease-out infinite;
  opacity: 0;
}
.rain-fx .splash.sp1 { top: 50%; left: 38%; animation-delay: 0.62s; }
.rain-fx .splash.sp2 { top: 53%; left: 56%; animation-delay: 0.97s; }
.rain-fx .splash.sp3 { top: 51%; left: 70%; animation-delay: 1.32s; }
@keyframes splashOut {
  0%, 30% { transform: scale(0) translateY(0); opacity: 0; }
  35%     { transform: scale(1) translateY(0); opacity: 0.9; }
  60%     { transform: scale(2.4) translateY(2px); opacity: 0.4; }
  100%    { transform: scale(3) translateY(4px); opacity: 0; }
}

/* Agua escurriendo por las orillas (impermeable) */
.rain-fx .runoff {
  position: absolute;
  width: 2px;
  height: 60px;
  background: linear-gradient(180deg, rgba(200,225,240,0.85), transparent);
  border-radius: 2px;
  filter: blur(0.4px);
  animation: runoff 2.2s ease-in infinite;
  opacity: 0;
}
.rain-fx .runoff.ro-l { top: 50%; left: 25%; animation-delay: 0.4s; }
.rain-fx .runoff.ro-r { top: 50%; left: 75%; animation-delay: 1.1s; }
@keyframes runoff {
  0%   { transform: translateY(0); opacity: 0; }
  20%  { opacity: 0.85; }
  90%  { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(34px); opacity: 0; }
}

/* Object 1: Malla sombra plana (mesh sheet) */
/* ── Paneles de producto 3D realistas (foto real con volumen) ── */
.prod {
  position: relative;
  width: 78%;
  aspect-ratio: 1.32;
  transform-style: preserve-3d;
  border-radius: 12px;
}
.prod-face {
  position: absolute; inset: 0;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  box-shadow:
    0 44px 74px -24px rgba(0,0,0,0.7),
    inset 0 0 0 2px rgba(244,238,226,0.5);
  backface-visibility: hidden;
}
/* Brillo especular que viaja por la superficie */
.prod-gloss {
  position: absolute; inset: 0;
  border-radius: 12px;
  background: linear-gradient(120deg, transparent 36%, rgba(255,255,255,0.32) 48%, transparent 60%);
  background-size: 250% 100%;
  background-position: 130% 0;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: prodGloss 5.5s ease-in-out infinite;
}
@keyframes prodGloss {
  0%, 100% { background-position: 130% 0; }
  50%      { background-position: -40% 0; }
}
/* Canto: da grosor al panel */
.prod-edge {
  position: absolute; left: 0; right: 0; bottom: -15px;
  height: 17px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, var(--ink-700), var(--ink-900));
  transform: rotateX(-90deg);
  transform-origin: top;
  box-shadow: 0 18px 30px -10px rgba(0,0,0,0.6);
}

/* Malla — panel inclinado como toldo, con textura de tejido encima */
.prod-malla {
  width: 50%;
  transform: rotateX(34deg) rotateZ(-7deg);
  animation: meshSway 7s ease-in-out infinite;
}
@keyframes meshSway {
  0%, 100% { transform: rotateX(34deg) rotateZ(-7deg); }
  50%      { transform: rotateX(30deg) rotateZ(-4deg); }
}
.prod-weave {
  position: absolute; inset: 0;
  border-radius: 12px;
  background-image:
    linear-gradient(rgba(11,22,38,0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,22,38,0.16) 1px, transparent 1px);
  background-size: 9px 9px;
  mix-blend-mode: multiply;
  opacity: 0.55;
  pointer-events: none;
}

/* Lona — panel curvo tipo domo, brillo húmedo en la orilla */
.prod-lona {
  transform: rotateX(26deg) rotateY(8deg) rotateZ(-5deg);
  animation: lonaSway 8s ease-in-out infinite;
}
@keyframes lonaSway {
  0%, 100% { transform: rotateX(26deg) rotateY(8deg) rotateZ(-5deg); }
  50%      { transform: rotateX(23deg) rotateY(4deg) rotateZ(-3deg); }
}
.prod-lona .prod-face {
  box-shadow:
    0 44px 74px -24px rgba(0,0,0,0.7),
    inset 0 0 0 2px rgba(244,238,226,0.65),
    inset 0 -30px 50px rgba(11,22,38,0.35);
}

/* Estructura — panel girando para mostrar profundidad */
.prod-struct {
  transform: rotateX(14deg) rotateY(-22deg);
  animation: structRot 13s ease-in-out infinite;
}
@keyframes structRot {
  0%, 100% { transform: rotateX(14deg) rotateY(-22deg); }
  50%      { transform: rotateX(16deg) rotateY(-12deg); }
}

/* ── Estructura 3D real con 4 patas ────────────────────────── */
/* Muestra de 3 tipos de estructura, lado a lado */
.struct-trio {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  perspective: 1100px;
}
.mini-struct {
  margin: 0;
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  gap: 6px;
  padding: 12px 16px 12px 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--line-2);
  border-radius: 16px;
  box-shadow: 0 22px 46px -26px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateY(20px);
  animation: msIn .7s var(--ease-snap) forwards;
  transition: border-color .25s, box-shadow .25s;
}
.mini-struct:nth-child(2) { animation-delay: .08s; }
.mini-struct:nth-child(3) { animation-delay: .2s; }
.mini-struct:nth-child(4) { animation-delay: .32s; }
.mini-struct:hover { border-color: rgba(216,54,68,0.5); box-shadow: 0 26px 52px -22px rgba(0,0,0,0.85); }
@keyframes msIn { to { opacity: 1; transform: translateY(0); } }

.ms-art {
  display: block;
  transform-style: preserve-3d;
}
.ms-art svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 16px rgba(0,0,0,0.55));
  transform-style: preserve-3d;
  animation: msFloat 7s ease-in-out infinite;
  transition: transform .5s var(--ease-out);
}
.mini-struct:nth-child(3) .ms-art svg { animation-delay: -2.3s; }
.mini-struct:nth-child(4) .ms-art svg { animation-delay: -4.6s; }
@keyframes msFloat {
  0%, 100% { transform: rotateX(7deg) rotateY(-13deg) translateY(0); }
  50%      { transform: rotateX(9deg) rotateY(-8deg) translateY(-5px); }
}
.mini-struct:hover .ms-art svg {
  transform: rotateX(4deg) rotateY(9deg) scale(1.07);
  animation-play-state: paused;
}

.ms-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.ms-head { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.ms-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--bone);
}
.ms-tag {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,238,226,0.7);
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--line-2);
  padding: 3px 8px;
  border-radius: 999px;
}
.ms-tag-hot { color: #fff; background: var(--red-500); border-color: var(--red-500); }
.ms-desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(244,238,226,0.62);
}
.ms-feats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.ms-feats span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: rgba(244,238,226,0.75);
  background: rgba(255,255,255,0.05);
  border-radius: 7px;
  padding: 4px 9px;
  display: inline-flex; align-items: center; gap: 6px;
}
.ms-feats span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--red-500); flex: none;
}
@media (max-width: 560px) {
  .mini-struct { grid-template-columns: 100px 1fr; }
  .ms-name { font-size: 16px; }
}
.mini-struct figcaption {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ms-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--bone);
}
.ms-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(244,238,226,0.55);
  max-width: 18ch;
}
@media (max-width: 560px) {
  .struct-trio { gap: 8px; }
  .ms-name { font-size: 15px; }
  .ms-meta { font-size: 8.5px; }
  .mini-struct { padding: 10px 6px 12px; }
}

.struct3d {
  position: relative;
  width: 76%;
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transform: rotateX(62deg) rotateZ(-18deg);
  animation: struct3dSpin 20s ease-in-out infinite;
}
@keyframes struct3dSpin {
  0%, 100% { transform: rotateX(60deg) rotateZ(-24deg); }
  50%      { transform: rotateX(58deg) rotateZ(-4deg); }
}
.st-floor-shadow {
  position: absolute;
  inset: 6%;
  border-radius: 14px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.55), transparent 70%);
  filter: blur(10px);
}
/* Placas base de las patas, ancladas al piso */
.st-base {
  position: absolute;
  width: 22px; height: 22px;
  margin: -5px 0 0 -5px;
  border-radius: 4px;
  background: radial-gradient(circle at 40% 35%, #46618f, #1a2c4a 70%);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35), inset 0 0 4px rgba(0,0,0,0.4);
}
.st-base::after {
  content: "";
  position: absolute; inset: 6px;
  border-radius: 50%;
  background: #0e1a30;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.st-base.sb1 { top: 9%;  left: 9%; }
.st-base.sb2 { top: 9%;  right: 9%; margin-left: 0; margin-right: -5px; }
.st-base.sb3 { bottom: 9%; left: 9%; }
.st-base.sb4 { bottom: 9%; right: 9%; margin-left: 0; margin-right: -5px; }

/* Postes: acero tubular que se levanta en +Z desde el piso */
.st-post {
  position: absolute;
  width: 14px;
  height: 168px;
  border-radius: 4px;
  background: linear-gradient(90deg, #0e1a30 0%, #2c4368 28%, #5a7bb0 50%, #2c4368 72%, #0e1a30 100%);
  transform-origin: top center;
  transform: rotateX(-90deg);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35);
}
.st-post::after {
  content: "";
  position: absolute; left: 2px; top: 0; bottom: 0; width: 2.5px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
}
.st-post.sp1 { top: 9%;  left: 9%; }
.st-post.sp2 { top: 9%;  right: 9%; }
.st-post.sp3 { bottom: 9%; left: 9%; }
.st-post.sp4 { bottom: 9%; right: 9%; }

/* Vigas perimetrales arriba (unen las patas) */
.st-beam {
  position: absolute;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(180deg, #5a7bb0, #2c4368 55%, #1a2c4a);
  transform: translateZ(168px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.35);
}
.st-beam.sb-x1 { top: 9%;    left: 9%; right: 9%; }
.st-beam.sb-x2 { bottom: 9%; left: 9%; right: 9%; }
.st-beam.sb-y1 { left: 9%;  top: 9%; bottom: 9%; width: 10px; height: auto; }
.st-beam.sb-y2 { right: 9%; top: 9%; bottom: 9%; width: 10px; height: auto; }

/* Bóveda de cañón (barrel vault) — techo curvo tipo arco, como las fotos */
.st-roof {
  position: absolute;
  inset: 6%;
  transform: translateZ(150px);
  transform-style: preserve-3d;
}
/* Cada faceta de la curva: tira a lo ancho que se inclina para formar el arco */
.vseg {
  position: absolute;
  left: -1%; right: -1%;
  height: 52px;
  top: 50%; margin-top: -26px;
  background:
    repeating-linear-gradient(90deg, rgba(11,22,38,0.16) 0 1px, transparent 1px 17px),
    linear-gradient(180deg, #e7d6ad, #d9c191);
  border-left: 2px solid rgba(60,70,90,0.85);
  border-right: 2px solid rgba(60,70,90,0.85);
  box-shadow: inset 0 0 18px rgba(120,90,40,0.18);
  backface-visibility: hidden;
}
.vseg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(11,22,38,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,22,38,0.10) 1px, transparent 1px);
  background-size: 9px 9px;
  mix-blend-mode: multiply;
}
.vseg.v1 { transform: translateY(-82px) translateZ(17px) rotateX(43deg);  filter: brightness(0.82); }
.vseg.v2 { transform: translateY(-44px) translateZ(41px) rotateX(22deg);  filter: brightness(0.93); }
.vseg.v3 { transform: translateY(0)     translateZ(50px) rotateX(0deg);   filter: brightness(1.04); }
.vseg.v4 { transform: translateY(44px)  translateZ(41px) rotateX(-22deg); filter: brightness(0.95); }
.vseg.v5 { transform: translateY(82px)  translateZ(17px) rotateX(-43deg); filter: brightness(0.8); }
/* Arcos de acero en los costados (silueta de la bóveda) */
.st-arch {
  position: absolute;
  top: 50%; height: 200px; width: 26px; margin-top: -100px;
  border: 4px solid #3c4658;
  border-bottom: none;
  border-radius: 100px 100px 0 0;
  background: transparent;
  box-shadow: inset 0 6px 0 -2px rgba(255,255,255,0.18);
}
.st-arch.af { left: -13px;  transform: rotateY(90deg) translateZ(0); transform-origin: left center; }
.st-arch.ab { right: -13px; transform: rotateY(90deg) translateZ(0); transform-origin: right center; }

/* ── Anotaciones educativas de la malla ────────────────────── */
.annot {
  position: absolute;
  z-index: 9;
  width: max-content;
}
/* Zonas distintas: arriba · lado derecho · abajo */
.annot-uv   { top: 15%;  left: 50%; transform: translateX(-50%); --d: .45s; }
.annot-air  { top: 42%; right: -10px; --d: 1.25s; }
.annot-air .annot-card { width: 124px; }
.annot-cool { bottom: 15%; left: 50%; transform: translateX(-50%); --d: 2.05s; }

/* Reinicia la secuencia cuando la malla no está activa */
.scene-obj:not(.active) .annot-dot,
.scene-obj:not(.active) .annot-line,
.scene-obj:not(.active) .annot-card { animation: none; opacity: 0; }

.annot-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(11,22,38,0.82);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 6px 11px 6px 7px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 22px -12px rgba(0,0,0,0.7);
  opacity: 0;
  animation: annotCardIn .4s var(--ease-snap) forwards;
  animation-delay: calc(var(--d) + .55s);
}
@keyframes annotCardIn {
  0%   { opacity: 0; transform: translateY(6px) scale(.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.annot-ico {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: rgba(255,255,255,0.05);
  display: grid; place-items: center;
}
.annot-ico svg { width: 19px; height: 19px; }
.annot-txt {
  display: flex; flex-direction: column; gap: 0;
  line-height: 1.12;
}
.annot-txt b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -0.01em;
  color: var(--bone);
}
.annot-txt span {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.01em;
  color: rgba(244,238,226,0.58);
}
.annot-txt strong { color: var(--red-400); font-weight: 500; }

/* Línea guía fina (1px) — se dibuja después del punto */
.annot-line {
  position: absolute;
  width: 1px;
  background: var(--red-500);
  z-index: 0;
  opacity: 0;
  animation: annotLineIn .35s ease-out forwards;
  animation-delay: calc(var(--d) + .25s);
}
/* Punto que apenas toca la imagen — aparece primero */
.annot-dot {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red-500);
  box-shadow: 0 0 0 3px rgba(216,54,68,0.18);
  z-index: 1;
  opacity: 0;
  animation: annotDotIn .3s var(--ease-snap) forwards, annotPulse 2s ease-in-out 1.4s infinite;
  animation-delay: var(--d), calc(var(--d) + .9s);
}
@keyframes annotDotIn {
  0%   { opacity: 0; transform: scale(0); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes annotLineIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes annotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(216,54,68,0.22); }
  50%      { box-shadow: 0 0 0 6px rgba(216,54,68,0.05); }
}
/* UV: arriba — la línea baja al borde superior de la malla */
.annot-uv .annot-line  { height: 56px; top: 100%; left: 50%;
  transform-origin: top; animation-name: annotLineDown;
  background: linear-gradient(180deg, var(--red-500), rgba(216,54,68,0.2)); }
.annot-uv .annot-dot   { top: calc(100% + 54px); left: calc(50% - 2.5px); }
@keyframes annotLineDown {
  0%   { opacity: 1; transform: scaleY(0); }
  100% { opacity: 1; transform: scaleY(1); }
}
/* Aire: lado derecho — la línea entra a la izquierda hacia la malla */
.annot-air .annot-line { width: 38px; height: 1px; top: 50%; right: 100%;
  transform-origin: right; animation-name: annotLineLeft;
  background: linear-gradient(270deg, #8fd0e8, rgba(143,208,232,0.2)); }
.annot-air .annot-dot  { top: calc(50% - 2.5px); right: calc(100% + 36px);
  background: #8fd0e8; box-shadow: 0 0 0 3px rgba(143,208,232,0.18); }
@keyframes annotLineLeft {
  0%   { opacity: 1; transform: scaleX(0); }
  100% { opacity: 1; transform: scaleX(1); }
}
/* Frescura: abajo — la línea sube al borde inferior de la malla */
.annot-cool .annot-line { height: 56px; bottom: 100%; left: 50%;
  transform-origin: bottom; animation-name: annotLineUp;
  background: linear-gradient(0deg, #cfe0ff, rgba(207,224,255,0.2)); }
.annot-cool .annot-dot  { bottom: calc(100% + 54px); left: calc(50% - 2.5px);
  background: #cfe0ff; box-shadow: 0 0 0 3px rgba(207,224,255,0.16); }
@keyframes annotLineUp {
  0%   { opacity: 1; transform: scaleY(0); }
  100% { opacity: 1; transform: scaleY(1); }
}

/* Lona y Estructura no están escaladas como la malla: alejamos las
   tarjetas del panel para que el punto aterrice cerca del borde */
.annot-lona.annot-uv   { top: 9%; }
.annot-struct.annot-uv   { top: 0%; }
.annot-lona.annot-cool, .annot-struct.annot-cool { bottom: 1%; }
.annot-struct.annot-air  { top: 40%; right: -4px; }
/* Lona: la etiqueta de soldadura va al lado IZQUIERDO del panel */
.annot-lona.annot-air { top: 40%; left: -94px; right: auto; }
.annot-lona.annot-air .annot-line { right: auto; left: 100%; width: 78px; transform-origin: left; }
.annot-lona.annot-air .annot-dot  { right: auto; left: calc(100% + 76px); }
/* Texto de la etiqueta de soldadura un poco más chico para que no se desborde */
.annot-lona.annot-air .annot-txt b { font-size: 11px; line-height: 1.15; }
.annot-lona.annot-air .annot-txt span { font-size: 8px; }
/* Lona: centramos el conjunto (ya no hace falta dejar hueco a la derecha) */
.scene-obj:has(.prod-lona) { transform: translateX(2%); }

/* Animación: protección UV (rayos pulsan, escudo bloquea) */
.ico-uv .uv-rays { animation: uvRays 2.4s ease-in-out infinite; transform-origin: 20px 13px; }
@keyframes uvRays {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50%      { opacity: 1;   transform: scale(1.12); }
}
.ico-uv .uv-sun { animation: uvSun 2.4s ease-in-out infinite; transform-origin: 20px 13px; }
@keyframes uvSun {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}
.ico-uv .uv-check { stroke-dasharray: 14; stroke-dashoffset: 14; animation: uvCheck 2.4s ease-in-out infinite; }
@keyframes uvCheck {
  0%, 35% { stroke-dashoffset: 14; }
  55%, 100% { stroke-dashoffset: 0; }
}

/* Animación: aire fluye y pasa a través */
.ico-air .air-l { stroke-dasharray: 38; animation: airFlow 2.2s ease-in-out infinite; }
.ico-air .a1 { animation-delay: 0s; }
.ico-air .a2 { animation-delay: .35s; }
.ico-air .a3 { animation-delay: .7s; }
@keyframes airFlow {
  0%   { stroke-dashoffset: 38; opacity: 0; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { stroke-dashoffset: -38; opacity: 0; }
}

/* Animación: frescura (copo gira suave) */
.ico-cool .cool-flake { transform-origin: 20px 20px; animation: coolSpin 6s linear infinite; }
@keyframes coolSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 940px) {
  .annot-txt b { font-size: 12px; }
}
@media (max-width: 560px) {
  /* En celular: las anotaciones se apilan como lista debajo del modelo
     (las líneas señaladoras solo funcionan en pantalla grande) */
  .scene-obj.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .annot {
    position: static;
    display: flex;
    inset: auto;
    transform: none !important;
    width: 100%;
    max-width: 320px;
    margin: 0;
  }
  .annot-line, .annot-dot { display: none !important; }
  .annot-card {
    position: static;
    width: 100% !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .annot-lona.annot-air, .annot-struct.annot-air,
  .annot-lona.annot-uv, .annot-struct.annot-uv,
  .annot-lona.annot-cool, .annot-struct.annot-cool { top: auto; bottom: auto; left: auto; right: auto; }
}
.mat-loupe {
  position: absolute;
  left: 2%; bottom: 8%;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: matIn .8s var(--ease-snap) .55s both;
}
.mat-swatch {
  position: relative;
  width: 94px; height: 94px;
  flex: none;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 3px solid var(--bone);
  box-shadow:
    0 16px 32px -10px rgba(0,0,0,0.65),
    inset 0 0 0 1px rgba(11,22,38,0.35);
}
.mat-swatch::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,0.4), transparent 46%);
}
.mat-swatch::after {
  content: "+";
  position: absolute; top: -6px; right: -6px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--red-500);
  color: #fff;
  font-family: var(--mono);
  font-size: 15px; line-height: 20px;
  text-align: center;
  box-shadow: 0 4px 10px -3px rgba(216,54,68,0.8);
}
.mat-info {
  display: flex; flex-direction: column; gap: 2px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,238,226,0.62);
  background: rgba(11,22,38,0.68);
  border: 1px solid var(--line);
  padding: 9px 13px;
  border-radius: 11px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mat-info b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--bone);
}
@keyframes matIn {
  0%   { opacity: 0; transform: translateY(12px) scale(.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* La estructura ocupa más bajo; baja la lupa para que no se encime con el panel */
.mat-loupe-low {
  left: 0; bottom: 0;
}
@media (max-width: 560px) {
  .mat-swatch { width: 70px; height: 70px; }
  .mat-info { font-size: 8.5px; padding: 7px 10px; }
  .mat-info b { font-size: 12px; }
}

/* Scene CTA at the end */
.scene-cta {
  text-align: center;
  padding: 80px var(--gutter) 120px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.scene-cta h3 {
  font-family: var(--display);
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}
.scene-cta p { color: rgba(244,238,226,0.6); max-width: 50ch; margin: 0 auto 32px; }

/* ── Cotizador ─────────────────────────────────────────────── */
#cotizar { background: var(--bone); color: var(--ink-900); }
#cotizar .inner { padding: 120px var(--gutter); max-width: var(--maxw); margin: 0 auto; }
#cotizar .section-head h2 { color: var(--ink-900); }
#cotizar .eyebrow { color: var(--red-600); }

.cotizador {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(11,22,38,0.25);
  border: 1px solid rgba(11,22,38,0.08);
}
@media (max-width: 860px) {
  .cotizador { grid-template-columns: 1fr; }
}

.cot-form {
  padding: 40px;
  display: grid;
  gap: 28px;
}
.cot-row { display: grid; gap: 10px; }
/* Sección plegable (Empieza rápido) */
.cot-collapse { gap: 0; }
.cot-collapse > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(11,22,38,0.12);
  border-radius: 12px;
  background: var(--white);
  transition: border-color .2s, background .2s;
}
.cot-collapse > summary::-webkit-details-marker { display: none; }
.cot-collapse > summary:hover { border-color: var(--ink-700); }
.cc-sum {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-700);
}
.cc-chevron {
  flex: none;
  width: 9px; height: 9px;
  border-right: 2px solid var(--ink-500);
  border-bottom: 2px solid var(--ink-500);
  transform: rotate(45deg);
  transition: transform .25s var(--ease-out);
}
.cot-collapse[open] > summary {
  border-color: var(--red-500);
  background: color-mix(in oklab, var(--red-500) 5%, var(--white));
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.cot-collapse[open] .cc-chevron { transform: rotate(-135deg); }
.cot-collapse .presets {
  padding: 12px;
  border: 1px solid var(--red-500);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  animation: ccOpen .3s var(--ease-out);
}
@keyframes ccOpen { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.cot-row label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.cot-row .options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.cot-row .options-2 { grid-template-columns: repeat(2, 1fr); }
.lbl-note {
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--red-600);
  font-size: 10px;
}

/* Tipo de malla — comparador con barra de durabilidad */
.malla-types,
.lona-types,
.estructura-types {
  display: none;
}
.malla-types.show,
.lona-types.show,
.estructura-types.show {
  display: grid;
  animation: mtypeReveal .45s var(--ease-out);
}
@keyframes mtypeReveal {
  0%   { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}
.mtype-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.mtype-grid-2 { grid-template-columns: repeat(2, 1fr); }
.mtype {
  text-align: left;
  padding: 14px;
  border: 1px solid rgba(11,22,38,0.12);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  font-family: var(--sans);
  transition: border-color .2s, box-shadow .2s, transform .15s;
  display: grid;
  gap: 8px;
}
.mtype:hover { border-color: var(--ink-700); transform: translateY(-1px); }
.mtype.selected {
  border-color: var(--ink-700);
  box-shadow: inset 0 0 0 1px var(--ink-700);
}
.mtype-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.mtype-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-900);
}
.mtype-years {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: #a8505a;
  letter-spacing: 0.02em;
}
.mtype-bar {
  height: 5px;
  border-radius: 3px;
  background: rgba(11,22,38,0.08);
  overflow: hidden;
}
.mtype-bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #c98a86, #b0414c);
  transform-origin: left;
  animation: barGrow .8s var(--ease-snap) both;
}
@keyframes barGrow {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
.mtype-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-500);
}
/* Tarjeta de estructura: sin barra, contenido centrado verticalmente */
.mtype-plain {
  justify-content: center;
  gap: 10px;
  min-height: 96px;
}
.mtype-plain .mtype-years { color: var(--ink-700); }
.mtype-plain.selected .mtype-years { color: var(--red-600); }

/* Tipos de estructura — tarjetas con icono */
.struct-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 720px) { .struct-grid { grid-template-columns: repeat(2, 1fr); } }
.struct-opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(11,22,38,0.1);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: border-color .2s, transform .15s, box-shadow .2s, background .2s;
}
.struct-ico {
  width: 40px; height: 28px;
  color: var(--ink-700);
  margin-bottom: 4px;
  transition: color .2s;
}
.struct-opt:hover { transform: translateY(-2px); border-color: var(--ink-700); box-shadow: 0 10px 24px -14px rgba(11,22,38,0.45); }
.struct-opt.selected {
  border-color: var(--red-500);
  background: color-mix(in oklab, var(--red-500) 6%, var(--white));
  box-shadow: inset 0 0 0 1px var(--red-500);
}
.struct-opt.selected .struct-ico { color: var(--red-600); }
.struct-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}
.struct-price {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--red-600);
}
.struct-opt[data-opt="solo"] .struct-price { color: var(--ink-500); }
.struct-meta {
  font-size: 11px;
  line-height: 1.35;
  color: var(--ink-500);
  margin-top: 2px;
}
.cot-row .opt {
  padding: 14px;
  border: 1px solid rgba(11,22,38,0.12);
  border-radius: 12px;
  background: var(--white);
  text-align: left;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
  display: flex; flex-direction: column; gap: 6px;
}
.cot-row .opt:hover { border-color: var(--ink-700); }
.cot-row .opt.selected {
  border-color: var(--ink-700);
  background: rgba(26, 44, 74, 0.05);
  box-shadow: inset 0 0 0 1px var(--red-500);
}
.cot-row .opt .opt-icon { width: 24px; height: 24px; color: var(--ink-500); }
.cot-row .opt.selected .opt-icon { color: var(--ink-700); }
.cot-row .opt .opt-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-top: 4px;
}

.cot-row.split { grid-template-columns: 1fr 1fr; gap: 16px; }
.cot-row.split > div { display: grid; gap: 10px; }

.cot-input {
  display: flex; align-items: center;
  border: 1px solid rgba(11,22,38,0.12);
  border-radius: 12px;
  padding: 0 16px;
  background: var(--white);
  transition: border-color .2s;
}
.cot-input:focus-within { border-color: var(--ink-700); box-shadow: inset 0 0 0 1px var(--ink-700); }
.cot-input input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 14px 0;
  font: 500 16px/1 var(--sans);
  color: var(--ink-900);
  background: transparent;
}
.cot-input .unit {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-500);
  letter-spacing: 0.1em;
}

.cot-row .chips {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.cot-row .chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(11,22,38,0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  background: var(--white);
  cursor: pointer;
  transition: all .2s;
}
.cot-row .chip:hover { border-color: var(--ink-700); }
.cot-row .chip.selected { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); }
.cot-row .chip .sw {
  width: 12px; height: 12px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}

/* Instalación profesional — tarjeta destacada */
.incluye-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(31, 157, 104, 0.08);
  border: 1px solid rgba(31, 157, 104, 0.28);
}
.incluye-ico {
  flex: none;
  width: 24px; height: 24px;
  margin-top: 1px;
  border-radius: 7px;
  display: grid; place-items: center;
  background: #1f9d68;
  color: #fff;
}
.incluye-ico svg { width: 15px; height: 15px; }
/* Nota de velaria — en azul de marca para diferenciarla */
.velaria-note { background: rgba(47,123,230,0.08); border-color: rgba(47,123,230,0.3); }
.velaria-note .incluye-ico { background: var(--ink-700); }
.velaria-note .incluye-ico svg { width: 18px; height: 13px; }
.velaria-note em { font-style: normal; font-weight: 600; color: var(--red-600); }
.velaria-price {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-900);
}
.velaria-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--azure-600);
  text-decoration: none;
}
.velaria-link:hover { text-decoration: underline; }
.incluye-body {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-700);
}
.incluye-body strong { color: var(--ink-900); font-weight: 700; }

.install-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border-radius: 16px;
  cursor: pointer;
  background: linear-gradient(135deg, color-mix(in oklab, var(--red-500) 14%, var(--white)), var(--white));
  border: 2px solid color-mix(in oklab, var(--red-500) 45%, transparent);
  box-shadow: 0 10px 30px -14px color-mix(in oklab, var(--red-500) 70%, transparent);
  transition: border-color .2s, box-shadow .2s, transform .15s;
  position: relative;
}
.install-card:hover { transform: translateY(-2px); border-color: var(--red-500); }
.install-card.selected {
  border-color: var(--red-500);
  background: linear-gradient(135deg, color-mix(in oklab, var(--red-500) 20%, var(--white)), var(--white));
  box-shadow: 0 12px 34px -12px color-mix(in oklab, var(--red-500) 75%, transparent);
}
.install-check {
  flex: none;
  width: 26px; height: 26px;
  margin-top: 2px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--white);
  border: 2px solid color-mix(in oklab, var(--red-500) 40%, transparent);
  color: transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.install-card.selected .install-check {
  background: var(--red-500);
  border-color: var(--red-500);
  color: #fff;
}
.install-check svg { width: 16px; height: 16px; }
.install-body { display: flex; flex-direction: column; gap: 5px; }
.install-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.install-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}
.install-badge {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red-500);
  padding: 3px 8px;
  border-radius: 999px;
}
.install-desc { font-size: 13px; line-height: 1.5; color: var(--ink-700); max-width: 48ch; }
.install-desc strong { color: var(--red-600); font-weight: 700; }
.install-price {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-500);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

/* Quote summary side */
.cot-summary {
  background: var(--ink-900);
  color: var(--bone);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.cot-summary::before {
  content: "";
  position: absolute;
  top: -30%; right: -30%;
  width: 80%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(216,54,68,0.3), transparent 60%);
  filter: blur(40px);
}

/* Preview */
.cot-preview {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 14px;
}
.preview-stage {
  background:
    radial-gradient(ellipse at 50% 65%, rgba(255,255,255,0.06), transparent 70%),
    linear-gradient(180deg, var(--ink-700), var(--ink-800));
  border-radius: 10px;
  aspect-ratio: 1.5/1;
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.preview-stage::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
}
.preview-stage svg {
  position: absolute;
  right: 12px; bottom: 12px;
  z-index: 3;
  width: 38%; height: auto;
  aspect-ratio: 1.5/1;
  background: linear-gradient(180deg, rgba(17,32,58,0.92), rgba(11,22,38,0.92));
  border-radius: 10px;
  border: 1.5px solid rgba(244,238,226,0.5);
  padding: 4px;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,0.6);
  filter: none;
}
.preview-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: opacity .3s;
}
.preview-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.preview-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,238,226,0.45);
  margin-bottom: 4px;
}
.preview-prod {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.preview-dim {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--red-400);
  background: rgba(216,54,68,0.14);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Numbers block */
.cot-numbers { position: relative; z-index: 1; }
.cot-summary .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,238,226,0.5);
}
.cot-summary .price {
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 14px 0 8px;
  position: relative;
}
.cot-summary .price .currency {
  font-size: 0.4em;
  vertical-align: top;
  color: rgba(244,238,226,0.5);
  margin-right: 6px;
  font-weight: 500;
}
.cot-summary .price .cents {
  font-size: 0.35em;
  color: rgba(244,238,226,0.5);
  font-weight: 500;
}
.cot-summary .price-note { font-size: 12px; color: rgba(244,238,226,0.5); position: relative; }
.cot-summary .breakdown {
  margin-top: 28px;
  display: grid;
  gap: 12px;
  position: relative;
}
.cot-summary .breakdown .row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(244,238,226,0.12);
  font-size: 13px;
}
.cot-summary .breakdown .row .k { color: rgba(244,238,226,0.65); }
.cot-summary .breakdown .row .v { font-family: var(--mono); }
.cot-summary .breakdown .row-deposito { border-top: 1px solid rgba(216,54,68,0.35); margin-top: 6px; padding: 12px 12px; background: rgba(216,54,68,0.1); border-radius: 10px; }
.cot-summary .breakdown .row-deposito .k { color: var(--bone); font-weight: 700; }
.cot-summary .breakdown .row-deposito .v { color: var(--red-400); font-weight: 700; font-size: 15px; }
.cot-summary .deposito-note { font-size: 12px; color: rgba(244,238,226,0.62); margin: 8px 0 0; line-height: 1.45; }
.cot-summary .deposito-note strong { color: var(--red-400); }
.cot-summary .actions {
  display: grid; gap: 10px;
  position: relative;
}
.cot-summary .actions .btn { justify-content: center; width: 100%; }
/* Botón principal: cotizar por WhatsApp (verde, destacado) */
.btn-formal {
  background: #25d366;
  color: #07301a;
  font-weight: 700;
  box-shadow: 0 10px 26px -8px rgba(37,211,102,0.6);
}
.btn-formal:hover { background: #2ee676; transform: translateY(-1px); }
.btn-formal svg { flex: none; }
.actions-note {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(244,238,226,0.55);
  text-align: center;
  margin: 8px 0 0;
}

/* Formulario de visita a domicilio (rediseño moderno) */
.visita-form {
  position: relative;
  margin: -4px 0 18px;
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2.4vw, 26px);
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -28px rgba(0,0,0,0.8);
  animation: formalIn .4s var(--ease-snap);
}
.visita-form[hidden] { display: none; }

.vf-banner {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(216,54,68,0.16), rgba(255,255,255,0.03));
  border: 1px solid rgba(216,54,68,0.3);
  margin-bottom: 4px;
}
.vf-banner-ic {
  flex: none; width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--red-500); color: #fff;
}
.vf-banner-ic svg { width: 24px; height: 24px; }
.vf-banner-tx strong {
  display: block;
  font-family: var(--display); font-weight: 700;
  font-size: 17px; letter-spacing: -0.02em; color: var(--bone);
}
.vf-free {
  display: inline-block;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #07301a; background: #25d366;
  padding: 1px 8px; border-radius: 999px;
  vertical-align: middle; margin-left: 4px;
}
.vf-banner-tx span { font-size: 12px; color: rgba(244,238,226,0.6); }

.vf-group {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  display: grid; gap: 11px;
}
.vf-group-title {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 600;
  font-size: 14px; letter-spacing: -0.01em; color: var(--bone);
}
.vf-step {
  flex: none; width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red-500); color: #fff;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
}
.visita-form .formal-field input {
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.visita-form .formal-field input:focus {
  box-shadow: 0 0 0 3px rgba(216,54,68,0.15);
}
.visita-send { justify-content: center; width: 100%; margin-top: 2px; }
.hora-rango { display: flex; align-items: center; gap: 8px; }
.hora-rango input { flex: 1; min-width: 0; }
.hora-sep { font-size: 13px; color: rgba(244,238,226,0.6); flex: none; }

/* Selector de hora tipo rueda */
.twpair { display: flex; align-items: center; gap: 10px; }
.tw-field {
  flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 11px 13px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(11,22,38,0.4);
  color: var(--bone);
  font: 600 15px/1 var(--mono);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.tw-field:hover { border-color: rgba(244,238,226,0.4); }
.tw-field.filled { border-color: var(--red-500); background: rgba(216,54,68,0.1); }

.tw-pop {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center;
  padding: 20px;
}
.tw-pop[hidden] { display: none; }
.tw-backdrop {
  position: absolute; inset: 0;
  background: rgba(6,12,22,0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn .2s;
}
.tw-card {
  position: relative;
  width: min(340px, 100%);
  background: var(--ink-800);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 30px 70px -24px rgba(0,0,0,0.85);
  animation: modalIn .3s var(--ease-snap);
}
.tw-title {
  text-align: center;
  font-family: var(--display); font-weight: 700;
  font-size: 17px; letter-spacing: -0.02em; color: var(--bone);
  margin-bottom: 14px;
}
.tw-wheels {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  height: 200px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 26%, #000 74%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 26%, #000 74%, transparent);
}
.tw-col {
  height: 200px; overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  text-align: center;
}
.tw-col::-webkit-scrollbar { display: none; }
.tw-item {
  height: 40px; line-height: 40px;
  scroll-snap-align: center;
  font: 500 19px/40px var(--mono);
  color: rgba(244,238,226,0.4);
  cursor: pointer;
  transition: color .15s, transform .15s;
}
.tw-item.sel { color: var(--bone); font-weight: 700; transform: scale(1.06); }
.tw-band {
  position: absolute; left: 0; right: 0; top: 80px; height: 40px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: rgba(216,54,68,0.08);
  pointer-events: none;
  border-radius: 8px;
}
.tw-done { width: 100%; justify-content: center; margin-top: 16px; }
.vf-trust {
  display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center;
  margin-top: 2px;
}
.vf-trust span {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; color: rgba(244,238,226,0.6);
}
.vf-trust svg { color: #7ed9a1; }

/* Visita a domicilio — banner destacado */
.home-visit {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--ink-900), var(--ink-700));
  border: 1px solid var(--line-2);
  box-shadow: 0 14px 34px -18px rgba(0,0,0,0.7);
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.home-visit::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(216,54,68,0.22), transparent 55%);
  pointer-events: none;
}
.home-visit:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -18px rgba(0,0,0,0.8); }
.hv-icon {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--red-500);
  color: #fff;
  position: relative; z-index: 1;
}
.hv-icon svg { width: 28px; height: 28px; }
.hv-body { flex: 1; min-width: 0; position: relative; z-index: 1; }
.hv-title {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: -0.01em;
  color: var(--bone);
  line-height: 1.2;
}
.hv-title strong { color: var(--red-400); }
.hv-sub { display: block; font-size: 13px; color: rgba(244,238,226,0.62); margin-top: 4px; }
.hv-cta {
  flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #07301a;
  font-weight: 700;
  font-size: 14px;
  position: relative; z-index: 1;
  white-space: nowrap;
}
.hv-cta svg { flex: none; }
@media (max-width: 680px) {
  .home-visit { flex-direction: column; align-items: flex-start; gap: 14px; text-align: left; }
  .hv-cta { width: 100%; justify-content: center; }
}

/* Muestrario — conectado a la escena, tipos en fila + colores al elegir */
.muestrario-block {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px var(--gutter) 0;
}
.mu-head { text-align: center; margin-bottom: 24px; }
.mu-head h3 { margin: 12px 0 8px; }
.mu-sub { color: rgba(244,238,226,0.6); font-size: 14px; max-width: 50ch; margin: 0 auto; }
.mu-mat-group { display: none; }
.mu-mat-group.is-on { display: block; }
.mu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.mu-tab {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: rgba(244,238,226,0.78);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s, transform .15s;
  opacity: 0;
  transform: translateY(8px);
  animation: muTabIn .4s var(--ease-snap) forwards;
}
.mu-mat-group.is-on .mu-tab:nth-child(1) { animation-delay: .04s; }
.mu-mat-group.is-on .mu-tab:nth-child(2) { animation-delay: .12s; }
.mu-mat-group.is-on .mu-tab:nth-child(3) { animation-delay: .2s; }
.mu-mat-group.is-on .mu-tab:nth-child(4) { animation-delay: .28s; }
@keyframes muTabIn { to { opacity: 1; transform: translateY(0); } }
.mu-tab:hover { border-color: var(--line-2); color: var(--bone); transform: translateY(-2px); }
.mu-tab.active {
  background: var(--red-500);
  border-color: var(--red-500);
  color: #fff;
}
.mu-colors {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 14px;
  max-width: 470px;
  margin: 22px auto 0;
}
.mu-colors.is-on { display: flex; animation: muColorsIn .4s var(--ease-out); }
.mu-quality {
  flex-basis: 100%;
  width: 100%;
  margin: 0 0 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0;
  color: #2e2a24;
  background: linear-gradient(120deg, #ffe9a8, #ffd6a0);
  padding: 7px 14px 7px 9px;
  border-radius: 999px;
  text-align: center;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 16px -8px rgba(255,180,80,0.6);
}
.mu-q-ic {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(46,42,36,0.1);
  color: #b5572f;
}
.mu-q-ic svg { width: 15px; height: 15px; }
/* Animaciones por símbolo */
.mu-q-sun .sun-rays { transform-origin: 12px 12px; animation: muSpin 9s linear infinite; }
.mu-q-bal .bal-beam { transform-origin: 12px 7px; animation: muTilt 3.2s ease-in-out infinite; }
.mu-q-weave svg { animation: muPulse 2.4s ease-in-out infinite; }
.mu-q-leaf svg { transform-origin: 12px 18px; animation: muSway 3.4s ease-in-out infinite; }
.mu-q-shield .shield-chk { stroke-dasharray: 12; stroke-dashoffset: 12; animation: muDraw 2.6s ease-in-out infinite; }
.mu-q-drop svg { animation: muDrip 2.6s ease-in-out infinite; }
.mu-q-feather svg { transform-origin: 12px 18px; animation: muSway 3s ease-in-out infinite; }
.mu-q-tag svg { animation: muPop 2.8s ease-in-out infinite; }
@keyframes muSpin { to { transform: rotate(360deg); } }
@keyframes muTilt { 0%,100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes muPulse { 0%,100% { opacity: .6; } 50% { opacity: 1; } }
@keyframes muSway { 0%,100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes muDraw { 0% { stroke-dashoffset: 12; } 45%,100% { stroke-dashoffset: 0; } }
@keyframes muDrip { 0%,100% { transform: translateY(0); } 50% { transform: translateY(1.5px); } }
@keyframes muPop { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) {
  .mu-q-sun .sun-rays, .mu-q-bal .bal-beam, .mu-q-weave svg, .mu-q-leaf svg,
  .mu-q-shield .shield-chk, .mu-q-drop svg, .mu-q-feather svg, .mu-q-tag svg { animation: none; }
}
@keyframes muColorsIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 560px) { .mu-colors { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 380px) { .mu-colors { grid-template-columns: repeat(2, 1fr); } }
.mu-color {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 104px;
  font-size: 12px;
  color: rgba(244,238,226,0.7);
  text-align: center;
  opacity: 0;
  animation: muColorIn .4s var(--ease-snap) forwards;
}
/* Formación armónica según cantidad de colores (mu-quality es el 1er hijo) */
/* 5 colores → 3+2 · 6 → 3+3 */
.mu-colors:has(.mu-color:nth-child(6)):not(:has(.mu-color:nth-child(8))) { max-width: 356px; }
/* 7 colores → 4+3 · 8 → 4+4 */
.mu-colors:has(.mu-color:nth-child(8)) { max-width: 476px; }
.mu-colors.is-on .mu-color:nth-child(1) { animation-delay: .03s; }
.mu-colors.is-on .mu-color:nth-child(2) { animation-delay: .08s; }
.mu-colors.is-on .mu-color:nth-child(3) { animation-delay: .13s; }
.mu-colors.is-on .mu-color:nth-child(4) { animation-delay: .18s; }
.mu-colors.is-on .mu-color:nth-child(5) { animation-delay: .23s; }
.mu-colors.is-on .mu-color:nth-child(6) { animation-delay: .28s; }
.mu-colors.is-on .mu-color:nth-child(7) { animation-delay: .33s; }
.mu-colors.is-on .mu-color:nth-child(8) { animation-delay: .38s; }
.mu-colors.is-on .mu-color:nth-child(n+9) { animation-delay: .4s; }
@keyframes muColorIn { from { opacity: 0; } to { opacity: 1; } }
.mu-color .sw {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2), 0 6px 16px -10px rgba(0,0,0,0.7);
  transition: transform .25s var(--ease-out), box-shadow .25s;
  cursor: pointer;
}
.mu-color:hover .sw, .mu-color .sw:active, .mu-color.is-zoom .sw {
  transform: scale(1.18);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2), 0 14px 30px -10px rgba(0,0,0,0.85);
  z-index: 2;
}
.mu-color .sw i { display: block; width: 100%; height: 100%; position: relative; }
/* Textura de tejido tipo malla sobre el color (placeholder hasta foto real) */
.mu-color .sw i::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url('assets/mesh-weave.png');
  background-size: 38%;
  mix-blend-mode: overlay;
  opacity: 0.85;
  pointer-events: none;
}
.mu-color .sw img { width: 100%; height: 100%; object-fit: cover; }

/* Renta de carpas — fila plegable con foto (panel claro, texto negro) */
.carpas-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  margin-top: 12px;
  background: var(--bone);
  border: 1px solid rgba(11,22,38,0.12);
  border-radius: 14px;
  padding: 16px;
}
@media (max-width: 620px) { .carpas-inner { grid-template-columns: 1fr; } }
.carpas-photo {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(11,22,38,0.12);
  transition: opacity .25s;
}
.carpas-controls { display: grid; gap: 14px; }
.carpas-field > label {
  display: block;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(11,22,38,0.6);
  margin-bottom: 7px;
}
.carpas-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.carpas-opt {
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 13px;
  border-radius: 11px;
  border: 1px solid rgba(11,22,38,0.15);
  background: #fff;
  color: var(--ink-900);
  cursor: pointer;
  text-align: left;
  transition: border-color .2s, background .2s;
}
.carpas-opt b { font-size: 14px; font-weight: 700; }
.carpas-opt span { font-size: 11px; color: rgba(11,22,38,0.55); }
.carpas-opt:hover { border-color: rgba(11,22,38,0.4); }
.carpas-opt.selected { border-color: var(--red-500); background: rgba(216,54,68,0.08); }
.carpas-toggle {
  display: flex; align-items: center; gap: 11px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid rgba(11,22,38,0.15);
  background: #fff;
  color: var(--ink-900);
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  transition: border-color .2s, background .2s;
}
.ct-box {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 6px;
  border: 1px solid rgba(11,22,38,0.25);
  display: grid; place-items: center;
  color: transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.ct-box svg { width: 14px; height: 14px; }
.carpas-toggle[aria-pressed="true"] { border-color: var(--red-500); background: rgba(216,54,68,0.07); }
.carpas-toggle[aria-pressed="true"] .ct-box { background: var(--red-500); border-color: var(--red-500); color: #fff; }
.carpas-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(11,22,38,0.6);
}
.carpas-hint b { color: var(--ink-900); }
/* Stepper de días y precio de extras */
.carpas-step {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid rgba(11,22,38,0.15);
  border-radius: 11px;
  background: #fff;
  padding: 4px;
}
.cstep-btn {
  width: 34px; height: 34px;
  border: 0; border-radius: 8px;
  background: rgba(11,22,38,0.06);
  color: var(--ink-900);
  font-size: 20px; line-height: 1;
  cursor: pointer;
  transition: background .2s;
}
.cstep-btn:hover { background: rgba(216,54,68,0.12); color: var(--red-600); }
.cstep-val { min-width: 72px; text-align: center; font-size: 13px; color: var(--ink-700); }
.cstep-val b { font-size: 16px; color: var(--ink-900); }
.ct-price {
  font-family: var(--mono); font-size: 11px;
  color: var(--red-600); margin-left: 4px;
}
.carpas-price { display: grid; gap: 1px; }
.carpas-price-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(11,22,38,0.55); }
.carpas-price-val { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; color: var(--ink-900); }
.carpas-wa { width: auto; }
@media (max-width: 620px) { .carpas-foot .btn { width: 100%; } }

/* Formulario de cotización formal */
.formal {
  position: relative;
  margin-top: 12px;
  display: grid;
  gap: 10px;
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  animation: formalIn .3s var(--ease-out);
}
@keyframes formalIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.formal[hidden] { display: none; }
.formal-head { display: grid; gap: 3px; margin-bottom: 2px; }
.formal-head strong { font-size: 14px; color: var(--bone); }
.formal-head span { font-size: 12px; color: rgba(244,238,226,0.55); }
.formal-field { display: grid; gap: 5px; }
.formal-field > span {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(244,238,226,0.6);
}
.formal-field > span em { color: var(--red-400); font-style: normal; }
.formal-field input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(11,22,38,0.5);
  color: var(--bone);
  font-size: 14px;
  font-family: var(--sans);
}
.formal-field input::placeholder { color: rgba(244,238,226,0.35); }
.formal-field input:focus { outline: none; border-color: var(--red-500); }
.formal-row { display: grid; grid-template-columns: 1fr 88px; gap: 8px; }
.formal-row:has(.formal-field:nth-child(2):not(.formal-sm)) { grid-template-columns: 1fr 1fr; }
.formal-send { justify-content: center; width: 100%; margin-top: 4px; }
.formal-note {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: center;
  margin: 2px auto 0;
  padding: 4px 11px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  color: rgba(244,238,226,0.42);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.formal-note svg { flex: none; width: 11px; height: 11px; color: #7ed9a1; }
@media (max-width: 680px) {
  .formal-row, .formal-row:has(.formal-field:nth-child(2):not(.formal-sm)) { grid-template-columns: 1fr; }
  .twpair { flex-wrap: nowrap; }
  .tw-field { padding: 11px 8px; font-size: 13px; }
}

/* Presets de proyecto — arranque rápido (llena medidas) */
.presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 560px) { .presets { grid-template-columns: repeat(2, 1fr); } }
.preset {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(11,22,38,0.1);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: border-color .2s, transform .15s, box-shadow .2s, background .2s;
}
.preset svg {
  width: 22px; height: 22px;
  flex: none;
  color: var(--ink-700);
  padding: 9px;
  box-sizing: content-box;
  background: color-mix(in oklab, var(--ink-700) 7%, var(--white));
  border-radius: 11px;
  transition: color .2s, background .2s;
}
.preset:hover { transform: translateY(-2px); border-color: var(--ink-700); box-shadow: 0 10px 24px -14px rgba(11,22,38,0.45); }
.preset.selected {
  border-color: var(--red-500);
  background: color-mix(in oklab, var(--red-500) 6%, var(--white));
  box-shadow: inset 0 0 0 1px var(--red-500);
}
.preset.selected svg { color: #fff; background: var(--red-500); }
.preset-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.preset-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  line-height: 1.15;
}
.preset-dim {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-500);
}

/* Strip de confianza junto al precio */
.cot-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(244,238,226,0.12);
  position: relative;
}
.cot-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(244,238,226,0.66);
}
.cot-trust svg { color: var(--red-400); flex: none; }

/* ── Remate / ofertas (sección que se prende y apaga) ──────── */
body[data-remate="off"] #remate,
body[data-remate="off"] .remate-banner,
body[data-remate="off"] .nav-remate-link { display: none !important; }

/* Banner llamativo de remate */
.remate-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: var(--maxw);
  margin: -8px auto 0;
  padding: 15px clamp(18px,4vw,32px);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(100deg, #a82e3a 0%, #c9333f 100%);
  box-shadow: 0 12px 32px -20px rgba(216,54,68,0.6);
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.remate-banner::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 16px, transparent 16px 32px);
}
@keyframes rbStripes { to { background-position: 40px 0; } }
.rb-glow { display: none; }
@keyframes rbSweep { 0%,100% { left:-15%; opacity:.4 } 50% { left:105%; opacity:.85 } }
.rb-burst {
  flex: none;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  background: #fff;
  color: var(--red-600);
  border-radius: 50%;
  box-shadow: 0 5px 14px -5px rgba(0,0,0,0.35);
}
@keyframes rbPop { 0%,100% { transform: scale(1) rotate(-6deg) } 50% { transform: scale(1.12) rotate(6deg) } }
.rb-main { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.rb-flag {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: uppercase;
}
.rb-text { font-size: 13.5px; line-height: 1.35; color: rgba(255,255,255,0.94); }
.rb-text strong { font-weight: 700; }
.rb-cta {
  flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink-900);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform .2s, background .2s;
}
.remate-banner:hover .rb-cta { transform: translateX(3px); background: #000; }
.remate-banner:hover .rb-cta svg { transform: translateX(3px); }
.rb-cta svg { transition: transform .2s; }
@media (max-width: 720px) {
  .remate-banner { flex-wrap: wrap; gap: 12px; }
  .rb-main { flex-basis: calc(100% - 70px); }
  .rb-cta { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .remate-banner::after, .rb-glow, .rb-burst { animation: none; }
}

.remate-section { background: var(--ink-900); }
.nav-remate-link { color: var(--red-400) !important; }
/* Tarjetas de remate "Próximamente" */
.remate-soon-card { opacity: 0.92; }
.rsc-photo {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 10px, rgba(255,255,255,0.05) 10px 20px);
  border-bottom: 1px solid var(--line);
}
.rsc-badge {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-400);
  background: rgba(216,54,68,0.12);
  border: 1px solid rgba(216,54,68,0.3);
  padding: 6px 14px;
  border-radius: 999px;
}
.remate-soon-note {
  text-align: center;
  margin: 26px 0 0;
  font-size: 14px;
  color: rgba(244,238,226,0.55);
}
.remate-soon-note a { color: var(--red-400); font-weight: 600; white-space: nowrap; }
.remate-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .remate-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .remate-grid { grid-template-columns: 1fr; } }
.remate-photo {
  display: block;
  width: 100%;
  height: 170px;
  border-bottom: 1px solid var(--line);
}
.remate-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--line-2);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .25s var(--ease-out), border-color .25s, box-shadow .25s;
}
.remate-card:hover { transform: translateY(-4px); border-color: rgba(216,54,68,0.5); box-shadow: 0 24px 50px -26px rgba(0,0,0,0.8); }
.remate-flag {
  position: absolute; top: 14px; right: -34px;
  transform: rotate(45deg);
  background: var(--red-500);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 40px;
  box-shadow: 0 4px 12px -2px rgba(0,0,0,0.4);
}
.remate-body { padding: 26px 24px 24px; }
.remate-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-400);
  margin-bottom: 12px;
}
.remate-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--bone);
  margin: 0 0 10px;
  max-width: 18ch;
}
.remate-card p { font-size: 13.5px; color: rgba(244,238,226,0.6); margin: 0 0 22px; line-height: 1.5; }
.remate-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.remate-price { display: flex; align-items: baseline; gap: 10px; }
.remate-price .was {
  font-family: var(--mono);
  font-size: 14px;
  color: rgba(244,238,226,0.45);
  text-decoration: line-through;
}
.remate-price .now {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--red-400);
}
.remate-foot .btn { padding: 11px 22px; font-size: 14px; }

/* ── Quiénes somos / Nosotros ──────────────────────────────── */
.nosotros { background: var(--ink-900); }
.nos-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
}
@media (max-width: 860px) { .nos-grid { grid-template-columns: 1fr; gap: 32px; } }
.nos-copy h2 { margin: 14px 0 16px; max-width: 16ch; }
.nos-copy > p { color: rgba(244,238,226,0.7); max-width: 52ch; margin: 0 0 26px; font-size: 16px; line-height: 1.6; }
.nos-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.nos-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.nos-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  text-align: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, transform .2s;
}
.nos-stat::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 36px; height: 3px;
  background: var(--red-500);
  border-radius: 0 0 3px 3px;
}
.nos-stat:hover { border-color: var(--line-2); transform: translateY(-3px); }
.nos-n {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--bone);
}
.nos-n small { font-size: 0.5em; color: var(--red-500); vertical-align: super; margin-left: 1px; }
.nos-l {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,238,226,0.55);
}

/* Cobertura regional */
.nos-cobertura { margin: 4px 0 26px; }
.nos-cob-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-400);
}
.nos-cob-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.nos-cob-tags span {
  font-size: 13px;
  font-weight: 500;
  color: var(--bone);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}

/* Nuestra historia */
.historia { max-width: var(--maxw); margin: 64px auto 0; }
.historia-head { margin-bottom: 28px; }
.historia-head h3 { margin: 10px 0 0; color: var(--bone); max-width: 18ch; }

/* Fun fact de la mascota */
.hist-funfact {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 8px 18px 8px 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  max-width: 520px;
}
.hist-funfact img {
  width: 52px; height: 52px;
  flex: none;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  cursor: zoom-in;
  transition: transform .3s var(--ease-out), box-shadow .3s;
  transform-origin: left center;
}
.hist-funfact img:hover {
  transform: scale(3.2);
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.7);
  position: relative;
  z-index: 5;
}
.hist-funfact .ff-text {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(244,238,226,0.72);
}
.hist-funfact .ff-text b { color: var(--red-400); font-weight: 700; }

/* Cuadrícula de historia — fotos uniformes, chicas y bien hechas */
.histgrid {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 860px) { .histgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .histgrid { grid-template-columns: 1fr 1fr; gap: 12px; } }
.hg-cell {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(22px);
}
.historia.in .hg-cell { animation: tlIn .6s var(--ease-snap) forwards; }
.historia.in .hg-cell:nth-child(1) { animation-delay: .05s; }
.historia.in .hg-cell:nth-child(2) { animation-delay: .16s; }
.historia.in .hg-cell:nth-child(3) { animation-delay: .27s; }
.historia.in .hg-cell:nth-child(4) { animation-delay: .38s; }
@keyframes tlIn { to { opacity: 1; transform: translateY(0); } }
.hg-pic {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bone);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px -22px rgba(0,0,0,0.7);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.hg-cell:hover .hg-pic { transform: translateY(-5px); box-shadow: 0 22px 44px -20px rgba(0,0,0,0.8); }
.hg-pic img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* logo y mascota: rellenan el marco (recorta el blanco sobrante, deja ver el logo) */
.hg-pic-pad { background: #fff; }
.hg-pic-pad img { object-fit: cover; padding: 0; }
/* Logo 90s: fondo azul marino de la paleta y logo completo (zoom out) */
.hg-logo90 { background: var(--ink-800); }
.hg-logo90 img { object-fit: contain; padding: 14px; }
/* Foto completa sin recorte, mismo marco */
.hg-pic-fit { background: #fff; }
.hg-pic-fit img { object-fit: cover; }
.hg-year {
  align-self: flex-start;
  margin: 12px 0 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red-500);
  padding: 3px 10px;
  border-radius: 999px;
}
.hg-cell b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--bone);
}
.hg-desc {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(244,238,226,0.58);
  margin-top: 3px;
}

/* ── Proyectos grandes / mayoreo ───────────────────────────── */
.bigproj { background: var(--ink-900); }
.bigproj-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 44px;
  align-items: center;
  background: linear-gradient(135deg, var(--ink-800), var(--ink-900));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 52px;
  overflow: hidden;
}
.bigproj-glow {
  position: absolute;
  top: -40%; right: -10%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, color-mix(in oklab, var(--red-500) 32%, transparent), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.bigproj-copy { position: relative; z-index: 1; }
.bigproj-copy h2 { margin: 14px 0 16px; }
.bigproj-copy h2 .accent { color: var(--red-500); font-style: italic; }
.bigproj-copy > p { color: rgba(244,238,226,0.7); max-width: 50ch; margin: 0 0 22px; }
.bigproj-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.bigproj-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: var(--bone);
}
.bigproj-list li::before {
  content: ""; flex: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: color-mix(in oklab, var(--red-500) 22%, transparent);
  box-shadow: inset 0 0 0 2px var(--red-500);
}
.bigproj-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.bigproj-tiers {
  position: relative; z-index: 1;
  display: grid; gap: 12px;
}
.tier {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}
.tier-size { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; color: var(--bone); }
.tier-off { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: rgba(244,238,226,0.6); text-transform: uppercase; }
.tier-hot {
  background: linear-gradient(135deg, color-mix(in oklab, var(--red-500) 24%, transparent), rgba(255,255,255,0.04));
  border-color: var(--red-500);
}
.tier-hot .tier-off { color: var(--red-400); font-weight: 600; }
@media (max-width: 860px) {
  .bigproj-card { grid-template-columns: 1fr; gap: 32px; padding: 36px 28px; }
}

/* ── Tipos de pago ─────────────────────────────────────────── */
#pagos { background: var(--ink-900); padding-top: 84px; padding-bottom: 84px; }
#pagos .section-head { margin-bottom: 32px; }
.pay-head-compact { margin-bottom: 22px; }

/* Señalamiento: elige tu método */
.pay-choose {
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--bone);
}
.pay-choose-arrow {
  display: inline-flex;
  color: var(--red-400);
  animation: payBounce 1.4s ease-in-out infinite;
}
@keyframes payBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}
@media (prefers-reduced-motion: reduce) { .pay-choose-arrow { animation: none; } }

/* La ventaja de cada método en verde */
.pay-tab .pt-sub { color: #7ed9a1 !important; }
.pay-tab.active .pt-sub { color: #8fe6ad !important; }

/* Pestañas de método de pago — compactas */
.pay-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 680px) { .pay-tabs { grid-template-columns: repeat(2, 1fr); } }
.pay-tab {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--ink-700), var(--ink-800));
  border: 1px solid var(--line-2);
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: left;
  transition: border-color .2s, background .2s, transform .15s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.pay-tab::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(216,54,68,0.16), transparent 60%);
  opacity: 0; transition: opacity .25s;
}
.pay-tab:hover::before { opacity: 1; }
.pay-tab .icon {
  width: 34px; height: 34px;
  flex: none;
  padding: 7px;
  box-sizing: border-box;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: var(--red-400);
  transition: color .2s, background .2s, transform .2s;
  position: relative; z-index: 1;
}
.pay-tab:hover .icon { transform: scale(1.06); }
.pay-tab .pt-name { font-weight: 600; font-size: 14px; color: var(--bone); line-height: 1.1; position: relative; z-index: 1; }
.pay-tab .pt-sub { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.02em; color: rgba(244,238,226,0.45); margin-top: 2px; }
.pay-tab-txt { min-width: 0; display: flex; flex-direction: column; }
.pay-tab:hover { border-color: var(--line-2); transform: translateY(-2px); }
.pay-tab.active {
  border-color: var(--red-500);
  background: linear-gradient(160deg, rgba(216,54,68,0.18), var(--ink-800));
  box-shadow: inset 0 0 0 1px rgba(216,54,68,0.35), 0 10px 26px -14px rgba(216,54,68,0.6);
}
.pay-tab.active::before { opacity: 1; }
.pay-tab.active .icon { color: #fff; background: var(--red-500); }

/* Detail panel below the tabs */
.pay-detail {
  position: relative;
  margin-top: 14px;
  background: linear-gradient(180deg, var(--ink-800) 0%, var(--ink-900) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  min-height: 0;
}
.pay-panel {
  display: none;
  padding: 26px;
  animation: panelIn .45s var(--ease-snap);
}
.pay-panel.active { display: block; }
.pay-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 620px;
  margin: 18px auto 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(37,211,102,0.14), rgba(255,255,255,0.03));
  border: 1px solid rgba(37,211,102,0.32);
  text-decoration: none;
  transition: border-color .2s, transform .15s;
}
.pay-proof:hover { border-color: rgba(37,211,102,0.6); transform: translateY(-1px); }
.pay-proof .pp-ic {
  flex: none; width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: #25d366; color: #07301a;
}
.pay-proof .pp-ic svg { width: 19px; height: 19px; }
.pay-proof .pp-tx {
  flex: 1; min-width: 0;
  font-size: 12.5px; line-height: 1.4;
  color: rgba(244,238,226,0.78);
}
.pay-proof .pp-tx strong { color: var(--red-400); font-weight: 700; }
.pay-proof .pp-tx b { color: var(--bone); font-weight: 700; }
.pay-proof .pp-tx i { color: rgba(244,238,226,0.62); font-style: italic; }
.pay-proof .pp-cta {
  flex: none;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em;
  color: #6ee79a;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .pay-proof { flex-wrap: wrap; }
  .pay-proof .pp-cta { width: 100%; text-align: right; }
}
@keyframes panelIn {
  0%   { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}
.pay-panel-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) {
  .pay-panel { padding: 22px; }
  .pay-panel-head { grid-template-columns: 1fr; }
}
/* Logo Mercado Pago */
.mp-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding: 6px 13px 6px 7px;
  background: #2d9fda;
  border-radius: 999px;
  box-shadow: 0 6px 16px -8px rgba(45,159,218,0.8);
}
.mp-logo svg { width: 32px; height: 22px; display: block; }
.mp-logo-txt {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: #fff;
}
.pay-amount {
  text-align: right;
  padding: 14px 22px;
  background: rgba(216,54,68,0.1);
  border: 1px solid rgba(216,54,68,0.25);
  border-radius: 14px;
}
.pay-amount-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,238,226,0.55);
  margin-bottom: 4px;
}
.pay-amount-val {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--bone);
}

/* Card panel inside pay-detail */
.pay-panel .cot-card {
  margin: 0 auto;
  max-width: 540px;
  background: transparent;
  border: 0;
  padding: 0;
  display: block;
}
.pay-panel .cot-card .cc-preview {
  align-self: start;
  min-height: 0;
}

/* Bank grid (SPEI) */
.bank-grid {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}
.bank-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: background .2s, border-color .2s;
}
.bank-row:hover { background: rgba(255,255,255,0.05); border-color: var(--line-2); }
.bank-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,238,226,0.5);
}
.bank-v {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 15px;
  color: var(--bone);
  letter-spacing: 0.02em;
}
.bank-copy {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: rgba(244,238,226,0.7);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
  position: relative;
}
.bank-copy:hover { background: rgba(216,54,68,0.15); color: var(--red-400); border-color: rgba(216,54,68,0.3); }
.bank-copy.copied { background: rgba(46,160,96,0.18); color: #7ed9a1; border-color: rgba(46,160,96,0.4); }
.bank-copy.copied::after {
  content: "¡Copiado!";
  position: absolute;
  top: -28px; right: 0;
  background: var(--ink-900);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  animation: copyHint 1.5s var(--ease-out);
}
@keyframes copyHint {
  0%   { opacity: 0; transform: translateY(4px); }
  20%  { opacity: 1; transform: translateY(0); }
  80%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-4px); }
}

/* Taller (efectivo) */
.taller-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 720px) { .taller-grid { grid-template-columns: 1fr; } }
.taller-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.taller-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-400);
  margin-bottom: 12px;
}
.taller-val {
  font-size: 14px;
  line-height: 1.6;
  color: var(--bone);
}

/* MSI grid */
.msi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 720px) { .msi-grid { grid-template-columns: 1fr; } }
.msi-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color .25s, background .25s, transform .25s;
}
.msi-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.msi-card.highlight {
  border-color: rgba(216,54,68,0.4);
  background: rgba(216,54,68,0.08);
}
.msi-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--red-400);
}
.msi-info { display: flex; flex-direction: column; gap: 2px; }
.msi-info strong { font-size: 14px; font-weight: 600; color: var(--bone); }
.msi-info span { font-size: 12px; color: rgba(244,238,226,0.55); }
.msi-from { font-family: var(--mono) !important; color: var(--red-400) !important; font-size: 11px !important; margin-top: 4px; }
.pay-card .icon {
  width: 36px; height: 36px;
  color: var(--red-500);
}
.pay-card h4 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 20px 0 6px;
}
.pay-card p { font-size: 13px; color: rgba(244,238,226,0.6); margin: 0; }
.pay-card .badge {
  display: inline-flex;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 16px;
  align-self: flex-start;
}
.pay-card .badge.gn { background: rgba(46, 160, 96, 0.15); color: #7ed9a1; }
.pay-card .badge.rd { background: rgba(216, 54, 68, 0.15); color: var(--red-400); }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--ink-900);
  border-top: 1px solid var(--line);
  padding: 80px var(--gutter) 40px;
}
.footer .inner { max-width: var(--maxw); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-brand h4 {
  font-family: var(--logo);
  font-style: normal;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}
.footer-brand p { color: rgba(244,238,226,0.55); font-size: 14px; max-width: 36ch; }
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,238,226,0.45);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col li a {
  font-size: 14px;
  color: rgba(244,238,226,0.75);
  transition: color .2s;
}
.footer-col li a:hover { color: var(--red-400); }
/* Enlaces de redes sociales con su ícono */
.soc-link { display: inline-flex; align-items: center; gap: 8px; }
.soc-ico { width: 17px; height: 17px; flex: none; color: var(--red-400); }
.soc-link:hover .soc-ico { color: var(--red-500); }
/* Enlace de Maps destacado */
.maps-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 4px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--red-500);
  color: #fff !important;
  font-weight: 600;
  transition: background .2s, transform .15s;
}
.maps-link:hover { background: var(--red-400); transform: translateY(-1px); }
.maps-link .soc-ico { color: #fff; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom .copy {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,238,226,0.4);
}

/* ── Reveal on scroll ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* ── Modal (auth) ──────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11,22,38,0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn .25s var(--ease-out);
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--paper);
  color: var(--ink-900);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5);
  animation: modalIn .35s var(--ease-snap);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  0% { opacity: 0; transform: translateY(20px) scale(.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(11,22,38,0.06);
  display: grid; place-items: center;
  color: var(--ink-700);
  cursor: pointer;
  transition: background .2s;
}
.modal-close:hover { background: rgba(11,22,38,0.12); }

.modal-head { margin-bottom: 28px; }
.modal-head .eyebrow { color: var(--red-600); margin-bottom: 12px; }
.modal-head h3 { margin: 0 0 12px; max-width: 14ch; }
.modal-head p { font-size: 14px; color: rgba(11,22,38,0.6); margin: 0; max-width: 36ch; }

.modal-tabs {
  display: flex;
  gap: 4px;
  background: rgba(11,22,38,0.06);
  padding: 4px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.modal-tab {
  flex: 1;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-500);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.modal-tab.active {
  background: var(--white);
  color: var(--ink-900);
  box-shadow: 0 1px 3px rgba(11,22,38,0.1);
}

.modal-form {
  display: grid;
  gap: 16px;
}
.modal-form.hidden { display: none; }
.modal-form label {
  display: grid;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.modal-form input {
  border: 1px solid rgba(11,22,38,0.12);
  border-radius: 12px;
  padding: 14px 16px;
  font: 500 15px/1.2 var(--sans);
  color: var(--ink-900);
  background: var(--white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.modal-form input:focus {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(216,54,68,0.12);
}
.modal-foot-row {
  display: flex; justify-content: flex-end;
  font-size: 13px;
  margin-top: -4px;
}
.modal-link { color: var(--red-600); font-weight: 500; }
.modal-link:hover { text-decoration: underline; }
.modal-form .btn { justify-content: center; margin-top: 4px; }

/* ── Card payment ──────────────────────────────────────────── */
.cot-card {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 16px;
  animation: ccIn .35s var(--ease-snap);
}
@keyframes ccIn {
  0% { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}

.cc-preview {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(216,54,68,0.45), transparent 55%),
    linear-gradient(135deg, #1a2c4a 0%, #0b1626 100%);
  color: var(--white);
  border-radius: 14px;
  padding: 14px 16px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  font-family: var(--mono);
  box-shadow: 0 12px 26px -10px rgba(0,0,0,0.5);
}
.cc-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 100%, rgba(255,255,255,0.08), transparent 60%);
}
.cc-brand {
  display: flex;
  justify-content: flex-end;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.cc-preview .cc-chip { display: none; }
.cc-chip {
  position: absolute;
  top: 50px;
  left: 20px;
  width: 36px;
  height: 26px;
  border-radius: 5px;
  background: linear-gradient(135deg, #d4af37, #b8902c);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.2),
    inset 0 -4px 6px rgba(0,0,0,0.15);
}
.cc-chip::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 3px;
  background:
    linear-gradient(rgba(0,0,0,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.15) 1px, transparent 1px);
  background-size: 6px 6px;
}
.cc-num {
  font-size: 18px;
  letter-spacing: 0.12em;
  position: relative;
  z-index: 1;
  margin-top: 8px;
}
.cc-meta {
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.cc-label {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 3px;
}
.cc-val {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--white);
}

.cc-form {
  display: grid;
  gap: 12px;
}
.cc-form label {
  display: grid;
  gap: 5px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,238,226,0.6);
}
.cc-form input {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 11px 14px;
  font: 500 14px/1.2 var(--mono);
  color: var(--bone);
  background: rgba(255,255,255,0.04);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.cc-form input::placeholder { color: rgba(244,238,226,0.3); }
.cc-form input:focus {
  border-color: var(--red-500);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(216,54,68,0.18);
}
.cc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cc-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(244,238,226,0.5);
  padding: 2px 0;
}
.cc-secure svg { color: rgba(244,238,226,0.6); }
.cc-form .btn { justify-content: center; }
.btn-link {
  background: none;
  border: 0;
  color: rgba(244,238,226,0.6);
  font-size: 13px;
  text-align: center;
  padding: 4px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(244,238,226,0.3);
}
.btn-link:hover { color: var(--bone); }

.cc-success {
  text-align: center;
  padding: 16px 4px;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.cc-success.hidden { display: none; }
.cc-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(46,160,96,0.18);
  color: #7ed9a1;
  display: grid; place-items: center;
}
.cc-success h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  margin: 0;
  color: var(--bone);
}
.cc-success p {
  font-size: 13px;
  color: rgba(244,238,226,0.65);
  margin: 0;
  max-width: 32ch;
}

/* ── Mercado Pago: checkout + resultado ────────────────────── */
.mp-checkout.hidden, .pay-result.hidden { display: none !important; }

.mp-summary {
  display: grid;
  gap: 2px;
  margin: 16px 0 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px 14px;
}
.mp-fields { display: grid; gap: 12px; margin-bottom: 12px; }
.mp-aviso {
  display: flex; align-items: flex-start; gap: 9px;
  margin: 0 0 14px;
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(31,157,104,0.1);
  border: 1px solid rgba(31,157,104,0.3);
  font-size: 12.5px; line-height: 1.45;
  color: rgba(244,238,226,0.78);
}
.mp-aviso svg { flex: none; width: 16px; height: 16px; color: #7ed9a1; margin-top: 1px; }
.mp-deposito {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(216,54,68,0.1);
  border: 1px solid rgba(216,54,68,0.32);
  font-size: 13px; line-height: 1.5;
  color: rgba(244,238,226,0.8);
}
.mp-deposito strong { color: var(--red-400); }
.pay-anticipo {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: rgba(244,238,226,0.5);
}
.pay-anticipo b { color: rgba(244,238,226,0.78); font-weight: 600; }
.pay-anti-mejor { color: #7ed9a1; }
.pay-resto-aviso {
  margin-top: 8px;
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(244,238,226,0.6);
  background: none;
  border: none;
  border-top: 1px dashed rgba(244,238,226,0.18);
  padding: 8px 0 0;
}
.pay-resto-aviso strong { color: #ffd6a0; font-weight: 700; }
.spei-aviso {
  display: flex; align-items: flex-start; gap: 9px;
  margin: 0 0 14px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(46,204,113,0.1);
  border: 1px solid rgba(46,204,113,0.3);
  font-size: 13px; line-height: 1.45;
  color: rgba(244,238,226,0.85);
}
.spei-aviso svg { flex: none; margin-top: 1px; color: #2ecc71; }
.mp-paytype { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 12px; }
.mp-pt {
  padding: 11px 12px; border-radius: 11px; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(255,255,255,0.04);
  color: var(--bone); font: 600 13px/1.2 var(--sans); text-align: center;
  transition: border-color .2s, background .2s;
}
.mp-pt:hover { border-color: rgba(244,238,226,0.4); }
.mp-pt.active { border-color: var(--red-500); background: rgba(216,54,68,0.14); color: #fff; }
.mp-pt-reco { position: relative; border-color: rgba(126,217,161,0.5); }
.mp-pt-reco.active { border-color: #2ecc71; background: rgba(46,204,113,0.16); }
.mp-pt-reco-badge {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 8.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #07301a; background: #2ecc71;
  padding: 2px 8px; border-radius: 999px; white-space: nowrap;
}
.mp-pt-top { display: block; font-size: 12px; }
.mp-pt-amt { display: block; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; margin-top: 3px; }
.mp-resto {
  display: flex; align-items: flex-start; gap: 9px;
  margin: 10px 0 0;
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(216,54,68,0.1);
  border: 1px solid rgba(216,54,68,0.3);
  font-size: 12.5px; line-height: 1.45;
  color: rgba(244,238,226,0.78);
}
.mp-resto svg { flex: none; width: 16px; height: 16px; color: var(--red-400); margin-top: 1px; }
.mp-resto b { color: var(--bone); font-weight: 700; }
.mp-resto strong { color: var(--red-400); }
.mp-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  padding: 10px 0;
  font-size: 14px;
  color: rgba(244,238,226,0.7);
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}
.mp-row:last-child { border-bottom: 0; }
.mp-row span:last-child { color: var(--bone); font-weight: 500; text-align: right; }
.mp-row.mp-total {
  font-family: var(--display);
}
.mp-row.mp-total span:first-child {
  font-size: 14px; color: rgba(244,238,226,0.7); font-weight: 400;
  font-family: var(--sans);
}
.mp-row.mp-total span:last-child {
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--bone);
}
.mp-btn { justify-content: center; width: 100%; }
.mp-btn svg { flex: none; }
.mp-checkout-btn {
  justify-content: center; width: 100%;
  margin-top: 8px;
  background: #009ee3;
  color: #fff;
  font-weight: 700;
}
.mp-checkout-btn:hover { background: #00b1f5; }
.mp-checkout-btn svg { flex: none; }

/* Pantallas de resultado (éxito / fallo) */
.pay-result {
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 8px 4px;
  animation: ccIn .4s var(--ease-snap);
}
.cc-success-icon.ok { background: rgba(46,160,96,0.18); color: #7ed9a1; }
.cc-success-icon.fail { background: rgba(216,54,68,0.16); color: var(--red-400); }
.pay-result h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--bone);
}
.pay-result-sub {
  font-size: 14px;
  color: rgba(244,238,226,0.65);
  margin: 0;
  max-width: 42ch;
  line-height: 1.55;
}
.mp-summary-result {
  width: 100%;
  max-width: 380px;
  text-align: left;
  margin: 8px 0 4px;
}
.pay-result-actions {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}

.hidden { display: none !important; }

/* ─────────────────────────────────────────────────────────────
   Intro / preloader — animación del logo (lona desenrollándose)
   ─────────────────────────────────────────────────────────── */
html.intro-seen .intro { display: none !important; }
body.intro-lock { overflow: hidden; }

.intro {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vh, 34px);
  background:
    radial-gradient(ellipse at 50% 45%, #1b2a47 0%, #0e1a30 62%, #0a1322 100%);
  opacity: 1;
  transition: opacity .8s var(--ease-out);
}
.intro.done {
  opacity: 0;
  pointer-events: none;
}

.intro-word {
  font-family: var(--logo);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(30px, 6.5vw, 62px);
  line-height: 1;
  color: var(--bone);
  opacity: 0;
  transform: translateY(12px);
}
.intro.go .intro-word {
  animation: i-word 1s var(--ease-snap) 3.6s both;
}
@keyframes i-word {
  0%   { opacity: 0; transform: translateY(14px); letter-spacing: 0.16em; }
  100% { opacity: 1; transform: translateY(0); letter-spacing: 0.04em; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-word { opacity: 1; transform: none; animation: none; }
}

.intro-stage {
  --i-angle: -28deg;
  position: relative;
  width: min(74vw, 74vh, 460px);
  width: min(74vw, 74dvh, 460px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.intro-glow {
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,122,230,0.55) 0%, rgba(56,122,230,0.18) 40%, transparent 68%);
  filter: blur(14px);
  z-index: 0;
}
.intro.go .intro-glow { animation: i-breathe 5.5s 0.3s ease-in-out infinite; }
@keyframes i-breathe {
  0%, 100% { transform: scale(1);    opacity: 0.55; }
  50%      { transform: scale(1.12); opacity: 0.85; }
}

.intro-floatY { position: relative; width: 100%; height: 100%; z-index: 1; }
.intro.go .intro-floatY { animation: i-float 6.5s 5.2s ease-in-out infinite; }
@keyframes i-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

.intro-pop { position: relative; width: 100%; height: 100%; opacity: 0; transform: scale(0.9); }
.intro.go .intro-pop { animation: i-pop 0.85s cubic-bezier(.18,.9,.3,1.15) both; }
@keyframes i-pop {
  0%   { opacity: 0; transform: scale(0.9); }
  60%  { opacity: 1; transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}

.intro-frame {
  position: absolute;
  inset: 0;
  background: #1a2c4a;
  border-radius: 12.5%;
  overflow: hidden;
  box-shadow:
    0 30px 70px -20px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.05);
}
.intro-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.intro-cover {
  position: absolute;
  inset: 0;
  background: #1a2c4a;
  z-index: 2;
  clip-path: polygon(0% 160%, 100% 107%, 100% 300%, 0% 300%);
}
.intro.go .intro-cover {
  clip-path: polygon(0% -10%, 100% -63%, 100% 300%, 0% 300%);
  animation: i-lay-cover 3.9s 0.6s cubic-bezier(.5,.02,.27,1) forwards;
}
@keyframes i-lay-cover {
  0%   { clip-path: polygon(0% -10%, 100% -63%, 100% 300%, 0% 300%); }
  100% { clip-path: polygon(0% 160%, 100% 107%, 100% 300%, 0% 300%); }
}

.intro-roll {
  position: absolute;
  left: 50%;
  top: 133.5%;
  width: 172%;
  height: 9.4%;
  transform: translate(-50%, -50%) rotate(var(--i-angle));
  z-index: 3;
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, rgba(120,134,156,0.10) 0 1px, transparent 1px 6px),
    linear-gradient(to bottom,
      #b9c3d1 0%, #e6ecf3 14%, #ffffff 40%, #ffffff 52%, #e2e8f0 66%, #b4bfcd 86%, #9aa6b6 100%);
  box-shadow:
    0 18px 30px -6px rgba(0,0,0,0.5),
    0 4px 8px rgba(0,0,0,0.32),
    inset 0 1.5px 0 rgba(255,255,255,0.8),
    inset 0 -3px 4px rgba(70,84,104,0.28);
  opacity: 0;
}
.intro-roll::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background:
    radial-gradient(120% 62% at 3% 50%, rgba(40,54,78,0.32), transparent 42%),
    radial-gradient(120% 62% at 97% 50%, rgba(40,54,78,0.32), transparent 42%);
}
.intro-roll::after {
  content: "";
  position: absolute;
  left: 2.5%; right: 2.5%;
  bottom: 18%;
  height: 2px;
  background: rgba(90,104,124,0.3);
  border-radius: 2px;
  box-shadow: 0 3px 5px -2px rgba(0,0,0,0.4);
}
.intro.go .intro-roll {
  top: -36.5%;
  opacity: 1;
  animation: i-lay-roll 3.9s 0.6s cubic-bezier(.5,.02,.27,1) forwards;
}
@keyframes i-lay-roll {
  0%   { top: -36.5%;  opacity: 1; }
  97%  { opacity: 1; }
  100% { top: 133.5%;  opacity: 0; }
}

.intro-shine {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(118deg,
    transparent 38%, rgba(255,255,255,0.0) 44%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0.0) 56%, transparent 62%);
  background-size: 250% 100%;
  background-position: 140% 0;
  opacity: 0;
  mix-blend-mode: screen;
}
.intro.go .intro-shine { animation: i-shine 1.3s 4.7s ease-in-out forwards; }
@keyframes i-shine {
  0%   { background-position: 140% 0; opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { background-position: -60% 0; opacity: 0; }
}

.intro-grain {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  border-radius: 12.5%;
  opacity: 0.10;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxODAnIGhlaWdodD0nMTgwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC44NScgbnVtT2N0YXZlcz0nMicgc3RpdGNoVGlsZXM9J3N0aXRjaCcvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPScxMDAlJyBoZWlnaHQ9JzEwMCUnIGZpbHRlcj0ndXJsKCNuKScvPjwvc3ZnPg==");
}
.intro.go .intro-grain { animation: i-grain 0.6s steps(3) infinite; }
@keyframes i-grain {
  0%   { background-position: 0 0; }
  100% { background-position: 18px -12px; }
}
.intro-vignette {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  border-radius: 12.5%;
  box-shadow: inset 0 0 40px 4px rgba(0,0,0,0.18);
  background: radial-gradient(ellipse at center, transparent 70%, rgba(10,18,40,0.18) 100%);
}

.intro-skip {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(244,238,226,0.7);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.intro-skip:hover { background: rgba(255,255,255,0.12); color: var(--bone); }

@media (prefers-reduced-motion: reduce) {
  .intro-cover, .intro-roll, .intro-shine { display: none; }
  .intro-pop { opacity: 1; transform: none; animation: none; }
}

/* ─────────────────────────────────────────────────────────────
   Lightbox de categoría — galería en marco uniforme
   ─────────────────────────────────────────────────────────── */
.lb {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.lb.open { display: flex; }
.lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(7,14,26,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn .25s var(--ease-out);
}
.lb-card {
  position: relative;
  width: 100%;
  max-width: 760px;
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.7);
  animation: modalIn .4s var(--ease-snap);
}
.lb-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 4;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line-2);
  color: var(--bone);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s;
}
.lb-close:hover { background: var(--red-500); border-color: var(--red-500); }
.lb-head { margin-bottom: 18px; padding-right: 48px; }
.lb-head .eyebrow { color: var(--red-400); margin-bottom: 8px; }
.lb-head h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.03em;
  margin: 0;
}

/* Marco uniforme: todas las fotos se ven igual */
.lb-stage {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lb-frame {
  position: relative;
  flex: 1;
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink-900);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 0 0 6px rgba(11,22,38,0.6), inset 0 0 40px rgba(0,0,0,0.4);
}
.lb-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: lbImgIn .5s var(--ease-out);
}
@keyframes lbImgIn { 0% { opacity: 0; transform: scale(1.04); } 100% { opacity: 1; transform: scale(1); } }
.lb-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  background: #000;
}
.lb-thumb-vid::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6));
}
.lb-thumb-vid { position: relative; }
.lb-counter {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--bone);
  background: rgba(11,22,38,0.7);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 999px;
}
.lb-nav {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-2);
  color: var(--bone);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.lb-nav:hover { background: var(--red-500); border-color: var(--red-500); }
.lb-nav.lb-prev:hover { transform: translateX(-2px); }
.lb-nav.lb-next:hover { transform: translateX(2px); }
.lb-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.lb-thumb {
  width: 72px; height: 50px;
  border-radius: 9px;
  background-size: cover;
  background-position: center;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity .2s, border-color .2s, transform .2s;
}
.lb-thumb:hover { opacity: 0.85; transform: translateY(-2px); }
.lb-thumb.is-active { opacity: 1; border-color: var(--red-500); }
.lb-actions {
  display: flex; gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.lb-actions .btn { flex: 1; justify-content: center; min-width: 180px; }
@media (max-width: 560px) {
  .lb-card { padding: 18px; }
  .lb-nav { width: 38px; height: 38px; }
}

/* Resalte de categoría al llegar desde el hero */
.cat-flash { animation: catFlash 1.4s var(--ease-out); }
@keyframes catFlash {
  0%   { box-shadow: 0 0 0 0 rgba(216,54,68,0); transform: translateY(0); }
  18%  { box-shadow: 0 0 0 4px rgba(216,54,68,0.65); transform: translateY(-6px); }
  100% { box-shadow: 0 0 0 0 rgba(216,54,68,0); transform: translateY(0); }
}

/* Cursor de zoom en tarjetas del catálogo */
.card-photo[id^="cat-"] { cursor: zoom-in; }

/* ════════════════════════════════════════════════════════════
   OPTIMIZACIÓN CELULAR — ajustes finos sin tocar el escritorio
   ════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  :root { --gutter: 18px; }

  /* Nav compacto: que quepan logo + acciones en 360–390px */
  .nav { padding: 11px 16px; }
  .nav-brand { font-size: 16px; gap: 8px; }
  .nav-brand .nav-seal { width: 30px; height: 30px; }
  .nav-right { gap: 7px; }
  .auth-btn { padding: 9px 10px; }
  .auth-btn .auth-label { display: none; }     /* solo el ícono de usuario */
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  .nav-cta svg { display: none; }              /* texto corto, sin flecha */

  /* Hero: alturas y botones a ancho completo */
  .hero { padding: 96px 18px 40px; gap: 30px; min-height: auto; }
  .hero-copy h1 { margin-bottom: 22px; }
  .hero-copy p { margin-bottom: 28px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-stats .stat .n { font-size: 30px; }

  /* Marquee un poco más chico */
  .marquee-item { font-size: 22px; }

  /* Secciones: menos padding vertical */
  .section { padding: 76px 18px; }
  .section-light .inner,
  #cotizar .inner { padding: 76px 18px; }
  .scene-cta { padding: 64px 18px 88px; }

  /* Escena 3D: anula el desplazamiento/escala de la malla (era para
     dejar espacio a las anotaciones, ocultas en móvil) y centra todo */
  .scene-sticky {
    min-height: auto;
    gap: 28px;
    padding: 80px 18px 56px;
  }
  .scene-text { min-height: 360px; }
  .scene-obj:has(.prod-malla) { transform: none; }
  .prod-malla { width: 56%; }

  /* Evitar empalmes: que el panel activo (texto y modelo) crezca con su
     contenido en lugar de desbordar el cuadro fijo */
  .scene-stage { aspect-ratio: auto; max-width: 440px; min-height: 300px; }
  .scene-stage::before { display: none; }
  .scene-obj { position: absolute; }
  .scene-obj.active { position: relative; }
  .scene-text { min-height: 0; }
  .scene-text .step { position: absolute; }
  .scene-text .step.active { position: relative; }
  .scene-nav { position: static; margin-top: 22px; width: max-content; }
  .prod-lona { width: 70%; }
  .struct3d { width: 70%; }
  .scene-stage { max-width: 360px; }

  /* Comparadores de tipo: 1 columna para que no se aprieten */
  .mtype-grid, .mtype-grid-2 { grid-template-columns: 1fr; }
  .struct-grid { grid-template-columns: repeat(2, 1fr); }
  .cot-row .options { grid-template-columns: 1fr; }
  .cot-row.split { grid-template-columns: 1fr 1fr; }

  /* Cotizador: número de precio más contenido */
  .cot-summary .price { font-size: 56px; }

  /* Pagos: una sola columna de métodos */
  .pay-grid { grid-template-columns: 1fr 1fr; }
  .pay-amount { text-align: left; }

  /* Footer: una columna en celular para que no se corte el texto */
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-col ul li { white-space: normal; word-break: break-word; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 400px) {
  .hero-stats .stat .n { font-size: 26px; }
  .pay-grid { grid-template-columns: 1fr; }
  .cot-row.split { grid-template-columns: 1fr; }
  .marquee-item { font-size: 19px; }
}

/* ── Botón flotante de WhatsApp ────────────────────────────── */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  animation: waIn .6s var(--ease-snap) 1.2s both;
}
@keyframes waIn {
  0%   { opacity: 0; transform: translateY(18px) scale(.6); }
  60%  { opacity: 1; transform: translateY(0) scale(1.08); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.wa-ico {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--ink-700);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px -6px rgba(26,44,74,0.6), 0 4px 10px rgba(0,0,0,0.25);
  transition: transform .25s var(--ease-out), box-shadow .25s;
  position: relative;
}
.wa-ico::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(47,123,230,0.5);
  animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(47,123,230,0.45); }
  70%  { box-shadow: 0 0 0 16px rgba(47,123,230,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,123,230,0); }
}
.wa-fab:hover .wa-ico {
  transform: scale(1.1);
  background: var(--ink-600);
  box-shadow: 0 14px 32px -6px rgba(26,44,74,0.75), 0 6px 14px rgba(0,0,0,0.3);
}
/* Globito en azul/blanco de la paleta */
.wa-bubble {
  background: var(--ink-800);
  color: var(--bone);
  border: 1px solid rgba(255,255,255,0.14);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  padding: 9px 15px;
  border-radius: 999px;
  margin-right: 12px;
  white-space: nowrap;
  box-shadow: 0 8px 22px -8px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateX(10px) scale(.9);
  transform-origin: right center;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  pointer-events: none;
  position: relative;
}
.wa-bubble::after {
  content: "";
  position: absolute;
  right: -5px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: var(--ink-800);
  border-right: 1px solid rgba(255,255,255,0.14);
  border-top: 1px solid rgba(255,255,255,0.14);
}
.wa-fab:hover .wa-bubble,
.wa-fab:focus-visible .wa-bubble {
  opacity: 1;
  transform: translateX(0) scale(1);
}
@media (max-width: 600px) {
  .wa-fab { right: 16px; bottom: 16px; }
  .wa-ico { width: 52px; height: 52px; }
  .wa-ico svg { width: 26px; height: 26px; }
  /* En celular ocultamos el globito para no estorbar */
  .wa-bubble { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab { animation: none; }
  .wa-ico::after { animation: none; }
}

/* ════════════════════════════════════════════════════════════
   TWEAKS — controles expresivos (ambiente + energía)
   El acento se aplica vía variables inline desde tweaks-app.jsx
   ════════════════════════════════════════════════════════════ */
/* Ambiente: familia de fondos oscuros */
html[data-ambiente="azul"]   { --ink-900:#06101f; --ink-800:#0b1a32; --ink-700:#14294c; }
html[data-ambiente="carbon"] { --ink-900:#101216; --ink-800:#181b21; --ink-700:#23272f; }

/* Energía: vivacidad del movimiento */
html[data-energia="calmado"] .marquee-track   { animation-duration: 64s; }
html[data-energia="calmado"] .hshot.is-active  { animation-duration: 15s; }
html[data-energia="calmado"] .wa-ico::after    { animation: none; }
html[data-energia="calmado"] .wa-fab           { animation: none; }
html[data-energia="vivo"]    .marquee-track   { animation-duration: 24s; }
html[data-energia="vivo"]    .hshot.is-active  { animation-duration: 6.5s; }
html[data-energia="vivo"]    .card-photo:hover { transform: translateY(-10px); }
html[data-energia="vivo"]    .btn-primary { box-shadow: 0 10px 30px -8px color-mix(in oklab, var(--red-500) 85%, transparent); }

/* ── Botón "Ver todos los productos" (resaltado) ───────────── */
.cat-more-wrap { display: flex; justify-content: center; margin-top: 36px; }
.cat-more {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 26px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--red-600), var(--red-500));
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 16px 40px -12px color-mix(in oklab, var(--red-500) 80%, transparent);
  transition: transform .25s var(--ease-out), box-shadow .25s;
  animation: catMorePulse 3s ease-in-out infinite;
}
@keyframes catMorePulse {
  0%, 100% { box-shadow: 0 16px 40px -12px color-mix(in oklab, var(--red-500) 70%, transparent); }
  50%      { box-shadow: 0 18px 50px -10px color-mix(in oklab, var(--red-500) 95%, transparent); }
}
.cat-more:hover { transform: translateY(-3px); }
.cat-more-glow {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.28) 50%, transparent 65%);
  background-size: 250% 100%;
  background-position: 150% 0;
  animation: catMoreShine 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes catMoreShine {
  0% { background-position: 150% 0; }
  55%, 100% { background-position: -60% 0; }
}
.cat-more-ico {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.18);
  position: relative; z-index: 1;
}
.cat-more-txt { display: flex; flex-direction: column; text-align: left; line-height: 1.2; position: relative; z-index: 1; }
.cat-more-txt strong { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.cat-more-txt small { font-size: 12px; opacity: 0.85; margin-top: 2px; }
.cat-more-arrow { flex: none; position: relative; z-index: 1; transition: transform .25s var(--ease-out); }
.cat-more:hover .cat-more-arrow { transform: translateX(4px); }
@media (max-width: 460px) {
  .cat-more { width: 100%; }
  .cat-more-txt strong { font-size: 16px; }
}

/* ── Modal: todos los productos ────────────────────────────── */
.allprod { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: 22px; }
.allprod.open { display: flex; }
.allprod-backdrop { position: absolute; inset: 0; background: rgba(6,12,24,0.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: apFade .25s var(--ease-out); }
@keyframes apFade { from { opacity: 0; } to { opacity: 1; } }
.allprod-card {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--ink-800);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 40px 90px -24px rgba(0,0,0,0.7);
  animation: apIn .35s var(--ease-snap);
}
@keyframes apIn { 0% { opacity: 0; transform: translateY(18px) scale(.97); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
.allprod-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.allprod-head .eyebrow { color: var(--red-400); margin-bottom: 8px; }
.allprod-head h3 { margin: 0; color: var(--bone); }
.allprod-close {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line);
  color: var(--bone); display: grid; place-items: center; cursor: pointer;
  transition: background .2s;
}
.allprod-close:hover { background: rgba(255,255,255,0.12); }
.allprod-sub { color: rgba(244,238,226,0.6); font-size: 14px; margin: 12px 0 22px; max-width: 52ch; }
.allprod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .allprod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .allprod-grid { grid-template-columns: 1fr; } }
.ap-item {
  display: flex; flex-direction: column; gap: 4px;
  text-align: left;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .2s var(--ease-out), border-color .2s, background .2s;
}
.ap-item:hover { transform: translateY(-3px); border-color: rgba(216,54,68,0.4); background: rgba(216,54,68,0.06); }
.ap-ico { font-size: 26px; line-height: 1; margin-bottom: 4px; }
.ap-name { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--bone); letter-spacing: -0.01em; }
.ap-desc { font-size: 12px; color: rgba(244,238,226,0.55); }
.allprod-cta { justify-content: center; width: 100%; margin-top: 22px; }
