/* =====================================================================
   Serendipity Leioa — Hoja de estilos compartida
   Cumpleaños y fiestas infantiles en Leioa (Bizkaia)
   ===================================================================== */

:root {
  --teal: #1ABCB0;
  --teal-dark: #159E94;
  --teal-light: #E0F7F5;
  --coral: #FF6B6B;
  --coral-light: #FFE0E0;
  --yellow: #FFD93D;
  --yellow-light: #FFF8E0;
  --purple: #A78BFA;
  --purple-light: #EDE9FE;
  --dark: #2D3436;
  --gray: #636E72;
  --light-gray: #F8F9FA;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'Baloo 2', cursive;
  line-height: 1.2;
}

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

a { color: var(--teal-dark); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* =====================  TOP BAR  ===================== */
.top-bar {
  background: var(--dark);
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.top-bar-contact { display: flex; gap: 24px; flex-wrap: wrap; }
.top-bar a {
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}
.top-bar-contact a:hover { color: var(--teal); }
.top-bar .socials { display: flex; gap: 10px; }
.top-bar .socials a {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.top-bar .socials a:hover { background: var(--teal); }
.top-bar .socials svg { width: 14px; height: 14px; fill: var(--white); }

/* =====================  HEADER / NAV  ===================== */
.site-header {
  background: var(--white);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
/* Logo wordmark (sustituir por <img src="images/logo.png"> cuando el cliente lo aporte) */
.logo {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}
.logo img { height: 64px; width: auto; }
.logo-mark {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 30px;
  color: var(--teal);
  letter-spacing: -0.5px;
}
.logo-tag {
  font-family: 'Baloo 2', cursive;
  font-size: 12px;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav > a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s;
  position: relative;
}
.main-nav > a:not(.btn-reserva):hover { color: var(--teal); }
.main-nav > a:not(.btn-reserva)::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 3px;
  background: var(--teal);
  border-radius: 2px;
  transition: width 0.3s;
}
.main-nav > a:not(.btn-reserva):hover::after,
.main-nav > a.active::after { width: 100%; }
.main-nav > a.active { color: var(--teal); }

.btn-reserva {
  background: var(--teal);
  color: var(--white) !important;
  padding: 11px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(26,188,176,0.35);
  white-space: nowrap;
}
.btn-reserva:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,188,176,0.45);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: var(--teal-light);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  padding: 0 10px;
}
.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--teal-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 90;
}
.nav-backdrop.show { display: block; }

/* =====================  GENERIC SECTION HEADER  ===================== */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 42px; color: var(--dark); margin-bottom: 12px; }
.section-header h2 span { color: var(--teal); }
.section-header p {
  font-size: 18px; color: var(--gray);
  max-width: 600px; margin: 0 auto;
}
.section-divider {
  width: 60px; height: 4px;
  background: var(--teal);
  border-radius: 2px;
  margin: 16px auto;
}

/* =====================  HERO SLIDER (home)  ===================== */
.hero {
  position: relative;
  height: 85vh;
  min-height: 540px;
  overflow: hidden;
}
.hero-slider { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.15) 100%);
}
.hero-content {
  position: absolute;
  bottom: 14%;
  left: 8%;
  right: 8%;
  z-index: 2;
  color: var(--white);
  max-width: 640px;
}
/* Badge corregido: pequeño, inline, alineado a la izquierda */
.hero-badge {
  display: inline-block;
  width: auto;
  background: var(--teal);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.hero p {
  font-size: 20px;
  margin-bottom: 28px;
  opacity: 0.96;
  text-shadow: 0 1px 10px rgba(0,0,0,0.25);
}
.hero-dots {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 3;
}
.hero-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.hero-dot.active { background: var(--teal); width: 36px; border-radius: 6px; }
.hero-arrows {
  position: absolute;
  top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  display: flex; justify-content: space-between;
  padding: 0 20px;
  z-index: 3;
}
.hero-arrow {
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.hero-arrow:hover { background: var(--teal); }

/* =====================  PROMO HALLOWEEN (home)  ===================== */
.promo-hw {
  background:
    radial-gradient(120% 120% at 12% 0%, #3a2b63 0%, rgba(58,43,99,0) 55%),
    radial-gradient(120% 120% at 100% 100%, #7a2d12 0%, rgba(122,45,18,0) 50%),
    #17121f;
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.promo-hw-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 50px;
  align-items: center;
}
.promo-poster { text-align: center; }
.promo-poster img {
  width: 100%;
  height: auto;
  max-width: 360px;
  border-radius: 18px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.55);
  border: 3px solid rgba(255,255,255,0.08);
  transition: transform 0.3s;
}
.promo-poster a:hover img { transform: translateY(-4px) scale(1.01); }
.promo-eyebrow {
  display: inline-block;
  background: #FF7A1A;
  color: #fff;
  font-weight: 800; font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 50px;
  margin-bottom: 16px;
}
.promo-hw h2 { font-size: 40px; color: #fff; margin-bottom: 14px; line-height: 1.1; }
.promo-hw h2 span { color: #FFB020; }
.promo-lead { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 22px; }
.promo-acts { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; }
.promo-acts li { font-size: 15px; color: rgba(255,255,255,0.9); }
.promo-acts li strong { color: #fff; }
.promo-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.promo-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 18px; border-radius: 50px;
  font-weight: 700; font-size: 16px;
}
.promo-chip.price { background: #FF7A1A; border-color: #FF7A1A; }
.promo-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #FF7A1A; color: #fff;
  font-family: 'Baloo 2', cursive;
  font-weight: 800; font-size: 20px;
  padding: 16px 34px; border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255,122,26,0.4);
  transition: all 0.3s;
}
.promo-cta:hover { background: #ff8c3a; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,122,26,0.5); }
.promo-note { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,0.6); }
@media (max-width: 768px) {
  .promo-hw-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .promo-hw { padding: 56px 0; }
  .promo-hw h2 { font-size: 30px; }
  .promo-poster { order: -1; }
  .promo-poster img { max-width: 280px; }
  .promo-acts { text-align: left; max-width: 380px; margin: 0 auto 24px; }
  .promo-meta { justify-content: center; }
  .promo-cta { font-size: 18px; width: 100%; justify-content: center; }
}

/* =====================  PAGE BANNER (interior pages)  ===================== */
.page-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 56px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before,
.page-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.page-banner::before { width: 240px; height: 240px; top: -120px; left: -60px; }
.page-banner::after { width: 320px; height: 320px; bottom: -180px; right: -80px; }
.page-banner h1 { font-size: 44px; margin-bottom: 10px; position: relative; z-index: 1; }
.page-banner p { font-size: 18px; opacity: 0.95; position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.breadcrumb {
  margin-top: 16px;
  font-size: 14px;
  position: relative; z-index: 1;
}
.breadcrumb ol { list-style: none; display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.breadcrumb a { color: var(--white); text-decoration: none; opacity: 0.85; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li[aria-current="page"] { font-weight: 700; }
.breadcrumb li + li::before { content: '›'; margin-right: 8px; opacity: 0.7; }

/* =====================  SERVICIOS (cards grid)  ===================== */
.servicios { padding: 80px 0; }
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.servicio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 380px;
}
.servicio-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.servicio-card:hover img { transform: scale(1.08); }
.servicio-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0) 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
  transition: background 0.3s;
}
.servicio-card:hover .overlay {
  background: linear-gradient(to top, rgba(26,188,176,0.88) 0%, rgba(26,188,176,0.2) 60%);
}
.servicio-card h3 { color: var(--white); font-size: 25px; margin-bottom: 8px; }
.servicio-card p { color: rgba(255,255,255,0.92); font-size: 15px; margin-bottom: 14px; }
.servicio-card .card-btn {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white);
  font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1px;
  text-decoration: none;
  opacity: 0; transform: translateY(10px);
  transition: all 0.3s;
}
.servicio-card:hover .card-btn,
.servicio-card:focus-within .card-btn { opacity: 1; transform: translateY(0); }

/* Servicio detalle (servicios.html) — filas alternas imagen/texto */
.servicio-detalle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid #eee;
}
.servicio-detalle:last-child { border-bottom: none; }
.servicio-detalle.invert .sd-media { order: 2; }
.servicio-detalle .sd-media img {
  width: 100%; height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.servicio-detalle .sd-tag {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-weight: 700; font-size: 13px;
  padding: 5px 14px; border-radius: 50px;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 14px;
}
.servicio-detalle h2 { font-size: 32px; margin-bottom: 14px; }
.servicio-detalle p { color: var(--gray); font-size: 16px; margin-bottom: 14px; }
.servicio-detalle ul { list-style: none; margin: 0 0 22px; }
.servicio-detalle li { padding: 7px 0; font-size: 15px; color: var(--dark); }
.servicio-detalle li::before { content: '✓'; color: var(--teal); font-weight: 800; margin-right: 10px; }

/* =====================  POR QUÉ ELEGIRNOS  ===================== */
.porque { background: var(--light-gray); padding: 80px 0; }
.porque-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.porque-item {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius);
  transition: all 0.3s;
  border: 2px solid transparent;
}
.porque-item:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.porque-icon {
  width: 70px; height: 70px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 30px;
}
.porque-item h3 { font-size: 20px; margin-bottom: 8px; }
.porque-item p { font-size: 14px; color: var(--gray); }

/* =====================  GALERÍA  ===================== */
.galeria { padding: 80px 0; }
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.galeria-grid .gal-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: none;
  padding: 0;
  background: var(--light-gray);
}
.galeria-grid .gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.galeria-grid .gal-item:hover img { transform: scale(1.1); }
.galeria-grid .gal-item.wide { grid-column: span 2; }
.galeria-grid .gal-item.tall { grid-row: span 2; }
.galeria-grid .gal-item.big { grid-column: span 2; grid-row: span 2; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center; justify-content: center;
  z-index: 1000;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 12px; }
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.15);
  border: none; color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 26px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--teal); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-nav.prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 20px; top: 50%; transform: translateY(-50%); }

/* =====================  CONTADORES  ===================== */
.contadores {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 60px 0;
  color: var(--white);
}
.contadores-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.contador-item h3 { font-size: 48px; font-weight: 800; }
.contador-item p { font-size: 16px; opacity: 0.92; margin-top: 4px; }

/* =====================  EQUIPO  ===================== */
.equipo { padding: 80px 0; background: var(--light-gray); }
.equipo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 940px;
  margin: 0 auto;
}
.equipo-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.equipo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.equipo-card img {
  width: 140px; height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 4px solid var(--teal-light);
}
/* Placeholder cuando aún no hay foto del miembro del equipo */
.equipo-card .foto-placeholder {
  width: 140px; height: 140px;
  border-radius: 50%;
  margin: 0 auto 18px;
  border: 4px solid var(--teal-light);
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Baloo 2', cursive;
  font-size: 52px;
  font-weight: 800;
  color: var(--teal);
}
.equipo-card h3 { font-size: 22px; margin-bottom: 4px; }
.equipo-card .cargo {
  color: var(--teal); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1px;
}
.equipo-card .frase { font-style: italic; color: var(--gray); font-size: 14px; margin-top: 12px; }

/* Equipo: foto conjunta + valores */
.equipo-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 70px 0;
}
.equipo-hero img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  object-position: center 68%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.equipo-hero h2 { font-size: 34px; margin-bottom: 16px; }
.equipo-hero p { color: var(--gray); font-size: 16px; margin-bottom: 14px; }

/* =====================  PRECIOS  ===================== */
.precios { padding: 80px 0; }
.precios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.precio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}
.precio-card:hover { border-color: var(--teal); transform: translateY(-4px); }
.precio-card.destacado { border-color: var(--teal); position: relative; }
.precio-card.destacado::before {
  content: '⭐ MÁS POPULAR';
  position: absolute; top: 0; left: 0; right: 0;
  background: var(--teal); color: white;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  padding: 8px;
}
.precio-header { background: var(--light-gray); padding: 32px 24px; }
.precio-card.destacado .precio-header { padding-top: 50px; }
.precio-header h3 { font-size: 23px; margin-bottom: 8px; }
.precio-amount { font-family: 'Baloo 2', cursive; font-size: 44px; color: var(--teal); font-weight: 800; line-height: 1; }
.precio-amount span { font-size: 17px; color: var(--gray); font-weight: 400; }
.precio-body { padding: 28px 24px; }
.precio-body ul { list-style: none; margin-bottom: 24px; text-align: left; }
.precio-body li { padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 15px; color: var(--gray); }
.precio-body li::before { content: '✓'; color: var(--teal); font-weight: 700; margin-right: 8px; }
.btn-precio {
  display: inline-block;
  background: var(--teal); color: var(--white);
  padding: 13px 34px; border-radius: 50px;
  font-weight: 700; text-decoration: none;
  transition: all 0.3s;
}
.btn-precio:hover { background: var(--teal-dark); transform: translateY(-2px); }
.precios-nota { text-align: center; color: var(--gray); font-size: 14px; margin-top: 26px; }

/* =====================  CAMPAMENTOS — semanas temáticas  ===================== */
.semanas { padding: 80px 0; background: var(--light-gray); }
.semanas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.semana-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--teal);
  transition: all 0.3s;
}
.semana-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.semana-card .emoji { font-size: 34px; }
.semana-card h3 { font-size: 19px; margin: 10px 0 6px; }
.semana-card .fechas { color: var(--teal-dark); font-weight: 700; font-size: 14px; }
.info-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.info-row {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}
.info-row .icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.info-row strong { display: block; margin-bottom: 2px; }
.info-row p { color: var(--gray); font-size: 15px; }

/* =====================  CTA  ===================== */
.cta {
  background: linear-gradient(135deg, var(--teal) 0%, #0D9488 100%);
  padding: 70px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta::before, .cta::after { content: ''; position: absolute; border-radius: 50%; }
.cta::before { top: -50%; left: -20%; width: 300px; height: 300px; background: rgba(255,255,255,0.06); }
.cta::after { bottom: -30%; right: -10%; width: 400px; height: 400px; background: rgba(255,255,255,0.04); }
.cta h2 { font-size: 40px; margin-bottom: 14px; position: relative; z-index: 1; }
.cta p { font-size: 20px; margin-bottom: 28px; opacity: 0.95; position: relative; z-index: 1; }
.btn-cta {
  display: inline-block;
  background: var(--white); color: var(--teal);
  padding: 16px 40px; border-radius: 50px;
  font-weight: 800; font-size: 17px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  position: relative; z-index: 1;
}
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

/* =====================  UBICACIÓN  ===================== */
.ubicacion { padding: 80px 0; background: var(--light-gray); }
.ubicacion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ubicacion-info h3 { font-size: 28px; margin-bottom: 20px; }
.ubicacion-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.ubicacion-detail .icon {
  width: 44px; height: 44px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.ubicacion-detail p { font-size: 15px; color: var(--gray); }
.ubicacion-detail a { color: var(--gray); text-decoration: none; }
.ubicacion-detail a:hover { color: var(--teal); }
.ubicacion-detail strong { color: var(--dark); display: block; margin-bottom: 2px; }
.mapa {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 360px;
  background: #ddd;
}
.mapa iframe { width: 100%; height: 100%; border: none; }

/* =====================  CONTACTO (formulario)  ===================== */
.contacto-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: start; }
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  border: 2px solid #e6e9ec;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.3s;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--teal); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  background: var(--teal); color: var(--white);
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-family: 'Baloo 2', cursive;
  font-weight: 700; font-size: 17px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(26,188,176,0.35);
}
.form-submit:hover { background: var(--teal-dark); transform: translateY(-2px); }
.form-note { font-size: 13px; color: var(--gray); margin-top: 14px; }
.form-feedback {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-weight: 600;
  display: none;
}
.form-feedback.show { display: block; }
.contacto-aside .info-row { margin-bottom: 14px; }

/* =====================  FOOTER  ===================== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 { color: var(--white); font-size: 20px; margin-bottom: 18px; }
.footer-brand .logo-mark { font-size: 26px; }
.footer-col p { font-size: 14px; line-height: 1.8; }
.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none; font-size: 14px;
  display: block; padding: 4px 0;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--teal); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.footer-social a:hover { background: var(--teal); }
.footer-social svg { width: 18px; height: 18px; fill: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* =====================  ANIMACIONES  ===================== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; }
.reveal.is-visible { animation: fadeInUp 0.6s ease forwards; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; }
}

/* =====================  RESPONSIVE  ===================== */
@media (max-width: 980px) {
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .porque-grid { grid-template-columns: repeat(2, 1fr); }
  .semanas-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  /* Menú hamburguesa */
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 90px 28px 28px;
    transition: right 0.35s ease;
    z-index: 95;
    overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav > a { font-size: 18px; padding: 14px 0; border-bottom: 1px solid #f0f0f0; }
  .main-nav > a:not(.btn-reserva)::after { display: none; }
  .btn-reserva { text-align: center; margin-top: 18px; border-bottom: none !important; }
}

@media (max-width: 768px) {
  .hero { height: 78vh; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
  .hero-content { left: 6%; right: 6%; bottom: 10%; }
  /* En móvil quitamos las flechas (se solapan con el título): basta swipe + puntos */
  .hero-arrows { display: none; }
  .section-header h2 { font-size: 30px; }
  .servicios-grid,
  .precios-grid,
  .equipo-grid { grid-template-columns: 1fr; }
  .contadores-grid { grid-template-columns: repeat(2, 1fr); }
  .galeria-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .galeria-grid .gal-item.big { grid-column: span 2; grid-row: span 1; }
  .ubicacion-grid,
  .contacto-grid,
  .equipo-hero,
  .servicio-detalle { grid-template-columns: 1fr; }
  .equipo-hero img { max-height: 340px; }
  .servicio-detalle.invert .sd-media { order: 0; }
  .form-row { grid-template-columns: 1fr; }
  .page-banner h1 { font-size: 32px; }
  .top-bar-contact { gap: 14px; font-size: 12px; }
}

@media (max-width: 560px) {
  .porque-grid,
  .semanas-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar .socials { display: none; }
}
