/* =========================================================
   RESET & BASE
   ========================================================= */
/* =========================================================
   SECCIÓN INFO
   ========================================================= */
.info-section {
  background: #ffffff;
  padding: 60px 2rem;
}

.info-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 5rem;
}

/* ---- Imagen izquierda ---- */
.info-image {
  flex: 1;
  position: relative;
  flex-shrink: 0;
}

.info-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ---- Contenido derecha ---- */
.info-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #1a1a2e;
  line-height: 1.2;
  margin-top: 0.25rem;
}

.info-text {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: #555;
  line-height: 1.75;
}

.info-text strong {
  color: #1477AE;
  font-weight: 800;
}

/* Stats */
.info-stats {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.info-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-number {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  color: #841F8C;
  line-height: 1;
  display: inline-block;
  transition: transform 0.25s ease;
}

.info-stat:hover .stat-number {
  transform: scale(1.12);
}

.stat-plus {
  font-size: 1.3rem;
}

.stat-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Botón */
.btn-info {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
  background: linear-gradient(135deg, #71C3F0, #3AA5DE);
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  width: fit-content;
  box-shadow: 0 6px 20px rgba(113, 195, 240, 0.3);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

/* Shimmer que pasa en loop */
.btn-info::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: shimmer 2.4s ease infinite;
}

@keyframes shimmer {
  0%   { left: -75%; }
  60%  { left: 125%; }
  100% { left: 125%; }
}

.btn-info i {
  transition: transform 0.25s ease;
}

.btn-info:hover i {
  transform: translateX(6px);
}

.btn-info:hover {
  box-shadow: 0 10px 28px rgba(132, 31, 140, 0.4);
  background: linear-gradient(135deg, #3AA5DE, #841F8C);
}

/* Variante blanca para usar sobre fondo azul */
.btn-info-white {
  background: #ffffff;
  color: #1477AE;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-info-white:hover {
  background: #DCEFFC;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 900px) {
  .info-container {
    flex-direction: column;
    gap: 3rem;
  }

  .info-image img {
    max-width: 100%;
  }

  .info-image::before {
    max-width: 100%;
  }

  .info-image-badge {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .info-stats {
    gap: 1.25rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }
}


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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  overflow-x: hidden;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  background: transparent;
}

.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

/* Links oscuros */
.navbar.scrolled .nav-links a {
  color: #1a1a2e;
}

.navbar.scrolled .nav-links a::after {
  background: #1477AE;
}

/* Botón agenda → azul con texto blanco */
.navbar.scrolled .btn-cita {
  background: #1477AE;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(20, 119, 174, 0.25);
}

.navbar.scrolled .btn-cita:hover {
  background: #3AA5DE;
  box-shadow: 0 4px 14px rgba(20, 119, 174, 0.35);
}

/* Iconos circulares → azul */
.navbar.scrolled .nav-icon {
  color: #1477AE;
  border-color: rgba(20, 119, 174, 0.35);
}

.navbar.scrolled .nav-icon:hover {
  background: rgba(20, 119, 174, 0.08);
  border-color: #1477AE;
}

/* Hamburguesa → oscuro */
.navbar.scrolled .hamburger {
  border-color: rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .hamburger span {
  background: #1a1a2e;
}

.navbar.scrolled .hamburger:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.35);
}

/* Menú móvil → blanco */
.navbar.scrolled .mobile-menu {
  background: #ffffff;
}

.navbar.scrolled .mobile-nav-link {
  color: #1a1a2e;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.navbar.scrolled .mobile-nav-link i {
  color: #1477AE;
  opacity: 1;
}

.navbar.scrolled .mobile-nav-link:hover {
  background: rgba(20, 119, 174, 0.05);
}

.navbar.scrolled .mobile-divider {
  background: rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .mobile-social-icon {
  color: rgba(20, 119, 174, 0.45);
}

.navbar.scrolled .mobile-social-icon:hover {
  color: #1477AE;
}

.navbar.scrolled .mobile-contact-item {
  color: #1a1a2e;
  border-color: rgba(0, 0, 0, 0.15);
}

.navbar.scrolled .mobile-contact-item:hover {
  background: rgba(20, 119, 174, 0.06);
  border-color: rgba(20, 119, 174, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
}

/* ---- Left links ---- */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.15rem;
  flex: 1;
  min-width: 0;
}

.nav-left {
  justify-content: flex-start;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  position: relative;
  transition: opacity 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-links a:hover { opacity: 0.75; }
.nav-links a:hover::after { width: 100%; }

/* ---- Center logo ---- */
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 58px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0,0,0,0.15));
  transition: filter 0.35s ease, transform 0.25s ease;
}

.nav-logo:hover img {
  transform: scale(1.06);
}

.navbar.scrolled .nav-logo img {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
}

/* ---- Right actions ---- */
.nav-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
}

/* Botón "Agenda tu cita" */
.btn-cita {
  background: #ffffff;
  color: #1477AE;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-cita:hover {
  background: #DCEFFC;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

/* Iconos circulares (teléfono y WA) */
.nav-icon {
  color: #ffffff;
  font-size: 1.1rem;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

.nav-icon-wa {
  font-size: 1.25rem;
}

/* =========================================================
   HAMBURGER (visible solo en móvil)
   ========================================================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

.hamburger span {
  display: block;
  width: 16px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Estado abierto → X */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   MENÚ MÓVIL
   ========================================================= */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  height: calc(100vh - 72px);
  background: linear-gradient(160deg, #9AD6F7 0%, #71C3F0 55%, #3AA5DE 100%);
  display: none;
  flex-direction: column;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  overflow-y: auto;
  z-index: 999;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Links de navegación */
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding-top: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 2rem;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease;
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-link i {
  width: 20px;
  font-size: 1rem;
  opacity: 0.85;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Pie del menú */
.mobile-menu-footer {
  margin-top: auto;
  padding: 1.5rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn-mobile-cita {
  width: 100%;
  text-align: center;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.mobile-contact-links {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.mobile-contact-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mobile-contact-item:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.mobile-contact-item i {
  font-size: 1.1rem;
}

/* Separador */
.mobile-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 1.5rem;
}

/* Redes sociales discretas */
.mobile-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  padding: 1rem 1.5rem 1.75rem;
}

.mobile-social-icon {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.15rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-social-icon:hover {
  color: #ffffff;
}

/* =========================================================
   SECCIÓN BAÑOS
   ========================================================= */
.banos-section {
  background: #ffffff;
  padding: 0 2rem;
}

.banos-card {
  max-width: 1280px;
  margin: 0 auto;
  background: linear-gradient(120deg, #55165A 0%, #841F8C 55%, #C54ACF 100%);
  border-radius: 32px;
  box-shadow: 0 16px 56px rgba(132, 31, 140, 0.28);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Glow radial en esquina superior derecha */
.banos-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  left: auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Glow radial secundario en la parte inferior */
.banos-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 30%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,74,207,0.25) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ---- Contenido izquierda ---- */
.banos-content {
  flex: 1;
  padding: 2.1rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.banos-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.banos-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  color: #ffffff;
  line-height: 1.2;
}

.banos-text {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.banos-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.25rem;
  margin-top: 0.25rem;
}

.banos-features li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
}

.banos-features li i {
  color: #ffffff;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ---- Imagen derecha ---- */
.banos-image {
  flex: 0 0 36%;
  align-self: stretch;
  overflow: hidden;
  min-height: 0;
}

.banos-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .banos-section {
    padding: 0;
  }

  .banos-card {
    flex-direction: column;
    border-radius: 0;
  }

  .banos-content {
    padding: 3rem 2rem;
  }

  .banos-image {
    min-height: 300px;
    width: 100%;
  }

  .banos-features {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SECCIÓN TRIO TARJETAS (poster cards)
   ========================================================= */
.trio-section {
  background: #ffffff;
  padding: 60px 2rem;
}

.trio-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 1.25rem;
}

.trio-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  height: 520px;
  cursor: pointer;
  flex: 1;
  opacity: 0;
  transform: translateY(32px);
  transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.7s ease, transform 0.7s ease;
}

.trio-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.trio-container:hover .trio-card {
  flex: 0.6;
}

.trio-container:hover .trio-card:hover {
  flex: 2.4;
}

.trio-card-bg {
  position: absolute;
  inset: 0;
}

.trio-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.trio-card:hover .trio-card-bg img {
  transform: scale(1.07);
}

/* Overlay gradiente desde abajo — corto y suave para que domine la foto */
.trio-card-overlay,
.trio-card-hotel .trio-card-overlay,
.trio-card-pasteleria .trio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(113, 195, 240, 0.92) 0%,
    rgba(113, 195, 240, 0.55) 20%,
    rgba(113, 195, 240, 0.12) 40%,
    transparent 55%
  );
}

.trio-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 2rem 2.25rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease 0.15s;
  white-space: nowrap;
}

.trio-card:hover .trio-card-content {
  opacity: 1;
  pointer-events: auto;
}

.trio-card-content .trio-eyebrow,
.trio-card-content .trio-title,
.trio-card-content .trio-desc {
  white-space: normal;
}

/* Título compacto visible por defecto en las tres tarjetas */
.trio-card-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 2rem 2.25rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #ffffff;
  white-space: nowrap;
  opacity: 1;
  text-shadow: 0 2px 10px rgba(8, 40, 66, 0.45);
  transition: opacity 0.25s ease;
}

.trio-card-label i {
  font-size: 1.1rem;
}

.trio-container:hover .trio-card-label {
  opacity: 0;
}

/* Ícono centrado: aparece solo en las tarjetas que NO están en hover
   mientras otra del grupo sí lo está */
.trio-card-icon {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease 0.15s;
  pointer-events: none;
}

.trio-container:hover .trio-card:not(:hover) .trio-card-icon {
  opacity: 1;
}

.trio-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.trio-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(1.6rem, 2vw, 1.9rem);
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 10px rgba(8, 40, 66, 0.45);
}

.trio-desc {
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 6px rgba(8, 40, 66, 0.4);
}

.trio-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.trio-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.75);
}

.trio-btn i {
  font-size: 0.72rem;
  transition: transform 0.25s ease;
}

.trio-btn:hover i {
  transform: translateX(4px);
}

/* =========================================================
   SECCIÓN TARJETAS SERVICIOS (VERSIÓN ALTERNATIVA - BADGES)
   ========================================================= */
.badges-section {
  background: #ffffff;
  padding: 60px 2rem 80px;
}

.badges-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3.5rem;
}

.badge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  flex: 0 1 320px;
  text-decoration: none;
}

.badge-image {
  width: 320px;
  height: 320px;
  clip-path: polygon(
    50% 2%, 59.9% 19.6%, 78.2% 11.2%, 75.9% 31.2%, 95.6% 35.2%,
    82% 50%, 95.6% 64.8%, 75.9% 68.8%, 78.2% 88.8%, 59.9% 80.4%,
    50% 98%, 40.1% 80.4%, 21.8% 88.8%, 24.1% 68.8%, 4.4% 64.8%,
    18% 50%, 4.4% 35.2%, 24.1% 31.2%, 21.8% 11.2%, 40.1% 19.6%
  );
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(20, 119, 174, 0.22);
  transition: transform 0.3s ease;
}

.badge-card:nth-child(2) .badge-image {
  box-shadow: 0 16px 30px rgba(132, 31, 140, 0.28);
}

.badge-card:hover .badge-image {
  transform: scale(1.06) rotate(-3deg);
}

.badge-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  color: #1a1a2e;
}

.badge-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: #841F8C;
  transition: gap 0.2s ease;
}

.badge-card:hover .badge-link {
  gap: 0.6rem;
}

.badge-link i {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.badge-card:hover .badge-link i {
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .badges-container {
    gap: 2.5rem;
  }

  .badge-image {
    width: 240px;
    height: 240px;
  }
}

@media (max-width: 900px) {
  .trio-container {
    flex-direction: column;
  }

  .trio-card,
  .trio-container:hover .trio-card,
  .trio-container:hover .trio-card:hover {
    flex: none;
    height: 400px;
  }

  /* En móvil no hay hover confiable: mostrar siempre el contenido completo */
  .trio-card-label,
  .trio-card-icon {
    display: none;
  }

  .trio-card-content {
    opacity: 1;
    pointer-events: auto;
    white-space: normal;
  }
}

/* =========================================================
   SECCIÓN BENEFICIOS
   ========================================================= */
.highlights-section {
  background: #ffffff;
  padding: 70px 2rem;
}

.highlights-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}

/* ---- Imagen derecha ---- */
.highlights-image {
  flex: 1;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.highlights-image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 20px 32px rgba(20, 119, 174, 0.18));
}

.highlights-image video {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 24px;
  display: block;
  box-shadow: 0 20px 40px rgba(20, 119, 174, 0.18);
}

.highlights-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1477AE;
}

/* ---- Contenido derecha ---- */
.highlights-content {
  flex: 1.15;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.highlights-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  color: #1a1a2e;
  line-height: 1.2;
}

.highlights-text {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  max-width: 480px;
  margin-top: -0.25rem;
}

.highlights-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 1.75rem;
  margin-top: 0.75rem;
}

.highlights-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.6s ease;
}

.highlights-item.is-visible {
  opacity: 1;
}

.highlights-item:hover {
  transform: translateY(-4px);
}

.highlights-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(
    50% 2%, 59.9% 19.6%, 78.2% 11.2%, 75.9% 31.2%, 95.6% 35.2%,
    82% 50%, 95.6% 64.8%, 75.9% 68.8%, 78.2% 88.8%, 59.9% 80.4%,
    50% 98%, 40.1% 80.4%, 21.8% 88.8%, 24.1% 68.8%, 4.4% 64.8%,
    18% 50%, 4.4% 35.2%, 24.1% 31.2%, 21.8% 11.2%, 40.1% 19.6%
  );
  background: #71C3F0;
  color: #ffffff;
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.highlights-item:hover .highlights-icon {
  transform: scale(1.12) rotate(8deg);
}

.highlights-item:nth-child(even) .highlights-icon {
  background: #841F8C;
}

.highlights-item:nth-child(even):hover .highlights-icon {
  transform: scale(1.12) rotate(-8deg);
}

.highlights-item-text h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.98rem;
  color: #1a1a2e;
  margin-bottom: 0.2rem;
}

.highlights-item-text p {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .highlights-container {
    flex-direction: column;
    gap: 2.5rem;
  }

  .highlights-image img {
    max-width: 300px;
  }

  .highlights-image video {
    max-width: 300px;
  }

  .highlights-list {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SECCIÓN GALERÍA
   ========================================================= */
.gallery-section {
  background: #ffffff;
  padding: 60px 0;
  overflow: hidden;
}

.gallery-header {
  text-align: center;
  padding: 0 2rem;
  margin-bottom: 2rem;
}

.gallery-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: #1a1a2e;
}

/* Track wrapper: enmascara el overflow y añade fade en los bordes */
.gallery-track-wrapper {
  overflow: hidden;
  position: relative;
}

.gallery-track-wrapper::before,
.gallery-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.gallery-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.gallery-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

/* Track animado */
.gallery-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: gallery-slide 28s linear infinite;
}

.gallery-track:hover {
  animation-play-state: paused;
}

@keyframes gallery-slide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Tarjeta de imagen */
.gallery-item {
  width: 340px;
  height: 260px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* =========================================================
   SECCIÓN DIRECCIÓN
   ========================================================= */
.location-section {
  background: #ffffff;
  padding: 70px 2rem 90px;
}

.location-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}

/* ---- Contenido izquierda ---- */
.location-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  color: #1a1a2e;
  line-height: 1.2;
}

.location-text {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  max-width: 460px;
}

.location-info {
  display: flex;
  flex-direction: column;
  margin: 0.25rem 0 0.5rem;
  border-top: 1px solid #ececec;
}

.location-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0.5rem;
  margin: 0 -0.5rem;
  border-bottom: 1px solid #ececec;
  text-decoration: none;
  border-radius: 10px;
  opacity: 0;
  transition: background 0.2s ease, opacity 0.6s ease, transform 0.2s ease;
}

.location-info-item.is-visible {
  opacity: 1;
}

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

.location-info-item:hover {
  background: rgba(113, 195, 240, 0.045);
}

.location-info-item:hover .location-info-value {
  color: #1477AE;
}

.location-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #71C3F0;
  color: #ffffff;
  font-size: 0.95rem;
}

.location-info-icon-alt {
  background: #71C3F0;
}

.location-info-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.location-info-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aa3ad;
}

.location-info-value {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a1a2e;
  transition: color 0.2s ease;
}

.location-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 0.75rem;
}

.location-actions .btn-info {
  height: 44px;
  box-sizing: border-box;
  padding: 0 1.75rem;
  margin-top: 0;
}

/* ---- Redes sociales ---- */
.location-social {
  display: flex;
  align-items: center;
  height: 44px;
  gap: 0.75rem;
}

.location-social-icon {
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(20, 119, 174, 0.25);
  color: #1477AE;
  font-size: 1.05rem;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.location-social-icon:hover {
  background: #1477AE;
  border-color: #1477AE;
  color: #ffffff;
  transform: translateY(-3px);
}

/* ---- Mapa derecha ---- */
.location-map {
  flex: 1.1;
  height: 420px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.14);
  flex-shrink: 0;
  position: relative;
}

.location-map iframe {
  display: block;
}

/* Huellita que marca la ubicación sobre el mapa */
.location-map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  z-index: 2;
  pointer-events: none;
  animation: location-pin-bounce 2.2s ease-in-out infinite;
}

.location-map-pin-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50% 50% 50% 0;
  background: #71C3F0;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
  transform: rotate(45deg);
}

.location-map-pin-icon i {
  transform: rotate(-45deg);
  color: #ffffff;
  font-size: 1.2rem;
}

@keyframes location-pin-bounce {
  0%, 100% { transform: translate(-50%, -100%) translateY(0); }
  50% { transform: translate(-50%, -100%) translateY(-10px); }
}

@media (max-width: 900px) {
  .location-container {
    flex-direction: column;
    gap: 2.5rem;
  }

  .location-map {
    width: 100%;
    height: 320px;
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #9AD6F7 0%, #71C3F0 45%, #3AA5DE 100%);
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

/* Blob decorativo fondo */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: flex-end;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ---- Texto hero ---- */
.hero-text {
  flex: 1;
  max-width: 520px;
  align-self: center;
  padding: 120px 0 4rem;
}

.hero-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-shadow:
    0 4px 20px rgba(0, 70, 160, 0.25),
    0 2px 0 rgba(255, 255, 255, 0.25);
  margin-bottom: 2rem;
}

.btn-hero {
  display: inline-block;
  background: #ffffff;
  color: #1477AE;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero:hover {
  background: #DCEFFC;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

/* ---- Imagen hero ---- */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-image img {
  max-height: 88vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom;
  display: block;
  filter: drop-shadow(0 16px 48px rgba(0, 60, 140, 0.28));
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
    padding: 0 1.5rem;
  }

  .hero-text {
    text-align: center;
    max-width: 100%;
    padding: 120px 0 2.5rem;
  }

  .hero-image {
    width: 100%;
  }

  .hero-image img {
    max-height: 55vh;
  }
}

@media (max-width: 1150px) {
  /* Menos aire entre links y logo cuando el espacio se reduce */
  .nav-container {
    padding: 0 1.25rem;
  }

  .nav-links {
    gap: 0.85rem;
  }

  .nav-links a {
    font-size: 0.78rem;
  }
}

@media (max-width: 960px) {
  /* Ocultar links y acciones del desktop en navbar */
  .nav-links {
    display: none;
  }

  .nav-right .btn-cita,
  .nav-right .nav-icon {
    display: none;
  }

  /* Mostrar hamburguesa */
  .hamburger {
    display: flex;
  }

  /* Activar menú móvil (visibilidad controlada por .open) */
  .mobile-menu {
    display: flex;
  }

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

  .nav-container {
    padding: 0 1.25rem;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: linear-gradient(135deg, #55165A 0%, #841F8C 100%);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 2rem 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3rem;
}

/* ---- Marca ---- */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

.footer-logo {
  display: block;
  height: 46px;
  width: auto;
  margin: 0;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social-icon:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  transform: translateY(-3px);
}

/* ---- Links y contacto ---- */
.footer-heading {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-links a,
.footer-contact a {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  padding: 0.4rem 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact a {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}

.footer-contact a i {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---- Barra inferior ---- */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.25rem 2rem;
}

.footer-bottom p {
  max-width: 1280px;
  margin: 0 auto;
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 50px 2rem 30px;
  }

  .footer-tagline {
    max-width: 100%;
  }
}

/* Crédito "Desarrollado por Sitelege" */
.footer-credit {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-credit:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

/* =========================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================= */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  z-index: 900;
  animation: whatsapp-pulse 2.6s ease-in-out infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  animation-play-state: paused;
}

@keyframes whatsapp-pulse {
  0%, 100% {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    font-size: 1.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    animation: none;
  }
}

/* =========================================================
   ANIMACIONES: entrada del hero + aparición al hacer scroll
   ========================================================= */

/* Entrada del hero (se reproduce sola al cargar, sin JS) */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-text > * {
  animation: hero-fade-up 0.8s cubic-bezier(0.22, 0.9, 0.32, 1) both;
}

.hero-text > *:nth-child(1) { animation-delay: 0.05s; }
.hero-text > *:nth-child(2) { animation-delay: 0.18s; }
.hero-text > *:nth-child(3) { animation-delay: 0.3s; }
.hero-text > *:nth-child(4) { animation-delay: 0.42s; }

/* Sección de información justo debajo del hero (páginas de servicio):
   anima al cargar, igual que el hero, sin esperar al scroll */
.highlights-intro .highlights-image,
.highlights-intro .highlights-content,
.highlights-intro .highlights-item {
  opacity: 0;
  animation: hero-fade-up 0.8s cubic-bezier(0.22, 0.9, 0.32, 1) both;
}

.highlights-intro .highlights-image { animation-delay: 0.1s; }
.highlights-intro .highlights-content { animation-delay: 0.2s; }
.highlights-intro .highlights-item:nth-child(1) { animation-delay: 0.35s; }
.highlights-intro .highlights-item:nth-child(2) { animation-delay: 0.45s; }
.highlights-intro .highlights-item:nth-child(3) { animation-delay: 0.55s; }
.highlights-intro .highlights-item:nth-child(4) { animation-delay: 0.65s; }

/* Aparición al hacer scroll (activada por IntersectionObserver en script.js) */
.info-image,
.info-content,
.banos-card,
.badge-card,
.highlights-image,
.highlights-content,
.location-content,
.location-map,
.footer-brand,
.footer-links,
.footer-contact,
[class$="-step"],
[class$="-faq-item"],
[class$="-cta-card"],
.contact-form-col,
.contact-info-col {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.9, 0.32, 1), transform 0.7s cubic-bezier(0.22, 0.9, 0.32, 1);
}

.info-image.is-visible,
.info-content.is-visible,
.banos-card.is-visible,
.badge-card.is-visible,
.highlights-image.is-visible,
.highlights-content.is-visible,
.location-content.is-visible,
.location-map.is-visible,
.footer-brand.is-visible,
.footer-links.is-visible,
.footer-contact.is-visible,
[class$="-step"].is-visible,
[class$="-faq-item"].is-visible,
[class$="-cta-card"].is-visible,
.contact-form-col.is-visible,
.contact-info-col.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-text > *,
  .info-image, .info-content, .banos-card, .trio-card, .badge-card, .highlights-image,
  .highlights-content, .highlights-item, .location-content, .location-map,
  .location-info-item, .footer-brand, .footer-links, .footer-contact,
  [class$="-step"], [class$="-faq-item"], [class$="-cta-card"],
  .contact-form-col, .contact-info-col {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
