@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

:root {
  --primary-color: #2887ff;
  --primary-color-dark: #2476da;
  --text-dark: #0a0a0a;
  --text-light: #737373;
  --extra-light: #f3f4f6;
  --white: #ffffff;
  --max-width: 1200px; /* Ancho limitado para contenido centrado */
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* CORRECCIÓN PRINCIPAL - Prevenir desborde horizontal sin forzar ancho completo */
html, body {
  scroll-behavior: smooth;
  overflow-x: hidden; /* Prevenir scroll horizontal globalmente */
  box-sizing: border-box;
}

html {
  overflow-x: hidden; /* Asegurar que HTML no cause desborde */
}

body {
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden; /* Prevenir scroll horizontal */
}

/* CORRECCIÓN PRINCIPAL - Wrapper global para limitar ancho en escritorio - EXCEPTO HERO Y FOOTER */
.main-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
}

/* Aplicar wrapper a body en escritorio - EXCEPTO HERO Y FOOTER */
@media (min-width: 769px) {
  body {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  #app {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  /* HERO Y FOOTER CON ANCHO COMPLETO */
  header,
  footer {
    width: 100vw;
    max-width: none;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }
  
  /* RESTO DE SECCIONES CON ANCHO LIMITADO */
  .section__container:not(.hero):not(footer .section__container) {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
  }
}

/* Asegurar que todos los contenedores respeten los límites */
.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
  box-sizing: border-box;
  width: 100%;
}

.section__header {
  margin-bottom: 5px;
  font-size: clamp(2rem, 6vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  word-wrap: break-word;
}

.section__description {
  max-width: 600px;
  margin-inline: auto;
  color: var(--text-light);
  text-align: center;
}

.btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  white-space: nowrap;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 5rem;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-color-dark);
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-dark);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

/* CORRECCIÓN DE LA NAVEGACIÓN - Limitar ancho para evitar desborde */
nav {
  position: fixed;
  isolation: isolate;
  top: 0;
  width: 100%;
  z-index: 9;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden; /* Prevenir desborde interno */
  box-sizing: border-box;
}

.nav__header {
  padding: 1rem;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  box-sizing: border-box;
}

/* Botón hamburguesa mejorado */
.nav__menu__btn {
  position: relative;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 100000; /* Más alto que el popup para poder cerrarlo */
}

.nav__menu__btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav__menu__btn span:nth-child(1) {
  margin-bottom: 5px;
}

.nav__menu__btn span:nth-child(2) {
  margin-bottom: 5px;
}

/* Animación del botón hamburguesa */
.nav__menu__btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__menu__btn.active span:nth-child(2) {
  opacity: 0;
}

.nav__menu__btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* MENÚ MÓVIL SIN OVERLAY - SIMPLIFICADO */

/* Popup del menú móvil - SIN OVERLAY */
.nav__mobile__popup {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  max-width: calc(100vw - 20px); /* Asegurar que no exceda el viewport */
  height: 100vh;
  background: white;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  z-index: 99999; /* AUMENTADO PARA ESTAR AL FRENTE DE TODO */
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

.nav__mobile__popup.open {
  right: 0;
}

/* Header del popup */
.nav__mobile__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: var(--primary-color);
  color: white;
}

.nav__mobile__logo .logo {
  font-size: 1.5rem;
  color: white;
}

.nav__tagline {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-top: 0.3rem;
}

.nav__close__btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  pointer-events: auto;
}

.nav__close__btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Enlaces del menú móvil */
.nav__mobile__links {
  padding: 1rem 0;
  list-style: none;
}

.nav__mobile__links li {
  margin: 0;
}

.nav__mobile__links a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  pointer-events: auto;
  cursor: pointer;
}

.nav__mobile__links a:hover {
  background: var(--primary-color);
  color: white;
}

.nav__mobile__links i {
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

/* CTA del menú móvil */
.nav__mobile__cta {
  padding: 1.5rem;
  border-top: 1px solid #eee;
}

.nav__whatsapp__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
  margin-bottom: 1rem;
  pointer-events: auto;
  cursor: pointer;
}

.nav__whatsapp__btn:hover {
  background: #128C7E;
}

.nav__contact__info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.nav__contact__info i {
  color: var(--primary-color);
}

/* Redes sociales del menú */
.nav__mobile__social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid #eee;
}

.nav__mobile__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: 0.3s;
  pointer-events: auto;
  cursor: pointer;
}

.nav__mobile__social a:hover {
  background: var(--primary-color-dark);
}

/* DESKTOP - Ocultar elementos móviles */
@media (min-width: 769px) {
  .nav__overlay,
  .nav__mobile__popup {
    display: none !important;
  }
  
  .nav__menu__btn {
    display: none !important;
  }
}

/* CORRECCIÓN DEL HEADER - Eliminar width completo */
header {
  margin-top: 5rem;
  padding-inline: 1rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
}

header::before {
  position: absolute;
  content: "";
  height: 100%;
  width: calc(100% - 2rem);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url(img/background6.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 2rem;
  z-index: -1;
}

.header__container {
  display: grid;
  box-sizing: border-box;
  overflow: hidden;
}

.header__content {
  padding: 4rem 1rem;
  width: 100%;
  box-sizing: border-box;
}

.header__content p {
  margin-bottom: 5px;
  font-size: clamp(0.9rem, 3vw, 1rem);
  font-weight: 600;
  color: var(--white);
  text-align: center;
}

.header__content h1 {
  margin-bottom: 2rem;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  text-align: center;
  word-wrap: break-word;
}

.header__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.header__btns .btn {
  padding: 1rem 2rem;
  background: #25D366; /* Verde WhatsApp */
  border-radius: 10px; /* Bordes más redondeados */
}

/* Estilo para el botón del hero */
.header__btns .btn {
  background: linear-gradient(135deg, #25D366, #128C7E); /* Verde degradado similar al botón de WhatsApp */
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3); /* Sombra para destacar el botón */
  color: var(--white);
  font-weight: 600;
  border: none;
  border-radius: 5rem; /* Bordes redondeados */
  padding: 1rem 2rem;
  transition: all 0.3s ease;
}

.header__btns .btn:hover {
  background: linear-gradient(135deg, #128C7E, #25D366); /* Invertir el degradado al pasar el mouse */
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); /* Sombra más intensa */
  transform: translateY(-2px); /* Efecto de elevación */
}

.header__btns a {
  padding: 9px 13px;
  font-size: 1.5rem;
  color: var(--white);
  background-color: var(--white);
  border-radius: 100%;
  text-decoration: none;
}

.header__btns a:hover {
  color: var(--white);
  background-color: var(--primary-color);
}

/* CORRECCIÓN DEL GRID DEL HEADER - Evitar desborde en móviles */
@media (max-width: 768px) {
  .header__container {
    grid-template-columns: 1fr;
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .header__content {
    padding: 3rem 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .header__image {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
  }
  
  .header__image img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }
}

/* Ajuste para el hero en tour.html */
.simple-hero {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

/* Sección About/Nosotros */
.about__content {
  display: grid;
  gap: 4rem;
  margin-top: 3rem;
}

.about__visual {
  display: grid;
  gap: 2rem;
}

.about__main__image {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about__main__image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: 0.3s;
}

.about__image__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(40, 135, 255, 0.8), rgba(40, 135, 255, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.about__main__image:hover .about__image__overlay {
  opacity: 1;
}

.about__main__image:hover img {
  transform: scale(1.05);
}

.about__badge {
  text-align: center;
  color: var(--white);
}

.about__badge span {
  font-size: 3rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.about__badge p {
  font-size: 1.2rem;
  font-weight: 600;
}

.about__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery__item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.gallery__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery__item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 2rem 1rem 1rem;
  text-align: center;
}

.gallery__caption h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.gallery__caption p {
  font-size: 0.8rem;
  opacity: 0.9;
}

.about__info {
  display: grid;
  gap: 3rem;
}

.about__highlight {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  border-radius: 1.5rem;
  color: var(--white);
  box-shadow: 0 15px 40px rgba(40, 135, 255, 0.3);
}

.about__highlight h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.highlight__text {
  font-size: 1.1rem;
  opacity: 0.95;
}

.about__features {
  display: grid;
  gap: 2rem;
}

.feature__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--extra-light);
  border-radius: 1rem;
  transition: 0.3s;
}

.feature__item:hover {
  background-color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature__icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature__icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.feature__content h4 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.feature__content p {
  color: var(--text-light);
  line-height: 1.6;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat__card {
  text-align: center;
  padding: 1.5rem 1rem;
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.stat__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stat__card h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat__card p {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Sección Servicios */
.services__grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
  width: 100%;
  box-sizing: border-box;
}

.service__card {
  background-color: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.service__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service__image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.service__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(40, 135, 255, 0.8), rgba(40, 135, 255, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.service__card:hover .service__overlay {
  opacity: 1;
}

.service__card:hover .service__image img {
  transform: scale(1.1);
}

.service__overlay .service__icon {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

.service__overlay .service__icon i {
  font-size: 2rem;
  color: var(--white);
}

.service__content {
  padding: 2rem;
}

.service__content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.service__content p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service__features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service__features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.service__features i {
  color: var(--primary-color);
  font-size: 1rem;
}

/* Estilos para servicios detallados con diseño imagen-texto */
.services__detailed__container {
  padding: 5rem 1rem;
}

.service__detailed {
  display: grid;
  gap: 3rem;
  margin-bottom: 5rem;
  background: var(--white);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  border: 1px solid rgba(40, 135, 255, 0.1);
}

.service__detailed:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.service__detailed:last-child {
  margin-bottom: 0;
}

/* Imagen del servicio */
.service__image__wrapper {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.service__image__wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.service__detailed:hover .service__image__wrapper img {
  transform: scale(1.05);
}

/* Badge del servicio */
.service__badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(40, 135, 255, 0.3);
  backdrop-filter: blur(10px);
}

.service__badge i {
  font-size: 1.2rem;
}

/* Badges con diferentes colores */
.service__badge--education {
  background: linear-gradient(135deg, #28a745, #20c997);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.service__badge--industrial {
  background: linear-gradient(135deg, #fd7e14, #e63946);
  box-shadow: 0 8px 25px rgba(253, 126, 20, 0.3);
}

.service__badge--tourism {
  background: linear-gradient(135deg, #6f42c1, #d63384);
  box-shadow: 0 8px 25px rgba(111, 66, 193, 0.3);
}

.service__badge--special {
  background: linear-gradient(135deg, #ffc107, #ff6b35);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.service__badge--rental {
  background: linear-gradient(135deg, #17a2b8, #6610f2);
  box-shadow: 0 8px 25px rgba(23, 162, 184, 0.3);
}

/* Contenido detallado */
.service__content__detailed {
  padding: 3rem;
}

.service__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--extra-light);
}

.service__header h3 {
  font-size: 2rem;
  color: var(--text-dark);
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.service__price {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  min-width: 140px;
  box-shadow: 0 8px 25px rgba(40, 135, 255, 0.3);
}

/* Descripción del servicio */
.service__description {
  margin-bottom: 2.5rem;
}

.service__description p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.service__description strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* Características detalladas */
.service__features__detailed {
  margin-bottom: 2.5rem;
}

.service__features__detailed h4 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.features__grid {
  display: grid;
  gap: 1.5rem;
}

.feature__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 1rem;
  transition: 0.3s;
  border: 1px solid rgba(40, 135, 255, 0.1);
}

.feature__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
  background: var(--white);
}

.feature__item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  background: rgba(40, 135, 255, 0.1);
  padding: 0.8rem;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.feature__item div strong {
  display: block;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.feature__item div span {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Detalles del servicio */
.service__details {
  display: grid;
  gap: 1rem;
}

.detail__item {
  padding: 1rem 1.5rem;
  background: rgba(40, 135, 255, 0.05);
  border-radius: 0.8rem;
  border-left: 4px solid var(--primary-color);
  color: var(--text-dark);
  font-size: 0.95rem;
}

.detail__item strong {
  font-weight: 700;
  color: var(--primary-color);
}

/* Diseño alternado (imagen a la derecha) */
.service__detailed--reverse {
  /* En móvil se mantiene igual */
}

/* Responsive Design */
@media (min-width: 768px) {
  .service__detailed {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 0;
  }
  
  .service__detailed--reverse {
    direction: rtl;
  }
  
  .service__detailed--reverse > * {
    direction: ltr;
  }
  
  .service__image__wrapper {
    height: auto;
    min-height: 500px;
  }
  
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .service__header h3 {
    font-size: 2.2rem;
  }
  
  .service__price {
    align-self: flex-start;
  }
}

@media (min-width: 1024px) {
  .service__detailed {
    grid-template-columns: 1fr 1.2fr;
  }
  
  .service__content__detailed {
    padding: 4rem;
  }
  
  .service__image__wrapper {
    min-height: 600px;
  }
  
  .service__header h3 {
    font-size: 2.5rem;
  }
  
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .service__content__detailed {
    padding: 2rem;
  }
  
  .service__header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .service__header h3 {
    font-size: 1.8rem;
  }
  
  .service__price {
    align-self: stretch;
    text-align: center;
  }
  
  .features__grid {
    grid-template-columns: 1fr;
  }
  
  .feature__item {
    padding: 1.2rem;
  }
  
  .service__image__wrapper {
    height: 300px;
  }
  
  .service__badge {
    top: 1rem;
    left: 1rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }
}

/* Mejoras para la legibilidad */
@media (prefers-reduced-motion: reduce) {
  .service__detailed,
  .service__image__wrapper img,
  .feature__item {
    transition: none;
  }
}

/* Estados de enfoque para accesibilidad */
.service__detailed:focus-within {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

/* Sección Destinos */
.destination__container :is(.section__header, .section__description) {
  text-align: center;
  margin-inline: auto;
}

.destinations__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.country__card {
  background-color: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}

.country__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.country__image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.country__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.country__image__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(40, 135, 255, 0.85), rgba(40, 135, 255, 0.65));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: 0.3s;
}

.country__card:hover .country__image__overlay {
  opacity: 1;
}

.country__card:hover .country__image img {
  transform: scale(1.1);
}

.country__flag {
  font-size: 3rem;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--white);
  backdrop-filter: blur(10px);
}

.country__type {
  background: var(--white);
  color: var(--primary-color);
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.country__content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.country__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--extra-light);
}

.country__header h4 {
  font-size: 1.5rem;
  color: var (--text-dark);
  font-weight: 700;
  margin: 0;
}

.country__badge {
  background: linear-gradient(45deg, var(--primary-color), var(--primary-color-dark));
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.country__badge.international {
  background: linear-gradient(45deg, #e74c3c, #c0392b);
}

.country__content p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  flex: 1;
}

.country__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: auto;
}

.feature__tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background-color: rgba(40, 135, 255, 0.1);
  border-radius: 2rem;
  border: 1px solid rgba(40, 135, 255, 0.2);
  transition: 0.3s;
  flex: 1;
  min-width: fit-content;
}

.feature__tag:hover {
  background-color: rgba(40, 135, 255, 0.15);
  transform: scale(1.05);
}

.feature__tag i {
  color: var(--primary-color);
  font-size: 1rem;
  flex-shrink: 0;
}

.feature__tag span {
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .destinations__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1.5rem;
  }
  
  .country__image {
    height: 180px;
  }
  
  .country__content {
    padding: 1.5rem;
  }
  
  .country__features {
    flex-direction: column;
  }
  
  .feature__tag {
    flex: none;
    justify-content: center;
  }
}

/* Responsive para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .destinations__grid {
    gap: 1.5rem;
  }
  
  .country__image {
    height: 180px;
  }
}

/* Lista de destinos */
.destinations__list {
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.destinations__list h3 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

.destinations__subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.destinations__countries {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.country__section {
  padding: 2rem;
  background-color: var(--white);
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  border: 1px solid rgba(40, 135, 255, 0.1);
}

.country__section:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.country__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--extra-light);
}

.country__flag {
  font-size: 3rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(40, 135, 255, 0.3);
}

.country__info h4 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.country__type {
  background: linear-gradient(45deg, var(--primary-color), var(--primary-color-dark));
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.country__content p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.country__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.feature__tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background-color: rgba(40, 135, 255, 0.1);
  border-radius: 2rem;
  border: 1px solid rgba(40, 135, 255, 0.2);
  transition: 0.3s;
}

.feature__tag:hover {
  background-color: rgba(40, 135, 255, 0.15);
  transform: scale(1.05);
}

.feature__tag i {
  color: var(--primary-color);
  font-size: 1rem;
}

.feature__tag span {
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Call to Action */
.destinations__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  border-radius: 1.5rem;
  color: var(--white);
  box-shadow: 0 15px 40px rgba(40, 135, 255, 0.3);
  flex-wrap: wrap;
}

.cta__content h4 {
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  margin-bottom: 0.5rem;
  font-weight: 700;
  word-wrap: break-word;
}

.cta__content p {
  opacity: 0.9;
  font-size: 1.1rem;
}

.cta__buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  width: 100%;
}

.cta__buttons .btn {
  padding: 1rem 1.5rem;
  font-weight: 600;
  border: 2px solid var(--white);
  transition: 0.3s;
  min-width: 120px;
  text-align: center;
}

.btn__secondary {
  background-color: transparent;
  color: var(--white);
}

.btn__secondary:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.cta__buttons .btn:first-child:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Sección Journey/Por qué elegirnos */
.journey__grid {
  margin-top: 2rem;
  display: grid;
  gap: 0 1rem;
  width: 100%;
  box-sizing: border-box;
}

.journey__card {
  position: relative;
  isolation: isolate;
  padding-top: 4rem;
  overflow: hidden;
}

.journey__card__bg {
  padding: 2rem;
  background-color: var(--extra-light);
  border-bottom-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.journey__card__bg span {
  display: inline-block;
  margin-bottom: 4rem;
  font-size: 1.75rem;
  color: var(--primary-color);
}

.journey__card__bg h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.journey__card__content {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2rem;
  background-color: var(--primary-color);
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  transition: 0.3s;
}

.journey__card:hover .journey__card__content {
  top: 0;
}

.journey__card__content span {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 7px 9px;
  font-size: 1rem;
  border: 2px solid var(--white);
  color: var(--white);
  border-radius: 100%;
}

.journey__card__content h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.journey__card__content p {
  color: var (--white);
}

/* Sección Contacto */
.contact__content {
  display: grid;
  gap: 4rem;
  margin-top: 3rem;
}

.contact__info {
  display: grid;
  gap: 2rem;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--extra-light);
  border-radius: 1rem;
}

.contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact__icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.contact__details h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var (--text-dark);
  margin-bottom: 0.5rem;
}

.contact__details p {
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.contact__map {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact__map h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  text-align: center;
}

.map__container {
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 100%;
}

.map__container iframe {
  width: 100%;
  max-width: 100%;
}

.map__info {
  text-align: center;
}

.map__info p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.map__info strong {
  color: var(--text-dark);
}

/* Estilos para la página de contacto */

/* Botones de contacto mejorados */
.contact__actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.contact__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: var(--white);
  text-decoration: none;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(40, 135, 255, 0.3);
}

.contact__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 135, 255, 0.4);
}

.contact__btn.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.contact__btn.whatsapp:hover {
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.contact__btn i {
  font-size: 1rem;
}

/* Métodos de contacto rápidos */
.quick__contact__grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.quick__contact__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: var(--text-dark);
  transition: 0.3s;
  border: 1px solid rgba(40, 135, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.quick__contact__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.quick__contact__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  opacity: 0;
  transition: 0.3s;
}

.quick__contact__card:hover::before {
  opacity: 1;
}

.quick__contact__card.whatsapp::before {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.quick__contact__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(40, 135, 255, 0.3);
  transition: 0.3s;
}

.quick__contact__card.whatsapp .quick__contact__icon {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.quick__contact__card:hover .quick__contact__icon {
  transform: scale(1.1);
}

.quick__contact__icon i {
  font-size: 2rem;
  color: var(--white);
}

.quick__contact__card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.quick__contact__card p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.quick__contact__label {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(40, 135, 255, 0.1);
  color: var(--primary-color);
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick__contact__card.whatsapp .quick__contact__label {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
}

/* Información adicional */
.additional__info__content {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
}

.info__section {
  padding: 2.5rem;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(40, 135, 255, 0.1);
  transition: 0.3s;
}

.info__section:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.info__section h3 {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.info__section h3 i {
  font-size: 1.8rem;
  color: var(--primary-color);
  background: rgba(40, 135, 255, 0.1);
  padding: 0.8rem;
  border-radius: 50%;
}

.info__section p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.info__section ul {
  list-style: none;
  padding: 0;
}

.info__section ul li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.8rem 0;
  color: var(--text-light);
  line-height: 1.6;
  border-bottom: 1px solid rgba(40, 135, 255, 0.1);
}

.info__section ul li:last-child {
  border-bottom: none;
}

.info__section ul li::before {
  content: '✓';
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: var(--white);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.info__section ul li strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* Responsive para contacto */
@media (min-width: 640px) {
  .quick__contact__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact__actions {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .quick__contact__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .additional__info__content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .quick__contact__card {
    padding: 2rem 1.5rem;
  }
  
  .quick__contact__icon {
    width: 60px;
    height: 60px;
  }
  
  .quick__contact__icon i {
    font-size: 1.5rem;
  }
  
  .contact__actions {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .contact__btn {
    justify-content: center;
    width: 100%;
  }
  
  .info__section {
    padding: 2rem;
  }
}

/* Sección Instagram */
.instagram__container {
  background: linear-gradient(135deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d, #f56040, #f77737, #fcaf45, #ffdc80);
  color: var(--white);
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
}

.instagram__container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.instagram__container > * {
  position: relative;
  z-index: 2;
}

.instagram__container .section__header,
.instagram__container .section__description {
  color: var(--white);
}

.instagram__content {
  display: grid;
  gap: 4rem;
  margin-top: 3rem;
}

.instagram__info {
  text-align: center;
}

.instagram__profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.instagram__avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--white);
}

.instagram__avatar i {
  font-size: 3rem;
  color: var(--white);
}

.instagram__details h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.instagram__details p {
  margin-bottom: 0.3rem;
  opacity: 0.9;
}

.instagram__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.stat__item {
  text-align: center;
}

.stat__item h4 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat__item p {
  opacity: 0.9;
  font-size: 0.9rem;
}

.instagram__follow__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--white);
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  border: 2px solid var(--white);
}

.instagram__follow__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.instagram__follow__btn i {
  font-size: 1.2rem;
}

.instagram__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.instagram__post {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 1;
}

.instagram__post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.instagram__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: 0.3s;
  color: var(--white);
}

.instagram__post:hover .instagram__overlay {
  opacity: 1;
}

.instagram__post:hover img {
  transform: scale(1.1);
}

.instagram__overlay i {
  font-size: 1.5rem;
}

.instagram__overlay span {
  font-weight: 600;
}

/* Sección Banner/Estadísticas */
.banner__container {
  display: grid;
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.banner__card {
  padding: 2rem 1rem;
  text-align: center;
  background-color: var(--extra-light);
  border-radius: 2rem;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.banner__card h4 {
  font-size: 5rem;
  font-weight: 500;
  color: var(--primary-color);
}

.banner__card p {
  color: var(--text-light);
}

/* Footer styles removed for redesign */
/* Removed all footer-related styles */

/* Media Queries */
@media (width > 540px) {
  .destination__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .banner__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__col:last-child {
    grid-area: 2/1/3/2;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .destinations__countries {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact__content {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  
  .instagram__gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .about__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta__buttons {
    flex-direction: row;
  }
  
  .nav__mobile__popup {
    max-width: 350px;
  }
}

@media(width > 768px) {
  nav {
    position: static;
    padding: 1.5rem 2rem;
    max-width: var(--max-width); /* LIMITADO A 1200px */
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: var(--white);
    box-shadow: none;
    backdrop-filter: none;
    /* REMOVIDO: width: 100% que causaba ancho completo */
  }
  
  .nav__header {
    flex: 1;
    padding: 0;
    background-color: transparent;
  }
  
  .nav__logo .logo {
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .nav__menu__btn {
    display: none;
  }

  .nav__mobile__popup {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    background: transparent;
    box-shadow: none;
    display: flex;
    align-items: center;
    overflow: visible;
    right: auto;
    transition: none;
  }

  .nav__mobile__popup.open {
    right: auto;
  }

  .nav__mobile__header {
    display: none;
  }

  .nav__mobile__links {
    display: flex;
    flex-direction: row;
    padding: 0;
    gap: 2rem;
  }

  .nav__mobile__links li {
    margin-bottom: 0;
  }

  .nav__mobile__links a {
    padding: 0.5rem 0;
    font-size: 1rem;
    background: none;
    color: var(--text-dark);
    border-radius: 0;
    position: relative;
  }

  .nav__mobile__links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    transition: width 0.3s ease;
  }

  .nav__mobile__links a:hover {
    background: none;
    color: var(--primary-color);
    transform: none;
  }

  .nav__mobile__links a:hover::after {
    width: 100%;
  }

  .nav__mobile__links i {
    display: none;
  }

  .nav__mobile__cta,
  .nav__mobile__social {
    display: none;
  }

  .nav__btns {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .nav__btns .btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    box-shadow: 0 4px 15px rgba(40, 135, 255, 0.3);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
  }

  .nav__btns .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 135, 255, 0.4);
  }

  .nav__btns .nav__whatsapp__btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    width: auto;
  }

  .nav__btns .nav__whatsapp__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E, #25D366);
  }

  .nav__overlay {
    display: none;
  }
  
  header {
    margin-top: 0;
  }

  .header__container {
    grid-template-columns:
      minmax(0, 1fr)
      repeat(5, minmax(0, calc(var(--max-width) / 5)))
      minmax(0, 1fr);
  }

  .header__content {
    grid-column: 2/3;
    padding-block: 6rem;
    padding-inline: 1rem 0;
  }

  .header__content p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .header__content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 2.5rem;
  }

  .header__content :is(p, h1) {
    text-align: left;
  }

  .header__btns {
    justify-content: flex-start;
  }

  .header__image {
    grid-column: 3/8;
    position: relative;
    isolation: isolate;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header__image img {
    position: relative;
    top: 0;
    left: 0;
    height: 70%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .destination__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .journey__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .banner__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__container {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }

  .footer__col:last-child {
    grid-area: unset;
  }

  .about__content {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .about__visual {
    order: 1;
  }

  .about__info {
    order: 2;
  }

  .about__features {
    grid-template-columns: 1fr;
  }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .destinations__countries {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__info {
    grid-template-columns: 1fr;
  }

  .instagram__content {
    grid-template-columns: 1fr 2fr;
    align-items: center;
  }

  .instagram__profile {
    flex-direction: row;
    text-align: left;
  }

  .instagram__details {
    text-align: left;
  }

  .instagram__stats {
    justify-content: flex-start;
  }

  .instagram__gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery__item img {
    height: 120px;
  }
  
  .destinations__cta {
    flex-direction: row;
    text-align: left;
  }
  
  .country__features {
    justify-content: flex-start;
  }
}

@media (width > 1024px) {
  .header__container {
    grid-template-columns:
      minmax(0, 0.5fr)
      repeat(6, minmax(0, calc(var(--max-width) / 6)))
      minmax(0, 0.5fr);
  }

  .header__content {
    grid-column: 2/4;
    padding-inline: 1rem 0;
    padding-block: 7rem;
  }

  .header__content h1 {
    font-size: 2.8rem;
    line-height: 1.1;
  }

  .header__content p {
    font-size: 1.1rem;
  }

  .header__image {
    grid-column: 4/8;
  }

  .header__image img {
    height: 75%;
  }

  .destination__grid {
    gap: 2rem;
  }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .destinations__countries {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .instagram__gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .about__main__image img {
    height: 350px;
  }
  
  .service__image {
    height: 220px;
  }
  
  .destinations__list {
    padding: 4rem 3rem;
  }
  
  .country__section {
    padding: 2.5rem;
  }
}

@media (width > 1200px) {
  .header__content h1 {
    font-size: 3.2rem;
    line-height: 1.1;
  }

  .header__content p {
    font-size: 1.2rem;
  }

  .header__image img {
    height: 80%;
  }
}

/* Media query específica para móviles pequeños */
@media (max-width: 480px) {
  .section__container {
    padding: 3rem 0.75rem;
  }
  
  header {
    padding-inline: 0.75rem;
  }
  
  .header__content {
    padding: 3rem 0.75rem;
  }
  
  .nav__mobile__popup {
    max-width: 95vw;
  }
  
  .destinations__cta {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .cta__buttons {
    width: 100%;
    justify-content: center;
  }
  
  .cta__buttons .btn {
    flex: 1;
    min-width: auto;
  }
  
  .about__stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .country__features {
    justify-content: center;
  }
}

/* CTA del menú móvil */
.nav__mobile__cta {
  padding: 2rem;
  border-top: 1px solid var(--extra-light);
}

.nav__whatsapp__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  color: var(--white);
  text-decoration: none;
  border-radius: 5rem;
  transition: 0.3s;
  cursor: pointer;
}

.nav__whatsapp__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, #128C7E, #25D366);
}

.nav__whatsapp__btn i {
  font-size: 1.3rem;
}

/* Media query para asegurar que el menú funcione solo en móvil */
@media (max-width: 768px) {
  .nav__mobile__popup {
    display: block;
  }
}

/* Estilos para desktop - menú oculto en móvil */
.nav__btns {
  display: none;
}

.nav__desktop__links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* DESKTOP - Mostrar menú de navegación */
@media (min-width: 769px) {
  .nav__overlay,
  .nav__mobile__popup {
    display: none !important;
  }
  
  .nav__menu__btn {
    display: none !important;
  }
  
  .nav__btns {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .nav__desktop__links {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav__desktop__links li {
    margin: 0;
  }

  .nav__desktop__links a {
    display: block;
    padding: 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
  }

  .nav__desktop__links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    transition: width 0.3s ease;
  }

  .nav__desktop__links a:hover {
    color: var(--primary-color);
  }

  .nav__desktop__links a:hover::after {
    width: 100%;
  }
}

/* DESKTOP - Mostrar botones de navegación solo en desktop */
@media (min-width: 769px) {
  .nav__btns {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .nav__btns .btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    box-shadow: 0 4px 15px rgba(40, 135, 255, 0.3);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
  }

  .nav__btns .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 135, 255, 0.4);
  }

  .nav__btns .nav__whatsapp__btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    width: auto;
  }

  .nav__btns .nav__whatsapp__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E, #25D366);
  }

  .nav__overlay {
    display: none;
  }
}

/* Hero simplificado para páginas internas */
.simple-hero {
  margin-top: 0rem;
  padding: 4rem 1rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, rgb(255 255 255 / 90%), rgba(255, 255, 255, 0.9)), url(img/background6.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 0;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.simple-hero__container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.simple-hero__content {
  text-align: center;
  width: 100%;
  max-width: 800px;
  padding: 2rem 1rem;
}

.simple-hero__content p {
  margin-bottom: 1rem;
  font-size: clamp(0.9rem, 3vw, 1rem);
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.simple-hero__content h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.simple-hero__subtitle {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--white);
  line-height: 1.6;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

/* Responsive para el hero simplificado */
@media (max-width: 768px) {
  .simple-hero {
    margin-top: 5rem;
    padding: 3rem 1rem;
    min-height: 250px;
  }
  
  .simple-hero__content {
    padding: 1.5rem 1rem;
  }
}

/* Estilos para la página de Nosotros - Secciones faltantes */

/* Sección de descripción de la empresa */
.company__description {
  margin-top: 2rem;
}

.company__description p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  text-align: justify;
}

/* Sección de cobertura geográfica */
.coverage__content {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
}

.coverage__national,
.coverage__international {
  padding: 2.5rem;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(40, 135, 255, 0.1);
  transition: 0.3s;
}

.coverage__national:hover,
.coverage__international:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.coverage__national h3,
.coverage__international h3 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.coverage__national p,
.coverage__international p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Highlights de cobertura */
.coverage__highlights {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  border: 1px solid rgba(40, 135, 255, 0.1);
}

.highlight__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.highlight__item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  width: 30px;
  text-align: center;
  flex-shrink: 0;
}

.highlight__item span {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1rem;
}

/* Destinos internacionales */
.international__destinations {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.destination__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var (--white);
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  border: 1px solid rgba(40, 135, 255, 0.1);
}

.destination__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.destination__item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.destination__item strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* Grid de información de la empresa */
.company__info__grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.info__card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  border: 1px solid rgba(40, 135, 255, 0.1);
}

.info__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.info__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(40, 135, 255, 0.3);
}

.info__icon i {
  font-size: 1.8rem;
  color: var(--white);
}

.info__content h4 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.info__content p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 1rem;
}

.info__content small {
  color: var(--primary-color);
  font-style: italic;
  font-weight: 500;
}

/* Sección CTA */
.cta__section {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 2rem;
  margin-top: 2rem;
}

.cta__card {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  border-radius: 2rem;
  color: var(--white);
  box-shadow: 0 20px 60px rgba(40, 135, 255, 0.3);
  margin: 2rem;
}

.cta__card h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta__card p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta__buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta__buttons .btn {
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid var(--white);
  transition: 0.3s;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.cta__buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn__secondary {
  background-color: transparent;
  color: var(--white);
}

.btn__secondary:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* Responsive para la página de nosotros */
@media (min-width: 640px) {
  .coverage__highlights {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .international__destinations {
    grid-template-columns: 1fr;
  }
  
  .company__info__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta__buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .coverage__content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
  
  .coverage__highlights {
    grid-template-columns: 1fr;
  }
  
  .company__info__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta__card {
    margin: 0;
    padding: 5rem 3rem;
  }
}

@media (min-width: 1024px) {
  .coverage__highlights {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .company__info__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .international__destinations {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 480px) {
  .cta__card {
    margin: 1rem;
    padding: 3rem 1.5rem;
  }
  
  .cta__buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cta__buttons .btn {
    width: 100%;
    min-width: auto;
  }
  
  .info__card {
    padding: 1.5rem;
  }
  
  .coverage__national,
  .coverage__international {
    padding: 2rem;
  }
}

/* Estilos adicionales para más imágenes en la página de nosotros */

/* Sección de experiencia showcase */
.experience__showcase {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 2rem;
  overflow: hidden;
}

.experience__content {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding: 2rem;
}

.experience__image {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  height: 400px;
}

.experience__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.experience__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(40, 135, 255, 0.85), rgba(36, 118, 218, 0.75));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.experience__image:hover .experience__overlay {
  opacity: 1;
}

.experience__image:hover img {
  transform: scale(1.05);
}

.experience__badge {
  text-align: center;
  color: var(--white);
  padding: 2rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}

.experience__badge h3 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.experience__badge p {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
}

.experience__text h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.experience__text p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.experience__highlights {
  display: grid;
  gap: 1rem;
}

.highlight__achievement {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--white);
  border-radius: 0.8rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.highlight__achievement:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.highlight__achievement i {
  font-size: 1.5rem;
  color: var(--primary-color);
  background: rgba(40, 135, 255, 0.1);
  padding: 0.8rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.highlight__achievement span {
  color: var(--text-dark);
  font-weight: 600;
}

/* Grid de valores mejorado */
.values__grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.value__card {
  background: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  border: 1px solid rgba(40, 135, 255, 0.1);
}

.value__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.value__card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
}

.value__image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.value__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.value__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(40, 135, 255, 0.8), rgba(36, 118, 218, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.value__card--featured:hover .value__overlay {
  opacity: 1;
}

.value__card--featured:hover .value__image img {
  transform: scale(1.1);
}

.value__overlay i {
  font-size: 4rem;
  color: var(--white);
  padding: 1rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

.value__card--featured .value__content {
  padding: 3rem;
}

.value__card--featured .value__content h3 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.value__card--featured .value__content p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
}

.value__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  border-radius: 50%;
  margin: 2rem auto 1.5rem;
  box-shadow: 0 8px 25px rgba(40, 135, 255, 0.3);
}

.value__icon i {
  font-size: 1.8rem;
  color: var(--white);
}

.value__content {
  padding: 0 2rem 2rem;
  text-align: center;
}

.value__content h4 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.value__content p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Cobertura con imagen */
.coverage__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(40, 135, 255, 0.1);
}

.coverage__image {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  border-radius: 50%;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(40, 135, 255, 0.3);
  flex-shrink: 0;
}

.coverage__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.coverage__title h3 {
  font-size: 1.8rem;
  color: var(--text-dark);
  font-weight: 700;
  margin: 0;
}

/* Responsive para las nuevas secciones */
@media (min-width: 768px) {
  .experience__content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
  
  .experience__image {
    height: 450px;
  }
  
  .values__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .value__card--featured {
    grid-column: 1 / -1;
  }
  
  .experience__highlights {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .values__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .value__card--featured {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1.5fr;
  }
  
  .experience__image {
    height: 500px;
  }
  
  .experience__highlights {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 640px) {
  .value__card--featured {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .value__image {
    height: 250px;
  }
  
  .value__card--featured .value__content {
    padding: 2rem;
  }
  
  .experience__content {
    gap: 2rem;
  }
  
  .experience__image {
    height: 300px;
  }
  
  .coverage__header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .coverage__image {
    width: 60px;
    height: 60px;
  }
}

/* MENÚ MÓVIL RESPONSIVO - MEJORADO */

/* Overlay del menú móvil */
.nav__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99998; /* JUSTO DEBAJO DEL POPUP */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.nav__overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Popup del menú móvil - RESPONSIVO Y LIMITADO */
.nav__mobile__popup {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  min-width: 280px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99999; /* ASEGURAR QUE ESTÉ AL FRENTE */
  overflow-y: auto;
  overflow-x: hidden;
  /* Evitar que el menú se extienda fuera de la pantalla */
  box-sizing: border-box;
  /* ASEGURAR VISIBILIDAD COMPLETA */
  display: flex;
  flex-direction: column;
}

.nav__mobile__popup.open {
  right: 0;
}

/* Header del popup */
.nav__mobile__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: white;
  /* Asegurar que no se desborde */
  box-sizing: border-box;
  min-height: 80px;
  flex-shrink: 0;
}

.nav__mobile__logo {
  flex: 1;
  min-width: 0; /* Permite que el contenido se contraiga */
}

.nav__mobile__logo .logo {
  font-size: 1.3rem;
  color: white;
  display: block;
  margin-bottom: 0.2rem;
  /* Evitar desbordamiento de texto */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav__tagline {
  font-size: 0.75rem;
  opacity: 0.9;
  margin: 0;
  /* Evitar desbordamiento de texto */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav__close__btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.nav__close__btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.nav__close__btn:active {
  transform: scale(0.95);
}

/* Enlaces del menú móvil */
.nav__mobile__links {
  padding: 1rem 0;
  list-style: none;
  margin: 0;
  /* FORZAR VISIBILIDAD EN MÓVIL */
  display: block !important;
  flex: 1;
}

.nav__mobile__links li {
  margin: 0;
  display: block;
}

.nav__mobile__links a {
  display: flex !important;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  /* Evitar desbordamiento */
  box-sizing: border-box;
  overflow: hidden;
}

.nav__mobile__links a:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: white;
  border-left-color: white;
  transform: translateX(5px);
}

.nav__mobile__links a:active {
  transform: translateX(2px);
}

.nav__mobile__links i {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.nav__mobile__links span {
  /* Permitir que el texto se ajuste */
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* CTA del menú móvil */
.nav__mobile__cta {
  padding: 1.5rem;
  border-top: 1px solid var(--extra-light);
  box-sizing: border-box;
  /* FORZAR VISIBILIDAD EN MÓVIL */
  display: block !important;
  flex-shrink: 0;
}

.nav__whatsapp__btn {
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.nav__whatsapp__btn:hover {
  background: linear-gradient(135deg, #128C7E, #25D366);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.nav__whatsapp__btn:active {
  transform: translateY(0);
}

.nav__whatsapp__btn i {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.nav__contact__info {
  margin-top: 1rem;
  display: block !important;
}

.nav__contact__info p {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  /* Evitar desbordamiento */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-sizing: border-box;
}

.nav__contact__info i {
  color: var(--primary-color);
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

/* Redes sociales del menú */
.nav__mobile__social {
  display: flex !important;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid var(--extra-light);
  box-sizing: border-box;
  flex-shrink: 0;
}

.nav__mobile__social a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(40, 135, 255, 0.3);
  flex-shrink: 0;
}

.nav__mobile__social a:hover {
  background: linear-gradient(135deg, var(--primary-color-dark), var(--primary-color));
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(40, 135, 255, 0.4);
}

.nav__mobile__social a:active {
  transform: translateY(-1px) scale(1.05);
}

.nav__mobile__social a i {
  font-size: 1.2rem;
}

/* RESPONSIVE - Pantallas muy pequeñas */
@media (max-width: 320px) {
  .nav__mobile__header {
    padding: 1rem;
  }
  
  .nav__mobile__logo .logo {
    font-size: 1.1rem;
  }
  
  .nav__tagline {
    font-size: 0.7rem;
  }
  
  .nav__mobile__links a {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  
  .nav__mobile__cta {
    padding: 1rem;
  }
  
  .nav__whatsapp__btn {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  
  .nav__contact__info p {
    font-size: 0.8rem;
  }
  
  .nav__mobile__social {
    gap: 0.8rem;
  }
  
  .nav__mobile__social a {
    width: 40px;
    height: 40px;
  }
}

/* DESKTOP - Ocultar elementos móviles completamente */
@media (min-width: 769px) {
  .nav__overlay,
  .nav__mobile__popup {
    display: none !important;
  }
  
  .nav__menu__btn {
    display: none !important;
  }
}

/* Galería de Imágenes - CORREGIDA PARA EVITAR DESBORDE */
.gallery__container {
  padding: 5rem 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Corrección para el contenedor de la galería de imágenes - 4 FILAS CON 16 IMÁGENES */
.image__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas para tener 4 filas exactas con 16 imágenes */
  grid-template-rows: repeat(4, 1fr); /* Exactamente 4 filas */
  gap: 1.5rem;
  margin-top: 3rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  aspect-ratio: 4/4; /* Mantener proporción cuadrada para la galería */
}

/* Responsive para la galería de imágenes - Mantener 4 filas */
@media (max-width: 1024px) {
  .image__gallery {
    grid-template-columns: repeat(4, 1fr); /* 4 columnas */
    grid-template-rows: repeat(4, 1fr); /* Mantener 4 filas */
    gap: 1.2rem;
  }
}

@media (max-width: 768px) {
  .image__gallery {
    grid-template-columns: repeat(4, 1fr); /* 4 columnas */
    grid-template-rows: repeat(4, 1fr); /* Mantener 4 filas */
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .image__gallery {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas */
    grid-template-rows: repeat(8, 1fr); /* 8 filas para móviles */
    gap: 0.8rem;
  }
}

@media (max-width: 480px) {
  .image__gallery {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas */
    grid-template-rows: repeat(8, 1fr); /* 8 filas para móviles */
    gap: 0.8rem;
  }
  
  .gallery__container {
    padding: 3rem 0.5rem;
    width: 100%;
    max-width: 100%;
  }
}

/* Corrección adicional para evitar desborde en móviles muy pequeños */
@media (max-width: 320px) {
  .image__gallery {
    grid-template-columns: 1fr; /* 1 columna */
    grid-template-rows: repeat(16, 1fr); /* Todas las imágenes en fila única */
    gap: 1rem;
  }
  
  .gallery__container {
    padding: 2rem 0.5rem;
  }
}

/* Corrección específica para móviles - GALERÍA RESPONSIVA */
@media (max-width: 768px) {
  .image__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .image__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    width: 100%;
    max-width: 100%;
  }
  
  .gallery__container {
    padding: 3rem 0.5rem;
    width: 100%;
    max-width: 100%;
  }
}

/* Corrección adicional para evitar desborde en móviles muy pequeños */
@media (max-width: 320px) {
  .image__gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery__container {
    padding: 2rem 0.5rem;
  }
}

/* Página de Recuerdos - Galería Moderna */
.memories__container {
  padding: 5rem 1rem;
}

/* Filtros de la galería */
.gallery__filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.filter__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--white);
  border: 2px solid var(--extra-light);
  border-radius: 50px;
  color: var(--text-dark);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.filter__btn:hover,
.filter__btn.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(40, 135, 255, 0.3);
}

/* Galería de recuerdos */
.memories__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.memory__item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.memory__item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.memory__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.memory__item:hover img {
  transform: scale(1.1);
}

.memory__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(40, 135, 255, 0.9), rgba(36, 118, 218, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.memory__item:hover .memory__overlay {
  opacity: 1;
}

.memory__info {
  text-align: center;
  color: var(--white);
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.memory__item:hover .memory__info {
  transform: translateY(0);
}

.memory__info h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.memory__info p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.memory__info i {
  font-size: 2rem;
  opacity: 0.8;
}

/* Estadísticas de la galería */
.gallery__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 4rem 0 2rem;
  padding: 3rem 0;
  border-top: 1px solid var(--extra-light);
}

.gallery__stats .stat__item {
  text-align: center;
  padding: 2rem;
  background: var (--white);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery__stats .stat__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery__stats .stat__item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.gallery__stats .stat__item p {
  color: var(--text-light);
  font-weight: 500;
}

/* Modal para vista ampliada */
.image__modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.image__modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal__close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s ease;
}

.modal__close:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

#modalImage {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal__info {
  text-align: center;
  color: var(--white);
  margin-top: 1.5rem;
}

.modal__info h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.modal__info p {
  font-size: 1rem;
  opacity: 0.8;
}

.modal__navigation {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.modal__nav {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.modal__nav:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.modal__nav i {
  font-size: 1.2rem;
}

/* Responsive para la galería de recuerdos */
@media (max-width: 768px) {
  .memories__gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .gallery__filters {
    gap: 0.5rem;
  }
  
  .filter__btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  .modal__content {
    padding: 1rem;
  }
  
  .modal__navigation {
    gap: 0.5rem;
  }
  
  .modal__nav {
    padding: 0.6rem 1rem;
  }
}

@media (max-width: 480px) {
  .memories__gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  
  .gallery__filters {
    flex-direction: column;
    align-items: center;
  }
  
  .filter__btn {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
  
  .gallery__stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery__stats .stat__item {
    padding: 1.5rem;
  }
  
  .gallery__stats .stat__item h3 {
    font-size: 2rem;
  }
  
  #modalImage {
    max-height: 60vh;
  }
}

/* Estilos para el logo con imagen */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo__image {
  height: 28px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.logo:hover .logo__image {
  transform: scale(1.05);
}

/* Ajustes para el logo en móvil */
.nav__mobile__logo .logo {
  flex-direction: column;
  gap: 0.3rem;
  text-align: center;
}

.nav__mobile__logo .logo__image {
  height: 24px;
}

/* Responsive para el logo */
@media (max-width: 480px) {
  .logo__image {
    height: 24px;
  }
  
  .nav__mobile__logo .logo__image {
    height: 20px;
  }
}

@media (min-width: 769px) {
  .logo__image {
    height: 32px;
  }
}

@media (min-width: 769px) {
  .nav__logo .logo__image {
    height: 84px; /* Aumentado de 28px a 84px (200% más grande) */
  }
}

/* CORRECCIÓN ADICIONAL PARA PREVENIR DESBORDE EN TODOS LOS CONTENEDORES */
.section__container,
.gallery__container,
.header__container,
.nav__header {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow: hidden;
}

/* Asegurar que ningún elemento de posicionamiento absoluto cause desborde */
*[style*="position: absolute"],
*[style*="position: fixed"] {
  max-width: 100vw;
  box-sizing: border-box;
}

/* ASEGURAR QUE TODOS LOS CONTENEDORES RESPETEN EL LÍMITE */
.instagram__container,
.banner__container {
  max-width: var(--max-width);
  margin: 0 auto;
  box-sizing: border-box;
}

/* Corrección para la galería de imágenes */
.gallery__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1rem;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* ESTILOS PARA LA GALERÍA DE IMÁGENES - RESTAURADOS */
.gallery__image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery__image:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery__image:hover img {
  transform: scale(1.1);
}

.gallery__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(40, 135, 255, 0.9), rgba(36, 118, 218, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery__image:hover .gallery__overlay {
  opacity: 1;
}

.gallery__overlay i {
  font-size: 2rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.gallery__image:hover .gallery__overlay i {
  transform: scale(1.1);
}

/* Corrección para el contenedor de la galería de imágenes */
.image__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Responsive para la galería de imágenes */
@media (max-width: 768px) {
  .image__gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .image__gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  
  .gallery__image {
    aspect-ratio: 1;
  }
}

@media (max-width: 320px) {
  .image__gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery__container {
    padding: 2rem 0.5rem;
  }
}

footer {
  background: linear-gradient(135deg, #1a1a1a, #333); /* Fondo con degradado moderno */
  color: #e0e0e0; /* Texto más claro para contraste */
  padding: 3rem 1.5rem; /* Espaciado interno más amplio */
  text-align: center;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3); /* Sombra para destacar el footer */
}

.footer__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem; /* Espaciado interno horizontal */
}

.footer__section {
  flex: 1 1 calc(25% - 2.5rem);
  min-width: 220px;
  text-align: left; /* Alineación del texto para un diseño más profesional */
}

.footer__section h4 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: #ffffff; /* Títulos destacados */
  border-bottom: 2px solid #2887ff; /* Línea decorativa debajo del título */
  display: inline-block;
  padding-bottom: 0.5rem;
}

.footer__section ul {
  list-style: none;
  padding: 0;
}

.footer__section ul li {
  margin-bottom: 0.8rem;
}

.footer__section ul li a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s, transform 0.3s;
}

.footer__section ul li a:hover {
  color: #2887ff; /* Color de acento al pasar el mouse */
  transform: translateX(5px); /* Efecto de movimiento al pasar el mouse */
}

.footer__socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.footer__socials a {
  color: #e0e0e0;
  font-size: 1.8rem;
  transition: color 0.3s, transform 0.3s;
}

.footer__socials a:hover {
  color: #2887ff; /* Color de acento para íconos sociales */
  transform: scale(1.2); /* Efecto de zoom al pasar el mouse */
}

.footer__bottom {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #b3b3b3; /* Texto más tenue */
  border-top: 1px solid #444;
  padding-top: 1.5rem;
}

.footer__bottom {
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  border-top: 1px solid var(--extra-light);
}

/* Estilos para Páginas de Políticas y Términos */
.legal-content__container {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  border: 1px solid var(--extra-light);
}

.legal-content h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--extra-light);
  font-weight: 700;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h2 i {
  font-size: 1.8rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  padding: 0.8rem;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(40, 135, 255, 0.3);
}

.legal-content p,
.legal-content li {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: none;
  padding-left: 1rem;
  margin-top: 1.5rem;
}

.legal-content ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.legal-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.legal-content strong {
  color: var(--text-dark);
  font-weight: 600;
}

@media (max-width: 640px) {
  .legal-content {
    padding: 2rem 1rem;
  }

  .legal-content h2 {
    font-size: 1.3rem;
  }

  .legal-content h2 i {
    font-size: 1.5rem;
    padding: 0.6rem;
  }

  .legal-content p,
  .legal-content li {
    font-size: 1rem;
  }
}

/* Estilos para el botón flotante de WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px; /* Cambiado de left a right */
  left: auto; /* Asegurar que no haya conflicto con left */
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .nav__whatsapp__btn {
    display: none !important;
  }
}