/* ==========================================================================
   KARIBU - DESIGN SYSTEM & STYLESHEET
   Estilo: Safari Pastel Acuarelado, Elegante, Infantil y Profesional
   ========================================================================== */

/* 1. FUENTES DE GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&family=Fredoka:wght@500;600;700&family=Nunito:ital,wght@0,400;0,600;0,700;1,400&family=Quicksand:wght@600;700&display=swap');

/* 2. VARIABLES CSS GLOBAL (:ROOT) */
:root {
  /* Paleta cromática extraída del logotipo */
  --bg-cream: #FFFBF5;
  --color-pink: #F7C6D0;
  --color-pink-hover: #F2AEC0;
  --color-baby-blue: #B9DDF5;
  --color-mint-green: #BFE6D6;
  --color-butter-yellow: #F9E3A1;
  --color-lavender: #D9C8F0;
  --color-peach: #F2A86B;
  
  /* Tipografía y Textos (WCAG AA contrast compliant) */
  --text-chocolate: #3B2A26;
  --text-secondary: #7A6560;
  --bg-white: #FFFFFF;
  --bg-card-soft: #FFFDF9;
  
  /* Fuentes */
  --font-title: 'Fredoka', cursive, sans-serif;
  --font-subtitle: 'Quicksand', sans-serif;
  --font-script: 'Dancing Script', cursive;
  --font-body: 'Nunito', sans-serif;
  
  /* Sombras y Bordes */
  --border-pink: 1.5px solid #F7C6D0;
  --border-pink-light: 1px solid rgba(247, 198, 208, 0.5);
  --radius-card: 24px;
  --radius-pill: 50px;
  --radius-sm: 12px;
  
  --shadow-soft: 0 8px 24px rgba(59, 42, 38, 0.06);
  --shadow-hover: 0 14px 32px rgba(59, 42, 38, 0.12);
  --shadow-glow: 0 0 20px rgba(247, 198, 208, 0.4);
  
  /* Transiciones */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 3. RESET Y ESTILOS BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-chocolate);
  background-color: var(--bg-cream);
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(247, 198, 208, 0.18) 0%, transparent 25%),
    radial-gradient(circle at 90% 80%, rgba(185, 221, 245, 0.18) 0%, transparent 25%),
    radial-gradient(circle at 50% 50%, rgba(191, 230, 214, 0.12) 0%, transparent 40%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Tipografía jerárquica */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--text-chocolate);
  line-height: 1.25;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.15rem; }

@media (min-width: 768px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.4rem; }
  h3 { font-size: 1.6rem; }
}

.script-accent {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--text-chocolate);
  font-size: 1.8rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .script-accent { font-size: 2.5rem; }
}

.subtitle-caps {
  font-family: var(--font-subtitle);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-chocolate);
}

p.lead {
  font-size: 1.2rem;
  color: var(--text-chocolate);
}

a {
  color: var(--text-chocolate);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* 4. LAYOUT & CONTENEDORES */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

section {
  padding: 3.5rem 0;
  position: relative;
}

@media (min-width: 768px) {
  section {
    padding: 5rem 0;
  }
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem auto;
}

.text-center { text-align: center; }

/* 5. BOTONES Y PÍLDORAS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-subtitle);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  border: var(--border-pink);
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--color-pink);
  color: var(--text-chocolate);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--color-pink-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--text-chocolate);
  border: var(--border-pink);
}

.btn-secondary:hover, .btn-secondary:focus-visible {
  background-color: var(--color-pink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  border: none;
  font-weight: 700;
}

.btn-whatsapp:hover, .btn-whatsapp:focus-visible {
  background-color: #20BA5A;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.15rem;
}

/* 6. CABECERA Y NAVEGACIÓN */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 251, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-pink-light);
  transition: var(--transition-normal);
  padding: 0.6rem 0;
}

.site-header.scrolled {
  box-shadow: var(--shadow-soft);
  padding: 0.4rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-logo img {
  height: 48px;
  width: auto;
  transition: var(--transition-fast);
}

.header-logo-text {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-chocolate);
}

/* En móvil solo se muestra el logo, para que no se monte con el selector de idioma */
@media (max-width: 599px) {
  .header-logo-text {
    display: none;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.8rem;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-family: var(--font-subtitle);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-chocolate);
  position: relative;
  padding: 0.3rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background-color: var(--color-pink);
  border-radius: 2px;
  transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Móvil y tablet: el selector ES | EN queda centrado entre el logo y "Reservar fecha" */
@media (max-width: 991px) {
  .nav-actions {
    flex: 1;
    margin-left: 0.75rem;
  }
  .nav-actions .lang-selector {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Selector de idioma ES | EN en texto sin banderas */
.lang-selector {
  font-family: var(--font-subtitle);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background-color: rgba(247, 198, 208, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  border: var(--border-pink-light);
}

.lang-selector a {
  color: var(--text-secondary);
  padding: 0 0.15rem;
}

.lang-selector a.active {
  color: var(--text-chocolate);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--color-pink);
  text-decoration-thickness: 2px;
}

.lang-selector span.divider {
  color: var(--text-secondary);
  opacity: 0.5;
}

/* Menú Hamburguesa Móvil */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

@media (min-width: 992px) {
  .hamburger-btn { display: none; }
}

.hamburger-bar {
  width: 100%;
  height: 3px;
  background-color: var(--text-chocolate);
  border-radius: 3px;
  transition: var(--transition-normal);
}

.hamburger-btn.open .hamburger-bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-btn.open .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.open .hamburger-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Modal Nav Móvil */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-cream);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  transform: translateY(-100%);
  transition: var(--transition-normal);
  background-image: radial-gradient(circle at 50% 20%, rgba(247, 198, 208, 0.3) 0%, transparent 60%);
}

.mobile-nav-overlay.open {
  transform: translateY(0);
}

.mobile-nav-overlay .nav-link {
  font-size: 1.35rem;
}

.mobile-bunting {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 45px;
  pointer-events: none;
}

/* 7. TARJETAS Y ELEMENTOS DE CONTENIDO */
.card {
  background-color: var(--bg-white);
  border-radius: var(--radius-card);
  border: var(--border-pink);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

.card-soft {
  background-color: var(--bg-card-soft);
}

.card-pink {
  background-color: rgba(247, 198, 208, 0.25);
}

.card-blue {
  background-color: rgba(185, 221, 245, 0.25);
}

.card-mint {
  background-color: rgba(191, 230, 214, 0.25);
}

.card-yellow {
  background-color: rgba(249, 227, 161, 0.25);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* 5 tarjetas: en tablet 2 por fila con la última centrada; en ordenador 3 arriba y 2 centradas abajo */
.grid-5 { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.grid-5 > * { flex: 1 1 100%; }
@media (min-width: 600px) { .grid-5 > * { flex: 0 1 calc(50% - 0.75rem); } }
@media (min-width: 992px) { .grid-5 > * { flex: 0 1 calc(33.333% - 1rem); } }

@media (min-width: 992px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* 8. HERO SECTION */
.hero {
  padding-top: 7.5rem;
  padding-bottom: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bunting-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 1.5rem auto;
}

.hero-logo-img {
  width: 240px;
  max-width: 75%;
  height: auto;
  margin: 0 auto 1.5rem auto;
  filter: drop-shadow(0 8px 16px rgba(59, 42, 38, 0.08));
  transition: var(--transition-normal);
}

@media (min-width: 768px) {
  .hero-logo-img {
    width: 320px;
  }
}

.hero-slogan {
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Globos flotantes decorativos */
.floating-balloons {
  position: absolute;
  top: calc(7.5rem + 60px); /* debajo del banderín */
  left: 5%;
  right: 5%;
  bottom: 10%;
  pointer-events: none;
  z-index: 1;
}

.balloon {
  position: absolute;
  animation: floatBalloon 6s ease-in-out infinite alternate;
}

.balloon-left {
  top: 0;
  left: 0;
  width: 74px;
  transform-origin: 72% 0;
}

@media (min-width: 768px) {
  .balloon-left {
    top: 0;
    left: 2%;
    width: 165px;
  }
}

.balloon-right {
  top: 0;
  right: 0;
  width: 62px;
  animation-delay: -2.5s;
  transform-origin: 50% 100%;
}

@media (min-width: 768px) {
  .balloon-right {
    top: 2%;
    right: 3%;
    width: 110px;
  }
}

@keyframes floatBalloon {
  0% { transform: translateY(0px) rotate(-3deg); }
  100% { transform: translateY(-18px) rotate(4deg); }
}

/* 9. DECORACIONES Y SEPARADORES ACUARELADOS */
.bunting-divider {
  width: 100%;
  height: 35px;
  margin: 2rem 0;
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 35px;
}

.corner-decoration {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}

.corner-top-right { top: 0; right: 0; width: 140px; }
.corner-bottom-left { bottom: 0; left: 0; width: 140px; }

/* 10. SECCIÓN ¿QUÉ ES KARIBU? Y PASOS DE RESERVA */
.about-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .about-box {
    flex-direction: row;
    text-align: left;
  }
  .about-box img {
    max-width: 280px;
  }
}

.steps-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .steps-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--color-pink);
  color: var(--text-chocolate);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  box-shadow: var(--shadow-soft);
}

/* Móvil: los 3 pasos en tarjetas compactas (número a la izquierda, texto a la derecha) */
@media (max-width: 767px) {
  .steps-list { gap: 0.8rem; margin-top: 1.2rem; }
  .step-card {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 0.9rem;
    align-items: center;
    text-align: left;
    padding: 0.9rem 1.1rem;
  }
  .step-card .step-number {
    grid-row: span 2;
    width: 40px; height: 40px;
    font-size: 1.15rem;
    margin: 0;
    align-self: center;
  }
  .step-card h3 { font-size: 1.1rem; margin: 0 0 0.15rem 0; }
  .step-card p { font-size: 0.92rem; line-height: 1.45; margin: 0; }
}


/* 11. CARRUSEL 3D CILÍNDRICO (REQUISITO CLAVE) */
.carousel-3d-wrapper {
  position: relative;
  width: 100%;
  padding: 2rem 0 4rem 0;
  perspective: 1000px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.carousel-3d-stage {
  width: 100%;
  height: 260px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  margin: 0 auto;
}

.carousel-3d-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 132px;
  height: 184px;
  margin-top: -92px;
  margin-left: -66px;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--bg-white);
  box-shadow: 0 12px 28px rgba(59, 42, 38, 0.18);
  cursor: pointer;
  transition: filter 0.5s ease, opacity 0.5s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (min-width: 768px) {
  .carousel-3d-stage {
    height: 360px;
  }
  .carousel-3d-slide {
    width: 260px;
    height: 300px;
    margin-top: -150px;
    margin-left: -130px;
  }
}

.carousel-3d-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(59, 42, 38, 0.85));
  color: #FFFFFF;
  padding: 1rem 0.4rem 0.6rem 0.4rem;
  font-family: var(--font-title);
  font-size: 0.85rem;
  line-height: 1.2;
  text-align: center;
}

@media (min-width: 768px) {
  .carousel-slide-caption {
    padding: 1.2rem 1rem 0.8rem 1rem;
    font-size: 1.1rem;
    line-height: inherit;
  }
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-white);
  border: var(--border-pink);
  color: var(--text-chocolate);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-fast);
}

.carousel-arrow:hover {
  background: var(--color-pink);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(247, 198, 208, 0.6);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dot.active {
  background-color: var(--text-chocolate);
  transform: scale(1.25);
}

/* LIGHTBOX MODAL PARA FOTOS */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(59, 42, 38, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 900px;
  max-height: 85vh;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 16px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: var(--bg-white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-chocolate);
  box-shadow: var(--shadow-soft);
}

/* 12. ACORDEONES (CONDICIONES Y FAQ) */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--bg-white);
  border-radius: 16px;
  border: var(--border-pink-light);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.accordion-header {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--text-chocolate);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-fast);
}

.accordion-header:hover {
  background-color: rgba(247, 198, 208, 0.15);
}

.accordion-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1), padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-chocolate);
}

.accordion-item.open .accordion-content {
  max-height: 500px;
  padding: 0.5rem 1.5rem 1.5rem 1.5rem;
}

.faq-category-title {
  font-family: var(--font-subtitle);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-chocolate);
  margin: 2rem 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid var(--color-pink);
  padding-bottom: 0.4rem;
}

/* 13. FORMULARIO DE RESERVAS */
.booking-container {
  max-width: 650px;
  margin: 0 auto;
  position: relative;
}

/* Móvil: un poco de aire para que el león no tape el título */
@media (max-width: 767px) {
  .booking-container { margin-top: 5.5rem; }
}
@media (min-width: 768px) {
  .booking-container { margin-top: 8.5rem; }
}

.giraffe-peeking {
  position: absolute;
  top: -83px;
  right: 18px;
  width: 120px;
  pointer-events: none;
  z-index: 10;
}

@media (min-width: 768px) {
  .giraffe-peeking {
    width: 185px;
    top: -128px;
    right: 28px;
  }
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-family: var(--font-subtitle);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--text-chocolate);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid #E2D5D0;
  background-color: var(--bg-white);
  color: var(--text-chocolate);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-pink);
  box-shadow: 0 0 0 4px rgba(247, 198, 208, 0.35);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-pink);
  cursor: pointer;
  margin-top: 0.2rem;
}

.booking-summary-box {
  background-color: var(--bg-cream);
  border-radius: 16px;
  border: var(--border-pink);
  padding: 1.2rem 1.5rem;
  margin: 1.8rem 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.summary-row.total {
  font-family: var(--font-title);
  font-size: 1.35rem;
  border-top: 1.5px dashed var(--color-pink);
  padding-top: 0.6rem;
  margin-top: 0.6rem;
}

/* 14. BOTÓN FLOTANTE WHATSAPP */
.floating-whatsapp {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition-normal);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

/* 15. PIE DE PÁGINA (FOOTER) */
.site-footer {
  background-color: #F8F1E7;
  border-top: var(--border-pink);
  padding: 4rem 0 2rem 0;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand img {
  height: 65px;
  margin-bottom: 1rem;
}

.footer-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a:hover {
  color: var(--color-peach);
  text-decoration: underline;
}

.monkey-hanging {
  position: absolute;
  top: -10px;
  right: 4%;
  width: 85px;
  pointer-events: none;
  z-index: 5;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(122, 101, 96, 0.2);
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* 16. ACCESIBILIDAD Y REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .carousel-3d-stage {
    transform: none !important;
  }
  .balloon {
    animation: none !important;
  }
}


/* MAPA DE CONTACTO: siempre visible; al tocarlo se abre la ruta en Google Maps */
.map-card {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  min-height: 360px;
  cursor: pointer;
}
.map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none; /* el toque va al enlace de la ruta */
}
.map-cta {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  background: var(--color-pink, #F7C6D0);
  color: var(--text-chocolate, #3B2A26);
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(59, 42, 38, 0.2);
  white-space: nowrap;
}
.map-card:hover .map-cta { transform: translateX(-50%) translateY(-2px); }

/* Móvil: el carrusel ocupa todo el ancho de la pantalla (las fotos de los lados llegan al borde) */
@media (max-width: 767px) {
  .section-gallery .carousel-3d-wrapper {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .section-gallery .carousel-arrow {
    display: none; /* en móvil se pasa con el dedo */
  }
  /* Como en la referencia: por detrás se ven las fotos que ya han pasado */
  .section-gallery .carousel-3d-slide {
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }
}


/* VISOR DE FOTOS CON DESLIZAMIENTO (se pasa de foto con el dedo, flechas o teclado) */
.kv-modal { position: fixed; inset: 0; z-index: 3000; background: rgba(59, 42, 38, 0.96);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease; overflow: hidden; }
.kv-modal.open { opacity: 1; pointer-events: auto; }
.kv-track { position: absolute; inset: 0; display: flex; touch-action: pan-y pinch-zoom; will-change: transform; }
.kv-slide { flex: 0 0 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  padding: 3.8rem 0.8rem 3.4rem; box-sizing: border-box; }
.kv-slide img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px;
  user-select: none; -webkit-user-drag: none; box-shadow: 0 10px 40px rgba(0,0,0,0.35); }
.kv-close, .kv-arrow { position: absolute; z-index: 2; border: none; cursor: pointer; border-radius: 50%;
  background: var(--bg-white); color: var(--text-chocolate); box-shadow: var(--shadow-soft);
  display: flex; align-items: center; justify-content: center; }
.kv-close { top: 0.9rem; right: 0.9rem; width: 42px; height: 42px; font-size: 1.4rem; }
.kv-arrow { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; }
.kv-prev { left: 1rem; } .kv-next { right: 1rem; }
.kv-count { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: #fff;
  font-size: 0.95rem; letter-spacing: 0.05em; opacity: 0.9; }
@media (max-width: 767px) { .kv-arrow { display: none; } }
@media (min-width: 768px) { .kv-slide { padding: 4rem 5.5rem 3.5rem; } }


/* Lo más destacado: el texto de cada tarjeta centrado también en vertical */
.grid-5 > .card { display: flex; flex-direction: column; justify-content: center; align-items: center; }

/* Tarifas: león asomado sobre la tarjeta del precio (solo móvil) y título más compacto */
.price-card { position: relative; overflow: visible !important; }
@media (max-width: 767px) {
  .h1-compact { font-size: 1.75rem; }
  .price-card { margin-top: 5.2rem !important; }
}
@media (min-width: 768px) { .lion-mobile { display: none; } }

/* Móvil: recuadros más compactos en "Ideal para" (2 por fila) y en Reserva/Fianza, Llaves y Limpieza */
@media (max-width: 767px) {
  .section-ideal .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .section-ideal .card { padding: 1rem 0.7rem; }
  .section-ideal .card > div { font-size: 1.8rem !important; margin-bottom: 0.3rem !important; }
  .section-ideal .card h3 { font-size: 1rem; margin: 0; }
  .section-ideal .card p { font-size: 0.82rem !important; margin-top: 0.3rem !important; line-height: 1.35; }
  .cond-grid { gap: 0.9rem; }
  .cond-grid .card { padding: 1.1rem 1.2rem; }
  .cond-grid .card h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
  .cond-grid .card p { font-size: 0.92rem; line-height: 1.5; margin-bottom: 0; }
}
