/* ================================================================
   LA JUGADA MAESTRA - Dark Sports Luxury — FIFA World Cup 2026
   Concepto: Estadio de fútbol de noche + rueda de negocios premium
   Identidad visual FIFA WC 2026 + elegancia ejecutiva de alto nivel
   ================================================================ */

/* ==================== 1. VARIABLES Y RESET ==================== */
:root {
  --bg: #040806;          /* negro con tinte verde muy oscuro */
  --bg-2: #070D09;        /* fondo alternativo secciones */
  --bg-3: #0A1410;        /* fondo más claro */
  --green: #00A84B;       /* VERDE PRINCIPAL — como el césped FIFA */
  --green-bright: #00C957; /* verde brillante para acentos */
  --green-dim: #005C28;   /* verde oscuro / sombras */
  --green-glow: rgba(0,168,75,0.15);
  --gold: #C9A84C;        /* dorado — color secundario/trofeo */
  --gold-light: #E8C877;
  --gold-dim: #8B6914;
  --white: #FFFFFF;
  --off-white: #EFF5EF;   /* blanco con tinte muy leve verde */
  --gray-1: #7A8A7A;      /* gris con tinte verde */
  --gray-2: #3A4A3A;
  --gray-3: #1E2E1E;      /* gris oscuro con tinte verde */
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--green-dim);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--green);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--green-dim) var(--bg);
}

/* Seleccion de texto en verde */
::selection {
  background: rgba(0, 168, 75, 0.35);
  color: var(--white);
}

::-moz-selection {
  background: rgba(0, 168, 75, 0.35);
  color: var(--white);
}

/* ==================== 2. CURSOR PERSONALIZADO ==================== */
#customCursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--green-bright);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  mix-blend-mode: screen;
  box-shadow: 0 0 8px var(--green), 0 0 16px rgba(0,168,75,0.3);
}

#customCursor::after {
  content: '';
  position: absolute;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 168, 75, 0.35);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s;
}

#customCursor.is-hovering {
  width: 10px;
  height: 10px;
  background: var(--green);
}

#customCursor.is-hovering::after {
  width: 56px;
  height: 56px;
  border-color: rgba(0, 168, 75, 0.7);
}

@media (hover: none) {
  #customCursor {
    display: none;
  }
  body {
    cursor: auto;
  }
}

/* ==================== 3. PROGRESS BAR ==================== */
#progressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--green-dim), var(--green), var(--green-bright));
  z-index: 10000;
  transition: width 100ms linear;
  box-shadow: 0 0 10px var(--green), 0 0 24px rgba(0,168,75,0.4);
}

/* ==================== 4. SITE HEADER ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 5%;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              padding 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.hidden {
  transform: translateY(-100%);
}

.site-header.scrolled {
  background: rgba(4, 8, 6, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 5%;
  border-bottom: 1px solid rgba(0, 168, 75, 0.15);
}

.site-logo {
  height: 72px;
  width: auto;
  filter: brightness(1.1);
}

.site-nav {
  display: flex;
  gap: 2.5rem;
}

.site-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray-1);
  transition: color 0.3s;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:hover {
  color: var(--green);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.section-counter {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--green-dim);
}

/* ==================== 5. HERO SECTION ==================== */
.s-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}

/* Círculo central del campo de fútbol */
.s-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(0, 168, 75, 0.08);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  animation: hero-circle-breathe 6s ease-in-out infinite;
}

/* SVG decorativo — círculo de campo flotante */
.hero-field-circle {
  position: absolute;
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  animation: hero-circle-rotate 50s linear infinite;
}

.hero-field-circle svg {
  width: 100%;
  height: 100%;
}

@keyframes hero-circle-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Línea central horizontal del campo en el hero */
.hero-field-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0, 168, 75, 0.06);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  filter: brightness(0.35) saturate(0.8);
  transform: scale(1.05);
  transition: transform 10s ease-out;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  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)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Overlay gradiente vertical con tinte verde — cancha de noche */
.s-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(4, 8, 6, 0.4) 0%,
    rgba(0, 20, 8, 0.2) 30%,
    rgba(4, 8, 6, 0.75) 80%,
    var(--bg) 100%
  );
  animation: hero-breathe 9s ease-in-out infinite;
}

.hero-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Resplandor radial detrás del contenido del hero */
.hero-body::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,168,75,0.07) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  animation: hero-glow-pulse 5s ease-in-out infinite;
}

/* Badge año */
.hero-wc-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 168, 75, 0.35);
  padding: 6px 18px;
  border-radius: 2px;
  margin-bottom: 2rem;
  background: rgba(0, 168, 75, 0.05);
  box-shadow: 0 0 20px rgba(0,168,75,0.08), inset 0 0 20px rgba(0,168,75,0.03);
  animation: badge-glow 4s ease-in-out infinite;
}

.hero-wc-badge-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: var(--green);
  letter-spacing: 4px;
  line-height: 1;
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4.5rem, 12vw, 9rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 2px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1em;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-line > span {
  display: block;
  transform: translateY(110%);
  animation: revealUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-title-line:nth-child(1) > span {
  animation-delay: 0.5s;
}

.hero-title-line:nth-child(2) > span {
  animation-delay: 0.7s;
}

.hero-title-accent {
  font-style: italic;
}

/* El JS envuelve el texto en un span; el gradiente se aplica al span hijo */
.hero-title-accent > span,
.hero-title-accent:not(:has(> span)) {
  background: linear-gradient(135deg, var(--green-dim), var(--green-bright), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  display: inline-block;
}

.hero-divider {
  width: 0;
  height: 1px;
  background: var(--green);
  margin: 2rem auto;
  animation: expandWidth 1s 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-1);
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUp 0.8s 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 1s 2s forwards;
}

.hero-scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-1);
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--green), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

.hero-num {
  position: absolute;
  right: 4%;
  bottom: 8%;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(6rem, 14vw, 12rem);
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 168, 75, 0.1);
  line-height: 1;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  animation: fadeUp 1.5s 0.5s forwards;
  opacity: 0;
}

/* ==================== 6. SECCIONES BASE ==================== */
.s-section {
  position: relative;
  padding: 120px 8%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Arco de esquina decorativo — evoca las esquinas del campo */
.s-section::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: 8%;
  width: 60px;
  height: 60px;
  border-left: 1px solid rgba(0, 168, 75, 0.07);
  border-top: 1px solid rgba(0, 168, 75, 0.07);
  border-top-left-radius: 60px;
  pointer-events: none;
}

.s-section:nth-child(even) {
  background: var(--bg-2);
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 59px,
    rgba(0, 168, 75, 0.015) 59px,
    rgba(0, 168, 75, 0.015) 60px
  );
}

.s-section:nth-child(odd) {
  background: var(--bg);
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 59px,
    rgba(0, 168, 75, 0.015) 59px,
    rgba(0, 168, 75, 0.015) 60px
  );
}

.section-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 3rem;
  display: block;
  position: relative;
  padding-left: 30px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: var(--green);
}

.section-num-bg {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(8rem, 18vw, 16rem);
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 168, 75, 0.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ==================== 7. REVEAL ANIMATIONS (INTERSECCION) ==================== */
.js-reveal {
  opacity: 0;
  transform: translateY(50px);
  filter: blur(6px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1),
              filter 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.js-reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  filter: blur(6px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1),
              filter 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.js-reveal-right {
  opacity: 0;
  transform: translateX(60px);
  filter: blur(6px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1),
              filter 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

/* Stagger delays para multiples elementos */
.js-reveal:nth-child(2) { transition-delay: 0.15s; }
.js-reveal:nth-child(3) { transition-delay: 0.3s; }
.js-reveal:nth-child(4) { transition-delay: 0.45s; }
.js-reveal:nth-child(5) { transition-delay: 0.6s; }
.js-reveal:nth-child(6) { transition-delay: 0.75s; }

/* ==================== 8. EXPECTATIVA ==================== */
.s-expectativa {
  background: var(--bg-2);
}

.exp-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.exp-col--text { }

.exp-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 2rem;
}

.exp-title em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  background: linear-gradient(135deg, var(--green-dim), var(--green-bright), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.exp-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--gray-1);
  margin-bottom: 3rem;
  max-width: 380px;
}

.exp-stat {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-3);
}

.exp-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: var(--green);
  line-height: 1;
}

.exp-stat-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-1);
}

.exp-col--images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: end;
}

.exp-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}

.exp-img-wrap--1 {
  margin-bottom: 60px;
}

.exp-img-wrap--2 {
  margin-top: 60px;
}

.exp-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  filter: brightness(0.75) saturate(0.9);
  transition: filter 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(1.02);
}

.exp-img-wrap:hover img {
  filter: brightness(0.9) saturate(1.1);
  transform: scale(1);
}

/* Destello de luz en hover */
.exp-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    transparent 30%,
    rgba(255, 255, 255, 0.07) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
  pointer-events: none;
  border-radius: 2px;
}

.exp-img-wrap:hover::after {
  transform: translateX(120%);
}

/* Clip-path reveal: la imagen se revela de abajo a arriba */
.exp-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-2);
  z-index: 1;
  transform-origin: bottom;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.exp-img-wrap.is-visible::before {
  transform: scaleY(0);
}

.exp-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(0deg, rgba(4, 8, 6, 0.8), transparent);
  z-index: 3;
}

.exp-img-overlay span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-bright);
}

/* ==================== 9. CIUDADES / CARRUSEL ==================== */
.s-ciudades {
  background: var(--bg);
  padding-bottom: 80px;
}

.ciudades-header {
  max-width: 700px;
  margin: 0 auto 4rem;
  text-align: center;
}

.ciudades-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--white);
}

.ciudades-title em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  background: linear-gradient(135deg, var(--green-dim), var(--green-bright), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ciudades-sub {
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--gray-1);
  margin-top: 1rem;
  text-transform: uppercase;
}

/* Carrusel */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0 60px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 calc(60% - 10px);
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.5s, transform 0.5s, box-shadow 0.5s;
  aspect-ratio: 3 / 4;
}

.carousel-slide.is-active {
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,168,75,0.12), 0 0 40px rgba(0,168,75,0.08);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7);
  transition: filter 0.4s;
}

.carousel-slide.is-active img {
  filter: brightness(0.9) saturate(1.05);
}

/* Shine en slide activo al hacer hover */
.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    transparent 30%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
  pointer-events: none;
}

.carousel-slide:hover::after {
  transform: translateX(120%);
}

.carousel-slide:not(.is-active) {
  opacity: 0.45;
  transform: scale(0.96);
}

.slide-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
}

.carousel-slide.is-active .slide-label {
  opacity: 1;
  transform: translateY(0);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 168, 75, 0.3);
  background: rgba(4, 8, 6, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  color: var(--green);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.carousel-btn:hover {
  background: var(--green);
  color: var(--bg);
  border-color: var(--green);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn--prev {
  left: 0;
}

.carousel-btn--next {
  right: 0;
}

.carousel-progress {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-3);
  margin: 0 80px;
}

.carousel-progress-bar {
  height: 100%;
  background: var(--green);
  width: 14.28%;
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-counter {
  position: absolute;
  bottom: 10px;
  right: 80px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--gray-1);
}

/* ==================== 10. EVENTO ==================== */
.s-evento {
  background: var(--bg-2);
}

.evento-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.evento-media {
  position: relative;
}

.evento-img-main {
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.evento-img-main img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  filter: brightness(0.75);
  transition: filter 0.5s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.evento-img-main:hover img {
  filter: brightness(0.9);
  transform: scale(1.02);
}

.evento-img-main::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 168, 75, 0.15);
  border-radius: 3px;
  pointer-events: none;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.evento-img-main:hover::after {
  border-color: rgba(0, 168, 75, 0.35);
  box-shadow: inset 0 0 40px rgba(0,168,75,0.06);
}

.evento-img-hotel {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  border-radius: 3px;
  overflow: hidden;
  border: 3px solid var(--bg-2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.evento-img-hotel img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  filter: brightness(0.8);
}

.evento-hotel-badge {
  background: var(--green);
  color: var(--bg);
  padding: 8px 12px;
  font-family: 'Montserrat', sans-serif;
}

.evento-hotel-badge span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 400;
}

.evento-hotel-badge strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.evento-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 2rem;
}

.evento-title em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  background: linear-gradient(135deg, var(--green-dim), var(--green-bright), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.evento-body {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--gray-1);
  margin-bottom: 2.5rem;
}

.evento-list {
  list-style: none;
}

.evento-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-3);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--off-white);
}

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

.evento-list-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--green-dim);
  min-width: 30px;
  line-height: 1;
}

/* ==================== 11. KIT DE DECORACIÓN ==================== */
.s-materiales {
  background: var(--bg);
}

/* Cabecera de sección */
.kit-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto 3rem;
  width: 100%;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-3);
}

.kit-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
}

.kit-title em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  background: linear-gradient(135deg, var(--green-dim), var(--green-bright), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.kit-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-1);
  padding-bottom: 0.4rem;
}

/* Bento grid principal */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 270px;
  gap: 12px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Tarjeta base */
.kit-card {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.04);
  transition: border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.kit-card:hover {
  border-color: rgba(0, 168, 75, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0,168,75,0.08);
  transform: translateY(-3px);
  z-index: 2;
}

/* Imagen — posición absoluta para que respete el alto del grid */
.kit-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.6) saturate(0.85);
  transition: filter 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(1.04);
}

.kit-card:hover img {
  filter: brightness(0.82) saturate(1.05);
  transform: scale(1);
}

/* Overlay con degradado y texto */
.kit-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(4, 8, 6, 0.5) 65%,
    rgba(4, 8, 6, 0.9) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: background 0.4s;
}

.kit-card:hover .kit-card-overlay {
  background: linear-gradient(
    180deg,
    transparent 20%,
    rgba(4, 8, 6, 0.4) 60%,
    rgba(4, 8, 6, 0.92) 100%
  );
}

/* Número de pieza */
.kit-card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--green);
  line-height: 1;
  display: block;
  opacity: 0.5;
  transition: opacity 0.35s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateY(6px);
}

.kit-card:hover .kit-card-num {
  opacity: 1;
  transform: translateY(0);
}

/* Nombre de la pieza */
.kit-card-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  display: block;
  margin-top: 4px;
  transform: translateY(8px);
  opacity: 0.7;
  transition: opacity 0.35s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.kit-card:hover .kit-card-name {
  opacity: 1;
  transform: translateY(0);
}

/* Tag extra (solo pieza featured) */
.kit-card-tag {
  display: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}

.kit-card--featured .kit-card-tag {
  display: block;
}

/* Shine sweep en hover */
.kit-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    transparent 30%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 70%
  );
  transform: translateX(-130%);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.kit-card:hover::after {
  transform: translateX(130%);
}

/* Tarjeta featured: Tótem — ocupa 2 cols × 2 filas */
.kit-card--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.kit-card--featured .kit-card-overlay {
  padding: 32px;
}

.kit-card--featured .kit-card-num {
  font-size: 2.8rem;
}

.kit-card--featured .kit-card-name {
  font-size: 1rem;
  letter-spacing: 3px;
  margin-top: 6px;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .kit-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
  }
  .kit-card--featured {
    grid-column: span 2;
    grid-row: span 2;
  }
  .kit-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 700px) {
  .kit-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: 8px;
  }
  .kit-card--featured {
    grid-column: 1 / -1;
    grid-row: span 1;
  }
}

@media (max-width: 480px) {
  .kit-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 170px;
  }
}

/* ==================== 12. FOOTER ==================== */
.s-footer {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  overflow: hidden;
  padding: 100px 5%;
}

.footer-bg-letters {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(12rem, 30vw, 24rem);
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 168, 75, 0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.footer-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 2rem;
  animation: logo-pulse 5s ease-in-out infinite;
}

.footer-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.footer-headline em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  background: linear-gradient(135deg, var(--green-dim), var(--green-bright), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-tagline {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-1);
  margin-bottom: 3rem;
}


.footer-line {
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  height: 1px;
  width: 80px;
  margin: 0 auto 1.5rem;
}

.footer-copy {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: var(--gray-2);
  text-transform: uppercase;
}

/* ==================== 13. LIGHTBOX ==================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(4, 8, 6, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 168, 75, 0.3);
  border-radius: 50%;
  color: var(--green);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.lightbox-close:hover {
  background: var(--green);
  color: var(--bg);
}

.lightbox-inner {
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 3px;
  transform: scale(0.95);
  transition: transform 0.4s;
}

.lightbox.is-open .lightbox-img {
  transform: scale(1);
}

/* ==================== 14. KEYFRAMES ==================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealUp {
  from {
    transform: translateY(110%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.5;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(0.6);
  }
}

@keyframes hero-breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.88; }
}

@keyframes hero-glow-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
  }
}

@keyframes hero-circle-breathe {
  0%, 100% {
    border-color: rgba(0,168,75,0.08);
    box-shadow: none;
  }
  50% {
    border-color: rgba(0,168,75,0.16);
    box-shadow: 0 0 60px rgba(0,168,75,0.04) inset;
  }
}

@keyframes badge-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0,168,75,0.08), inset 0 0 20px rgba(0,168,75,0.03);
    border-color: rgba(0,168,75,0.35);
  }
  50% {
    box-shadow: 0 0 30px rgba(0,168,75,0.16), inset 0 0 20px rgba(0,168,75,0.06);
    border-color: rgba(0,168,75,0.55);
  }
}

@keyframes logo-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 16px rgba(0,168,75,0.28));
  }
  50% {
    filter: drop-shadow(0 0 36px rgba(0,168,75,0.55)) drop-shadow(0 0 60px rgba(0,168,75,0.2));
  }
}

/* ==================== 15. RESPONSIVE ==================== */
@media (max-width: 1100px) {
  .exp-layout {
    grid-template-columns: 1fr;
  }

  .evento-layout {
    grid-template-columns: 1fr;
  }

  .mats-layout {
    grid-template-columns: 1fr;
  }

  .carousel-slide {
    flex-basis: 75%;
  }
}

@media (max-width: 768px) {
  .s-section {
    padding: 80px 5%;
  }

  .site-nav {
    display: none;
  }

  .exp-col--images {
    grid-template-columns: 1fr;
  }

  .exp-img-wrap--1,
  .exp-img-wrap--2 {
    margin: 0;
  }

  .exp-img-wrap img {
    height: 280px;
  }

  .carousel-slide {
    flex-basis: 88%;
  }

  .hero-title {
    font-size: clamp(3rem, 10vw, 5rem);
  }

  .mats-item {
    flex-direction: column;
  }

  .mats-item-img {
    flex: none;
  }

  .mats-item-img img {
    width: 100%;
    height: 200px;
  }

  .mats-item-info {
    padding: 20px;
  }

  .evento-img-hotel {
    position: static;
    width: 100%;
    margin-top: 15px;
  }

  .evento-img-hotel img {
    height: 180px;
    width: 100%;
  }

  .evento-img-main img {
    height: 350px;
  }

  .hero-bg {
    background-attachment: scroll;
  }

  .mats-featured-img img {
    height: 400px;
  }

  body {
    cursor: auto;
  }

  #customCursor {
    display: none;
  }
}

@media (max-width: 480px) {
  .s-hero {
    padding: 0;
  }

  .hero-num {
    display: none;
  }

  .section-num-bg {
    display: none;
  }

  .footer-bg-letters {
    font-size: 8rem;
  }

  .s-section {
    padding: 60px 4%;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .exp-title,
  .ciudades-title,
  .evento-title,
  .mats-title,
  .footer-headline {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .exp-img-wrap img {
    height: 220px;
  }

  .mats-featured-img img {
    height: 300px;
  }

  .evento-img-main img {
    height: 260px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .lightbox-close {
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
  }
}

/* ==================== 16. SOPORTE prefers-reduced-motion ==================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-reveal,
  .js-reveal-left,
  .js-reveal-right {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
