/* ================= VARIABLES ================= */
:root {
    --rojo: #bd0b3a;
    --rojo-claro: #c7314a;
    --rojo-obscuro:#a1012ce7;
    --azul: #113f6d;
    --azul-oscuro: #0c1844;
    --blanco: #f5f5f5;
    --gris: #d8d8d8;
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--rojo);
    color: var(--blanco);
    line-height: 1.6;
}

/* ================= UTILIDADES ================= */
.contenedor {
    max-width: 1200px;
    margin: auto;
    padding: 4em 1.5em;
}

h1, h2 {
    text-align: center;
    margin-bottom: 1.5em;
}

/* ================= BOTONES ================= */
.btn-principal {
    display: inline-block;
    background-color: var(--rojo);
    color: var(--gris);
    padding: 0.9em 2em;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-principal:hover {
    background-color: var(--gris);
    color: var(--azul);
    transform: translateY(-2px);
}

@media (max-width: 700px) {
    .btn-principal {
        font-size: 1em; /* antes estaba por defecto, más grande */
        padding: 0.75em 1.3em; /* menos padding para que no se vea gigante */
    }

    .btn-cta {
        font-size: 1em;
        padding: 0.8em 1.4em; /* ajusta para que no crezca verticalmente */
    }
}

@media (max-width: 385px) {
    .btn-principal {
        font-size: 0.90em; /* antes estaba por defecto, más grande */
        padding: 0.65em 1.15em; /* menos padding para que no se vea gigante */
    }

    .btn-cta {
        font-size: 0.85em;
        padding: 0.6em 1.2em; /* ajusta para que no crezca verticalmente */
    }
}


/* ================= HEADER GENERAL ================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--azul);
    border-bottom: 2px solid var(--blanco);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 0.6em 1.5em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 80px;
}

/* ================= NAV DESKTOP ================= */
.nav-desktop {
    display: flex;
    gap: 2em;
}

.nav-desktop a {
    color: var(--blanco);
    text-decoration: none;
    font-weight: bold;
}

.nav-desktop a {
    color: var(--blanco);
    text-decoration: none;
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease;
}

/* HOVER */
.nav-desktop a:hover {
    color: var(--rojo-claro);
}

.nav-desktop a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--rojo-claro);
    transition: width 0.3s ease;
}

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


/* ================= MENU MOVIL ================= */
.menu-movil {
    display: none;
    font-size: 2.5em;
    color: var(--blanco);
}

/* ================= HERO ================= */
.hero {
    height: 100vh;
    background:
        linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
        url("img/fondos/imagen2.jpeg") center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 90px;
}

.hero h1 {
    color: var(--blanco);
    font-size: 2.2em;
}

/* ================= QUIÉNES SOMOS ================= */
.quienes-somos {
    background: var(--rojo);
    font-size: large;
}

.quienes-somos .contenedor {
    display: flex;
    align-items: center;
    gap: 3em;
}

/* Imagen */
.qs-imagen {
    flex: 1;
    height: 320px;
    border-radius: 22px;
    background:
        linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)),
        url("img/imagenes/imagen2.jpeg") center / cover no-repeat;
    box-shadow: 0 12px 28px rgba(0,0,0,.45);
}

/* Texto */
.qs-texto {
    flex: 1;
}

.qs-texto h2 {
    text-align: left;
    margin-bottom: 1em;
}

.qs-texto p {
    font-size: 1.05em;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 800px) {
    .quienes-somos .contenedor {
        flex-direction: column;
        text-align: center;
    }

    .qs-texto h2 {
        text-align: center;
    }

    .qs-imagen {
        width: 100%;
        height: 260px;
    }
}


/* ================= AJUSTE QUIENES SOMOS MOVIL ================= */
@media (max-width: 800px) {
    .quienes-somos .contenedor {
        padding-top: 2em;
    }
}

/* ================= SERVICIOS (INDEX) ================= */
#nuestros-servicios {
    background: var(--rojo);
    padding: 0em 1.5em 1em 1.5em;
}

#nuestros-servicios h2{
    padding-bottom: 1em;
}

.servicios-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2em;
}

.servicio-card {
    background: var(--gris);
    padding: 2em;
    border-radius: 18px;
    text-align: center;
    color: var(--azul);
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0,0,0,.35);
    transition: transform .3s, box-shadow .3s;
}

.servicio-card:hover {
    transform: translateY(-8px);
    background-color: var(--azul);
    color: var(--blanco)
}

/* ================= PAGINAS DE SERVICIO ================= */
.servicio-descripcion {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3em;
}

/* ================= GALERIA ================= */
.galeria {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5em;
    padding-bottom: 4em;
    justify-content: center;
}

.galeria img {
    width: 100%;
    height: 260px;           /* TODAS MISMO TAMAÑO */
    object-fit: cover;       /* recorte elegante */
    border-radius: 18px;     /* ESQUINAS REDONDAS */
    box-shadow: 0 8px 20px rgba(0,0,0,.4);
    transition: transform .3s, box-shadow .3s;
    cursor: pointer;
}


.galeria img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 28px rgba(0,0,0,.55);
}

.galeria img:active {
    transform: scale(0.98);
}

/* ================= MOVIL GALERIA ================= */
/* Tablets */
@media (max-width: 900px) {
    .galeria {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Celulares */
@media (max-width: 600px) {
    .galeria {
        grid-template-columns: repeat(2, 1fr); /* NUNCA 1 */
    }

    .galeria img {
        height: 150px;
    }
}


/* ================= HEADER SIMPLE ================= */
.header-simple {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--azul);
    padding: 0.6em 1.5em;
    border-bottom: 2px solid var(--blanco);
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 80px;
    overflow: visible;
}


.header-servicio {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* BOTÓN REGRESAR */
.btn-back {
    position: absolute;
    left: 1.5em;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 0.4em;

    color: var(--blanco);
    background: rgba(255,255,255,0.12);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;

    padding: 0.4em 0.7em;
    border-radius: 999px;

    transition: background 0.25s ease, transform 0.2s ease;
}

.icon-back {
    font-size: 1.6em;
    line-height: 1;
    margin-top: -1px; /* ajuste óptico */
}

.btn-back:hover {
    color: var(--azul);
    background-color: var(--gris);
    /*transform: translateX(-3px);*/
}

.header-simple .logo img {
    height: 80px;
}

/* ================= header simple movil ================= */
@media (max-width: 550px) {
    .header-servicio {
        justify-content: flex-start;
    }

    .logo-servicio {
        margin-left: auto; /* SE VA TOTALMENTE A LA DERECHA */
        margin-right: 0.85em;    
    }
}

@media (max-width: 360px) {
    .logo-servicio img {
        height: 55px;
    }
    /*.text-back {
        display: none;
    }*/
}

@media (max-width: 320px) {
    .logo-servicio img {
        height: 55px;
    }
    .text-back {
        display: none;
    }
}


/* ================= FOOTER ================= */
footer {
    background: var(--gris);
    color: var(--azul-oscuro);
    text-align: center;
    padding: 1em;
    font-size: 0.9em;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
    .menu-movil {
        display: block;
    }

    .hero h1 {
        font-size: 1.6em;
    }
}

/* ================= FOOTER LINKS ================= */
footer a {
    color: var(--azul-oscuro);
    text-decoration: none;
    font-weight: none;
    position: relative;
    padding-bottom: 1px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--rojo-claro);
}

/* Subrayado bonito al hover */
footer a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background: var(--rojo-claro);
    transition: width 0.3s ease;
}

footer a:hover::after {
    width: 100%;
}

.derechos-rev{
    color: var(--rojo-obscuro);
}

/* ================= LIGHTBOX ================= */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 2000;
}

.lightbox.activo {
    opacity: 1;
    pointer-events: all;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,.6);

    -webkit-user-drag: none;
    user-select: none;

    cursor: zoom-in;
    transition: transform 0.25s ease;
    touch-action: pan-x pan-y pinch-zoom;
}

.lightbox-cerrar {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5em;
    color: white;
    cursor: pointer;
    font-weight: bold;
    z-index: 2100;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    border: none;
    color: white;
    font-size: 3em;
    padding: 0.2em 0.4em;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s, transform 0.2s;
    z-index: 2100;
    user-select: none;
}

.lightbox-nav:hover {
    background: rgba(0,0,0,0.7);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: 30px;
}

.lightbox-nav.next {
    right: 30px;
}

@media (max-width: 600px) {
    .lightbox-img {
        max-width: 95%;
        max-height: 80vh;
    }

    .lightbox-nav {
        display: none;
    }
}

/* ================= LIGHTBOX ZOOM (NO ROMPE NADA) ================= */

.lightbox-img {
    cursor: zoom-in;
    transition: transform 0.25s ease;
    touch-action: pinch-zoom;
}

.lightbox-img.zoomed {
    cursor: grab;
}

.lightbox-img.zoomed:active {
    cursor: grabbing;
}

/* Tablets y celulares normales → 2 columnas */
@media (max-width: 768px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2em;
    }

    .servicio-card {
        padding: 1.5em 1em;
    }

    .servicio-card h3 {
        font-size: 1em;
    }
}

/* Celulares MUY pequeños → 1 columna */
@media (max-width: 380px) {
    .servicios-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= TITULOS DE SECCION ================= */
.section-title {
    font-size: 2em;
    margin-bottom: 1.5em;
}

@media (max-width: 600px) {
    .section-title {
        font-size: 1.7em;
    }
}


/* ================= FACILIDADES ================= */
.facilidades {
    background: var(--gris);
    color: var(--blanco);
}

.facilidades h2 {
    color: var(--azul-oscuro);
    margin-bottom: 2em;
}

.facilidades ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2em;
    max-width: 900px;
    margin: auto;
}

.facilidades li {
    display: flex;
    align-items: flex-start;
    gap: 0.8em;
    background: var(--azul);
    padding: 1em 1.2em;
    border-radius: 16px;
    font-size: 0.95em;
    line-height: 1.4;
}

.facilidades .icon {
    width: 20px;
    height: 20px;
    color: #4ade80;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ================= CTA ================= */
.cta {
    background:  var(--gris);
    color: var(--azul-oscuro);
    text-align: center;
    padding: 4em 1.5em;
}

.cta h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8em;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 2em;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--azul-oscuro);
}

.btn-cta {
    display: inline-block;
    background-color: var(--azul);
    color: var(--blanco);
    padding: 0.9em 2em;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: var(--rojo-claro);
    color: var(--blanco);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .cta h2 {
        font-size: 1.8rem;
    }
}


/* ================= CONTACTO ================= */
.contacto {
    background: var(--rojo);
    text-align: center;
}

.contacto h2 {
    margin-bottom: 2em;
}

.contacto .contenedor {
    max-width: 900px;
}

/* MAPA */
.mapa {
    margin-bottom: 2.5em;
}

.mapa iframe {
    width: 100%;
    height: 450px;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(0,0,0,.45);
}

/* DATOS */
.datos-contacto {
    display: flex;
    justify-content: center;
    gap: 3em;
    background: var(--rojo-obscuro);
    padding: 2em 3em;
    border-radius: 22px;
    font-weight: bold;
    font-size: 1em;
    line-height: 1.6;
}

/* ================= LINKS CONTACTO ================= */
.datos-contacto .contacto-link {
    margin: 0;
    color: var(--gris);
    text-decoration: none;
    font-size: 1.05em;
    line-height: 1.6;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.datos-contacto .contacto-link:hover {
    color: var(--blanco);
    text-decoration: none;
}

@media (max-width: 768px) {
    .datos-contacto .contacto-link {
        white-space: normal;
    }
}


/* MÓVIL */
@media (max-width: 900px) {
    .mapa iframe {
        height: 320px;
    }

    .datos-contacto {
        flex-direction: column;
        gap: 0.8em;
        padding: 1.5em;
        font-size: 1em;
    }
}

/* ================= REDES ================= */
.redes {
    background-color: var(--gris);
    text-align: center;
    padding: 3em 1.5em;
}

.redes h2 {
    color: var(--azul-oscuro);
    font-size: 2rem;
    margin-bottom: 0.5em;
}

.redes p {
    color: var(--azul);
    font-weight: bold;
    margin-bottom: 2em;
}

.redes-iconos {
    display: flex;
    justify-content: center;
    gap: 1.5em;
}

.redes-iconos a {
    width: 50px;
    height: 50px;
    background-color: var(--azul);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    touch-action: manipulation;
}

.redes-iconos img {
    width: 24px;
    height: 24px;
    filter: invert(1);
}

.redes-iconos a:hover {
    background-color: var(--rojo-claro);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .cta h2 {
        font-size: 1.8rem;
    }

    .redes-iconos {
        gap: 1em;
    }
}


    /* ================= ICONOS SERVICIOS ================= */
    .servicio-icono {
        width: 64px;
        height: 64px;
        margin: 0 auto 1.2em;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--rojo-claro);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.600);
        border-radius: 100%;
    }


    .servicio-icono img {
        width: 36px;
        height: 36px;
        object-fit: contain;
    }

    .servicio-icono {
        color: var(--blanco);
    }


/* ================= ICONOS SERVICIOS MOVIL ================= */
@media (max-width: 600px) {
    .servicio-icono {
        width: 54px;
        height: 54px;
    }

    .servicio-icono img {
        width: 30px;
        height: 30px;
    }
}
.servicio-icono {
    color: var(--blanco);
}

/* ================= MENU MOVIL DESPLEGABLE ================= */
@media (max-width: 900px) {
    .nav-desktop {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--azul);
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-desktop a {
        width: 100%;
        text-align: center;
        padding: 1em 0;
        border-top: 1px solid rgba(255,255,255,0.15);
    }

    .nav-desktop.activo {
        max-height: 300px;
    }
    
    .menu-movil {
    cursor: pointer;
    user-select: none;
    }

}

/* ================= BOTÓN WHATSAPP FLOTANTE ================= */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 58px;
    height: 58px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 25px rgba(0,0,0,.35);
    z-index: 3000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    touch-action: manipulation;
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 16px 30px rgba(0,0,0,.45);
}

/* Ajuste móvil */
@media (max-width: 600px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 95px;
        right: 16px;
    }

    .whatsapp-float img {
        width: 35px;
        height: 35px;
    }
}

/* ICONO WHATSAPP EN BLANCO */
.whatsapp-float img {
    filter: invert(1);
}

/* Ajuste móvil logo header */
@media (max-width: 900px) {
    .header-simple .logo img {
        height: 80px;
    }
}
@media (max-width: 600px) {
    .header-simple .logo img {
        height: 80px;
    }
}

/* ================= BOTÓN TIKTOK FLOTANTE ================= */
.tiktok-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 58px;
    height: 58px;
    background-color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 25px rgba(0,0,0,.35);
    z-index: 3000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    touch-action: manipulation;
}

.tiktok-float img {
    width: 30px;
    height: 30px;
}

.tiktok-float:hover {
    transform: scale(1.08);
    box-shadow: 0 16px 30px rgba(0,0,0,.45);
}

/* Ajuste móvil */
@media (max-width: 600px) {
    .tiktok-float {
        width: 60px;
        height: 60px;
        bottom: 26px;
        right: 16px;
    }

    .tiktok-float img {
        width: 30px;
        height: 30px;
    }
}

/* ICONO TIKTOK EN BLANCO */
.tiktok-float img {
    filter: invert(1);
}


/* ================= LEGALES ================= */
.legal {
    min-height: 100vh;
    padding-top: 6em;
}



.legal-card {
    background: var(--blanco);
    color: var(--azul-oscuro);
    border-radius: 22px;
    padding: 3em 3em;
    box-shadow: 0 18px 40px rgba(0,0,0,.35);
    max-width: 900px;
    margin-top: 2.5em; /* separación visual elegante */
    margin-bottom: 2.5em;
}

@media (max-width: 600px) {
    .legal-card {
        margin-top: 1.5em;
    }
}


/* Títulos */
.legal-card h1 {
    text-align: center;
    margin-bottom: 1.5em;
    font-size: 2.2em;
    color: var(--azul);
}

.legal-card h2 {
    margin-top: 2em;
    margin-bottom: 0.6em;
    font-size: 1.2em;
    color: var(--rojo);
    text-align: left;
}

/* Texto */
.legal-card p {
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 1em;
}

/* Links */
.legal-card a {
    color: var(--azul);
    font-weight: bold;
    text-decoration: none;
}

.legal-card a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .legal-card {
        padding: 2em 1.5em;
    }

    .legal-card h1 {
        font-size: 1.8em;
    }
}

/* ==================================================
   CONTACTO – HOVER ESTILO NAVBAR
================================================== */

.contacto-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8em;
    color: var(--blanco);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

/* Cambio de color al hover */
.contacto-item:hover {
    color: var(--blanco);
}

/* Línea animada debajo (igual que navbar) */
.contacto-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--blanco);
    transition: width 0.3s ease;
}

/* Animación al hover */
.contacto-item:hover::after {
    width: 100%;
}

/* Íconos del contacto */
.contacto-item img {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

/* Pequeño movimiento del ícono */
.contacto-item:hover img {
    transform: scale(1.15);
}

@media (max-width: 900px) {
    .contacto-item {
        justify-content: center;
        font-size: 1em;
    }
}

.servicio-bg {
    background-color: var(--rojo);
    width: 100%;
    padding-top: 3em;
}

.servicio-hero {
    width: 100%;
    background-color: var(--gris);
    padding-top: 120px;
    padding-bottom: 0.1px;
}

.servicio-hero h2 {
    font-size: 1.7em;
    color: var(--azul);
}


.servicio-page {
    max-width: 1200px;
    margin: auto;
    padding-left: 1.5em;
    padding-right: 1.5em;
}

/* ===== AJUSTE DE TÍTULOS EN MÓVILES MUY CHICOS ===== */
@media (max-width: 425px) {
    .servicio-page h1,
    .servicio-page h2 {
        font-size: 1.4em; /* ajusta según tu diseño */
        line-height: 1.2;
    }
}

/* =========================================
   FACILIDADES – AJUSTE EN MÓVILES MUY CHICOS
========================================= */
@media (max-width: 366px) {

    .facilidades ul {
        gap: 0.8em;
    }

    .facilidades li {
        padding: 0.8em 1em;
        font-size: 0.88em;
        line-height: 1.3;
        border-radius: 14px;
    }

    .facilidades .icon {
        width: 18px;
        height: 18px;
        margin-top: 1px;
    }
}

@media (max-width: 900px) {
    header {
        transition: transform 0.3s ease;
    }

    header.hide {
        transform: translateY(-100%);
    }
}

/* ================= LISTAS LEGALES ================= */
.legal-card ul {
    list-style-position: inside;
    padding-left: 0;
    margin: 1em 0 1.2em;
}

.legal-card li {
    margin-bottom: 0.6em;
    line-height: 1.6;
    font-size: 1.05em;
}

/* ================= LEGALES – AJUSTE MÓVIL ================= */
@media (max-width: 900px) {
    .legal {
        padding-top: 5.5em;
    }

    .legal-card {
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        max-width: 100%;
    }
}

/* ================= Separar boton principal del hero  ================= */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content .btn-principal {
    margin-top: 2.5em;
}

@media (max-width: 600px) {
    .hero-content .btn-principal {
        margin-top: 2em;
    }
}
