@font-face {
  font-family: 'Font Awesome 6 Brands';
  src: url('webfonts/fa-brands-400.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Font Awesome 6 Solid';
  src: url('webfonts/fa-solid-900.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


:root {
  /* Colores principales */
  --color-primary-burgundy: #5d1404;     /* Rojo Borgoña Oscuro */
  --color-secondary-terracotta: #C8552B; /* Terracota Suave */
  --color-background-sky: #90eaff;  
  --color-bg-secondary: #151429;
  --color-bg-card: #1e1d33;  
  --color-text-secondary: #cfcfcf;
  --color-accent-turquoise: #1A8D92;
  --color-accent-turquoise-dark: #33c6cb;     /* Turquesa Oscuro */
  --color-neutral-cream: #f5f5f5;        /* Crema Pálido */
  --color-deep-grayblue: #2F586A;         /* 2F586A*/
  --color-highlight-gold: #f5b942;       /* Dorado Intenso */
  --night: #0d0c1a;
  --bg: #90eaff;
  --text: var(--color-primary-burgundy);

  --title-top-mobile: 160px;    /* Posición inicial en móvil */
  --title-top-desktop: 160px;   /* Posición en desktop */
  --subtitle-spacing: 145px;    /* Espacio entre título y subtítulo */
}

.dark-mode{
  --bg: var(--night);
  --color-accent-turquoise: var(--color-accent-turquoise-dark);
}




/*//////////////////////////////////////////////////////////////////*/
/* GENERAL */
/*//////////////////////////////////////////////////////////////////*/


*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    scroll-behavior: smooth;
}

html
{
  overflow-x: hidden;
}

body
{
    font-family: sans-serif;
    font-display: swap;
    background: var(--bg);
}

/* NAVBAR */
.marquee3k p {
  will-change: transform;
}

.promo-bar {
  background-color: var(--color-highlight-gold);
  color: var(--black);
  font-size: 0.8rem;
  font-weight: bold;
  padding: 4px 0;
  white-space: nowrap;
  z-index: 1001;
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 25px;
}

.promo-bar p {
  padding-right: 65px; 
}


/* NAVBAR BASE */
.navbar {
  border: none;
  position: fixed;
  top: 25px;
  width: 100%;
  background: transparent;
  transition: background-color 0.5s ease, box-shadow 0.4s ease;
  z-index: 1000;
  
}

.dark-mode .nav-links a{
  color: var(--color-neutral-cream);
}

.navbar.scrolled {
  background-color: var(--color-neutral-cream); 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02); 
}

.dark-mode .navbar.scrolled{
  background-color: #0d0c1a;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-secondary-terracotta);
}

.icon-button {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--color-primary-burgundy);
  cursor: pointer;
}

.dark-mode .icon-button{
  color: var(--color-neutral-cream);
}

.icon-button#themeToggle {
  margin-left: 0.5rem;
}


.logo-dark {
  display: none;
}

.dark-mode .logo-light {
  display: none;
}

.dark-mode .logo-dark {
  display: inline;
}


/* BOTÓN HAMBURGUESA */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-primary-burgundy);
  cursor: pointer;
  margin-left: auto;
}

.dark-mode .hamburger{
  color: var(--color-neutral-cream);
}

.icon-bars,
.icon-close {
  font-size: 1.8rem;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.icon-close {
  display: none !important;
  transform: rotate(0deg);
}

.hamburger.open .icon-bars {
  display: none !important;
}

.hamburger.open .icon-close {
  display: inline !important;
  transform: rotate(180deg) !important;
}

/* PARALLAX */ 
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  top: 0;
  left: 0;
}

.dark-mode .parallax-home { 
  background: linear-gradient(
    to bottom,
    rgba(6, 2, 18, 0.7) 0%,     /* púrpura oscuro */
    rgba(10, 13, 25, 0.539) 25%,   /* azul casi negro */
    rgba(10, 10, 20, 0.3) 45%,   /* más transparente */
    rgba(0, 0, 0, 0) 55%         /* completamente transparente */
  );
}

.parallax-home {
      background: linear-gradient(
      to bottom,
      rgba(106, 13, 173, 0.39) 0%,     /* morado más translúcido */
      rgba(40, 78, 178, 0.19) 20%,     /* azul oscuro más translúcido */
      rgba(40, 78, 178, 0.04) 35%,     /* casi transparente */
      rgba(0, 0, 0, 0) 40%             /* completamente transparente */
    );
    position: relative; /* referencia para hijos absolutos */
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden; /* corta cualquier desborde visual */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.parallax-home img {
    position: absolute;
    z-index: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    pointer-events: none;
    aspect-ratio: 1920 / 1080;
    object-fit: cover;
}

.blend {
    mix-blend-mode: multiply;
    z-index: 10;
}

.dark-mode img.build {
  mix-blend-mode: screen;
  opacity: 0.05;  
  filter: brightness(1.1) contrast(1.1);
}

.dark-mode #Left_light {
  mix-blend-mode: lighten;
  opacity: 0.5;  
}

.dark-mode #Right_light {
  mix-blend-mode: lighten;
  opacity: 0.5;  
}

.title {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
  position: absolute;
  top: var(--title-top-desktop);
  right: 5%;
  font-size: 8rem !important;
  color: var(--text);
  text-align: right;
  white-space: nowrap;
  
}

.subtitle-container {
  position: absolute;
  top: calc(var(--title-top-desktop) + var(--subtitle-spacing));
  right: 5%;
  text-align: right;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 1rem;
  max-width: 400px;
}

.dark-mode .title{
  color: var(--color-neutral-cream);
}

.dark-mode .subtitle{
  color: var(--color-neutral-cream);
}

@media (max-width: 768px) {
  .parallax-home{
    height: 95vh !important;
  }
  .title {
      position: absolute;
      top: var(--title-top-mobile);
      right: auto;
      white-space: normal;
      
      left: 0;
      right: 0;
      margin: 0 auto;
      text-align: center;
      max-width: 100%; /* Previene desbordamiento */
      padding: 0 5%; /* Espacio interno para que no choque con los bordes */
      
      /* Ajuste de tamaño si es necesario */
      font-size: clamp(5.5rem, 16vw, 8rem) !important;
      line-height: 0.8; /* Mejor legibilidad en múltiples líneas */
    }

  .subtitle-container {
    position: absolute;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 85%;
    top: calc(var(--title-top-mobile) + var(--subtitle-spacing));
  }

  .subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .info-button {
    margin: 0 auto; /* Centrar el botón */
    display: block;
    width: fit-content;
  }
}

.info-button {
  display: inline-block;
  background-color: var(--color-primary-burgundy);
  color: var(--color-neutral-cream);
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.dark-mode .info-button{
  background-color: var(--color-neutral-cream);
  color: var(--night);
}

.info-button:hover 
{
  background-color: var(--color-secondary-terracotta); 
}

/* FORM */
.section-form-purple {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 7.5rem 2rem;
  overflow: hidden;
}

/* Imagen de fondo */
.bg-bottom {
    position: absolute;
    z-index: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    pointer-events: none;
}

/* Imagen decorativa encima */
.bg-top {
    position: absolute;
    z-index: 2;
    bottom: 0;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.dark-mode .section-form-purple{
  background: var(--color-bg-secondary);
  color: var(--color-neutral-cream);
}

.form-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.98); /* Transparencia */
  border-radius: 12px;
  backdrop-filter: blur(1px); /* Difuminado detrás */
  -webkit-backdrop-filter: blur(16px); /* Soporte Safari */
  border: 1px solid rgba(255, 255, 255, 0.2); /* Borde sutil */
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 960px;
  width: 100%;
  min-height: 450px;
  position: relative;
  z-index: 1;
}

.dark-mode .form-card{
  background: rgba(30, 30, 51, 0.99);
  border: 1px solid rgba(13, 12, 26, 0.2);
}

.form-map {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.form-fields {
  padding: 2.5rem;
}

.form-fields h3 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.form-fields form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-fields input,
.form-fields textarea,
.form-fields select {
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  background-color: #f9f9f9;
}

.dark-mode .form-fields input{
  background: rgba(179, 179, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .form-fields textarea{
  background: rgba(179, 179, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .form-fields select{
  background: rgba(179, 179, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .form-fields .phone-input{
  background: rgba(179, 179, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-fields .phone-input {
  display: flex;
  gap: 0.5rem;
}

.checkbox {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.checkbox input {
  margin-right: 0.5rem;
}

.form-fields button {
  background-color: var(--color-primary-burgundy);
  color: var(--color-neutral-cream);
  border: none;
  padding: 0.9rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dark-mode .form-fields button {
  background: rgba(179, 179, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .form-fields button:hover {
  background: rgba(179, 179, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-fields button:hover {
  background-color: var(--color-secondary-terracotta);
}

.phone-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
}

.custom-select-wrapper {
  position: relative;
  min-width: 100px;
  max-width: 110px;
  font-family: inherit;
  flex-shrink: 0;
}

.custom-select-trigger {
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.dark-mode ::placeholder{
  color: var(--color-text-secondary);
}

.dark-mode .custom-select-trigger{
  background: rgba(179, 179, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-select-trigger .code {
  margin-left: 4px;
}

.custom-select-trigger i {
  font-size: 0.7rem;
  color: #666;
}

.dark-mode .custom-select-trigger i{
  color: var(--color-text-secondary);
}

#telefono {
  flex-grow: 1;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 1rem;
}

.custom-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  border: 1px solid #ccc;
  border-top: none;
  background: var(--color-neutral-cream);
  border-radius: 0 0 8px 8px;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.dark-mode .custom-options{
  background: rgba(39, 39, 66, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #c0c0c0;
}

.custom-option {
  padding: 0.7rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.custom-option:hover {
  background-color: #f0f0f0;
}

.dark-mode .custom-option:hover {
  background: rgba(58, 58, 97, 0.95);
}

.custom-select-wrapper.open .custom-options {
  display: block;
}

textarea {
  color: var(--night);
  resize: none;
  height: 100px;
}

input {
  color: var(--night);
}
.dark-mode input{
  color: var(--color-neutral-cream);
}

.dark-mode textarea {
  color: var(--color-neutral-cream);
}

.footer-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 0.5rem;
}


/* SOCIAL BAR */
.social-bar {
  position: fixed;
  top: 60%;
  right: 0;
  transform: translateY(-50%);
  padding: 4px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  box-shadow: -2px 0 8px rgba(12, 11, 22, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center; 
  gap: 3px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); 
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}

.social-bar.scrolled
{
  backdrop-filter: blur(5px);
   background: rgba(255, 255, 255, 0.9);
}

.dark-mode .social-bar{
  background: rgba(255, 255, 255, 0.8) !important; 
}




.social-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.5rem;
  width: 35px; 
  height: 45px;
  transition: transform 0.3s ease;
}

.social-bar a:hover {
  transform: scale(1.2);
}

.social-bar a:nth-child(3) i { color: #1877F2; } /* Facebook */
.social-bar a:nth-child(2) i { color: #E1306C; } /* Instagram */
.social-bar a:nth-child(1) i { color: #25D366; } /* WhatsApp */
.social-bar a:nth-child(4) i { color: #000000; } /* TikTok */

/* UNIVERSITY MARQUEE */
.university-marquee {
  padding: 2rem 0.1rem;
  background: var(--color-neutral-cream);
  text-align: center;
  position: relative;
}

.dark-mode .university-marquee { 
  background-color: var(--color-bg-secondary);
}

.university-marquee h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--night);
}

.dark-mode .university-marquee h2{
  color: var(--color-neutral-cream);
}

.university-marquee h2 strong {
  color: var(--color-accent-turquoise);
}

.logos-row {
  overflow: hidden;
  white-space: nowrap;
  padding: 1rem 0;
  margin-bottom: 1rem;
}

.logo-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  
}

.logo-track img {
  padding-right: 50px;
  height: 70px;
  object-fit: contain;
  filter: grayscale(10%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.dark-mode .img-negative{
  filter: brightness(0) invert(1) !important;
}

.logo-track img:hover {
  transform: scale(1.1);
  filter: grayscale(0);
}


/* ABOUT */
.about-section {
  position: relative;
  padding: 2rem;
  color: var(--color-neutral-cream);
  display: flex;
  min-height: 500px;
  overflow: hidden;
  justify-items: center;
}

.about-bg {
  position: absolute;
  inset: 0;
  z-index: -5;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  aspect-ratio: 1920 / 1080; /* optimización responsive */
}

.about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(37, 69, 82, 0.564); /* Ejemplo: azul con transparencia */
  z-index: -1; /* Encima del video, pero detrás del texto */
}

.dark-mode .about-overlay {
  background-color: rgba(13, 12, 26, 0.65);
}

/* Contenido sobre el video */
.about-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
  gap: 3rem;
  flex-wrap: wrap;
  text-shadow: 0 0 10px rgba(0, 3, 7, 0.4); /* mejora legibilidad */
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-neutral-cream);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Imagen (si decides tener una) */
.about-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Estadísticas */
.stats-container {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.stat-box {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-neutral-cream);
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: var(--color-neutral-cream);
}

.plus-sign {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-neutral-cream);
  margin-left: 4px;
}


/* DESTINOS */
.destinos {
  position: relative;
  padding: 2rem;
  background-color: var(--color-neutral-cream);
}

.dark-mode .destinos{
  background-color: var(--color-bg-secondary);
  color: var(--color-neutral-cream);
}

.destinos-header {
  text-align: center;
  margin-bottom: 3rem;
}

.destinos-header p{
  color: var(--night);
}

.destinos-header h2{
  font-size: 1.5rem;
  color: var(--night);
}

.dark-mode .destinos-header h2{
  color: var(--color-neutral-cream);
}

.dark-mode .destinos-header p{
  color: var(--color-neutral-cream);
}

.destinos-header h2 strong {
  color: var(--color-accent-turquoise);
}
.grid-destinos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
}
.card-destino {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--color-neutral-cream);
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.card-destino:hover {
  transform: scale(1.02);
  box-shadow: 0 0 10px rgba(255, 8, 8, 0.1);
}
.card-destino .overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 1rem;
  width: 100%;
}
.card-destino.big {
  grid-row: span 2;
  grid-column: span 2;
}
.card-destino.big-b {
  grid-row: span 1;
  grid-column: span 2;
}
.card-destino.medium {
  grid-row: span 2;
  grid-column: span 1;
}
.card-destino.small {
  grid-row: span 1;
  grid-column: span 1;
}

/* COUNTDOWN */

.countdown-mini {
  position: relative;
  background: #196161;
  color: #ffffff;
  height: 160px;
  text-align: center;
  display: flex;
  flex-direction: column;    /* apilar verticalmente */
  justify-content: center;   /* centrar vertical */
  align-items: center;   
}

.countdown-title {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  font-weight: 500;
}

.countdown-mini__container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  margin-bottom: 0.7rem;
}

.countdown-mini__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.1rem;
  font-weight: bold;
  min-width: 40px;
}

.countdown-mini__box small {
  font-size: 0.7rem;
  color: var(--white);
  margin-top: 0.2rem;
}

.dot {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffffaa;
}

.countdown-fixed-link {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--color-background-sky);
  text-decoration: underline;
  font-weight: 500; /* Asegura separación del contador */
}
.countdown-mini__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown-fixed-link span {
  font-weight: 600;
}


/* CARDS */
.cards-offer {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #eaeaea;
  padding: 2rem;
  position: relative;
}

.dark-mode .cards-offer{
  background-color: var(--night);
}

.container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.card {
  position: relative;
  width: 100%;           
  max-width: 220px;        
  height: 200px;
  overflow: hidden;
  background: var(--color-neutral-cream);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1 1 100%;
  border-radius: 25px;       
}

.dark-mode .card{
  box-shadow: 0 0px 15px rgba(255, 255, 255, 0.03);
  background-color: var(--color-bg-card);
}

.face {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}


.face1 {
  background: var(--color-deep-grayblue) !important;
  color: var(--color-neutral-cream);
  flex-direction: column;
  z-index: 2;
}

.dark-mode .face1{
  background: var(--color-bg-secondary) !important;
}

.dark-mode .face2{
  color: var(--color-text-secondary) !important;
}


.face2 {
  color: #333;
  transform: translateY(100%);
  opacity: 0;
  z-index: 1;
  
}

.face1 i {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.face1 h3 {
  font-size: 1.3rem;
  margin: 0;
}

.card:hover .face1 {
  transform: translateY(-100%);
}

.card:hover .face2 {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.footer {
  background-color: var(--color-deep-grayblue);
  color: var(--color-neutral-cream);
  padding: 2.2rem 2rem 1rem;
  font-family: sans-serif;
  position: relative;
}

.dark-mode .footer {
  background-color: var(--night);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column
{
  width: 200px;
}
.footer-column h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.dark-mode .footer-column a{
  color: var(--color-text-secondary);
}

.dark-mode .footer-column p{
  color: var(--color-text-secondary);
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  border-bottom: 2px solid var(--color-background-sky);
  display: inline-block;
  padding-bottom: 0.2rem;
}

.dark-mode .footer-column h4{
  border-bottom: 2px solid var(--color-background-sky);
}

.footer-column p,
.footer-column li {
  font-size: 0.95rem;
  margin: 0.4rem 0;
  line-height: 1.5; /* aumenta el espacio vertical entre líneas */
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column a {
  
  line-height: normal;
  color: var(--color-neutral-cream);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: var(--color-background-sky);
}

.social-icons {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--color-neutral-cream);
  transition: background 0.3s, color 0.3s;
  font-size: 1rem;
}

.social-icons a:hover {
  background: var(--color-background-sky);
  color: var(--color-deep-grayblue);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #fff;
}



/* MEDIA QUERYS */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text);
    cursor: pointer;
    margin-left: auto;
    z-index: 2000;
  }

  .dark-mode .hamburger{
    color: var(--color-neutral-cream);
  }

  .navbar-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  #navbarMenu {
    position: absolute;
    top: 100%; /* justo debajo de la navbar */
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem 0;

    background-color: rgba(var(--bg-rgb, 255, 255, 255), 0.9); /* semitransparente */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);

    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.4s ease;
  }

  .dark-mode #navbarMenu{
    background-color: rgba(var(--bg-rgb, 13, 12, 26), 0.9);
  }

  #navbarMenu.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .navbar.open {
    background-color: rgba(var(--bg-rgb, 255, 255, 255), 0.9);
    transition: background-color 0.3s ease;
  }

  .dark-mode .navbar.open{
    background-color: rgba(var(--bg-rgb, 13, 12, 26), 0.9);
  }

  .navbar.open .nav-links a,
  .navbar.open .icon-button {
    color: var(--color-primary-burgundy);
  }

  .dark-mode .navbar.open .nav-links a{
    color: var(--color-neutral-cream);
  }

  .dark-mode .navbar.open .icon-button{
    color: var(--color-neutral-cream);
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0;
    margin: 0;
  }

  .navbar-right {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1.5rem;
  }

  /* FORM */
  .form-card {
    grid-template-columns: 1fr;
  }
  
  .form-map {
    height: 300px;
    margin-top: 1.5rem;
  }

  .form-card {
    grid-template-columns: 1fr;
  }

  .form-info,
  .form-fields {
    padding: 2rem;
  }

  .custom-select-wrapper {
    width: 20%;
    max-width: 100%;
  }
  #telefono {
    width: 10%;
    max-width: 100%;
  }

  /* DESTINOS */
  .card-destino.big,
  .card-destino.medium,
  .card-destino.small,
  .card-destino.big-b {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .only-desk{
    display: none !important;
  }

}

@media (max-width: 600px) {
  .card {
    max-width: 100%;
  }
}




/* Animaciones */

[data-animate] {
  opacity: 0;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

[data-animate].animate__animated {
  opacity: 1;
}

/* Efectos de hover optimizados */
a, button {
  transition: color var(--transition), background-color var(--transition), transform var(--transition);
}

/* Mejoras de rendimiento */
.will-change {
  will-change: transform, opacity;
}


/* Mejora de contraste para accesibilidad */
a {
  color: inherit;
  text-decoration: none;
}

/* Focus styles para accesibilidad */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--light);
  outline-offset: 2px;
}

.banner, .popup {
  min-height: 100px; /* espacio fijo para evitar empuje */
}