/* =========================================================
   HERO GUARDERÍA & HOTEL (reutiliza .hero / .hero-content / .hero-title / .btn-hero / .hero-image)
   ========================================================= */
.gh-hero {
  min-height: 60vh;
  height: 60vh;
  background: linear-gradient(135deg, #E9B6ED 0%, #C54ACF 45%, #841F8C 100%);
}

.gh-hero .btn-hero {
  color: #841F8C;
}

.gh-hero .btn-hero:hover {
  background: #F3E6F4;
}

.gh-hero .hero-image img {
  filter: drop-shadow(0 16px 48px rgba(132, 31, 140, 0.35));
}

/* Menú móvil morado (acorde al hero de esta sección) */
.mobile-menu {
  background: linear-gradient(160deg, #E9B6ED 0%, #C54ACF 55%, #841F8C 100%);
}

.gh-hero .hero-content {
  height: 100%;
  align-items: flex-end;
  justify-content: center;
  gap: 2.5rem;
}

.gh-hero .hero-text {
  flex: none;
  max-width: 540px;
  padding: 90px 0 2.5rem;
}

.gh-hero .hero-title {
  font-size: clamp(2.1rem, 3.3vw, 3rem);
  white-space: nowrap;
  margin-bottom: 1rem;
}

.gh-hero .hero-image {
  flex: none;
}

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

@media (max-width: 1100px) {
  .gh-hero .hero-content {
    gap: 1.5rem;
  }

  .gh-hero .hero-title {
    font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  }
}

@media (max-width: 900px) {
  .gh-hero {
    height: auto;
    min-height: 100vh;
  }

  .gh-hero .hero-content {
    gap: 2rem;
    justify-content: space-between;
    min-height: 100vh;
  }

  .gh-hero .hero-text {
    max-width: 100%;
  }

  .gh-hero .hero-title {
    white-space: normal;
    font-size: clamp(2rem, 6vw, 2.6rem);
  }

  .gh-hero .hero-image {
    justify-content: center;
  }

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

.gh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.gh-hero-lead {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 1.25rem;
}

/* =========================================================
   INFORMACIÓN: animación de atención en hover
   ========================================================= */
.highlights-image img {
  transition: transform 0.2s ease;
}

.highlights-image:hover img {
  animation: gh-img-wiggle 0.6s ease;
}

@keyframes gh-img-wiggle {
  0%   { transform: scale(1) rotate(0deg); }
  20%  { transform: scale(1.06) rotate(-4deg); }
  40%  { transform: scale(1.06) rotate(4deg); }
  60%  { transform: scale(1.06) rotate(-3deg); }
  80%  { transform: scale(1.06) rotate(3deg); }
  100% { transform: scale(1.03) rotate(0deg); }
}

/* =========================================================
   MINI BANNER
   ========================================================= */
.gh-banner {
  background: linear-gradient(90deg, #1477AE 0%, #3AA5DE 100%);
  padding: 1.75rem 2rem;
}

.gh-banner-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
}

.gh-banner-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  color: #ffffff;
  white-space: nowrap;
}

.gh-banner-item i {
  font-size: 1.05rem;
  color: #ffffff;
}

/* ---- Versión móvil: carrusel infinito ---- */
.gh-banner-track-wrapper {
  display: none;
}

@media (max-width: 900px) {
  .gh-banner-container {
    display: none;
  }

  .gh-banner-track-wrapper {
    display: block;
    overflow: hidden;
  }

  .gh-banner-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 2.5rem;
    animation: gh-banner-scroll 16s linear infinite;
  }

  .gh-banner-item {
    font-size: 0.88rem;
  }
}

@keyframes gh-banner-scroll {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* =========================================================
   GALERÍA (carrusel horizontal + lightbox)
   ========================================================= */
.gh-gallery {
  background: #ffffff;
  padding: 80px 2rem 0;
}

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

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

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

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

@media (max-width: 640px) {
  .gh-carousel-track-wrapper::before,
  .gh-carousel-track-wrapper::after {
    width: 40px;
    opacity: 0.5;
  }
}

/* Track animado: scroll automático continuo */
.gh-carousel-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: gh-gallery-slide 28s linear infinite;
}

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

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

.gh-carousel-slide {
  position: relative;
  width: 260px;
  aspect-ratio: 4 / 5;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  background: #eaf3f8;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.gh-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---- Lightbox ---- */
.gh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 25, 40, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gh-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.gh-lightbox-img {
  max-width: min(88vw, 1000px);
  max-height: 82vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: transform 0.3s ease;
}

.gh-lightbox.open .gh-lightbox-img {
  transform: scale(1);
}

.gh-lightbox-close,
.gh-lightbox-prev,
.gh-lightbox-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gh-lightbox-close:hover,
.gh-lightbox-prev:hover,
.gh-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

.gh-lightbox-close {
  top: 24px;
  right: 24px;
}

.gh-lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.gh-lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.gh-lightbox-prev:hover,
.gh-lightbox-next:hover {
  transform: translateY(-50%) scale(1.08);
}

@media (max-width: 640px) {
  .gh-lightbox-close {
    top: 14px;
    right: 14px;
  }

  .gh-lightbox-prev {
    left: 10px;
  }

  .gh-lightbox-next {
    right: 10px;
  }
}

/* =========================================================
   CÓMO RESERVAR + PREGUNTAS FRECUENTES (dos columnas)
   ========================================================= */
.gh-order-faq {
  background: #ffffff;
  padding: 70px 2rem;
}

.gh-order-faq-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.gh-col-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  color: #1a1a2e;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.gh-col-text {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

/* ---- Cómo reservar: lista vertical ---- */
.gh-steps-list {
  display: flex;
  flex-direction: column;
}

.gh-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8ee;
}

.gh-step:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.gh-step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #841F8C;
  color: #ffffff;
  font-family: 'Fredoka One', cursive;
  font-size: 1.05rem;
  transition: transform 0.25s ease;
}

.gh-step:hover .gh-step-number {
  transform: scale(1.12);
}

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

.gh-step-text p {
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  color: #666;
  line-height: 1.55;
}

/* ---- FAQ ---- */
.gh-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gh-faq-item {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.7s ease, transform 0.7s ease;
}

.gh-faq-item:hover {
  border-color: rgba(113, 195, 240, 0.45);
  box-shadow: 0 8px 20px rgba(20, 119, 174, 0.08);
}

.gh-faq-item.open {
  border-color: rgba(113, 195, 240, 0.6);
}

.gh-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  color: #1a1a2e;
  text-align: left;
}

.gh-faq-question i {
  flex-shrink: 0;
  color: #1477AE;
  transition: transform 0.25s ease;
}

.gh-faq-item.open .gh-faq-question i {
  transform: rotate(180deg);
}

.gh-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.gh-faq-item.open .gh-faq-answer {
  max-height: 220px;
}

.gh-faq-answer p {
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
  padding: 0 1.25rem 1.1rem;
}

@media (max-width: 900px) {
  .gh-order-faq-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* =========================================================
   CTA FINAL
   ========================================================= */
.gh-cta {
  background: #ffffff;
  padding: 70px 2rem 90px;
}

.gh-cta-card {
  position: relative;
  overflow: hidden;
  max-width: 1160px;
  margin: 0 auto;
  background: linear-gradient(120deg, #1477AE 0%, #3AA5DE 55%, #71C3F0 100%);
  border-radius: 28px;
  padding: 3.25rem 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  box-shadow: 0 20px 50px rgba(20, 119, 174, 0.25);
}

.gh-cta-bg-icon {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  font-size: 11rem;
  color: rgba(255, 255, 255, 0.14);
  transform: rotate(-14deg);
  z-index: 0;
  pointer-events: none;
}

.gh-cta-title,
.gh-cta-text,
.gh-cta-actions {
  position: relative;
  z-index: 1;
}

.gh-cta-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
}

.gh-cta-text {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  white-space: nowrap;
}

.gh-cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.gh-cta-link {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.gh-cta-link i {
  font-size: 0.78rem;
  transition: transform 0.25s ease;
}

.gh-cta-link:hover {
  opacity: 1;
}

.gh-cta-link:hover i {
  transform: translateX(4px);
}

.gh-cta-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gh-cta-icon-btn {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.gh-cta-icon-btn:hover {
  background: #ffffff;
  color: #1477AE;
  transform: translateY(-3px);
}

@media (max-width: 640px) {
  .gh-cta-card {
    padding: 2.5rem 1.75rem;
  }

  .gh-cta-title,
  .gh-cta-text {
    white-space: normal;
  }

  .gh-cta-bg-icon {
    font-size: 7rem;
  }
}
