/* ============================================================
   RURALES JUANITA — Sistema de diseño híbrido
   Base editorial cálida (Arva) + detalles técnicos blueprint (Index)
   ============================================================ */

:root {
  /* Colores Arva */
  --forest: #07503f;
  --forest-dark: #053d30;
  --lime: #e8fe85;
  --bone: #f1efdf;
  --white: #ffffff;
  --ash: #efefef;
  --charcoal: #212529;
  --graphite: #353535;
  --pewter: #6d6d6d;
  --sky: #b2cee7;
  --peach: #fceace;
  --sage: #e6ecd5;
  --moss: #c3cda7;

  /* Colores Index (acento técnico) */
  --void: #000000;
  --carbon: #1c1c1c;
  --steel: #808080;
  --periwinkle: #7089ba;

  /* Tipografía */
  --font-serif: 'Cormorant Garamond', 'Source Serif Pro', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', 'Consolas', monospace;

  /* Escala tipográfica */
  --text-caption: 12px;
  --text-body-sm: 14px;
  --text-body: 16px;
  --text-lead: 17px;
  --text-subheading: 24px;
  --text-heading-sm: 37px;
  --text-heading: 45px;
  --text-heading-lg: 57px;
  --text-display: clamp(44px, 7vw, 80px);

  /* Layout */
  --max-w: 1200px;
  --section-gap: 50px;
  --card-pad: 30px;
  --gap: 8px;

  /* Radios */
  --r-card: 20px;
  --r-input: 33px;
  --r-btn: 100px;
  --r-hero: 30px;

  /* Defaults de animación (se pisan por inline/JS) */
  --reveal-delay: 0s;
  --i: 0;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.52;
  letter-spacing: -0.022px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---------- Marquee (franja lima) ---------- */
.marquee {
  background: var(--lime);
  overflow: hidden;
  white-space: nowrap;
  padding: 9px 0;
}
.marquee__track {
  display: inline-block;
  animation: marquee 30s linear infinite;
}
.marquee__track span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--charcoal);
  margin: 0 18px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Header / Nav ---------- */
.header {
  background: var(--forest);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .2s;
}
.header.is-scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}
.logo__mark {
  width: 34px; height: auto;
  aspect-ratio: 177 / 267;
  display: block;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.3));
}
.footer .logo__mark { width: 48px; }
.logo__name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.logo__name small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: .75;
  margin-top: 2px;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: var(--r-btn);
  white-space: nowrap;
  transition: background .15s;
}
.nav a:hover { background: rgba(255,255,255,.12); }
.nav a.active { background: rgba(255,255,255,.16); }
.header__cta { display: flex; align-items: center; gap: 10px; }

/* Nav con 7 secciones: se compacta antes de llegar al breakpoint del menú */
@media (max-width: 1320px) {
  .nav a { font-size: 14px; padding: 8px 9px; }
  .logo__name { font-size: 17px; }
}
@media (max-width: 1140px) {
  .nav a { font-size: 13px; padding: 8px 7px; letter-spacing: -0.005em; }
  .header__cta .btn { padding: 10px 16px; font-size: 13px; }
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-btn);
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .12s, background .15s, color .15s;
}
.btn:active { transform: scale(.97); }
.btn--forest { background: var(--forest); color: var(--white); }
.btn--forest:hover { background: var(--forest-dark); }
.btn--white { background: var(--white); color: var(--charcoal); }
.btn--white:hover { background: var(--bone); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--ghost-dark { background: transparent; color: var(--charcoal); border-color: var(--graphite); }
.btn--ghost-dark:hover { background: rgba(0,0,0,.05); }
.btn--lg { padding: 13px 30px; font-size: 15px; }

/* Hamburguesa móvil */
.burger {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
}
@media (max-width: 1020px) {
  .nav, .header__cta .btn--ghost { display: none; }
  .burger { display: block; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--forest-dark);
    padding: 12px 20px 20px;
    gap: 6px;
    box-shadow: 0 12px 24px rgba(0,0,0,.3);
  }
  .nav.is-open a { padding: 13px 16px; font-size: 16px; }
}

@media (max-width: 480px) {
  .header__cta .btn--white { display: none; }
  .logo__name { font-size: 19px; }
  .logo__name small { font-size: 7.5px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(5,28,22,.52) 0%, rgba(5,28,22,.24) 55%, transparent 100%),
    linear-gradient(180deg, rgba(7,25,20,.34) 0%, rgba(7,25,20,.38) 60%, rgba(33,37,41,.6) 100%);
  pointer-events: none;
}
.hero__content { position: relative; z-index: 1; padding: 100px 24px; max-width: 900px; }
.hero h1, .hero .hero__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--text-display);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 18px 0 22px;
  text-wrap: balance;
}
.hero p {
  font-size: 18px;
  max-width: 62ch;
  margin: 0 auto 34px;
  color: rgba(255,255,255,.92);
}
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.85);
  text-decoration: none;
}

/* ---------- Eyebrow / chips ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  border: 1px dashed var(--forest);
  border-radius: var(--r-btn);
  padding: 5px 14px;
}
.eyebrow--ondark { color: var(--white); border-color: rgba(255,255,255,.55); }

/* ---------- Secciones ---------- */
.section { padding: 78px 0; }
.section--white { background: var(--white); }
.section--ash { background: var(--ash); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--text-heading);
  line-height: 1.06;
  letter-spacing: -0.012em;
  margin: 14px 0 12px;
}
.section-head p { color: var(--pewter); font-size: var(--text-lead); margin: 0; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Grid de productos ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1020px) { .cards, .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .cards, .cards--3, .cards--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
  text-decoration: none;
  color: var(--charcoal);
  display: flex;
  flex-direction: column;
  transition: transform .18s;
}
.card:hover { transform: translateY(-4px); }
.card__img { width: 100%; height: clamp(190px, 21vw, 240px); aspect-ratio: 4/3; object-fit: cover; object-position: center; background: var(--ash); display: block; }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.022em; }
.card__body p { margin: 0; color: var(--pewter); font-size: 14px; line-height: 1.5; flex: 1; }
.card__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 2px;
}

/* Pastel quilt */
.tile--sky   { background: var(--sky); }
.tile--peach { background: var(--peach); }
.tile--sage  { background: var(--sage); }
.tile--bone  { background: var(--ash); }

/* ---------- Banda forest (intersticial) ---------- */
.band {
  background: var(--forest);
  color: var(--white);
  padding: 84px 0;
}
.band h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--text-heading);
  letter-spacing: -0.012em;
  line-height: 1.06;
  margin: 14px 0 16px;
}
.band p { color: rgba(255,255,255,.85); max-width: 62ch; }
.band__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
  margin-top: 44px;
}
@media (max-width: 780px) { .band__grid { grid-template-columns: 1fr; } }
.benefit { display: flex; gap: 16px; align-items: flex-start; }
.benefit__icon {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  display: grid; place-items: center;
  font-size: 20px;
}
.benefit h3 { font-size: 15px; font-weight: 600; margin: 4px 0 4px; }
.benefit p { margin: 0; font-size: 14px; color: rgba(255,255,255,.78); }

/* ---------- Ficha técnica (estilo blueprint Index) ---------- */
.ficha {
  background: var(--carbon);
  color: var(--white);
  border-radius: var(--r-card);
  padding: 8px;
  border: 1px dashed #3a3a3a;
}
.ficha__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px 14px;
}
.ficha__head .eyebrow { border-color: var(--periwinkle); color: var(--periwinkle); }
.ficha__title { font-size: 20px; font-weight: 600; letter-spacing: -0.022em; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td {
  padding: 13px 22px;
  border-top: 1px dashed #3a3a3a;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.55;
}
.spec-table td:first-child {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--periwinkle);
  white-space: nowrap;
  width: 220px;
  padding-top: 15px;
}
.spec-table td:last-child { color: #d9d9d9; }

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split h2 {
  font-family: var(--font-serif);
  font-size: var(--text-heading-sm);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 14px 0 16px;
}
.split p { color: var(--pewter); margin: 0 0 20px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 15px;
  font-weight: 500;
}
.checklist li::before {
  content: '✓';
  color: var(--periwinkle);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 13px;
}
.split__img {
  border-radius: var(--r-hero);
  overflow: hidden;
  background: var(--ash);
}
.split__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat__num {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 500;
  line-height: 1;
  color: var(--forest);
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pewter);
  margin-top: 8px;
}

/* ---------- Galería + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure {
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--ash);
}
.gallery img { width: 100%; height: clamp(190px, 24vw, 260px); aspect-ratio: 4/3; object-fit: cover; object-position: center; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.04); }
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.88);
  display: none;
  place-items: center;
  z-index: 300;
  padding: 30px;
  cursor: zoom-out;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 88vh; border-radius: 12px; }

/* ---------- CTA / contacto ---------- */
.cta {
  background: var(--forest);
  border-radius: var(--r-hero);
  color: var(--white);
  padding: 64px 48px;
  text-align: center;
}
.cta h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--text-heading);
  letter-spacing: -0.012em;
  margin: 14px 0 12px;
}
.cta p { color: rgba(255,255,255,.85); max-width: 56ch; margin: 0 auto 30px; }

/* ---------- Formulario ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
.input {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--moss);
  border-radius: var(--r-input);
  padding: 12px 20px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--charcoal);
}
.input:focus { outline: 2px solid var(--forest); outline-offset: 1px; border-color: var(--forest); }
textarea.input { min-height: 120px; resize: vertical; border-radius: 24px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--forest-dark);
  color: var(--white);
  padding: 70px 0 34px;
  margin-top: 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin: 0 0 14px;
}
.footer a { color: rgba(255,255,255,.85); text-decoration: none; font-size: 14px; line-height: 2; display: block; }
.footer a:hover { color: var(--lime); }
.footer p { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.7; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 48px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}

/* ---------- Utilidades ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.page-hero {
  background: var(--forest);
  color: var(--white);
  padding: 90px 0 70px;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(38px, 5.5vw, 57px);
  letter-spacing: -0.022em;
  line-height: 1.06;
  margin: 14px 0 12px;
}
.page-hero p { color: rgba(255,255,255,.85); font-size: 17px; max-width: 62ch; margin: 0; }
.page-hero .eyebrow { color: var(--lime); border-color: var(--lime); }

/* ============================================================
   V2 — CAPA VISUAL: motion, slider, gráficos y efectos
   ============================================================ */

:root { --ease-out: cubic-bezier(.22,.61,.36,1); }

/* ---------- Scroll reveal (solo con JS activo) ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
html.js [data-reveal="left"]  { transform: translateX(-30px); }
html.js [data-reveal="right"] { transform: translateX(30px); }
html.js [data-reveal="zoom"]  { transform: scale(.94); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Hero slider tipo video (Ken Burns) ---------- */
.hero { overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}
.hero__slide.is-active { opacity: 1; pointer-events: auto; }
.hero__bg {
  position: absolute; inset: -4%;
  background-size: cover;
  background-position: center;
  transform: scale(1);
}
/* Video de fondo del hero: mismo sangrado que las fotos para el parallax */
.hero__video {
  position: absolute; inset: -4%;
  width: 108%; height: 108%;
  object-fit: cover;
  background: var(--carbon);
  /* Grado cinematográfico: cálido, contraste suave, leve oscurecido */
  filter: saturate(1.15) contrast(1.07) brightness(.88) sepia(.16);
}
/* Tinte forest fundido sobre el video (no funciona ::after en <video>) */
.hero__tint {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 75% 65% at 50% 42%, transparent 40%, rgba(5,28,22,.45) 100%),
    linear-gradient(180deg, rgba(7,80,63,.28) 0%, rgba(7,80,63,.08) 45%, rgba(33,37,41,.42) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
/* Mismo grado en la sección cine para continuidad */
.cine__video { filter: saturate(1.12) contrast(1.06) brightness(.92) sepia(.12); }

/* Botón de sonido a demanda */
.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 99px;
  padding: 9px 16px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .25s, border-color .25s, transform .25s;
  z-index: 5;
}
.sound-toggle:hover { transform: scale(1.05); background: rgba(0,0,0,.6); }
.sound-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sound-toggle .spk { fill: currentColor; stroke: none; }
.sound-toggle .wav { opacity: .35; }
.sound-toggle.is-on { background: var(--lime); border-color: var(--lime); color: var(--forest-dark); }
.sound-toggle.is-on .wav { opacity: 1; }
.sound-toggle--hero { position: absolute; left: 34px; bottom: 26px; }
.sound-toggle--cine { position: absolute; right: 14px; bottom: 14px; }
@media (max-width: 700px) { .sound-toggle--hero { left: 20px; bottom: 70px; } }
.hero__slide.is-active .hero__bg { animation: kenburns 8.5s var(--ease-out) forwards; }
.hero__slide:nth-child(even).is-active .hero__bg { animation-name: kenburns-alt; }
@keyframes kenburns {
  from { transform: scale(1.02) translateX(0); }
  to   { transform: scale(1.14) translateX(-1.6%); }
}
@keyframes kenburns-alt {
  from { transform: scale(1.14) translateX(1.6%); }
  to   { transform: scale(1.02) translateX(0); }
}
.hero__caption {
  position: absolute; inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 110px 24px 140px;
}
.hero__caption .eyebrow,
.hero__caption h1,
.hero__caption .hero__title,
.hero__caption p,
.hero__caption .hero__actions {
  opacity: 0;
  transform: translateY(22px);
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.hero__caption h1, .hero__caption .hero__title { text-shadow: 0 3px 32px rgba(0,0,0,.55); }
.hero__slide.is-active .hero__caption .eyebrow      { animation: riseIn .7s var(--ease-out) .1s forwards; }
.hero__slide.is-active .hero__caption h1,
.hero__slide.is-active .hero__caption .hero__title  { animation: riseIn .8s var(--ease-out) .22s forwards; }
.hero__slide.is-active .hero__caption p             { animation: riseIn .8s var(--ease-out) .36s forwards; }
.hero__slide.is-active .hero__caption .hero__actions{ animation: riseIn .8s var(--ease-out) .5s forwards; }
@keyframes riseIn {
  to { opacity: 1; transform: none; }
}
.hero__caption h1, .hero__caption .hero__title { max-width: 820px; }

/* Controles del slider */
.hero__dots {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero__dots button {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.75);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .25s, border-color .25s, transform .25s;
}
.hero__dots button:hover { transform: scale(1.25); }
.hero__dots button.is-active { background: var(--lime); border-color: var(--lime); }
.hero__progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px; width: 0;
  background: var(--lime);
  z-index: 3;
}
.hero__progress.is-running { animation: heroProgress 6.5s linear forwards; }
@keyframes heroProgress { from { width: 0; } to { width: 100%; } }

/* ---------- Badges de confianza (glass) ---------- */
.hero__badges {
  position: absolute;
  bottom: 84px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 3;
  width: max-content;
  max-width: 92vw;
}
.badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,.10);
  border: 1px dashed rgba(255,255,255,.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-btn);
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.badge svg { width: 13px; height: 13px; stroke: var(--lime); }

/* ---------- Marquee de clientes ---------- */
.clients { background: var(--white); padding: 52px 0; }
.clients .eyebrow { display: inline-flex; margin-bottom: 22px; }
.clients__marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px dashed var(--moss);
  border-bottom: 1px dashed var(--moss);
  padding: 20px 0;
}
.clients__track { display: inline-block; animation: marquee 34s linear infinite; }
.clients__track:hover { animation-play-state: paused; }
.client-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 30px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a2aaa4;
  transition: color .2s;
}
.client-logo:hover { color: var(--forest); }
.client-logo small {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .14em;
  color: #c0c7c1;
  display: block;
}
.client-logo::after {
  content: '◆';
  color: var(--moss);
  font-size: 10px;
  margin-left: 44px;
}

/* ---------- Banda forest con retícula blueprint ---------- */
.band { position: relative; overflow: hidden; }
.band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.band > .container { position: relative; z-index: 1; }

/* ---------- Íconos de beneficios ---------- */
.benefit__icon svg {
  width: 22px; height: 22px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Proceso: pasos numerados ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  position: relative;
  counter-reset: step;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; position: relative; padding: 0 12px; }
.steps::before {
  content: '';
  position: absolute;
  top: 31px; left: 16%; right: 16%;
  border-top: 1.5px dashed var(--moss);
}
@media (max-width: 860px) { .steps::before { display: none; } }
.step__num {
  width: 62px; height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 1.5px dashed var(--forest);
  background: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--forest);
  position: relative;
  z-index: 1;
  transition: background .25s, color .25s, transform .25s;
}
.step:hover .step__num {
  background: var(--forest);
  color: var(--lime);
  transform: rotate(-6deg) scale(1.06);
}
.step h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.022em; margin-bottom: 8px; }
.step p { color: var(--pewter); font-size: 14.5px; margin: 0; }

/* ---------- Cards: hover con zoom + flecha ---------- */
.card__img { transition: transform .55s var(--ease-out); }
.card:hover .card__img { transform: scale(1.07); }
.card__body h3 { transition: color .2s; }
.card:hover .card__body h3 { color: var(--forest); }
.card__more {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--forest);
  margin-top: 6px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.card:hover .card__more { opacity: 1; transform: none; }

/* ---------- Contadores ---------- */
.stat__num { font-variant-numeric: tabular-nums; }

/* ---------- Divisor decorativo dashed ---------- */
.divider-dash {
  border: 0;
  border-top: 1.5px dashed var(--moss);
  margin: 0;
}

/* ---------- Lightbox ampliado ---------- */
.lightbox__caption {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.5);
  border: 1px dashed rgba(255,255,255,.3);
  border-radius: var(--r-btn);
  padding: 7px 16px;
  white-space: nowrap;
  max-width: 90vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lightbox__btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(0,0,0,.45);
  color: var(--white);
  font-size: 19px;
  cursor: pointer;
  z-index: 301;
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.lightbox__btn:hover { background: var(--forest); transform: translateY(-50%) scale(1.08); }
.lightbox__btn--prev { left: 22px; }
.lightbox__btn--next { right: 22px; }
.lightbox__btn--close { top: 22px; right: 22px; transform: none; }
.lightbox__btn--close:hover { transform: scale(1.08); }

/* ---------- Volver arriba ---------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--forest);
  color: var(--white);
  font-size: 19px;
  cursor: pointer;
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, background .2s;
  box-shadow: 0 8px 22px rgba(7,80,63,.35);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--forest-dark); }

/* ---------- WhatsApp flotante ---------- */
.whatsapp {
  position: fixed;
  right: 22px; bottom: 78px;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 0;
  background: #25d366;
  color: #fff;
  z-index: 140;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .25s, box-shadow .25s, filter .25s;
  animation: wa-appear .7s var(--ease-out) 1.3s both;
}
.whatsapp:hover,
.whatsapp:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 10px 30px rgba(37,211,102,.55);
  outline: none;
  filter: brightness(1.04);
}
.whatsapp svg { width: 30px; height: 30px; }
@media (max-width: 420px) {
  .whatsapp { bottom: 22px; }
  .to-top { bottom: 22px; }
}
@keyframes wa-appear {
  0% { opacity: 0; transform: scale(.6) translateY(18px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---------- Scrollbar y selección ---------- */
::selection { background: var(--lime); color: var(--forest); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bone); }
::-webkit-scrollbar-thumb {
  background: var(--forest);
  border-radius: 100px;
  border: 2px solid var(--bone);
}

/* ---------- Dibujo técnico blueprint (ficha) ---------- */
.ficha--draw { padding: 34px; }
.bp-draw { width: 100%; height: auto; display: block; }
.bp-draw path, .bp-draw circle {
  fill: none;
  stroke: var(--periwinkle);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.bp-draw [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; }
.bp-draw.is-drawn [pathLength] { animation: bpdraw 1.5s var(--ease-out) forwards; }
.bp-draw.is-drawn path:nth-of-type(2) { animation-delay: .12s; }
.bp-draw.is-drawn path:nth-of-type(3) { animation-delay: .24s; }
.bp-draw.is-drawn path:nth-of-type(4) { animation-delay: .36s; }
.bp-draw.is-drawn path:nth-of-type(5) { animation-delay: .48s; }
@keyframes bpdraw { to { stroke-dashoffset: 0; } }
.bp-draw .dim { stroke-dasharray: 5 5 !important; opacity: 0; transition: opacity .7s ease 1s; }
.bp-draw.is-drawn .dim { opacity: .85; }
.bp-draw text {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--periwinkle);
  letter-spacing: .1em;
  opacity: 0;
  transition: opacity .7s ease 1.2s;
}
.bp-draw.is-drawn text { opacity: 1; }

/* ---------- Galería 2 columnas ---------- */
.gallery--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .gallery--2 { grid-template-columns: 1fr; } }

/* ===================================================== */
/* ============ V3: FABRICACIÓN + VIDEO + MARCAS ======= */
/* ===================================================== */

/* ---- Galería de fábrica ---- */
.factory {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-auto-rows: 240px;
  gap: 14px;
}
.factory__item {
  margin: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--carbon);
  box-shadow: 0 18px 50px rgba(28,28,28,.14);
}
.factory__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .9s cubic-bezier(.2,.6,.2,1), filter .5s ease;
}
.factory__item:hover img { transform: scale(1.055); filter: saturate(1.08); }
.factory__item figcaption {
  position: absolute;
  left: 14px; bottom: 14px;
  background: rgba(7,80,63,.9);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 99px;
  border: 1px dashed rgba(232,254,133,.55);
  backdrop-filter: blur(4px);
}
.factory__item--a { grid-row: span 2; }
.factory__item--b img { object-position: center 40%; }

/* Variante de cinco piezas para la galería de planta */
.factory--wide { grid-template-columns: 1.35fr 1fr 1fr; }

@media (max-width: 980px) {
  .factory--wide { grid-template-columns: 1.35fr 1fr; }
}
@media (max-width: 760px) {
  .factory,
  .factory--wide { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .factory__item--a { grid-row: auto; }
}

/* ---- Showreel: video publicitario vertical ---- */
.showreel {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: var(--carbon);
  border: 1px solid rgba(7,80,63,.18);
  box-shadow: 0 40px 90px rgba(7,80,63,.28), 0 8px 24px rgba(28,28,28,.15);
}
.showreel video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--carbon);
}
.showreel__play {
  position: absolute; inset: 0;
  width: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
  background: linear-gradient(180deg, rgba(28,28,28,.1) 0%, rgba(28,28,28,.5) 100%);
  border: 0; cursor: pointer;
  color: var(--white);
  transition: opacity .35s ease;
}
.showreel__play svg {
  width: 86px; height: 86px;
  padding: 26px;
  background: rgba(232,254,133,.95);
  color: var(--forest);
  border-radius: 50%;
  filter: drop-shadow(0 14px 34px rgba(0,0,0,.4));
  transition: transform .35s cubic-bezier(.2,.6,.2,1.4);
  position: relative;
  z-index: 1;
}
.showreel__play:hover svg { transform: scale(1.1); }
.showreel__play::before {
  content: '';
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(232,254,133,.75);
  animation: showreel-pulse 2.2s ease-out infinite;
}
@keyframes showreel-pulse {
  0% { transform: scale(.75); opacity: .9; }
  100% { transform: scale(1.55); opacity: 0; }
}
.showreel__play span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: rgba(28,28,28,.72);
  padding: 9px 16px;
  border-radius: 99px;
  backdrop-filter: blur(4px);
}
.showreel.is-playing .showreel__play { opacity: 0; pointer-events: none; }
.showreel.is-playing:hover .showreel__play { opacity: 1; pointer-events: auto; }
.showreel__hint {
  text-align: center;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(28,28,28,.55);
}

/* ---- Marcas del grupo ---- */
.brands { padding: 84px 0 90px; background: var(--bone); }
.brands__grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 40px;
  margin-top: 34px;
}
.brands__item {
  flex: 0 1 300px;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(7,80,63,.12);
  border-radius: 18px;
  padding: 28px 24px 26px;
  box-shadow: 0 14px 40px rgba(28,28,28,.08);
  transition: transform .4s cubic-bezier(.2,.6,.2,1), box-shadow .4s ease;
}
.brands__item:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(7,80,63,.16); }
.brands__item img {
  height: 110px;
  width: auto;
  margin: 0 auto 16px;
  display: block;
}
.brands__item h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--forest);
  margin: 0 0 8px;
}
.brands__item p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(28,28,28,.65);
  margin: 0;
}
.brands__sep {
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(7,80,63,.3), transparent);
}
@media (max-width: 760px) {
  .brands__grid { flex-direction: column; align-items: center; gap: 24px; }
  .brands__sep { width: 80px; height: 1px; }
}

/* ============================================================
   V4 — PRESENTACIÓN INSTITUCIONAL: línea de tiempo y brandplate
   ============================================================ */

/* Placa de marca fotografiada */
.brandplate {
  margin: 44px auto 0;
  max-width: 820px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(7,80,63,.12);
  box-shadow: 0 14px 40px rgba(28,28,28,.08);
}
.brandplate img { width: 100%; aspect-ratio: 21/10; object-fit: cover; display: block; }
.brandplate figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pewter);
  padding: 14px 22px;
  border-top: 1px solid rgba(7,80,63,.1);
}

/* Línea de tiempo corporativa */
.timeline { position: relative; margin-top: 46px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 11px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(7,80,63,.35), transparent);
}
.timeline__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  position: relative;
}
.timeline__item { text-align: left; padding-top: 34px; position: relative; }
.timeline__item::before {
  content: '';
  position: absolute;
  top: 4px; left: 0;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--bone);
  border: 2px solid var(--forest);
  box-shadow: 0 0 0 4px rgba(250,247,240,.9);
}
.timeline__year {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--forest);
  display: block;
  margin-bottom: 8px;
}
.timeline__item h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 8px;
}
.timeline__item p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(28,28,28,.66);
  margin: 0;
}
@media (max-width: 900px) {
  .timeline::before { display: none; }
  .timeline__track { grid-template-columns: 1fr; gap: 4px; }
  .timeline__item { padding: 0 0 26px 26px; }
  .timeline__item::before { top: 5px; left: 0; }
  .timeline__item:last-child { padding-bottom: 0; }
}

/* Sector: tarjetas grandes de los dos mercados */
.sectors { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; }
@media (max-width: 860px) { .sectors { grid-template-columns: 1fr; } }
.sector {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  box-shadow: 0 18px 50px rgba(28,28,28,.16);
}
.sector img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.6,.2,1);
}
.sector::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(4,42,33,.88) 100%);
}
.sector:hover img { transform: scale(1.05); }
.sector__body { position: relative; z-index: 1; padding: 30px 30px 32px; }
.sector__body span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
  border: 1px solid rgba(190,224,106,.5);
  border-radius: 999px;
  padding: 4px 12px;
  display: inline-block;
  margin-bottom: 14px;
}
.sector__body h3 {
  font-family: var(--font-serif);
  font-size: 29px;
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 10px;
}
.sector__body p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.85); margin: 0; }

/* ---------- Accesibilidad: reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee__track, .clients__track { animation: none !important; }
}

/* ============================================================
   V5 PRO — Estética premium + efectos cinematográficos
   ============================================================ */

:root {
  --lime-bright: #d4f542;
  --gold: #c9a86a;
  --shadow-lift: 0 24px 60px rgba(7,80,63,.18);
  --shadow-card: 0 14px 40px rgba(28,28,28,.10);
}

/* ---- Grano de cine global ---- */
body::after {
  content: '';
  position: fixed; inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

/* ---- Barra de progreso de scroll ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--lime), var(--lime-bright));
  z-index: 1200;
  box-shadow: 0 0 12px rgba(232,254,133,.8);
}

/* ---- Preloader premium ---- */
.preloader {
  position: fixed; inset: 0;
  background: var(--forest-dark);
  z-index: 3000;
  display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; color: var(--white); }
.preloader__logo {
  font-family: var(--font-serif);
  font-size: 34px; font-weight: 600;
  letter-spacing: -.01em;
}
.preloader__logo small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--lime);
  margin-top: 6px;
}
.preloader__bar {
  width: 210px; height: 2px;
  background: rgba(255,255,255,.15);
  margin: 22px auto 0;
  border-radius: 99px; overflow: hidden;
}
.preloader__bar i {
  display: block; height: 100%; width: 0;
  background: var(--lime);
  animation: preload 1.1s ease forwards;
}
@keyframes preload { to { width: 100%; } }

/* ---- Cursor glow (solo desktop) ---- */
.cursor-glow {
  position: fixed;
  width: 520px; height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(232,254,133,.09) 0%, transparent 65%);
  transform: translate(-50%,-50%);
  left: 50%; top: 30%;
}
@media (max-width: 900px) { .cursor-glow { display: none; } }

/* ---- Header vidrio al scrollear ---- */
.header.is-scrolled {
  background: rgba(5,61,48,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

/* ---- Topbar profesional ---- */
.topbar {
  background: var(--forest-dark);
  color: rgba(255,255,255,.78);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
}
.topbar__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 7px 24px;
  max-width: var(--max-w); margin: 0 auto;
}
.topbar a { color: var(--lime); text-decoration: none; }
.topbar__right { display: flex; gap: 18px; }
@media (max-width: 720px) { .topbar__right span:last-child { display: none; } }

/* ---- Hero cinematográfico ---- */
.hero__orbs { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero__orbs i {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .5;
}
.hero__orbs i:nth-child(1) {
  width: 420px; height: 420px; left: -120px; top: -80px;
  background: rgba(7,80,63,.65);
  animation: drift 11s ease-in-out infinite alternate;
}
.hero__orbs i:nth-child(2) {
  width: 340px; height: 340px; right: -90px; bottom: -60px;
  background: rgba(232,254,133,.22);
  animation: drift 13s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to { transform: translate(46px,30px) scale(1.12); }
}
.hero__giant {
  position: absolute;
  bottom: 118px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(80px, 16vw, 230px);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.16);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.hero__scrolldown {
  position: absolute;
  bottom: 26px; right: 34px;
  z-index: 4;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  text-decoration: none;
}
.hero__scrolldown b {
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: 99px;
  display: grid; justify-items: center;
  padding-top: 7px;
}
.hero__scrolldown b::after {
  content: '';
  width: 4px; height: 8px; border-radius: 99px;
  background: var(--lime);
  animation: wheel 1.8s ease infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { opacity: 0; }
}
@media (max-width: 700px) { .hero__scrolldown { display: none; } .hero__giant { bottom: 150px; } }

/* ---- Botones con brillo magnético ---- */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
}
.btn:hover::before { left: 130%; }
.btn--white:hover { box-shadow: 0 12px 32px rgba(255,255,255,.25); transform: translateY(-2px); }
.btn--forest:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.btn--ghost:hover { box-shadow: 0 12px 28px rgba(0,0,0,.3); transform: translateY(-2px); }

/* ---- Títulos editoriales con itálica dorada ---- */
.section-head h2 em, .split h2 em, .band h2 em, .cta h2 em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(100deg, var(--gold), #e8d5a2);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.section--white .section-head h2 em { filter: saturate(1.1); }

/* ---- Cards 3D premium ---- */
.card {
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(7,80,63,.08);
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover {
  box-shadow: var(--shadow-lift);
  border-color: rgba(7,80,63,.2);
}
.card__img { position: relative; }
.card--tilt { transition: transform .18s ease-out, box-shadow .3s; }

/* ---- Muro de marcas profesional ---- */
.brand-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 30px;
}
@media (max-width: 1020px) { .brand-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .brand-wall { grid-template-columns: repeat(2, 1fr); } }
.brand-chip {
  background: var(--white);
  border: 1px solid rgba(7,80,63,.1);
  border-radius: 16px;
  padding: 20px 14px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.brand-chip::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--forest), var(--lime));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.brand-chip:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgba(7,80,63,.25); }
.brand-chip:hover::after { transform: scaleX(1); }
.brand-chip__logo {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .02em;
  line-height: 1.1;
  min-height: 44px;
  display: grid; place-items: center;
}
.brand-chip__logo small { font-size: 11px; font-weight: 600; letter-spacing: .14em; }
.brand-chip p {
  font-family: var(--font-mono);
  font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pewter); margin: 8px 0 0;
}
/* Identidades aproximadas */
.b--pluspetrol { color: #c8102e; }
.b--ypf { color: #003da5; }
.b--dipp { color: #07503f; letter-spacing: .08em; }
.b--pp { color: #1c1c1c; }
.b--isamar { color: #0b6e99; }
.b--bv { color: #e30613; }

/* ---- Métricas premium estilo Andariega ---- */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
.metric {
  background: linear-gradient(160deg, #0a5c49, #053d30);
  border: 1px solid rgba(232,254,133,.18);
  border-radius: 18px;
  padding: 26px 22px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.metric::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000, transparent 75%);
}
.metric b {
  font-family: var(--font-serif);
  font-size: 44px; font-weight: 500; line-height: 1;
  background: linear-gradient(100deg, #fff, var(--lime));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative;
}
.metric span {
  display: block; margin-top: 8px;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
  position: relative;
}

/* ---- Casos / proyectos ejecutados ---- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 960px) { .cases { grid-template-columns: 1fr; } }
.case {
  border-radius: 20px; overflow: hidden;
  background: var(--carbon); color: var(--white);
  position: relative; min-height: 420px;
  display: flex; align-items: flex-end;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.case:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.case:hover img { transform: scale(1.08); }
.case::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(4,32,25,.92) 100%); }
.case__body { position: relative; z-index: 1; padding: 26px; }
.case__body i {
  font-style: normal;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--lime); border: 1px solid rgba(232,254,133,.5);
  padding: 5px 12px; border-radius: 99px;
}
.case__body h3 { font-family: var(--font-serif); font-size: 26px; font-weight: 500; margin: 12px 0 8px; }
.case__body p { font-size: 14px; color: rgba(255,255,255,.82); margin: 0 0 12px; }
.case__meta { display: flex; gap: 16px; font-family: var(--font-mono); font-size: 11px; color: var(--lime); }

/* ---- CTA premium con borde luminoso ---- */
.cta {
  position: relative;
  background: radial-gradient(120% 140% at 50% 0%, #0b6a52 0%, var(--forest) 45%, var(--forest-dark) 100%);
  border: 1px solid rgba(232,254,133,.25);
  box-shadow: 0 30px 80px rgba(7,80,63,.35);
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; inset: -60px;
  background: radial-gradient(circle at 20% 20%, rgba(232,254,133,.16), transparent 45%), radial-gradient(circle at 85% 30%, rgba(255,255,255,.1), transparent 40%);
  pointer-events: none;
}
.cta > * { position: relative; z-index: 1; }

/* ---- Reveal con blur ---- */
html.js [data-reveal="blur"] { transform: none; filter: blur(12px); }
html.js [data-reveal="blur"].is-visible { filter: blur(0); }

/* ---- Sectores con zoom cinematográfico ---- */
.sector { border: 1px solid rgba(255,255,255,.08); }

/* ============================================================
   V5.1 — Logos reales + WhatsApp oficial
   ============================================================ */
.brand-chip__img {
  width: 100%;
  height: 84px;
  object-fit: contain;
  background: #fff;
  display: block;
  padding: 6px;
}
.brand-chip { padding: 12px 12px 14px; }
.brand-chip--wide { grid-column: span 2; }
@media (max-width: 1020px) { .brand-chip--wide { grid-column: span 3; } }
@media (max-width: 600px) { .brand-chip--wide { grid-column: span 2; } }
.brand-note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--pewter);
  margin-top: 16px;
}
.brand-note code { background: var(--ash); padding: 2px 8px; border-radius: 99px; }

/* WhatsApp oficial: círculo verde, glyph blanco, pulso */
.whatsapp {
  background: #25D366;
  overflow: visible;
}
.whatsapp::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.7);
  animation: wa-ring 2.4s ease-out infinite;
}
@keyframes wa-ring {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.45); opacity: 0; }
}
.whatsapp svg { width: 32px; height: 32px; fill: #fff; position: relative; z-index: 1; }

/* ============================================================
   V5.2 — Formulario de contacto final
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  margin-top: 32px;
  text-align: left;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form .input--dark {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
}
.contact-form .input--dark::placeholder { color: rgba(255,255,255,.6); }
.contact-form .input--dark:focus { outline: 2px solid var(--lime); border-color: var(--lime); background: rgba(255,255,255,.12); }
.contact-form select.input--dark option { color: #111; }
.contact-info {
  background: rgba(0,0,0,.25);
  border: 1px dashed rgba(255,255,255,.25);
  border-radius: 18px;
  padding: 26px 24px;
  display: grid; gap: 16px;
  align-content: start;
  font-size: 14.5px;
  color: rgba(255,255,255,.9);
}
.contact-info a { color: var(--lime); text-decoration: none; }
.contact-info strong { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.contact-badges { font-size: 13px; line-height: 1.8; color: var(--lime); }
.form-status { min-height: 22px; font-size: 14px; margin: 12px 0; color: var(--lime); }
.form-status.is-error { color: #ffb4b4; }

/* ============================================================
   V6 — Pack animación (SVGator #2,#4,#6,#8,#10,#11,#12,#20,#22,#23,#25,#26,#28)
   Solo CSS vanilla, sin librerías. Respeta prefers-reduced-motion.
   ============================================================ */

/* ---- #23/#4 Tipografía cinética: chars del hero ---- */
.hero__caption h1 .word, .hero__caption .hero__title .word { display: inline-block; white-space: nowrap; }
.hero__caption h1 .char, .hero__caption .hero__title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(.55em) rotate(4deg);
  will-change: transform, opacity;
}
.hero__slide.is-active .hero__caption h1 .char,
.hero__slide.is-active .hero__caption .hero__title .char {
  animation: charUp .7s var(--ease-out) forwards;
  animation-delay: calc(.25s + var(--i, 0) * 22ms);
}
@keyframes charUp {
  to { opacity: 1; transform: none; }
}

/* ---- #10 Logo intro (header) ---- */
.logo__mark { transform-origin: 50% 80%; }
body.is-boot .logo__mark { animation: logoPop .7s var(--ease-out); }
@keyframes logoPop {
  0% { transform: scale(.6) rotate(-8deg); opacity: 0; }
  60% { transform: scale(1.06) rotate(2deg); opacity: 1; }
  100% { transform: none; }
}

/* ---- #26 Nav underline + footer slide ---- */
.nav a { position: relative; }
.nav a::after {
  content: '';
  position: absolute; left: 13px; right: 13px; bottom: 5px;
  height: 2px; border-radius: 99px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.footer a { transition: color .2s, transform .25s var(--ease-out); }
.footer__grid div:nth-child(2) a:hover,
.footer__grid div:nth-child(3) a:hover { transform: translateX(5px); }

/* ---- #28 Badges vidrio flotantes ---- */
.hero__badges .badge { animation: badgeFloat 5s ease-in-out infinite; }
.hero__badges .badge:nth-child(2) { animation-delay: -1.6s; }
.hero__badges .badge:nth-child(3) { animation-delay: -3.2s; }
@keyframes badgeFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

/* ---- #20/#6 Divisor ola + fondo ambiental ---- */
.wave-divider { line-height: 0; background: var(--white); margin-bottom: -1px; }
.wave-divider svg { width: 100%; height: 70px; display: block; }
.wave-divider .wave-a { animation: waveSlide 9s linear infinite; }
.wave-divider .wave-b { animation: waveSlide 14s linear infinite reverse; }
@keyframes waveSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-120px); }
}
.cta {
  background-size: 220% 220%;
  animation: ctaShift 12s ease-in-out infinite alternate;
}
@keyframes ctaShift {
  from { background-position: 20% 0%; }
  to { background-position: 80% 100%; }
}

/* ---- #8/#11 Íconos que se autodibujan al aparecer ---- */
.benefit__icon svg path, .benefit__icon svg rect, .benefit__icon svg circle {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
}
.is-visible .benefit__icon svg path,
.is-visible .benefit__icon svg rect,
.is-visible .benefit__icon svg circle,
.benefit__icon svg.is-drawn path {
  animation: iconDraw .9s var(--ease-out) forwards;
}
@keyframes iconDraw { to { stroke-dashoffset: 0; } }

/* ---- #25 Shimmer en imágenes hasta cargar ---- */
.card__img, .gallery img, .split__img img, .factory__item img, .sector img {
  background: linear-gradient(100deg, var(--ash) 30%, #f7f7f7 50%, var(--ash) 70%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity .6s ease;
}
.card__img.is-loaded, .gallery img.is-loaded, .split__img img.is-loaded,
.factory__item img.is-loaded, .sector img.is-loaded { opacity: 1; animation: none; }
.card__img:not(.is-loaded), .gallery img:not(.is-loaded) { animation: shimmer 1.4s linear infinite; }
@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* ---- #22 Transición entre páginas ---- */
.page-veil {
  position: fixed; inset: 0;
  background: var(--forest-dark);
  z-index: 2500;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .38s var(--ease-out);
  pointer-events: none;
  display: grid; place-items: center;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .25em; text-transform: uppercase;
}
.page-veil.is-leaving { transform: scaleY(1); transform-origin: top; pointer-events: auto; }
.page-veil.is-entering { transform: scaleY(0); transform-origin: bottom; }

/* ---- Foco visible accesible (microinteracción útil) ---- */
a:focus-visible, button:focus-visible, .input:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============================================================
   V6.1 — Sección cine protagonista (video ambiente autoplay)
   ============================================================ */
.cine {
  background:
    radial-gradient(90% 100% at 85% 10%, rgba(232,254,133,.08), transparent 55%),
    radial-gradient(70% 90% at 10% 90%, rgba(7,80,63,.9), transparent 60%),
    var(--forest-dark);
  color: var(--white);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cine::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, #000 25%, transparent 78%);
  pointer-events: none;
}
.cine__grid {
  display: grid;
  grid-template-columns: minmax(0, 380px) 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 960px) { .cine__grid { grid-template-columns: 1fr; gap: 36px; } }
.cine__media { position: relative; justify-self: center; width: min(380px, 100%); }
.cine__video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 76vh;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(232,254,133,.4);
  box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 60px rgba(232,254,133,.12);
  background: var(--carbon);
}
.cine h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -.012em;
  margin: 14px 0 16px;
}
.cine h2 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--lime), #fff);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.cine p { color: rgba(255,255,255,.82); max-width: 52ch; margin: 0 0 20px; }
.checklist--light li { color: rgba(255,255,255,.92); }
.checklist--light li::before { color: var(--lime); }

@media (prefers-reduced-motion: reduce) {
  .hero__slide.is-active .hero__caption h1 .char,
  .hero__slide.is-active .hero__caption .hero__title .char,
  .hero__badges .badge,
  .wave-divider .wave-a, .wave-divider .wave-b,
  .cta { animation: none !important; }
  .hero__caption h1 .char, .hero__caption .hero__title .char { opacity: 1 !important; transform: none !important; }
  .page-veil { display: none !important; }
}

/* ============================================================
   V6.2 — Lockup unificado de marcas (llamativo)
   ============================================================ */
.unibrand {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 56px 48px 48px;
  text-align: center;
  background:
    radial-gradient(80% 120% at 50% 0%, #0d6b53 0%, var(--forest) 45%, var(--forest-dark) 100%);
  border: 1px solid rgba(232,254,133,.3);
  box-shadow: 0 34px 90px rgba(7,80,63,.35);
}
.unibrand::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 85% 90% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 85% 90% at 50% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.unibrand::after {
  content: '';
  position: absolute; top: 0; left: -70%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.14), transparent);
  transform: skewX(-18deg);
  animation: unibrandShine 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes unibrandShine {
  0%, 55% { left: -70%; }
  90%, 100% { left: 130%; }
}
.unibrand__logos {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 6vw, 72px);
}
.unibrand__logos figure { margin: 0; position: relative; }
/* Resplandor detrás del logo RJ */
.unibrand__rj::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 115%; height: 92%;
  transform: translate(-50%, -54%);
  background: radial-gradient(ellipse at center, rgba(232,254,133,.16), transparent 65%);
  pointer-events: none;
}
/* Resplandor dorado detrás del logo H.M */
.unibrand__hm::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 115%; height: 92%;
  transform: translate(-50%, -54%);
  background: radial-gradient(ellipse at center, rgba(201,168,106,.22), transparent 65%);
  pointer-events: none;
}
.unibrand__hm img {
  filter: drop-shadow(0 18px 44px rgba(0,0,0,.5));
}
/* Tarjetas blancas: los logos originales traen fondo claro, se muestran tal cual */
.unibrand__card {
  display: inline-block;
  background: #fff;
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  position: relative;
  z-index: 1;
}
.unibrand__card img {
  height: clamp(170px, 22vw, 230px);
  width: auto;
  display: block;
}
.unibrand__logos img {
  height: clamp(150px, 22vw, 220px);
  width: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 18px 44px rgba(0,0,0,.5));
  transition: transform .35s var(--ease-out);
}
.unibrand__logos figure:hover img { transform: scale(1.05) rotate(-1deg); }
.unibrand__logos figcaption {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}
.unibrand__logos figcaption small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-top: 6px;
}
.unibrand__x {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 300;
  color: var(--lime);
  text-shadow: 0 0 26px rgba(232,254,133,.6);
  user-select: none;
}
.unibrand__line {
  position: relative; z-index: 1;
  max-width: 60ch;
  margin: 34px auto 0;
  color: rgba(255,255,255,.85);
  font-size: 16px;
}
@media (max-width: 720px) {
  .unibrand { padding: 44px 24px 38px; }
  .unibrand__logos { flex-direction: column; gap: 30px; }
  .unibrand__x { transform: rotate(90deg); }
}

/* Crédito de diseño (discreto, en línea) */
.footer__credit {
  font-size: 10.5px !important;
  letter-spacing: .04em;
  color: rgba(255,255,255,.35) !important;
}

/* ============================================================
   V6.4 — Renderizado + técnica + polish
   ============================================================ */

/* Anclas sin quedar bajo el header fijo */
section[id], div[id] { scroll-margin-top: 78px; }

/* Render diferido de bloques pesados (menos trabajo inicial) */
.gallery, .factory, .cases, .brand-wall {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

/* Brillo en casos al hover */
.case { overflow: hidden; }
.case::before {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
  z-index: 2;
}
.case:hover::before { left: 130%; }

/* Banda rental */
.rental {
  background: linear-gradient(120deg, var(--forest-dark), var(--forest));
  border-block: 1px solid rgba(232,254,133,.25);
  padding: 26px 0;
  color: #fff;
}
.rental__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.rental__inner p { margin: 0; font-size: 15px; }
.rental__inner strong { color: var(--lime); }

/* Mapa */
.map-wrap {
  margin-top: 26px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
}
.map-wrap iframe { display: block; width: 100%; height: 280px; border: 0; }

/* Ficha imprimible */
@media print {
  .marquee, .topbar, .header, .footer, .whatsapp, .to-top,
  .scroll-progress, .preloader, .page-veil, .cursor-glow,
  .hero__actions, .no-print { display: none !important; }
  body { background: #fff; }
  body::after { display: none; }
  .ficha { background: #fff; color: #111; border: 1px solid #999; }
  .ficha .spec-table td:last-child { color: #111; }
  .section { padding: 18px 0; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
