*{ 
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, Helvetica, sans-serif;
}
section {
    padding: 40px 20px;
}
/* ================= HEADER ================= */

header{
    background:linear-gradient(90deg,#0a2540,#1e3a8a);
    color:white;
    display:flex;
    align-items:center;
    padding:30px 60px; /* ⬅️ más espacio */
    position:relative;
    min-height:110px; /* ⬅️ ás alto */
    border-bottom:4px solid #3b82f6;
}

/* LOGO */
.logo{
    position:absolute;
    left:50px;
    top:50%;
    transform:translateY(-50%);
}

.logo img{
    max-height:90px; /* ⬅️ logo más grande */
}

/* MENU */
nav{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:35px;
    justify-content:center; 
    align-items:center;     
    width:100%;
    max-width:600px; 
}
/* BOTONES MENU */

nav a{
    color:#e0f2fe;
    text-decoration:none;
    font-weight:bold;
    font-size:20px;
    padding:10px 18px;
    border-radius:10px;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
    transition:0.3s;

    display:flex;
    align-items:center;
    justify-content:center;
}
nav a:hover{
    background:#3b82f6;
    color:white;
}

/* BANDERAS */
.idiomas{
    position:absolute;
    right:50px;
}

.idiomas img{
    width:45px; /* ⬅️ ligeramente más grandes */
    margin-left:12px;
    cursor:pointer;
}

/* ================= HERO ================= */

.hero{
    background:
    linear-gradient(rgba(10,37,64,.75),rgba(30,58,138,.85)),
    url("fondo.avif") center/cover no-repeat;
    min-height:70vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:80px 20px;
}

.hero-texto{
    background:rgba(255,255,255,0.08);
    padding:20px 45px;
    text-align:center;
    color:white;
    border-radius:16px;
    border:1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    box-shadow:0 15px 40px rgba(0,0,0,.4);
}

.hero-texto .marca{
    font-size:72px;
    color:#93c5fd;
    font-weight:800;
    line-height:1.1;
}

.hero-texto h2{
    font-size:30px;
    margin-top:20px;
    margin-bottom: 13px;
}
.hero-texto h1{
    font-size:22px;
    margin-top:15px;
    line-height:1.3;
}
.hero-texto p{
    line-height:1.55;
}

/* ================= TITULOS ================= */

.titulos{
    color:white;
    text-align:center;
    padding:22px 10px;
    background:linear-gradient(90deg,#0a2540,#1e3a8a);
    border-bottom:4px solid #3b82f6;
    border-top:4px solid #3b82f6;
}

.titulos h2{
    font-size:34px;
    letter-spacing:1px;
}

/* ================= PAGINAS LEGALES ================= */

.legal-header{
    background:linear-gradient(90deg,#0a2540,#1e3a8a);
    color:white;
    width:100%;
    min-height:140px;
    padding:30px 10px;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.legal-header h1{
    font-size:48px;
}

/* CONTENIDO */
.legal{
    max-width:900px;
    margin:40px auto;
    padding:20px;
    line-height:1.7;
    font-size:18px;
    color:#0a2540;
}

/* TITULOS */
.legal h2{
    margin-top:30px;
    margin-bottom:10px;
    text-align:left;
    color:#1e3a8a;
}

/* ENLACES */
.legal a{
    color:#2563eb;
    text-decoration:none;
}

.legal a:hover{
    text-decoration:underline;
}

.llamar-fijo{
    display:none;
}


/* ===== SEO TEXTO OCULTO ===== */

.seo-texto{
    position:absolute;
    left:-9999px;
    width:1px;
    height:1px;
    overflow:hidden;
}

/* ===== BANDERAS PAGINAS LEGALES ===== */

.idiomas-legal{
    position:absolute;
    top:15px;
    right:20px;
    display:flex;
    gap:10px;
    align-items:center;
}

.idiomas-legal img{
    width:38px;
    height:auto;
    max-height:38px;
    object-fit:contain;
    cursor:pointer;
}

/* ================= MOVIL ================= */

@media(max-width:900px){

    .quien,
    .info{
        grid-template-columns:1fr;
        padding:50px 20px;
    }
    body{
        padding-bottom: 66px;
    }
    .lado{
        display:none;
    }

    /* 🔥 HEADER FIX REAL */
    header{
        flex-direction:column;
        align-items:center;
        gap:15px;
    }

    .logo{
        position:static;
        transform:none;
    }

    nav{
        position:static;
        transform:none;
        margin-top:10px;
        justify-content:center;
        flex-direction:column;
        align-items:center;
        gap:15px;
    }

    .idiomas{
        position:static;
        margin-top:10px;
    }

    /* opcional pero recomendado */
    nav a{
        width:80%;
        text-align:center;
    }


    /* 🔥 HERO RESPONSIVE FIX */

    .hero{
        padding:40px 10px;
    }

    .hero-texto{
        padding:25px 15px; /* menos padding lateral */
        width:100%;
        max-width:100%;
    }

    .hero-texto p{
        font-size:clamp(13px, 3.8vw, 16px);
        line-height:1.55;
    }

    /* texto adaptable */
    .hero-texto .marca{
        font-size:clamp(34px, 9vw, 60px);
        font-weight:800;
        line-height:1.1;
    }

    .hero-texto h2{
        font-size:clamp(16px, 4.5vw, 26px);
        line-height:1.3;
        word-break:break-word;
    }
    .hero-texto h1{
        font-size:clamp(16px, 5vw, 22px);
        line-height:1.3;
        margin-top:10px;
}
    .llamar-fijo{
        display:flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #000000; /* verde tipo llamada */
        color: white;
        text-align: center;
        padding: 18px;
        font-size: 22px;
        font-weight: bold;
        text-decoration: none;
        z-index: 3000;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
        transition: 0.3s;
    }
/* ===== BOTÓN LLAMAR EN MÓVIL ===== */

    .llamar-fijo{
        display: flex;              /* Se muestra */
        position: fixed;            /* Flotante */
        bottom: 0;                  /* Pegado abajo */
        left: 0;                    
        width: 100%;                /* Ancho completo */
        background: #000000;        /* Verde tipo llamada */
        color: white;
        text-align: center;
        font-size: 22px;
        font-weight: bold;
        text-decoration: none;
        padding: 18px;
        z-index: 3500;              /* Entre WhatsApp y contenido */
        
        justify-content: center;    /* Centrar horizontal */
        align-items: center;        /* Centrar vertical */
    }

    .llamar-fijo:hover{
        background: #000000;        /* Verde más oscuro al pasar el ratón */
    }
}
