:root {
  --amarillo: #FFD43B;
  --amarillo-oscuro: #F59F00;
  --azul: #4DABF7;
  --azul-oscuro: #1971C2;
  --rosa: #F783AC;
  --verde: #69DB7C;
  --naranja: #FF922B;
  --crema: #FFFBE6;
  --blanco: #ffffff;
}

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

body {
  font-family: 'Nunito', sans-serif;
  background: var(--crema);
  overflow-x: hidden;
}

/* ========= HERO ========= */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

.desktop-img { display: none !important; }
.mobile-img  { display: block !important; }

@media (min-width: 768px) {
  .mobile-img  { display: none !important; }
  .desktop-img { display: block !important; max-height: 90vh; object-fit: contain; width: 100%; background: var(--crema); }
}

/* ========= ONDAS ========= */
.wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -4px;
}
.wave svg { display: block; width: 100%; }

/* ========= CONFETTI BAR ========= */
.confetti-bar {
  background: repeating-linear-gradient(
    45deg,
    var(--amarillo) 0px, var(--amarillo) 10px,
    var(--rosa) 10px, var(--rosa) 20px,
    var(--azul) 20px, var(--azul) 30px,
    var(--verde) 30px, var(--verde) 40px
  );
  height: 8px;
  width: 100%;
}

/* ========= ABEJITAS (base) ========= */
.bee {
  position: absolute;
  width: 45px;
  pointer-events: none;
}

@keyframes floatBee {
  0%   { transform: translateY(0px) rotate(-5deg); }
  50%  { transform: translateY(-10px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(-5deg); }
}

/* ========= CUENTA REGRESIVA ========= */
.countdown-section {
  background: radial-gradient(circle at top, #FFF176, #FFB300);
  padding: 50px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Bees específicas de countdown — sin colisión */
.bee-countdown-left {
  top: 10px;
  left: 10px;
  animation: floatBee 4s ease-in-out infinite;
}

.bee-countdown-right {
  top: 20px;
  right: 15px;
  animation: floatBee 4s ease-in-out infinite;
  animation-delay: 2s;
}

.countdown-section h2 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(24px, 5vw, 36px);
  color: #fff;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.15);
  margin-bottom: 25px;
}

.countdown-boxes {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.countdown-box {
  background: white;
  border-radius: 18px;
  padding: 16px 20px;
  min-width: 80px;
  box-shadow: 0 8px 0 #F57C00;
  animation: bounceBox 2s ease-in-out infinite;
}

@keyframes bounceBox {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.countdown-box .num {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(28px, 6vw, 48px);
  color: #F57C00;
  display: block;
}

.countdown-box .label {
  font-size: 11px;
  font-weight: 800;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========= DETALLES ========= */
.details-section {
  background: white;
  padding: 50px 20px;
  text-align: center;
}

.section-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(26px, 6vw, 42px);
  color: var(--azul-oscuro);
  margin-bottom: 30px;
}

.details-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 500px;
  margin: 0 auto 30px;
}

.detail-card {
  background: var(--crema);
  border: 3px solid var(--amarillo);
  border-radius: 20px;
  padding: 20px 28px;
  flex: 1 1 calc(50% - 16px);
  max-width: calc(50% - 16px);
  box-shadow: 0 5px 0 var(--amarillo-oscuro);
  transition: transform 0.2s;
  text-align: center;
}

.detail-card:hover { transform: translateY(-4px); }

.detail-card:nth-child(3) {
  flex: 1 1 100%;
  max-width: 60%;
  margin: 0 auto;
}

.detail-card .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.detail-card .dtitle {
  font-family: 'Fredoka One', cursive;
  font-size: 15px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.detail-card .dvalue {
  font-size: 17px;
  font-weight: 800;
  color: #333;
  margin-top: 4px;
}

/* ========= BOTONES ========= */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Fredoka One', cursive;
  font-size: 18px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 5px 0 rgba(0,0,0,0.2);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover  { transform: translateY(-3px); box-shadow: 0 8px 0 rgba(0,0,0,0.2); }
.btn:active { transform: translateY(2px);  box-shadow: 0 2px 0 rgba(0,0,0,0.2); }

.btn-mapa      { background: var(--azul);  color: white; }
.btn-whatsapp  { background: #25D366; color: white; font-size: 20px; padding: 16px 36px; }

/* ========= DRESS CODE ========= */
.dresscode-section {
  background: linear-gradient(135deg, #F59F00, #FFD43B);
  padding: 50px 20px;
  text-align: center;
}

.dresscode-sub {
  font-size: 17px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
}

.dresscode-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.dresscode-card {
  background: white;
  border-radius: 20px;
  padding: 20px 24px;
  min-width: 100px;
  box-shadow: 0 6px 0 rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: 'Fredoka One', cursive;
  font-size: 16px;
  color: #444;
  transition: transform 0.2s;
}

.dresscode-card:hover { transform: translateY(-4px); }

.color-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

/* ========= MENSAJE ========= */
.message-section {
  background: radial-gradient(circle at top, #FFF9C4 0%, #FFE082 40%, #FFF3E0 100%);
  padding: 60px 20px;
  text-align: center;
}

.message-card {
  background: white;
  border-radius: 30px;
  max-width: 520px;
  margin: 0 auto;
  padding: 20px 30px 40px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  border: 4px dashed #FFD54F;
  position: relative;
  overflow: hidden;
}

.honeycomb-top {
  width: 100%;
  margin-bottom: 20px;
  opacity: 0.8;
}

/* Bees específicas del mensaje — sin colisión */
.bee-msg-1 {
  top: 40px;
  left: 10px;
  width: 40px;
  animation: floatBee 4s ease-in-out infinite;
}

.bee-msg-2 {
  bottom: 10px;
  right: 10px;
  width: 40px;
  animation: floatBee 4s ease-in-out infinite;
  animation-delay: 2s;
}

.message-card p {
  font-size: clamp(15px, 3vw, 18px);
  color: #555;
  line-height: 1.8;
  font-weight: 600;
}

.message-card .highlight {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(18px, 4vw, 24px);
  color: #F57C00;
  display: block;
  margin-top: 14px;
}

/* ========= FOOTER ========= */
.footer {
  background: linear-gradient(180deg, #FFF8E1, #FFE082);
  padding: 30px 20px;
  text-align: center;
}

.footer-content {
  max-width: 400px;
  margin: 0 auto;
}

.footer-bee {
  width: 40px;
  margin-bottom: 10px;
  animation: floatBee 3s ease-in-out infinite;
}

.footer p {
  font-size: 15px;
  font-weight: 600;
  color: #555;
  margin: 5px 0;
}

.footer-year {
  font-size: 12px;
  color: #888;
}

/* ========= ANIMACIONES ENTRADA ========= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========= ICON GLOBAL ========= */
.icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}