/*
Theme Name: Parque de Bolas Mágico
Theme URI: https://parquebolasmgico.es
Author: Parque de Bolas Mágico
Author URI: https://parquebolasmgico.es
Description: Tema festivo y colorido para parque de bolas infantil. Una sola página con Hero, Sobre Nosotros, Galería, Horarios, Ubicación y Contacto.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: parque-bolas
Tags: one-page, colorful, children, entertainment
*/

/* =========================================================
   CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
  --color-red:    #FF3B5C;
  --color-yellow: #FFD600;
  --color-blue:   #1E90FF;
  --color-green:  #2ED573;
  --color-purple: #A855F7;
  --color-orange: #FF6B35;
  --color-dark:   #1a1a2e;
  --color-light:  #f8f9ff;
  --color-white:  #ffffff;
  --font-heading: 'Fredoka One', cursive;
  --font-body:    'Nunito', sans-serif;
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    40px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg:    0 16px 48px rgba(0,0,0,0.18);
  --transition:   0.3s ease;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-white);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  color: #666;
  margin-bottom: 3rem;
}

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* =========================================================
   WAVE DIVIDERS
   ========================================================= */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

#site-header.transparent {
  background: transparent;
}

#site-header.scrolled {
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  padding: 0.6rem 0;
}

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

.site-logo {
  display: flex;
  align-items: center;
  transition: opacity var(--transition);
}

.site-logo:hover {
  opacity: 0.85;
}

.site-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 0.25rem;
}

.nav-menu a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-white);
  transition: background var(--transition), color var(--transition);
}

.nav-menu a:hover {
  background: rgba(255,255,255,0.2);
}

#site-header.scrolled .nav-menu a {
  color: var(--color-dark);
}

#site-header.scrolled .nav-menu a:hover {
  background: var(--color-yellow);
  color: var(--color-dark);
}

.nav-cta {
  background: var(--color-red) !important;
  color: var(--color-white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: var(--radius-xl) !important;
  font-weight: 700 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--color-orange) !important;
  transform: translateY(-2px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-white);
  border-radius: 3px;
  transition: all var(--transition);
}

#site-header.scrolled .nav-toggle span {
  background: var(--color-dark);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
   HERO SECTION
   ========================================================= */
#hero {
  min-height: 100vh;
  max-height: 100vh;
  background-color: var(--color-purple);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 1.5rem 8rem;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168,85,247,0.82) 0%, rgba(30,144,255,0.72) 40%, rgba(255,59,92,0.78) 100%);
  z-index: 1;
}

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

.hero-bg-shapes span {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.hero-bg-shapes span:nth-child(1) {
  width: 600px; height: 600px;
  background: var(--color-yellow);
  top: -200px; right: -200px;
}

.hero-bg-shapes span:nth-child(2) {
  width: 400px; height: 400px;
  background: var(--color-green);
  bottom: -150px; left: -100px;
}

.hero-bg-shapes span:nth-child(3) {
  width: 200px; height: 200px;
  background: var(--color-orange);
  top: 40%; left: 10%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: var(--color-yellow);
  color: var(--color-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  color: var(--color-white);
  text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(255,59,92,0.4);
}

.btn-primary:hover {
  background: var(--color-orange);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,107,53,0.5);
}

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-3px);
}

/* Floating emojis */
.hero-emojis {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.hero-emojis span {
  position: absolute;
  font-size: 2.5rem;
  animation: floatEmoji linear infinite;
  opacity: 0.7;
}

.hero-emojis span:nth-child(1)  { left: 5%;  top: 15%; animation-duration: 6s;  animation-delay: 0s; }
.hero-emojis span:nth-child(2)  { left: 15%; top: 70%; animation-duration: 8s;  animation-delay: 1s; }
.hero-emojis span:nth-child(3)  { left: 80%; top: 20%; animation-duration: 7s;  animation-delay: 2s; }
.hero-emojis span:nth-child(4)  { left: 88%; top: 65%; animation-duration: 5s;  animation-delay: 0.5s; }
.hero-emojis span:nth-child(5)  { left: 50%; top: 85%; animation-duration: 9s;  animation-delay: 1.5s; }
.hero-emojis span:nth-child(6)  { left: 25%; top: 30%; animation-duration: 6.5s; animation-delay: 3s; }
.hero-emojis span:nth-child(7)  { left: 70%; top: 45%; animation-duration: 7.5s; animation-delay: 0.8s; }
.hero-emojis span:nth-child(8)  { left: 40%; top: 10%; animation-duration: 8.5s; animation-delay: 2.5s; }

@keyframes floatEmoji {
  0%   { transform: translateY(0) rotate(0deg) scale(1); }
  25%  { transform: translateY(-20px) rotate(10deg) scale(1.1); }
  50%  { transform: translateY(-10px) rotate(-5deg) scale(0.95); }
  75%  { transform: translateY(-25px) rotate(8deg) scale(1.05); }
  100% { transform: translateY(0) rotate(0deg) scale(1); }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
}

/* =========================================================
   SOBRE NOSOTROS
   ========================================================= */
#sobre-nosotros {
  background: var(--color-light);
  padding-top: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.feature-card:nth-child(1)::before { background: var(--color-red); }
.feature-card:nth-child(2)::before { background: var(--color-blue); }
.feature-card:nth-child(3)::before { background: var(--color-purple); }
.feature-card:nth-child(4)::before { background: var(--color-green); }

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

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.feature-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================================================
   GALERÍA
   ========================================================= */
#galeria {
  background: var(--color-white);
  padding-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: unset;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(168,85,247,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.gallery-overlay span {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

/* =========================================================
   HORARIOS Y PRECIOS
   ========================================================= */
#horarios {
  background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
  padding-top: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.pricing-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured-card {
  background: linear-gradient(135deg, var(--color-purple), var(--color-blue));
  color: var(--color-white);
  transform: scale(1.04);
}

.pricing-card.featured-card .price-label,
.pricing-card.featured-card .price-days,
.pricing-card.featured-card .price-includes li {
  color: rgba(255,255,255,0.9);
}

.pricing-card:not(.featured-card):hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.price-badge {
  display: inline-block;
  background: var(--color-yellow);
  color: var(--color-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
}

.price-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  display: block;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.price-days {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 1rem;
}

.price-amount {
  margin-bottom: 1.5rem;
}

.price-amount .amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-purple);
}

.pricing-card.featured-card .price-amount .amount {
  color: var(--color-yellow);
}

.price-amount .period {
  font-size: 0.9rem;
  color: #888;
}

.pricing-card.featured-card .price-amount .period {
  color: rgba(255,255,255,0.7);
}

.price-includes {
  text-align: left;
}

.price-includes li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: #555;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.pricing-card.featured-card .price-includes li {
  border-bottom-color: rgba(255,255,255,0.15);
}

.price-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: 700;
}

.pricing-card.featured-card .price-includes li::before {
  color: var(--color-yellow);
}

/* =====================================================
   FRANJAS DE PRECIO (price-tiers)
   Variante por defecto: tarjeta blanca
   ===================================================== */
.price-tiers {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.price-tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  background: var(--color-light);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-sm);
  text-align: left;
  transition: background var(--transition);
}

.price-tier:hover {
  background: #eef2ff;
}

.price-tier .tier-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #555;
}

.price-tier .tier-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-purple);
  white-space: nowrap;
}

/* Variante sobre la tarjeta destacada (fondo degradado) */
.pricing-card.featured-card .price-tier {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
}

.pricing-card.featured-card .price-tier:hover {
  background: rgba(255,255,255,0.22);
}

.pricing-card.featured-card .price-tier .tier-name {
  color: rgba(255,255,255,0.92);
}

.pricing-card.featured-card .price-tier .tier-price {
  color: var(--color-yellow);
}

/* =====================================================
   CTA DE LAS TARJETAS — mismo aspecto que .btn .btn-primary
   ===================================================== */
.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  align-self: center;          /* no ocupa todo el ancho de la tarjeta */
  margin-top: auto;            /* sigue anclado al fondo */
  padding: 0.9rem 2rem;
  border: none;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(255,59,92,0.4);
  transition: all var(--transition);
}

.pricing-cta:hover {
  background: var(--color-orange);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,107,53,0.5);
}

/* Sobre la tarjeta destacada (degradado morado/azul) el rojo se
   emborrona: botón blanco sólido, como .btn-secondary:hover */
.pricing-card.featured-card .pricing-cta {
  background: var(--color-white);
  color: var(--color-purple);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.pricing-card.featured-card .pricing-cta:hover {
  background: var(--color-yellow);
  color: var(--color-dark);
  box-shadow: 0 8px 30px rgba(255,214,0,0.45);
}

/* Separación mínima entre el contenido y el botón */
.price-includes {
  margin-bottom: 1.5rem;
}

.price-includes:last-child {
  margin-bottom: 0;
}

/* =========================================================
   UBICACIÓN
   ========================================================= */
#ubicacion {
  background: var(--color-white);
  padding-top: 0;
}

.location-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
  margin-top: 1rem;
}

.location-info h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--color-purple);
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  transition: transform var(--transition);
}

.location-detail:hover {
  transform: translateX(4px);
}

.location-detail-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.location-detail-text strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--color-dark);
}

.location-detail-text span {
  display: block;
  color: #666;
  font-size: 0.95rem;
}

.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.8rem 1.8rem;
  background: var(--color-blue);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  font-weight: 700;
  transition: all var(--transition);
}

.btn-maps:hover {
  background: var(--color-purple);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
}

/* =========================================================
   CONTACTO
   ========================================================= */
#contacto {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-purple) 100%);
  padding-top: 0;
}

#contacto .section-title,
#contacto .section-subtitle {
  color: var(--color-white);
}

#contacto .section-subtitle {
  color: rgba(255,255,255,0.85);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.contact-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--color-white);
  transition: transform var(--transition), background var(--transition);
}

.contact-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.2);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.contact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
}

.contact-link {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: rgba(255,255,255,0.2);
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-xl);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  word-break: break-all;
}

.contact-link:hover {
  background: var(--color-white);
  color: var(--color-purple);
}

/* =========================================================
   FOOTER
   ========================================================= */
#site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-yellow);
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}

.footer-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.footer-info span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* =========================================================
   WHATSAPP FLOATING BUTTON
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-green);
  color: var(--color-white);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 24px rgba(46,213,115,0.5);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 32px rgba(46,213,115,0.6);
  animation: none;
}

.whatsapp-float svg {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@keyframes waPulse {
  0%   { box-shadow: 0 4px 24px rgba(46,213,115,0.5); }
  50%  { box-shadow: 0 4px 40px rgba(46,213,115,0.8), 0 0 0 10px rgba(46,213,115,0.1); }
  100% { box-shadow: 0 4px 24px rgba(46,213,115,0.5); }
}

/* =========================================================
   SCROLL-REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 1rem;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    gap: 0.25rem;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    color: var(--color-dark) !important;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
  }

  .nav-menu a:hover {
    background: var(--color-light);
  }

  .nav-cta {
    color: var(--color-white) !important;
    background: var(--color-red) !important;
  }

  .nav-toggle {
    display: flex;
  }

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

  .gallery-item.featured {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16/9;
  }

  .location-wrapper {
    grid-template-columns: 1fr;
  }

  .whatsapp-float .wa-label {
    display: none;
  }

  .whatsapp-float {
    padding: 1rem;
    border-radius: 50%;
  }

  .pricing-card.featured-card {
    transform: none;
  }
}

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

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

  .hero-emojis span {
    font-size: 1.8rem;
  }

  .footer-info {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}
