/* ============================================================
   KLINMAGIK — styles.css
   Modificar aquí todos los estilos visuales
   ============================================================ */

/* TOKENS GLOBALES */
:root {
  --yellow: #ffca00;
  --black: #0d0d0d;
  --gray-dark: #363738;
  --gray-mid: #6d6d6d;
  --gray-light: #b8b8b8;
  --gray-wash: #f4f4f2;
  --white: #fff;
  --green: #2a7d2a;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --sp: clamp(3rem, 8vw, 9rem);
  --px: clamp(1.25rem, 5vw, 4rem);
  --container: 1240px;
  --nav-h: 60px;
  --radius: 2px;
}

/* RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 17px;
}

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button {
  font-family: var(--sans);
  cursor: pointer;
}

/* UTILIDADES */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--px);
}

.brand-text {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.01em;
}

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.label-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 1.25rem;
}

.label-tag::before {
  content: '';
  display: block;
  width: 1.6rem;
  height: 1px;
  background: var(--gray-light);
  flex-shrink: 0;
}

.section-desc {
  font-size: 1rem;
  color: var(--gray-mid);
  line-height: 1.8;
  font-weight: 300;
}

.img-ph {
  background: var(--gray-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--gray-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---- BOTONES ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  transition: all 0.22s ease;
  white-space: nowrap;
  min-height: 44px;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--black);
  color: var(--yellow);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-mid);
  border: 1px solid var(--gray-light);
}

.btn-ghost:hover {
  border-color: var(--black);
  color: var(--black);
}

.btn-wa {
  background: #4a9e72;
  color: var(--white);
}

.btn-wa:hover {
  background: #3d8c63;
}

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid rgba(232, 232, 232, 0.6);
  transition: box-shadow 0.3s, background 0.3s;
  transform: translateZ(0);
  will-change: transform;
}

nav.scrolled {
  background: #fff;
  box-shadow: 0 2px 32px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--px);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.35rem;
  color: var(--black);
  flex-shrink: 0;
  z-index: 201;
}

.nav-logo-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--yellow);
  border-radius: 50%;
  margin-left: 1px;
  vertical-align: super;
}

.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--gray-dark);
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--black);
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.8rem;
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-right: -10px;
  z-index: 201;
}

.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--black);
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 199;
  display: flex;
  flex-direction: column;
  padding: 2rem var(--px);
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.nav-drawer-links li {
  border-bottom: 1px solid #f0f0f0;
}

.nav-drawer-links a {
  display: flex;
  align-items: center;
  padding: 1.1rem 0;
  font-size: 1.1rem;
  font-family: var(--serif);
  font-weight: 300;
  color: var(--black);
  letter-spacing: -0.01em;
}

.nav-drawer-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-drawer-cta .btn {
  width: 100%;
  font-size: 0.8rem;
}

/* ---- HERO ---- */
#hero {
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
}

.hero-img-wrap {
  order: -1;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #f0ede6 0%, #e8e3d8 100%);
  position: relative;
  overflow: hidden;
}

.hero-img-wrap .img-ph {
  height: 100%;
  background: linear-gradient(160deg, #f0ede6 0%, #e8e3d8 100%);
  font-size: 0;
}

.hero-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(255, 202, 0, 0.95);
  padding: 0.75rem 1.25rem;
  border-top-right-radius: 4px;
}

.hero-badge-main {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
}

.hero-badge-sub {
  font-size: 0.6rem;
  color: rgba(0, 0, 0, 0.5);
  letter-spacing: 0.04em;
  display: block;
  margin-top: 1px;
}

.hero-content {
  padding: 2.5rem var(--px) 3rem;
  display: flex;
  flex-direction: column;
}

/* ---- HERO FORK (B2C / B2B) ---- */
.hero-fork {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--gray-wash);
  border-radius: 999px;
  margin-bottom: 1.75rem;
  align-self: flex-start;
  max-width: 100%;
}

.hero-fork-tab {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gray-mid);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  min-height: 36px;
  white-space: nowrap;
}

.hero-fork-tab.active {
  background: var(--black);
  color: var(--white);
}

.hero-slide {
  display: none;
}

.hero-slide.active {
  display: block;
  animation: heroFade 0.4s ease;
}

@keyframes heroFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 1.25rem;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gray-mid);
}

.hero-desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--gray-mid);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-actions .btn {
  width: 100%;
}

.hero-proof {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e8e8e8;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.proof-num {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  color: var(--black);
}

.proof-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
  font-weight: 400;
}

/* ---- TICKER ---- */
.ticker-wrap {
  background: var(--black);
  padding: 0.85rem 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 2.5rem;
  animation: ticker 22s linear infinite;
  width: max-content;
}

.ticker-track span {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-light);
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-track span.accent {
  color: var(--yellow);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---- SECTORES (marquee B2B) ---- */
#sectores {
  padding: var(--sp) 0;
  border-top: 1px solid #e8e8e8;
}

.sectores-head {
  margin-bottom: 2.5rem;
}

.sectores-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.sectores-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: sectoresScroll 46s linear infinite;
}

.sector-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid #e8e8e8;
  border-radius: 999px;
  background: var(--white);
  color: var(--gray-dark);
  flex-shrink: 0;
}

.sector-item svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.sector-item span {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  color: var(--gray-dark);
}

@keyframes sectoresScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .sectores-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
}

/* ---- DOCUMENTACIÓN TÉCNICA (descargas) ---- */
.docs-band {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.docs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  text-decoration: none;
  color: var(--black);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.doc-card:hover {
  border-color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.doc-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-wash);
  border-radius: 8px;
}

.doc-icon svg {
  width: 24px;
  height: 24px;
}

.doc-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.doc-card-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.doc-card-sub {
  font-size: 0.78rem;
  color: var(--gray-mid);
}

.doc-dl {
  flex-shrink: 0;
  color: var(--gray-light);
  transition: color 0.2s;
}

.doc-dl svg {
  width: 22px;
  height: 22px;
}

.doc-card:hover .doc-dl {
  color: var(--yellow);
}

@media (min-width: 700px) {
  .docs-band {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .docs-band-head {
    flex: 1;
  }

  .docs-grid {
    flex: 1;
  }
}

/* ---- COOKIE BANNER ---- */
#cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 500;
  background: var(--black);
  color: var(--white);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  animation: cookieBannerIn 0.35s ease;
}

@keyframes cookieBannerIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.cookie-banner-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.cookie-banner-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--yellow);
  text-decoration: underline;
  font-size: inherit;
  cursor: pointer;
  font-family: inherit;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
}

.cookie-banner-actions .btn {
  flex: 1;
  font-size: 0.78rem;
  padding: 0.65rem 1rem;
}

#cookie-banner .btn-ghost {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.25);
}

#cookie-banner .btn-ghost:hover {
  color: var(--white);
  border-color: var(--white);
}

@media (min-width: 700px) {
  #cookie-banner {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    max-width: 420px;
    flex-direction: column;
  }

  .cookie-banner-actions {
    justify-content: flex-end;
  }

  .cookie-banner-actions .btn {
    flex: none;
  }
}

/* ---- USOS ---- */
#usos {
  padding: var(--sp) 0;
}

.uso-header {
  margin-bottom: 2.5rem;
}

.uso-header .section-desc {
  margin-top: 0.75rem;
  max-width: 54ch;
}

.uso-scroll-wrap {
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 calc(-1 * var(--px));
  padding: 0 var(--px);
}

.uso-scroll-wrap::-webkit-scrollbar {
  display: none;
}

.uso-grid-mobile {
  display: flex;
  gap: 1.5px;
  background: #e0e0e0;
  width: max-content;
  min-width: 100%;
}

.uso-card {
  background: var(--white);
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  transition: background 0.25s;
}

.uso-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
}

.uso-img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.uso-card:hover .uso-img {
  transform: scale(1.04);
}

.uso-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.uso-name {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gray-light);
}

.uso-title-card {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--black);
  line-height: 1.2;
}

.uso-detail {
  font-size: 1rem;
  color: var(--gray-mid);
  line-height: 1.65;
  font-weight: 300;
}

.uso-scroll-hint {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
}

/* ---- USO: texto flotante enmarcado (neumorfismo) ---- */
.uso-desc-framed {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 1.15rem 1.35rem;
  background: var(--gray-wash);
  box-shadow:
    6px 6px 14px rgba(0, 0, 0, 0.06),
    -6px -6px 14px rgba(255, 255, 255, 0.8);
}

/* ---- USO: "Por qué funciona" (fusionado con Aplicaciones) ---- */
.uso-why {
  margin-top: 3.5rem;
}

.uso-why-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: var(--gray-wash);
  border-radius: 6px;
  padding: 2rem;
}

.uso-why-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.2;
  margin: 0.5rem 0 0.75rem;
  color: var(--black);
}

.uso-why-desc {
  font-size: 0.95rem;
  color: var(--gray-mid);
  line-height: 1.75;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.uso-why-pills {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.uso-why-pill {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.uso-why-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
  margin-top: 0.4rem;
}

.uso-why-pill-text {
  font-size: 0.9rem;
  color: var(--gray-dark);
  font-weight: 400;
  line-height: 1.55;
}

.uso-why-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
}

.uso-why-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--yellow);
  padding: 1.1rem 1.25rem;
}

.uso-why-accent-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1;
  color: var(--black);
  display: block;
}

.uso-why-accent-label {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.6);
  font-weight: 500;
  margin-top: 0.2rem;
  display: block;
}

@media (min-width: 900px) {
  .uso-why-inner {
    flex-direction: row;
    align-items: center;
    padding: 2.5rem;
  }

  .uso-why-text {
    flex: 1.1;
  }

  .uso-why-img-wrap {
    flex: 1;
    aspect-ratio: auto;
    min-height: 280px;
    align-self: stretch;
  }
}

/* ---- HISTORIA ---- */
#historia {
  padding: var(--sp) 0;
  border-top: 1px solid #e8e8e8;
}

.hist-intro-block {
  margin-bottom: 3rem;
}

.hist-intro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hist-intro p {
  font-size: 1rem;
  color: var(--gray-mid);
  line-height: 1.85;
  font-weight: 300;
}

.hist-intro strong {
  color: var(--black);
  font-weight: 500;
}

.hist-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: #e0e0e0;
  margin-bottom: 3rem;
}

.hist-stat-card {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  transition: background 0.2s;
}

.hist-stat-card:hover {
  background: var(--gray-wash);
}

.hist-stat-card.accent-stat {
  background: var(--black);
}

.hist-stat-card.accent-stat:hover {
  background: #1a1a1a;
}

.hist-stat-card.accent-stat-light {
  background: #fffdf0;
  border: 1.5px solid var(--yellow);
}

.hist-stat-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 300;
  line-height: 1;
  color: var(--black);
  letter-spacing: -0.02em;
}

.hist-stat-num sup {
  font-size: 0.45em;
  vertical-align: super;
  letter-spacing: 0;
}

.accent-stat .hist-stat-num {
  color: var(--yellow);
}

.hist-stat-unit {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-light);
  font-weight: 500;
  margin-top: 0.15rem;
}

.accent-stat .hist-stat-unit {
  color: rgba(255, 255, 255, 0.35);
}

.hist-stat-label {
  font-size: 0.82rem;
  color: var(--gray-mid);
  font-weight: 300;
  line-height: 1.5;
  margin-top: 0.4rem;
}

.accent-stat .hist-stat-label {
  color: rgba(255, 255, 255, 0.45);
}

.hist-dual {
  border: 1px solid #e8e8e8;
  padding: 1.75rem;
}

.hist-dual-badge {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-light);
  font-weight: 600;
  margin-bottom: 2rem;
}

.hist-dual-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.hist-dual-sep {
  height: 1px;
  background: #e8e8e8;
}

.hist-dual-icon {
  font-size: 1.2rem;
  color: var(--gray-light);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hist-dual-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.hist-dual-desc {
  font-size: 1rem;
  color: var(--gray-mid);
  line-height: 1.8;
  font-weight: 300;
}

.hist-channels {
  border-top: 1px solid #e8e8e8;
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hist-channels-label {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  font-weight: 500;
  width: 100%;
}

.hist-channel-tag {
  font-size: 0.7rem;
  border: 1px solid #e0e0e0;
  padding: 0.3rem 0.75rem;
  color: var(--gray-dark);
  font-weight: 400;
}

/* ---- DEMO ---- */
#demo {
  padding: var(--sp) 0;
}

.demo-header {
  margin-bottom: 2.5rem;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #e0e0e0;
}

.demo-pair {
  background: var(--white);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.demo-pair-label {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gray-light);
}

.demo-pair-label.after {
  color: var(--black);
}

.demo-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.demo-caption {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--gray-light);
  font-weight: 300;
}

.demo-scroll-row {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  background: #e0e0e0;
  scrollbar-width: none;
  margin-top: 2px;
}

.demo-scroll-row::-webkit-scrollbar {
  display: none;
}

.demo-thumb {
  flex: 0 0 180px;
  aspect-ratio: 3 / 2;
  background: var(--white);
  overflow: hidden;
}

/* ---- INSTRUCCIONES ---- */
#instrucciones {
  padding: var(--sp) 0;
  background: var(--gray-wash);
}

.inst-header-block {
  margin-bottom: 2.5rem;
}

.inst-steps {
  display: flex;
  flex-direction: column;
}

.inst-layout {
  /* eliminado — header ahora es full-width */
}

.inst-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #ddd;
}

.inst-step:last-child {
  border-bottom: none;
}

.step-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: #d0d0d0;
  line-height: 1;
}

.step-content {
  padding-top: 0.2rem;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.35rem;
}

.step-detail {
  font-size: 0.92rem;
  color: var(--gray-mid);
  line-height: 1.7;
  font-weight: 300;
}

.step-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-top: 0.5rem;
  background: #e0e0e0;
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
}

.inst-notes {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--white);
  border-left: 3px solid var(--yellow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.inst-notes-title {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.25rem;
}

.note-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.note-row:last-child {
  border-bottom: none;
}

.note-surface {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--black);
}

.note-text {
  font-size: 1rem;
  color: var(--gray-mid);
  font-weight: 300;
  line-height: 1.6;
}

/* ---- PRODUCTOS ---- */
#productos {
  padding: var(--sp) 0;
}

.prod-header {
  margin-bottom: 2.5rem;
}

.prod-header .section-desc {
  margin-top: 0.75rem;
}

.prod-tabs {
  display: flex;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 2.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.prod-tabs::-webkit-scrollbar {
  display: none;
}

.prod-tab {
  padding: 0.85rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-light);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  min-height: 44px;
}

.prod-tab.active {
  color: var(--black);
  border-bottom-color: var(--yellow);
}

.prod-tab:hover:not(.active) {
  color: var(--gray-dark);
}

.pro-badge {
  font-size: 0.58rem;
  background: var(--black);
  color: var(--yellow);
  padding: 0.18rem 0.45rem;
  border-radius: 2px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.prod-panel {
  display: block;
}

.prod-panel.hidden {
  display: none;
}

.pro-banner {
  background: var(--black);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.pro-banner-tag {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 700;
}

.pro-banner-text p {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
  line-height: 1.6;
}

.pro-banner-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--black);
  padding: 0.45rem 0.9rem;
  align-self: flex-start;
}

.prod-section-label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e8e8e8;
}

.prod-section-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
}

.prod-section-sub {
  font-size: 0.75rem;
  color: var(--gray-light);
  font-weight: 300;
}

.kit-table {
  width: 100%;
  margin-bottom: 0.5rem;
  border: 1px solid #e8e8e8;
  overflow: hidden;
}

.kit-table-head {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  padding: 0.65rem 1rem;
  background: var(--gray-wash);
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  font-weight: 600;
  gap: 0.5rem;
}

.kit-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f0f0f0;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.15s;
}

.kit-row:last-child {
  border-bottom: none;
}

.kit-row:hover {
  background: #fafafa;
}

.kit-row.highlight-row {
  background: #fffdf0;
  border-left: 3px solid var(--yellow);
}

.kit-qty {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--black);
}

.kit-qty em {
  font-style: normal;
  font-size: 0.65rem;
  color: var(--gray-light);
  margin-left: 0.2rem;
  font-weight: 400;
}

.kit-total {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--black);
}

.kit-unit {
  font-size: 0.72rem;
  color: var(--gray-mid);
  font-weight: 300;
}

.kit-ship {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ship-free {
  color: var(--green);
}

.ship-paid {
  color: var(--gray-mid);
}

.prod-cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.prod-cta-row .btn {
  width: 100%;
}

.bidon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

.bidon-card {
  border: 1px solid rgba(232, 232, 232, 0.8);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
}

.bidon-card:hover {
  border-color: rgba(176, 176, 176, 0.9);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.bidon-card.featured-bidon {
  border-color: var(--yellow);
  background: rgba(255, 253, 240, 0.85);
  box-shadow: 0 4px 24px rgba(255, 202, 0, 0.12);
}

.bidon-vol {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--black);
  letter-spacing: -0.02em;
}

.bidon-vol span {
  font-size: 0.9rem;
  color: var(--gray-light);
}

.bidon-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.bidon-price {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--black);
}

.bidon-name {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
  font-weight: 600;
}

.ship-free-sm {
  font-size: 0.62rem;
  color: var(--green);
  font-weight: 600;
}

.prod-badge-featured {
  position: absolute;
  top: -1px;
  right: 1rem;
  background: var(--yellow);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  color: var(--black);
}

.ship-note {
  margin-top: 2rem;
  font-size: 0.72rem;
  color: var(--gray-light);
  font-weight: 300;
  line-height: 1.7;
  border-top: 1px solid #e8e8e8;
  padding-top: 1rem;
}

.bidon-price-display {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--black);
}

.bidon-discount-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  align-self: flex-start;
}

.bidon-discount-note {
  font-size: 0.72rem;
  color: #2a7d2a;
  font-weight: 600;
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: #f0faf4;
  border-left: 2px solid #4a9e72;
}

.bidon-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.bidon-qty {
  display: flex;
  align-items: stretch;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  overflow: hidden;
}

.bidon-qty-btn {
  width: 28px;
  height: 28px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}

.bidon-qty-btn:hover {
  background: var(--gray-wash);
}

.bidon-qty-val {
  min-width: 28px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0 4px;
  border-left: 1px solid #d8d8d8;
  border-right: 1px solid #d8d8d8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.checkout-custom-vol {
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: var(--gray-wash);
  border-radius: 3px;
}

.checkout-custom-vol-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 0.4rem;
  display: block;
}

.checkout-custom-vol-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.checkout-custom-vol-input {
  width: 110px;
  padding: 0.45rem 0.6rem;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  font-size: 0.9rem;
  font-family: var(--sans);
}

.checkout-custom-vol-price {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--black);
}

/* ---- CONTEXTO ---- */
#contexto {
  padding: var(--sp) 0;
  background: var(--gray-wash);
}

.ctx-header {
  margin-bottom: 2.5rem;
}

.ctx-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5px;
  background: #d8d8d8;
}

.ctx-block {
  background: var(--white);
  padding: 2rem var(--px);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ctx-tag {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-light);
  font-weight: 600;
}

.ctx-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--black);
  line-height: 1.1;
}

.ctx-desc {
  font-size: 1rem;
  color: var(--gray-mid);
  line-height: 1.75;
  font-weight: 300;
}

.ctx-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ctx-list li {
  font-size: 1rem;
  color: var(--gray-dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 300;
}

.ctx-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

.ctx-block .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* ---- TESTIMONIOS ---- */
#testimonios {
  padding: var(--sp) 0;
}

.test-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.test-rating {
  text-align: right;
  flex-shrink: 0;
}

.test-stars {
  font-size: 1rem;
  color: var(--yellow);
  letter-spacing: 0.04em;
}

.test-rating-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  color: var(--black);
  display: block;
}

.test-rating-label {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.test-scroll-wrap {
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 calc(-1 * var(--px));
  padding: 0 var(--px) 0.5rem;
}

.test-scroll-wrap::-webkit-scrollbar {
  display: none;
}

.test-grid-mobile {
  display: flex;
  gap: 1rem;
  width: max-content;
}

.test-card {
  flex: 0 0 300px;
  padding: 1.5rem;
  border: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s;
  background: var(--white);
}

.test-card.featured-test {
  background: var(--black);
  border-color: var(--black);
}

.test-quote {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--black);
  flex: 1;
}

.test-card.featured-test .test-quote {
  color: var(--white);
}

.test-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.test-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-wash);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gray-mid);
}

.test-card.featured-test .test-avatar {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

.test-name {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--black);
}

.test-card.featured-test .test-name {
  color: var(--white);
}

.test-role {
  font-size: 0.7rem;
  color: var(--gray-light);
  font-weight: 300;
}

.test-card.featured-test .test-role {
  color: rgba(255, 255, 255, 0.4);
}

/* ---- LIMITACIONES ---- */
#limitaciones {
  padding: 3rem 0 4rem;
  border-top: 1px solid #e8e8e8;
}

.lim-title {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-light);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.lim-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lim-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.lim-item:last-child {
  border-bottom: none;
}

.lim-dash {
  font-size: 0.75rem;
  color: var(--gray-light);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.lim-text {
  font-size: 1rem;
  color: var(--gray-mid);
  line-height: 1.65;
  font-weight: 300;
}

/* ---- AVISO ALERGIAS ---- */
.allergy-block {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-top: 3rem;
  padding: 1.8rem 2rem;
  border: 1px solid #e0c060;
  background: #fffdf0;
}

.allergy-icon {
  font-size: 1.1rem;
  color: #b8860b;
  flex-shrink: 0;
  line-height: 1.4;
}

.allergy-content {
  flex: 1;
}

.allergy-title {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a5500;
  margin-bottom: 0.6rem;
}

.allergy-text {
  font-size: 0.78rem;
  color: #5a4500;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 0.6rem;
}

.allergy-disclaimer {
  font-size: 0.72rem;
  color: #8a7020;
  font-weight: 300;
  line-height: 1.65;
  font-style: italic;
}

/* ---- FOOTER ---- */
footer {
  background: var(--black);
  color: var(--white);
  padding: 3rem 0 1.75rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
  color: var(--white);
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.6rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
  line-height: 1.6;
  max-width: 28ch;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.social-pill {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.2s;
  cursor: pointer;
  min-width: 40px;
}

.social-pill:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-col-title {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-copy {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.2);
  font-weight: 300;
  line-height: 1.5;
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* ---- WHATSAPP FLOTANTE ---- */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 150;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #4a9e72;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(74, 158, 114, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.wa-float:hover {
  transform: scale(1.07);
  box-shadow: 0 6px 28px rgba(74, 158, 114, 0.5);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* ---- MODALES ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.48);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0s 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition: opacity 0.3s;
}

.modal-box {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.6);
  width: 100%;
  max-width: 680px;
  max-height: 85svh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: translateY(40px);
  transition: transform 0.35s ease;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gray-wash);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.75rem;
  cursor: pointer;
  color: var(--gray-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close:hover {
  background: #e0e0e0;
}

.modal-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-light);
  font-weight: 600;
  display: block;
  margin-bottom: 0.8rem;
}

.modal-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--black);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.modal-date {
  font-size: 0.72rem;
  color: var(--gray-light);
  font-weight: 300;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e8e8e8;
}

.modal-content h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  margin: 1.5rem 0 0.5rem;
}

.modal-content h3:first-of-type {
  margin-top: 0;
}

.modal-content p {
  font-size: 1rem;
  color: var(--gray-mid);
  line-height: 1.8;
  font-weight: 300;
}

/* ---- ANIMACIONES ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ============================================================
   RESPONSIVE — TABLET 640px+
============================================================ */
@media (min-width: 640px) {
  :root {
    --nav-h: 64px;
  }

  .hero-img-wrap {
    aspect-ratio: 16 / 9;
  }

  .hero-actions {
    flex-direction: row;
  }

  .hero-actions .btn {
    width: auto;
  }

  .hero-proof {
    grid-template-columns: repeat(4, 1fr);
  }

  .uso-card {
    flex: 0 0 340px;
  }

  .uso-scroll-hint {
    display: none;
  }

  .note-row {
    flex-direction: row;
    align-items: baseline;
    gap: 1rem;
  }

  .note-surface {
    min-width: 100px;
    flex-shrink: 0;
  }

  .prod-section-label {
    flex-direction: row;
    align-items: baseline;
  }

  .pro-banner {
    flex-direction: row;
    align-items: center;
  }

  .pro-banner-badge {
    align-self: auto;
  }

  .prod-cta-row {
    flex-direction: row;
  }

  .prod-cta-row .btn {
    width: auto;
  }

  .bidon-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .hist-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .hist-dual-grid {
    flex-direction: row;
    gap: 2rem;
  }

  .hist-dual-sep {
    width: 1px;
    height: auto;
    background: #e8e8e8;
    align-self: stretch;
  }

  .hist-dual {
    padding: 2.5rem;
  }

  .hist-channels-label {
    width: auto;
  }

  .ctx-grid {
    flex-direction: row;
  }

  .ctx-block {
    flex: 1;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .allergy-block {
    flex-direction: row;
  }
}

/* ============================================================
   RESPONSIVE — DESKTOP 900px+
============================================================ */
@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: flex;
  }

  .nav-hamburger {
    display: none;
  }

  .nav-drawer {
    display: none;
  }

  #hero {
    flex-direction: row;
    min-height: 100svh;
  }

  .hero-img-wrap {
    order: 1;
    flex: 1;
    aspect-ratio: auto;
    min-height: 100%;
  }

  .hero-content {
    flex: 1;
    justify-content: center;
    padding: 5rem var(--px);
    max-width: 600px;
  }

  .uso-scroll-wrap {
    overflow-x: visible;
    margin: 0;
    padding: 0;
  }

  .uso-grid-mobile {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
  }

  .uso-card {
    flex: none;
  }

  .uso-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: 3.5rem;
  }

  .uso-header .section-desc {
    align-self: end;
  }

  .hist-intro-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .hist-intro {
    margin-top: 0;
  }

  .hist-dual-grid {
    gap: 3rem;
  }

  .hist-dual {
    padding: 3rem;
  }

  .test-scroll-wrap {
    overflow-x: visible;
    margin: 0;
    padding: 0;
  }

  .test-grid-mobile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 1.25rem;
  }

  .test-card {
    flex: none;
  }

  .lim-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
  }

  .lim-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  .footer-cols {
    display: contents;
  }

  .wa-float {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE — WIDE 1200px+
============================================================ */
@media (min-width: 1200px) {
  .hero-content {
    max-width: 640px;
    padding: 7rem var(--px);
  }
}

/* ============================================================
   RESPONSIVE — MODAL DESKTOP 700px+
============================================================ */
@media (min-width: 700px) {
  .modal-overlay {
    align-items: center;
  }

  .modal-box {
    border-radius: 2px;
    max-height: 80svh;
  }
}

/* ============================================================
   FLOW STEPS — sección instrucciones
============================================================ */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.flow-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

.flow-step {
  background: var(--white);
  border: 1px solid #e8e8e8;
  padding: 1.75rem 1.5rem;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.25rem;
  align-items: start;
  transition: border-color 0.22s, background 0.22s;
  position: relative;
}

.flow-step:hover {
  border-color: var(--yellow);
  background: #fffdf5;
  z-index: 1;
}

.flow-step-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--yellow);
  line-height: 1;
  letter-spacing: -0.03em;
}

.flow-step-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.4rem;
}

.flow-step-detail {
  font-size: 1rem;
  color: var(--gray-mid);
  line-height: 1.7;
  font-weight: 300;
  grid-column: 2;
}

.flow-step-icon-wrap {
  grid-column: 1;
  display: flex;
  align-items: flex-start;
  padding-top: 0.35rem;
  opacity: 0.75;
}

.flow-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-top: 0.6rem;
  background: #e8e8e8;
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
}

.flow-arrow {
  display: none;
}

.flow-row-spacer {
  display: none;
}

@media (min-width: 640px) {
  .flow-row {
    grid-template-columns: 1fr 44px 1fr;
    gap: 0;
  }

  .flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-wash);
    color: var(--gray-light);
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
  }

  .flow-row-spacer {
    display: block;
    height: 2px;
    background: #e0e0e0;
  }
}

/* ============================================================
   CONTEXTO — PRO Industrial callout
============================================================ */
.ctx-pro-callout {
  margin-top: 1.25rem;
  padding: 1.2rem;
  background: var(--black);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ctx-pro-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.ctx-pro-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  line-height: 1.65;
}

.ctx-pro-text strong {
  color: var(--white);
  font-weight: 500;
}

.ctx-pro-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

.ctx-pro-sizes {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.06em;
}

.ctx-pro-savings {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--black);
  padding: 0.15rem 0.55rem;
}

.ctx-cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

/* ============================================================
   CHECKOUT MODAL
============================================================ */
.checkout-steps-bar {
  display: flex;
  gap: 0;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid #e8e8e8;
}

.checkout-step-indicator {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
  padding: 0.65rem 1rem 0.65rem 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: default;
}

.checkout-step-indicator.active {
  color: var(--black);
  border-bottom-color: var(--yellow);
}

.checkout-panel.hidden {
  display: none;
}

.checkout-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-dark);
  margin-bottom: 0.5rem;
  margin-top: 1.1rem;
}

.checkout-label:first-child {
  margin-top: 0;
}

.checkout-toggle {
  display: flex;
  gap: 2px;
  background: #e8e8e8;
  padding: 2px;
  border-radius: 3px;
  margin-bottom: 0.25rem;
}

.checkout-toggle-btn {
  flex: 1;
  padding: 0.6rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  background: transparent;
  color: var(--gray-mid);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.18s;
}

.checkout-toggle-btn.active {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.checkout-select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  font-family: var(--sans);
  border: 1px solid #e0e0e0;
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23b8b8b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.checkout-total-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  background: var(--gray-wash);
  margin-top: 0.75rem;
  border-radius: var(--radius);
}

.checkout-total-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.checkout-total-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--black);
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.checkout-field {
  display: flex;
  flex-direction: column;
}

.checkout-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.checkout-privacy-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.75rem 0 0.25rem;
  border-top: 1px solid #e8e8e8;
  margin-top: 0.25rem;
}

.checkout-check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--gray-mid);
  line-height: 1.5;
  cursor: pointer;
}

.checkout-check-label input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.15rem;
  accent-color: var(--black);
  width: 15px;
  height: 15px;
}

.checkout-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  color: var(--black);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
}

.checkout-form-error {
  font-size: 0.75rem;
  color: #c0392b;
  background: #fdf2f2;
  border: 1px solid #f5c6c6;
  border-radius: 3px;
  padding: 0.5rem 0.75rem;
  margin-top: 0.5rem;
}

.checkout-input {
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
  font-family: var(--sans);
  border: 1px solid #e0e0e0;
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  transition: border-color 0.2s;
  width: 100%;
}

.checkout-input:focus {
  outline: none;
  border-color: var(--black);
}

.checkout-textarea {
  resize: vertical;
  min-height: 80px;
}

.checkout-summary {
  background: var(--gray-wash);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--gray-mid);
}

.checkout-summary strong {
  color: var(--black);
}

.checkout-payment-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 1rem;
}

.checkout-secure-note {
  text-align: center;
  font-size: 0.7rem;
  color: var(--gray-light);
  margin-top: 0.75rem;
  font-weight: 300;
}

@media (min-width: 640px) {
  .ctx-cta-row {
    flex-direction: row;
  }
}

/* PERF: en viewport grande, los 49 .reveal no deben animar todos al mismo tiempo.
   Reducir la transición para que la animación sea más rápida (menos GPU/CPU). */
@media (min-width: 900px) {
  .reveal {
    transition: opacity 0.3s ease, transform 0.3s ease; /* era 0.6s */
  }
}
