/*
Theme Name: Joselito de la 54
Theme URI: https://joselitodela54.com
Author: Next Level
Description: Tema premium para Joselito de la 54 - Carnaval de Barranquilla
Version: 4.2.0
License: GNU General Public License v2 or later
Text Domain: joselito-theme
Tags: carnival, cultural, modern, premium, responsive, woocommerce
*/

/* =============================================
   LOCAL FONTS
   ============================================= */
@font-face {
  font-family: 'Shrikhand';
  src: url('assets/Shrikhand-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  /* --- OPTION A: CARNAVAL TRADICIONAL (Updated) --- */
  --color-primary: #E60012;
  /* Rojo Carnaval */
  --color-secondary: #F9B233;
  /* Amarillo Carnaval */
  --color-accent: #009640;
  /* Verde Carnaval */
  --color-dark: #1a1a1a;
  --color-light: #ffffff;
  --color-surface: #ffffff;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #888888;
  --color-success: #00e676;
  --color-warning: #ffea00;
  --color-error: #ff1744;

  /* Gradients */
  --gradient-carnaval: linear-gradient(135deg, #E60012 0%, #F9B233 50%, #009640 100%);
  --gradient-overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
  --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  --gradient-text: linear-gradient(to right, #E60012, #F9B233);


  /* Typography */
  --font-display: 'Shrikhand', 'Georgia', serif;
  --font-heading: 'Montserrat', 'Arial Black', sans-serif;
  --font-body: 'Sora', 'Inter', sans-serif;
  --font-accent: 'Bebas Neue', 'Impact', sans-serif;

  /* Spacing */
  --spacing-2xs: 0.25rem;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;
  --spacing-3xl: 8rem;

  /* Effects */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(255, 0, 127, 0.5);
  --shadow-glow-sm: 0 0 20px rgba(255, 0, 127, 0.3);
  --shadow-glow-cyan: 0 0 20px rgba(0, 243, 255, 0.3);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- OPTION B: HERITAGE --- */
body.identity-option-b {
  --color-primary: #D92B2B;
  --color-secondary: #F2C94C;
  --color-accent: #228B22;
  --color-dark: #3E2723;
  --color-light: #F9F7F2;
  --color-surface: #FFFDF8;
  --color-text: #333;
  --color-text-light: #555;
  --gradient-carnaval: linear-gradient(135deg, #D92B2B, #F2C94C);
  --gradient-overlay: linear-gradient(to bottom, rgba(62, 39, 35, 0.2), rgba(62, 39, 35, 0.75));
  --shadow-glow: 0 0 30px rgba(217, 43, 43, 0.3);
}

/* --- OPTION C: ABSTRACTO --- */
body.identity-option-c {
  --color-primary: #FF6B6B;
  --color-secondary: #6B66FF;
  --color-accent: #FFD93D;
  --color-dark: #2D3436;
  --color-light: #FFFFFF;
  --color-surface: #f8f9fa;
  --color-text: #2D3436;
  --color-text-light: #636E72;
  --gradient-carnaval: linear-gradient(45deg, #FF6B6B, #FFD93D, #6B66FF);
  --gradient-overlay: linear-gradient(to bottom, rgba(45, 52, 54, 0.15), rgba(45, 52, 54, 0.7));
  --shadow-glow: 0 0 30px rgba(255, 107, 107, 0.3);
}

/* --- OPTION D: TORO --- */
body.identity-option-d {
  --color-primary: #E63946;
  --color-secondary: #457B9D;
  --color-accent: #F1FAEE;
  --color-dark: #1D3557;
  --color-light: #F1FAEE;
  --color-surface: #fff;
  --color-text: #1D3557;
  --color-text-light: #457B9D;
  --gradient-carnaval: linear-gradient(to right, #E63946, #1D3557);
  --gradient-overlay: linear-gradient(to bottom, rgba(29, 53, 87, 0.3), rgba(29, 53, 87, 0.85));
  --shadow-glow: 0 0 30px rgba(230, 57, 70, 0.3);
}

/* =============================================
   GLOBAL RESET
   ============================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-light);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--spacing-lg);
}

h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

/* Shrikhand display font for special headings */
.display-font,
.hero h1,
.countdown-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
}

p {
  margin-bottom: var(--spacing-md);
  font-size: 1.05rem;
  line-height: 1.8;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
}

a:hover {
  color: var(--color-secondary);
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.4);

}

.section-label {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  margin-bottom: var(--spacing-xs);
  position: relative;
  padding-left: 40px;
}

/* =============================================
   AGENDA SECTION (Dark Bg Fix)
   ============================================= */
#agenda {
  background-color: #f4f4f9 !important;
  position: relative;
}

#agenda .section-header h2 {
  color: var(--color-primary);
}

#agenda .section-header p {
  color: var(--color-text-light);
}

.agenda-note {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 5px;
}

/* Agenda Timeline */
.vertical-timeline {
  position: relative;
  padding: 30px 0;
  max-width: 800px;
  margin: 0 auto;
}

.vertical-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-accent), var(--color-secondary));
  border-radius: 2px;
}

/* Phase Headers */
.phase-header {
  position: relative;
  padding: 12px 0 12px 70px;
  margin: 20px 0 10px;
}

.phase-header span {
  display: inline-block;
  background: var(--gradient-carnaval);
  color: white;
  padding: 8px 24px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* Timeline Items */
.timeline-item {
  position: relative;
  padding: 10px 0 10px 70px;
  transition: all 0.3s ease;
}

.timeline-marker {
  position: absolute;
  left: 22px;
  top: 20px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--color-primary);
  background: white;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-marker.marker-upcoming {
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(234, 44, 98, 0.2), 0 0 10px rgba(234, 44, 98, 0.3);
}

.timeline-marker.marker-past {
  background: #ccc;
  border-color: #aaa;
}

.timeline-content {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Upcoming Events */
.upcoming-event .timeline-content {
  border-left: 4px solid var(--color-primary);
  background: white;
}

/* Past Events */
.past-event .timeline-content {
  opacity: 0.6;
  filter: grayscale(30%);
  border-left: 4px solid #ccc;
}

.past-event:hover .timeline-content {
  opacity: 0.85;
  filter: grayscale(0%);
}

/* Date Badge */
.timeline-date-badge {
  margin-bottom: 8px;
}

.event-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-badge.upcoming {
  background: linear-gradient(135deg, #FF6B6B, #ee5a24);
  color: white;
}

.event-badge.past {
  background: #e0e0e0;
  color: #888;
}

/* Day Label */
.day-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  padding: 4px 0;
}

/* Timeline Info */
.timeline-info .time {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 6px;
}

.timeline-info .time .material-icons-round {
  font-size: 1rem;
}

.timeline-info h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: var(--color-dark);
}

.timeline-info .location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0;
}

.timeline-info .location .material-icons-round {
  font-size: 1rem;
  color: var(--color-primary);
}

/* Hidden class for toggle */
.agenda-hidden {
  display: none !important;
}

/* Toggle button active state */
#toggle-full-calendar.showing-all {
  background: var(--gradient-carnaval);
  color: white;
  border-color: transparent;
}

/* Timeline Collapse/Expand Animation */
.vertical-timeline.timeline-collapsed {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
  transition: max-height 0.5s ease-in-out, opacity 0.3s ease, padding 0.3s ease;
}

.vertical-timeline {
  transition: max-height 0.5s ease-in-out, opacity 0.3s ease;
}

.agenda-controls .btn-sm {
  font-size: 0.85rem;
  padding: 8px 20px;
}

/* News Source Badge */
.card-img {
  position: relative;
  overflow: hidden;
}

.news-source-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}


/* Responsive fixes for header at zoom */
@media (max-width: 1200px) {
  .main-navigation a {
    font-size: 0.72rem;
    padding: 6px 6px;
  }

  .main-navigation ul {
    gap: 8px;
  }

  .nav-cta {
    padding: 6px 16px !important;
    font-size: 0.72rem !important;
  }

  .foundation-icon {
    max-height: 70px;
  }

  .foundation-text {
    max-height: 65px;
  }
}

@media (max-width: 991px) {
  .main-navigation {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .vertical-timeline::before {
    left: 15px;
  }

  .timeline-item {
    padding-left: 45px;
  }

  .timeline-marker {
    left: 7px;
    width: 16px;
    height: 16px;
  }

  .phase-header {
    padding-left: 45px;
  }

  .day-group-header {
    margin-left: 45px;
  }
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-3xl) 0;
  position: relative;
}

.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.flex {
  display: flex;
  gap: var(--spacing-md);
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--gradient-carnaval);
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md), 0 0 15px rgba(255, 107, 107, 0.3);
  /* Initial subtle glow */
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-size: 200% auto;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
  z-index: -1;
}

.btn:hover::before {
  width: 400px;
  height: 400px;
}

.btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 107, 107, 0.6);
  /* Stronger glow */
  color: white;
  border-color: transparent;
  background-position: right center;
  /* Gradient animation */
}

.btn:active {
  transform: translateY(-1px) scale(1.01);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--gradient-carnaval);
  border-color: transparent;
  color: white;
}

.btn-white {
  background: white;
  color: var(--color-dark);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  color: var(--color-primary);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* =============================================
   CARDS (Glassmorphism)
   ============================================= */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  height: 260px;
  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.1);
}

.card-content {
  padding: var(--spacing-md) var(--spacing-lg);
}

.card-glass {
  background: var(--gradient-glass);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.card-glass:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), var(--shadow-glow-sm);
}

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: var(--color-dark);
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--color-text-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar a {
  color: var(--color-text-light);
}

.top-bar a:hover {
  color: var(--color-primary);
}

.top-bar .social-icons {
  display: flex;
  gap: 12px;
}

.top-bar .social-icons a {
  font-size: 1rem;
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
.site-header {
  position: absolute;
  top: 40px;
  /* Below top-bar */
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: all var(--transition-normal);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  /* gradient for contrast */
}

.site-header.scrolled {
  position: fixed;
  top: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1001;
  text-decoration: none;
}

.site-logo-container img {
  height: auto;
  transition: transform var(--transition-smooth);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.main-logo {
  max-height: 95px;
  width: auto;
  transition: transform 0.3s ease;
}

.foundation-icon {
  max-height: 100px;
  width: auto;
  margin-left: 4px;
}

.foundation-text {
  max-height: 110px;
  width: auto;
  display: none;
  margin-left: -4px;
}

@media (min-width: 992px) {
  .foundation-text {
    display: block;
  }
}

.site-logo-container:hover .main-logo {
  transform: scale(1.1);
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.main-navigation a {
  font-weight: 600;
  font-size: 0.8rem;
  padding: 8px 10px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;

  /* Always-on fluid color animation */
  background: linear-gradient(90deg, #FF6B6B, #FFD93D, #6B66FF, #00F3FF, #FF6B6B);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fluidText 3s linear infinite;
}

/* Fluid Menu Animation - Moving Gradient */
@keyframes fluidText {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

.main-navigation a:hover {
  animation: fluidText 1.2s linear infinite;
  filter: brightness(1.3) drop-shadow(0 0 6px rgba(255, 107, 107, 0.5));
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-carnaval);
  transition: all 0.4s ease;
  transform: translateX(-50%);
  opacity: 0;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
  width: 80%;
  opacity: 1;
}

.nav-cta {
  background: var(--gradient-carnaval) !important;
  -webkit-text-fill-color: white !important;
  color: white !important;
  border-radius: 50px !important;
  padding: 8px 22px !important;
  font-size: 0.8rem !important;
  box-shadow: 0 4px 15px rgba(255, 0, 85, 0.4);
  background-size: 200% auto;
  transition: all 0.4s ease !important;
  animation: none !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background-position: right center !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(255, 0, 85, 0.6);
  -webkit-text-fill-color: white !important;
}

.nav-user-icon {
  display: flex;
  align-items: center;
  color: white;
  font-size: 1.5rem;
  margin-left: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.nav-user-icon:hover {
  transform: rotate(10deg) scale(1.1);
  color: var(--color-accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 8px;
  z-index: 10001;
  /* Above overlay */
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
  color: var(--color-accent);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(30px);
  z-index: 9999;
  transition: right var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.mobile-nav-overlay.active {
  right: 0;
}

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
}

.mobile-nav-overlay a {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  padding: 16px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color var(--transition-fast);
}

.mobile-nav-overlay a:hover {
  color: var(--color-primary);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 85vh;
  /* Reduced from 100vh */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-dark);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 40%, rgba(255, 0, 153, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 240, 255, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 55%;
  text-align: left;
  padding: var(--spacing-xl) 0;
}

.hero h1 {
  color: white;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: var(--spacing-sm);
}

.hero h1 span {
  background: var(--gradient-carnaval);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  margin-left: 0;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-cartel {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 45%;
}

.hero-cartel img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
  transform: rotate(2deg);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.hero-cartel:hover img {
  transform: rotate(0) scale(1.15);
  z-index: 10;
}

@media (max-width: 991px) {
  .hero-container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    /* Header space */
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    order: 2;
    /* Content below cartel on mobile? Or above? Let's try content below to show image first? No, Title first usually. */
    order: 1;
  }

  .hero-cartel {
    max-width: 80%;
    justify-content: center;
    order: 2;
    margin-top: var(--spacing-md);
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: white;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: float 2s ease-in-out infinite;
}

.hero-scroll .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, white, transparent);
}

/* =============================================
   COUNTDOWN
   ============================================= */
.countdown-section {
  background: var(--color-dark);
  padding: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-carnaval);
  opacity: 0.08;
}

.countdown-title {
  color: white;
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.countdown {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.countdown-item {
  text-align: center;
  min-width: 100px;
}

.countdown-item .cd-value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  color: white;
  line-height: 1;
  background: var(--gradient-carnaval);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.countdown-item .cd-label {
  color: var(--color-text-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 8px;
}

.countdown-live {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-accent);
  text-align: center;
  animation: pulse 1.5s ease-in-out infinite;
}

/* =============================================
   STATS
   ============================================= */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: var(--spacing-2xl);
  flex-wrap: wrap;
  padding: var(--spacing-xl) 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
#nosotros {
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}



.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transform: rotate(-2deg);
}



.about-text {
  padding-left: var(--spacing-lg);
}

.read-more-link {
  font-weight: 700;
  border-bottom: 2px solid var(--color-secondary);
  display: inline-block;
  margin-top: var(--spacing-sm);
  transition: all var(--transition-fast);
}

.read-more-link:hover {
  border-color: var(--color-primary);
}

/* =============================================
   GALLERY SECTION
   ============================================= */
.gallery-section {
  background: linear-gradient(to bottom, var(--color-dark), #000);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.12);
}

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-md);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

/* =============================================
   SHOP / TIENDA SECTION
   ============================================= */
.shop-section {
  background: var(--color-surface);
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
}

/* =============================================
   NEWS SECTION
   ============================================= */
#noticias {
  background: var(--color-surface);
}

.news-card .card-content .news-date {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 700;
}

.news-card .card-content h3 {
  font-size: 1.15rem;
  margin: 8px 0;
}

.news-card .card-content h3 a {
  color: var(--color-text);
}

.news-card .card-content h3 a:hover {
  color: var(--color-primary);
}

/* =============================================
   SPONSORS
   ============================================= */
.sponsors-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sponsors-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2xl);
  flex-wrap: wrap;
}

.sponsors-grid img {
  max-height: 50px;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.5;
  transition: all var(--transition-smooth);
}

.sponsors-grid img:hover {
  filter: none;
  opacity: 1;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: var(--gradient-carnaval);
  padding: var(--spacing-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}



.cta-section h2 {
  color: white;
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section {
  background: var(--color-surface);
}

.contact-form-wrapper {
  max-width: 600px;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 0, 153, 0.15);
}

.form-control::placeholder {
  color: var(--color-text-muted);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.contact-message,
.nl-message {
  margin-top: var(--spacing-sm);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.contact-message.success,
.nl-message.success {
  display: block;
  background: rgba(0, 200, 83, 0.15);
  color: var(--color-success);
}

.contact-message.error,
.nl-message.error {
  display: block;
  background: rgba(255, 23, 68, 0.15);
  color: var(--color-error);
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-embed iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--color-dark);
  color: var(--color-text-light);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-carnaval);
}

.footer-widget h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.footer-widget h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-carnaval);
  border-radius: 2px;
}

.footer-widget p,
.footer-widget a {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.footer-widget a:hover {
  color: var(--color-primary);
}

.footer-widget ul {
  list-style: none;
  padding: 0;
}

.footer-widget li {
  margin-bottom: 10px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: var(--spacing-md);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--gradient-carnaval);
  transform: translateY(-3px);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: var(--spacing-sm);
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-family: var(--font-body);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
  padding: 12px 20px;
  white-space: nowrap;
}

.site-info {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 9998;
  transition: all var(--transition-smooth);
  animation: pulse-wa 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  fill: white;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-dark);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

@keyframes pulse-wa {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 15px rgba(37, 211, 102, 0.1);
  }
}

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
.scroll-reveal,
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed,
.animate-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for sequential reveal */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

/* =============================================
   HEADER HIDDEN (on scroll down)
   ============================================= */
.site-header.header-hidden {
  transform: translateY(-100%);
}

/* =============================================
   FORM MESSAGE (JS feedback)
   ============================================= */
.form-message {
  margin-top: var(--spacing-sm);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--gradient-carnaval);
  border: none;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-smooth);
  z-index: 997;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.1);
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--color-primary);
}

/* =============================================
   LOGIN PAGE
   ============================================= */
.login-container {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.login-hero {
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-2xl);
}

.login-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-overlay);
}

.login-hero-content {
  position: relative;
  z-index: 1;
  color: white;
}

.login-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--spacing-2xl);
  background: var(--color-dark);
}

.login-box h2 {
  color: white;
  font-family: var(--font-display);
  margin-bottom: var(--spacing-xs);
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: var(--spacing-lg);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.auth-tab {
  padding: 12px 24px;
  background: none;
  border: none;
  color: var(--color-text-light);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.auth-tab.active {
  color: var(--color-primary);
}

.auth-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-carnaval);
}

.auth-panel {
  display: none;
}

.auth-panel.active {
  display: block;
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 {
  transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
  transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
  transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
  transition-delay: 0.4s;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes float {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: heroFadeUp 0.8s ease-out both;
}

.hero h1 {
  animation: heroFadeUp 0.8s ease-out 0.15s both;
}

.hero p {
  animation: heroFadeUp 0.8s ease-out 0.3s both;
}

.hero-buttons {
  animation: heroFadeUp 0.8s ease-out 0.45s both;
}


/* =============================================
   INTERACTIVE PHOTO GALLERY (Masonry)
   ============================================= */
.photo-gallery-section {
  background: linear-gradient(135deg, var(--color-dark) 0%, #000 50%, var(--color-dark) 100%);
  position: relative;
  overflow: hidden;
}

.photo-gallery-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 0, 153, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.masonry-gallery {
  columns: 4;
  column-gap: 12px;
  position: relative;
  z-index: 1;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.masonry-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 40px rgba(255, 0, 153, 0.25);
  z-index: 2;
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform var(--transition-slow), filter var(--transition-smooth);
  filter: brightness(0.85);
}

.masonry-item:hover img {
  transform: scale(1.12);
  filter: brightness(1.05);
}

.masonry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.masonry-item:hover .masonry-overlay {
  opacity: 1;
}

.masonry-overlay h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 4px;
  transform: translateY(10px);
  transition: transform var(--transition-smooth);
}

.masonry-overlay span {
  color: var(--color-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: translateY(10px);
  transition: transform var(--transition-smooth) 0.05s;
}

.masonry-item:hover .masonry-overlay h4,
.masonry-item:hover .masonry-overlay span {
  transform: translateY(0);
}

/* Masonry icon zoom indicator */
.masonry-zoom-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  opacity: 0;
  transform: scale(0.5);
  transition: all var(--transition-fast);
}

.masonry-item:hover .masonry-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* =============================================
   BREADCRUMBS
   ============================================= */
.breadcrumbs {
  padding: 12px 0;
  background: var(--color-surface);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  margin-top: 80px;
}

.breadcrumbs a {
  color: var(--color-text-light);
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

.bc-sep {
  margin: 0 8px;
  color: var(--color-text-muted);
}

/* =============================================
   STICKY MOBILE CTA BAR
   ============================================= */
.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9997;
  background: var(--color-dark);
  border-top: 2px solid;
  border-image: var(--gradient-carnaval) 1;
  padding: 8px;
  gap: 8px;
  backdrop-filter: blur(20px);
}

.sticky-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.sticky-cta-buy {
  background: var(--gradient-carnaval);
  color: white;
}

.sticky-cta-wa {
  background: #25D366;
  color: white;
}

.sticky-cta-btn:hover {
  transform: scale(1.02);
  color: white;
}

/* =============================================
   BUTTON RIPPLE EFFECT
   ============================================= */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Loading spinner for buttons */
.btn.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

/* =============================================
   HONEYPOT (invisible to humans)
   ============================================= */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}

/* =============================================
   RESPONSIVE - ENHANCED
   ============================================= */

/* Large Desktop */
@media (min-width: 1440px) {
  .container {
    max-width: 1440px;
  }

  .hero h1 {
    font-size: 5.5rem;
  }

  .masonry-gallery {
    columns: 5;
  }
}

@media (max-width: 1280px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  .masonry-gallery {
    columns: 4;
  }
}

@media (max-width: 1024px) {
  .section {
    padding: var(--spacing-2xl) 0;
  }

  .stats-bar {
    gap: var(--spacing-lg);
  }

  .masonry-gallery {
    columns: 3;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding: var(--spacing-md);
  }

  /* Disable video on mobile to save data */
  .hero-video {
    display: none;
  }

  .hero {
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
  }

  .main-navigation {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .countdown {
    gap: var(--spacing-md);
  }

  .countdown-item .cd-value {
    font-size: 2.5rem;
  }

  .stats-bar {
    gap: var(--spacing-lg);
  }

  .login-container {
    grid-template-columns: 1fr;
  }

  .login-hero {
    display: none;
  }

  .about-text {
    padding-left: 0;
    margin-top: var(--spacing-lg);
  }

  .sponsors-grid {
    gap: var(--spacing-lg);
  }

  .newsletter-form {
    flex-direction: column;
  }

  .top-bar {
    display: none;
  }

  .masonry-gallery {
    columns: 2;
    column-gap: 8px;
  }

  .masonry-item {
    margin-bottom: 8px;
  }

  /* Show sticky CTA bar on mobile */
  .sticky-cta-bar {
    display: flex;
  }

  .whatsapp-float {
    bottom: 80px;
  }

  .back-to-top {
    bottom: 150px;
  }

  /* Touch-friendly hit areas (48px min) */
  .btn {
    min-height: 48px;
  }

  .footer-social a {
    width: 48px;
    height: 48px;
  }

  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 56px;
    height: 56px;
  }

  .breadcrumbs {
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.85rem;
  }

  .card-img {
    height: 200px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
  }

  .back-to-top {
    bottom: 140px;
    right: 22px;
  }

  .masonry-gallery {
    columns: 2;
    column-gap: 6px;
  }

  .masonry-item {
    margin-bottom: 6px;
    border-radius: var(--radius-sm);
  }

  .masonry-overlay {
    padding: 12px;
  }

  .masonry-overlay h4 {
    font-size: 0.85rem;
  }

  .sticky-cta-btn {
    padding: 12px;
    font-size: 0.8rem;
  }
}

/* iPhone SE and small phones */
@media (max-width: 375px) {
  html {
    font-size: 13px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }

  .masonry-gallery {
    columns: 1;
  }
}

/* =============================================
   ACCESSIBILITY
   ============================================= */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

*:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: white;
  padding: 8px 16px;
  z-index: 100000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* =============================================
   PRINT
   ============================================= */
@media print {

  .site-header,
  .site-footer,
  .whatsapp-float,
  .back-to-top,
  .mobile-nav-overlay,
  .lightbox-overlay,
  .sticky-cta-bar {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .hero {
    min-height: auto;
    padding: 20px;
  }
}

/* =============================================
   FLOW ANIMATIONS (Nanobanana Style)
   ============================================= */
.product-card .card-img {
  overflow: hidden;
}

.product-card .card-img img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .card-img img {
  transform: scale(1.1) rotate(2deg);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* News Card Flow */
.news-card:hover .card-img img {
  transform: scale(1.05);
}

/* HERO SECTION UPGRADES */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* VERTICAL TIMELINE (NEON STYLE) */
.vertical-timeline {
  position: relative;
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px 0;
}

.vertical-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.timeline-month-badge {
  text-align: center;
  margin: 40px 0;
  position: relative;
  z-index: 2;
}

.glass-badge {
  background: rgba(255, 0, 127, 0.2);
  border: 1px solid rgba(255, 0, 127, 0.5);
  padding: 8px 24px;
  border-radius: 50px;
  color: white;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 60px;
}

.timeline-marker {
  position: absolute;
  left: 11px;
  top: 24px;
  width: 20px;
  height: 20px;
  background: var(--color-dark);
  border: 2px solid var(--color-secondary);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 10px var(--color-secondary);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
  background: var(--color-secondary);
  box-shadow: 0 0 20px var(--color-secondary), 0 0 40px var(--color-secondary);
}

.timeline-content {
  padding: 24px;
  border-radius: var(--radius-md);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-right: 20px;
  min-width: 70px;
  float: left;
}

.timeline-date .day {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  color: white;
}

.timeline-date .month {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-secondary);
  font-weight: 700;
}

.timeline-info h3 {
  margin: 0 0 8px 0;
  font-size: 1.3rem;
  background: var(--gradient-carnaval);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.timeline-info .time,
.timeline-info .location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.timeline-info .material-icons-round {
  font-size: 18px;
  color: var(--color-primary);
}

/* Desktop Timeline */
@media (min-width: 768px) {
  .vertical-timeline::before {
    left: 50%;
    margin-left: -1px;
  }

  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-right: 60px;
    margin-left: 0;
  }

  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 60px;
  }

  .timeline-item:nth-child(even) .timeline-marker {
    left: -11px;
  }

  .timeline-item:nth-child(odd) .timeline-marker {
    left: auto;
    right: -11px;
  }

  .timeline-item:nth-child(even) .timeline-date {
    float: left;
    margin-right: 20px;
    margin-left: 0;
  }

  .timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
  }

  .timeline-item:nth-child(odd) .timeline-date {
    float: right;
    margin-left: 20px;
    margin-right: 0;
  }

  .timeline-item:nth-child(odd) .timeline-info .time,
  .timeline-item:nth-child(odd) .timeline-info .location {
    justify-content: flex-end;
  }
}


@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    margin-left: -1px;
  }

  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-right: 40px;
    margin-left: 0;
  }

  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 40px;
  }

  .timeline-item::before {
    left: auto;
    right: -11px;
  }

  .timeline-item:nth-child(even)::before {
    left: -11px;
    right: auto;
  }

  .timeline-month {
    text-align: center;
    padding-left: 0;
  }
}

/* =============================================
   DONATIONS SECTION
   ============================================= */
.donations-section {
  background: var(--color-light);
  overflow: hidden;
}

.donation-content h2 span {
  background: var(--gradient-carnaval);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.donation-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
  margin: 30px 0;
}

.tier-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tier-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary);
}

.tier-card.best-value {
  background: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(234, 44, 98, 0.3);
}

.tier-card.best-value:hover {
  transform: scale(1.08) translateY(-5px);
}

.tier-card h3 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.tier-card .amount {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.tier-card.best-value .amount,
.tier-card.best-value h3 {
  color: white;
}

.donation-note {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 25px;
}

.donation-image {
  position: relative;
  padding: 20px;
}

.donation-image .image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: rotate(2deg);
  transition: transform 0.5s ease;
}

.donation-image:hover .image-wrapper {
  transform: rotate(0);
}

.donation-image img {
  width: 100%;
  height: auto;
  display: block;
}

.badge-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  color: var(--color-dark);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

@media (max-width: 768px) {
  .tier-card.best-value {
    transform: scale(1);
  }
}

/* =============================================
   WOOCOMMERCE CART & CHECKOUT
   ============================================= */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.woocommerce table.shop_table {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.woocommerce table.shop_table th {
  background: var(--color-light);
  padding: 15px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--color-dark);
}

.woocommerce table.shop_table td {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 15px;
  vertical-align: middle;
}

.woocommerce-cart-form__cart-item .product-thumbnail img {
  border-radius: 8px;
  width: 80px;
}

.product-name a {
  color: var(--color-dark);
  font-weight: 700;
  text-decoration: none;
}

.product-name a:hover {
  color: var(--color-primary);
}

.cart_totals {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
}

.cart_totals h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 10px;
  display: inline-block;
}

.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: 30px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: #fff;
  border-top: 3px solid var(--color-primary);
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  display: none;
}

.button.alt {
  background: var(--gradient-carnaval) !important;
  color: white !important;
  border-radius: 50px !important;
  padding: 15px 30px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border: none !important;
  transition: all 0.3s ease !important;
}

.button.alt:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(234, 44, 98, 0.4);
}

/* Wompi / Payment Gateways */
.payment_methods li {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.payment_methods li.payment_method_wompi img {
  max-height: 30px;
  margin-left: 10px;
}

/* =============================================
   HERO BRANDING (New)
   ============================================= */
.hero {
  position: relative;
}

.hero-branding {
  position: absolute;
  top: 30px;
  /* "Casi la esquina" */
  left: 40px;
  z-index: 20;
  display: flex;
  /* keep row as requested "closer together" implies side-by-side or stacked? usually logo + text side-by-side */
  flex-direction: row;
  align-items: center;
  gap: 15px;
  /* "mas juntos" */
}

.hero-logo {
  width: 140px;
  /* "mas grande" */
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.hero-text {
  width: 280px;
  /* "mas grande" */
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
  margin-left: -15px;
  /* "mas juntos" - negative margin to pull closer */
}

/* Adjust header layout now that logo is gone */
.site-header .container {
  justify-content: flex-end !important;
}

@media (min-width: 1200px) {
  .site-header {
    padding-top: 20px;
  }
}

/* Responsive Branding */
@media (max-width: 992px) {
  .hero-branding {
    top: 20px;
    left: 20px;
    gap: 10px;
  }

  .hero-logo {
    width: 100px;
  }

  .hero-text {
    width: 200px;
  }
}

@media (max-width: 576px) {
  .hero-branding {
    top: 15px;
    left: 15px;
    gap: 5px;
  }

  .hero-logo {
    width: 60px;
  }

  .hero-text {
    width: 120px;
  }
}