* {
    margin: 0; 
    padding: 0;
    box-sizing: border-box;
  }

  body {
    padding-top: 30px; 
    font-family: "Helvetica Neue", helvetica, arial; 
    background: url('https://subtlepatterns.com/patterns/white_carbonfiber.png');
  }

  #container {
	white-space: nowrap;
    position: relative;
    max-width: 95%; /* ancho máximo en pantallas grandes */
    width: 100%;       /* que ocupe todo el ancho disponible */
    margin: 0 auto;    /* centrado horizontal */
    padding: 0 0px;   /* espacio lateral para que no se pegue al borde */
    box-sizing: border-box;
  }

  #container:after {
    content: "";
    display: block;
    clear: both;
    height: 0;
  }

  #menu {
	white-space: nowrap;
	z-index: 20;
    position: relative;
    float: left;
	justify-content: space-between; /* separa logo a la izq y enlaces a la der */
	display: flex;
	align-items: center;
    width: 100%;
    padding: 0 10px;
    border-radius: 50px;
    box-shadow: inset 0 5px 5px rgba(255,255,255,.5), inset 0 -1px 0 rgba(0,0,0,.15), 0 3px 5px rgba(0,0,0,.15);
    background: #fff; 
  }

  #menu, #menu ul {
    list-style: none;
  }

  #menu > li {
    float: none !important;
    position: relative;
    box-shadow: 1px 0 0 rgba(255,255,255,.25);
    perspective: 1000px;
    
  }
  
  /* Logo dentro del menú */
/* Logo */
#menu .logo-item {
  margin-right: auto; /* empuja los demás items hacia la derecha */
}

#menu .logo-item img {
  height: 50px; /* Ajusta la altura del logo */
  width: auto;  /* Mantiene proporción */
  vertical-align: middle;
}

  #menu > li:first-child {
    padding-left: 0px;
  }

  #menu a {
    display: block;
    position: relative;
    z-index: 10;
    padding: 13px 10px 13px 10px;
    text-decoration: none;
    color: #1c1c1c;
    line-height: 1;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -.05em;
    background: transparent;    
    transition: all .25s ease-in-out;
  
  }

  #menu > li:hover > a {
    background: #fff;
    color: #fff;
	border-radius: 50px;
    text-shadow: none;
  }

#menu > li:not(.logo-item):hover > a {
  background: #a20449;
  color: #fff;
  border-radius: 50px;
  text-shadow: none;
}

  #menu li ul  {
    position: absolute;
    left: 0;
    z-index: 9999;
    width: 250px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    background: transparent;
    overflow: hidden;
    transform-origin: 50% 0%;
  }


  #menu li:hover ul {
    
    padding: 10px 0;
    background: #fff;
    opacity: 1;
    visibility: visible;
    box-shadow: 1px 1px 7px rgba(0,0,0,.5);
    animation-name: swingdown;
    animation-duration: 1s;
    animation-timing-function: ease;

  }

  @keyframes swingdown {
    0% {
      opacity: .99999;
      transform: rotateX(10deg);
    }

    30% {     
      transform: rotateX(-20deg) rotateY(5deg);
      animation-timing-function: ease-in-out;
    }

    65% {
      transform: rotateX(20deg) rotateY(-3deg);
      animation-timing-function: ease-in-out;
    }

    100% {
      transform: rotateX(0);
      animation-timing-function: ease-in-out;
    }
  }

  #menu li li a {
    padding-left: 15px;
    font-weight: 400;
    color: #1c1c1c;
    text-shadow: none;
    border-top: dotted 1px transparent;
    border-bottom: dotted 1px transparent;
    transition: all .15s linear;
  }

  #menu li li a:hover {
    color: #fff;
    border-top: dotted 1px rgba(255,255,255,.15);
    border-bottom: dotted 1px rgba(255,255,255,.15);
    background: #a20449;
  }
  
  /* Color especial solo para "Servicio Privado" */
#menu > li.servicio-privado:hover > a {
  background: #1c1c1c; /* verde de ejemplo */
  color: #fd920e;
}

/* Cambiar fondo del desplegable */
#menu > li.servicio-privado:hover ul {
  background: #1c1c1c; /* verde un poco más claro */
}

/* Cambiar color de texto de los enlaces dentro del desplegable */
#menu > li.servicio-privado:hover ul li a {
  color: #fff; /* texto blanco */
}

/* Cambiar color al pasar el mouse sobre cada opción del submenú */
#menu > li.servicio-privado:hover ul li a:hover {
  background: #fd920e; /* mismo verde del principal */
  color: #fff; /* texto blanco */
}

#menu .lang-item {
  margin-left: auto !important;
  flex-shrink: 0;
}



/* ====== NAV estable en pantallas medianas ====== */
@media (min-width: 769px) and (max-width: 1600px) {
  /* Que el contenedor ocupe todo y no estreche el nav */
  #container {
	flex-wrap: nowrap !important; /* evita que la bandera baje */
    max-width: 100%;
    padding: 0 10px; /* un pequeño respiro a los lados */
  }

  /* Usa solo flex (no floats), permite salto de línea de ítems completos */
  #menu {
    float: none;                 /* quitar float del nav */
    display: flex;
    flex-wrap: wrap;             /* si no entra, pasa a 2 líneas */
    align-items: center;
    gap: 6px 10px;               /* separación entre ítems */
    padding: 8px 12px;           /* menos padding interno */
    border-radius: 50px;         /* píldora más discreta */
	white-space: nowrap;
  }

  /* Los hijos del nav tampoco deben flotar */
  #menu > li {
    float: none;                 /* quitar float de los li */
    flex: 0 0 auto;              /* no estirar, no encoger raro */
  }

  /* Mantén cada enlace en una sola línea y reduce tipografía */
  #menu a {
    white-space: nowrap;         /* el ítem baja de línea completo */
    letter-spacing: 0;           /* evita desfase por tracking negativo */
    font-size: 16px;
    padding: 10px 12px;
  }

  /* Logo más compacto y separador natural */
  #menu .logo-item {
    margin-right: auto;
  }
  #menu .logo-item img {
    height: 45px;
  }
}




/* Ocultar menú superior en dispositivos móviles */
@media (max-width: 768px) {
  #menu {
    display: none;
  }
}







.fondo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("img/fondo.jpg") no-repeat center center;
  background-size: cover;
  z-index: -1; /* para que quede detrás del contenido */
}

@media (max-width: 768px) {
  .fondo {
    position: absolute; /* que no se fije en toda la pantalla */
    height: 100vh; /* solo la mitad de la pantalla */
    background-position: center top; /* que se enfoque en la parte superior */
  }
}




.hero {
  position: relative;
  padding-top: 20px;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: row-reverse; /* Ahora el overlay queda a la derecha */
  padding-right: 11%;
  
}

/* Mitad derecha oscura */
.overlay {
  width: 30%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;       /* Centrado vertical */
  justify-content: center;   /* Centrado horizontal */
  padding: 10%;
  box-sizing: border-box;
  border-radius: 50px;
}

/* Contenido centrado vertical y horizontal */
.contenido {
  color: white;
  max-width: 500px;
  text-align: center; /* Centra el texto dentro del contenido */
}

/* Estilos del título y subtítulo */
.etiqueta {
  background: #fd920e;
  color: #fff;
  padding: 8px 12px;
  font-weight: bold;
  border-radius: 50px;
}

h1 {
  font-size: 2.5rem;
  margin: 10px 0;
}

h1 span {
  color: #fd920e;
}

/* Botón */
.btn {
  display: inline-block;
  background: #fd920e;
  color: #1c1c1c;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
}

.img-clickable {
  margin-top: 30px;
  max-width: 130px;
  max-height: 200px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.img-clickable:hover {
  transform: scale(1.2);
}

/* ===== Adaptación a móvil (hasta 768px) ===== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column; /* Apila contenido */
    padding-right: 0;
    height: auto;
  }

  .overlay {
    width: 100%;
    height: auto;
    min-height: 70vh; /* Altura mínima */
    padding: 20px;
    border-radius: 0;
  }

  .contenido {
    max-width: 90%;
    margin: auto;
  }

  h1 {
    font-size: 1.8rem;
  }

  .img-clickable {
    margin-top: 20px;
    max-width: 150px;
    max-height: 150px;
  }
}

/* ===== Ajuste intermedio (tablets: 769px a 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero {
    flex-direction: row; /* ✅ Vuelve al diseño horizontal */
    padding-right: 40px; /* Ajuste de padding */
  }

  .overlay {
    width: 40%; /* Un poco más ancho para tablet */
  }
}






/* Sección a ancho completo con fondo blanco */
.section-blanca{
  width:100%;
  margin-top: 20px;
  background:#fff;
  padding:20px 0;
}

/* Contenedor invisible de 1300px */
.section-blanca .contenedor{
  max-width:80%;
  margin:0 auto;
  display:flex;
  gap:10%;
  align-items:center;
  padding:0 0px; /* opcional: respiración lateral */
}

/* ===== Estilos base (escritorio) ===== */
.carrusel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  flex: 1 1 0;
  aspect-ratio: 16/10;      /* Mantener proporción solo en escritorio */
  background: #fff;
}

.carrusel .slide {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translateX(100%);
  transition: transform .6s ease;
  will-change: transform;
}

.carrusel .slide img {
  width: 100%;           /* Ocupa todo el ancho disponible */
  height: 100%;          /* Ajusta al contenedor */
  object-fit: cover;     /* ✅ Recorta para llenar en escritorio */
  border-radius: 20px;
  display: block;
}


/* Columna de texto */
.descripcion{
  flex:1 1 0;
  text-align: center; /* Centra el texto horizontalmente */
}

.descripcion h2 {
  font-size: 2rem;         /* 32px aprox */
  font-weight: 700;        /* Negrita */
  line-height: 1.3;
  margin-bottom: 10px;
  color: #000;
}

.descripcion h3 {
  font-size: 1.4rem;       /* 22px aprox */
  font-weight: 500;        /* Seminegrita */
  line-height: 1.4;
  margin-bottom: 20px;
  color: #1c1c1c;
}

.descripcion p {
  font-size: 1rem;         /* 16px aprox */
  line-height: 1.6;
  color: #444;
}

/* ===== MODO CELULAR ===== */
@media (max-width: 720px) {
  .section-blanca .contenedor {
    flex-direction: column;
    gap: 0px;
    max-width: 95%;
    padding: 0 0px;
  }

  /* Ocultar carrusel */
  .carrusel {
    display: none;
  }

  .descripcion {
    text-align: center;
    padding: 0 10px;
  }

  .descripcion h2 {
    padding-top: 10px;
    font-size: 1.5rem;
  }

  .descripcion h3 {
    font-size: 1.2rem;
  }

  .descripcion p {
    font-size: 0.95rem;
  }
}





/* Sección gris de ancho completo */
.section-logos {
  background: #fff; /* gris claro */
  width: 100%;
  padding: 20px 0;
}

/* Fondo blanco al 100% */
.section-logos .fondo-blanco {
  background: #fff;
  width: 100%;
  padding: 20px 0;
}

/* Contenedor de logos centrado al 90% */
.section-logos .contenedor-logos {
  max-width: 80%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
}

/* Estilos para cada logo */
.section-logos .contenedor-logos img {
  max-width: 120px; /* tamaño máximo de cada logo */
  height: auto;
  flex: 1 1 auto;
  object-fit: contain;
  display: block;
}

/* Responsivo */
@media (max-width: 768px) {
  .section-logos .contenedor-logos img {
    max-width: 80px;
  }
}







.section-hero-cards {
  position: relative;
  width: 100%;
  min-height: 60vh; /* pantalla completa */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.background-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.cards-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 1200px;
  width: 90%;
}

.card {
  background: white;
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

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

.card-info-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 10px;
  color: #666;
}

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 10px;
}

.card-subtitle {
  font-size: 0.9rem;
  margin: 5px 10px 10px;
  color: #777;
}

.card-info-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
}

.rating {
  color: #a20449;
}

.price strong {
  color: #a20449;
}

/* Responsive */
@media (max-width: 768px) {
  .cards-container {
    grid-template-columns: 1fr; /* 1 tarjeta por fila */
    gap: 20px; /* separa las tarjetas */
    width: 90%; /* asegura el 90% de ancho */
    margin: 0 auto 40px auto; /* centrado + margen inferior */
	padding-bottom: 40px;
  }

  .card-img {
    height: 220px; /* un poco más pequeña en móvil */
  }
}








    *{
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    .contenedor {
      position: relative;
      width: 100%;
      height: 500px; /* altura fija */
      overflow: hidden;
    }

    .contenedor img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 120%; /* un poco más grande para el efecto */
      object-fit: cover; /* recorta y ajusta */
      transition: transform 0.2s linear;
    }

    .texto {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      text-align: center;
      text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
      max-width: 80%;
    }

    .texto h1 {
      font-size: 3rem;
      margin-bottom: 10px;
    }

    .texto p {
      font-size: 1.2rem;
      line-height: 1.5;
    }
	
	/* ✅ Ajuste responsive */
@media (max-width: 768px) {
  .contenedor {
    min-height: auto; /* altura según el contenido */
    padding: 40px 20px; /* espacio alrededor */
  }

  .texto h1 {
    font-size: 1.8rem;
  }

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

@media (max-width: 480px) {
  .texto h1 {
    font-size: 1.5rem;
  }

  .texto p {
    font-size: 0.9rem;
  }
}
	
	
	
	
	
	
	
	



    .seccion2 {
      text-align: center;
      max-width: auto;
      margin: 0 auto;
      background: #fff;              /* 🔹 Fondo blanco */
      padding: 40px 30px;
      border-radius: 0px;           /* bordes suaves */
      box-shadow: 0 5px 20px rgba(0,0,0,0.1); /* sombra suave */
    }

    .seccion2 h2 {
      font-size: 2.5rem;
      font-weight: bold;
      color: #a20449; /* verde */
      margin-bottom: 15px;
    }

    .seccion2 p {
      font-size: 1.1rem;
      color: #1c1c1c;
      margin-bottom: 40px;
      line-height: 1.6;
    }
	
	.seccion2 p2 {
      font-size: 1.1rem;
      color: #fff;
      margin-bottom: 40px;
      line-height: 1.6;
    }

    .contenedor-cards2 {
      display: flex;
      justify-content: space-between;
      gap: 50px;
      flex-wrap: wrap;
	  padding-left: 15%;
	  padding-right: 15%;
    }

    .card2 {
      position: relative;
      flex: 1;
      min-width: 200px;
      aspect-ratio: 3 / 4; /* ancho:alto, ajusta según diseño */
      height: auto;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease;
      background: #000;
    }

    .card2:hover {
      transform: translateY(-10px);
    }

    .card2 img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.5s ease;
    }

    .card2:hover img {
      transform: scale(1.1);
    }

    .texto-card2 {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 20px;
      background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
      color: white;
      text-align: left;
    }

    .texto-card2 h3 {
      font-size: 1.5rem;
      margin-bottom: 5px;
    }

    .texto-card2 p {
      font-size: 1rem;
      margin: 0;
    }
	@media (max-width: 768px) {
  .seccion2 {
    padding: 20px 10px; /* Reduce padding general */
  }

  .seccion2 h2 {
    font-size: 1.8rem; /* Reduce el título */
  }

  .seccion2 p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .contenedor-cards2 {
    flex-direction: column; /* Apila las tarjetas */
    align-items: center; /* Centra las tarjetas */
    gap: 20px; /* Menor espacio entre tarjetas */
    padding-left: 0;
    padding-right: 0;
  }

  .card2 {
    width: 70%; /* Ocupa casi todo el ancho */
    height: 50%; /* Reduce altura en móvil */
  }

  .texto-card2 h3 {
    font-size: 1.2rem;
  }

  .texto-card2 p {
    font-size: 0.9rem;
  }
}

	
	
	
	
	
	
	
.carrusel-container3 {
  background: #fff;
  padding: 40px 10%;
  width: 100%;
  text-align: center; /* centra el título */
}

.carrusel-titulo {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px; /* espacio entre el título y el carrusel */
  margin-top: 40px; /* espacio respecto a lo de arriba */
}

.carrusel-wrapper3 {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 0 0px;
}

.carrusel3 {
  display: flex;
  transition: transform 0.4s ease-in-out;
  will-change: transform;
}

.card3 {
  flex: 0 0 calc(20% - 20px); /* 5 visibles */
  margin: 0 10px;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: left;
  box-sizing: border-box;
}

.card3 img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.card3 h3 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.card3 p {
  font-size: 0.9rem;
  color: #333;
}
@media (max-width: 768px) {
  .carrusel-wrapper3 {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  .carrusel3 {
    flex-direction: column;
    align-items: center;
    transform: none !important;
    transition: none !important;
  }

  .card3 {
    width: 90%;
    max-width: 500px;
    margin: 10px 0;
  }

  .card3 h3 {
    font-size: 1rem;
  }

  .card3 p {
    font-size: 0.85rem;
  }
}










.image-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px; /* Espacio entre las imÃ¡genes */
  margin-top: 0px;
}
@media (max-width: 768px) {
  .image-row {
    max-width: 90%;
    margin: 0 auto; /* Centra el contenedor */
    gap: 10px; /* Reduce el espacio */
    justify-content: center;
    flex-wrap: wrap; /* Permite que pasen a otra línea */
  }

  .image-row img {
    flex: 0 0 calc(80% - 10px); /* Dos imágenes por fila */
    max-width: calc(80% - 10px);
    height: auto;
  }
}







.blog-section {
  background-color: #f3f3f3; /* Fondo de la sección */
  padding: 60px 20px;
}

.blog-container {
  max-width: 1400px; /* Centrar contenido */
  margin: 0 auto;
  text-align: center;
}

.blog-title {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 30px;
}

.blog-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap; /* Responsivo */
}

.blog-card {
  display: block;
  text-decoration: none; /* Sin subrayado */
  color: inherit; /* Mantener color del texto */
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  width: 380px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.blog-card h3 {
  font-size: 1.2rem;
  color: #1c1c1c;
  padding: 15px;
  margin: 0;
}

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


.blog-button {
  margin-top: 40px;
}

.btn-ver-todo {
  background: #a20449;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.btn-ver-todo:hover {
  background: #fd920e;
}







.footer {
  background-color: #000;
  color: #fff;
  padding: 150px 0 20px; /* Aumenta padding superior para que se vea la imagen */
  background-image: url('tu-imagen.jpg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover; /* Ajusta: cover o contain */
}

.footer-container {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  justify-content: center; /* Centra horizontalmente los elementos */
  gap: 40px;
  flex-wrap: wrap;
  text-align: left; /* Centra el texto dentro de cada columna */
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h4 {
  font-size: 1.5rem;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f8f8f8;
}

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

.footer-column ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 18px; /* Espacio para la viñeta */
}

/* Viñeta personalizada */
.footer-column ul li::before {
  content: "•"; /* Punto como viñeta */
  position: absolute;
  left: 0;
  top: 0;
  color: #fd920e; /* Color de la viñeta */
  font-size: 20px; /* Tamaño de la viñeta */
  line-height: 1.2;
}

.footer-column ul li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
  font-size: 1.2rem; /* Controla el tamaño del texto de los enlaces */
}

.footer-column ul li a:hover {
  color: #fd920e; /* Color hover */
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #aaa;
  border-top: 1px solid #444;
  padding-top: 15px;
}

.footer-image {
  width: 100%;
  display: block;
  text-align: center; /* Centra la imagen */
}

.footer-image img {
  width: 100%; /* O ajusta a tu diseño */
  height: auto;
  display: block;
  margin-bottom: -5px; /* Elimina espacio entre imagen y footer */
}






@media (max-width: 768px) {
  /* Ajustar el ancho de los contenedores principales */
  #container,
  .section-blanca .contenedor,
  .section-logos .contenedor-logos,
  .cards-container,
  .blog-container,
  .footer-container {
    max-width: 90% !important; /* fuerza el 90% */
    width: 90% !important;
    margin: 0 auto; /* centra el contenido */
    padding-left: 0;
    padding-right: 0;
  }

  /* Ajusta carruseles para no desbordar */
  .carrusel-wrapper3 {
    max-width: 90% !important;
  }

  /* Ajusta secciones con grid para que no queden muy apretadas */
  .cards-container {
    grid-template-columns: 1fr; /* 1 columna en móvil */
    gap: 20px;
  }

  /* Ajusta contenedor del hero para respiración lateral */
  .hero {
    padding-left: 5%;
    padding-right: 5%;
  }
}







/* Ocultar en escritorio */
.mobile-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-nav {
    display: block;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 20px;
    width: 90%;              /* 90% del ancho */
    margin: 0 auto;          /* centrado */
    border-radius: 10px;     /* opcional para estética */
  }

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

  .mobile-logo {
    height: 40px;
  }

  .hamburger {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
	color: #a20449;
  }
  
  .hamburger:hover {
  color: #1c1c1c;
  }
  
  .hamburger:focus {
  outline: none;
  box-shadow: none;
}

  .mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #fff;
    margin-top: 10px;
  }

  .mobile-menu a {
    padding: 12px 0;
    text-decoration: none;
    color: #1c1c1c;
    border-top: 0.5px solid #ddd;
    font-weight: 500;
  }

  .mobile-menu a:hover {
    background-color: #fff;
    color: #a20449;
  }

.has-arrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
}


.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  background-color: #fff; /* Fondo del submenu */
  border: none;
}

.submenu a {
  position: relative; /* Necesario para que ::before funcione */
  padding: 10px 0 10px 25px; /* Espacio para el círculo */
  color: #1c1c1c;
  font-size: 0.95rem;
  background: none;
  text-decoration: none;
  display: block;
  border: none;
  margin: 0;
}

.submenu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: #a20449; /* Color del círculo */
  border-radius: 50%;
}

.submenu a:hover {
  color: #a20449;
}

.arrow.open {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}
}






#mainnav ul {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10;
  margin: 0;
  padding: 0;
}

#mainnav li {
  list-style: none;
  margin: .5em 0;
  font-size: 1.75em;
}

/* Aplica solo al último <li> del menú */
#mainnav li:last-child a::after {
  content: "";
  position: absolute;
  bottom: 0px; /* un poco debajo del icono */
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.5s infinite;
  z-index: -1; /* queda detrás del icono */
}

/* Animación de latido */
@keyframes pulse {
  0% {
    transform: translateX(-50%) scale(0.9);
    opacity: 0.9;
  }
  50% {
    transform: translateX(-50%) scale(1.4);
    opacity: 0.2;
  }
  100% {
    transform: translateX(-50%) scale(0.9);
    opacity: 0.9;
  }
}


#mainnav li:hover span {
  opacity: 1;
  transition: 0.25s;
}
#mainnav li.invisible {
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
}
#mainnav li.animate {
  opacity: 0;
  animation-duration: 0.10s;
  animation-name: easeOutBounce;
  animation-fill-mode: forwards;
}
#mainnav li.animate:nth-child(4) {
  animation-delay: 0s;
}
#mainnav li.animate:nth-child(4) {
  animation-delay: 0.15s;
}
#mainnav li.animate:nth-child(4) {
  animation-delay: 0.3s;
}
#mainnav li.animate:nth-child(4) {
  animation-delay: 0.45s;
}

#mainnav i {
  border: 2px solid #fff;
  padding: .5em;
  border-radius: 50%;
}

#mainnav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  z-index: 9999;          /* fuerza prioridad para los clics */
}


#mainnav img {
  width: 60px;
  height: 60px;
  border: 3px solid #fff;
  border-radius: 50%;
  padding: 5px;
  box-sizing: border-box;
  box-shadow: 0 5px 12px rgba(0,0,0,0.8); /* sombra de cada botón */
  transition: transform 0.2s, box-shadow 0.2s;
}

#mainnav img:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 18px rgba(0,0,0,0.6);
}

#mainnav span {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #C13237;
  padding: .35em .6em;
  border-radius: .2em;
  font-size: .75em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;   /* asegura que NO bloquee el clic */
  z-index: 1999;          /* debajo del <a> */
}

#mainnav a:hover span {
  opacity: 1;
}

/* Flechita del tooltip */
#mainnav span:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -0.5em;
  border-style: solid;
  border-width: .5em 0 .5em .5em;
  border-color: transparent transparent transparent #fff;
}

/* Imitates jQuery UI's ease-out-bounce animation effect */
@keyframes easeOutBounce {
  0% {
    font-size: 0;
  }
  37% {
    font-size: 1.75em;
  }
  55% {
    font-size: 1.3125em;
  }
  73% {
    font-size: 1.75em;
  }
  82% {
    font-size: 1.6275em;
  }
  91% {
    font-size: 1.75em;
  }
  96% {
    font-size: 1.715em;
  }
  100% {
    font-size: 1.75em;
    opacity: 1;
  }
}










/* Estilo para el ítem de idioma */
.lang-item {
  display: inline-block;
  margin-left: 5px;
}

.lang-item a {
  display: flex;
  align-items: center;
  padding: 2px;
}

.flag-icon {
  width: 35px;
  height: auto;
  border-radius: 0px; /* opcional */
  box-shadow: 0 0 5px rgba(0,0,0,0.3); /* sombra ligera */
  transition: transform 0.2s ease-in-out;
}

.flag-icon:hover {
  transform: scale(1.1);
}











.form-container {
      background: #fff;
      padding: 30px;
      max-width: 900px;
      margin: 0 auto;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
      border-radius: 10px;
    }

    .form-container h2 {
      text-align: center;
      margin-bottom: 20px;
      color: #a20449;
    }

    label {
      display: block;
      margin-top: 15px;
      font-weight: bold;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
      width: 100%;
      padding: 10px;
      margin-top: 5px;
      border: 1px solid #ccc;
      border-radius: 6px;
      resize: vertical;
    }

    textarea {
      height: 120px;
    }

    .form-group {
      margin-bottom: 15px;
    }

    .btn-submit {
      background-color: #a20449;
      color: white;
      border: none;
      padding: 12px 20px;
      font-size: 16px;
      border-radius: 6px;
      cursor: pointer;
      width: 100%;
      margin-top: 20px;
    }

    .btn-submit:hover {
      background-color: #fd920e;
    }

    .success-message {
      color: #a20449;
      margin-top: 15px;
      text-align: center;
    }
	
	
.contenedor11 {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto; /* Centra horizontalmente */
  display: flex;
  gap: 20px;
}

.columna11 {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Espacio entre imágenes */
}

.izquierda11 {
  flex: 1;
}

.derecha11 {
  flex: 1;
  justify-content: center;
  align-items: center;
  display: flex;
}

.columna11 img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}





/* MODAL HOME PAGE */
/* Botón para abrir modal (opcional) */
.open-modal-btn {
    padding: 15px 30px;
    font-size: 18px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
}

.open-modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Container */
.modal-container {
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideUp {
    from {
        transform: translateY(100px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Columna Izquierda - Imagen Vertical */
.image-column {
    flex: 1;
    background: linear-gradient(45deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    position: relative;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-column:hover .main-image {
    transform: scale(1.05);
}

/* Columna Derecha - Tours */
.tours-column {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
    position: relative;
    overflow: auto;
}

/* Título Principal */
.modal-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

.modal-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 40px;
}

/* Box de Tours */
.tour-box {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tour-box_image{
  max-width: 200px;
}
.tour-box_info{
  padding: 0px 10px;
}

.tour-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
}

.tour-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Imagen del Tour */
.tour-image {
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Título del Tour */
.tour-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.3;
}

/* Precio */
.tour-price {
    font-size: 1rem;
    font-weight: 800;
    color: #a20449;
    margin-bottom: 20px;
}

/* Botón */
.tour-btn {
    width: 100%;
    padding: 15px 10px;
    background: linear-gradient(45deg, #a20449, #fd9310);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tour-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

/* Botón Cerrar */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.close-btn:hover {
    background: #ff6b6b;
    color: white;
    transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-container {
        flex-direction: column;
        height: 95vh;
        width: 95%;
    }
    
    .tours-column {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 2rem;
    }
    
    .tour-box {
        padding: 20px;
    }
}