/* ---------------------------------
   PALETA CORPORATIVA CASA CARO
---------------------------------- */
:root {
  --gris-piedra: #5C5C5C;
  --gris-antracita: #2E2E2E;
  --beige-lino: #DDD0BD;
  --blanco-hueso: #F7F4EF;
  --arena-calido: #C8AC8C;
  --oro-mate: #B89B6B;
}

/* ---------------------------------
   RESET BÁSICO
---------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--gris-antracita);
  background-color: var(--blanco-hueso);
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: var(--gris-antracita);
}

a:hover {
  color: var(--oro-mate);
}

/* ---------------------------------
   CONTENEDOR GLOBAL
---------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---------------------------------
   HEADER / NAVEGACIÓN
---------------------------------- */
.header {
  background-color: var(--blanco-hueso);
  padding: 1rem 0;
  border-bottom: 1px solid var(--beige-lino);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo img {
  height: auto;
  max-height: 90px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  font-weight: 500;
  padding: 0.5rem 0;
}

.header {
  background-color: var(--blanco-hueso);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}



.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  letter-spacing: 0.4px;
  color: var(--gris-antracita);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--oro-mate);
}


/* ---------------------------------
   SWIPER COMO HERO
---------------------------------- */
.swiper-hero {
  width: 100%;
  height: 90vh;
  position: relative;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-slide::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Overlay de texto sobre slide principal */
.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
}

.overlay h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.overlay p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background-color: var(--arena-calido);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s ease;
}

.btn:hover {
  background-color: var(--oro-mate);
  color: #fff;
}

/* Paginación Swiper */
.swiper-pagination {
  position: absolute;
  bottom: 20px;
  z-index: 10;
  text-align: center;
}
/* ---------------------------------
   SWIPER - BOTONES PERSONALIZADOS
---------------------------------- */
/* Oculta las flechas por defecto */

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

/* Botón visual */
.swiper-button-next,
.swiper-button-prev {
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--beige-lino);
  transform: scale(1.05);
}

/* Flecha SVG */
.swiper-button-next svg,
.swiper-button-prev svg {
  stroke: var(--oro-mate);
  width: 24px;
  height: 24px;
}


/* Ocultar flechas en pantallas pequeñas (opcional) */
@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* ---------------------------------
   SECCION / PARQUE
---------------------------------- */

/* Sección Parque Natural */
.parque-highlight {
  background: #f5f9f7;
  padding: 6rem 0;
}

.parque-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.parque-text h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #2B4F36;
}

.parque-text .lead {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #3a5546;
}

.parque-text p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
}

.parque-img img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

/* Responsive */
@media (max-width: 900px) {
  .parque-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .parque-img {
    order: -1;
  }

  .parque-text h2 {
    font-size: 2rem;
  }

  .parque-text .lead {
    font-size: 1.1rem;
  }
}

/* ---------------------------------
   ESCAPADAS / CARDS
---------------------------------- */
section {
  padding: 4rem 1rem;
}

section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--gris-piedra);
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background-color: white;
  border: 1px solid var(--beige-lino);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 1rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--gris-antracita);
}

.card p {
  font-size: 0.95rem;
  color: var(--gris-piedra);
}



/* ---------------------------------
   SERVICIOS
---------------------------------- */


/* ---------------------------------
   SERVICIOS (NUEVO DISEÑO PREMIUM)
---------------------------------- */

.servicios-premium {
  background-color: var(--blanco-hueso);
  padding: 6rem 1rem;
  text-align: center;
}

.titulo-grande {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--gris-antracita);
  margin-bottom: 1.5rem;
}

.intro {
  font-size: 1.15rem;
  color: var(--gris-piedra);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-style: italic;
}

.iconos-servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2.5rem;
  justify-items: center;
}

.icono-servicio {
  background: white;
  padding: 2rem 1.2rem;
  border-radius: 24px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icono-servicio:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}

.icono-servicio img {
  width: 56px;
  height: auto;
  margin-bottom: 1rem;
  filter: grayscale(20%) brightness(0.95);
}

.icono-servicio .titulo {
  font-weight: 600;
  color: var(--gris-antracita);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.icono-servicio .subtitulo {
  font-size: 0.85rem;
  color: var(--gris-piedra);
  line-height: 1.4;
}




/* ---------------------------------
   Laviana
---------------------------------- */


.laviana-ubicacion {
  background-color: var(--blanco-hueso);
  padding: 5rem 1rem;
}
.laviana-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 3rem;
}
.reverse .laviana-grid {
  flex-direction: row-reverse;
}

.laviana-texto {
  flex: 1 1 50%;
  min-width: 320px;
}
.laviana-texto h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--gris-antracita);
}
.laviana-texto .destacar {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--gris-piedra);
}
.laviana-texto h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  color: var(--arena-calido);
}
.icon-list-small {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
}
.icon-list-small li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: var(--gris-piedra);
}
.laviana-imagen {
  flex: 1 1 40%;
  min-width: 320px;
}
.laviana-imagen img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
  .laviana-grid {
    flex-direction: column;
  }
}


/* ---------------------------------
   SECCIONES VISUALMENTE ALTERNAS
---------------------------------- */
.section-alt {
  background-color: var(--beige-lino);
}

.section-light {
  background-color: var(--blanco-hueso);
}

/* ---------------------------------
   BLOQUES TIPO TARJETA INTERNOS
---------------------------------- */
.info-card {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
  transition: box-shadow 0.3s ease;
}

.info-card:hover {
  box-shadow: 0 6px 30px rgba(0,0,0,0.08);
}

.info-card h4 {
  font-size: 1.2rem;
  color: var(--gris-antracita);
  margin-bottom: 0.75rem;
}

.info-card p {
  color: var(--gris-piedra);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------------------------------
   DISEÑO EN ZIGZAG / LAVIANA VISUAL
---------------------------------- */
.laviana-ubicacion:nth-child(even) .laviana-grid {
  flex-direction: row-reverse;
}

.laviana-texto .subtitulo {
  font-size: 1rem;
  font-style: italic;
  color: var(--gris-piedra);
  margin-bottom: 2rem;
}

/* ---------------------------------
   SEPARADORES VISUALES
---------------------------------- */
section::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  margin: 0 auto 2rem;
  background-color: var(--arena-calido);
  border-radius: 2px;
}



/* ---------------------------------
   FOOTER
---------------------------------- */
footer {
  background-color: var(--gris-antracita);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}





/* ---------------------------------
   RESPONSIVE
---------------------------------- */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  .overlay h1 {
    font-size: 2rem;
  }

  .overlay p {
    font-size: 1rem;
  }

  .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    display: inline-block;
  }


}



/* ---------------------------------
   PÁGINA AMANTES DE LA NATURALEZA
---------------------------------- */

/* Hero a pantalla completa */
.hero-full {
  height: 90vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-full .overlay {
  background-color: rgba(0, 0, 0, 0.45);
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  color: white;
  max-width: 800px;
}

.hero-full h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-full p {
  font-size: 1.25rem;
  font-style: italic;
}

/* Secciones en zigzag */
.zigzag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
}

.zigzag-grid .texto {
  flex: 1 1 50%;
  min-width: 320px;
}

.zigzag-grid .imagen {
  flex: 1 1 45%;
  min-width: 300px;
}

.zigzag-grid img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  object-fit: cover;
}

.zigzag-grid .texto h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--gris-antracita);
}

.zigzag-grid .texto p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gris-piedra);
  margin-bottom: 1rem;
}

.zigzag-grid .texto .destacar {
  font-style: italic;
  color: var(--arena-calido);
}

.zigzag-grid .icon-list {
  list-style: disc inside;
  margin-top: 1rem;
  color: var(--gris-piedra);
  font-size: 1rem;
}
/* Forzar listas en columna dentro de bloques zigzag (Teletrabajo, etc.) */
.zigzag-grid .icon-list-small { text-align: left; }
.zigzag-grid .icon-list-small li { display: block; }  /* en vez de inline-block */


/* Alternancia visual (imagen izquierda) */
.zigzag-grid.reverse {
  flex-direction: row-reverse;
}

/* Tarjetas por estación */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.estacion-card {
  background: white;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.estacion-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.estacion-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0); /* ayuda a suavizar escalado en navegadores WebKit */
}

.estacion-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--gris-antracita);
}

.estacion-card p {
  font-size: 0.95rem;
  color: var(--gris-piedra);
}

/* Call to Action */
.call-to-action {
  padding: 5rem 1rem;
  text-align: center;
}

.call-to-action h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--gris-antracita);
}

.call-to-action p {
  font-size: 1.1rem;
  color: var(--gris-piedra);
  margin-bottom: 2rem;
}

/* Botón */
.btn {
  background-color: var(--arena-calido);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-decoration: none;
  font-size: 1rem;
}

.btn:hover {
  background-color: var(--oro-mate);
  color: #fff;
}

/* Centrado utilitario */
.centered {
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-full h1 {
    font-size: 2rem;
  }

  .zigzag-grid {
    flex-direction: column;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .estacion-card img {
    height: 140px;
  }
}

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

.expandable {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.expand-btn {
  margin-top: 1rem;
  background: var(--arena-calido);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

.expand-btn:hover {
  background: var(--oro-mate);
}

.contenido-expandido {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--gris-piedra);
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.estacion-card.expandida .contenido-expandido {
  display: block;
}
/* -----------------------------
   EXPANSIÓN ELEGANTE POR ESTACIÓN
------------------------------ */

.estacion-card.expandida {
  background-color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  padding: 2rem;
  border-radius: 18px;
  transition: all 0.4s ease;
}

.estacion-card.expandida h3 {
  color: var(--arena-calido);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.estacion-card.expandida p {
  margin-top: 0.75rem;
  color: var(--gris-antracita);
  font-size: 1rem;
  line-height: 1.6;
}

.estacion-card.expandida ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.estacion-card.expandida ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--gris-piedra);
}

.estacion-card.expandida ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--oro-mate);
  font-size: 1.2rem;
  line-height: 1;
}

/* Botón refinado */
.expand-btn {
  margin: 1rem auto 1.5rem;
  display: inline-block;
  background-color: white;
  color: var(--arena-calido);
  border: 2px solid var(--arena-calido);
  padding: 0.4rem 1.2rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.expand-btn:hover {
  background-color: var(--arena-calido);
  color: white;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* --- LANDING FAMILIAS (Estilos específicos y nuevos) --- */

/* Hero introductorio */
.hero-simple {
  background-color: #f5f8f6;
  padding: 4rem 0;
  text-align: center;
}
.hero-simple h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: #2b4f36;
  margin-bottom: 0.5rem;
}
.hero-simple h2 {
  font-size: 1.3rem;
  color: #4a6550;
}

/* Layout 2 columnas */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.grid-2 img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.07);
}

/* Call to Action específica */
.call-to-action {
  text-align: center;
  background-color: #fdfdfb;
  padding: 5rem 2rem;
}
.call-to-action h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.call-to-action .btn {
  margin-top: 1.5rem;
}

/* Responsive para la grid */
@media (max-width: 960px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero-simple h1 {
    font-size: 2rem;
  }
}

.icon-list-small {
  list-style: none;
  padding-left: 0;
  text-align: center;
  margin: 1rem 0 2rem;
}

.icon-list-small li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: var(--gris-piedra);
  display: inline-block;
  text-align: left;
}

.icon-list-small li::before {
  content: '▹';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--arena-calido);
  font-size: 1rem;
  line-height: 1;
}


/* ---------------------------------
   REFINAMIENTO VISUAL PARA LANDING FAMILIAS
---------------------------------- */

.zigzag-grid h2 {
  margin-bottom: 0.5rem;
}

.zigzag-grid ul {
  margin-top: 1rem;
}

.icon-list-small {
  list-style: none;
  padding-left: 0;
  text-align: center;
  margin: 1rem 0 2rem;
}

.icon-list-small li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--gris-piedra);
  line-height: 1.5;
}

.icon-list-small li::before {
  content: '▹';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--arena-calido);
  font-weight: bold;
  font-size: 1rem;
}



    /* --- GALERÍA DE IMÁGENES --- */
    .galeria {
      padding: 6rem 1rem;
      background-color: var(--blanco-hueso);
    }

    .galeria h1 {
      text-align: center;
      font-family: 'Playfair Display', serif;
      font-size: 2.5rem;
      color: var(--gris-antracita);
      margin-bottom: 1rem;
    }

    .galeria p {
      text-align: center;
      color: var(--gris-piedra);
      font-size: 1.1rem;
      margin-bottom: 3rem;
    }

    .galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.galeria-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.3s ease;
  touch-action: pan-y; /* <-- añadido para permitir scroll vertical sin conflicto */
}

    .galeria-grid img:hover {
      transform: scale(1.02);
    }

    /* Lightbox */
    .lightbox {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0,0,0,0.85);
      justify-content: center;
      align-items: center;
      z-index: 999;
    }

    .lightbox img {
      max-width: 90%;
      max-height: 90%;
      border-radius: 12px;
      box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
    }

    .lightbox:target {
      display: flex;
    }

    .close-lightbox {
      position: absolute;
      top: 20px;
      right: 30px;
      font-size: 2rem;
      color: white;
      text-decoration: none;
      font-weight: bold;
    }
/* Hover solo en dispositivos con hover real (desktop) */
@media (hover: hover) {
  .galeria-grid img:hover {
    transform: scale(1.02);
  }
}
    @media (max-width: 768px) {
      .galeria-grid img {
        height: 180px;
      }
    }


    /* --- laviana cards en index --- */
/* --- NUEVO BLOQUE LAVIANA --- */

.laviana-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 3rem;
}

.reverse .laviana-grid {
  flex-direction: row-reverse;
}

.laviana-contenido {
  flex: 1 1 50%;
  min-width: 320px;
}

.laviana-titulo {
  margin-bottom: 1.5rem;
}

.laviana-titulo h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  color: var(--gris-antracita);
  margin-bottom: 0.5rem;
}

.laviana-titulo .destacar {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gris-piedra);
}

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

.laviana-cards .info-card {
  background-color: white;
  padding: 1.5rem 1.2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.laviana-cards .info-card:hover {
  transform: translateY(-5px);
}

.laviana-cards .info-card h4 {
  font-size: 1.1rem;
  color: var(--arena-calido);
  margin-bottom: 0.5rem;
}

.laviana-cards .info-card p {
  color: var(--gris-piedra);
  font-size: 0.95rem;
  line-height: 1.6;
}

.laviana-cards .info-card ul {
  margin-top: 0.5rem;
  padding-left: 1rem;
}

.laviana-cards .info-card ul li {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--gris-piedra);
  padding-left: 1.2rem;
  position: relative;
}

.laviana-cards .info-card ul li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--arena-calido);
}

.laviana-imagen {
  flex: 1 1 40%;
  min-width: 320px;
}

.laviana-imagen img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .laviana-grid {
    flex-direction: column;
  }

  .laviana-cards {
    grid-template-columns: 1fr;
  }
}

/*--- Tarjetas contenido manuales --- */
/* === Tarjetas con imagen arriba (manuales) === */
:root { --card-media-h: 200px; }          /* alto de la zona de imagen en desktop */

.info-card.card-with-image {
  /* parte de info-card, pero sin padding global */
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.info-card.card-with-image img {
  display: block;
  width: 100%;
  height: var(--card-media-h);            /* TODAS las imágenes misma altura */
  object-fit: contain;                    /* no recorta, centra y respeta proporción */
  object-position: center;
  border-radius: 12px 12px 0 0;
  background: #fff;                       /* por si la imagen tiene transparencia */
}

.info-card.card-with-image .body {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 16px;                          /* el padding va en el cuerpo */
  flex: 1;                                /* el texto crece para igualar altura total */
}

.info-card.card-with-image h3 { margin: 0 0 .35rem; }
.info-card.card-with-image .meta { margin: .1rem 0 .65rem; }

/* Responsive: un poco menos alto de media en móvil */
@media (max-width: 768px) {
  :root { --card-media-h: 160px; }
}
/* El grid de tarjetas debe estirar los items a la misma altura */
.grid-4 { align-items: stretch; }
.grid-4 > * { height: 100%; }


/* --- BLOQUE "PLANES PARA DOS" REESTRUCTURADO --- */

.planes-pareja {
  background-color: var(--beige-lino);
  padding: 6rem 1rem;
  text-align: center;
}

.planes-pareja h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--gris-antracita);
  margin-bottom: 0.5rem;
}

.planes-pareja h3 {
  font-size: 1.2rem;
  color: var(--gris-piedra);
  font-style: italic;
  margin-bottom: 2.5rem;
}

.planes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.plan-card {
  background-color: white;
  padding: 2rem 1.2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 300px;
  text-align: center;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.plan-card h4 {
  font-size: 1.1rem;
  color: var(--arena-calido);
  margin-bottom: 0.4rem;
   text-align: center;
}

.plan-card p {
  font-size: 0.95rem;
  color: var(--gris-piedra);
  line-height: 1.6;
}

/* ---------------------------------
   BLOQUE DE LUGARES CERCANOS (REUTILIZABLE)
   Para secciones de familia, pareja u otros
---------------------------------- */

.bloque-lugares {
  padding: 5rem 1rem;
}

.bloque-lugares h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--gris-antracita);
  text-align: center;
  margin-bottom: 3rem;
}

.lugares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.lugar-card {
  background-color: white;
  padding: 2rem 1.2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.lugar-card h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--arena-calido);
}

.lugar-card ul {
  list-style: none;
  padding-left: 0;
}

.lugar-card ul li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--gris-piedra);
  position: relative;
  padding-left: 1.2rem;
}

.lugar-card ul li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--arena-calido);
  font-size: 1rem;
}

/* Igualar altura de mini-cards en el contacto */
.equal-cards { align-items: stretch; }
.equal-cards .info-card { margin-bottom: 0; height: 100%; }


/* ---------------------------------
   ANIMACIÓN DE ENTRADA SUAVE
   Para elementos con .animar-al-entrar + .visible
   (bloques reutilizables como lugares, servicios, etc.)
---------------------------------- */
.animar-al-entrar {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animar-al-entrar.visible {
  opacity: 1;
  transform: translateY(0);
}





/* ---------------------------------
   RESPONSIVE
---------------------------------- */

/* ---------------------------------
   AJUSTES RESPONSIVE PARA SWIPER HERO
   Mejora visual y funcional en móvil
---------------------------------- */

@media (max-width: 768px) {
  .swiper-hero {
    height: 65vh;
  }

  .swiper-slide .overlay {
    padding: 1.5rem;
    max-width: 90%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
  }

  .swiper-slide .overlay h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .swiper-slide .overlay p {
    font-size: 1rem;
    line-height: 1.5;
  }
}


/* ---------------------------------
   AJUSTES RESPONSIVE PARA HERO EN MÓVILES
   Mejora la visibilidad del texto overlay en pantallas pequeñas
---------------------------------- */
@media (max-width: 768px) {
  .overlay {
    padding: 1rem;
    max-width: 90%;
    background-color: rgba(0, 0, 0, 0.6); /* más contraste si es necesario */
    border-radius: 10px; 
 }

  .overlay h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .overlay p {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .swiper-hero {
    height: 65vh; /* Opcional: menos altura en móviles para mejor acceso al contenido */
  }
}


/* ---------------------------------
   MENÚ HAMBURGUESA RESPONSIVE MEJORADO
---------------------------------- */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--gris-antracita);
  padding: 0.5rem;
}

@media (max-width: 768px) {
  /* Logo ligeramente más grande en móvil */
  .logo img {
    max-height: 80px;
    height: auto;
    width: auto;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .header-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5rem 1rem;
  }

  .nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }

   .nav.show {
    max-height: 300px; /* o más si hay muchos links */
    opacity: 1;
  }

  .nav a {
    padding: 0.5rem 0;
    font-size: 1rem;
  }
}

/* Mostrar u ocultar contenido según dispositivo */
.texto-movil {
  display: none;
}
.texto-desktop {
  display: block;
}

@media (max-width: 768px) {
  .texto-movil {
    display: block;
  }
  .texto-desktop {
    display: none;
  }
}

