/* ==========================================================================
   URUAPLAN - Official Brand Color Palette (Based on Uruaplan Logos)
   ========================================================================== */

:root {
  /* Brand Color Palette - Deep Emerald, Electric Lime & Warm Gold */
  --bg-dark: #03140a;
  --bg-dark-secondary: #062213;
  --bg-card: rgba(6, 34, 19, 0.85);
  --bg-card-hover: rgba(10, 50, 27, 0.95);
  --bg-glass: rgba(163, 230, 53, 0.05);

  /* Logo Derived Colors */
  --brand-pine-dark: #00381e;
  --brand-lime: #a3e635;
  --brand-lime-light: #befa6e;
  --brand-gold: #facc15;
  --brand-gold-warm: #f0dc78;
  --brand-terracotta: #d97706;
  --neon-green: #25d366;
  /* WhatsApp brand */

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #072e18 0%, #03140a 65%, #082415 100%);
  --grad-primary: linear-gradient(135deg, #a3e635 0%, #facc15 100%);
  --grad-accent: linear-gradient(90deg, #befa6e, #facc15);
  --grad-card-border: linear-gradient(135deg, rgba(163, 230, 53, 0.4), rgba(250, 204, 21, 0.4));

  /* Text colors */
  --text-main: #ffffff;
  --text-muted: #c3d9cc;
  --text-dim: #7da18c;

  /* Typography & Layout */
  --font-family: 'Plus Jakarta Sans', 'Outfit', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Shadows & Glows */
  --glow-lime: 0 0 25px rgba(163, 230, 53, 0.45);
  --glow-gold: 0 0 25px rgba(250, 204, 21, 0.45);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.6);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Brand Glow Effects */
body::before {
  content: '';
  position: fixed;
  top: -10vw;
  right: -10vw;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: -10vw;
  left: -10vw;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  line-height: 1.2;
}

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-lime {
  color: var(--brand-lime);
}

.text-gold {
  color: var(--brand-gold);
}

/* Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
  }
}

/* Header & Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: rgba(3, 20, 10, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(163, 230, 53, 0.1);
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(3, 20, 10, 0.95);
  border-bottom-color: rgba(163, 230, 53, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* El PNG del logo es cuadrado (1080x1080) y la marca ocupa solo la franja
   central (x 131-954, y 337-595). Se recorta ese encuadre con overflow y
   offsets proporcionales, para que la caja del logo sea exactamente la marca
   visible y quede centrada en la barra. --logo-w = ancho visible. */
.logo-wrapper {
  --logo-w: 120px;
  display: block;
  position: relative;
  flex: 0 0 auto;
  width: var(--logo-w);
  height: calc(var(--logo-w) * 259 / 824);
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition);
  filter: drop-shadow(0 0 8px rgba(163, 230, 53, 0.2));
}

.logo-img {
  position: absolute;
  top: calc(var(--logo-w) * -337 / 824);
  left: calc(var(--logo-w) * -131 / 824);
  width: calc(var(--logo-w) * 1080 / 824);
  height: auto;
  max-width: none;
  display: block;
}

.logo-wrapper:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(163, 230, 53, 0.5));
}

.footer .logo-wrapper {
  --logo-w: 150px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  transition: var(--transition);
  border-radius: var(--radius-full);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--grad-primary);
  color: #03140a;
  box-shadow: var(--glow-lime);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 35px rgba(163, 230, 53, 0.75);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(250, 204, 21, 0.4);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(250, 204, 21, 0.15);
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  transform: translateY(-3px);
  box-shadow: var(--glow-gold);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.6);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 5px 25px rgba(37, 211, 102, 0.6);
  z-index: 999;
  text-decoration: none;
  transition: var(--transition);
  animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.8);
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 6rem;
  background-color: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.8s ease-in-out, transform 7s ease-out;
  transform: scale(1.08);
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 20, 10, 0.94) 0%, rgba(3, 20, 10, 0.78) 50%, rgba(3, 20, 10, 0.45) 100%),
              radial-gradient(circle at 80% 20%, rgba(163, 230, 53, 0.1) 0%, transparent 60%);
  z-index: 2;
  pointer-events: none;
}

.hero-controls {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(3, 20, 10, 0.65);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(163, 230, 53, 0.25);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.hero-dot:hover {
  background: rgba(163, 230, 53, 0.8);
  transform: scale(1.2);
}

.hero-dot.active {
  width: 26px;
  background: var(--brand-lime);
  box-shadow: var(--glow-lime);
}

@media (max-width: 768px) {
  .hero-controls {
    bottom: 1.25rem;
    right: 50%;
    transform: translateX(50%);
    gap: 0.4rem;
    padding: 0.4rem 0.65rem;
  }
  
  .hero-dot {
    width: 8px;
    height: 8px;
  }

  .hero-dot.active {
    width: 20px;
  }
}

.hero-content {
  text-align: left;
  max-width: 620px;
  position: relative;
  z-index: 2;
  margin-left: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(163, 230, 53, 0.15);
  border: 1px solid rgba(163, 230, 53, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-lime);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(5px);
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 540px;
  margin-left: 0;
  margin-right: 0;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(163, 230, 53, 0.2);
  flex-wrap: wrap;
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-gold);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* SECTION HEADER */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--brand-lime);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* CATEGORIES SECTION */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.25rem;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid rgba(163, 230, 53, 0.15);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-primary);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-lime);
  box-shadow: var(--shadow-card), var(--glow-lime);
}

.category-card:hover::before {
  opacity: 0.1;
}

.category-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem auto;
  border-radius: 50%;
  background: rgba(163, 230, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--brand-lime);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.category-card:hover .category-icon {
  background: var(--brand-gold);
  color: #03140a;
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--glow-gold);
}

.category-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  position: relative;
  z-index: 1;
}

.category-count {
  font-size: 0.8rem;
  color: var(--text-dim);
  position: relative;
  z-index: 1;
}

/* FEATURED EVENTS SECTION */
.events-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(163, 230, 53, 0.2);
  color: var(--text-muted);
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--grad-primary);
  color: #03140a;
  border-color: transparent;
  box-shadow: var(--glow-lime);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.event-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(163, 230, 53, 0.15);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card), var(--glow-lime);
  border-color: var(--brand-lime);
}

.event-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.event-category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(3, 20, 10, 0.9);
  backdrop-filter: blur(8px);
  color: var(--brand-gold);
  border: 1px solid rgba(250, 204, 21, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-lime);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.event-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.event-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.event-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.event-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-gold);
}

/* PROMOTION / BUSINESS SECTION */
.promo-banner {
  background: linear-gradient(135deg, rgba(0, 56, 30, 0.9) 0%, rgba(6, 34, 19, 0.95) 100%);
  border: 1px solid rgba(163, 230, 53, 0.3);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 868px) {
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.promo-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1.25rem;
}

.promo-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.promo-features {
  list-style: none;
  margin-bottom: 2rem;
}

.promo-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.promo-features i {
  color: var(--brand-lime);
  font-size: 1.1rem;
}

.promo-logo-standalone {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.promo-logo-img {
  max-width: 480px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 0 25px rgba(163, 230, 53, 0.45));
  transition: var(--transition);
  transform: scale(1.25);
}

.promo-logo-img:hover {
  transform: scale(1.33);
  filter: drop-shadow(0 0 35px rgba(163, 230, 53, 0.65));
}

/* SPECIALIZED PROMOTION SECTION STYLES */
.specialized-promo-section {
  padding: 4rem 0 2rem 0;
}

.specialized-promo-card {
  margin-top: 0;
  background: linear-gradient(135deg, rgba(6, 34, 19, 0.95) 0%, rgba(3, 20, 10, 0.98) 100%);
  border: 1px solid rgba(250, 204, 21, 0.4);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.specialized-promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-lime), var(--brand-gold), var(--brand-lime));
  background-size: 200% 100%;
  animation: borderGlow 4s linear infinite;
}

@keyframes borderGlow {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.specialized-promo-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
}

.specialized-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(250, 204, 21, 0.12);
  color: var(--brand-gold);
  border: 1px solid rgba(250, 204, 21, 0.35);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.2);
}

.specialized-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--brand-gold-warm) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.specialized-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.specialized-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.specialized-contact-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(163, 230, 53, 0.2);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
  transition: var(--transition);
  position: relative;
}

.specialized-contact-box:hover {
  transform: translateY(-4px);
  border-color: rgba(163, 230, 53, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), var(--glow-lime);
  background: rgba(6, 34, 19, 0.6);
}

.specialized-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.specialized-icon-wrapper.whatsapp-icon {
  background: rgba(37, 211, 102, 0.15);
  color: var(--neon-green);
  border: 1px solid rgba(37, 211, 102, 0.35);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.2);
}

.specialized-icon-wrapper.email-icon {
  background: rgba(163, 230, 53, 0.15);
  color: var(--brand-lime);
  border: 1px solid rgba(163, 230, 53, 0.35);
  box-shadow: 0 0 15px rgba(163, 230, 53, 0.2);
}

.specialized-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.specialized-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.specialized-value {
  font-size: 1.15rem;
  color: var(--text-main);
  font-weight: 700;
}

.btn-whatsapp-sm {
  background: #25d366;
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  width: 100%;
  justify-content: center;
}

.btn-whatsapp-sm:hover {
  background: #1eb957;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-outline-lime-sm {
  background: transparent;
  color: var(--brand-lime);
  border: 1.5px solid var(--brand-lime);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  width: 100%;
  justify-content: center;
}

.btn-outline-lime-sm:hover {
  background: var(--brand-lime);
  color: var(--bg-dark);
  box-shadow: var(--glow-lime);
  transform: translateY(-2px);
}

/* FREE PROMO BANNER IN CONTACT SECTION */
.free-promo-banner {
  background: linear-gradient(135deg, rgba(163, 230, 53, 0.12) 0%, rgba(6, 34, 19, 0.9) 100%);
  border: 1px solid rgba(163, 230, 53, 0.4);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.free-badge {
  background: var(--brand-lime);
  color: var(--bg-dark);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  letter-spacing: 0.5px;
  box-shadow: var(--glow-lime);
}

.free-promo-text {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.5;
}

.social-highlight {
  color: var(--brand-lime-light);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.25rem;
}

.social-highlight i {
  color: var(--brand-gold);
  margin-left: 0.2rem;
}

/* APPROVAL & MODERATION POLICY NOTE */
.approval-policy-note {
  background: rgba(6, 34, 19, 0.4);
  border: 1px dashed rgba(250, 204, 21, 0.35);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.4rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.policy-icon {
  color: var(--brand-gold);
  font-size: 1.2rem;
  min-width: 20px;
}

.approval-policy-note strong {
  color: var(--brand-gold-warm);
}

/* FLYER REPRESENTATION NOTE */
.flyer-representation-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
  line-height: 1.4;
  padding: 0 0.5rem;
}

.flyer-representation-note i {
  color: var(--brand-gold);
  margin-right: 0.3rem;
}

@media (max-width: 640px) {
  .free-promo-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
    gap: 0.75rem;
  }
}

@media (max-width: 640px) {
  .specialized-promo-card {
    padding: 2rem 1.25rem;
  }
  .specialized-notice-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }
}


/* ABOUT US SECTION */
.about-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #051e11 50%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 868px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
}

.about-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 1rem;
}

.about-logo-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 35px rgba(163, 230, 53, 0.45)) drop-shadow(0 0 15px rgba(250, 204, 21, 0.3));
  transition: var(--transition);
  animation: float-logo 4s ease-in-out infinite alternate;
}

.about-logo-img:hover {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 0 50px rgba(163, 230, 53, 0.7));
}

@keyframes float-logo {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-12px);
  }
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-pillar-item {
  background: rgba(3, 20, 10, 0.7);
  border: 1px solid rgba(163, 230, 53, 0.15);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.about-pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(163, 230, 53, 0.15);
  color: var(--brand-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-pillar-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.about-pillar-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* HOW IT WORKS SECTION */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid rgba(163, 230, 53, 0.15);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.5rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-lime);
  box-shadow: var(--glow-lime);
}

.step-icon-header {
  position: relative;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #03140a;
  font-weight: 900;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-lime);
}

.step-icon {
  position: absolute;
  top: -12px;
  right: -14px;
  font-size: 1.2rem;
  color: var(--brand-gold);
  background: var(--bg-dark-secondary);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(250, 204, 21, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.step-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* INSTAGRAM REPOST SECTION */
.instagram-section {
  padding: 3rem 0;
}

.instagram-card {
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.2) 0%, rgba(225, 48, 108, 0.15) 50%, rgba(6, 34, 19, 0.9) 100%);
  border: 1px solid rgba(225, 48, 108, 0.4);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
}

.instagram-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.instagram-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(45deg, rgba(225, 48, 108, 0.2), rgba(240, 148, 51, 0.2));
  color: #f09433;
  border: 1px solid rgba(225, 48, 108, 0.4);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.instagram-title {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.instagram-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.highlight-tag {
  color: var(--brand-lime);
  background: rgba(163, 230, 53, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
}

.btn-instagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(225, 48, 108, 0.6);
  color: #ffffff;
}

.instagram-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.instagram-frame {
  position: relative;
  border-radius: var(--radius-md);
  padding: 8px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 30px rgba(225, 48, 108, 0.4);
  max-width: 480px;
  width: 100%;
  transition: var(--transition);
}

.instagram-frame:hover {
  transform: scale(1.03) rotate(-1deg);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 40px rgba(225, 48, 108, 0.6);
}

.ig-carousel-slides {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: calc(var(--radius-md) - 4px);
  overflow: hidden;
}

.ig-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.ig-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.ig-carousel-indicators {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.ig-dot {
  flex: 1;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 99px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.ig-dot.active {
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.instagram-overlay-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.instagram-overlay-badge i {
  color: #e6683c;
}

@media (max-width: 868px) {
  .instagram-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .instagram-card {
    padding: 2rem 1.5rem;
  }
  .btn-instagram {
    width: 100%;
    justify-content: center;
  }
}

.callout-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.callout-content strong {
  color: var(--text-main);
  font-size: 1.05rem;
}

@media (max-width: 640px) {
  .how-it-works-callout {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }
}

/* CONTACT SECTION & FORM */
.contact-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #061c10 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

@media (max-width: 868px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Info Mini Bar */
.contact-info-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-card-mini {
  background: var(--bg-card);
  border: 1px solid rgba(163, 230, 53, 0.2);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.contact-card-mini:hover {
  border-color: var(--brand-lime);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(163, 230, 53, 0.15);
}

.contact-card-mini i {
  font-size: 1.6rem;
  color: var(--brand-lime);
  flex-shrink: 0;
}

.contact-card-mini span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-card-mini strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

/* ==========================================================================
   LIVE FLYER PREVIEW — Póster cósmico Uruaplan (diseño de referencia de marca)
   Formato vertical 4:5 · fondo dinámico + overlay cósmico · panel translúcido
   ========================================================================== */
.flyer-preview-wrapper {
  position: sticky;
  top: 90px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.flyer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(217, 70, 239, 0.4);
  color: #e879f9;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.2);
}

/* Tarjeta del flyer: fondo cósmico fijo de marca
   (morado → magenta → naranja) */
.flyer-card {
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 600px;
  /* Evita que aspect-ratio + min-height transfieran un min-width
     al card y desborden la columna del grid en pantallas angostas */
  min-width: 0;
  background-image: linear-gradient(180deg,
      #0d0a2a 0%,
      #3b1360 38%,
      #93267c 62%,
      #d84f1f 84%,
      #ff8a00 100%);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(147, 38, 124, 0.35), 0 0 15px rgba(255, 138, 0, 0.25);
}

/* Capa de estrellas + velo del mismo degradado, que profundiza el
   fondo y asienta el contraste bajo los textos */
.flyer-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 25px 35px, rgba(255, 255, 255, 0.9) 45%, transparent 55%),
    radial-gradient(1px 1px at 112px 92px, rgba(255, 255, 255, 0.7) 45%, transparent 55%),
    radial-gradient(1.5px 1.5px at 190px 44px, rgba(255, 255, 255, 0.8) 45%, transparent 55%),
    radial-gradient(1px 1px at 68px 164px, rgba(255, 255, 255, 0.6) 45%, transparent 55%),
    radial-gradient(2px 2px at 158px 132px, rgba(255, 255, 255, 0.55) 45%, transparent 60%),
    radial-gradient(1px 1px at 232px 186px, rgba(255, 255, 255, 0.75) 45%, transparent 55%),
    linear-gradient(180deg,
      rgba(13, 10, 42, 0.88) 0%,
      rgba(59, 19, 96, 0.82) 38%,
      rgba(147, 38, 124, 0.76) 62%,
      rgba(216, 79, 31, 0.76) 84%,
      rgba(255, 138, 0, 0.82) 100%);
  background-size:
    260px 220px, 260px 220px, 260px 220px, 260px 220px, 260px 220px, 260px 220px,
    100% 100%;
  background-repeat: repeat, repeat, repeat, repeat, repeat, repeat, no-repeat;
}

/* Contenedor interno del contenido (sobre el overlay) */
.flyer-inner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Sin padding superior: el respiro de arriba lo aporta .flyer-header,
     así el aire sobre y bajo el logo queda exactamente igual */
  padding: 0 0.95rem 0 0.95rem;
}

/* Logo centrado arriba. El PNG trae mucho aire transparente alrededor
   (el arte real ocupa solo el 24% central de su alto), así que se recorta
   visualmente: altura fija + overflow hidden, y el margen negativo sube
   la imagen para dejar a la vista únicamente el logotipo.
   Cuentas del encuadre con height: 125px → el arte empieza en 39px
   (0.312 × 125) y termina en 69px (0.552 × 125). Con margin-top: -9px
   queda a 30px del borde superior; la altura de 90px deja los mismos
   30px por debajo (69 − 9 + 30). */
.flyer-header {
  height: 90px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0;
  /* Franja oscura a sangre completa (rompe el padding lateral del
     contenedor) que oscurece el fondo detrás del logo y se difumina
     hacia abajo, para que el logotipo resalte sobre cualquier foto */
  width: calc(100% + 1.9rem);
  background: linear-gradient(180deg,
      rgba(8, 4, 20, 0.88) 0%,
      rgba(8, 4, 20, 0.72) 55%,
      rgba(8, 4, 20, 0) 100%);
}

.flyer-logo {
  height: 125px;
  width: auto;
  margin-top: -9px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.85));
}

/* Bloque central: Foto Principal a sangre, sin marco ni esquinas
   redondeadas. Comparte ancho con el panel de info para que foto y
   panel formen un solo bloque plano y cuadrado (sin solape) */
.flyer-main-img-box {
  width: 88%;
  /* Absorbe el espacio sobrante del card: si la franja del logo o el
     panel de datos crecen, la foto cede alto en lugar de empujar el
     footer fuera de la tarjeta */
  flex: 1 1 auto;
  min-height: 130px;
  overflow: hidden;
}

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

/* Panel translúcido pardo (como la referencia): título, datos,
   descripción y ubicación. Se apoya a ras de la foto, sin bordes ni
   esquinas redondeadas: foto y panel forman un rectángulo continuo */
.flyer-info-overlay {
  width: 88%;
  background: rgba(58, 44, 42, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1rem 0.9rem 0.9rem 0.9rem;
}

.flyer-titles-wrapper {
  text-align: center;
  margin-bottom: 0.85rem;
}

/* Título en degradado dorado→naranja (con color de respaldo) */
.flyer-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.15;
  color: #ffb347;
  background: linear-gradient(180deg, #ffd98a 0%, #ffb347 45%, #ff7a1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
  margin-bottom: 0.5rem;
  /* Red de seguridad: aunque el maxlength ya acota el texto, esto
     evita que una palabra sin espacios desborde la tarjeta */
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.flyer-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Rejilla: datos con íconos a la izquierda, descripción a la derecha */
.flyer-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0.9rem;
  align-items: center;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.flyer-details-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.flyer-detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  min-width: 0;
}

.flyer-detail-item span {
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.flyer-detail-icon {
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  color: #ffb347;
  font-size: 0.95rem;
  filter: drop-shadow(0 0 5px rgba(255, 138, 0, 0.55));
}

.flyer-desc-col p {
  margin: 0;
  color: #ffffff;
  font-size: 0.71rem;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Ubicación completa destacada al pie del panel */
.flyer-location-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
  text-align: center;
}

.flyer-location-box span {
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.flyer-pin-icon {
  color: #ff5e3a;
  font-size: 0.95rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px rgba(255, 94, 58, 0.6));
}

/* Franja inferior @URUAPLAN: delgada, a todo lo ancho y separada del
   panel de datos. El margen superior es fijo (no auto) porque la foto
   ya absorbe el espacio sobrante del card */
.flyer-footer {
  margin-top: 1.3rem;
  width: calc(100% + 1.9rem); /* rompe el padding lateral del contenedor */
  background: rgba(20, 10, 26, 0.88);
  border-top: 1px solid #ff5e3a;
  padding: 0.3rem 0.5rem;
  text-align: center;
  line-height: 1.5;
}

.flyer-footer-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Ajustes móviles del flyer: el card crece con su contenido
   (altura automática) para que nada quede recortado */
@media (max-width: 480px) {
  .flyer-card {
    aspect-ratio: auto;
    min-height: 0;
  }

  /* Con altura automática del card no hay espacio sobrante que repartir:
     la foto deja de crecer y usa su propia proporción */
  .flyer-main-img-box {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .flyer-footer {
    margin-top: 1.1rem;
  }

  .flyer-title {
    font-size: 1.05rem;
  }

  .flyer-subtitle {
    font-size: 0.68rem;
  }

  .flyer-content-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .flyer-desc-col p {
    text-align: left;
    -webkit-line-clamp: 5;
  }

  .flyer-desc-col {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 0.45rem;
  }
}

.contact-form-container {
  background: var(--bg-card);
  border: 1px solid rgba(163, 230, 53, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow-card);
}

.form-header-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(163, 230, 53, 0.12);
  border: 1px solid rgba(163, 230, 53, 0.3);
  color: var(--brand-lime);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 680px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-label i {
  color: var(--brand-lime);
  margin-right: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(3, 20, 10, 0.85);
  border: 1px solid rgba(163, 230, 53, 0.25);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-lime);
  box-shadow: 0 0 15px rgba(163, 230, 53, 0.35);
}

.file-input {
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.file-input::-webkit-file-upload-button {
  background: var(--grad-primary);
  border: none;
  color: #03140a;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  margin-right: 0.75rem;
  transition: var(--transition);
}

.file-input::-webkit-file-upload-button:hover {
  filter: brightness(1.15);
}

.file-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

/* Contador de caracteres bajo los campos con maxlength */
.char-counter {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: right;
  margin-top: 0.3rem;
  font-variant-numeric: tabular-nums;
}

.char-counter.near-limit {
  color: var(--brand-gold);
  font-weight: 700;
}

select.form-control option {
  background-color: #062213;
  color: #fff;
}

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

/* MODAL FOR EVENT DETAILS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #062213;
  border: 1px solid rgba(163, 230, 53, 0.4);
  border-radius: var(--radius-md);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), var(--glow-lime);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 10;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--brand-lime);
  color: #03140a;
}

.modal-hero-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.modal-body {
  padding: 2rem;
}

/* FOOTER */
.footer {
  position: relative;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #020d06 55%);
  padding: 4.5rem 0 2rem 0;
  overflow: hidden;
}

/* Filo superior degradado + halo ambiental, igual que el resto del sitio */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-accent);
  opacity: 0.55;
}

.footer::after {
  content: '';
  position: absolute;
  top: -180px;
  left: 50%;
  width: min(900px, 110%);
  height: 380px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(163, 230, 53, 0.10) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.4fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  /* La marca ocupa el ancho completo para no quedar apretada */
  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 520px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Contacto lleva botón: se queda a lo ancho en vez de dejar un hueco */
  .footer-grid .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1.25rem;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #fff;
  letter-spacing: 0.01em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

/* Guion que crece en hover, sin mover el resto de la lista */
.footer-links a::before {
  content: '';
  width: 0;
  height: 2px;
  margin-right: 0;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
  transition: var(--transition);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--brand-lime);
}

.footer-links a:hover::before,
.footer-links a:focus-visible::before {
  width: 12px;
  margin-right: 0.5rem;
}

.footer-contact {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.footer-contact li,
.footer-contact a {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact i {
  flex: 0 0 auto;
  width: 1rem;
  margin-top: 0.2rem;
  text-align: center;
  color: var(--brand-lime);
  transition: var(--transition);
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: #fff;
}

.footer-contact a:hover i {
  filter: drop-shadow(0 0 6px rgba(163, 230, 53, 0.6));
}

.footer-cta {
  padding: 0.6rem 1.35rem;
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(163, 230, 53, 0.2);
}

.social-icon:hover {
  background: var(--grad-primary);
  color: #03140a;
  transform: translateY(-3px);
  box-shadow: var(--glow-lime);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-made i {
  color: var(--brand-lime);
  filter: drop-shadow(0 0 6px rgba(163, 230, 53, 0.45));
  margin: 0 0.15rem;
}

/* Foco visible para navegación con teclado */
.footer a:focus-visible {
  outline: 2px solid var(--brand-lime);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 100px;
  right: 25px;
  background: rgba(6, 34, 19, 0.95);
  border: 1px solid var(--brand-lime);
  border-left: 5px solid var(--brand-lime);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), var(--glow-lime);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile responsive menu */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(3, 20, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(163, 230, 53, 0.3);
    clip-path: circle(0% at 100% 0);
    transition: clip-path 0.5s ease-in-out;
  }

  .nav-links.open {
    clip-path: circle(141.4% at 100% 0);
  }

  .mobile-menu-btn {
    display: block;
  }
}

/* ==========================================================================
   GALLERY COLLAGE SECTION
   ========================================================================== */

.gallery-section {
  background: #080808;
  padding: 5rem 0 0;
  overflow: hidden;
  position: relative;
}

.gallery-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 60%, rgba(163, 230, 53, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(250, 204, 21, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.gallery-section-header {
  text-align: center;
  padding: 0 1.5rem 3rem;
  position: relative;
  z-index: 2;
}

/* Collage Container */
.gallery-collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 210px;
  gap: 8px;
  width: 100%;
  height: auto;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0 3rem;
  overflow: visible;
}

/* Base gallery item */
.gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.75), 0 2px 6px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
  will-change: transform;
  border: 2px solid rgba(255, 255, 255, 0.06);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
  filter: brightness(0.9) saturate(1.1);
}

.gallery-item:hover {
  z-index: 50 !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 0 2px rgba(163, 230, 53, 0.4);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.25);
}

/* Label overlay */
.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 0.8rem 0.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-family: var(--font-family);
}

.gallery-item:hover .gallery-label {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Grid spans & rotations (12-col grid, 4 rows) ─── */
/* Row 1: 4 + 5 + 3 = 12 */
.gallery-item.gi-1 {
  grid-column: span 4;
  transform: rotate(-1.2deg);
}

.gallery-item.gi-1:hover {
  transform: rotate(0deg) scale(1.04);
  z-index: 10;
}

.gallery-item.gi-2 {
  grid-column: span 5;
  transform: rotate(0.8deg);
}

.gallery-item.gi-2:hover {
  transform: rotate(0deg) scale(1.04);
  z-index: 10;
}

.gallery-item.gi-3 {
  grid-column: span 3;
  transform: rotate(-1deg);
}

.gallery-item.gi-3:hover {
  transform: rotate(0deg) scale(1.04);
  z-index: 10;
}

/* Row 2: 3 + 4 + 5 = 12 */
.gallery-item.gi-4 {
  grid-column: span 3;
  transform: rotate(1.3deg);
}

.gallery-item.gi-4:hover {
  transform: rotate(0deg) scale(1.04);
  z-index: 10;
}

.gallery-item.gi-5 {
  grid-column: span 4;
  transform: rotate(-0.6deg);
}

.gallery-item.gi-5:hover {
  transform: rotate(0deg) scale(1.04);
  z-index: 10;
}

.gallery-item.gi-6 {
  grid-column: span 5;
  transform: rotate(1.4deg);
}

.gallery-item.gi-6:hover {
  transform: rotate(0deg) scale(1.04);
  z-index: 10;
}

/* Row 3: 5 + 4 + 3 = 12 */
.gallery-item.gi-7 {
  grid-column: span 5;
  transform: rotate(-1.1deg);
}

.gallery-item.gi-7:hover {
  transform: rotate(0deg) scale(1.04);
  z-index: 10;
}

.gallery-item.gi-8 {
  grid-column: span 4;
  transform: rotate(0.9deg);
}

.gallery-item.gi-8:hover {
  transform: rotate(0deg) scale(1.04);
  z-index: 10;
}

.gallery-item.gi-9 {
  grid-column: span 3;
  transform: rotate(-0.9deg);
}

.gallery-item.gi-9:hover {
  transform: rotate(0deg) scale(1.04);
  z-index: 10;
}

/* Row 4: 3 + 3 + 3 + 3 = 12 */
.gallery-item.gi-10 {
  grid-column: span 3;
  transform: rotate(1.2deg);
}

.gallery-item.gi-10:hover {
  transform: rotate(0deg) scale(1.04);
  z-index: 10;
}

.gallery-item.gi-11 {
  grid-column: span 3;
  transform: rotate(-0.7deg);
}

.gallery-item.gi-11:hover {
  transform: rotate(0deg) scale(1.04);
  z-index: 10;
}

.gallery-item.gi-12 {
  grid-column: span 3;
  transform: rotate(1.1deg);
}

.gallery-item.gi-12:hover {
  transform: rotate(0deg) scale(1.04);
  z-index: 10;
}

.gallery-item.gi-13 {
  grid-column: span 3;
  transform: rotate(-1.5deg);
}

.gallery-item.gi-13:hover {
  transform: rotate(0deg) scale(1.04);
  z-index: 10;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .gallery-collage {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 170px;
    gap: 6px;
    padding: 0 1rem 2rem;
  }

  .gallery-item.gi-1,
  .gallery-item.gi-2,
  .gallery-item.gi-3,
  .gallery-item.gi-4,
  .gallery-item.gi-5,
  .gallery-item.gi-6,
  .gallery-item.gi-7,
  .gallery-item.gi-8,
  .gallery-item.gi-9,
  .gallery-item.gi-10,
  .gallery-item.gi-11,
  .gallery-item.gi-12,
  .gallery-item.gi-13 {
    grid-column: span 1;
    transform: none !important;
  }

  .gallery-label {
    opacity: 1;
    transform: translateY(0);
  }
}

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