*{ 
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* ================= 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:50px 80px;
    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:56px;
    color:#93c5fd;
    font-weight:700;
}

.hero-texto h2{
    font-size:26px;
    margin-top:15px;
}

/* ================= 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;
}

/* ================= QUIEN SOY ================= */

.quien {
    background:#f8fafc;
    color:#0a2540;
    padding:20px 20px;
    text-align:center;
}

.quien p{
    max-width:850px;
    margin:auto;
    font-size:25px;
    line-height:34px;
}

/* ================= GALERIA ================= */

.galeria{
    padding:60px 6%;
    background:#e0f2fe;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:28px;
}

.galeria img{
    width:100%;
    aspect-ratio:4/3;
    object-fit:cover;
    border-radius:14px;
    transition:.25s;
    box-shadow:0 8px 25px rgba(0,0,0,.2);
}

.galeria img:hover{
    transform:scale(1.05);
}
/* ===== SECCION CIUDADES ===== */

.ciudades{
    background:#f8fafc;
    padding:60px 20px;
    text-align:center;
}

.ciudades ul{
    list-style:none;
    padding:0;
    margin:0 auto;
    max-width:600px;
}

.ciudades li{
    margin:12px 0;
}

.ciudades a{
    display:block;
    text-decoration:none;
    color:#1e3a8a;
    font-size:20px;
    font-weight:bold;
    padding:12px;
    border-radius:10px;
    background:#e0f2fe;
    transition:0.3s;
}

.ciudades a:hover{
    background:#3b82f6;
    color:white;
}
/* ===== SECCION CIUDADES COLUMNAS ===== */
.ciudades .columnas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.ciudades .columna {
    flex: 1 1 250px; /* se ajusta al ancho disponible */
}

.ciudades .columna h3 {
    margin-bottom: 15px;
    color: #1e3a8a;
    font-size: 22px;
}

.ciudades .columna ul {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}
/* ===== TEXTO INTRODUCTORIO DE CIUDADES ===== */
.ciudades .ciudades-intro {
    font-size: 18px;
    color: #1e3a8a;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===== TITULOS DE COLUMNA ===== */
.ciudades .ciudades-titulo {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #1e3a8a;
}
/* ================= INFORMACION ================= */

.info{
    background:#f8fafc;
    color:#0a2540;
    padding:20px 20px;
    text-align:center;
    font-size:23px;
    line-height:40px;
}

.telefono{
    color:#2563eb;
    font-weight:bold;
    text-decoration:none;
    font-size:26px;
}

.telefono:hover{
    text-decoration:underline;
}

/* ================= FOOTER ================= */

footer{
    color:#bfdbfe;
    text-align:center;
    padding:25px;
    border-top:4px solid #3b82f6;
    background:linear-gradient(90deg,#0a2540,#1e3a8a);
    align-items:center;
    padding:22px 50px;
    min-height:80px;
    border-bottom:4px solid #3b82f6;
}

/* ================= WHATSAPP ================= */

.whatsapp{
    position: fixed;
    right: 20px;
    bottom: 60px; /* 🔥 SUBIMOS el botón encima del de llamar */
    width: 70px;
    height: 70px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    z-index: 4000; /* 🔥 más alto que todo */
    transition: transform .2s ease, box-shadow .2s ease;
    border:3px solid #3b82f6;
}

.whatsapp:hover{
    transform: scale(1.1);
}

.whatsapp img{
    width:42px;
    height:42px;
}

/* ================= IMAGENES LATERALES ================= */

.quien,
.info{
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:40px;
}

.contenido{
    text-align:center;
    max-width:900px;
    margin:auto;
}

.lado{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px 0;
}

.lado img{
    max-height:200px;
    width:auto;
    object-fit:contain;
}

/* ================= 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-texto{
        padding:30px 40px;
    }
    /* 🔥 HERO RESPONSIVE FIX */

    .hero{
        padding:40px 10px;
    }

    .hero-texto{
        padding:25px 15px; /* menos padding lateral */
        width:100%;
        max-width:100%;
    }

    /* texto adaptable */
    .hero-texto .marca{
        font-size:clamp(28px, 8vw, 56px);
        word-break:break-word;
    }

    .hero-texto h2{
        font-size:clamp(16px, 4.5vw, 26px);
        line-height:1.3;
        word-break:break-word;
    }
    .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 */
    }
}

