/*==================================================
                RESET Y CONFIGURACIÓN GENERAL
==================================================*/

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

html{
    scroll-behavior:smooth;
}

:root{

    --container:1200px;
    --section-space:80px;

    --title-size:clamp(2rem,4vw,3rem);
    --subtitle-size:1.35rem;
    --text-size:1rem;

    --primary:#081B33;
    --secondary:#C9A227;

    --background:#f8f8f8;
    --white:#ffffff;
    --text:#222;
    --text-light:#555;
    --border:#ececec;

}

body{

    font-family:'Inter',sans-serif;
    background:var(--background);
    color:var(--text);

    line-height:1.7;

    padding-top:72px;

}

section{

    width:min(92%,var(--container));

    margin:0 auto;

   padding:20px 0;

}

.container{

    width:min(92%,var(--container));

    margin:0 auto;

}

/*==================================================
                    HEADER
==================================================*/

header{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:72px;

    background:var(--primary);

    z-index:1000;

    box-shadow:0 2px 10px rgba(0,0,0,.12);

}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:72px;

}

.logo{

    display:flex;

    align-items:center;

}

.logo-dg{

    font-family:'Playfair Display', serif;

    font-size:2rem;

    color:#C9A227;

    text-shadow:0 1px 2px rgba(0,0,0,.25);

}

.logo-texto{

    color:white;

    letter-spacing:3px;

    font-size:15px;

    font-weight:500;

}

nav{

    display:flex;

    gap:32px;

}

nav a{

    color:white;

    text-decoration:none;

    text-transform:uppercase;

    font-size:14px;

    font-weight:500;

    transition:.3s;

}

nav a:hover{

    color:var(--secondary);

}
/*==================================================
                    HERO
==================================================*/

.hero{

    display:grid;

    grid-template-columns:38% 62%;

    align-items:center;

    gap:4rem;

    min-height:500px;
padding-top:20px;
    padding-bottom:20px;
}

.hero-foto{

    display:flex;

    justify-content:center;

    align-items:flex-end;

}

.hero-foto img{

    width:100%;

    max-width:340px;

    height:auto;

    display:block;

}

.hero-info{

    max-width:620px;

}

.hero-info h1{

    font-family:'Playfair Display',serif;

    font-size:clamp(2.4rem,4vw,3.7rem);

    line-height:1.05;

    color:var(--primary);

    margin-bottom:20px;

}

.linea{

    width:400px;

    height:3px;

    background:var(--secondary);

    margin:22px 0 28px;

}

.hero-info h3{

    font-size:0.9rem;

    letter-spacing:2px;

    font-weight:600;

    color:#666;

    margin-bottom:18px;

    text-transform:uppercase;

}

.hero-info p{

    font-size:1rem;

    color:var(--text-light);

    line-height:1.8;

    margin-bottom:28px;

}

.datos{

    display:flex;

    flex-direction:column;

    gap:16px;

    margin-bottom:30px;

}

.dato{

    font-size:0.95rem;

    color:#444;

}

.hero-btn{

    display:inline-block;

    width:auto;

    padding:15px 32px;

    background:var(--primary);

    color:white;

    text-decoration:none;

    border:none;

    border-radius:6px;

    font-size:0.95rem;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.hero-btn:hover{

    background:#12365d;

    transform:translateY(-2px);

}
/*==================================================
                    SOBRE MÍ
==================================================*/

.sobre{
    margin:40px auto;
}

.titulo-seccion{
    text-align:center;
    margin-bottom:20px;
}

.titulo-seccion h2{
    font-family:'Playfair Display',serif;
    font-size:clamp(2rem,3vw,2.6rem);
    color:var(--primary);
    margin-bottom:10px;
    line-height:1.1;
}

.linea-seccion{
    width:70px;
    height:3px;
    background:var(--secondary);
    margin:auto;
}

.sobre-contenedor{

    display:grid;

    grid-template-columns:60% 40%;

    gap:50px;

    align-items:start;

}

.sobre-texto p{

    font-size:1rem;

    line-height:1.9;

    color:var(--text-light);

    margin-bottom:18px;

}

.boton-cv{

    display:inline-block;

    margin-top:10px;

    padding:14px 28px;

    border:2px solid var(--primary);

    border-radius:6px;

    text-decoration:none;

    color:var(--primary);

    font-weight:600;

    transition:.3s;

}

.boton-cv:hover{

    background:var(--primary);

    color:white;

}

.sobre-info{

    border-left:2px solid var(--border);

    padding-left:35px;

}

.info-item{

    display:flex;

    gap:18px;

    margin-bottom:22px;

}

.icon{

    width:60px;
    height:60px;

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

    margin-bottom:22px;

    border-radius:50%;

    background:#eef3f8;

    color:var(--primary);

    font-size:30px;

    transition:.3s;

}

.invest-card:hover .icon{

    transform:translateY(-3px);

    background:var(--primary);

    color:white;

}

.info-item h3{

    font-size:1.1rem;

    color:var(--primary);

    margin-bottom:6px;

}

.info-item p{

    font-size:0.95rem;

    color:var(--text-light);

    line-height:1.7;

}
/*==================================================
            ÁREAS DE INVESTIGACIÓN
==================================================*/

.investigacion{
    margin:25px auto;
    padding-bottom:40px;
}

.investigacion-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

    margin-top:10px;

}

.invest-card{

    background:var(--white);

    padding:6px;

    border:1px solid var(--border);

    border-radius:10px;

    transition:.35s;

    height:100%;
    display:flex;

    flex-direction:column;

    justify-content:space-between;

    min-height:100px;
}

.invest-card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.icon{

    font-size:16px;

    margin-bottom:16px;

}

.invest-card h3{

    font-size:1.3rem;

    color:var(--primary);

    margin-bottom:10px;

    line-height:1.2;

}

.invest-card p{

    font-size:0.85rem;

    color:var(--text-light);

    line-height:1.3;

}
/*==================================================
                    PUBLICACIONES
==================================================*/

.publicaciones{

    margin:90px auto;

}

.publicaciones-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:25px;

}

.publicacion{

    display:flex;

    flex-direction:column;

    background:var(--white);

    border:1px solid var(--border);

    border-radius:14px;

    padding:28px;

    transition:.35s;

    height:100%;

}

.publicacion:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.revista{

    color:var(--secondary);

    font-size:.8rem;

    font-weight:700;

    letter-spacing:1px;

    text-transform:uppercase;
margin-bottom:12px;
}

.publicacion h3{

    margin:0 0 20px;

    color:var(--primary);

    font-size:1.3rem;

    line-height:1.4;

}

.publicacion p{

    color:var(--text-light);

    line-height:1.65;

    margin-bottom:28px;

    flex:1;

}

.publicacion a{

    display:inline-flex;

    align-items:center;

    gap:8px;

    text-decoration:none;

    color:var(--primary);

    font-weight:600;

    transition:.3s;

}

.publicacion a:hover{

    color:var(--secondary);

    transform:translateX(4px);

}
/*==================================================
                    RESEARCH
==================================================*/

.research{

    margin:90px auto;

}

.research-intro{

    max-width:820px;

    margin:0 auto 60px;

    text-align:center;

    font-size:1.05rem;

    line-height:1.9;

    color:var(--text-light);

}

.research-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

}

.research-card{

    background:var(--white);

    padding:35px;

    border:1px solid var(--border);

    border-radius:14px;

    transition:.35s;

    height:100%;

}

.research-card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.research-card h3{

    color:var(--primary);

    font-size:1.45rem;

    margin-bottom:18px;

    line-height:1.4;

}

.research-card p{

    color:var(--text-light);

    line-height:1.8;

    font-size:.96rem;

}
section{
    scroll-margin-top:90px;
}
.sobre,
.investigacion,
.publicaciones,
.research{
    padding-top:9px;
}
.invest-link{

    display:inline-flex;

    align-items:center;

    gap:8px;

    margin-top:22px;

    text-decoration:none;

    color:var(--primary);

    font-weight:600;

    font-size:.95rem;

    transition:.3s;

}

.invest-link i{

    transition:.3s;

}

.invest-link:hover{

    color:var(--secondary);

}

.invest-link:hover i{

    transform:translateX(6px);

}
/*==================================================
        DETALLE DE INVESTIGACIÓN
==================================================*/

.detalle-investigacion{

    margin:80px auto;

}

.detalle-cabecera{

    text-align:center;

    margin-bottom:45px;

}

.detalle-etiqueta{

    display:inline-block;

    color:#7a7a7a;

    font-size:.85rem;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:12px;

}

.detalle-cabecera h2{

    font-family:'Playfair Display',serif;

    color:var(--primary);

    font-size:2.4rem;

    margin-bottom:15px;

}

.detalle-contenido{

    display:grid;

    grid-template-columns:45% 55%;

    gap:50px;

    align-items:start;

}

.detalle-imagen img{

    width:100%;

    border-radius:14px;

    display:block;

    box-shadow:0 15px 40px rgba(0,0,0,.12);

}

.detalle-texto h3{

    color:var(--primary);

    font-size:1.35rem;

    margin:25px 0 12px;

}

.detalle-texto p{

    color:#555;

    line-height:1.9;

}

.detalle-texto ul{

    padding-left:20px;

    margin-top:10px;

}

.detalle-texto li{

    margin-bottom:12px;

    line-height:1.7;

}
.detail-box{

    margin-top:35px;

}

.detail-tags{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-top:18px;

}

.detail-tags span{

    padding:10px 18px;

    background:#eef3f8;

    color:var(--primary);

    border-radius:40px;

    font-size:.9rem;

    font-weight:600;

}
.papers-list{

    margin-top:20px;

    padding-left:20px;

}

.papers-list li{

    margin-bottom:14px;

    line-height:1.7;

}
.detail-columns{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:35px;

    margin:35px 0;

}
.card-top{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:10px;

}

.card-category{

    font-size:.75rem;

    letter-spacing:2px;

    text-transform:uppercase;

    color:#7d8795;

    font-weight:600;

}
/*==================================================
        HERO LÍNEA DE INVESTIGACIÓN
==================================================*/

.hero-linea{

    width:min(92%,1200px);

    margin:50px auto;

}

.hero-banner{

    width:100%;

    height:420px;

    object-fit:cover;

    border-radius:18px;

    display:block;

}

.hero-linea-contenido{

    max-width:850px;

    margin:45px auto 0;

    text-align:center;

}

.hero-kicker{

    display:inline-block;

    color:#C9A227;

    font-size:.8rem;

    letter-spacing:3px;

    text-transform:uppercase;

    margin-bottom:18px;

    font-weight:600;

}

.hero-linea h1{

    font-family:'Playfair Display',serif;

    font-size:clamp(2.8rem,5vw,4.2rem);

    color:#08203a;

    line-height:1.1;

    margin-bottom:18px;

}

.hero-linea p{

    font-size:1.1rem;

    color:#555;

    line-height:1.9;

}
/*==================================================
                RESUMEN
==================================================*/

.resumen-linea{

    width:min(90%,1000px);

    margin:80px auto;

}

.resumen-texto{

    text-align:center;

    font-size:1.15rem;

    line-height:2;

    color:#555;

}
/*==================================================
            OBJETIVOS
==================================================*/

.objetivos-linea{

    width:min(92%,1200px);

    margin:90px auto;

}

.objetivos-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:40px;

}

.objetivo-card{

    background:white;

    border:1px solid #ececec;

    border-radius:16px;

    padding:35px;

    transition:.35s;

}

.objetivo-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 35px rgba(0,0,0,.08);

}

.objetivo-card i{

    font-size:38px;

    color:#08203a;

    margin-bottom:20px;

}

.objetivo-card h3{

    color:#08203a;

    margin-bottom:15px;

    font-size:1.35rem;

}

.objetivo-card p{

    color:#666;

    line-height:1.8;

}
/*==================================================
            TECNOLOGÍAS
==================================================*/

.tecnologias-linea{

    width:min(92%,1200px);

    margin:90px auto;

}

.tecnologias-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

    margin-top:40px;

}

.tecnologia-card{

    background:#fff;

    border-radius:16px;

    padding:35px;

    border:1px solid #ececec;

    transition:.35s;

}

.tecnologia-card:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 35px rgba(0,0,0,.08);

}

.tecnologia-card i{

    font-size:38px;

    color:#08203a;

    margin-bottom:18px;

}

.tecnologia-card h3{

    color:#08203a;

    margin-bottom:12px;

}

.tecnologia-card p{

    color:#666;

    line-height:1.8;

}
/*==================================================
                    IMPACTO
==================================================*/

.impacto-linea{

    width:min(92%,1200px);

    margin:100px auto;

}

.impacto-grid{

    display:grid;

    grid-template-columns:60% 40%;

    gap:50px;

    align-items:start;

}

.impacto-texto h2{

    font-family:'Playfair Display',serif;

    color:#08203a;

    font-size:2.3rem;

    margin:15px 0 25px;

}

.impacto-texto p{

    color:#555;

    line-height:1.9;

    margin-bottom:20px;

}

.dato-impacto{

    background:white;

    border:1px solid #ececec;

    border-radius:14px;

    padding:28px;

    margin-bottom:20px;

}

.dato-impacto h3{

    color:#08203a;

    margin-bottom:10px;

}

.dato-impacto p{

    color:#666;

    line-height:1.7;

}
/*==================================================
                CASOS DE ESTUDIO
==================================================*/

.casos-estudio{

    width:min(92%,1200px);

    margin:100px auto;

}

.casos-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:40px;

}

.caso-card{

    background:white;

    border-radius:16px;

    border:1px solid #ececec;

    padding:35px;

    transition:.35s;

}

.caso-card:hover{

    transform:translateY(-6px);

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.caso-card h3{

    color:#08203a;

    margin-bottom:15px;

}

.caso-card p{

    color:#666;

    line-height:1.8;

}
/*==================================================
        PUBLICACIONES LÍNEA
==================================================*/

.publicaciones-linea{

    width:min(92%,1200px);

    margin:100px auto;

}

.papers-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:45px;

}

.paper-card{

    background:white;

    border:1px solid #ececec;

    border-radius:16px;

    padding:35px;

    transition:.35s;

}

.paper-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(0,0,0,.08);

}

.paper-year{

    color:#C9A227;

    font-weight:700;

    letter-spacing:1px;

}

.paper-card h3{

    margin:18px 0;

    color:#08203a;

    font-size:1.25rem;

    line-height:1.45;

}

.paper-card p{

    color:#666;

    line-height:1.8;

    margin-bottom:25px;

}

.paper-card a{

    color:#08203a;

    text-decoration:none;

    font-weight:600;

}

.paper-card a:hover{

    color:#C9A227;

}
/*==================================================
            PROYECTOS
==================================================*/

.proyectos-linea{

    width:min(92%,1200px);

    margin:100px auto;

}

.proyectos-intro{

    max-width:850px;

    margin:30px auto 50px;

    text-align:center;

    line-height:1.9;

    color:#555;

}

.proyectos-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.proyecto-card{

    background:white;

    border-radius:16px;

    border:1px solid #ececec;

    padding:35px;

    transition:.35s;

}

.proyecto-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(0,0,0,.08);

}

.estado{

    display:inline-block;

    background:#eef3f8;

    color:#08203a;

    padding:6px 14px;

    border-radius:30px;

    font-size:.8rem;

    font-weight:600;

    margin-bottom:18px;

}

.proyecto-card h3{

    color:#08203a;

    margin-bottom:15px;

}

.proyecto-card p{

    color:#666;

    line-height:1.8;

}
/*==================================================
            COLABORACIONES
==================================================*/

.colaboraciones-linea{

    width:min(92%,1200px);

    margin:100px auto;

}

.colaboraciones-intro{

    max-width:900px;

    margin:30px auto 50px;

    text-align:center;

    line-height:1.9;

    color:#555;

}

.logos-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.logo-card{

    height:140px;

    border:1px solid #ececec;

    border-radius:16px;

    background:white;

    display:flex;

    justify-content:center;

    align-items:center;

    transition:.3s;

}

.logo-card:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 35px rgba(0,0,0,.08);

}

.logo-card h3{

    color:#08203a;

    font-size:1rem;

    text-align:center;

}
/*==================================================
                VOLVER
==================================================*/

.volver-home{

    text-align:center;

    margin:90px 0;

}

.boton-volver{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:16px 34px;

    background:#08203a;

    color:white;

    text-decoration:none;

    border-radius:8px;

    transition:.3s;

    font-weight:600;

}

.boton-volver:hover{

    background:#12365d;

}
/*==================================================
                FOOTER
==================================================*/

footer{

    background:#08203A;

    color:white;

    padding:30px 0;

    text-align:center;

}

footer p{

    font-size:.95rem;

    opacity:.9;

}
/* ===========================
   CONTACTO
=========================== */

.contacto{
    background:#f7f8fa;
    padding:40px 20px 80px;
       scroll-margin-top:250px;
}

.contacto-card{

    max-width:1100px;

    margin:50px auto 0;

    background:#fff;

    border-radius:24px;

    padding:70px;

    box-shadow:0 20px 45px rgba(0,0,0,.08);

}

.contacto-header{
    text-align:center;
    margin-bottom:40px;
}

.contacto-header h3{
    font-size:2rem;
    margin-bottom:15px;
}

.contacto-header p{
    max-width:700px;
    margin:auto;
    line-height:1.8;
    color:#555;
}

.contacto-grid{

    display:grid;

    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:50px 90px;

    max-width:900px;

    margin:60px auto;

}

.contacto-item{

    display:flex;

    align-items:flex-start;

    gap:18px;

}

.contacto-item i{

    width:55px;

    height:55px;

    border-radius:50%;

    background:#0b2242;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-shrink:0;

}

.contacto-item strong{

    display:block;

    margin-bottom:10px;

}

.contacto-links{

    display:flex;

    flex-direction:column;

    gap:8px;

}

.contacto-links a{

    color:#0b2242;

    text-decoration:none;

    font-weight:600;

}

.contacto-links a:hover{

    color:#c79b2c;

}

.contacto-footer{
    text-align:center;
    margin-top:50px;
    padding-top:30px;
    border-top:1px solid #ddd;
    color:#666;
}
/*==============================
MENÚ MÓVIL
==============================*/

.menu-toggle{

    display:none;

    background:none;

    border:none;

    color:white;

    font-size:34px;

    cursor:pointer;

}

@media (max-width:900px){

    .menu-toggle{

        display:block;

        z-index:2000;

    }

    nav{

        position:fixed;

        top:0;

        left:0;

        width:100%;

        height:100vh;

        background:rgba(7,26,47,.96);

        backdrop-filter:blur(20px);

        display:flex;

        flex-direction:column;

        justify-content:center;

        align-items:center;

        gap:35px;

        transform:translateX(100%);

        transition:.4s ease;

        z-index:1500;

    }

    nav.open{

        transform:translateX(0);

    }

    nav a{

        font-size:28px;

    }

}
/*==================================================
RESPONSIVE GLOBAL
==================================================*/

@media (max-width: 900px){

    section,
    .container{
        width:min(94%,700px);
    }

    header .container{
        padding:0 16px;
    }

    .logo-texto{
        font-size:0.95rem;
    }

    .hero{
        grid-template-columns:1fr;
        gap:32px;
        text-align:center;
    }

    .hero-foto{
        justify-content:center;
    }

    .hero-info{
        max-width:100%;
    }

    .linea{
        width:180px;
        margin:20px auto 28px;
    }

    .datos{
        align-items:center;
    }

}

@media (max-width:600px){

    body{
        padding-top:72px;
    }

    .hero{
        gap:24px;
        padding:10px 0 30px;
    }

    .hero-foto img{
        max-width:220px;
    }

    .hero-info h1{
        font-size:2rem;
    }

    .hero-info p{
        font-size:.95rem;
    }

    .hero-btn{
        width:100%;
        text-align:center;
    }

}
.laboratorio{

    max-width:1200px;
    margin:auto;
    padding:120px 20px;
    text-align:center;

}

.laboratorio h1{

    font-size:52px;
    color:#071d3a;
    margin-bottom:20px;

}

.laboratorio p{

    font-size:20px;
    color:#555;

}

.cards{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:40px;
    margin-top:60px;

}

.card{

    background:white;
    border-radius:25px;
    padding:40px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.card h2{

    color:#071d3a;
    margin-bottom:20px;

}

.boton{

    display:inline-block;
    margin-top:25px;
    background:#071d3a;
    color:white;
    padding:15px 35px;
    border-radius:50px;
    text-decoration:none;

}

.boton:hover{

    background:#0d376f;

}