* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, 
h2 {
    font-family: 'Cinzel Decorative', serif;
}

h3 {
    font-family: 'Lora', serif;
}

/* ENCABEZADO */
.encabezado-principal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 3%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contenedor-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-firma {
    width: 80px;
}

.nombre-firma {
    font-size: 24px;
    letter-spacing: 2px;
    font-weight: bold;
}

.navegacion-superior {
    background: linear-gradient(to right, #003f63, #0081c2);
    padding: 10px 30px;
    border-radius: 11px;
}

.enlace-nav {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 20px;
}

/* CONTENEDOR DE REGRESAR */
.contenedor-regresar {
    padding: 20px 3% 0;
    display: flex;
    justify-content: flex-start;
}

.enlace-regresar {
    text-decoration: none;
    color: #003f63;
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 8px;
}

.enlace-regresar i {
    font-size: 20px;
}

.enlace-regresar:hover {
    color: #0099e6;
    background-color: rgba(0, 153, 230, 0.05);
    transform: translateX(-5px); 
}

@media (max-width: 768px) {
    .contenedor-regresar {
        padding: 15px 5% 0;
    }
}


/* SECCIÓN HERO */
.contenido-hero {
    text-align: center;
    padding: 50px 5%;
}


.titulo-pregunta {
    font-size: 42px;
    font-weight: bold;
    max-width: 800px;
    margin: 0 auto 10px;
    text-transform: uppercase;
    font-family: 'Times New Roman', serif;
    animation: aparecer 1s ease-out forwards;
}

.subtitulo-ayuda {
    font-size: 28px;
    color: #888;
    opacity: 0;
    animation: aparecer 1s ease-out 0.4s forwards;
}

.contenedor-flexible {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.columna-imagen {
    flex: 1;
}

.imagen-decorativa {
    max-width: 85%;
}

.columna-texto {
    flex: 2;
    text-align: left;
    overflow: hidden;
}

@keyframes barridoResplandor {
    0% { 
        left: -110%; 
        opacity: 0; 
    }
    10% { 
        opacity: 0.5; 
    }
    80% { 
        opacity: 0.5; 
    }
    100% { 
        left: 110%; 
        opacity: 0; 
    }
}

.contenedor-resplandor {
    position: relative;
    display: inline-block;
    overflow: hidden;
    line-height: 0;
}

.contenedor-resplandor::after {
    content: "";
    position: absolute;
    top: 0;
    left: -110%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        110deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0) 25%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0) 75%, 
        rgba(255, 255, 255, 0) 100%
    );
    animation: barridoResplandor 3s cubic-bezier(0.2, 0, 0.3, 1) infinite;
}

@keyframes entradaDerecha {
    from { 
        opacity: 0; 
        transform: translateX(100%); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

.texto-explorar, 
.lista-servicios li, 
.texto-descripcion {
    opacity: 0;
    animation: entradaDerecha 0.8s ease-out forwards;
}

.texto-explorar { 
    font-size: 20px; 
    color: #666; 
    margin-bottom: 15px; 
    animation-delay: 0.1s; 
}

.lista-servicios { 
    list-style: disc; 
    margin-left: 20px; 
    font-size: 18px; 
    line-height: 1.8; 
    color: #444; 
}

.lista-servicios li:nth-child(1) { animation-delay: 0.25s; }
.lista-servicios li:nth-child(2) { animation-delay: 0.45s; }
.lista-servicios li:nth-child(3) { animation-delay: 0.65s; }

.texto-descripcion { 
    margin-top: 25px; 
    font-size: 18px; 
    color: #777; 
    max-width: 500px; 
    animation-delay: 0.8s; 
}

/* BOTONES */
.contenedor-botones {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.boton-primario {
    color: white;
    padding: 12px 35px;
    border: none;
    border-radius: 11px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    background: linear-gradient(
        to right, 
        #0099e6 0%, 
        #0076b3 30%, 
        #000c14 50%, 
        #0099e6 70%, 
        #0076b3 100%
    );
    background-size: 250% auto;
    background-position: right center;
    transition: background-position 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.boton-primario:hover {
    background-position: left center;
    transform: scale(1.02);
}

.boton-secundario {
    background: white;
    color: #002b44;
    padding: 12px 30px;
    border: 1px solid #002b44;
    border-radius: 11px;
    font-size: 19px;
    cursor: pointer;
    transition: all 0.3s;
}

.boton-secundario:hover {
    background: #002b44;
    color: white;
}

/* RUTA LEGAL */
.seccion-ruta-legal {
    padding: 60px 10%;
    text-align: center;
    background-color: #ffffff;
    margin-top: 30px;
}

.revelar {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s ease-out;
}

.revelar-izq {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.9s ease-out;
}

.revelar-der {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.9s ease-out;
}

.activo {
    opacity: 1 !important;
    transform: translate(0) !important;
}

.titulo-paso { 
    font-size: 32px; 
    font-weight: bold; 
    margin-bottom: 15px; 
    color: #000; 
}

.subtitulo-ruta { 
    font-size: 24px; 
    color: #99a; 
    max-width: 800px; 
    margin: 0 auto 40px; 
}

.contenedor-busqueda { 
    display: flex; 
    justify-content: center; 
    margin-bottom: 80px; 
}

.barra-busqueda {
    display: flex;
    align-items: center;
    background-color: #000;
    border-radius: 50px;
    padding: 8px 10px;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 1001;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.entrada-busqueda {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    outline: none;
    font-family: 'Lora', serif;
}

.entrada-busqueda::placeholder { 
    color: #c1c1c1; 
}

.texto-opciones {
    color: #fff;
    font-size: 14px;
    margin: 0 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.3s;
    font-family: 'Lora', serif;
}


.boton-buscar {
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 30px;
    padding: 10px 35px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
}


/* DETALLES DE ÁREA */
.contenedor-detalle-area {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 100px auto;
    gap: 60px;
}

.info-area { 
    flex: 1; 
    text-align: left; 
}

.imagen-area { 
    flex: 1; 
    display: flex; 
    justify-content: center; 
}

.nombre-area { 
    font-size: 36px; 
    font-weight: bold; 
    margin-bottom: 20px; 
    letter-spacing: 1px; 
    font-family: 'Cinzel Decorative', serif; 
}

.descripcion-area { 
    font-size: 18px; 
    color: #666; 
    line-height: 1.6; 
    margin-bottom: 30px; 
}

.foto-redondeada { 
    width: 85%; 
    border-radius: 30px; 
    object-fit: cover; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}

/* TARJETAS DE SERVICIOS */
.seccion-servicios-cards { 
    padding: 40px 5%; 
    background-color: #ffffff; 
    text-align: center; 
}

.titulo-servicios { 
    font-size: 36px; 
    font-weight: bold; 
    margin-bottom: 50px; 
    color: #000; 
}

.contenedor-cards { 
    display: flex; 
    justify-content: center; 
    gap: 30px; 
    flex-wrap: wrap; 
}

.tarjeta-servicio {
    background-color: #f2f2f2;
    padding: 40px;
    border-radius: 20px;
    flex: 1;
    max-width: 550px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.tarjeta-servicio:hover { 
    transform: translateY(-10px); 
}

.subtitulo-card { 
    font-size: 24px; 
    font-weight: bold; 
    margin-bottom: 15px; 
}

.texto-card { 
    font-size: 16px; 
    color: #777; 
    line-height: 1.5; 
    margin-bottom: 30px; 
}

.marco-imagen-card { 
    width: 100%; 
    max-width: 350px; 
    background-color: white; 
    padding: 10px; 
    border-radius: 30px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
}

.imagen-card { 
    width: 100%; 
    border-radius: 20px; 
}

/* SOBRE PRIME LAW */
.seccion-sobre-prime {
    padding: 80px 10%;
    background-color: #ffffff;
    text-align: center;
}

.titulo-sobre {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 50px;
    text-transform: uppercase;
    color: #000;
}

.contenedor-mision-vision {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.tarjeta-mision {
    background: white;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: left;
}

.tarjeta-mision.invertida {
    flex-direction: row-reverse;
    text-align: right;
}

.icono-mision {
    width: 180px;
    height: auto;
    flex-shrink: 0;
}

.texto-mision-col h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
    text-transform: uppercase;
}

.texto-mision-col p {
    font-size: 17px;
    color: #666;
    line-height: 1.6;
}

/* QUIÉNES SOMOS */
.seccion-quienes-somos {
    padding: 80px 10%;
    background-color: #f9f9fb;
    text-align: center;
}

.titulo-quienes {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.tarjeta-fundador {
    background-color: #f2f2f7;
    border-radius: 30px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.contenedor-foto-perfil {
    flex: 1;
}

.foto-perfil {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.info-fundador {
    flex: 1.2;
}

.nombre-lic {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 25px;
}

.cargo-fundador {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
}

.lista-titulos {
    list-style: none;
    margin-bottom: 25px;
}

.lista-titulos li {
    font-size: 18px;
    color: #666;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.lista-titulos li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000c14;
}

.frase-personal {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 30px;
}

/* CONTACTO */
.seccion-contacto {
    padding: 80px 10%;
    background-color: #ffffff;
}

.contenedor-contacto {
    display: flex;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.columna-info-directa {
    flex: 1;
    background: linear-gradient(135deg, #003f63 0%, #001a2c 100%);
    color: white;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.columna-info-directa h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #fff;
}

.columna-info-directa p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.item-contacto {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.item-contacto i {
    font-size: 22px;
    color: #0099e6;
}

.columna-formulario {
    flex: 1.5;
    padding: 60px;
}

.grupo-entrada {
    margin-bottom: 20px;
    text-align: left;
}

.grupo-entrada label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.grupo-entrada input, 
.grupo-entrada textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.grupo-entrada input:focus, 
.grupo-entrada textarea:focus {
    border-color: #0081c2;
}

.boton-enviar {
    width: 100%;
    background: #003f63;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.boton-enviar:hover {
    background: #0081c2;
}

/* UBICACIÓN Y MAPA */
.seccion-ubicacion {
    padding: 80px 10%;
    background-color: #f9f9fb;
    text-align: center;
}

.titulo-ubicacion {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.contenedor-mapa-info {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.marco-mapa {
    flex: 1.5;
    border-radius: 20px;
    overflow: hidden;
    line-height: 0;
    border: 1px solid #eee;
}

.info-oficina {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 20px;
}

.info-oficina h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #003f63;
}

.info-oficina p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.horarios-lista {
    list-style: none;
    margin-top: 10px;
}

.horarios-lista li {
    font-size: 15px;
    margin-bottom: 8px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 12px;
}

.enlace-mapa-boton {
    text-decoration: none;
    display: block;
    width: 100%;
}

.boton-ver-maps {
    width: 100%;
    background-color: transparent;
    color: #003f63;
    border: 2px solid #003f63;
    padding: 14px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 25px;
    transition: all 0.3s ease;
}

.boton-ver-maps:hover {
    background-color: #003f63;
    color: white;
}

/* FOOTER (PÁGINA COMPLETA) */
.pie-pagina {
    background-color: #001a2c;
    color: #ffffff;
    padding: 80px 0 40px 0;
    width: 100%;
    font-family: 'Lora', serif;
}

.contenedor-footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    max-width: 90%;
    margin: 0 auto;
    text-align: left;
    padding: 0 20px;
}

.footer-logo-container {
    width: 120px;
    margin-bottom: 20px;
}

.logo-footer {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: lighten;
    border-radius: 50%;
}

.descripcion-firma {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.8;
}

.columna-footer h4 {
    font-family: 'Cinzel Decorative', serif;
    color: #0099e6;
    margin-bottom: 25px;
    font-size: 1.2rem;
    border-bottom: 2px solid #0099e6;
    display: inline-block;
    padding-bottom: 5px;
}

.enlaces-footer li {
    list-style: none;
    margin-bottom: 15px;
}

.enlaces-footer a {
    color: #cbd5e0;
    text-decoration: none;
    transition: 0.3s;
}

.enlaces-footer a:hover {
    color: #0099e6;
    padding-left: 5px;
}

.redes-sociales {
    margin-top: 25px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.redes-sociales a {
    color: #ffffff;
    font-size: 1.5em;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.redes-sociales a:hover {
    color: #0099e6;
    transform: translateY(-5px);
}

.redes-sociales a[title*="+503"]:hover {
    color: #25D366;
}
.redes-sociales a[title*="instagram"]:hover {
    color: #c8148f;
}

.barra-copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    width: 100%;
    font-size: 14px;
    opacity: 0.7;
}




/*Responsive*/
@media (max-width: 600px) {
    .columna-imagen {
        display: none;
    }

    .encabezado-principal {
        flex-direction: column;
        padding: 10px 5%;
        gap: 15px;
    }

    .logo-firma {
        width: 60px;
    }

    .nombre-firma {
        font-size: 20px;
    }

    .navegacion-superior {
        padding: 8px 15px;
        width: 100%;
        display: flex;
        justify-content: space-around;
        border-radius: 8px;
    }

    .enlace-nav {
        margin: 0 5px;
        font-size: 16px;
    }

    .barra-busqueda {
        padding: 5px;
        border-radius: 25px;
        flex-wrap: wrap;
    }

    .entrada-busqueda {
        padding: 8px 10px;
        font-size: 14px;
        width: 60%;
    }

    .texto-opciones {
        display: none;
    }

    .boton-buscar {
        padding: 8px 15px;
        font-size: 14px;
        margin-right: 5px;
    }

    .titulo-pregunta {
        font-size: 28px;
        padding: 0 10px;
    }

    .subtitulo-ayuda {
        font-size: 20px;
    }

    .columna-texto {
        text-align: center;
        padding: 0 10px;
    }

    .lista-servicios {
        display: inline-block;
        text-align: left;
        margin: 20px 0;
    }

    .contenedor-botones {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 10%;
    }
    
    .boton-primario, .boton-secundario {
        width: 100%;
    }
}


@media (max-width: 900px) {
    .contenedor-contacto {
        flex-direction: column;
    }

    .columna-info-directa, 
    .columna-formulario {
        padding: 40px;
    }

    .contenedor-mapa-info {
        flex-direction: column;
    }

    .marco-mapa {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .contenedor-flexible, 
    .contenedor-detalle-area, 
    .area-invertida { 
        flex-direction: column !important; 
        text-align: center; 
    }

    .info-area, 
    .nombre-area, 
    .descripcion-area { 
        text-align: center !important; 
    }

    .foto-redondeada { 
        width: 100% !important; 
    }

    .tarjeta-mision, 
    .tarjeta-mision.invertida {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .icono-mision {
        width: 140px;
    }

    .tarjeta-fundador {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }

    .lista-titulos li {
        padding-left: 0;
    }

    .lista-titulos li::before {
        display: none;
    }

    .contenedor-footer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo-container {
        margin: 0 auto 20px;
    }

    .redes-sociales {
        justify-content: center;
    }

    .columna-footer h4 {
        margin: 0 auto 25px;
    }
}

/* ANIMACIONES BASE */
@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes entradaDerecha {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.revelar {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s ease-out;
}

.revelar-izq {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.9s ease-out;
}

.revelar-der {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.9s ease-out;
}

.activo {
    opacity: 1 !important;
    transform: translate(0) !important;
}

/* SECCIÓN REDES SOCIALES */
.seccion-redes-premium {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    text-align: center;
}

.titulo-redes {
    font-family: 'Cinzel Decorative', serif;
    font-size: 28px;
    color: #003f63;
    margin-bottom: 30px;
    letter-spacing: 2px;
    padding: 0 20px;
}

.contenedor-redes-flotantes {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap: 15px;
    max-width: 1250px;
    margin: 0 auto;
    padding: 40px 2%;
    justify-items: center;
    perspective: 1000px;
}

.tarjeta-red {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 20px 15px;
    width: 100%;
    max-width: 210px;
    min-height: 220px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.tarjeta-red i {
    font-size: 40px;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #003f63, #0081c2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tarjeta-red h4 {
    font-family: 'Lora', serif;
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.tarjeta-red p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.tarjeta-red:hover {
    transform: translateY(-18px) rotateX(2deg) !important;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 63, 99, 0.15);
    border-color: #0081c2;
    z-index: 10;
}


.tarjeta-red.revelar:hover {
    transform: translateY(-20px) rotateX(10deg);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 63, 99, 0.15);
    border-color: #0081c2;
}


.tarjeta-red.whatsapp:hover {
    border-color: #25D366;
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.15);
}

.tarjeta-red.whatsapp i {
    background: linear-gradient(to bottom, #128C7E, #25D366);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-redes {
    margin-top: 40px;
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: bounce 2s infinite;
}

/* FOOTER */
.pie-pagina {
    background-color: #001a2c;
    color: #ffffff;
    padding: 40px 0 20px 0;
    width: 100%;
}

.contenedor-footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    width: 100%;
    margin: 0;
    padding: 0 5%;
    text-align: left;
}

.logo-footer {
    width: 120px;
    height: auto;
    border-radius: 50%;
    mix-blend-mode: lighten;
    margin-bottom: 15px;
}

.columna-footer h4 {
    font-family: 'Cinzel Decorative', serif;
    color: #0099e6;
    border-bottom: 2px solid #0099e6;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.barra-copyright {
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    width: 100%;
    font-size: 13px;
    opacity: 0.6;
}

/* Media Queries para Redes */
@media (max-width: 1100px) {
    .contenedor-redes-flotantes { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .contenedor-redes-flotantes { grid-template-columns: 1fr; }
    .contenedor-footer { grid-template-columns: 1fr; text-align: center; }
    .columna-footer h4 { margin: 20px auto; }
}



.contenedor-busqueda-principal {
    position: relative;
    width: 100%;
    max-width: 850px;
    margin: 20px auto;
}

.sugerencias-dropdown {
    position: absolute;
    top: 90%;
    left: 20px;
    right: 20px;
    background: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none;
    z-index: 999;
    padding-top: 20px;
    border: 1px solid #eee;
}

.item-sugerencia {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s;
    border-bottom: 1px solid #7f7f7f;
}

.item-sugerencia:hover {
    background: #f8f9fa;
}

.item-sugerencia img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 15px;
    object-fit: cover;
}

.item-sugerencia span {
    font-family: 'Lora', serif;
    color: #003f63;
    font-weight: 600;
}



@media (max-width: 600px) {
    .contenedor-footer {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 10%;
    }

    .footer-logo-container {
        margin: 0 auto 15px; 
        width: 100px;
    }

    .descripcion-firma {
        font-size: 14px;
        max-width: 280px;
        margin: 0 auto;
    }

    .columna-footer h4 {
        margin: 0 auto 20px;
        display: table;
        font-size: 1.1rem;
    }

    .enlaces-footer {
        padding: 0;
    }

    .enlaces-footer li {
        margin-bottom: 12px;
    }

    .enlaces-footer a {
        font-size: 16px;
        display: block; 
    }

    .redes-sociales {
        justify-content: center;
        gap: 25px;
        margin-top: 20px;
    }

    .redes-sociales i {
        font-size: 1.8rem;
    }

    .barra-copyright {
        font-size: 12px;
        padding: 20px 5%;
        line-height: 1.4;
    }
}
