/* ========================================
   BAMBALINAS — Visual Design Override v2
   Playful · Colorful · Modern · Friendly
   ======================================== */

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --coral:   #e77975;  /* primary / coral    */
  --yellow:  #e3af62;  /* golden             */
  --lime:    #70acac;  /* teal               */
  --lilac:   #628193;  /* steel blue         */
  --dusty:   #dab0a8;  /* dusty rose         */
  --blue:    #628193;

  --primary:       #e77975;
  --primary-hover: #d4625e;

  --bg-cream:  #FAFCFF;
  --bg-white:  #FFFFFF;
  --text-dark: #1A1F2E;
  --text-gray: #6B7280;

  --font-display: 'Nunito', 'Outfit', sans-serif;
  --font-sans:    'Outfit', sans-serif;
  --font-script:  'Caveat', cursive;

  --radius-sm:  12px;
  --radius-md:  20px;
  --radius-lg:  28px;
  --radius-xl:  40px;
  --radius-2xl: 56px;

  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-lift: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes floatA {
  0%, 100% { transform: translateY(0px)   rotate(15deg);  }
  50%       { transform: translateY(-18px) rotate(18deg);  }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0px)   rotate(-20deg); }
  50%       { transform: translateY(-14px) rotate(-24deg); }
}
@keyframes floatC {
  0%, 100% { transform: translateY(0px)   rotate(40deg);  }
  50%       { transform: translateY(-10px) rotate(44deg);  }
}
@keyframes floatD {
  0%, 100% { transform: translateY(0px)  rotate(10deg);  opacity: 0.8; }
  50%       { transform: translateY(-8px) rotate(14deg);  opacity: 1.0; }
}
@keyframes floatE {
  0%, 100% { transform: translateY(0px)   rotate(-15deg); }
  50%       { transform: translateY(-20px) rotate(-18deg); }
}
@keyframes floatF {
  0%, 100% { transform: translateY(0px)   rotate(-30deg); }
  50%       { transform: translateY(-12px) rotate(-26deg); }
}
@keyframes floatG {
  0%, 100% { transform: translateY(0px)   rotate(25deg); }
  50%       { transform: translateY(-16px) rotate(28deg); }
}
@keyframes floatH {
  0%, 100% { transform: translateY(0px)  rotate(-10deg); }
  50%       { transform: translateY(-9px) rotate(-13deg); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ===== BASE ===== */
body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  background-image: radial-gradient(circle, rgba(124, 181, 254, 0.07) 1.5px, transparent 1.5px);
  background-size: 36px 36px;
  color: var(--text-dark);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 5.5vw, 5rem);
  line-height: 1.06;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.65rem;
  line-height: 1.15;
  margin-bottom: 0 !important;
}

p {
  line-height: 1.65;
}

/* ===== FLOATING DECORATIVE ICONS ===== */
.bg-shapes {
  height: 100% !important;
  overflow: hidden;
  pointer-events: none;
}

.bg-shapes i:nth-child(1) { animation: floatA 6.0s ease-in-out infinite;       }
.bg-shapes i:nth-child(2) { animation: floatB 7.5s ease-in-out infinite 0.8s;  }
.bg-shapes i:nth-child(3) { animation: floatC 8.0s ease-in-out infinite 0.3s;  }
.bg-shapes i:nth-child(4) { animation: floatD 5.5s ease-in-out infinite 1.5s;  }
.bg-shapes i:nth-child(5) { animation: floatE 9.0s ease-in-out infinite 1.0s;  }
.bg-shapes i:nth-child(6) { animation: floatF 6.5s ease-in-out infinite 2.0s;  }
.bg-shapes i:nth-child(7) { animation: floatG 7.0s ease-in-out infinite 0.5s;  }
.bg-shapes i:nth-child(8) { animation: floatH 8.5s ease-in-out infinite 2.5s;  }

.shape-red-circle    { animation: floatB 10s ease-in-out infinite;       }
.shape-yellow-circle { animation: floatA 12s ease-in-out infinite 1.5s;  }
.shape-mint-star     { animation: floatD 7s  ease-in-out infinite 0.5s;  }
.shape-sparkle       { animation: floatH 9s  ease-in-out infinite 1.0s;  }
.shape-red-star      { animation: floatF 8s  ease-in-out infinite 2.0s;  }
.shape-yellow-sparkle{ animation: floatG 11s ease-in-out infinite 0.3s;  }

/* ===== MOBILE MENU ===== */
@media (max-width: 768px) {
  .nav-links.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(250, 252, 255, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    z-index: 999;
  }
}

/* ===== WORKSHOPS CAROUSEL — disable snap para animación custom ===== */
.workshops-carousel {
  scroll-snap-type: none !important;
}
.workshop-card {
  scroll-snap-align: none !important;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  padding: 14px 0 !important;
  background: rgba(250, 252, 255, 0.90) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1.5px solid rgba(124, 181, 254, 0.18) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04) !important;
  z-index: 1000;
  transition: box-shadow 0.3s ease !important;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 700;
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--coral);
  border-radius: 4px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover { color: var(--coral); }
.nav-links a:hover::after { width: 100%; }

.btn-icon {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}

.btn-icon:hover {
  background-color: var(--primary) !important;
  color: white !important;
}

/* ===== BUTTONS ===== */
.btn {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.btn-primary {
  background-color: var(--primary) !important;
  color: #fff !important;
  border-radius: 100px !important;
  font-weight: 700 !important;
  padding: 14px 32px !important;
  box-shadow: 0 4px 20px rgba(231, 121, 117, 0.35) !important;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.btn-primary:hover {
  background-color: var(--primary-hover) !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 12px 36px rgba(231, 121, 117, 0.45) !important;
}

.btn-outline {
  font-family: var(--font-display);
  font-weight: 700;
  border: 2px solid rgba(0, 0, 0, 0.09) !important;
  background: white !important;
  color: var(--text-dark) !important;
  transition: all 0.3s ease !important;
}

.btn-outline:hover {
  border-color: var(--coral) !important;
  color: var(--coral) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(250, 127, 122, 0.20) !important;
}

.btn-lg {
  padding: 16px 40px !important;
  font-size: 1.05rem !important;
}

/* ===== SECTION SUBTITLE PILLS ===== */
.section-subtitle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background-color: #e3af62 !important;
  color: #1A1F2E !important;
  font-family: var(--font-display) !important;
  font-size: 0.73rem !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  padding: 8px 18px !important;
  border-radius: 100px !important;
  margin-bottom: 20px !important;
  width: fit-content !important;
}

.section-subtitle.justify-center {
  margin-left: auto !important;
  margin-right: auto !important;
}

.section-subtitle i {
  font-size: 1rem !important;
}

/* ===== HERO ===== */
.hero {
  padding-top: 130px !important;
  padding-bottom: 90px !important;
  gap: 56px !important;
  align-items: stretch !important;
}

.hero-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  height: 100% !important;
}

.hero-content h1 {
  animation: fadeInUp 0.55s ease both;
}

.hero-content > p {
  animation: fadeInUp 0.55s ease 0.12s both;
  font-size: 1.15rem;
}

.hero-buttons {
  animation: fadeInUp 0.55s ease 0.22s both;
  margin-bottom: 0 !important;
  gap: 14px !important;
}

.highlight-text {
  color: var(--coral);
}

.hero-title-main {
  font-family: var(--font-display);
  font-weight: 800;
}

/* ===== ABOUT CAROUSEL ===== */
.about-carousel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.10);
  aspect-ratio: 3 / 4;
  background: #f0f0f0;
}

.about-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}

.about-slide {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
}

.about-carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.about-dot {
  width: 8px;
  height: 8px;
  border-radius: 100px;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-dot.active {
  background: #fff;
  width: 24px;
}

/* ===== ABOUT ===== */
.about {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
  background: rgba(255, 255, 255, 0.55) !important;
}

.img-rounded {
  border-radius: var(--radius-xl) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.10) !important;
}

.about-badge {
  background: #e3af62 !important;
  border-radius: var(--radius-md) !important;
  padding: 14px 22px !important;
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  color: #1A1F2E !important;
  box-shadow: 0 8px 28px rgba(227, 175, 98, 0.45) !important;
  border: none !important;
}

.about-badge i {
  color: #1A1F2E !important;
  font-size: 1.4rem !important;
}

.stats-grid {
  grid-template-columns: 1fr !important;
  margin-top: 32px !important;
}

.stat-card {
  border-radius: var(--radius-lg) !important;
  padding: 28px 32px !important;
  border: none !important;
  border-left: none !important;
  box-shadow: none !important;
}

.stat-card.stat-mint {
  background: #70acac !important;
  color: #fff !important;
}

.stat-card h3 {
  font-family: var(--font-display);
  font-size: 2.2rem !important;
  font-weight: 900 !important;
  color: #1A1F2E;
  margin-bottom: 4px !important;
}

.stat-card p {
  color: #fff !important;
  opacity: 0.8;
  font-size: 0.98rem !important;
  margin: 0 !important;
}

/* ===== WORKSHOPS ===== */
.workshops {
  padding-top: 100px !important;
  padding-bottom: 80px !important;
}

.section-header {
  margin-bottom: 52px;
}

.deco-icons {
  opacity: 0.4;
}

/* Workshop Cards */
.workshop-card,
.adult-card {
  border-radius: 32px !important;
  padding: 32px 26px !important;
  border: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  box-shadow: none !important;
  height: auto !important;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow  0.35s ease !important;
}

.workshop-card {
  min-height: 270px !important;
  min-width: 272px;
}

.adult-card {
  min-height: 170px !important;
}

.workshop-card:hover,
.adult-card:hover {
  transform: translateY(-9px) scale(1.015) !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.12) !important;
}

/* Icon circles */
.workshop-card .card-img,
.adult-card .adult-icon {
  width: 58px !important;
  height: 58px !important;
  background-color: rgba(255, 255, 255, 0.32) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 0 4px !important;
  flex-shrink: 0;
  border: none !important;
}

.workshop-card .card-img i,
.adult-card .adult-icon i {
  color: inherit !important;
  font-size: 27px !important;
}

/* Card content areas */
.workshop-card .card-content,
.adult-card .adult-info {
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  flex-grow: 1;
}

.workshop-card .card-header,
.adult-card-head {
  margin: 0 !important;
  display: block !important;
}

.workshop-card .card-header h3 {
  font-family: var(--font-display);
  font-size: 1.55rem !important;
  line-height: 1.15 !important;
}

.adult-card-head h3 {
  font-family: var(--font-display);
  font-size: 1.4rem !important;
  line-height: 1.15 !important;
  margin: 0 !important;
}

.workshop-card p,
.adult-card p {
  color: inherit !important;
  opacity: 0.85;
  font-size: 0.97rem !important;
  line-height: 1.5;
  margin: 0 !important;
}

/* ===== CAROUSEL NAV ===== */
.carousel-nav {
  background: white !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10) !important;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.carousel-nav:hover {
  background: var(--primary) !important;
  color: white !important;
  transform: translateY(-50%) scale(1.12) !important;
  box-shadow: 0 8px 30px rgba(231, 121, 117, 0.40) !important;
}

/* ===== ADULT WORKSHOPS ===== */
.adult-workshops {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
  background-color: transparent !important;
  border-radius: 0 !important;
}

.adult-workshops::before {
  display: none !important;
}

/* 8-column grid system for clean row centering */
@media (min-width: 1024px) {
  .adult-grid {
    display: grid !important;
    grid-template-columns: repeat(8, 1fr) !important;
    gap: 20px !important;
  }

  /* Row 1: 4 items fill all 8 columns (2 cols each) */
  .adult-grid .adult-card:nth-child(1) { grid-column: 1 / 3 !important; margin-left: 0 !important; }
  .adult-grid .adult-card:nth-child(2) { grid-column: 3 / 5 !important; margin-left: 0 !important; }
  .adult-grid .adult-card:nth-child(3) { grid-column: 5 / 7 !important; margin-left: 0 !important; }
  .adult-grid .adult-card:nth-child(4) { grid-column: 7 / 9 !important; margin-left: 0 !important; }

  /* Row 2: 3 items centered (1 empty col on each side) */
  .adult-grid .adult-card:nth-child(5) { grid-column: 2 / 4 !important; margin-left: 0 !important; }
  .adult-grid .adult-card:nth-child(6) { grid-column: 4 / 6 !important; margin-left: 0 !important; }
  .adult-grid .adult-card:nth-child(7) { grid-column: 6 / 8 !important; margin-left: 0 !important; }
}

@media (max-width: 1023px) {
  .adult-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }

  .adult-grid .adult-card:nth-child(n) {
    grid-column: auto !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 768px) {
  .adult-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .adult-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===== TAGS ===== */
.tag-solid {
  background-color: rgba(255, 255, 255, 0.32) !important;
  color: inherit !important;
  border-radius: 100px !important;
  padding: 6px 14px !important;
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.5px;
  display: inline-block !important;
  margin-top: 10px;
}

/* ===== SCRIPT FONT TITLE ACCENTS ===== */
.italic-title {
  font-family: var(--font-script) !important;
  font-style: italic;
  font-size: 1.2em;
  font-weight: 600;
  display: inline-block;
  margin-top: 2px;
}

.font-script {
  font-family: var(--font-script);
}

/* ===== COLOR MODIFIERS — paleta del logo ===== */
.bg-coral  { background-color: #e77975 !important; color: #fff             !important; } /* coral      */
.bg-yellow { background-color: #e3af62 !important; color: var(--text-dark) !important; } /* dorado     */
.bg-lime   { background-color: #70acac !important; color: #fff             !important; } /* teal       */
.bg-lilac  { background-color: #628193 !important; color: #fff             !important; } /* azul-gris  */

/* ===== ADULT CARDS — rainbow cycling igual que talleres ===== */
.adult-card:nth-child(5n+1) { background-color: #e77975 !important; color: #fff             !important; }
.adult-card:nth-child(5n+2) { background-color: #e3af62 !important; color: var(--text-dark) !important; }
.adult-card:nth-child(5n+3) { background-color: #70acac !important; color: #fff             !important; }
.adult-card:nth-child(5n+4) { background-color: #628193 !important; color: #fff             !important; }
.adult-card:nth-child(5n+5) { background-color: #dab0a8 !important; color: var(--text-dark) !important; }

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

.map-container {
  border-radius: var(--radius-xl) !important;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10) !important;
  margin-bottom: 40px !important;
}

.contact-wrapper {
  background: white !important;
  border-radius: var(--radius-xl) !important;
  border-bottom: 6px solid var(--coral) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07) !important;
  padding: 60px 48px !important;
  max-width: 760px !important;
  margin: 0 auto !important;
}

.contact-icon.bg-white {
  background: var(--lime) !important;
  color: #1A1F2E !important;
}

/* Contact links — styled as pill buttons */
.contact-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem !important;
  border-radius: 100px !important;
  padding: 12px 28px 12px 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* WhatsApp — teal */
.contact-link:nth-child(1) {
  background-color: #70acac !important;
  color: #fff !important;
}

/* Instagram — steel blue */
.contact-link:nth-child(2) {
  background-color: #628193 !important;
  color: #fff !important;
}

.contact-link:hover {
  transform: translateY(-4px) scale(1.03) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14) !important;
}

/* Override icon circle to match button color */
.contact-link .contact-icon {
  background-color: rgba(255, 255, 255, 0.35) !important;
  flex-shrink: 0;
  box-shadow: none !important;
}

.contact-link .contact-icon i {
  color: inherit !important;
}

/* ===== FOOTER ===== */
.footer {
  background-color: #151A2C;
}

.footer-links-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px !important;
}

.footer-links-col ul a {
  font-size: 0.95rem;
  opacity: 0.65;
  transition: all 0.25s ease !important;
}

.footer-links-col ul a:hover {
  opacity: 1;
  color: var(--lime) !important;
  padding-left: 6px !important;
}

.social-icon:hover {
  background-color: var(--coral) !important;
  transform: scale(1.1);
}

/* ===== RESPONSIVE FALLBACK ===== */
@media (max-width: 768px) {
  .hero {
    padding-top: 160px !important;
  }

  .contact-wrapper {
    padding: 40px 24px !important;
  }
}

@media (max-width: 640px) {
  .section-subtitle {
    font-size: 0.7rem !important;
  }
}
