@font-face {
  font-family: "poppins";
  src: url("fuentes-descargadas/poppins-optimizado/Poppins-Light.woff2")
    format("woff2");
  font-weight: 300; /* Light */
  font-style: normal;
}

@font-face {
  font-family: "montserrat";
  src: url("fuentes-descargadas/montserrat-optimizado/Montserrat-ExtraLight.woff2")
    format("woff2");
  font-weight: 300; /* Light */
  font-style: normal;
}

@font-face {
  font-family: "montserrat bold";
  src: url("fuentes-descargadas/montserrat-optimizado/Montserrat-Bold.woff2")
    format("woff2");
  font-weight: 300; /* Light */
  font-style: normal;
}



:root {
  --primary: hsla(145, 100%, 50%, 1);
  --primary-tenue: hsla(145, 100%, 90%, 1);
  --complementario:  hsla(325, 100%, 50%, 1);
  --complementario-tenue:  hsla(325, 100%, 96%, 1);
  --primary-tenue-transparente: hsla(145, 100%, 90%, 0.9);
  --primary-black: hsla(145, 100%, 10%, 1);
  --blanco: hsl(145, 100%, 100%);
  --negro: hsl(199, 0%, 0%);
  --negro-transparente: hsla(199, 0%, 0%, 0.5);
  --gris: hsl(145, 0%, 50%);
  --gris-tenue: hsl(145, 0%, 95%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  font-family: "poppins";
  line-height: 1.6;
  width: 100%;
  margin-top: 40px;
}

html,
body {
  overflow-x: hidden;
}

header {
  display: grid;
  grid-template: 30px 30px / 1fr 1fr 1fr 1fr;
  align-items: center;
  z-index: 10;
  width: 100%;
  top: 0;
  left: 0;
  position: fixed;
  background-color: var(--negro);
}

.menu-toggle {
  grid-area: 1 / 4 / 3 / 5;
  justify-self: end;
  margin-right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  gap: 3.5px;
  width: 28px;
  height: 24px;
  z-index: 3;
  justify-content: center;
  border-radius: 5%;
  overflow: hidden;
  transition: all 0.5s ease-out;
  border: none;
  background: var(--negro);
}

.menu-toggle:hover {
  transform: scale(1.1);
}

/*esta clase se activa con js*/
.menu-toggle.girar {
  animation: girar 0.8s ease-in-out;
}

@keyframes girar {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.menu-toggle span {
  display: block;
  width: 17%;
  height: 15%;
  border-radius: 100%;
  background: var(--blanco);
}

nav {
  grid-area: 1 / 1 / 3 / 5;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

nav .logo {
  font-size: 1.5rem;
  font-family: "montserrat bold";
  width: 95%;
  text-align: center;
  line-height: 20px;
  letter-spacing: -1px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-imagen {
  width: 2.5rem;
  height: auto;
  z-index: 3;
  border-radius: 50%;
  justify-self: flex-start;
  margin-left: 0;
}

.logo-texto-capitan {
  width: 90%;
  margin-left: -2.3rem;
  justify-self: center;
}

nav .logo span {
  display: inline;
}

nav ul {
  list-style: none;
  display: none;
  flex-direction: column;
  width: 100%;
  height: auto;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: absolute;
  top: 60px;
  animation: opacidad 0.5s ease forwards;
  opacity: 0;
  z-index: 15;
  padding: 20px 0px 20px 0px;
  line-height: 17px;
  text-align: center;
  border: 1px solid var(--primary);
}

nav ul::before {
  content: "";
  position: absolute;
  inset: 0; /* cubre todo el ul */
  background-color: var(--primary-tenue);
  filter: blur(5px);
  z-index: -1; /* se coloca detrás del texto */
}

@keyframes opacidad {
  100% {
    opacity: 1;
  }
}

nav ul li a {
  text-decoration: none;
  padding: 2px;
  z-index: 1;
  font-weight: 600;
  font-size: 16px;
  color: var(--negro);
}

nav ul li a:hover {
  border-bottom: 3px solid var(--gris)
}

nav.active ul {
  display: flex;
}

.contenedor-texto-hero p {
  width: 90%;
  height: auto;
  border: .5px solid var(--blanco);
  margin: 0 auto;
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(1px);
  color: var(--blanco);
}

.hero {
  width: 100%;
  margin: 20px auto;
  height: 750px;
  position: relative;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 0px 0px 0px 0px;
  /*border: 10px solid var(--textOscuro);*/
}

.hero div {
  width: 100%;
  height: 100%;
}

.contenedor-texto-hero h1 {
  width: 95%;
  font-size: 1.9rem;
  margin: 0 auto;
  color: var(--blanco);
}

.contenedor-imagenes {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
}

.contenedor-imagenes::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.contenedor-imagenes img {
  scroll-snap-align: center;
  width: 100%;
  height: auto;
  flex: 0 0 auto; /* Evita que se estiren o encojan */
  object-fit: cover;
}

.contenedor-imagenes img:nth-child(1) {
  object-position: 100% 50%;
}

.contenedor-imagenes img:nth-child(2) {
  object-position: 100% 60%;
}

.contenedor-imagenes img:nth-child(4) {
  object-position: 100% 90%;
}

.hero .contenedor-texto-hero {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
  text-align: center;
  background: radial-gradient(
    circle at center,
    hsla(0, 0%, 90%, 0.05),
    hsla(0, 0%, 0%, 0.8)
  );
  text-shadow: 0px 0px 5px var(--negro);
}

.hero .contenedor-texto-hero p {
  text-align: left;
}

.hero .btn-hero {
  color: var(--negro);
  text-shadow: none;
  font-weight: 600;
  border: 1px solid var(--blanco);
  background-color: var(--blanco);
  width: auto;
  padding: 10px;
  text-decoration: none;
  border-radius: 10px;
  margin: 0 auto;
  opacity: 0.8;
}

.hero .btn-hero:hover {
  opacity: 1;
  filter: drop-shadow(1px 1px 5px var(--blanco));
  border: none;
}

.brilloAlrededor {
  animation: brilloAlrededor ease-in 1.3s;
  animation-delay: 3.5s;
}

@keyframes brilloAlrededor {
  0% {
    filter: drop-shadow(0px 0px 0px var(--blanco));
  }
  20% {
    filter: drop-shadow(0px 0px 10px var(--blanco));
  }
  45% {
    filter: drop-shadow(0px 0px 0px var(--blanco));
  }
  75% {
    filter: drop-shadow(0px 0px 20px var(--blanco));
  }
}

section {
  width: 95%;
  margin: 0 auto;
}

.servicios {
  margin-top: 60px;
}

.servicios .cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 2.5rem;
}

.servicios h2 {
  font-size: 2.5rem;
  text-align: center;
  color: var(--blanco);
  position: relative;
  z-index: 2;
  background-color: var(--negro);
  border: var(--blanco) 5px double;
  border-radius: 40px 40px 0px 0px;
  width: 90%;
  margin: 0 auto;
  font-family: 'montserrat';
}

.card {
  background-image: linear-gradient(to left, var(--primary-tenue-transparente), var(--complementario-tenue));
  border-radius: 12px;
  color: var(--bg);
  padding: 2.5rem;
  box-shadow: 0px 2px 10px var(--negro-transparente);
  border: 1px solid var(--gris);
}

.card svg {
  width: 60px;
  height: 60px;
  color: var(--negro);
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  
}

.card p {
  margin-bottom: 25px;
  color: var(--negro);
}

.servicios .cards .card .btn-servicios {
  background-color: var(--primary);
  text-decoration: none;
  border-radius: 10px;
  padding: 10px;
  color: var(--negro);
  font-weight: 600;
  margin: 30px 0px 0px 0px;
}

/*consultoria ahora llamado planificación*/

.consultoria {
  background-color: var(--negro);
  margin: 40px auto 0px auto;
  width: 100%;
  padding: 60px 0px 140px 0px;
}

.consultoria h2 {
  font-size: 2.5rem;
  margin: 0px 0px 40px 15px;
  line-height: 50px;
  color: var(--primary);
  overflow: hidden;
  z-index: 4;
  position: relative;
  padding-left: 3px;
}

.consultoria p {
  color: var(--blanco);
  margin: 0px 15px 40px 15px;
  font-size: 1rem;
}

.consultoria ul {
  color: var(--blanco);
  list-style: none;
  font-size: 1rem;
  margin: 0px 15px 40px 15px;
}

.consultoria ul li {
  font-size: 1.1rem;
  padding-left: 1.5em;
  position: relative;
  margin-bottom: 15px;
}

.consultoria ul li::before {
  content: "\2713";
  position: absolute;
  left: 7px;
  color: var(--primary); /* Verde tipo éxito */
  font-size: 1.2rem;
}

.btn {
  margin: 20px 0px 40px 15px;
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: var(--primary);
  color: var(--negro);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--blanco);
}

.consultoria .btn:hover {
  background: var(--primary-tenue);
}

.punzando {
  animation: punzando ease-in 1s;
  animation-delay: 0.3s;
}

@keyframes punzando {
  0% {
    transform: scale(1.1);
  }
  25% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  75% {
    transform: scale(1);
  }
}

.tours {
  display: flex;
  flex-direction: column;
  justify-content: left;
  background: var(--blanco);
  width: 100%;
  padding: 60px 0px 0 0px;
}

.tours h2 {
  font-size: 2.5rem;
  color: var(--negro);
  padding-left: 4px;
  margin: 0px 0px 40px 15px;
  border: var(--gris) 5px double;
  margin: auto;
  width: 95%;
}

.tours p {
  color: var(--negro);
  font-size: 1rem;
  margin: 10px 10px 20px 15px;
  border-radius: 10px;
  padding: 5px 5px 5px 5px;
  background: var(--gris-tenue);
}

.tours p:nth-of-type(1) {
  margin-top: 40px;
}

.tours .iconos {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  gap: 5px;
  width: 95%;
  height: auto;
  margin: 0 auto 40px auto;
}

.tours .iconos img {
  width: 50px;
  height: auto;
  border-radius: 10px;
  border: .1px solid var(--negro);
  box-shadow: 0px 0px 1px 1px var(--negro-transparente);
  padding: 5px;
}

.tours .ul-tours {
  list-style: none;
  padding: 20px 0 20px 0;
  display: grid;
  grid-auto-rows: auto;
  grid-auto-columns: auto;
  grid-template: auto auto / repeat(2, 1fr);
  overflow: hidden;
  height: auto;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
  width: 98%;
  margin: auto;
  border: 7px double var(--negro);
  border-radius: 15px;
}

.tours .ul-tours a {
  text-decoration: none;
}

.tours .ul-tours a li:hover {
  background: var(--primary);
  color: var(--negro);
  border: 2px solid var(--negro);
  color: var(--negro);
}

.tours .ul-tours li {
  width: 50%;
  height: auto;
  overflow: hidden;
  color: var(--blanco);
  justify-self: center;
  align-self: center;
  border: 2px solid var(--primary);
  text-align: center;
  border-radius: 10px;
  background-color: var(--negro);
  padding: 2px;
}

.tours .btn {
  background-color: var(--primary-tenue);
  color: var(--bgclaro);
  border: 3px solid var(--blanco);
  margin: 40px 0px 50px 15px;
  padding: 0.5rem 1.25rem;
  width: 255px;
}
/*deshabilitado*/

.tours .promociones {
  padding-top: 70px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  justify-items: center;
  width: 100%;
}

.tours .promociones h3 {
  font-size: 2rem;
  width: 90%;
  margin: 0 auto;
  color: var(--negro);
  text-align: center;
  padding: 20px 0 20px 0;
  border-radius: 20px;
  box-shadow: 0px 0px 5px var(--negro-transparente);
  animation: cayendo 1s ease;
  background: var(--complementario);
}

.tours .promociones p {
  background: var(--complementario-tenue);
  padding: 10px;
  border: .5px solid var(--complementario);
}

.barra-progreso {
  width: 100%;
  height: 6px;
  background: var(--complementario-tenue);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 20px;
}

.progreso {
  height: 100%;
  width: 0%;
  background: var(--complementario);
  transition: width 0.1s ease;
}

.promociones-grid {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-items: center;
  overflow: auto; /* permite el scroll */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer y Edge antiguos */
  scroll-snap-type: x mandatory;
}

.promociones-grid::-webkit-scrollbar {
  display: none;
}

/* ---------------------------------------------------------------------------------- carrusel*/

.promociones-grid .promo-card {
  display: flex;
  flex-direction: column;
  scroll-snap-align: center;
  height: auto;
  width: 100%;
  flex-basis: 100%;
  flex-shrink: 0;
  flex-grow: 0;
  overflow: hidden;
}

/*boton para pausar el scroll de todo*/
#botonPausa {
  position: fixed;
  bottom: 20px;
  right: 10px;
  padding: 12px 20px;
  background-color: var(--negro-transparente);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}


.promociones-grid h4 {
  width: 100%;
  height: 120px;
  text-align: center;
  font-size: 2rem;
  background-color: var(--negro);
  color: var(--complementario);
  padding: .6rem;
  line-height: 30px;
  display: flex;
  align-items: center;
  text-align: left;
}

.promociones .promo-card ul {
  display: flex;
  flex-direction: column;
  width: 80%;
  margin: 0 auto 0 auto;
  animation: leftRigth 1s ease 0.5s;
}

.promociones .promo-card ul li {
  margin: 5px 0 5px 0;
  list-style: square;
}

.promociones .promo-card .stickers-container {
  position: relative;
  width: 99%;
  height: 550px;
  max-width: 400px;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0px 0px 10px 1px var(--negro-transparente);
}

.stickers-container.asia img {
  height: auto;
  position: absolute;
  opacity: 0;
}

/* ////// Estilos para Ruta Asia /////*/
.asia {
  background: linear-gradient(to top, var(--blanco), pink);
}

.stickers-container.asia img:nth-child(1) {
  width: 65%;
  height: 400px;
  z-index: 3;
  top: 30px;
  right: -50px;
  /*pagoda y monte fuji*/
}

.stickers-container.asia img:nth-child(2) {
  width: 70%;
  height: auto;
  z-index: 0;
  top: -50px;
  left: 100px;
  /*sakura*/
}

.stickers-container.asia img:nth-child(3) {
  z-index: 2;
  width: 55%;
  top: 25%;
  left: -5px;
  /*shibuya crossing*/
}

.stickers-container.asia img:nth-child(4) {
  z-index: 0;
  width: 55%;
  top: -40px;
  right: -20px;
  /*templo azul*/
}

.stickers-container.asia img:nth-child(5) {
  z-index: 4;
  width: 80%;
  height: auto;
  bottom: -60px;
  left: 30px;
  filter: drop-shadow(0px 0px 20px var(--negro-transparente));
  /*polux en la proa*/
}

.stickers-container.asia img:nth-child(6) {
  z-index: 0;
  width: 50%;
  height: auto;
  top: -20px;
  left: -30px;
  /*dragon dorado*/
}

/* ////// Termina estilos para ruta Asia/////*/

/*////   ---Estilos para Ruta Mediterraneo---    //////////*/
.egipto {
  background: linear-gradient(to top, var(--blanco), hsl(198, 88%, 77%));
}

.egipto img {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  height: auto;
  position: absolute;
  opacity: 0;
}

.egipto img:nth-child(1) {
  width: 66%;
  z-index: 2;
  top: 265px;
  left: -50px;
  animation-delay: 0.9s;
  /*esfinge*/
}

.egipto img:nth-child(2) {
  width: 60%;
  z-index: 1;
  top: 100px;
  left: -19px;
  animation-delay: 0.66s;
  /*estructuras*/
}

.egipto img:nth-child(3) {
  z-index: 0;
  width: 85%;
  height: auto;
  top: -95px;
  left: -10px;
  animation-delay: 0.33s;
  /*piramide*/
}

.egipto img:nth-child(4) {
  z-index: 4;
  width: 70%;
  height: auto;
  filter: drop-shadow(1px 1px 20px var(--negro-transparente));
  top: 270px;
  left: 17%;
  /*polux*/
}

.egipto img:nth-child(5) {
  z-index: 1;
  width: 49%;
  right: -10px;
  animation-delay: 0.33s;
  /*coliseo*/
}

.egipto img:nth-child(6) {
  z-index: 2;
  width: 50%;
  right: 0;
  top: 144px;
  animation-delay: 0.66s;
  /*cupula*/
}

.egipto img:nth-child(7) {
  z-index: 3;
  width: 80%;
  top: 265px;
  right: -90px;
  animation-delay: 1s;
  /*Acropolis*/
}

/*Termina estilos para ruta Mediterraneo*/

/*Empieza peru*/
.stickers-container.peru {
  background: linear-gradient(to top, var(--blanco), hsl(150, 100%, 50%));
  position: relative;
}


.stickers-container.peru img {
  position: absolute;
  opacity: 0;
}

.stickers-container.peru img:nth-child(1) {
  width: 75%;
  height: auto;
  z-index: 3;
  top: 160px;
  left: 55px;
  filter: drop-shadow(0px 0px 20px var(--negro-transparente));
  /*polux y las llamas*/
}

.stickers-container.peru img:nth-child(2) {
  width: 75%;
  height: auto;
  z-index: 2;
  top: 50px;
  left: 140px;
  /*machu picchu*/
}

.stickers-container.peru img:nth-child(3) {
  width: 98%;
  height: auto;
  z-index: 1;
  top: -5px;
  left: 0;
  /*montaña siete colores*/
}

.stickers-container.peru img:nth-child(4) {
  width: 95%;
  height: auto;
  z-index: 2;
  top: 180px;
  left: 0px;
  /*laguna humantay*/
}

/*mexico stickers*/

.promo-card #méxico {
  font-size: 1.3rem;
  font-weight: 600;
}

.stickers-container.méxico {
  background: linear-gradient(to top, var(--blanco), hsl(80, 100%, 50%));
  position: relative;
}

.stickers-container.méxico img {
  position: absolute;
  opacity: 0;
}

.stickers-container.méxico img:nth-child(1) {
  /*botella*/
  top: 95px;
  width: 45%;
  z-index: 2;
  right: 30px;
  animation-delay: 1s;
}

.stickers-container.méxico img:nth-child(2) {
  bottom: -60px;
  width: 90%;
  left: -100px;
  z-index: 4;
  animation-delay: 1.33s;
  /*palmera*/
}

.stickers-container.méxico img:nth-child(3) {
  top: -60px;
  width: 75%;
  right: -60px;
  z-index: 0;
  animation-delay: .33s;
  /*maguey*/
}

.stickers-container.méxico img:nth-child(4) {
  bottom: 140px;
  z-index: 4;
  width: 50%;
  right: -20px;
  animation-delay: 1.66s;
  /*letras cancún*/
}

.stickers-container.méxico img:nth-child(5) {
  bottom:  230px;
  width: 60%;
  right: -70px;
  z-index: 3;
  animation-delay: 1.33s;
  /*mariachi*/
}

.stickers-container.méxico img:nth-child(6) {
  /*mascara*/
  bottom: -5px;
  width: 25%;
  z-index: 5;
  left: 40px;
  animation-delay: 1.66s;
}

.stickers-container.méxico img:nth-child(7) {
  /*pólux*/
  top: 130px;
  z-index: 9;
  width: 65%;
  left: 65px;
  filter: drop-shadow(0px 0px 20px var(--negro-transparente));
}

.stickers-container.méxico img:nth-child(8) {
  top: -1.5rem;
  left: -4.5rem;
  width: 90%;
  z-index: 2;
  animation-delay: .66;
  /*teotihuacan*/
}

.stickers-container.méxico img:nth-child(9) {
  top: 10rem;
  left: -6rem;
  width: 90%;
  z-index: 3;
  animation-delay: 1s;
  /*chichén itza*/
}

.stickers-container.méxico img:nth-child(10) {
  top: 65px;
  right:  -10px;
  width: 50%;
  z-index: 1;
  animation-delay: .66s;
  /*cantaritos*/
}

.stickers-container.méxico img:nth-child(11) {
  bottom: -20px;
  right: -5px;
  width: 70%;
  z-index: 3;
  animation-delay: 1.9s;
  /*viviendas coloridas de guanajuato*/
}

.stickers-container.méxico img:nth-child(12) {
  top: -2rem;
  left: -1rem;
  width: 50%;
  z-index: 0;
  animation-delay: .33s;
  /*piedra del sol*/
}

.promociones-grid .promo-card .stickers-container figcaption {
  color: var(--blanco);
  width: auto;
  height: auto;
  overflow: hidden;
  font-size: 2rem;
  font-family: "montserrat";
  text-shadow: 0px 0px 5px var(--negro), 0px 0px 15px var(--negro);
  background: var(--negro-transparente);
  line-height: 40px;
  position: absolute;
  top: 0;
  z-index: 5;
  text-align: left;
  left: 0;
  padding: 10px;
  opacity: 0.8;
}

.promociones-grid .promo-card p strong {
  border-radius: 10px;
  font-size: 1rem;
  color: var(--blanco);
  background: var(--gris);
  padding: 10px;
  font-weight: 600;

}

.promociones .promo-card p {
  line-height: 25px;
  border: 0;
  width: 90%;
  box-shadow: 0px 0px 5px var(--negro-transparente);
}

.promociones .promo-card ul {
  background: var(--primary-tenue-transparente);
  padding: 20px;
}

.promo-card .parrafo-fotos-del-recorrido {
  width: 100% !important;
  margin: 0;
  padding-left: 15px;
  border-radius: 0;
  background: var(--negro) !important;
  color: var(--complementario);
}

.promo-card .carrusel-destinos {
  display: flex !important;
  flex-direction: row !important;
  height: auto;
  width: 100% !important;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 0 !important;
  margin: 20px auto 5px auto !important;
  gap: 3px;
  align-content: center;
  align-items: center;
  background: var(--blanco) !important;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none; /* Internet Explorer / Edge Legacy */
}

.carrusel-destinos li {
  margin: 0 !important;
  padding: 0 !important;
  scroll-snap-align: start;
  height: 150px;
  width: auto;
  list-style: none !important;
  display: inline !important;
}

.carrusel-destinos li a {
  margin: 0 !important;
  padding: 0 !important;
}

.carrusel-destinos li a img {
  width: 100px;
  height: 100%;
  flex-grow: 1;
  flex-shrink: 1;
  margin: 0 !important;
  object-fit: cover;
}

.galeria {
  width: 100%;
  padding: 0px 0px 70px 0px;
  display: flex;
  flex-direction: column;
}

.galeria h2 {
  width: 95%;
  font-size: 2.5rem;
  color: var(--negro);
  padding: 0 0 0 10px;
  font-family: 'montserrat bold';
  font-weight: 500;
  background: var(--primary);
  margin: auto auto 40px auto;
}

.galeria p {
  width: 95%;
  font-size: 1rem;
  margin: 0px 0px 40px 15px;
}

.galeria .btn {
  width: 200px;
  text-align: center;
}

.destinos {
  display: flex;
  flex-direction: column;
  height: 350px;
  overflow: hidden;
}

.destinos h3 {
  width: 100%;
  height: 10%;
  background-color: var(--negro);
  color: var(--blanco);
  text-align: center;
}

.destinos .paises {
  display: flex;
  height: 80%;
  overflow-x: auto;
  scrollbar-width: none;
  flex-direction: row;
  flex-wrap: nowrap;
  scroll-snap-type: x mandatory;
}

.destinos .paises .pais {
  position: relative;
  height: auto;
  min-width: 30%;
  margin: 3px;
  scroll-snap-align: center;
}

.destinos .paises .pais img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}

.destinos .paises .pais figcaption {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  text-align: center;
  width: 100%;
  color: var(--blanco);
  background-color: var(--negro-transparente);
}

.sobre {
  background: var(--negro);
  position: relative;
  padding: 155px 0 70px 0;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--negro);
  border-radius: 10px;
}

.sobre .combinacion {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  background-color: var(--blanco);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  text-align: left;
  line-height: 35px;
  border-radius: 10px;
}

.sobre h2 {
  text-align: center;
  z-index: 3;
  position: relative;
  padding: 45px 0 130px 0;
  width: 100%;
}

.sobre span {
  display: block;
  line-height: 55px;
  z-index: 5;
}

.sobre span:nth-child(1) {
  font-size: 2rem;
}

.sobre span:nth-child(2),
.sobre span:nth-child(3) {
  color: var(--blanco);
  text-shadow: 2px 2px 2px var(--negro-transparente), 0px 0px 0px var(--negro-transparente), -2px -2px 10px var(--negro-transparente);
}

.sobre span:nth-child(1) {
  color: var(--negro);
  
}

.sobre img {
  width: 300px;
  height: 300px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: 0% 80%;
  z-index: 0;
  border: 5px solid var(--blanco);
  box-shadow: 0px 0px 4px var(--negro);
}

.sobre p {
  color: var(--blanco);
  margin: .8rem auto 1.2rem auto;
  width: 85%;
}

.sobre p:nth-child(3) {
  margin-top: 3rem;
}

.sobre .conjunto {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: auto;
  margin: 0 auto;
  font-weight: 500;
  font-size: 20px;
  align-items: center;
  font-style: italic;
}

.sobre .conjunto p {
  margin: 0;
  margin-right: 15px;
  padding: 0;
}

.sobre svg {
  width: 40px;
  padding-top: 0;
  border: 5px solid var(--blanco);
  border-radius: 10px;
  background: var(--blanco);
}

.contacto {
  border-radius: 10px;
  padding: 20px 0 20px 0;
  margin: 20px auto 20px auto;
  box-shadow: 5px 6px 10px var(--negro-transparente);
  width: 95%;
  background: var(--primary-tenue);
  border: 4px solid var(--primary);
}

.contacto h2 {
  margin: 0 0 10px 15px;
  color: var(--negro);
  background: var(--primary-tenue);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  background: var(--primary-tenue);
}

form label {
  margin-left: 15px;
}

input,
select,
textarea {
  padding: 1rem 0.1rem 1rem 0.2rem;
  width: 95%;
  margin: 0 auto;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border: 2px solid var(--negro);
}

button[type="submit"] {
  background-color: var(--primary);
  color: var(--negro);
  padding: 20px 0 20px 0;
  width: 95%;
  margin: 0 auto;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

footer {
  text-align: center;
  padding: 2rem;
  background-color: var(--negro);
  color: var(--blanco);
}

footer a {
  color: var(--blanco);
  text-decoration: none;
}

/*Animaciones para el intersection Observer de h1,h2,h3,p,ul*/

.fade-in-up,
.fade-in-left,
.scale-in,
.zoom-in,
.derechaAIzquierda {
  opacity: 0;
  transition: all 0.8s ease-out 0.2s;
}

.fade-in-left {
  transform: translateX(-50px);
}

.derechaAIzquierda {
  transform: translateX(20px);
}

.scale-in {
  transform: scale(0.95);
}

.zoom-in {
  transform: scale(0.8);
}

.animate {
  opacity: 1;
  transform: none;
}

.abajoArriba {
  transform: translateY(50px);
}

.izquierdaADerechaAnimation {
  animation: izquierdaADerecha 0.4s ease-in forwards;
}

@keyframes izquierdaADerecha {
  0% {
    transform: translateX(-70px);
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

.derechaAIzquierdaAnimation {
  animation: derechaAIzquierda 0.4s ease-in forwards;
}

@keyframes derechaAIzquierda {
  0% {
    transform: translateX(70px);
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

/*modal para imagenes modal para imagenes modal para imagenes*/
/* Estilos para el modal */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 20;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.modal-contenido {
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 0 10px #000;
}

.cerrar {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 25;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 0 12px;
  line-height: 1;
}

/* Media para tabletas y computadoras ///////////computadoras/////     computadoras  ///*/

@media only screen and (min-width: 768px) {
  header {
     box-shadow: 0px 0px 3px var(--blanco);
  }

  nav {
    grid-area: 1 / 1 / 3 / 5;
    width: 100%;
    justify-content: space-between;
  }

  nav .logo {
    width: auto;
    padding-left: 1rem;
    color: var(--primary);
  }

  nav .logo-imagen {
    margin-right: 3.5rem;
  }

  nav ul {
    width: auto;
    height: 100%;
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    padding-right: 15px;
    background: none;
    border: none;
  }

  nav ul::before {
  content: "";
  display: none;
}

  nav ul li {
    height: auto;
  }

  nav ul li a{
    font-size: .8rem;
    color: var(--blanco);
  }

  nav ul li a:hover {
    color: var(--primary-tenue);
    border-left: 3px solid var(--blanco);
    border-bottom: 0;
    
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    height: 450px;
    width: 80%;
  }

  .contenedor-texto-hero p {
    width: 500px;
  }

  .servicios {
    width: 95%;
    margin: 40px auto 0 auto;
  }

  .servicios h2 {
    width: 40%;
  }

  .servicios .cards {
    display: flex;
    width: 100%;
    flex-direction: row;
    height: 400px;
    overflow: hidden;
  }

  .servicios .cards .card {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
    padding: 0;
  }

  .servicios .cards .card svg {
    width: 4rem;
    height: 4rem;
    margin: 10px;
    padding: 0;
  }

  .servicios .cards .card h3 {
    width: 95%;
    line-height: 2rem;
    margin-left: 10px;
    font-size: 30px;
  }

  .servicios .cards .card p {
    width: 95%;
    margin-left: 10px;
    overflow: hidden;
  }

  .servicios .cards .card .btn-servicios {
    text-align: center;
    width: 50%;
    margin: 0 auto 10px auto;
  }

  .servicios .cards .card .btn-servicios:hover {
    background-color: var(--textClaro);
    border: 3px solid var(--primary);
  }

  .consultoria {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
  }

  .consultoria p,
  .consultoria h2,
  .tours h2,
  .tours p {
    width: 70%;
    margin: 50px auto;
  }

  .consultoria .btn {
    width: 30%;
    text-align: center;
  }

  .tours .iconos {
    width: 73%;
  }

  .tours .ul-tours {
    width: 70%;
    height: auto;
    margin: auto;
  }

  .tours .btn {
    margin: 50px auto;
  }

  .tours .promociones h3 {
    width: 60%;
  }

  .tours .promociones p:nth-child(2) {
    margin: 2.5rem auto .5rem auto;
  }

  .tours .promociones p:nth-child(3) {
    margin: 0 auto 2.5rem auto;
  }

  .promociones-grid {
    gap: 15px;
    display: flex;
    flex-direction: column;
    padding: 0 0 2.5 0; 
  }
  

  .promociones-grid h4 {
    width: 95%;
    text-align: center;
    font-size: 1.5rem;
    margin: auto;
  }

  .promociones .promo-card {
    flex-basis: auto;
    width: 100%;
    height: auto;
    border: 4px solid var(--textClaro);
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
  }

  .promo-card .carrusel-destinos {
    overflow-x: scroll !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .promo-card .carrusel-destinos li {
    scroll-snap-align: start;
  }

  .egipto img:nth-child(1) {
    width: 66%;
    z-index: 2;
    top: 225px;
    left: -40px;
    /*esfinge*/
  }

  .egipto img:nth-child(2) {
    width: 60%;
    z-index: 1;
    top: 100px;
    left: -19px;
    /*estructuras*/
  }

  .egipto img:nth-child(3) {
    width: 85%;
    height: auto;
    top: -65px;
    left: -10px;
    /*piramide*/
  }

  .egipto img:nth-child(4) {
    width: 70%;
    height: auto;
    top: 140px;
    left: 17%;
    /*polux*/
  }

  .egipto img:nth-child(5) {
    width: 49%;
    right: -10px;
    /*coliseo*/
  }

  .egipto img:nth-child(6) {
    width: 60%;
    right: 0;
    top: 144px;
    /*cupula*/
  }

  .egipto img:nth-child(7) {
    top: 225px;
    right: -40px;
    /*Acropolis*/
  }

  .stickers-container.asia img:nth-child(1) {
    width: 65%;
    height: 400px;
    z-index: 3;
    top: -10px;
    right: -40px;
    /*pagoda y monte fuji*/
  }

  .promociones-grid .promo-card .stickers-container {
    width: 35%;
    height: 400px;
    margin: 0;
  }

  .promociones-grid .promo-card p,
  .promociones-grid .promo-card ul {
    width: 100%;
    overflow: hidden;
    height: auto;
    line-height: 20px;
    padding-left: 17px;
    font-size: 13px;
  }

  .promociones-grid .promo-card p {
    width: 100%;
    line-height: 50px;
    font-size: 10px;
    box-shadow: 1px 1px 1px hsla(0, 0%, 0%, 0.3);
  }

  .texto-promo-card {
    width: 30%;
    height: 400px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    text-align: left;
  }

  
  .promo-card .texto-promo-card ul {
    margin: 0 auto 0 auto;
    padding: 0;
    width: 95%;
    padding: 0 0 0 15px;
  }

  .promo-card .texto-promo-card p {
    height: auto;
    overflow: hidden;
    padding: 5px;
    font-size: 16px;
    margin: 0;
    width: 100%;
  }

  .promo-card .tercero {
    width: 95%;
    height: 300px;
    padding: 0;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
  }

  .texto-promo-card.cuarto {
    width: 95%;
    border-radius: 10px;
  }

  .texto-promo-card.cuarto p {
    font-size: 14px;
    height: auto;
    line-height: 23px;
    padding: 10px;
    width: 100%;
    margin-top: 0!important;
    margin-bottom: 0!important;
  }

  .texto-promo-card.cuarto.asia {
    padding: 10px 0 15px 0;
    height: auto;
  }

  .texto-promo-card.cuarto.asia p {
    margin: 10px;
  }

  .texto-promo-card.cuarto p:nth-of-type(1) {
    font-size: 14px;
    height: auto;
    line-height: 23px;
    display: flex;
    align-items: center;
  }

  .promo-card .btn {
    text-align: center;
  }

  .promo-card .btn:hover {
    background: var(--primary);
  }

  .destinos {
    height: 400px;
    overflow: hidden;
  }

  .galeria .btn {
    width: 200px;
    text-align: center;
  }

  .galeria .btn:hover {
    background: var(--primary-tenue);
    border: 2px solid var(--primary);
  }

  .destinos .paises {
    height: 100%;
  }

  .sobre p {
    max-width: 60%;
    margin: auto;
    text-align: justify;
  }

  .sobre .conjunto {
    width: 24%;
    border: 5px dotted var(--textClaro);
    margin: 45px auto;
    justify-content: center;
  }

  .sobre .conjunto p {
    text-align: center;
    line-height: 17px;
  }

  .contacto {
    width: 30%;
  }
}

/*Termina la ptimer parte de media*/
