/* ========================================
   Los Calchaquies - Modern Redesign
   ======================================== */

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

:root {
  /* Vibrant party palette */
  --primary: #d92b27;
  --primary-light: #ef5350;
  --primary-dark: #b01e1b;
  --secondary: #f59f00;
  --secondary-light: #ffc14d;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --teal: #06b6d4;
  --green: #10b981;

  /* Neutrals */
  --dark: #0f0a1e;
  --dark-2: #1a1333;
  --gray-900: #1e1b2e;
  --gray-800: #2d2844;
  --gray-700: #3d3660;
  --gray-600: #6b6490;
  --gray-400: #9f99b8;
  --gray-300: #c4c0d6;
  --gray-200: #e8e5f0;
  --gray-100: #f4f2f9;
  --gray-50: #faf9fc;
  --white: #ffffff;

  /* Typography */
  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-pad: clamp(60px, 10vw, 120px);

  /* Effects */
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(15, 10, 30, 0.08);
  --shadow: 0 4px 20px rgba(15, 10, 30, 0.1);
  --shadow-lg: 0 12px 40px rgba(15, 10, 30, 0.15);
  --shadow-xl: 0 20px 60px rgba(15, 10, 30, 0.2);
  --shadow-glow: 0 0 40px rgba(217, 43, 39, 0.3);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Floating Decorations
   ======================================== */
.party-decorations {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.decoration {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  animation: float 20s ease-in-out infinite;
}

.decoration-1 {
  width: 300px; height: 300px;
  background: var(--primary);
  top: -100px; right: -50px;
  animation-delay: 0s;
}
.decoration-2 {
  width: 200px; height: 200px;
  background: var(--secondary);
  top: 40%; left: -80px;
  animation-delay: -5s;
  animation-duration: 25s;
}
.decoration-3 {
  width: 150px; height: 150px;
  background: var(--accent);
  bottom: 20%; right: 10%;
  animation-delay: -10s;
  animation-duration: 18s;
}
.decoration-4 {
  width: 250px; height: 250px;
  background: var(--teal);
  top: 60%; right: -100px;
  animation-delay: -3s;
  animation-duration: 22s;
}
.decoration-5 {
  width: 180px; height: 180px;
  background: var(--green);
  bottom: -50px; left: 30%;
  animation-delay: -8s;
  animation-duration: 28s;
}
.decoration-6 {
  width: 120px; height: 120px;
  background: var(--secondary);
  top: 20%; left: 60%;
  animation-delay: -12s;
  animation-duration: 24s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(15px, 30px) scale(1.05); }
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(217, 43, 39, 0.08);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 20px;
}

.logo img {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

.logo:hover img {
  transform: scale(1.05);
}

.nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav a:hover {
  color: var(--primary);
  background: rgba(217, 43, 39, 0.06);
}

.nav a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: var(--radius-full) !important;
  padding: 8px 20px !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 43, 39, 0.3);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 12, 10, 0.6) 0%, rgba(30, 12, 10, 0.35) 55%, rgba(217, 43, 39, 0.25) 100%);
  z-index: 0;
}

.hero-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--white);
  border-color: var(--white);
  transform: scale(1.2);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

#confetti-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 120px 24px 80px;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-line {
  display: block;
}

.hero-accent {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius-full);
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

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

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  display: inline;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  opacity: 0.7;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: var(--white);
  text-align: center;
  opacity: 0.6;
  animation: fadeInUp 1s ease 2s both;
}

.hero-scroll span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  margin: 0 auto;
  position: relative;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 8px; opacity: 1; }
  50% { top: 22px; opacity: 0.3; }
}

/* ========================================
   Reveal Animations
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal[style*="--delay: 1"] { transition-delay: 0.1s; }
.reveal[style*="--delay: 2"] { transition-delay: 0.2s; }
.reveal[style*="--delay: 3"] { transition-delay: 0.3s; }
.reveal[style*="--delay: 4"] { transition-delay: 0.4s; }
.reveal[style*="--delay: 5"] { transition-delay: 0.5s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   Section Headers
   ======================================== */
.section-tag {
  display: inline-block;
  padding: 4px 16px;
  background: linear-gradient(135deg, rgba(217, 43, 39, 0.08), rgba(245, 159, 0, 0.08));
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 500px;
  margin: 0 auto;
}

/* ========================================
   Intro
   ======================================== */
.intro {
  padding: 80px 0;
  background: var(--gray-50);
  position: relative;
  z-index: 1;
}

.intro-content {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  flex-direction: column;
}

.intro-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  color: var(--white);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 43, 39, 0.3); }
  50% { box-shadow: 0 0 0 16px rgba(217, 43, 39, 0); }
}

.intro-text {
  font-size: 1.2rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.intro-text strong {
  color: var(--gray-900);
}

/* ========================================
   Services
   ======================================== */
.services {
  padding: var(--section-pad) 0;
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 20px;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  transform: scale(1.05);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
  flex-grow: 1;
}

.card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .card-link {
  transform: translateX(4px);
}

/* Accent variant */
.service-card--accent {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  color: var(--white);
}

.service-card--accent h3,
.service-card--accent p {
  color: var(--white);
}

.service-card--accent p { opacity: 0.85; }

.service-card--accent .service-icon-wrap {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.service-card--accent:hover .service-icon-wrap {
  background: rgba(255, 255, 255, 0.25);
}

.service-card--accent .card-link {
  color: var(--accent-light);
}

.service-card--accent::before {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

/* Service cards with images */
.service-card--img {
  padding: 0;
  overflow: hidden;
}

.service-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card--img:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-body {
  padding: 24px 28px 28px;
}

.service-card--img .card-link {
  margin-top: 12px;
}

.service-card--img.service-card--accent .service-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(217, 43, 39, 0.7), rgba(91, 33, 182, 0.8));
  z-index: 1;
}

.service-card--img.service-card--accent .service-card-image {
  position: relative;
}

/* ========================================
   Animacion Infantil
   ======================================== */
.infantil {
  padding: var(--section-pad) 0;
  background: var(--gray-50);
  position: relative;
  z-index: 1;
}

.infantil-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.infantil-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.infantil-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(217, 43, 39, 0.2);
}

/* Infantil cards with images */
.infantil-card--img {
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
}

.infantil-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.infantil-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.infantil-card--img:hover .infantil-card-image img {
  transform: scale(1.08);
}

.infantil-card-body {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  width: 100%;
}

.infantil-age {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: var(--radius);
  transition: var(--transition-bounce);
}

.infantil-card:hover .infantil-age {
  transform: rotate(-5deg) scale(1.08);
}

.infantil-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.infantil-info p {
  color: var(--gray-600);
  font-size: 0.85rem;
}

/* ========================================
   Shows
   ======================================== */
.shows {
  padding: var(--section-pad) 0;
  position: relative;
  z-index: 1;
}

.shows-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.show-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.show-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.show-card > * {
  position: relative;
  z-index: 1;
}

.show-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.show-card:hover::after {
  opacity: 1;
}

.show-card:hover .show-icon,
.show-card:hover h3,
.show-card:hover p {
  color: var(--white);
}

.show-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--gray-100);
  border-radius: 50%;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.show-card:hover .show-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1) rotate(5deg);
}

.show-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
  transition: var(--transition);
}

.show-card p {
  color: var(--gray-600);
  font-size: 0.85rem;
  transition: var(--transition);
}

.show-card:hover p {
  opacity: 0.85;
}

/* Show cards with images */
.show-card--img {
  padding: 0;
  text-align: left;
}

.show-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.show-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.show-card--img:hover .show-card-image img {
  transform: scale(1.08);
}

.show-card-body {
  padding: 20px 24px 24px;
  text-align: center;
}

.show-card--img .show-card-body h3,
.show-card--img .show-card-body p {
  transition: var(--transition);
}

.show-card--img:hover .show-card-body h3,
.show-card--img:hover .show-card-body p {
  color: var(--white);
}

/* ========================================
   Kermesses
   ======================================== */
.kermesses {
  padding: var(--section-pad) 0;
  background: var(--gray-50);
  position: relative;
  z-index: 1;
}

.kermesses-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.kermesse-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.kermesse-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.kermesse-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.kermesse-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.kermesse-card:hover .kermesse-image img {
  transform: scale(1.08);
}

.kermesse-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  padding: 14px 16px;
  text-align: center;
}

/* ========================================
   Juegos y Actividades
   ======================================== */
.juegos {
  padding: var(--section-pad) 0;
  position: relative;
  z-index: 1;
}

.juegos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.juego-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  height: 240px;
}

.juego-image {
  position: absolute;
  inset: 0;
}

.juego-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.juego-card:hover .juego-image img {
  transform: scale(1.08);
}

.juego-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 10, 30, 0.75) 0%, rgba(15, 10, 30, 0.1) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  transition: var(--transition);
}

.juego-card:hover .juego-info {
  background: linear-gradient(to top, rgba(217, 43, 39, 0.85) 0%, rgba(217, 43, 39, 0.2) 60%, transparent 100%);
}

.juego-info h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

/* ========================================
   Clientes
   ======================================== */
.clientes {
  padding: 64px 0;
  position: relative;
  z-index: 1;
}

.clientes-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.cliente-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: var(--transition);
}

.cliente-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.cliente-item img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

/* ========================================
   Gallery
   ======================================== */
.gallery {
  padding: var(--section-pad) 0;
  background: var(--gray-50);
  position: relative;
  z-index: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 10, 30, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  transform: translateY(10px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

/* ========================================
   Marquee
   ======================================== */
.marquee-section {
  padding: 32px 0;
  background: var(--dark);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.marquee-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  flex-shrink: 0;
}

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

/* ========================================
   CTA
   ======================================== */
.cta {
  padding: var(--section-pad) 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease-in-out infinite;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cta-content {
  position: relative;
  text-align: center;
  color: var(--white);
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 550px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: 72px 0 0;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.6;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--white);
  transform: translateX(4px);
  display: inline-block;
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ========================================
   Page Hero (internal pages)
   ======================================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 120px 0 60px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* Page Content */
.page-content {
  padding: 60px 0;
}

.page-content p {
  margin-bottom: 15px;
  line-height: 1.8;
}

/* Cards grid for internal pages */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card-body {
  padding: 25px;
}

.card-body h3 {
  font-family: var(--font-display);
  color: var(--gray-900);
  margin-bottom: 10px;
}

.card-body p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* Clients grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  align-items: center;
  margin-top: 30px;
}

.client-logo {
  background: var(--gray-100);
  padding: 30px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-700);
  text-align: center;
  transition: var(--transition);
}

.client-logo:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-800);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 43, 39, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(217, 43, 39, 0.3);
}

/* Contact info section */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
  padding-top: 50px;
  border-top: 1px solid var(--gray-200);
}

.contact-info-item h3 {
  font-family: var(--font-display);
  color: var(--gray-900);
  margin-bottom: 10px;
}

.contact-info-item p {
  color: var(--gray-600);
}

.contact-info-item a {
  color: var(--primary);
}

.contact-info-item a:hover {
  text-decoration: underline;
}

/* Features list */
.features-list {
  list-style: none;
  margin-top: 20px;
}

.features-list li {
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  border-bottom: 1px solid var(--gray-100);
}

.features-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shows-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .juegos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    padding: 16px;
  }

  .nav.open {
    display: block;
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .nav a {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .hero-content {
    padding: 100px 20px 60px;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 2rem;
  }

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

  .service-card-image {
    height: 220px;
  }

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

  .shows-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kermesses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .juegos-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .juego-card {
    height: 200px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-item--wide {
    grid-column: span 1;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

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

  .show-card-image {
    height: 180px;
  }

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

  .kermesse-image {
    height: 180px;
  }

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

  .juego-card {
    height: 180px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .clientes-grid {
    gap: 24px;
  }

  .cliente-item img {
    max-height: 40px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   Card detail modal (juegos)
   ======================================== */
.card--has-detail {
  cursor: pointer;
}

.card-more {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.card--has-detail:hover .card-more {
  text-decoration: underline;
}

.card-detail {
  display: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 12, 48, 0.75);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}

.modal-backdrop.open .modal {
  transform: translateY(0) scale(1);
}

.modal-img {
  min-height: 300px;
  background: var(--gray-100);
}

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

.modal-body {
  padding: 36px 32px;
  overflow-y: auto;
  max-height: 90vh;
}

.modal-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 16px;
  padding-right: 32px;
}

.modal-body p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.modal-body strong {
  color: var(--gray-900);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gray-900);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 1;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--primary);
  color: var(--white);
}

@media (max-width: 768px) {
  .modal {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .modal-img {
    min-height: 0;
    max-height: 40vh;
  }

  .modal-img img {
    max-height: 40vh;
  }

  .modal-body {
    padding: 24px 20px;
    max-height: none;
  }
}

/* ========================================
   Franja Brocos
   ======================================== */
.brocos {
  padding: 48px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.brocos-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.brocos-logo img {
  max-height: 90px;
  width: auto;
  object-fit: contain;
}

.brocos-text {
  max-width: 420px;
  text-align: center;
}

.brocos-text h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.brocos-text p {
  color: var(--gray-600);
}

.brocos-foto img {
  max-height: 140px;
  width: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

@media (max-width: 768px) {
  .brocos-inner {
    gap: 24px;
  }
}

/* Anclas bajo el header fijo */
section[id] {
  scroll-margin-top: 90px;
}
