/* =====================================================
 * El Huaso Suertudo — styles.css
 * Mobile-First Design System
 * ===================================================== */

/* ─── Variables ──────────────────────────────────────── */
:root {
  /* Surfaces */
  --background:         oklch(0.985 0.005 60);
  --surface:            oklch(0.985 0.005 60);
  --surface-lowest:     oklch(1 0 0);
  --surface-low:        oklch(0.965 0.008 50);
  --surface-container:  oklch(0.945 0.01 50);
  --surface-high:       oklch(0.92 0.012 50);
  --surface-highest:    oklch(0.895 0.014 50);
  --on-surface:         oklch(0.18 0.02 30);
  --on-surface-variant: oklch(0.42 0.03 30);

  /* Primary — Rojo chileno */
  --primary:            oklch(0.48 0.21 28);
  --primary-foreground: oklch(0.99 0.005 30);
  --primary-container:  oklch(0.58 0.22 28);

  /* Secondary — Azul Pacífico */
  --secondary:            oklch(0.46 0.18 265);
  --secondary-foreground: oklch(0.99 0.005 265);

  /* Tertiary — Oro soberano */
  --tertiary:            oklch(0.62 0.13 80);
  --tertiary-foreground: oklch(0.99 0.005 80);
  --tertiary-fixed:      oklch(0.92 0.08 85);
  --tertiary-fixed-dim:  oklch(0.82 0.13 82);
  --on-tertiary-fixed:   oklch(0.22 0.05 80);

  --outline-variant:   oklch(0.85 0.025 40);
  --inverse-surface:   oklch(0.18 0.02 30);
  --inverse-on-surface:oklch(0.95 0.01 60);

  /* Gradientes */
  --gradient-hero: linear-gradient(135deg, oklch(0.48 0.21 28) 0%, oklch(0.4 0.18 22) 100%);
  --gradient-gold: radial-gradient(circle at 30% 20%, oklch(0.85 0.14 85) 0%, oklch(0.62 0.13 80) 100%);

  /* Sombras */
  --shadow-elegant: 0 20px 40px -10px oklch(0.2 0.02 30 / 0.12);
  --shadow-jewel:   0 10px 30px -8px oklch(0.5 0.22 28 / 0.35);
  --shadow-gold:    0 10px 30px -8px oklch(0.7 0.15 80 / 0.35);

  /* Touch target mínimo recomendado */
  --touch-min: 44px;

  /* Tipografía */
  --font-headline: "Epilogue", system-ui, sans-serif;
  --font-body:     "Inter", system-ui, sans-serif;

  /* ── Altura del navbar del proveedor dentro del iframe ──
   * Usada tanto para recortar el iframe (margin-top negativo)
   * como para posicionar la capa trampa (.iframe-nav-trap).
   * Ajusta este valor si no cuadra exactamente.
   * ─────────────────────────────────────────────────────── */
  --iframe-nav-h: 56px; /* mobile */
}

/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--on-surface);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
button    { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a         { color: inherit; text-decoration: none; }
ul, ol    { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-headline);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── Layout ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--narrow { max-width: 48rem; }

@media (min-width: 768px) {
  .container { padding: 0 1.5rem; }
}

/* ─── Utilidades tipográficas ────────────────────────── */
.text-primary   { color: #60cc2e; }
.text-secondary { color: var(--secondary); }
.text-tertiary  { color: var(--tertiary); }
.muted          { color: var(--on-surface-variant); }
.muted-light    { color: oklch(1 0 0 / 0.7); font-size: 0.75rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.eyebrow--gold {
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background: linear-gradient(110deg,
    var(--tertiary-fixed-dim) 0%,
    var(--tertiary-fixed) 50%,
    var(--tertiary-fixed-dim) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  color: var(--on-tertiary-fixed);
  margin-bottom: 1.25rem;
  font-size: 0.65rem;
}

/* ─── Patrones / gradientes ──────────────────────────── */
.chamanto-pattern {
  background-image: radial-gradient(circle at 2px 2px, var(--outline-variant) 1px, transparent 0);
  background-size: 24px 24px;
}
.gradient-hero { background: var(--gradient-hero); }

/* ─── Botones — touch-friendly ───────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.875rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active { transform: scale(0.96); }
.btn--block  { width: 100%; }

.btn--sm {
  min-height: 40px;
  padding: 0.5625rem 1rem;
  font-size: 0.875rem;
}
.btn--lg {
  min-height: 56px;
  padding: 1rem 1.75rem;
  font-size: 1rem;
  border-radius: 0.85rem;
}

.btn--primary {
  background: #60cc2e;
  color: var(--primary-foreground);
  box-shadow: var(--shadow-jewel);
}
.btn--primary:hover { background: var(--primary-container); }

.btn--surface { background: var(--surface-highest); color: var(--on-surface); }
.btn--surface:hover { background: var(--surface-high); }

.btn--ghost { background: var(--surface-high); color: var(--on-surface); font-weight: 600; }
.btn--ghost:hover { background: var(--surface-highest); }

.btn--text {
  color: var(--on-surface);
  font-weight: 600;
  padding: 0.5rem 1rem;
  min-height: var(--touch-min);
}
.btn--text:hover { color: var(--primary); }

.btn--invert {
  background: var(--surface-lowest);
  color: var(--primary);
  font-weight: 900;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.btn--invert:hover { transform: scale(1.03); }

/* ─── Top strip ──────────────────────────────────────── */
.top-strip {
  background: var(--inverse-surface);
  color: var(--inverse-on-surface);
  text-align: center;
  font-size: 0.7rem;
  padding: 0.625rem 1rem;
  line-height: 1.5;
}
.top-strip a {
  text-decoration: underline;
  font-weight: 600;
  display: inline-block;
  min-height: var(--touch-min);
  line-height: var(--touch-min);
}
@media (min-width: 480px) {
  .top-strip { font-size: 0.75rem; }
}

/* ─── Header / Nav ───────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklch, var(--surface) 85%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid color-mix(in oklch, var(--outline-variant) 30%, transparent);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: 56px;
}

/* Hamburger */
.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  padding: 0.5rem;
  border-radius: 0.5rem;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s;
}
.nav__toggle:hover,
.nav__toggle:focus-visible { background: var(--surface-high); }

.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--on-surface);
  border-radius: 2px;
  display: block;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

/* Hamburger animado → X */
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú mobile (oculto por defecto) */
.nav__links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--surface-lowest);
  border-bottom: 1px solid var(--outline-variant);
  flex-direction: column;
  padding: 0.5rem 0 1rem;
  gap: 0;
  box-shadow: 0 8px 24px -4px oklch(0.2 0.02 30 / 0.1);
  z-index: 39;
}
.nav.open .nav__links { display: flex; }

.nav__links a {
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  padding: 0.875rem 1.5rem;
  min-height: var(--touch-min);
  border-bottom: 1px solid var(--surface-low);
  transition: background-color 0.15s, color 0.15s;
}
.nav__links a:last-of-type { border-bottom: none; }
.nav__links a:hover,
.nav__links a:active { background: var(--surface-low); color: var(--primary); }

.nav__cta-mobile {
  padding: 0.75rem 1.5rem 0.25rem;
}
.nav__cta-mobile .btn { width: 100%; }

/* Desktop nav */
@media (min-width: 768px) {
  .nav { padding: 0 1.5rem; min-height: 64px; }
  .nav__toggle { display: none; }
  .nav__links {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 0;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
    width: auto;
  }
  .nav__links a {
    font-size: 0.9rem;
    padding: 0.5rem 0.875rem;
    border-bottom: none;
    border-radius: 0.5rem;
  }
  .nav__cta-mobile { display: none; }
}

.brand {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 1.125rem;
  color: var(--primary);
  letter-spacing: -0.04em;
}
.brand--invert { color: var(--primary-foreground); font-size: 1.5rem; margin-bottom: 1rem; }

@media (min-width: 480px) {
  .brand { font-size: 1.25rem; }
}

.brand img {
  height: 40px; /* Ajusta este valor a la altura que necesites (ej: 32px, 40px, 48px) */
  width: auto;  /* Esto mantiene la proporción original */
  display: block;
}
/* ─── Hero — Mobile First ────────────────────────────── */
.hero {
  position: relative;
  padding: 2rem 0 3.5rem;
  overflow: hidden;
}
.hero__bleed {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    var(--surface) 0%,
    var(--surface) 60%,
    var(--surface-low) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Arte primero en mobile */
.hero__art {
  order: 1;
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  max-height: 260px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.hero__art img {
  max-width: 200px;
  width: 55vw;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.25));
  position: relative;
  z-index: 2;
  object-fit: contain;
}

.blob { position: absolute; border-radius: 9999px; filter: blur(50px); }
.blob--primary { width: 12rem; height: 12rem; background: oklch(0.48 0.21 28 / 0.15); top: -2rem; right: -1rem; }
.blob--gold    { width: 10rem; height: 10rem; background: oklch(0.62 0.13 80 / 0.2);  bottom: -1rem; left: -1rem; }

.hero__copy {
  order: 2;
  width: 100%;
  text-align: center;
  animation: fade-up 0.6s ease-out both;
}
.hero h1 {
  font-size: clamp(1.875rem, 7vw, 4.5rem);
  margin-bottom: 1rem;
}
.hero .lead {
  font-size: 0.9375rem;
  color: var(--on-surface-variant);
  margin-bottom: 1.75rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--on-surface-variant);
}
.hero__chips li { display: flex; align-items: center; gap: 0.375rem; }

.dot { width: 0.4rem; height: 0.4rem; border-radius: 9999px; display: inline-block; }
.dot--primary   { background: var(--primary); }
.dot--secondary { background: var(--secondary); }
.dot--tertiary  { background: var(--tertiary); }

@media (min-width: 640px) {
  .hero { padding: 3rem 0 5rem; }
  .hero__art { max-height: 320px; }
  .hero__art img { max-width: 260px; width: 40vw; }
  .hero__actions { flex-direction: row; justify-content: center; }
  .hero__copy { text-align: left; }
  .hero__chips { justify-content: flex-start; }
}
@media (min-width: 1024px) {
  .hero { padding: 5rem 0 8rem; }
  .hero__inner {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 3rem;
    align-items: center;
  }
  .hero__copy { order: 1; text-align: left; }
  .hero__art  { order: 2; max-height: none; overflow: visible; margin-bottom: 0; }
  .hero__art img { max-width: 28rem; width: auto; }
  .blob--primary { width: 18rem; height: 18rem; }
  .blob--gold    { width: 16rem; height: 16rem; }
}

/* ─── Sections ───────────────────────────────────────── */
.section { padding: 3.5rem 0; }
.section--surface { background: var(--surface); }
.section--low     { background: var(--surface-low); }

@media (min-width: 768px)  { .section { padding: 5rem 0; } }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }

.section__head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.section__head h2   { font-size: clamp(1.75rem, 5vw, 3rem); margin-bottom: 0.625rem; }
.section__head .muted { font-size: 1rem; max-width: 36rem; }

@media (min-width: 768px) {
  .section__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
    gap: 2rem;
  }
  .section__head .muted { font-size: 1.125rem; }
}

.section__intro { text-align: center; max-width: 36rem; margin: 0 auto 3rem; }
.section__intro h2 { font-size: clamp(1.75rem, 5vw, 3rem); margin-bottom: 0.875rem; }

/* ─── Badge gold ─────────────────────────────────────── */
.badge-gold {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: var(--gradient-gold);
  border-radius: 1rem;
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
  align-self: flex-start;
}
.badge-gold__icon {
  background: oklch(0.22 0.05 80 / 0.1);
  color: var(--on-tertiary-fixed);
  width: 2.75rem; height: 2.75rem;
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
  
}
.badge-gold__label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: oklch(0.22 0.05 80 / 0.8); }
.badge-gold__value { font-family: var(--font-headline); font-size: 1.375rem; font-weight: 900; color: var(--on-tertiary-fixed); }

/* ─── Grid ───────────────────────────────────────────── */
.grid { display: grid; gap: 1rem; }
.grid--3 { grid-template-columns: 1fr; margin-bottom: 2.5rem; }

@media (min-width: 480px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 3rem; } }

/* ─── Feature cards ──────────────────────────────────── */
.feature-card {
  background: var(--surface-low);
  padding: 1.5rem;
  border-radius: 1.25rem;
  transition: background-color 0.2s;
}
.feature-card:hover { background: var(--surface-container); }
.feature-card__icon {
  width: 3rem; height: 3rem;
  border-radius: 0.875rem;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.125rem;
  margin-bottom: 1.25rem;
  transition: transform 0.2s;
}
.feature-card:hover .feature-card__icon { transform: scale(1.1); }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.feature-card p  { color: var(--on-surface-variant); font-size: 0.9375rem; }

@media (min-width: 768px) {
  .feature-card { padding: 2rem; }
  .feature-card__icon { width: 3.5rem; height: 3.5rem; }
  .feature-card h3 { font-size: 1.5rem; }
}

/* ─── Spec table ─────────────────────────────────────── */
.spec-card {
  background: var(--surface-lowest);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
}
.spec-card__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.25rem;
  background: var(--inverse-surface);
  color: var(--inverse-on-surface);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.spec-card__head h3   { font-size: 1rem; }
.spec-card__head span { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.7; }
.spec-card__table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.spec-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 280px; }
.spec-table th {
  padding: 0.875rem 1.25rem;
  background: var(--surface-container);
  color: var(--on-surface-variant);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
}
.spec-table td { padding: 0.875rem 1.25rem; font-size: 0.9375rem; }
.spec-table tbody tr:nth-child(odd)  { background: var(--surface-lowest); }
.spec-table tbody tr:nth-child(even) { background: var(--surface-low); }
.spec-table td:first-child { font-weight: 600; color: var(--on-surface); }
.spec-table td:last-child  { color: var(--on-surface-variant); }

@media (min-width: 768px) {
  .spec-card { border-radius: 1.5rem; }
  .spec-card__head { padding: 1.25rem 2rem; }
  .spec-card__head h3 { font-size: 1.25rem; }
  .spec-table th, .spec-table td { padding: 1rem 2rem; }
}


/* Estrategias */


/* --- COMPONENTE: Strategy Card --- */
.strategy-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .strategy-list { gap: 1.75rem; }
}

.strategy-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--surface-low); /* Opcional: para darles fondo */
  transition: transform 0.2s ease;
}

.strategy-card__icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--surface-lowest);
  box-shadow: var(--shadow-elegant);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .strategy-card__icon { width: 3rem; height: 3rem; }
}

.strategy-card__title { font-size: 1.125rem; margin-bottom: 0.375rem; font-weight: 700; }
.strategy-card__description { color: var(--on-surface-variant); font-size: 0.9375rem; }

/* --- SECCIÓN: Cultura (Layout) --- */
/* Aquí solo dejas lo que organiza el layout, no los detalles de las tarjetas */
.culture { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 2rem; 
  align-items: center; 
}

@media (min-width: 1024px) { 
  .culture { grid-template-columns: 1fr 1fr; gap: 4rem; } 
}
/* ─── Culture ────────────────────────────────────────── */
.culture { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }

@media (min-width: 1024px) { .culture { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.culture__art  { position: relative; }
.culture__photo {
  position: relative;
  aspect-ratio: 3/2;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
}
@media (min-width: 640px)  { .culture__photo { aspect-ratio: 4/3; } }
@media (min-width: 1024px) { .culture__photo { aspect-ratio: 4/5; border-radius: 2.5rem; } }

.culture__photo img { width: 100%; height: 100%; object-fit: cover; }
.culture__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    oklch(0.48 0.21 28 / 0.7) 0%,
    oklch(0.48 0.21 28 / 0.1) 50%,
    transparent 100%);
}
.culture__quote {
  position: absolute; bottom: 1.25rem; left: 1.25rem; right: 1.25rem;
  font-family: var(--font-headline);
  font-size: clamp(1rem, 3vw, 1.875rem);
  font-weight: 900; font-style: italic;
  color: var(--primary-foreground);
  line-height: 1.2;
}
@media (min-width: 768px) {
  .culture__quote { bottom: 2rem; left: 2rem; right: 2rem; }
}

.culture__sticker {
  display: none;
  position: absolute; top: -2rem; right: -2rem;
  width: 9rem; height: 9rem;
  border-color:var(--gradient-gold);
  /* background: var(--gradient-gold); */
  border-radius: 9999px;
  align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-headline);
  font-weight: 900; font-size: 0.8rem;
  color: var(--on-tertiary-fixed);
  box-shadow: var(--shadow-gold);
  transform: rotate(12deg);
  background: url(https://d2icuchxdp00d0.cloudfront.net/landings/huaso-suertudo/consejos-pro.svg) no-repeat center;
  background-size: 70%;
}

.culture__sticker2 {
  display: none;
  position: absolute; top: -2rem; right: -2rem;
  width: 9rem; height: 9rem;
  border-color:var(--gradient-gold);
  /* background: var(--gradient-gold); */
  border-radius: 9999px;
  align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-headline);
  font-weight: 900; font-size: 0.8rem;
  color: var(--on-tertiary-fixed);
  box-shadow: var(--shadow-gold);
  transform: rotate(12deg);
  background: url(https://d2icuchxdp00d0.cloudfront.net/landings/huaso-suertudo/tradicion-100-chilena.svg) no-repeat center;
  background-size: 70%;
}
@media (min-width: 768px) {
   .culture__sticker { display: flex; }
  .culture__sticker2 { display: flex; }
  }

.culture__copy h2   { font-size: clamp(1.75rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.culture__list      { display: flex; flex-direction: column; gap: 1.25rem; }
.culture__list li   { display: flex; gap: 1rem; }
.culture__icon {
  flex-shrink: 0;
  width: 2.75rem; height: 2.75rem;
  background: var(--surface-lowest);
  box-shadow: var(--shadow-elegant);
  border-radius: 0.875rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 0.9rem;
}
.culture__list h3 { font-size: 1.125rem; margin-bottom: 0.375rem; }
.culture__list p  { color: var(--on-surface-variant); font-size: 0.9375rem; }

@media (min-width: 768px) {
  .culture__list { gap: 1.75rem; }
  .culture__icon { width: 3rem; height: 3rem; }
  .culture__list h3 { font-size: 1.25rem; }
  .culture__copy h2 { margin-bottom: 2rem; }
}

/* ─── Steps ──────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
@media (min-width: 768px) { .steps { gap: 3rem; margin-bottom: 4rem; } }

.step { text-align: center; }
.step__bubble {
  width: 5rem; height: 5rem;
  background: var(--surface-low);
  border-radius: 9999px;
  margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-elegant);
  transition: transform 0.2s;
}
.step:hover .step__bubble { transform: scale(1.1); }
.step__bubble span { font-family: var(--font-headline); font-size: 1.5rem; font-weight: 900; }
.step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p  { color: var(--on-surface-variant); max-width: 16rem; margin: 0 auto; font-size: 0.9375rem; }

@media (min-width: 768px) {
  .step__bubble { width: 6rem; height: 6rem; }
  .step__bubble span { font-size: 1.875rem; }
  .step h3 { font-size: 1.5rem; }
}

/* ─── CTA Block ──────────────────────────────────────── */
.cta-block {
  position: relative;
  padding: 2.5rem 1.5rem;
  border-radius: 1.75rem;
  color: var(--primary-foreground);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
}
@media (min-width: 768px) { .cta-block { padding: 4rem; border-radius: 2.5rem; } }

.cta-block__pattern { position: absolute; inset: 0; opacity: 0.1; }
.cta-block__art {
  position: absolute; right: -3rem; bottom: -3rem;
  width: 12rem; opacity: 0.15; pointer-events: none;
}
@media (min-width: 768px) { .cta-block__art { width: 24rem; opacity: 0.2; } }

.cta-block__inner { position: relative; max-width: 36rem; margin: 0 auto; }
.cta-block__inner h3 { font-size: clamp(1.5rem, 5vw, 3rem); margin-bottom: 1rem; }
.cta-block__inner p  { font-size: 1rem; margin-bottom: 1.75rem; opacity: 0.95; }
@media (min-width: 768px) {
  .cta-block__inner p { font-size: 1.125rem; margin-bottom: 2rem; }
}

/* ─── FAQ ────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 0.625rem; }

.faq-item {
  background: var(--surface-lowest);
  border-radius: 0.875rem;
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
}
.faq-item__btn {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  min-height: var(--touch-min);
  padding: 1.125rem 1.25rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.9375rem;
  gap: 0.5rem;
  transition: background-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.faq-item__btn:hover { background: var(--surface-low); }

.faq-item__chevron {
  flex-shrink: 0;
  color: var(--primary);
  font-size: 0.875rem;
  transition: transform 0.3s;
}
.faq-item[aria-expanded="true"] .faq-item__chevron { transform: rotate(180deg); }

.faq-item__panel {
  padding: 0 1.25rem 1.25rem;
  color: var(--on-surface-variant);
  line-height: 1.7;
  font-size: 0.9375rem;
}

@media (min-width: 768px) {
  .faq-item { border-radius: 1rem; }
  .faq-item__btn { padding: 1.5rem; font-size: 1rem; }
  .faq-item__panel { padding: 0 1.5rem 1.5rem; }
}

/* ─── Footer ─────────────────────────────────────────── */
.site-footer {
  background: var(--inverse-surface);
  color: var(--inverse-on-surface);
  padding: 3rem 0 2rem;
}
@media (min-width: 768px) { .site-footer { padding: 4rem 0 2rem; } }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
}

.site-footer p    { opacity: 0.8; font-size: 0.875rem; line-height: 1.7; max-width: 28rem; margin-bottom: 1.25rem; }
.site-footer h4   { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.875rem; color: var(--primary-foreground); }
.site-footer ul   { display: flex; flex-direction: column; font-size: 0.875rem; opacity: 0.8; }
.site-footer ul a {
  display: flex;
  align-items: center;
  padding: 0.625rem 0;
  min-height: var(--touch-min);
  border-bottom: 1px solid oklch(1 0 0 / 0.06);
}
.site-footer ul li:last-child a { border-bottom: none; }
.site-footer ul a:hover { color: var(--tertiary); }

.responsible {
  padding: 0.875rem 1rem;
  background: oklch(0.48 0.21 28 / 0.1);
  border: 1px solid oklch(0.48 0.21 28 / 0.3);
  border-radius: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.6;
}
.responsible strong { color: var(--primary-foreground); }
.responsible a { text-decoration: underline; font-weight: 600; }

.pay-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.pay-tags span {
  padding: 0.4rem 0.75rem;
  background: oklch(1 0 0 / 0.05);
  border: 1px solid oklch(1 0 0 / 0.1);
  border-radius: 0.4rem;
  font-size: 0.6rem; font-weight: 900;
  letter-spacing: 0.15em;
}

.site-footer__legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid oklch(1 0 0 / 0.1);
  font-size: 0.7rem;
  opacity: 0.6;
  text-align: center;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .site-footer__legal { text-align: left; font-size: 0.75rem; }
}

/* ─── Age Gate ───────────────────────────────────────── */
.age-gate {
  position: fixed; inset: 0; z-index: 100;
  background: oklch(0.18 0.02 30 / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0;
}
.age-gate[hidden] { display: none; }

/* Bottom sheet en mobile */
.age-gate__card {
  background: var(--surface-lowest);
  border-radius: 1.5rem 1.5rem 0 0;
  padding: 2rem 1.5rem 2.5rem;
  width: 100%;
  box-shadow: 0 -20px 60px -10px oklch(0.2 0.02 30 / 0.3);
  text-align: center;
}
.age-gate__badge {
  width: 3.5rem; height: 3.5rem;
  background: var(--gradient-gold);
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-headline);
  font-weight: 900; font-size: 1.125rem;
  color: var(--on-tertiary-fixed);
}
.age-gate__card h2    { font-size: 1.375rem; margin-bottom: 0.625rem; }
.age-gate__card > p   { color: var(--on-surface-variant); margin-bottom: 1.5rem; line-height: 1.6; font-size: 0.9375rem; }
.age-gate__actions    { display: flex; flex-direction: column; gap: 0.625rem; }
.age-gate__actions .btn { flex: 1; }
.age-gate__legal { font-size: 0.75rem; color: var(--on-surface-variant); margin-top: 1.25rem; line-height: 1.5; }

/* Modal centrado en tablet+ */
@media (min-width: 480px) {
  .age-gate { align-items: center; padding: 1rem; }
  .age-gate__card { border-radius: 1.5rem; max-width: 26rem; padding: 2rem; }
  .age-gate__actions { flex-direction: row; }
}

/* ─── Cookie banner ──────────────────────────────────── */
.cookie {
  position: fixed;
  left: 0.75rem; right: 0.75rem; bottom: 0.75rem;
  z-index: 50;
  max-width: 48rem;
  margin: 0 auto;
}
.cookie[hidden] { display: none; }

.cookie__card {
  background: color-mix(in oklch, var(--surface) 85%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-elegant);
  border: 1px solid var(--outline-variant);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.cookie p { font-size: 0.875rem; color: var(--on-surface); }
.cookie a  { text-decoration: underline; font-weight: 600; color: var(--primary); }
.cookie__actions { display: flex; gap: 0.5rem; }
.cookie__actions .btn { flex: 1; }

@media (min-width: 768px) {
  .cookie__card { flex-direction: row; align-items: center; padding: 1.5rem; gap: 1rem; }
  .cookie__actions { width: auto; flex-shrink: 0; }
  .cookie__actions .btn { flex: none; }
}

/* ─── Modal del juego ────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 0;
}

/* Pantalla completa en mobile */
.iframe-content {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* necesario para que el recorte del navbar funcione */
}

.game-iframe {
  flex: 1;
  border: none;
  width: 100%;

  /* ── Ocultar navbar cross-origin del proveedor ─────────────
   * Empujamos el iframe hacia arriba en --iframe-nav-h px.
   * El contenedor tiene overflow:hidden, así el navbar
   * del proveedor queda fuera del área visible.
   * La capa .iframe-nav-trap (inyectada por JS) cubre esa
   * misma zona e intercepta los clicks redirigiendo al usuario.
   * ─────────────────────────────────────────────────────────── */
  margin-top: calc(var(--iframe-nav-h) * -1);
  height: calc(100% + var(--iframe-nav-h));
}

/* Ventana flotante en tablet+ */
@media (min-width: 640px) {
  
  .modal-overlay { padding: 1rem; }
  .iframe-content {
    width: 95%;
    max-width: 1200px;
    height: 85vh;
    border-radius: 1rem;
  }
  .game-iframe { --iframe-nav-h: 64px; }
}
@media (min-width: 1024px) {
  .iframe-content { width: 90%; height: 80vh; }
  .game-iframe { --iframe-nav-h: 64px; }
}

/* ── Capa trampa sobre el navbar del proveedor ─────────
 * Div transparente inyectado por JS encima del iframe.
 * Captura clicks en la zona del navbar (que está oculta
 * visualmente) y redirige al usuario a la web destino.
 * ─────────────────────────────────────────────────────── */
.iframe-nav-trap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--iframe-nav-h); /* mobile: 56px */
  z-index: 6;
  background: transparent;
  cursor: pointer;
  touch-action: none;
}
@media (min-width: 640px) {
  .iframe-nav-trap { height: 64px; }
}

/* Tooltip en hover — solo desktop */
@media (hover: hover) {
  .iframe-nav-trap::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 0.375rem 0.75rem;
    border-radius: 0.4rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .iframe-nav-trap:hover::after { opacity: 1; }
}

/* Debug: añade clase .iframe-nav-trap--debug desde consola
   con trapDebug() para visualizar la zona de intercepción */
.iframe-nav-trap--debug {
  background: rgba(255, 0, 0, 0.35) !important;
  border-bottom: 2px dashed red;
}

/* Botón cerrar */
.button-container {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  display: flex;
  gap: 6px;
  z-index: 10;
}
.icon-button {
  background: rgba(0,0,0,0.7);
  border: none;
  color: white;
  font-size: 1rem;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.icon-button:hover { background: rgba(255,255,255,0.2); }

/* ─── Animaciones ────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}