:root {
    --azul:#062448;
    --oscuro:#04172e;
    --dorado:#e2ac25;
    --gris:#f2f5f9;
    --texto:#334155
}
* {
    box-sizing:border-box
}
html {
    scroll-behavior:smooth;
    scroll-padding-top:110px
}
body {
    margin:0;
    font:16px/1.65 Arial,Helvetica,sans-serif;
    color:var(--texto)
}
a {
    color:inherit;
    text-decoration:none
}
a:focus-visible,button:focus-visible {
    outline:3px solid #b17d00;
    outline-offset:4px
}
img {
    display:block;
    max-width:100%
}
.contenedor {
    width:90%;
    max-width:1200px;
    margin:auto
}
.barra {
    background:var(--oscuro);
    color:white;
    font-size:13px;
    padding:8px 0
}
.barra .contenedor,.nav {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px
}
header {
    position:sticky;
    top:0;
    background:white;
    z-index:10;
    box-shadow:0 3px 15px #0001
}
.nav {
    min-height:95px
}
.logo {
    width:270px;
    height:auto
}
nav {
    display:flex;
    gap:22px;
    color:var(--azul);
    font-weight:bold;
    font-size:15px
}
nav a:hover,.mas:hover {
    text-decoration:underline
}
#menu-movil {
    display:none;
    background:none;
    border:0;
    font-size:30px;
    color:var(--azul)
}
.portada {
    min-height:610px;
    display:flex;
    align-items:center;
    padding:80px 0;
    background:linear-gradient(90deg,#04172ef5 0%,#062448d9 38%,#06244840 100%),url(imagenes/portada.webp) center/cover;
    color:white
}
.hero {
    max-width:760px
}
.etiqueta {
    color:#946c0b;
    font-size:13px;
    font-weight:bold;
    letter-spacing:2px
}
.portada .etiqueta,.portada h1 span {
    color:var(--dorado)
}
h1,h2,h3 {
    line-height:1.25;
    color:var(--azul)
}
.portada h1 {
    color:white;
    font-size:clamp(32px,4.5vw,58px);
    margin:20px 0
}
.hero p {
    font-size:20px;
    max-width:620px
}
.boton {
    display:inline-block;
    background:var(--dorado);
    color:var(--oscuro);
    padding:14px 23px;
    border-radius:5px;
    font-weight:bold;
    margin:8px 8px 0 0;
    text-align:center
}
.boton:hover {
    background:#f1c54e
}
.secundario {
    background:transparent;
    border:2px solid white;
    color:white
}
.secundario:hover {
    color:var(--oscuro)
}
.seccion {
    padding:75px 0
}
h2 {
    font-size:clamp(27px,3vw,40px);
    margin:0 0 22px
}
h3 {
    font-size:20px;
    margin:0 0 12px
}
p {
    margin:0 0 18px
}
.centrado {
    text-align:center
}
.intro {
    max-width:800px;
    margin:0 auto 32px
}
.grid {
    display:grid;
    gap:28px
}
.tres {
    grid-template-columns:repeat(3,minmax(0,1fr))
}
.dos {
    grid-template-columns:repeat(2,minmax(0,1fr))
}
.cuatro {
    grid-template-columns:repeat(4,minmax(0,1fr))
}
.tarjeta,.identidad {
    background:white;
    border:1px solid #e2e8f0;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 5px 20px #0001
}
.tarjeta img {
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover
}
.tarjeta>div {
    padding:25px
}
.tarjeta {
    transition:transform .2s
}
.tarjeta:hover {
    transform:translateY(-4px)
}
.mas {
    color:#89610b;
    font-weight:bold
}
.nota {
    font-size:12px;
    color:#64748b;
    text-align:center;
    margin:24px 0 0
}
.oscuro {
    background:var(--azul);
    color:white
}
.oscuro h2 {
    color:white
}
.oscuro .identidad {
    background:#ffffff0c;
    border-color:#ffffff30;
    color:white
}
.oscuro .identidad h3 {
    color:var(--dorado)
}
.identidad {
    padding:28px;
    border-top:4px solid var(--dorado);
    text-align:center
}
.identidad p {
    margin:0
}
.gris {
    background:var(--gris)
}
.mitad {
    align-items:center;
    gap:45px
}
.campo {
    width:100%;
    height:440px;
    object-fit:cover;
    object-position:center 55%;
    border-radius:10px
}
.equipo {
    max-width:850px;
    margin:0 auto 30px
}
.perfil img {
    height:380px;
    aspect-ratio:auto;
    object-fit:cover;
    object-position:center 24%
}
.perfil {
    text-align:center;
    border-bottom:4px solid var(--dorado)
}
.detalle-titulo {
    font-size:clamp(30px,4vw,48px);
    margin:22px 0 35px
}
.detalle-imagen {
    border-radius:10px;
    width:100%
}
.alcance {
    padding-left:22px
}
.alcance li {
    margin:10px 0
}
footer {
    background:#031020;
    color:#d6dce5;
    padding:50px 0 25px
}
.pie {
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:35px
}
.pie .logo {
    background:white;
    padding:8px;
    border-radius:5px;
    margin-bottom:15px
}
.pie h3 {
    color:var(--dorado)
}
.pie a {
    display:block;
    margin-bottom:8px
}
.derechos {
    text-align:center;
    border-top:1px solid #ffffff20;
    margin:25px 0 0;
    padding:25px 20px 45px;
    font-size:13px
}
.whatsapp {
    position:fixed;
    bottom:25px;
    right:25px;
    width:68px;
    height:68px;
    background:#25d366;
    color:white;
    border-radius:50%;
    display:grid;
    place-items:center;
    box-shadow:0 4px 15px #0004;
    z-index:20
}
.whatsapp svg {
    width:40px;
    height:40px
}
@media(max-width:1024px) {
    .tres,.cuatro {
    grid-template-columns:repeat(2,minmax(0,1fr))
}
.logo {
    width:220px
}
nav {
    gap:13px
}

}
@media(max-width:800px) {
    #menu-movil {
    display:block
}
.nav {
    position:relative;
    min-height:80px
}
nav {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:white;
    padding:20px;
    box-shadow:0 10px 20px #0002;
    flex-direction:column
}
nav.activo {
    display:flex
}
.portada {
    min-height:530px;
    background-image:linear-gradient(#04172ed9,#062448a6),url(imagenes/portada.webp);
    background-position:65% center
}
.seccion {
    padding:50px 0
}
.dos,.tres,.pie {
    grid-template-columns:1fr
}
.barra .contenedor {
    flex-wrap:wrap;
    justify-content:center;
    gap:5px 15px
}
.campo {
    height:340px
}
.whatsapp {
    width:60px;
    height:60px;
    right:16px;
    bottom:16px
}
.cuatro {
    gap:12px
}
.cuatro .identidad {
    padding:16px
}
.hero p {
    font-size:17px
}

}
@media(max-width:360px) {
    .cuatro {
    grid-template-columns:1fr
}
.logo {
    width:190px
}

}
@media(prefers-reduced-motion:reduce) {
    html {
    scroll-behavior:auto
}
* {
    transition:none!important
}

}


.contacto-superior {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    flex-wrap:wrap
}
.llamadas,.wa-superior {
    display:inline-flex;
    align-items:center;
    gap:6px
}
.wa-superior {
    border-left:1px solid #ffffff50;
    padding-left:14px
}
.wa-superior svg {
    width:19px;
    height:19px;
    color:#25d366
}
.wa-superior:hover {
    text-decoration:underline
}
@media(max-width:480px) {
    .contacto-superior {
    gap:8px
}
.wa-superior {
    padding-left:8px
}

}

/* Icono de llamadas */
.icono-llamada { width: 17px; height: 17px; flex-shrink: 0; vertical-align: middle; }


/* ANIMACIÓN DEL BOTÓN FLOTANTE DE WHATSAPP */

.whatsapp {
    animation: pulsoWhatsApp 2.8s ease-in-out infinite;
}

@keyframes pulsoWhatsApp {

    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    50% {
        transform: scale(1.10);
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
}

/* EFECTO AL PASAR EL CURSOR */

.whatsapp:hover {
    animation: none;
    transform: scale(1.15);
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {
    .whatsapp {
        animation: none;
    }
}
