@import url('https://fonts.googleapis.com/css2?family=Gwendolyn&display=swap');

/* ====== ESTILOS GENERALES ====== */
html, body {
  height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #EDC9ED;
  color: #333;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a:focus,
button:focus {
  outline: 2px dashed #000;
  outline-offset: 2px;
}

/* ====== CABECERA ====== */
header {
  display: flex;
  flex-direction: column;
}

.header-top {
  height: 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

/* Imágenes de cabecera específicas por página */
.page-index .header-top,
.page-instalaciones .header-top {
  background-image: url('../imagenes/amanecer.png');
}

.page-entorno .header-top {
  background-image: url('../imagenes/centorno.png');
}

.page-costas .header-top,
.page-pueblos .header-top,
.page-myb .header-top {
  background-image: url('../imagenes/centorno1.png');
}

.page-actividad .header-top,
.page-actividad1 .header-top,
.page-actividad2 .header-top,
.page-actividad3 .header-top {
  background-image: url('../imagenes/cabecera.png');
}

.page-actividades .header-top {
  background-image: url('../imagenes/cabecera.png');
}

.page-talleres .header-top,
.page-taller .header-top,
.page-taller1 .header-top,
.page-taller2 .header-top,
.page-taller3 .header-top {
  background-image: url('../imagenes/talleres.png');
}

.page-alojamiento .header-top {
  background-image: url('../imagenes/mirador 1.jpg');
  background-size: 100% 100%;
}

.logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.header-bottom {
  background-color: #4b0082;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px;
  gap: 10px;
}

.hamburger {
  display: none;
  font-size: 28px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  align-self: center;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s, background-color 0.3s;
  padding: 6px 12px;
  border-radius: 4px;
}

.nav-links a:hover,
.nav-links a:focus {
  background-color: #fff;
  color: #4b0082;
}

/* ====== MENÚ HAMBURGUESA ====== */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #4b0082;
    width: 100%;
    padding: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-social-icons {
    display: none;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 1rem;
  }

  .menu-social-icons a {
    padding: 0;
  }

  .menu-social-icons img {
    width: 36px;
    height: 36px;
  }
}

/* ====== TABLET RESPONSIVE ====== */
@media (min-width: 769px) and (max-width: 1024px) {
  .header-bottom {
    padding: 8px 16px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links a {
    font-size: 15px;
    padding: 6px 10px;
  }

  .slider {
    height: 42vh;
  }

  .slide p {
    font-size: 1rem;
  }

  .slider-caption {
    font-size: 1.6rem;
  }

  .content-section {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
  }

  .content-section p,
  .content-section ul {
    font-size: 1rem;
  }

  .texto-actividad p,
  .descripcion-actividad p,
  .texto-reconectar p {
    font-size: 0.98rem;
  }

  .fichas-descriptivas {
    gap: 16px;
  }
}

/* ====== CONTENIDO PRINCIPAL ====== */
main {
  flex: 1 0 auto;
  padding: 20px;
}

.page-actividad1 .header-top,
.page-actividad2 .header-top,
.page-actividad3 .header-top,
.page-taller1 .header-top,
.page-taller2 .header-top,
.page-taller3 .header-top {
  height: 100px;
}

.page-actividad1 main,
.page-actividad2 main,
.page-actividad3 main,
.page-taller1 main,
.page-taller2 main,
.page-taller3 main {
  padding-top: 0px;
}

.page-actividad1 article,
.page-actividad2 article,
.page-actividad3 article,
.page-taller1 article,
.page-taller2 article,
.page-taller3 article {
  margin: 0 auto 1rem auto;
  padding: 0;
  gap: 1rem;
}

.page-actividad1 .contenido-ficha,
.page-actividad2 .contenido-ficha,
.page-actividad3 .contenido-ficha,
.page-taller1 .contenido-ficha,
.page-taller2 .contenido-ficha,
.page-taller3 .contenido-ficha {
  gap: 8px;
  margin-bottom: 2px;
}

.page-actividad1 .fichas-descriptivas,
.page-actividad2 .fichas-descriptivas,
.page-actividad3 .fichas-descriptivas,
.page-taller1 .fichas-descriptivas,
.page-taller2 .fichas-descriptivas,
.page-taller3 .fichas-descriptivas {
  margin-top: 5px;
  gap: 8px;
}

/* Estilos específicos para página index/instalaciones */
.page-index main p,
.page-instalaciones main p {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 400;
  margin-left: 200px;
  margin-right: 200px;
  text-align: justify;
  text-indent: 24px;
}

/* ====== ZONA CENTRAL DE BIENVENIDA ====== */
.centro-bienvenida {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0px auto;
  max-width: 400px;
}

.img-central {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 20px auto;
}

.titulo-central {
  font-family: 'Gwendolyn', cursive, serif;
  font-size: 2.5rem;
  white-space: nowrap;
  font-weight: bold;
  color: #333;
  margin: 0;
}

h1, h2, h3, h4 {
  margin-top: 0;
}

h1 {
  font-family: 'Gwendolyn', cursive, serif;
  font-weight: bold;
  font-size: 2.8rem;
  margin: 0 0 0 0;
  color: #4b0082;
  text-align: left;
}

h2 {
  font-family: 'Gwendolyn', cursive, serif;
  font-weight: bold;
  font-size: 2.5rem;
  margin: 0 0 0 0;
  color: #4b0082;
  text-align: left;
}

h3.style-h2 {
  font-family: 'Gwendolyn', cursive, serif;
  font-weight: bold;
  font-size: 2.2rem;
  margin: 0 0 0.5rem 0;
  color: #4b0082;
  text-align: left;
}

h3 {
  margin-top: 0;
  margin-bottom: 0;
  background-color: transparent;
  color: inherit;
  font-weight: normal;
}

h4 {
  font-family: 'Gwendolyn', cursive, serif;
  font-size: 1.5rem;
  text-align: center;
  color: #4b0082;
  margin-bottom: 0px;
}

h3.text-h4 {
  background-color: transparent;
  color: inherit;
}

.text-h4 {
  font-family: 'Gwendolyn', cursive, serif;
  font-size: 1.5rem;
  text-align: center;
  background-color: transparent;
  color: inherit;
  margin-bottom: 0px;
}

/* Títulos con estilo específico */
.section-title {
  font-weight: 700;
  text-align: left;
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  color: #4b0082;
}

/* ====== PAPEL DE NORMAS (Papiro) ====== */
.normas-papiro {
  max-width: 700px;
  margin: 30px auto;
  padding: 40px 50px;
  background: #fdf6e3;
  border: 2px solid #8b7355;
  border-radius: 10px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
  font-family: 'Georgia', serif;
  line-height: 1.6;
}

.normas-papiro h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #8b4513;
}

.normas-papiro ul {
  margin: 15px 0;
  padding-left: 25px;
}

.normas-papiro li {
  margin: 10px 0;
}

/* ====== SLIDER ====== */
.slider {
  position: relative;
  max-width: 100%;
  height: 50vh;
  min-height: 0;
  overflow: hidden;
  background-color: #000;
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  height: 100%;
  min-height: 0;
}

.slide {
  flex: 0 0 100%;
  position: relative;
  height: 100%;
  min-height: 0;
}

.slide > a {
  display: block;
  position: relative;
  height: 100%;
  overflow: hidden;
}

.slide img {
  width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}

.slide p {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.1rem;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 15px 30px;
  border-radius: 8px;
  z-index: 2;
  max-width: 80%;
  font-family: 'Georgia', serif;
  line-height: 1.4;
  font-style: italic;
}

.slider-caption {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 2.2rem;
  background-color: rgba(75, 0, 130, 0.8);
  padding: 8px 20px;
  border-radius: 4px;
  z-index: 2;
  font-family: 'Gwendolyn', cursive, serif;
  font-weight: bold;
}

/* Botones del slider */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(75, 0, 130, 0.8);
  color: white;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 5;
  border-radius: 4px;
  transition: background-color 0.3s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover,
.slider-btn:focus {
  background-color: rgba(75, 0, 130, 1);
  transform: translateY(-50%) scale(1.1);
  outline: 2px solid white;
  outline-offset: 2px;
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

/* Controles del slider */
.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  border: 2px solid white;
  transition: background-color 0.3s;
}

.slider-dot.active {
  background-color: white;
}

/* Responsive slider en móvil */
@media (max-width: 768px) {
  .slider {
    height: 35vh;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .slider-btn.prev {
    left: 10px;
  }

  .slider-btn.next {
    right: 10px;
  }

  .slide img {
    object-fit: cover;
  }

  .slide p {
    font-size: 0.9rem;
    bottom: 50px;
    padding: 10px 20px;
    max-width: 100%;
    line-height: 1.3;
  }

  .slider-caption {
    font-size: 1.4rem;
    padding: 6px 15px;
    white-space: nowrap;
    max-width: 100%;
    bottom: 15px;
  }
}

/* Móvil portrait */
@media (max-width: 768px) and (orientation: portrait) {
  .slide p {
    font-size: 0.8rem;
    bottom: 40px;
    padding: 8px 15px;
  }

  .slider-caption {
    font-size: 1.2rem;
    bottom: 10px;
  }

  .slide:nth-child(2) img {
    object-fit: cover;
    object-position: bottom center;
  }
}

/* Móvil landscape */
@media (max-width: 768px) and (orientation: landscape) {
  .slider {
    height: 50vh;
  }

  .slide p {
    font-size: 0.9rem;
    bottom: 60px;
    padding: 10px 20px;
  }

  .slider-caption {
    font-size: 1.4rem;
    bottom: 20px;
  }
}

/* Responsive móvil pequeño */
@media (max-width: 480px) {
  .slider {
    height: 30vh;
  }

  .slider-btn {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .slide img {
    object-fit: cover;
  }

  .slide p {
    font-size: 0.85rem;
    bottom: 40px;
    padding: 8px 16px;
    max-width: 100%;
    line-height: 1.3;
  }

  .slider-caption {
    font-size: 1.2rem;
    padding: 5px 12px;
    white-space: nowrap;
    max-width: 100%;
    bottom: 12px;
  }

  .nav-links a {
    font-size: 14px;
    padding: 8px 10px;
  }

  .footer {
    height: auto;
    min-height: 130px;
    padding: 12px 0;
  }

  .footer p {
    position: static;
    transform: none;
    top: auto;
    left: auto;
    width: auto;
    padding: 6px 12px;
    margin: 0 auto;
  }

  .footer .footer-icons {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 8px auto;
  }

  .footer .footer-icons img {
    width: 34px;
    height: 34px;
  }

  .menu-social-icons img {
    width: 28px;
    height: 28px;
  }

  .content-section {
    gap: 1rem;
  }

  .content-section p,
  .content-section ul {
    font-size: 1rem;
  }

  .content-section img,
  .imagen-actividad,
  .texto-actividad,
  .descripcion-actividad,
  .texto-reconectar {
    width: 100%;
    min-width: auto;
  }

  .fichas-descriptivas {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .fichas-descriptivas .ficha {
    min-width: auto;
    width: 100%;
    max-width: 100%;
  }

  .espacio-reconectar {
    gap: 8px;
  }
}

/* ====== CONTENIDO CON GRID RESPONSIVO ====== */
article {
  max-width: 1200px;
  margin: 2rem auto 4rem auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Contenedor para texto e imagen lado a lado */
.content-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

/* Alternar imagen texto lado */
.content-section:nth-child(even) {
  direction: ltr;
}

.content-section:nth-child(odd) {
  direction: rtl;
}

/* Párrafos con formato claro */
.content-section p,
.content-section ul {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 400;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  direction: ltr;
}

.content-section ul {
  margin-top: 10px;
  padding-left: 20px;
}

/* Imágenes responsivas sin recortar */
.content-section img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  object-fit: contain;
}

/* Responsive móvil: columna simple */
@media (max-width: 768px) {
  .content-section {
    display: flex;
    flex-direction: column;
  }

  .content-section:nth-child(even),
  .content-section:nth-child(odd) {
    direction: ltr;
  }

  .content-section img {
    max-width: 90%;
    margin-top: 1rem;
    align-self: center;
  }

  article {
    margin: 1rem 0 3rem 0;
  }
}

/* ====== FICHAS DE ACTIVIDAD ====== */
.zona-fichas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.ficha {
  background-color: #4b0082;
  border: 2px solid transparent;
  padding: 20px;
  width: 150px;
  height: 120px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  outline: none;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.zona-fichas a:nth-child(1) .ficha {
  background-image: url("../imagenes/taller1.jpeg");
}

.zona-fichas a:nth-child(2) .ficha {
  background-image: url("../imagenes/taller2.jpg");
}

.zona-fichas a:nth-child(3) .ficha {
  background-image: url("../imagenes/taller3.jpeg");
}

.ficha h3 {
  margin: 0;
  text-align: center;
  width: 98%;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 5px;
  z-index: 2;
  color: #fff;
  background-color: rgba(75, 0, 130, 0.8);
  text-shadow: none;
}

.ficha p {
  position: relative;
  z-index: 2;
  font-size: 16px;
  transition: opacity 0.3s ease, max-height 0.3s ease;
  opacity: 0;
  max-height: 0;
  margin: 0;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  text-shadow: none;
  font-style: italic;
}

.ficha:hover p {
  opacity: 1;
  max-height: 100px;
}

/* Fichas en versión mejorada (para talleres y actividades) */
.ficha-actividad {
  padding: 0;
}

.contenido-ficha {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 5px;
  align-items: flex-start;
}

.imagen-actividad {
  flex: 1;
  min-width: 300px;
  max-width: 45%;
}

.imagen-actividad img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.imagen-actividad img:hover {
  transform: scale(1.02);
}

.texto-actividad {
  flex: 1;
  min-width: 300px;
}

.texto-actividad p {
  line-height: 1.7;
  font-size: 1rem;
}

/* Estilos adicionales para actividades y talleres */
.imagen-actividad.secundaria {
  flex: 1;
  min-width: 300px;
  max-width: 35%;
}

.caption-texto {
  text-align: center;
  font-style: italic;
  color: #666;
  margin-top: 8px;
  font-size: 0.9rem;
}

.descripcion-actividad {
  flex: 1;
  min-width: 300px;
}

.descripcion-actividad p {
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 6px;
  text-align: justify;
}

.parrafos-completos p {
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 10px;
  text-align: justify;
}

.descripcion-actividad h4 {
  color: #4b0082;
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.espacio-reconectar {
  background-color: #f8f9fa;
  padding: 10px;
  border-radius: 12px;
  border-left: 4px solid #4b0082;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.texto-reconectar {
  flex: 1;
  min-width: 300px;
}

.texto-reconectar p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

.texto-reconectar strong {
  color: #4b0082;
  font-size: 1.2rem;
}

/* Fichas descriptivas */
.fichas-descriptivas {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: center;
  margin-top: 5px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.fichas-descriptivas .ficha {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  background-color: #fff;
  color: #333;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(75, 0, 130, 0.15);
  padding: 10px;
  border: 1px solid rgba(75, 0, 130, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: auto;
  overflow: visible;
}

.fichas-descriptivas .ficha:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(75, 0, 130, 0.25);
}

.fichas-descriptivas .ficha h4 {
  color: #4b0082;
  text-align: center;
  margin-bottom: 5px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(75, 0, 130, 0.2);
  font-size: 1.1rem;
  font-family: 'Poppins', Arial, Helvetica, sans-serif !important;
}

/* ====== BLOQUE CORREGIDO Y MEJORADO ====== */
.fichas-descriptivas .ficha h2,
.fichas-descriptivas .ficha h3 {
  position: static !important;
  bottom: auto !important;
  left: auto !important;
  z-index: auto !important;
  display: block;
  width: 100%;
  margin: 0 0 10px 0 !important;
  padding: 0 0 8px 0 !important;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: bold;
  color: #4b0082 !important;
  background-color: transparent !important;
  border-bottom: 1px solid rgba(75, 0, 130, 0.2);
  text-shadow: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-family: 'Gwendolyn', cursive, serif !important;
}

/* Ajuste específico para h3 con clase text-h4 dentro de las fichas descriptivas */
.fichas-descriptivas .ficha h3.text-h4 {
  color: #4b0082 !important;
  background-color: transparent !important;
  font-size: 1.45rem !important;
  line-height: 1.25;
  margin-bottom: 10px !important;
  padding-bottom: 8px !important;
}

/* Mejora suave del contenido interior para acompañar el título */
.fichas-descriptivas .ficha ul,
.fichas-descriptivas .ficha dl {
  margin: 0;
  padding-left: 18px;
}

.fichas-descriptivas .ficha li,
.fichas-descriptivas .ficha dd {
  margin-bottom: 6px;
  line-height: 1.45;
  font-size: 0.95rem;
}

.fichas-descriptivas .ficha dt {
  font-weight: bold;
  margin-bottom: 3px;
}

.fichas-descriptivas .ficha p {
  opacity: 1 !important;
  max-height: none !important;
  color: #333 !important;
  background-color: transparent !important;
  font-style: normal !important;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
  margin-bottom: 4px;
  text-shadow: none;
}

.fichas-descriptivas .ficha dt {
  font-weight: bold;
  color: #4b0082;
  margin-top: 10px;
}

.fichas-descriptivas .ficha dd {
  margin-left: 0;
  margin-bottom: 15px;
}

/* Texto destacado */
.texto-destacado {
  text-align: center;
  font-size: 1.2rem;
  font-style: italic;
  color: #4b0082;
  margin: 40px 0;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #4b0082;
}

/* Versión avanzada de fichas (talleres con layout mejorado) */
.ficha-img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: 16px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Contenedor mejorado main con fondo blanco */
.page-actividad1 main,
.page-actividad2 main,
.page-actividad3 main,
.page-taller main,
.page-taller1 main,
.page-taller2 main,
.page-taller3 main {
  flex: 1;
  position: relative;
  padding: 0 20px 20px 20px;
  max-width: 960px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(75, 0, 130, 0.1);
}

/* ====== PIE DE PÁGINA ====== */
footer {
  position: relative;
  height: 80px;
  background-image: url('../imagenes/pie2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.footer-font-centered {
  font-family: 'Gwendolyn', cursive, serif;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  color: #333;
  margin: 1rem 0;
}

footer p {
  font-family: 'Gwendolyn', cursive, serif;
  font-size: 1.8rem;
  background-color: transparent;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
  margin: 0;
  width: 100%;
  text-align: center;
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.footer-text {
  font-family: 'Gwendolyn', cursive, serif;
  font-size: 1.8rem;
  font-weight: bold;
}

.page-index main .footer-text {
  font-family: 'Gwendolyn', cursive, serif;
  text-align: center;
  margin: 0 auto;
  max-width: 760px;
}

.footer-icons {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 30px;
  align-items: center;
}

.icon-red0 {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: transform 0.2s;
  cursor: pointer;
}

.icon-red {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.2s;
  cursor: pointer;
}

.icon-red0:hover {
  transform: scale(1.5);
}

.icon-red:hover {
  transform: scale(1.5);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  footer .footer-icons {
    display: none;
  }

  .nav-links.active .menu-social-icons {
    display: flex;
  }

  .page-index main p,
  .page-instalaciones main p {
    margin-left: 20px;
    margin-right: 20px;
  }

  .contenido-ficha {
    flex-direction: column;
  }

  .imagen-actividad,
  .imagen-actividad.secundaria,
  .texto-actividad,
  .descripcion-actividad,
  .texto-reconectar {
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }

  .fichas-descriptivas {
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    overflow-x: hidden;
  }

  .fichas-descriptivas .ficha {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  
  .zona-fichas {
    gap: 20px;
  }
}