/* ============================================================
   INDAWILD — CSS Principal
   Paleta: Verde bosque + tierras + acento ámbar fogata
   Tipografía: Montserrat (display) + DM Sans (body)
   v=1 · 2026-05-13
   ============================================================ */

/* ---- TOKENS ---- */
:root {
  /* Paleta */
  --c-bg:        #0D1F0F;   /* verde bosque profundo */
  --c-bg-2:      #111C12;   /* variante oscura */
  --c-bg-3:      #1A2E1C;   /* superficie media */
  --c-bg-4:      #0A1509;   /* más profundo */
  --c-surface:   #1E3320;   /* glassmorphism base */
  --c-amber:     #D4812A;   /* acento fogata */
  --c-amber-lt:  #E8A54A;   /* acento claro */
  --c-amber-dk:  #8C5218;   /* acento oscuro */
  --c-earth:     #5C3D1E;   /* tierra */
  --c-earth-lt:  #7A5A36;   /* tierra clara */
  --c-cream:     #F0EADA;   /* crema cálida */
  --c-white:     #FAFAF8;
  --c-muted:     rgba(240,234,218,0.72);
  --c-muted-2:   rgba(240,234,218,0.45);

  /* Tipografía */
  --font-display: 'Montserrat', 'Arial Black', sans-serif;
  --font-body:    'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  /* Tamaños fluidos */
  --fs-h1:    clamp(3rem, 8vw + 1rem, 8rem);
  --fs-h2:    clamp(2rem, 4vw + 0.5rem, 4rem);
  --fs-h3:    clamp(1.25rem, 2vw + 0.25rem, 2rem);
  --fs-body:  clamp(16px, 1rem + 0.2vw, 18px);
  --fs-small: clamp(13px, 0.9rem, 14px);
  --fs-label: clamp(1.1rem, 1.5vw, 1.4rem);

  /* Easing — Emil Kowalski */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  /* Espaciado interno */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;
  --space-2xl: 10rem;

  /* Espaciado fluido de sección — Movimiento A */
  --space-section-tight: clamp(2.5rem, 4vw, 5rem);
  --space-section:       clamp(4rem, 7vw, 9rem);
  --space-section-loose: clamp(6rem, 10vw, 12rem);

  /* Contenedor */
  --container: 1200px;
  --container-pad: clamp(1.25rem, 5vw, 3rem);

  /* Borde redondeado */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Glassmorphism */
  --glass-bg:     rgba(30, 51, 32, 0.55);
  --glass-border: rgba(212, 129, 42, 0.18);
  --glass-blur:   blur(16px);

  /* Sombras multicapa */
  --shadow-card:
    0 2px 4px rgba(0,0,0,0.4),
    0 8px 24px rgba(0,0,0,0.35),
    0 20px 60px rgba(0,0,0,0.25);
  --shadow-btn:
    0 2px 8px rgba(212,129,42,0.25),
    0 8px 20px rgba(0,0,0,0.3);
}

/* ---- RESET ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-cream);
  background-color: var(--c-bg);
  overflow-x: hidden;
}

/* cursor: none SOLO si el custom cursor está activo (lo agrega JS cuando engancha) */
body.has-custom-cursor { cursor: none; }
@media (pointer: coarse) {
  body.has-custom-cursor { cursor: auto; }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

/* ---- SKIP LINK ---- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: var(--c-amber);
  color: var(--c-bg);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
}

/* ---- CUSTOM CURSOR ---- */
.custom-cursor {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--c-amber);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out), background 0.2s;
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(212,129,42,0.5);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), border-color 0.2s, transform 0.35s var(--ease-out);
}
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 50px;
  height: 50px;
  border-color: var(--c-amber);
}

/* ---- TEXTURA / GRAIN ---- */
.hero-grain,
.sobre-grain,
.equipo-grain,
.newsletter-grain,
.sponsors-grain,
.footer-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ---- CONTAINER ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ---- TIPOGRAFÍA UTILITARIA ---- */
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-amber);
  border: 1px solid rgba(212,129,42,0.35);
  background: rgba(212,129,42,0.08);
  padding: 0.35em 0.9em;
  border-radius: 100px;
  margin-bottom: var(--space-sm);
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-white);
  margin-bottom: var(--space-sm);
}

.section-desc {
  font-size: var(--fs-body);
  color: var(--c-muted);
  max-width: 60ch;
  line-height: 1.65;
}

.section-header {
  margin-bottom: var(--space-lg);
}
.section-header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-header--center .section-desc {
  text-align: center;
}

/* Movimiento D — header anclado izquierda con contrapeso 60/40 */
.section-header--anchored {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-lg);
  align-items: end;
  text-align: left;
}

.section-header--anchored .section-header-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-header--anchored .section-header-counter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
}

.section-kicker {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin-bottom: 0.6rem;
  display: block;
}

.anchored-counter-big {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 1;
  color: var(--c-amber);
  letter-spacing: -0.04em;
}

.anchored-counter-label {
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  font-weight: 500;
  color: var(--c-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: right;
  max-width: 16ch;
}

/* ---- BOTONES ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.9em 2em;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out), background 0.2s, color 0.2s, border-color 0.2s;
  min-height: 44px;
  will-change: transform;
}

.btn:focus-visible {
  outline: 2px solid var(--c-amber);
  outline-offset: 3px;
}

.btn:active { transform: scale(0.97); transition-duration: 0.1s; }

.btn-primary {
  background: var(--c-amber);
  color: var(--c-bg);
  border-color: var(--c-amber);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--c-amber-lt);
  border-color: var(--c-amber-lt);
  box-shadow: 0 4px 12px rgba(212,129,42,0.4), 0 12px 32px rgba(0,0,0,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--c-cream);
  border-color: rgba(240,234,218,0.3);
}
.btn-ghost:hover {
  border-color: var(--c-cream);
  background: rgba(240,234,218,0.07);
}

.btn-outline {
  background: transparent;
  color: var(--c-amber);
  border-color: var(--c-amber);
}
.btn-outline:hover {
  background: rgba(212,129,42,0.1);
}

.btn-full { width: 100%; justify-content: center; }

/* ---- GLASSMORPHISM BASE ---- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 4px 8px rgba(0,0,0,0.45),
    0 16px 40px rgba(0,0,0,0.4),
    0 2px 0px rgba(212,129,42,0.3) inset;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s, background 0.4s;
}
.site-header.scrolled {
  opacity: 1;
  visibility: visible;
  overflow: visible;
  background: rgba(13,31,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212,129,42,0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem var(--container-pad);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--c-amber);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-cream);
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-links a:hover { opacity: 1; color: var(--c-amber); }
.nav-links a:focus-visible {
  outline: 2px solid var(--c-amber);
  outline-offset: 2px;
  border-radius: 4px;
}

.nav-cta-pill {
  background: var(--c-amber);
  color: var(--c-bg);
  padding: 0.35em 1em;
  border-radius: 100px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--c-amber);
  border-radius: 4px;
}
.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--c-cream);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(13,31,15,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-align: center;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  color: var(--c-cream);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
  display: block;
  padding: 0.25rem;
  min-height: 44px;
}
.mobile-menu a:hover { color: var(--c-amber); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 55%;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13,31,15,0.85) 0%, rgba(13,31,15,0.45) 40%, rgba(13,31,15,0.18) 65%, rgba(13,31,15,0.50) 100%),
    linear-gradient(180deg, rgba(13,31,15,0.30) 0%, rgba(13,31,15,0.0) 35%, rgba(13,31,15,0.0) 65%, rgba(13,31,15,0.50) 100%);
  z-index: 1;
}
.hero-scroll-veil {
  position: absolute;
  inset: 0;
  background: var(--c-bg);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  pointer-events: none;
}
.hero-grain { z-index: 2; }

.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: clamp(3rem, 7vh, 6rem) var(--container-pad);
}
.hero-kicker { margin-top: 0; }
.hero-desc { margin-bottom: var(--space-md); }

.hero-kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-label);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin-bottom: var(--space-sm);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 4.75rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--c-white);
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  max-width: 18ch;
}
.hero-title-line { display: block; }
.hero-title-accent {
  color: var(--c-amber);
  text-shadow: 0 0 80px rgba(212,129,42,0.4);
}
.hero-title-brand {
  font-style: italic;
  -webkit-text-stroke: 2px var(--c-amber);
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 300;
  color: var(--c-muted);
  max-width: 50ch;
  margin-bottom: var(--space-md);
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--c-amber));
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted-2);
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(
    600px circle at 50% 50%,
    rgba(212,129,42,0.06) 0%,
    transparent 60%
  );
  transition: background 0.1s;
}

/* ============================================================
   RUTAS
   ============================================================ */
.section-rutas {
  padding: var(--space-section) 0;
  background: var(--c-bg-3);
  position: relative;
}

.rutas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 2rem);
  margin-top: var(--space-lg);
}
@media (max-width: 1023px) {
  .rutas-grid { grid-template-columns: repeat(2, 1fr); }
  .ruta-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 0.75rem); margin: 0 auto; }
}
@media (max-width: 640px) {
  .rutas-grid { grid-template-columns: 1fr; }
  .ruta-card:last-child { max-width: none; }
}

.ruta-card {
  position: relative;
  background: var(--c-bg-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.ruta-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 6px 16px rgba(0,0,0,0.5),
    0 24px 60px rgba(0,0,0,0.4);
}

.ruta-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.ruta-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-bg-4);
}
.ruta-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
  display: block;
}
.ruta-card:hover .ruta-card-thumb img {
  transform: scale(1.04);
}

.ruta-card-play {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 200ms var(--ease-out);
}
.ruta-card:hover .ruta-card-play {
  background: var(--c-amber);
}

.ruta-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.ruta-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 700;
  color: var(--c-cream);
  line-height: 1.25;
  margin: 0;
}

.ruta-card-meta {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--c-cream);
  opacity: 0.7;
  margin: 0;
  line-height: 1.4;
}

.ruta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.badge {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25em 0.7em;
  border-radius: 100px;
  border: 1px solid rgba(212,129,42,0.3);
  color: var(--c-cream);
  background: rgba(30,51,32,0.7);
}
.badge--level { color: var(--c-amber); border-color: rgba(212,129,42,0.5); }
.badge--medium-level { color: #90C264; border-color: rgba(144,194,100,0.5); }
.badge--easy-level   { color: #6FD4A0; border-color: rgba(111,212,160,0.5); }
.badge--type { opacity: 0.8; }

.rutas-cta-row {
  display: flex;
  justify-content: center;
  margin-top: var(--space-lg);
}

/* ============================================================
   SOBRE DIEGO
   ============================================================ */
.section-sobre {
  position: relative;
  padding: var(--space-section) 0;
  background: var(--c-bg);
  overflow: hidden;
}

.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.sobre-media {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.sobre-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 640px;
  display: block;
  align-self: center;
}
.sobre-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: none !important;
}
.sobre-img-frame {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212,129,42,0.2);
  pointer-events: none;
}

.sobre-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  justify-items: center;
  text-align: center;
}
.sobre-stat { text-align: center; }
.sobre-stat .stat-number { display: block; }
.sobre-stat .stat-label { display: block; }
.sobre-stat {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--c-amber);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--c-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sobre-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
}

.sobre-text-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: var(--space-md);
}
.sobre-text-body p {
  color: var(--c-muted);
  line-height: 1.7;
  max-width: 58ch;
  font-weight: 400;
}
.sobre-text-body p:first-child {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--c-cream);
}

/* ============================================================
   GUÍAS DESCARGABLES
   ============================================================ */
.section-guias {
  padding: var(--space-section) 0;
  background: var(--c-bg-2);
}

/* Movimiento C — Guías asimétrica: hero 60% / 2 supporting 40% */
.guias-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.guia-card--hero {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  padding: 2.75rem 2.25rem;
}

.guia-card--hero .guia-card-title {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.2;
}

.guia-card--hero .guia-card-desc {
  font-size: 1rem;
  max-width: 45ch;
}

.guia-card--supporting {
  grid-column: 2 / 3;
}

.guia-card {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}
.guia-card--hero { gap: 1.1rem; }
.guia-card--hero .guia-badge-soon { margin-top: auto; align-self: flex-start; }

.guia-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.guia-card-bullets li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--c-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.guia-card-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-amber);
  box-shadow: 0 0 0 3px rgba(212,129,42,0.15);
}

.guia-card-icon {
  color: var(--c-amber);
  margin-bottom: 0.25rem;
}

.guia-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.3;
  color: var(--c-white);
}

.guia-card-meta {
  font-size: 0.85rem;
  color: var(--c-amber);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.guia-card-desc {
  font-size: 0.95rem;
  color: var(--c-muted);
  line-height: 1.6;
  flex: 1;
}

.guia-badge-soon {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(212,129,42,0.15);
  color: var(--c-amber);
  border: 1px dashed rgba(212,129,42,0.4);
  padding: 0.3em 0.8em;
  border-radius: 100px;
  align-self: flex-start;
}

/* ============================================================
   EQUIPO
   ============================================================ */
.section-equipo {
  position: relative;
  padding: var(--space-section) 0;
  background: var(--c-bg-4);
  overflow: hidden;
}

.equipo-disclaimer {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--c-muted-2);
  margin-top: 0.75rem;
}

/* Movimiento C — Equipo asimétrico: 2 destacados arriba + 4 compactos abajo */
.equipo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: var(--space-md);
}

/* Las 2 primeras cards son los destacados — layout horizontal imagen + texto */
.equipo-card--featured {
  display: flex;
  flex-direction: row;
  min-height: 220px;
}

.equipo-card--featured .equipo-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  flex-shrink: 0;
}

/* Los 4 items secundarios van en grid 4-col dentro de su propio contenedor */
.equipo-grid-secondary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.equipo-card--compact .equipo-card-img {
  aspect-ratio: 4/3;
}

.equipo-card--compact .equipo-card-body {
  padding: 1rem;
}

.equipo-card--compact .equipo-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* FIX 2 — compact cards dejan de ser glass, van sólidas con contraste real */
.equipo-card--compact {
  background: var(--c-bg-3);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
}
.equipo-card--compact:hover {
  transform: translateY(-6px);
  box-shadow:
    0 6px 16px rgba(0,0,0,0.5),
    0 24px 60px rgba(0,0,0,0.4);
}

.equipo-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.equipo-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.equipo-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.equipo-card:hover .equipo-card-img img {
  transform: scale(1.05);
}

.equipo-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.equipo-brand {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-amber);
}

.equipo-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.9rem, 1.1vw, 1.1rem);
  line-height: 1.3;
  color: var(--c-white);
}

.equipo-card-desc {
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.55;
  flex: 1;
}

.equipo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-bg);
  background: var(--c-amber);
  padding: 0.6em 1.2em;
  border-radius: 100px;
  margin-top: 0.5rem;
  transition: background 0.2s, transform 0.15s var(--ease-out);
  min-height: 44px;
  justify-content: center;
  will-change: transform;
}
.equipo-link:hover { background: var(--c-amber-lt); }
.equipo-link:focus-visible {
  outline: 2px solid var(--c-amber);
  outline-offset: 2px;
  border-radius: 100px;
}

/* FIX 3 — wrapper y spacing del CTA de equipo */
.equipo-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.equipo-cta-note {
  text-align: center;
  font-size: 1rem;
  color: var(--c-muted);
  margin: 0;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.section-newsletter {
  position: relative;
  padding: var(--space-section) 0;
  background: var(--c-bg-3);
  overflow: hidden;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.newsletter-desc {
  font-size: var(--fs-body);
  color: var(--c-muted);
  line-height: 1.65;
  margin-bottom: var(--space-md);
  max-width: 52ch;
}

.newsletter-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
}
.newsletter-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--c-muted);
  line-height: 1.5;
}
.newsletter-benefits li::before {
  content: '→';
  color: var(--c-amber);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}
.newsletter-benefits strong { color: var(--c-cream); }

.newsletter-form-wrap {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.newsletter-beta-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-beta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: var(--c-amber);
  line-height: 1.2;
}

.newsletter-beta-desc {
  font-size: 1rem;
  color: var(--c-muted);
  line-height: 1.65;
}

.newsletter-beta-desc a {
  color: var(--c-amber);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.newsletter-beta-desc a:hover {
  color: var(--c-amber-lt);
}

/* ============================================================
   INTERLUDIO — Quote a sangre completa (Movimiento E)
   ============================================================ */
.section-interlude {
  position: relative;
  min-height: 60vh;
  background: #0A1509; /* --c-bg-4 profundizado */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Textura grain sobre el interludio */
.section-interlude::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* Glow de ámbar difuso al centro */
.section-interlude::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    ellipse 80% 60% at 50% 50%,
    rgba(140, 82, 24, 0.18) 0%,
    transparent 70%
  );
}

.interlude-quote {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--container-pad);
  display: flex;
  flex-direction: column;
  gap: 0.15em;
}

.interlude-line {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.75rem, 7vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--c-cream);
}

.interlude-line:last-child {
  color: var(--c-amber);
  -webkit-text-stroke: 1px var(--c-amber);
  font-style: italic;
}

/* ============================================================
   YOUTUBE
   ============================================================ */
.section-youtube {
  padding: var(--space-section) 0;
  background: var(--c-bg);
}

.youtube-embed-wrap {
  margin-bottom: var(--space-lg);
}

.youtube-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.youtube-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.youtube-stats {
  display: flex;
  gap: var(--space-md);
}
.yt-stat {
  text-align: center;
}
.yt-stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--c-amber);
  line-height: 1;
}
.yt-stat-label {
  font-size: 0.8rem;
  color: var(--c-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   SPONSORS
   ============================================================ */
.section-sponsors {
  position: relative;
  padding: var(--space-section) 0;
  background: var(--c-bg-2);
  overflow: hidden;
}

.sponsors-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: var(--space-lg);
}
.sponsor-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.sponsor-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--c-white);
}
.sponsor-type {
  font-size: 0.85rem;
  color: var(--c-muted);
  font-weight: 400;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  background: var(--c-bg-4);
  overflow: hidden;
  padding-top: var(--space-xl);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(212,129,42,0.1);
}

.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: var(--c-amber);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-cream);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.6;
  max-width: 45ch;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-nav a {
  font-size: 0.9rem;
  color: var(--c-muted);
  transition: color 0.2s;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-nav a:hover { color: var(--c-amber); }
.footer-nav a:focus-visible {
  outline: 2px solid var(--c-amber);
  border-radius: 2px;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212,129,42,0.1);
  border: 1px solid rgba(212,129,42,0.2);
  color: var(--c-muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-icon:hover {
  background: rgba(212,129,42,0.2);
  color: var(--c-amber);
  border-color: rgba(212,129,42,0.5);
}
.social-icon:focus-visible {
  outline: 2px solid var(--c-amber);
  outline-offset: 2px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1.5rem var(--container-pad);
}
.footer-legal,
.footer-legal-note {
  font-size: var(--fs-small);
  color: rgba(240,234,218,0.65);
  line-height: 1.5;
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-amber);
  color: var(--c-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-btn);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
.scroll-top:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--c-amber-lt); }
.scroll-top:focus-visible {
  outline: 2px solid var(--c-amber);
  outline-offset: 3px;
}

/* ============================================================
   MOTION REDUCIDO
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE — TABLET (768px)
   ============================================================ */
@media (max-width: 1024px) {
  .equipo-grid { grid-template-columns: 1fr; }
  .equipo-card--featured { grid-template-columns: 1fr; }
  .equipo-card--featured .equipo-card-img { width: 100%; height: auto; }
  .equipo-grid-secondary { grid-template-columns: repeat(2, 1fr); }
  .guias-grid  { grid-template-columns: 1fr; grid-template-rows: auto; }
  .guia-card--hero { grid-column: auto; grid-row: auto; }
  .guia-card--supporting { grid-column: auto; }
  .section-header--anchored { grid-template-columns: 1fr; }
  .section-header--anchored .section-header-counter { align-items: flex-start; }

  .sobre-inner      { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; }
  .footer-inner     { grid-template-columns: 1fr 1fr; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
  :root {
    --space-xl:  4rem;
    --space-2xl: 6rem;
  }

  .guias-grid  { grid-template-columns: 1fr; grid-template-rows: auto; }
  .guia-card--hero { grid-column: auto; grid-row: auto; }
  .equipo-grid { grid-template-columns: 1fr; }
  .equipo-card--featured { grid-template-columns: 1fr; }
  .equipo-card--featured .equipo-card-img { width: 100%; height: auto; }
  .equipo-grid-secondary { grid-template-columns: repeat(2, 1fr); }

  .sobre-stats-row { grid-template-columns: repeat(3, 1fr); }

  .hero-title { max-width: 100%; }

  .youtube-cta-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .youtube-stats { justify-content: center; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .footer-social { margin-top: var(--space-sm); }
}

/* ============================================================
   RESPONSIVE — MÓVIL PEQUEÑO (375px iPhone SE)
   ============================================================ */
@media (max-width: 400px) {
  .hero-cta-group { flex-direction: column; align-items: flex-start; }
  .sobre-stats-row { grid-template-columns: 1fr 1fr; }
  .newsletter-form-wrap { padding: 1.5rem; }
  .sponsor-item { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   BLOG — ARTÍCULOS INDAWILD
   Adaptado de La Trucha Grilla · paleta verde bosque + ámbar fogata
   ============================================================ */

/* ---- Sección contenedor ---- */
.section.blog {
  background: var(--c-bg-3);
  padding: var(--space-section) var(--container-pad);
}

.section.blog .section-label {
  color: var(--c-amber);
  border-color: rgba(212,129,42,0.3);
  background: rgba(212,129,42,0.08);
}
.section.blog .section-title { color: var(--c-cream); }
.section.blog .section-desc  { color: var(--c-muted); }

/* ---- Blog tabs ---- */
.blog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0 2rem;
}

.blog-tab {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(212,129,42,0.35);
  background: transparent;
  color: var(--c-muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}
.blog-tab:hover {
  border-color: var(--c-amber);
  color: var(--c-amber);
}
.blog-tab.active {
  background: var(--c-amber);
  border-color: var(--c-amber);
  color: #fff;
}

/* ---- Blog panels ---- */
.blog-panel { display: none; }
.blog-panel.active { display: block; }

/* ---- Shared bcard base ---- */
.bcard-tag {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-amber);
}
.bcard-link {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-amber-lt);
  text-decoration: none;
  transition: opacity 0.2s;
}
.bcard-link:hover { opacity: 0.75; }

/* ---- Blog carousel layout ---- */
.blog-carousel { position: relative; }

.blog-slide { display: none; }
.blog-slide.active { display: block; }

.blog-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ---- Hero card ---- */
.blog-card--hero {
  display: flex;
  flex-direction: row;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-bg-4);
  cursor: pointer;
  box-shadow:
    0 4px 24px rgba(0,0,0,0.5),
    0 1px 4px rgba(0,0,0,0.4);
  transition: box-shadow 0.25s, transform 0.2s;
}
.blog-card--hero:hover {
  box-shadow:
    0 16px 48px rgba(0,0,0,0.6),
    0 4px 12px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

.blog-card--hero .bcard-img {
  width: 55%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: var(--c-bg-4);
  transition: filter 0.35s ease;
  flex-shrink: 0;
  position: relative;
}
/* Gradiente de fusión imagen → texto */
.blog-card--hero .bcard-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--c-bg-4) 100%);
}
.blog-card--hero:hover .bcard-img { filter: brightness(0.88) saturate(1.1); }

.blog-card--hero .bcard-body {
  width: 45%;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
}
.blog-card--hero .bcard-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1vw + 0.75rem, 1.5rem);
  font-weight: 700;
  color: var(--c-cream);
  line-height: 1.3;
  margin: 0;
}
.blog-card--hero .bcard-body p {
  font-size: 0.88rem;
  color: var(--c-muted-2);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.blog-card--hero .bcard-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-amber);
  background: rgba(212,129,42,0.15);
  border: 1px solid rgba(212,129,42,0.3);
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
}
.blog-card--hero .bcard-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-amber-lt);
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

/* ---- Sub-cards row ---- */
.blog-cards-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.blog-card--sub {
  display: flex;
  flex-direction: row;
  height: 175px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-bg-2);
  cursor: pointer;
  border: 1px solid rgba(212,129,42,0.12);
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.blog-card--sub:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.5);
  border-color: rgba(212,129,42,0.28);
}

.blog-card--sub .bcard-img {
  width: 40%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: var(--c-bg-4);
  flex-shrink: 0;
  transition: filter 0.3s ease;
}
.blog-card--sub:hover .bcard-img { filter: brightness(0.88) saturate(1.1); }

.blog-card--sub .bcard-body {
  width: 60%;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}
.blog-card--sub .bcard-body h3 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-cream);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card--sub .bcard-body p { display: none; }

/* Badge en sub-card */
.blog-card--sub .bcard-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-amber);
  background: rgba(212,129,42,0.12);
  border: 1px solid rgba(212,129,42,0.22);
  padding: 0.18rem 0.6rem;
  border-radius: 50px;
  width: fit-content;
}
.blog-card--sub .bcard-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-amber);
  letter-spacing: 0.02em;
}

/* ---- Carousel controls ---- */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}
.carousel-btn {
  background: transparent;
  border: 1.5px solid rgba(212,129,42,0.35);
  color: var(--c-amber);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: all 0.2s var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover:not(:disabled) {
  background: var(--c-amber);
  color: #fff;
  border-color: var(--c-amber);
}
.carousel-btn:disabled { opacity: 0.25; cursor: default; }
.carousel-dots { display: flex; gap: 0.5rem; align-items: center; }
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(212,129,42,0.28);
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-dot.active { background: var(--c-amber); }

/* ---- Mobile adaptaciones blog ---- */
@media (max-width: 768px) {
  .blog-card--hero { flex-direction: column; height: auto; }
  .blog-card--hero .bcard-img { width: 100%; height: 200px; }
  .blog-card--hero .bcard-img::after { display: none; }
  .blog-card--hero .bcard-body { width: 100%; padding: 1.25rem; }
  .blog-cards-row { grid-template-columns: 1fr; }
  .blog-card--sub { height: 130px; }
  .blog-card--sub .bcard-body { padding: 0.9rem 1rem; }
  .carousel-btn { width: 44px; height: 44px; }
}

/* ============================================================
   ARTICLE MODAL READER (#article-modal)
   ============================================================ */
#article-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: var(--c-bg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
#article-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
body.art-open { overflow: hidden; }

.art-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1520;
  background: rgba(212,129,42,0.12);
}
.art-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--c-amber);
  transition: width 0.1s linear;
}

.art-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 1510;
  width: 44px;
  height: 44px;
  background: rgba(13,31,15,0.75);
  border: 1px solid rgba(212,129,42,0.25);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-cream);
  backdrop-filter: blur(6px);
  transition: background 0.2s;
}
.art-close:hover { background: rgba(13,31,15,0.95); }

.art-scroll {
  height: 100vh;
  overflow-y: scroll;
  overscroll-behavior: contain;
}

.art-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  background-size: cover;
  background-position: center center;
  background-color: var(--c-bg-4);
  flex-shrink: 0;
}

.art-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}

.art-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.art-tag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-amber);
  background: rgba(212,129,42,0.12);
  border: 1px solid rgba(212,129,42,0.28);
  padding: 0.18rem 0.7rem;
  border-radius: 50px;
}
.art-date, .art-sep, .art-read {
  font-size: 0.82rem;
  color: var(--c-muted);
}

.art-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--c-cream);
  line-height: 1.15;
  margin: 0 0 2rem;
}

.art-body p {
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--c-cream);
  margin-bottom: 1.5rem;
}
.art-body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-cream);
  margin: 2.5rem 0 0.9rem;
  border-bottom: 1px solid rgba(212,129,42,0.2);
  padding-bottom: 0.4rem;
}
.art-body blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.75rem;
  border-left: 4px solid var(--c-amber);
  background: rgba(212,129,42,0.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--c-muted);
  line-height: 1.7;
}
.art-body ul, .art-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.art-body li {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--c-cream);
  margin-bottom: 0.35rem;
}
.art-body strong { color: var(--c-cream); font-weight: 700; }
.art-body em { font-style: italic; }

.art-footer {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
}
.art-back {
  background: none;
  border: 1.5px solid rgba(212,129,42,0.35);
  border-radius: 50px;
  padding: 0.65rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-amber);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.art-back:hover {
  background: rgba(212,129,42,0.08);
  border-color: var(--c-amber);
}
.art-share {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.art-share-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.art-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 1.5px solid rgba(212,129,42,0.25);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  letter-spacing: 0.02em;
}
.art-share-wa { color: #25D366; border-color: rgba(37,211,102,0.3); }
.art-share-wa:hover { background: rgba(37,211,102,0.08); border-color: #25D366; }
.art-share-copy { color: var(--c-amber); }
.art-share-copy:hover { background: rgba(212,129,42,0.08); border-color: var(--c-amber); }

/* ---- Artículos relacionados ---- */
.art-related {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  border-top: 1px solid rgba(212,129,42,0.15);
}
.art-related-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.art-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.art-rel-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-bg-3);
  border: 1px solid rgba(212,129,42,0.12);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.art-rel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.art-rel-img {
  height: 100px;
  background-size: cover;
  background-position: center;
}
.art-rel-body { padding: 0.85rem 1rem; }
.art-rel-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-amber);
  display: block;
  margin-bottom: 0.35rem;
}
.art-rel-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-cream);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Modal mobile ---- */
@media (max-width: 600px) {
  .art-hero { height: 30vh; min-height: 180px; }
  .art-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .art-body p { font-size: 0.97rem; }
  .art-related-grid { grid-template-columns: 1fr 1fr; }
  .art-related-grid .art-rel-card:last-child { display: none; }
  .art-footer { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .art-share { gap: 0.5rem; }
}


/* ============================================================
   NAV + FOOTER LOGO AVATAR (Diego)
   ============================================================ */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
@media (max-width: 768px) {
  .nav-logo-img { height: 44px; }
}
.nav-logo-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--c-amber);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.footer-logo-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--c-amber);
  margin-bottom: 0.85rem;
  display: block;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
@media (max-width: 768px) {
  .nav-logo-avatar { width: 32px; height: 32px; }
  .footer-logo-avatar { width: 56px; height: 56px; }
}


/* ============================================================
   WILD STORE — Drop pre-launch
   Insertado 2026-05-16 · v=10
   ============================================================ */

/* ---- Clase ARIA utilitaria (estándar WCAG) ---- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Sección contenedora ---- */
.section-wild-store {
  position: relative;
  background: var(--c-bg-4);      /* #0A1509 — distinto de blog(bg-3) y sponsors(bg-2) */
  padding-bottom: var(--space-section);
  overflow: hidden;
}

/* ============================================================
   BLOQUE 1 — HERO FULL-WIDTH
   ============================================================ */
.wild-hero {
  position: relative;
  width: 100%;
  /* Sin padding lateral — edge-to-edge */
  overflow: hidden;
  line-height: 0;                 /* elimina gap de inline-block bajo la imagen */
}

.wild-hero-img {
  display: block;
  width: 100%;
  height: min(70vh, 720px);
  object-fit: cover;
  object-position: center 30%;   /* foco en zona superior donde está el texto bitmap */
}

/* Veil: oscurece solo la franja inferior para el pre-label y subtitle */
.wild-hero-veil {
  position: absolute;
  inset: 0;
  background:
    /* Viñeta inferior-izquierda para anclar el bloque content */
    radial-gradient(
      ellipse 80% 60% at 0% 100%,
      rgba(20, 28, 20, 0.85) 0%,
      rgba(20, 28, 20, 0.55) 45%,
      rgba(20, 28, 20, 0) 75%
    ),
    /* Gradient vertical general, arranca más arriba y termina más oscuro */
    linear-gradient(
      180deg,
      rgba(20, 28, 20, 0)    0%,
      rgba(20, 28, 20, 0)   40%,
      rgba(20, 28, 20, 0.45) 70%,
      rgba(20, 28, 20, 0.85) 100%
    );
  pointer-events: none;
}

/* Contenido sobre el hero — anclado a la franja inferior */
.wild-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 clamp(2rem, 6vw, 6rem) clamp(2rem, 6vh, 4.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  line-height: 1.4;
}

/* Pre-label pill estilo section-label del sitio */
.wild-hero-label {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-amber);
  background: rgba(20, 28, 20, 0.55);
  border: 1px solid rgba(212, 129, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 100px;
  padding: 0.45em 1.1em;
}

.wild-hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  color: var(--c-cream);
  max-width: 540px;
  opacity: 1;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 2px 12px rgba(0, 0, 0, 0.35);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   BLOQUE 2 — GRID DE PRODUCTOS
   ============================================================ */
.wild-products-wrap {
  padding: var(--space-section) var(--container-pad) 0;
  max-width: var(--container);
  margin: 0 auto;
}

.wild-products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: stretch;
}

/* En mobile/tablet: 2 columnas, 5to producto ocupa fila completa */
@media (max-width: 1023px) {
  .wild-products {
    grid-template-columns: repeat(2, 1fr);
  }
  .wild-product--last {
    grid-column: 1 / -1;
  }
}

/* ---- Card de producto ---- */
.wild-product {
  background: var(--c-bg-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  border: none;
}

.wild-product:hover {
  transform: translateY(-6px);
  box-shadow:
    0 6px 16px rgba(0,0,0,0.5),
    0 24px 60px rgba(0,0,0,0.4);
}

.wild-product:focus-visible {
  outline: 2px solid var(--c-amber);
  outline-offset: 4px;
}

/* Wrapper de imagen — posición relativa para el badge absoluto */
.wild-product-img-wrap {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.wild-product-img-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 400ms var(--ease-out);
}

.wild-product:hover .wild-product-img-wrap img {
  transform: scale(1.04);
}

/* Badge "Pronto" */
.wild-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--c-amber);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  line-height: 1.4;
  pointer-events: none;
}

/* Body inferior de la card — alinea con .ruta-card-body */
.wild-product-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Nombre del producto */
.wild-product-name {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.2vw, 1.05rem);
  font-weight: 600;
  color: var(--c-cream);
  margin: 0;
  line-height: 1.3;
}

/* ============================================================
   BLOQUE 3 — CTA CENTRADO
   ============================================================ */
.wild-cta {
  display: flex;
  justify-content: center;
  padding: 0 var(--container-pad);
  margin-top: var(--space-lg);
}

/* Modificador de tamaño para el botón CTA de Wild Store */
.btn-large {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  padding: 1rem 2.5rem;
  letter-spacing: 0.04em;
}

/* ---- Mobile ajustes generales ---- */
@media (max-width: 600px) {
  .wild-hero-img {
    height: min(55vh, 480px);
    object-position: center 20%;
  }
  .wild-hero-content {
    padding: 0 1.25rem 1.75rem;
  }
  .wild-hero-subtitle {
    font-size: 0.92rem;
  }
}

/* ============================================================
   WILD STORE — MODAL DE PRODUCTO
   ============================================================ */
.wild-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms var(--ease-out);
}
.wild-modal.is-open { opacity: 1; pointer-events: auto; }

.wild-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 9, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.wild-modal-dialog {
  position: relative;
  background: var(--c-bg-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: min(960px, 92vw);
  width: 100%;
  max-height: 90vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  transform: translateY(20px) scale(0.98);
  transition: transform 320ms var(--ease-out);
}
.wild-modal.is-open .wild-modal-dialog {
  transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
  .wild-modal-dialog {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
  }
}

.wild-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms var(--ease-out);
}
.wild-modal-close:hover, .wild-modal-close:focus-visible {
  background: rgba(0,0,0,0.7);
  outline: none;
}

.wild-modal-media {
  background: var(--c-bg-4);
  overflow: hidden;
  min-height: 320px;
}
.wild-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wild-modal-info {
  padding: clamp(1.75rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  overflow-y: auto;
}

.wild-modal-badge {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-amber);
  background: rgba(20, 28, 20, 0.55);
  border: 1px solid rgba(212, 129, 42, 0.55);
  border-radius: 100px;
  padding: 0.4em 1em;
}

.wild-modal-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--c-cream);
  line-height: 1.15;
  margin: 0;
}

.wild-modal-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-cream);
  opacity: 0.85;
  margin: 0;
}

.wild-modal-specs {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(212, 129, 42, 0.15);
}
.wild-modal-specs dt {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-amber);
  align-self: center;
}
.wild-modal-specs dd {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--c-cream);
  margin: 0;
}

#wild-modal-cta {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* Lock scroll del body cuando el modal está abierto */
body:has(.wild-modal.is-open) {
  overflow: hidden;
}

/* ============================================================
   FIX 1 — SPOTLIGHT CARD (efecto luz cálida que sigue al cursor)
   ============================================================ */
.spotlight-card {
  position: relative;
  isolation: isolate;
}
.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 300ms ease;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(212, 129, 42, 0.18),
    transparent 50%
  );
}
.spotlight-card:hover::before {
  opacity: 1;
}
