/* ================= RESET ================= */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Oswald', Arial, sans-serif;
  margin: 0;
  padding-top: 70px;
  background: #020617;
  color: white;
}

* {
  box-sizing: border-box;
}

/* ================= NAVBAR ================= */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
}

.logo-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  color: white;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 1px;
}

.instagram-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  transition: 0.3s;
}

.instagram-icon:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #cbd5f5;
  transition: 0.3s;
}

nav a:hover {
  color: #3b82f6;
}

/* ================= HERO ================= */

header {
  position: relative;
  height: 80vh;
  background: url("doc-gym/gym.jpg") center 30% / cover no-repeat;
  background-attachment: fixed;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

header h1,
header p,
.logo {
  position: relative;
}

header h1 {
  font-size: 70px;
  letter-spacing: 4px;
  margin: 0;
  color: white;
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.8),
    0 0 15px rgba(59, 130, 246, 0.5);
}

header p {
  margin-top: 15px;
  font-size: 20px;
  color: #e2e8f0;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.logo {
  width: 480px;
  margin-bottom: 25px;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.6));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

/* ================= SECCIONES GENERALES ================= */

section {
  padding: 60px 20px;
  text-align: center;
}

.titulo-seccion {
  font-size: 36px;
  margin-bottom: 30px;
  text-align: center;
}

/* ================= SUCURSALES ================= */

.sucursales-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 0 40px;
}

.sucursal {
  width: 50%;
  max-width: 600px;
  background: #020617;
  border: 1px solid #1e40af;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: 0.3s;
}

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

.sucursal h3 {
  font-size: 20px;
  color: #3b82f6;
  margin: 15px 0 10px;
}

.sucursal p {
  font-size: 14px;
  color: #cbd5f5;
  margin: 6px 0;
}

/* ================= CAROUSEL SUCURSALES ================= */

.carousel {
  position: relative;
  height: 320px;
  overflow: hidden;
  border-radius: 10px;
}

.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.carousel img.active {
  display: block;
}

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 30px;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.carousel button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* ================= BOTONES ================= */

.btn-horarios {
  display: inline-block;
  margin: 20px 0;
  padding: 12px 25px;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-horarios:hover {
  background: #1d4ed8;
  transform: scale(1.05);
}

.sucursal-botones {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.btn-planes {
  display: inline-block;
  background: #2563eb;
  padding: 10px 20px;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-planes:hover {
  background: #1d4ed8;
  transform: scale(1.05);
}

.btn-whatsapp {
  display: inline-block;
  background: #25d366;
  padding: 10px 20px;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: scale(1.05);
}

/* ================= MAPA ================= */

.mapa {
  margin-top: 15px;
}

.mapa iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 10px;
}

/* ================= ACTIVIDADES ================= */

.actividades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 40px;
}

.actividad {
  background: #020617;
  border: 1px solid #1e40af;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
}

.actividad:hover {
  transform: scale(1.03);
}

.actividad a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.actividad img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.actividad h3 {
  margin: 15px 0;
  color: #3b82f6;
}

/* ================= PÁGINAS DETALLE ACTIVIDAD ================= */

.detalle-actividad {
  min-height: 100vh;
  padding: 80px 20px;
  text-align: center;
  background: #020617;
  color: white;
}

.detalle-actividad h1 {
  font-size: 44px;
  margin-bottom: 15px;
}

.info-actividad {
  max-width: 700px;
  margin: 0 auto 35px;
  color: #cbd5f5;
  font-size: 18px;
  line-height: 1.6;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1050px;
  margin: 0 auto 40px;
}

.galeria img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #1e40af;
}

.botones-actividad {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-volver {
  display: inline-block;
  padding: 12px 25px;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-volver:hover {
  background: #1d4ed8;
  transform: scale(1.05);
}
/* ================= GALERÍA PAGINADA ================= */

.galeria-paginada {
  max-width: 1050px;
  margin: 30px auto 40px;
}

.grupo-galeria {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grupo-galeria.active {
  display: grid;
}

.grupo-galeria img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #1e40af;
}

.botones-galeria {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.botones-galeria button {
  background: #2563eb;
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.botones-galeria button:hover {
  background: #1d4ed8;
  transform: scale(1.05);
}

/* MOBILE */
@media (max-width: 768px) {
  .grupo-galeria {
    grid-template-columns: 1fr;
  }

  .grupo-galeria img {
    height: 220px;
  }

  .botones-galeria {
    flex-direction: column;
    align-items: center;
  }
}
/* ================= LIGHTBOX GALERÍA ================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #1e40af;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(2, 6, 23, 0.8);
  color: white;
  border: 1px solid #1e40af;
  cursor: pointer;
  transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: #1d4ed8;
}

.lightbox-close {
  top: 20px;
  right: 25px;
  font-size: 34px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.lightbox-prev {
  left: 25px;
}

.lightbox-next {
  right: 25px;
}

/* Hace que las fotos de la galería parezcan clickeables */
.grupo-galeria img,
.galeria img {
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
  .lightbox img {
    max-width: 95%;
    max-height: 75vh;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 42px;
    height: 42px;
    font-size: 26px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 15px;
    right: 15px;
  }
}
/* ================= SERVICIOS Y PRODUCTOS ================= */

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 0 40px;
}

.servicio {
  background: #020617;
  border: 1px solid #1e40af;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: 0.3s;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
}

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

.servicio img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.servicio h3 {
  margin: 15px 0;
  color: #3b82f6;
}

.servicio p {
  padding: 0 15px 15px;
  color: #cbd5f5;
  font-size: 14px;
  min-height: 60px;
}

.servicio a {
  display: block;
  margin-top: auto;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  width: fit-content;
}

.servicio a:hover {
  transform: scale(1.05);
}
/* ================= CATÁLOGO PRODUCTOS ================= */

.catalogo-productos {
  min-height: 100vh;
  padding: 80px 20px;
  background: #020617;
  color: white;
  text-align: center;
}

.catalogo-productos h1 {
  font-size: 44px;
  margin-bottom: 15px;
}

.intro-productos {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #cbd5f5;
  font-size: 18px;
  line-height: 1.6;
}

.productos-catalogo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.producto-card {
  background: #020617;
  border: 1px solid #1e40af;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: 0.3s;
  cursor: pointer;
}

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

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

.producto-card h3 {
  color: #3b82f6;
  margin: 18px 0 10px;
}

.producto-card .producto-descripcion {
  display: none;
}

/* ================= MODAL PRODUCTO ================= */

.modal-producto {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  padding: 20px;
}

.modal-producto.active {
  display: flex;
}

.modal-producto-contenido {
  position: relative;
  max-width: 700px;
  width: 100%;
  background: #020617;
  border: 1px solid #1e40af;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
}

.modal-producto-contenido img {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 20px;
}

.modal-producto-contenido h2 {
  color: #3b82f6;
  margin-bottom: 10px;
}

.modal-producto-contenido p {
  color: #cbd5f5;
  line-height: 1.6;
}

.modal-cerrar {
  position: absolute;
  top: 10px;
  right: 15px;
  background: #2563eb;
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
  .productos-catalogo-grid {
    grid-template-columns: 1fr;
  }

  .producto-card img {
    height: 230px;
  }

  .catalogo-productos h1 {
    font-size: 34px;
  }

  .modal-producto-contenido img {
    max-height: 320px;
  }
}
/* ================= STAFF ================= */

.staff-container {
  display: flex;
  justify-content: center;
  padding: 0 40px;
}

.staff-container img {
  width: 100%;
  max-width: 1100px;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #1e40af;
}

.staff-texto {
  max-width: 700px;
  margin: 20px auto;
  color: #cbd5f5;
  font-size: 18px;
  line-height: 1.6;
}

/* ================= HISTORIA ================= */

.historia-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.historia-img img {
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  border: 1px solid #1e40af;
}

.duenio-nombre {
  margin-top: 12px;
  font-size: 18px;
  color: #3b82f6;
  text-align: center;
}

.historia-texto {
  max-width: 600px;
  text-align: center;
  line-height: 1.8;
  color: #cbd5f5;
}
/* ================= HISTORIA COMPLETA ================= */

.historia-completa {
  min-height: 100vh;
  padding: 80px 20px;
  background: #020617;
  color: white;
  text-align: center;
}

.historia-completa h1 {
  font-size: 44px;
  margin-bottom: 25px;
}

.historia-intro {
  max-width: 850px;
  margin: 0 auto 50px;
  color: #cbd5f5;
  font-size: 18px;
  line-height: 1.7;
}

.historia-bloque {
  max-width: 850px;
  margin: 50px auto 30px;
  color: #cbd5f5;
  font-size: 17px;
  line-height: 1.8;
}

.historia-bloque h2,
.historia-subtitulo-pagina {
  color: #3b82f6;
  margin-bottom: 20px;
}

.historia-galeria {
  margin-bottom: 40px;
}

.btn-historia {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-historia:hover {
  background: #1d4ed8;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .historia-completa {
    padding: 60px 15px;
  }

  .historia-completa h1 {
    font-size: 34px;
  }

  .historia-intro,
  .historia-bloque {
    font-size: 16px;
  }
}
/* ================= TESTIMONIOS HOME ================= */

.testimonios-home {
  max-width: 700px;
  margin: 0 auto;
  color: #cbd5f5;
  font-size: 18px;
  line-height: 1.6;
}

.testimonios-home .btn-planes {
  margin-top: 20px;
}

/* ================= TESTIMONIOS ================= */
/* ================= TESTIMONIO VIDEO DESTACADO ================= */

.testimonio-video-destacado {
  display: flex;
  gap: 30px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 60px;
  padding: 25px;
  border: 1px solid #1e40af;
  border-radius: 12px;
  background: #020617;
}

.testimonio-video-destacado img {
  width: 380px;
  max-width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.video-destacado-info {
  text-align: left;
}

.video-destacado-info h2 {
  color: #3b82f6;
  margin-bottom: 10px;
}

.video-destacado-info p {
  color: #cbd5f5;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-instagram {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
  color: white;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-instagram:hover {
  transform: scale(1.05);
}

/* MOBILE */
@media (max-width: 768px) {
  .testimonio-video-destacado {
    flex-direction: column;
    text-align: center;
  }

  .video-destacado-info {
    text-align: center;
  }
}

.pagina-testimonios {
  min-height: 100vh;
  padding: 80px 20px;
  background: #020617;
  color: white;
  text-align: center;
}

.pagina-testimonios h1 {
  font-size: 44px;
  margin-bottom: 15px;
}

.intro-testimonios {
  max-width: 750px;
  margin: 0 auto 40px;
  color: #cbd5f5;
  font-size: 18px;
  line-height: 1.6;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.testimonio-card {
  background: #020617;
  border: 1px solid #1e40af;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: 0.3s;
  cursor: pointer;
}

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

.testimonio-card > img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center center;
}

.testimonio-card h3 {
  color: #3b82f6;
  margin: 18px 0 10px;
}

.testimonio-preview {
  color: #cbd5f5;
  font-size: 15px;
  line-height: 1.6;
  padding: 0 18px;
}

/* Ocultamos datos internos de cada testimonio */
.testimonio-imagenes,
.testimonio-completo {
  display: none;
}

/* ================= MODAL TESTIMONIO ================= */

.modal-testimonio {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 4000;
  padding: 20px;
}

.modal-testimonio.active {
  display: flex;
}

.modal-testimonio-contenido {
  position: relative;
  max-width: 850px;
  width: 100%;
  background: #020617;
  border: 1px solid #1e40af;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
}

.modal-testimonio-contenido img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 20px;
}

.modal-testimonio-contenido h2 {
  color: #3b82f6;
  margin-bottom: 10px;
}

.modal-testimonio-contenido p {
  color: #cbd5f5;
  line-height: 1.7;
}

.modal-cerrar,
.modal-prev,
.modal-next {
  position: absolute;
  background: rgba(2, 6, 23, 0.85);
  color: white;
  border: 1px solid #1e40af;
  cursor: pointer;
  transition: 0.3s;
}

.modal-cerrar:hover,
.modal-prev:hover,
.modal-next:hover {
  background: #1d4ed8;
}

.modal-cerrar {
  top: 12px;
  right: 15px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 26px;
}

.modal-prev,
.modal-next {
  top: 40%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 26px;
}

.modal-prev {
  left: 15px;
}

.modal-next {
  right: 15px;
}

/* MOBILE */
@media (max-width: 768px) {
  .pagina-testimonios {
    padding: 60px 15px;
  }

  .pagina-testimonios h1 {
    font-size: 34px;
  }

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

  .testimonio-card > img {
    height: 240px;
  }

  .modal-testimonio-contenido {
    padding: 18px;
  }

  .modal-testimonio-contenido img {
    max-height: 360px;
  }

  .modal-prev,
  .modal-next {
    top: 35%;
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}

/* ================= AJUSTE BOTONES TESTIMONIOS ================= */

.pagina-testimonios .testimonios-grid {
  margin-bottom: 20px;
}

.botones-testimonios {
  margin-top: 10px;
  margin-bottom: 20px;
}
/* ================= FOOTER PRO ================= */

.footer {
  background: #020617;
  border-top: 1px solid #1e40af;
  padding: 60px 40px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h4 {
  color: #3b82f6;
  margin-bottom: 15px;
}

.footer-col p {
  color: #cbd5f5;
  font-size: 14px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #cbd5f5;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #3b82f6;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  width: 120px;
  margin-bottom: 15px;
}

.footer-redes {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: #64748b;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

  body {
    padding-top: 60px;
  }

  .nav-container {
    padding: 10px;
    gap: 10px;
  }

  .logo-text {
    font-size: 15px;
  }

  .instagram-icon {
    width: 18px;
    height: 18px;
  }

  nav ul {
    gap: 15px;
    font-size: 14px;
    overflow-x: auto;
    white-space: nowrap;
  }

  nav ul::-webkit-scrollbar {
    display: none;
  }

  nav ul li {
    flex: 0 0 auto;
  }

  header {
    height: 70vh;
    background-attachment: scroll;
  }

  .logo {
    width: 220px;
  }

  header h1 {
    font-size: 32px;
    letter-spacing: 2px;
  }

  header p {
    font-size: 15px;
    padding: 0 15px;
  }

  section {
    padding: 40px 15px;
  }

  .titulo-seccion {
    font-size: 30px;
  }

  .sucursales-grid {
    flex-direction: column;
    padding: 0 15px;
  }

  .sucursal {
    width: 100%;
    max-width: 100%;
  }

  .carousel {
    height: 220px;
  }

  .sucursal-botones {
    flex-direction: column;
    gap: 10px;
  }

  .mapa iframe {
    height: 250px;
  }

  .actividades-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .actividad img {
    height: 170px;
  }

  .detalle-actividad {
    padding: 60px 15px;
  }

  .detalle-actividad h1 {
    font-size: 34px;
  }

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

  .galeria img {
    height: 220px;
  }

  .botones-actividad {
    flex-direction: column;
    align-items: center;
  }

  .servicios-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .servicio {
    min-height: auto;
  }

  .servicio img {
    height: 180px;
  }

  .staff-container {
    padding: 0 15px;
  }

  .staff-container img {
    height: auto;
    max-height: 300px;
  }

  .historia-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-redes {
    align-items: center;
  }
}
/* ================= INSTAGRAM EMBED ================= */

.instagram-video {
  display: flex;
  justify-content: center;
  margin: 30px auto 40px;
  max-width: 540px;
}

.instagram-video .instagram-media {
  width: 100%;
  min-width: 300px;
}
/* ================= CREDITOS ================= */
.creditos {
  font-size: 12px;
  color: #64748b;
}

.creditos a {
  color: #64748b;
  text-decoration: none;
}

.creditos a:hover {
  color: #3b82f6;
}
