/* RESET */
.service-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-link:visited,
.service-link:hover,
.service-link:active {
  color: inherit;
  text-decoration: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px; /* ALTURA FIJA */
  z-index: 1000;
  background: rgba(0,0,0,0.85);
}

body {
  padding-top: 90px;
}

html {
  scroll-padding-top: 90px;
}
/* En la portada, la sección de tarjetas crece según su contenido.
   La altura de pantalla completa provocaba un espacio vacío muy grande
   entre los servicios y la siguiente sección. */
@supports (height: 100svh) {
  .destinos-wrapper {
    min-height: 100svh;
  }
}
.nav-container{
  height: 100%;
}

.header.scrolled {
  background: rgba(0,0,0,0.85);
}

/* NAV CONTAINER */
.nav-container {
  width: 100%;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo-img {
  height: 80px;
}

/* NAV DESKTOP */
.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #03ac99;
  transition: 0.3s;
}

.nav a:hover {
  color: #03ac99;
}

.nav a:hover::after {
  width: 100%;
}

/* BOTÓN HAMBURGUESA */
.menu-toggle {
  display: none;
  width: 36px;
  height: 26px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 3000;
}

.menu-toggle span {
  width: 100%;
  height: 4px;
  background: #03ac99;
  border-radius: 4px;
  transition: 0.35s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* HERO */
.hero {
  height: 100vh;
  background: url("../imagenes/fondo.webp") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-top: 140px;
  color: #fff;
  
}

/* BOTÓN CTA */
.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 16px 38px;
  background: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s ease;
}

.btn:hover {
  background: #03ac99;
  color: #fff;
}

/* OCULTAR EXTRAS EN DESKTOP */
.nav-mobile-extra {
  display: none;
}



/* BOTÓN WHATSAPP CORREGIDO */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* ================= STORY SECTION ================= */
.story-section {
  margin-top: -40px; /* 🔥 acerca las secciones */
  position: relative;
  min-height: 100vh;
  background: url("../imagenes/storyseccion.webp") center / cover no-repeat; /* 🔁 imagen editable */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 20px;
  overflow: hidden;
}

/* Overlay oscuro */
.story-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

/* CONTENEDOR TURQUESA */
.story-content {
  position: relative;
  z-index: 1;

  max-width: 1100px;            /* 🔥 MÁS ANCHA */
  width: 100%;

  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);

  padding: 70px 70px;           /* 🔥 MÁS AIRE */
  border-radius: 50px;

  text-align: center;
  color: #fff;
}

/* TÍTULO */
.story-content h2 {
  font-size: 3.2rem;            /* 🔥 MÁS GRANDE */
  font-weight: 700;
  margin-bottom: 35px;
  line-height: 1.2;
}

/* TEXTO STORYTELLING */
.story-content p {
  font-size: 1.3rem;            /* 🔥 TEXTO GRANDE */
  line-height: 1.8;
  font-weight: 400;
}

/* LÍNEAS ANIMADAS */
.story-line {
  opacity: 0;
  transform: translateY(35px);
}

/* ACTIVACIÓN ON SCROLL */
.story-section.active .story-line {
  animation: storyIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.story-section.active .story-line:nth-child(1) { animation-delay: 0.1s; }
.story-section.active .story-line:nth-child(2) { animation-delay: 0.3s; }
.story-section.active .story-line:nth-child(3) { animation-delay: 0.5s; }
.story-section.active .story-line:nth-child(4) { animation-delay: 0.7s; }


/* ANIMACIÓN */
@keyframes storyIn {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .story-section {
    min-height: auto;            /* 🔑 evita huecos gigantes */
    padding: 70px 16px 80px;     /* 🔑 reduce separación entre secciones */
    background-position: center top; /* 🔑 permite cortar imagen */
  }

  .story-content {
    padding: 38px 26px;          /* más compacto */
    border-radius: 28px;
    max-width: 100%;
  }

  .story-content h2 {
    font-size: 1.8rem;
    margin-bottom: 18px;
  }

  .story-content p {
    font-size: 1.05rem;
    line-height: 1.65;
  }
}
/* =============================
   SECCIÓN IMAGEN + TEXTO
============================= */

.split-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 120px 8%;
  background: #ffffff;
}

/* IMAGEN */
.split-image {
  flex: 1;
}

.split-image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* TEXTO */
.split-content {
  flex: 1;
  max-width: 520px;
}

.split-content h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #1d1d1d;
  margin-bottom: 20px;
}

.split-content p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 35px;
}

/* BOTÓN */
.btn-primary {
  display: inline-block;
  padding: 16px 42px;
  background: #03ac99;
  color: #ffffff;
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #02806f;
  transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .split-section {
    flex-direction: column;
    text-align: center;
    padding: 80px 20px;
  }

  .split-content {
    max-width: 100%;
  }

  .split-content h2 {
    font-size: 2.2rem;
  }

  .split-content p {
    font-size: 1.05rem;
  }
}
/* ============================
   EFECTO APARICIÓN AL SCROLL
============================ */

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* BOTÓN HAMBURGUESA */
.menu-toggle {
  display: none;
  width: 36px;
  height: 26px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 3000;
}

.menu-toggle span {
  width: 100%;
  height: 4px;
  background: #03ac99;
  border-radius: 4px;
  transition: 0.35s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}


/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  /* MENU MOBILE – SIN PARPADEO */
  .nav {
    position: fixed;
    inset: 0;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;

    opacity: 0;
    pointer-events: none;

    /* ❌ SIN TRANSICIÓN AQUÍ */
    transition: none;
  }

  /* ✅ TRANSICIÓN SOLO CUANDO SE ACTIVA */
  .nav.active {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.35s ease;
  }

  /* LINKS MOBILE */
  .nav a {
    font-size: 2rem;
    font-weight: bold;
    color: #03ac99;
    letter-spacing: 1px;
    text-decoration: none;

    opacity: 0;
    transform: translateY(20px);

    /* ✨ SOMBRA EN TEXTO */
    text-shadow:
      
      0 8px 18px rgba(0,0,0,0.25);
  }

  .nav.active a {
    animation: itemIn 0.5s ease forwards;
  }

  .nav.active a:nth-child(1) { animation-delay: 0.1s; }
  .nav.active a:nth-child(2) { animation-delay: 0.2s; }
  .nav.active a:nth-child(3) { animation-delay: 0.3s; }
  .nav.active a:nth-child(4) { animation-delay: 0.4s; }
  .nav.active a:nth-child(5) { animation-delay: 0.5s; }
  .nav.active a:nth-child(6) { animation-delay: 0.6s; }


  /* EXTRAS MOBILE */
  .nav-mobile-extra {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 30px;

    opacity: 0;
    transform: translateY(20px);
  }

 .nav.active .nav-mobile-extra {
  animation: itemIn 0.5s ease forwards;
  animation-delay: 0.6s;
}

  .nav-social {
    display: flex;
    gap: 25px;
  }

  .nav-social img {
    width: 32px;
    height: 32px;
  }
}




/* ANIMACIÓN */
@keyframes itemIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }

}

/* ================= SERVICIOS ================= */

.services-section {
  padding: 20px 6% 40px; /* menos espacio abajo */
  background: #f7f7f7;
  text-align: center;
}

.services-title {
  font-size: 2.6rem;
  margin-bottom: 40px; /* reducido para que no quede tan separado */
  color: #1e1e1e;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* TARJETA */
.service-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.2);
}

/* IMAGEN */
.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* TEXTO */
.service-card h3 {
  padding: 20px;
  font-size: 1.30rem;
  font-weight: 600;
  color: #222;
  text-align: center;
  text-justify: inter-word;
}
.service-card2 h3 {
  padding: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #222;
  text-align: center;
  text-justify: inter-word;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* BOTÓN *//* ================= FOOTER ESTILO MODERNO ================= */

.footer-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 80px 6%;
  background: #ffffff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
  
}



/* TARJETAS */
.footer-card {
  background: #037e6f8a;
  padding: 30px;
  border-radius: 16px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* LÍNEA DECORATIVA */
.footer-card::before {
  content:"";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #04c8b7, #ffffff);
}

/* HOVER */
.footer-card:hover {
  transform: translateY(-8px);
  background: #02574e84;
}

/* TÍTULOS */
.footer-card h3,
.footer-card h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

/* TEXTO */
.footer-card p,
.footer-card a {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

/* HOVER LINKS */
.footer-card a:hover {
  color: #38bdf8;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-wrapper {
    grid-template-columns: 1fr;
  }
}
/* ================= FOOTER BOTTOM ================= */

.footer-bottom {
  width: 100%;
  margin: 0;
  padding: 20px 0;
  background: #000;
  text-align: center;
}



/* Texto del footer */
.footer-bottom p {
  margin: 0;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 600px) {
  .footer-bottom {
    font-size: 0.85rem;
    padding-top: 20px;
  }
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cfcfcf;
  text-decoration: none;
}

.footer-link img {
  width: 60px;
  height: auto;
  object-fit: contain;
}
/* ===== ANIMACIÓN FOOTER AL SCROLL ===== */
.footer-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.footer-card.show {
  opacity: 1;
  transform: translateY(0);
}
.footer-constancia {
  text-align: center;
  margin-top: 40px;
}

.constancia-img {
  max-width: 220px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.constancia-img:hover {
  transform: scale(1.05);
}

.footer-bottom {
  width: 100%;
  background-color: #000;
  color: #ffffff;
  text-align: center;
  padding: 18px 12px;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 5;
   position: relative;
  bottom: 0;
  margin: 0;
}
.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 16px 38px;
  background: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s ease;
}

.btn:hover {
  background: #03ac99;
  color: #fff;
}


/* ===== CONOCENOS ===== */

.gallery-section {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin: 80px auto;
  flex-wrap: wrap;
}

/* CADA IMAGEN */
.gallery-item {
  width: 320px;
  overflow: hidden;
  border-radius: 18px;
  transition: transform 0.4s ease;
}

/* IMAGEN */
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
  cursor: pointer;
}

/* EFECTO HOVER */
.gallery-item:hover img {
  transform: scale(1.08);
}

/* ANIMACIÓN ENTRADA */
.gallery-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.gallery-item.show {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .gallery-section {
    flex-direction: column;
  }

  .gallery-item {
    width: 90%;
  }
}
/* CONTENEDOR GENERAL */
.section-conocenos {
  width: 100%;
  padding: 40px 40px;
  background-color: #f9f9f9;
  overflow: hidden;
}

/* CAJA PRINCIPAL */
.conocenos-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 50px;
  background: #ffffff;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

/* ANIMACIÓN ACTIVA */
.conocenos-container.show {
  opacity: 1;
  transform: translateY(0);
}

/* IMAGEN */
.conocenos-img img {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  object-fit: cover;
}

/* TEXTO */
.conocenos-text {
  flex: 1;
}

.conocenos-text h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #111;
}

.conocenos-text p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 25px;
  text-align: justify;
  text-justify: inter-word;
}

/* BOTÓN */
.btn-conocenos {
  display: inline-block;
  padding: 14px 34px;
  background-color: #00b3a4;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-conocenos:hover {
  background-color: #009688;
  transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .conocenos-container {
    flex-direction: column;
    text-align: center;
    padding: 35px 25px;
  }

  .conocenos-img img {
    max-width: 100%;
  }
}
.services-preti {
 
  font-size: 1.5rem;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 25px;
  
}
/* ================= SERVICIOS ================= */

.services-section2 {
  padding: 20px 6% 40px; /* menos espacio abajo */
  background: #f7f7f7;
  text-align: center;
}

.services-title {
  font-size: 2.6rem;
  margin-bottom: 40px; /* reducido para que no quede tan separado */
  color: #1e1e1e;
}

/* GRID */
.services-grid2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .services-grid2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid2 {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 600px) {
  .services-grid2 {
    grid-template-columns: 1fr;
  }
}

