/* Definición de la Paleta de Colores */
:root {
    --cornell-red: #B91A1A;
    --principal-gray: #7B808E;
    --white: #FFFFFF;
    /*--eerie-black: #1D1D1B;*/
    --eerie-black: #1D1D1B;
    --dark-primary: #2c3e50;  /* Reemplazo de midnight-green */
    --bglight: #e4e4e4;
    --slate-gray: #B2B2B2;
    --light-alt: #f5f5f5;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* Para el resto del texto */




    /* Sombras sutiles para elegancia */
    --shadow-light: 0 2px 8px rgba(0,0,0,0.07);
    --shadow-medium: 0 4px 12px rgba(0,0,0,0.1);
}
@font-face {
    font-family: 'SF Pro Heavy Italic';
    src: url('../Fonts/sf-pro-display-heavy-italic.otf')  format('opentype'); /* Cambia la URL a la ubicación real de tu fuente */
    font-weight: 800;
    font-style: italic;
  }

/* Reseteo básico y fuentes */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7; /* Mayor espaciado para legibilidad */
    scroll-behavior: smooth;
    background-color: var(--white);
    color: var(--eerie-black);
    
}

.container {
    width: 90%; /* Más ancho para un look moderno */
    max-width: 1100px; /* Límite para pantallas grandes */
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Barra de Navegación --- */
#navbar {
    background: var(--principal-gray);
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#navbar .logo {
    color: var(--white);
    text-decoration: none;
    font-size: 1.8rem; /* Un poco más grande */
    font-weight: bold;
    letter-spacing: -1px; /* Ajuste sutil */
}

.logo{
    font-family: 'SF Pro Heavy Italic', sans-serif !important; /* Cambiar a la fuente personalizada */
    width: 30%; /* Tamaño del logo */
    vertical-align: middle;
    height: auto;

    margin-right: 10px; /* Espacio entre logo y texto */
}
.logo-img{

    width: 10%;
    vertical-align: middle;
    height: auto
}

h2{
    text-shadow: 2px 2px 6px rgba(0,0,0,0.12);
}

#nav-links { /* Cambiado ID de ul */
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    font-weight: 900 !important; 
}

#nav-links li {
    margin-left: 25px;
}

#nav-links li a {
    color: var(--white);
    text-decoration: none;
    padding: 8px 12px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 4px; /* Bordes redondeados sutiles */
    font-weight: 700;
}

#nav-links li a:hover,
#nav-links li a.active {
    color: var(--cornell-red);
    /* background-color: rgba(255,255,255,0.1); Opcional: un fondo sutil al pasar el mouse */
}

/* Icono Hamburguesa */
#menu-toggle {
    display: none; /* Oculto en desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    min-width: 44px;
    min-height: 44px;
}

#menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}
.nav{
max-width: 100% !important;
}


/* --- Sección Hero --- */
.hero-section {
    /* Considera una imagen que funcione bien con el texto oscuro o claro, o ajusta el overlay */
    /*background-color: var(--cornell-red); /* Fondo rojo para contraste */
    height: 90vh; /* Un poco menos que full para ver que hay más contenido */
    min-height: 500px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 60px; /* Compensar navbar */
}

.hero-content {
    /* El overlay ya está en .hero-section, no es necesario fondo aquí a menos que se quiera un bloque más definido */
    padding: 20px; /* Menos padding si el overlay es general */
    margin-top: 2rem;

    display: flex;
    flex-direction: row;
    align-items: center;
}

.hero-content img {
    width: 50%; /* Tamaño del logo */
    height: auto;
    margin-right: 10px; /* Espacio entre logo y texto */
    vertical-align: middle;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem); /* Tamaño de fuente responsivo */
    margin-bottom: 1rem;
    font-weight: 700; /* Más peso para el titular */
    text-shadow: 2px 1px 3px rgba(0,0,0,0.5); /* Sombra para legibilidad */

}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300; /* Más ligero para el subtítulo */
    max-width: 600px; /* Para que no sea demasiado ancho */
    margin: 0 auto;
}

/* --- Secciones Generales de Página --- */
.page-section {
    padding: 60px 0; /* Reducir padding vertical ligeramente para un look más compacto */
    text-align: center;
}
.page-section:first-of-type { /* Si el hero no es el primer <section> */
    padding-top: 2rem; /* Más espacio si el navbar es fijo y el hero es una sección separada */
}


.page-section h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 40px;
    color: var(--eerie-black);
    font-weight: 600;
}

.page-section p {
    font-size: 1.1rem;
    color: var(--eerie-black); /* Gris para párrafos estándar */
    max-width: 750px; /* Ancho de línea cómodo */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

/* Para alternar fondos sutilmente y mejorar separación */
.bg-light-custom {
    background-color: var(--bglight); /* Un gris muy claro, casi blanco */
}

/* --- Sección Servicios Info - Features --- */
#servicios-info .features {
    display: grid; /* Usar grid para mejor control */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left; /* Alinear texto a la izquierda dentro de cada item */
}

#servicios-info .feature-item {
    padding: 20px;
    background-color: var(--white); /* Fondo blanco si la sección es bg-light-custom */
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra horizontalmente */
    text-align: center;  

    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#servicios-info .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    background-color: var(--principal-gray);
}
#servicios-info .feature-item:hover h3,
#servicios-info .feature-item:hover p{
    color: var(--white);
}

#servicios-info .feature-item:hover p{
    font-weight: 600;
}


#servicios-info .feature-item img { /* Cambiar a contenedor de icono */
    padding: 15px;
    border-radius: 10%;

    margin-bottom: 20px;
    display: inline-block; /* Para que el margen inferior funcione bien */
    /* Asumiendo que los placeholder son temporales y usarás SVGs o iconos reales */
}

#servicios-info .feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--eerie-black);
}
#servicios-info .feature-item p {
    font-size: 0.95rem;
    color: var(--eerie-black);
    line-height: 1.6;
    font-weight: 500;
}



/* --- Sección Misión y Visión --- */
#mision-vision .mision-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: left;
}
#mision-vision .mision-vision-grid > div { /* Estilo para cada tarjeta */
    padding: 25px;
    background: var(--white);
    box-shadow: var(--shadow-light);
    border-radius: 8px;
}
#mision-vision h3 {
    color: var(--cornell-red); /* Usar el verde para títulos secundarios */
    margin-bottom: 15px;
    font-size: 1.5rem;
}
#mision-vision ul {
    list-style: none; /* Quitar bullets por defecto */
    padding-left: 0;
}
#mision-vision ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}
#mision-vision ul li::before { /* Bullet personalizado */
    content: '✓'; /* O cualquier otro símbolo */
    color: var(--midnight-green);
    position: absolute;
    left: 0;
    font-weight: bold;
}


/* --- Sección Rastrear Envío --- */
#rastrear-envio form {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap; /* Para responsividad */
    justify-content: center;
    align-items: center;
    gap: 15px;
}

#rastrear-envio input[type="text"] {
    padding: 14px 18px;
    font-size: 1rem;
    border: 1px solid #ccc; /* Mantener borde sutil o usar var(--slate-gray) más claro */
    border-radius: 6px;
    width: 320px;
    max-width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
#rastrear-envio input[type="text"]:focus {
    outline: none;
    border-color: var(--midnight-green);
    box-shadow: 0 0 0 3px rgba(0, 91, 118, 0.2); /* Sombra de foco en midnight-green */
}

#anioSeleccionado {
    appearance: none; /* Elimina la flecha original del sistema */
    -webkit-appearance: none;
    -moz-appearance: none;
    
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 14px 40px 14px 18px; /* Espacio extra a la derecha para la nueva flecha */
    font-size: 1rem;
    color: #333;
    cursor: pointer;
    
    /* Añadimos una flecha personalizada con una imagen SVG */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center; /* Posiciona la flecha */
    
    transition: all 0.3s ease;
}

#anioSeleccionado:hover {
    border-color: var(--midnight-green);
}

#anioSeleccionado:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 91, 118, 0.2);
    border-color: var(--midnight-green);
}

/* --- Botones --- */
.btn {
    padding: 14px 28px;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block; /* Para que el padding funcione correctamente */
}
.btn:hover {
    transform: translateY(-2px); /* Efecto sutil al pasar el mouse */
}
.btn-primary { /* Botón principal de acción */
    background-color: var(--cornell-red);
    color: var(--white);
}
.btn-primary:hover {
    background-color: #a51717; /* Versión más oscura de Cornell Red */
}

/* --- Pie de Página --- */
footer {
    font-weight: 900;
    background: var(--principal-gray);
    color: var(--white); /* Un gris más claro para el texto del footer */
    text-align: center;
    padding: 30px 0;
}
footer p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}
footer a {
    color: var(--white); /* Enlaces en el footer */
    text-decoration: none;
}
footer a:hover {
    color: var(--cornell-red);
}


/* --- Botón Scroll to Top --- */
#scrollToTopBtn {
    position: fixed;
    bottom: 8rem; /* Espacio para que no se choque con el botón de WhatsApp */
    right: 3rem;
    z-index: 999;
    border: none;
    outline: none;
    background-color: var(--cornell-red);
    color: var(--white);
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: clamp(16px, 2vw, 20px); /* Se ajusta al tamaño de pantalla */
    box-shadow: var(--shadow-medium);
    opacity: 0;
    transition: opacity 0.3s ease-in-out, background-color 0.3s ease;
    display: none;
}
#scrollToTopBtn.show {
    display: block;
    opacity: 1;
}
#scrollToTopBtn:hover {
    background-color: #a51717;
}

/* --- Botón flotante WhatsApp --- */
.whatsapp-float {
    position: fixed;
    width: clamp(60px, 8vw, 90px);
    height: clamp(60px, 8vw, 90px);
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: var(--eerie-black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(20px, 2vw, 28px);
    box-shadow: var(--shadow-medium);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: var(--cornell-red);
}
.whatsapp-float svg {
    width: clamp(20px, 4vw, 28px);
    height: clamp(20px, 4vw, 28px);
}


.map{
    width: 60%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
}

.rastreo{
    padding: 1rem;
    white-space: nowrap;
    background-color: var(--cornell-red);
    box-shadow: var(--shadow-light);
}
.rastreo:hover{
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    color: var(--white) !important;
    background-color: #811111 !important; /* Versión más oscura de Cornell Red */
}
.rastreo:active, .rastreo.active{
    color: var(--white) !important;
}


.icono-seguridad{
    width: 40%;
    height: auto;


}

.fade-up {
  opacity: 0;
  transform: translateY(    40px);
  transition: all 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Contenedor general con diseño de columnas */
.contacto-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 2rem 1rem;
}

/* Información */
.contacto-info {
  flex: 1 1 300px;
  max-width: 500px;
  animation: fadeInLeft 1s ease-out;
}

.contacto-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contacto-info p {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Formulario */
.contacto-form {
  flex: 1 1 300px;
  max-width: 500px;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  animation: fadeInRight 1s ease-out;
}

/* Campos del formulario */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
}



.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid red;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 10px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



/* Animaciones */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}



.rastreo-paquete{
    padding: 10vh;
    margin-bottom: 2rem !important;
    background-color: var(--light-alt);
    box-shadow: var(--shadow-light);
}


.promo-description {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  text-align: center;
  color: #333;
  line-height: 1.6;
}

.productos-section {
  padding: 4rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
}

.productos-description {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: #444;
}


.productos-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}


/* ======== Tablet (768px - 1023px) ======== */
@media screen and (max-width: 1023px) {
  
}


/*COUNTRIES*/
.pais-titulo {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.paises-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: auto;
}

.pais-card {
  background-color: white;
  border: 2px solid transparent;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.pais-card img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s;
}

.pais-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.pais-card.selected {
  border-color: var(--eerie-black);
  box-shadow: 0 0 0 4px rgba(158, 27, 50, 0.2);
}

/* --- Tracking Steps --- */
.tracking-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 20px 0;
    margin-top: 30px;
    position: relative;
}

.tracking-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px; /* ajusta según tu diseño */
    text-align: center;
    opacity: 0.3;
    transition: opacity 0.3s;
}

.tracking-step.active {
  opacity: 1;
}

.tracking-step p {
  font-size: 12px;
  margin-top: 6px;
}

.tracking-step .circle img{
    filter: none;
    transition: filter 0.3s;
}

.tracking-step.active .circle img{
    filter: brightness(0) saturate(100%) invert(17%) sepia(97%) saturate(7492%) hue-rotate(-8deg) brightness(90%) contrast(110%);
}


.tracking-step:first-child::after {
    content: none;
}

.tracking-step.active::after {
    background-color: red;
}



   /*NOSOTROS*/ 
#nosotros {
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: stretch;
  background: white;
}

.nosotros-wrapper {
  display: flex;
  width: 100%;
  align-items: center;
  flex-wrap: wrap;
}

.nosotros-img {
  width: 40%;
  margin-left: 3rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-image: url('../IMG/sucursal2.webp');
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  flex-shrink: 0; /* No reduzcas tamaño si el texto es grande */
}




.nosotros-text {
  flex: 1;
  padding: 3rem;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.nosotros-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #111;
  text-align: center;
  
}

.nosotros-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  
  text-align: justify;
}


/*SWIPER*/


.swiper-paquetes{
    width: 100% !important;
    position: relative;
}

.swiper-paquetes .swiper-wrapper{
    width: 100% !important;

}

.swiper-paquetes .swiper-slide {
    width: clamp(300px, 30vw, 400px) !important; /* Ancho responsivo */
    height: auto !important;
  
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    border-radius: 8px;  
}

.swiper-paquetes .swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border-bottom: #00000007 2px solid;
    object-fit: contain !important;
}
 
.swiper-paquetes .swiper-slide h4 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    
    padding-bottom: 0;
    font-family: 'sf-pro-display-heavy-italic', sans-serif;
}


/*CADA UNO DE LOS PAQUETES*/
#paquete1{
    width: 30% !important;
    height: auto !important;
}
#paquete2{
    width: 35% !important;
    height: auto !important;
}
#paquete3{
    width: 38% !important;
    height: auto !important;
}

#paquete4{
    width: 38% !important;
    height: auto !important;
}

#paquete5{
    width: 40% !important;
    height: auto !important;
}

#paquete6{
    width: 42% !important;
    height: auto !important;
}

#paquete7{
    width: 45% !important;
    height: auto !important;
}

#paquete8{
    width: 45% !important;
    height: auto !important;
}

#paquete9{
    width: 48% !important;
    height: auto !important;
}

#paquete11{
    width: 70% !important;
    height: auto !important;
}

#paquete12{
    width: 60% !important;
    height: auto !important;
}


/* Color del bullet activo */
.swiper-pagination-bullet-active {
  background-color: var(--cornell-red) !important; /* Color del bullet activo */
}
/*Acaba el swiper de paquetes*/
/*Comienza el swiper de promociones*/

.swiper-promociones {
    width: 100% !important;
    position: relative;
}   

.swiper-promociones .swiper-wrapper {
    width: 100% !important;
}

.swiper-promociones .swiper-slide {
    width: clamp(250px, 30vw, 400px);
    aspect-ratio: 4 / 4; /* o la proporción que quieras */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    border-radius: 8px;
    overflow: hidden;
}
 
.swiper-promociones .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: fill; /* o 'contain' si no quieres recorte */
    border-radius: 8px;
    border-bottom: 2px solid #00000007;
}

    .inicio {
        background-image: url('../IMG/PRUEBA2.webp');
        background-repeat: no-repeat;
        background-size: cover; /* Cubre todo el contenedor */
        background-position: center center; /* Centra la imagen */
        width: 100%;
        height: 100vh;
        box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    }

    .circle img.icono-tracking {
    width: 64px;
    height: 64px;
    display: block;

    }

    .paquetesCuadrados{
        margin-top: 0.5rem;
        border-bottom: none !important;
        width: 40% !important;
    }
    .paquetesCuadradosNT{
         margin-top: 0.5rem;
        border-bottom: none !important;
        width: 50% !important;
    }

    .paquetesNoCuadrados{
        width: 100% !important;
    }

    .zona-extendida {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center; /* centrado horizontal */
    gap: 0.5rem 2rem; /* espacio vertical y entre columnas */
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: left;
    }

    .zona-extendida li {
    position: relative;
    padding-left: 1.2em;
    }

    .zona-extendida li::before {
    content: "•"; /* o usa decimal con CSS counters si quieres números */
    position: absolute;
    left: 0;
    color: var(--cornell-red, #c8102e); /* tu color deseado */
    }


    .guatemala{
         margin: 0.3rem 0; /* menos espacio arriba y abajo */
         text-align: center;
    }
@media (max-width: 480px) {
  .tracking-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .tracking-step {
    width: 100%;
    text-align: left;
  }
  .tracking-steps::before {
    display: none;
  }
}
    
/* Responsive adjustments for Swiper */
@media (max-width: 900px) {

}


@media (max-width: 600px) {
    
    .map {
        width: 100%;
        height: auto;
    }

    

}




.promociones{
    background-color: var(--light-alt);
    box-shadow: var(--shadow-light);
}

.promociones h1{
    margin-bottom: 3rem;
    font-size: 3rem;
    font-weight: 700;
}



@media (max-width: 1160px) {
 #nav-links {
  display: flex;
  flex-wrap: wrap; /* permite que el contenido se acomode en varias líneas si es necesario */
  gap: 0.8rem; /* añade espacio entre los elementos */
  justify-content: flex-end;
  align-items: center;
  list-style: none;
}




}

@media (max-width: 400px) {
    #scrollToTopBtn {
        bottom: 6rem; /* Empuja más alto si hay barra flotante del navegador */
        right: 1rem;
        padding: 8px 10px;
    }

    .whatsapp-float {
        width: 2rem;
        height: 2rem;
        bottom: 1rem;
        right: 1rem;
    }

    .whatsapp-float svg {
        width: 20px;
        height: 20px;
    }
}
/* ======== Móvil (menos de 768px) ======== */
@media (max-width: 768px) {
    .nosotros-wrapper {
        
        flex-direction: column;
    }

    .nosotros-img {
       display: none;
    }


    .nosotros-text {
        padding: 2rem;
        text-align: center;
    }
    .inicio {
    background-image: url('../IMG/PRUEBA.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 100% !important;
    height: 100%; /* o define una altura si es necesario */
    box-shadow:  0 4px 12px rgba(0,0,0,0.4);
    }
    .contacto-container {
    flex-direction: column;
    align-items: stretch;
    }

    .contacto-form, .contacto-info {
        max-width: 100%;
    }
    .container {
        width: 95%; /* Un poco más de espacio en móviles */
    }

    #navbar .container {
        position: relative; /* Para posicionar el menú desplegable */
    }

    #menu-toggle {
        display: block; /* Mostrar hamburguesa */
        position: relative;
        z-index: 1001; /* Asegurar que esté sobre otros elementos del nav si se superponen */
        right: 7vh;
    }
    /* Estilo de hamburguesa 'X' cuando está activa */
    #menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    #menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    #menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }


    #nav-links {
        display: none; /* Ocultar por defecto */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Debajo del navbar */
        left: 0;
        width: 100%;
         background-color: rgba(33, 37, 41, 0.9); /* Mismo fondo que el navbar */
        padding: 10px 0;
        box-shadow: var(--shadow-medium);
        border-top: 1px solid var(--slate-gray); /* Separador sutil */
    }

    #nav-links.active { /* Cuando el menú está abierto */
        display: flex;
        
    }

    #nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    #nav-links li a {
        display: block;
        padding: 15px;
        width: 100%;
        border-radius: 0; /* Sin bordes redondeados en menú móvil */
    }
    #nav-links li a:hover,
    #nav-links li a.active {
        background-color: var(--midnight-green); /* Resaltar con midnight-green */
        color: var(--white);
    }
    #nav-links li a.active { /* Para el enlace activo específicamente */
        color: var(--cornell-red);
        background-color: rgba(255,255,255,0.05);
    }

    .hero-content {
    flex-direction: column; /* Imagen arriba, texto abajo */
    text-align: center;
    padding: 20px; /* Menos padding para móviles */
    margin-top: 0; /* Sin margen superior */
    }

   .hero-content img {
    width: 100%;
    height: auto;
     }

   .hero-content h1 {
    font-size: 1.5rem; /* Más pequeño si hace falta */
     }


    .hero-section {
        height: auto; /* Altura automática para contenido */
        min-height: 70vh;
        padding-top: 100px; /* Más padding por navbar */
        padding-bottom: 40px;
    }

    .page-section h2 {
        margin-bottom: 25px;
    }
    
    #servicios-info .features,
    #mision-vision .mision-vision-grid {
        grid-template-columns: 1fr; /* Una columna en móviles */
        gap: 20px;
    }
 
    #rastrear-envio form {
        flex-direction: column;
        align-items: stretch; /* Ocupar todo el ancho */
    }
    #rastrear-envio input[type="text"],
    #rastrear-envio button {
        width: 100%;
    }

    #scrollToTopBtn {
        bottom: 4rem;
        right: 2.5rem;
        padding: 8px 12px;
        font-size: 18px;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 2rem;
    }
    .whatsapp-float svg{
        width: 24px;
        height: 24px;
    }
    /*TRACKING MOBILE*/
    .tracking-steps {
        display: none;
    }

    .tracking-status-mobile {
        display: block;
        text-align: center;
        margin-top: 20px;
        padding: 1rem;
        box-shadow: var(--shadow-medium);
        border-radius: 8px;

    }



    .tracking-status-mobile img {
        max-width: 30%;
        height: auto;
        margin-bottom: 10px;
    }

    .tracking-status-mobile p{
        font-size: 0.9rem;
        color: var(--eerie-black);
        margin-bottom: 10px;
    }
    .tracking-status-mobile h4 {
        font-size: 18px;
        color: red;
    }
    
    
}