/* =============================================
   VARIABLES DE COLOR
   Aquí defines los colores de tu empresa.
   Si cambias el color aquí, cambia en toda la web.
============================================= */
:root {
    --morado: #450151;       /* Color principal: morado corporativo */
    --gris:   #686666;       /* Color secundario: gris corporativo */
    --morado-oscuro: #d4d4d4; /* Morado más oscuro para hover */

    /* Mantenemos estos nombres para que el HTML anterior siga funcionando */
    --azul-ruiz: #ad69b9;
    --rojo-ruiz: #686666;
}


/* =============================================
   BARRA DE NAVEGACIÓN
============================================= */
.barra-navegacion {
    background-color: var(--morado);
    border-bottom: 4px solid var(--gris);
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: hidden;
    min-height: 140px;
}

/* Banner superpuesto con blend mode para ocultar el blanco */
/* Barra de navegación - pseudo-elemento */
.barra-navegacion::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('Banner\ de\ Logística\ y\ Servicios\ Muriel.png');
    background-size: 100% auto;
    
    /* MODIFICACIÓN: Aumentamos mucho más el número negativo para tirar de la imagen a la izquierda */
    background-position: -510% 42%; 
    
    mix-blend-mode: multiply;   
    opacity: 0.9;
    z-index: 0;
}

/* El contenido queda por encima */
.barra-navegacion .contenedor {
    position: relative;
    z-index: 1;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    gap: 10px;
}

.logo img {
    height: 80px;
    width: 80px;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.nombre-empresa {
    font-weight: bold;
    font-size: 1rem;
    color: white;
    text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

.menu-enlaces {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    margin-left: auto;
}

.enlace-menu {
    color: white;
    text-decoration: none;
    padding: 6px 10px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.enlace-menu:hover {
    color: #adb5bd;
}

.boton-contacto {
    background-color: var(--gris);
    border-radius: 6px;
    color: white !important;
}

.boton-contacto:hover {
    background-color: var(--morado-oscuro) !important;
    color: white !important;
}


/* =============================================
   CONTENEDOR GENERAL
============================================= */
.contenedor {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}


/* =============================================
   SECCIÓN INICIO
============================================= */
.seccion-inicio {
    background-color: var(--morado);
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255,255,255,0.04) 20px,
        rgba(255,255,255,0.04) 40px
    );
    text-align: center;
    padding: 60px 0;
}

.titulo-principal {
    font-size: 2.8rem;
    font-weight: bold;
    color: white;
}

.subtitulo {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-top: 16px;
}

.boton-grande {
    display: inline-block;
    background-color: var(--gris);
    color: white;
    padding: 14px 36px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    margin-top: 28px;
    transition: background-color 0.3s ease;
}

.boton-grande:hover {
    background-color: var(--morado-oscuro);
    color: white;
}


/* =============================================
   SECCIONES GENÉRICAS
============================================= */
.seccion {
    padding: 60px 0;
}

.fondo-gris {
    background-color: #f8f9fa;
}

.texto-centrado {
    text-align: center;
}

.titulo-seccion {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--morado);
}

.subtitulo-seccion {
    color: #6c757d;
    margin-bottom: 40px;
}


/* =============================================
   FILAS
============================================= */
.fila-dos-columnas {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.fila-dos-columnas .columna {
    flex: 1;
    min-width: 280px;
}

.fila-tres-columnas {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.fila-tres-columnas > * {
    flex: 1;
    min-width: 260px;
}

.fila-cuatro-columnas {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.fila-cuatro-columnas > * {
    flex: 1;
    min-width: 200px;
}


/* =============================================
   SECCIÓN SOBRE NOSOTROS
============================================= */
.imagen-empresa {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}


/* =============================================
   TARJETAS DE SERVICIOS
============================================= */
.tarjeta-servicio {
    background-color: white;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-servicio:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 24px rgba(69, 1, 81, 0.2);
}

.icono-servicio {
    font-size: 2.5rem;
    color: var(--morado);
    display: block;
    margin-bottom: 12px;
}

.titulo-tarjeta {
    font-weight: bold;
    margin-bottom: 8px;
}

.texto-tarjeta {
    color: #6c757d;
    font-size: 0.95rem;
}


/* =============================================
   DATOS DESTACADOS (Por qué elegirnos)
============================================= */
.dato-destacado {
    padding: 16px;
}

.icono-dato {
    font-size: 2.5rem;
    color: var(--gris);
    display: block;
    margin-bottom: 8px;
}

.numero-grande {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 8px;
}


/* =============================================
   TARJETAS DE PASOS (Cómo funciona)
============================================= */
.tarjeta-paso {
    background-color: white;
    border-radius: 8px;
    padding: 32px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-paso:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 24px rgba(69, 1, 81, 0.2);
}

.numero-paso {
    width: 60px;
    height: 60px;
    background-color: var(--morado);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}


/* =============================================
   SECCIÓN CONTACTO
============================================= */
.caja-contacto {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.columna-contacto-izquierda {
    flex: 1;
    min-width: 260px;
}

.columna-contacto-derecha {
    flex: 2;
    min-width: 300px;
    border-left: 2px solid #dee2e6;
    padding-left: 40px;
}

.titulo-contacto {
    font-weight: bold;
    color: var(--morado);
    margin-bottom: 16px;
}

.texto-gris {
    color: #6c757d;
    margin-bottom: 0;
}

.fila-icono {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.icono-contacto {
    font-size: 1.8rem;
    color: var(--gris);
}

.dato-contacto {
    font-weight: bold;
    font-size: 1.1rem;
    color: #212529;
    text-decoration: none;
}

.dato-contacto:hover {
    color: var(--azul-ruiz);
}

.titulo-redes {
    font-weight: bold;
    color: var(--morado);
    margin-bottom: 12px;
}

.iconos-redes {
    display: flex;
    gap: 16px;
}

.icono-redes {
    color: var(--morado);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.icono-redes:hover {
    color: var(--gris);
    transform: translateY(-5px);
}


/* =============================================
   FORMULARIO
============================================= */
.campo-formulario {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.campo-formulario label {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.campo-formulario input,
.campo-formulario textarea {
    padding: 10px 14px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background-color: #f8f9fa;
    font-size: 1rem;
    width: 100%;
}

.campo-formulario input:focus,
.campo-formulario textarea:focus {
    outline: none;
    border-color: var(--morado);
}

.boton-enviar {
    background-color: var(--morado);
    color: white;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.boton-enviar:hover {
    background-color: var(--morado-oscuro);
}


/* =============================================
   PIE DE PÁGINA
============================================= */
.pie-pagina {
    background-color: var(--morado);
    border-top: 4px solid var(--gris);
    color: white;
    text-align: center;
    padding: 24px 0;
}


/* =============================================
   ANIMACIONES AL HACER SCROLL
============================================= */
.animar-entrada {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animar-entrada.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =============================================
   MENSAJE DE ÉXITO DEL FORMULARIO
============================================= */
.mensaje-exito {
    display: none;
    background-color: #d4edda;
    border: 1px solid #28a745;
    color: #155724;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    margin-top: 16px;
    font-weight: bold;
}

.mensaje-exito.activo {
    display: block;
}

/* =============================================
   MAPA FLOTANTE
============================================= */
#mapa-flotante {
    position: fixed;
    bottom: 30px;
    right: 90px;
    width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    z-index: 998;
    transition: height 0.3s ease;
}

#mapa-cabecera {
    background-color: var(--morado);
    color: white;
    padding: 10px 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

#mapa-cabecera i:last-child {
    margin-left: auto;
    transition: transform 0.3s ease;
}

#mapa-flotante iframe {
    display: block;
    transition: height 0.3s ease;
}

#mapa-flotante.cerrado iframe {
    height: 0 !important;
}

@media (max-width: 767px) {
    #mapa-flotante {
        right: 16px;
        left: 16px;
        width: auto;
        bottom: 24px;
    }

    #btn-whatsapp {
        bottom: 100px;
    }
}
/* =============================================
   BANNER COOKIES
============================================= */
#banner-cookies {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 700px;
    background-color: var(--morado);
    color: white;
    padding: 30px 36px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    z-index: 9999;
}

#banner-cookies p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

#banner-cookies a {
    color: #d4a8e0;
    text-decoration: underline;
}

#banner-cookies button {
    background-color: white;
    color: var(--morado);
    border: none;
    padding: 14px 48px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#banner-cookies button:hover {
    background-color: var(--gris);
    color: white;
    transform: translateY(-2px);
}
#banner-cookies-botones {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

#btn-mas-info {
    color: white;
    text-decoration: underline;
    font-size: 1rem;
    padding: 14px 28px;
    border: 2px solid white;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

#btn-mas-info:hover {
    background-color: rgba(255,255,255,0.15);
}

#btn-rechazar {
    background-color: transparent !important;
    color: white !important;
    border: 2px solid white !important;
    padding: 14px 48px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#btn-rechazar:hover {
    background-color: rgba(255,255,255,0.15) !important;
    color: white !important;
    transform: translateY(-2px);
}
.pie-pagina-direccion {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-top: 8px;
}
/* =============================================
   MENÚ MÓVIL
============================================= */

/* Botón hamburguesa visible */
.navbar-toggler {
    border: 2px solid white !important;
    background-color: rgba(255,255,255,0.2) !important;
    margin-left: auto;
    position: relative;
    z-index: 10;
    padding: 8px 12px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 26px !important;
    height: 26px !important;
}

@media (max-width: 991px) {
    /* El navbar mantiene su tamaño fijo, no crece */
    .barra-navegacion {
        min-height: 100px;
        overflow: visible;
    }

    .barra-navegacion::before {
        display: block;
        background-position: center 42%;
        background-size: cover;
        opacity: 0.85;
    }

    /* El menú desplegable flota por debajo del navbar sin moverlo */
    #menuNavegacion {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--morado);
        border-top: 1px solid rgba(255,255,255,0.2);
        box-shadow: 0 8px 24px rgba(0,0,0,0.35);
        z-index: 99;
    }

    .menu-enlaces {
        flex-direction: column;
        gap: 0;
        margin-left: 0;
        padding: 8px 0;
        width: 100%;
    }

    .menu-enlaces li {
        width: 100%;
    }

    .enlace-menu {
        display: block;
        padding: 12px 16px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        font-size: 1.05rem;
    }

    .boton-contacto {
        margin: 8px 16px;
        display: block;
        text-align: center;
    }
}
/* =============================================
   HORARIO DE ATENCIÓN
============================================= */
.caja-horario {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: 12px;
    padding: 36px 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: left;
}

.fila-horario {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}

.fila-horario:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.icono-horario {
    font-size: 1.8rem;
    color: var(--morado);
    flex-shrink: 0;
    margin-top: 2px;
}

.titulo-horario {
    font-weight: bold;
    color: var(--morado);
    margin-bottom: 4px;
}

.texto-horario {
    color: #6c757d;
    margin: 0;
}


/* =============================================
   PREGUNTAS FRECUENTES
============================================= */
.lista-faq {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pregunta-faq {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.cabecera-faq {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: bold;
    color: var(--morado);
    text-align: left;
    gap: 12px;
}

.cabecera-faq:hover {
    background-color: #f8f0fa;
}

.icono-faq {
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--morado);
}

.respuesta-faq {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
}

.respuesta-faq.abierta {
    max-height: 300px;
    padding: 0 24px 20px;
}

.respuesta-faq p {
    color: #6c757d;
    margin: 0;
    line-height: 1.7;
}


/* =============================================
   MENÚ MÓVIL
============================================= */
.navbar-toggler {
    border: 2px solid white !important;
    background-color: rgba(255,255,255,0.2) !important;
    margin-left: auto;
    position: relative;
    z-index: 10;
    padding: 8px 12px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 26px !important;
    height: 26px !important;
}

/* =============================================
   BOTÓN WHATSAPP FLOTANTE
============================================= */
#btn-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 24px;
    width: 58px;
    height: 58px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 16px rgba(37,211,102,0.5);
    text-decoration: none;
    z-index: 9998;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#btn-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.7);
    color: white;
}



