:root {
    --header-gradient-top: #005c69;   
    --header-gradient-bottom: #002b36;
    
    --bg-color-1: #97c9c4;
    --bg-color-2: #2b7880;
    --bg-color-3: #156270;
    --bg-color-4: #133342;
    --bg-color-5: #0a1a33;

    --text-white: #ffffff;
}

@font-face {
    font-family: 'Helios';
    src: url('../fonts/Helios\ Stencil\ Regular.otf') format('opentype'); /* CORREGIDO: opentype para .otf */
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(to bottom, 
        var(--bg-color-1), 
        var(--bg-color-2), 
        var(--bg-color-3), 
        var(--bg-color-4), 
        var(--bg-color-5)
    );
    background-attachment: scroll;
}

/*HEADER*/
.dgpc-header {
    background: linear-gradient(to bottom, var(--header-gradient-top), var(--header-gradient-bottom));
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px 10px 15px;
    width: 100%;
    box-sizing: border-box;
}

.header-logo-box { margin-bottom: 15px; }
.header-logo { max-width: 100px; height: auto; display: block; }
.header-nav { display: flex; justify-content: center; align-items: center; gap: 20px; width: 100%; }
.nav-link { color: var(--text-white); text-decoration: none; font-family: sans-serif; font-weight: bold; font-size: 14px; letter-spacing: 0.5px; transition: opacity 0.2s; }
.nav-link:hover { opacity: 0.8; }

.degradado { display: none; } /* Si no tiene estilos asignados lo dejamos neutro o lo podés borrar si no lo usás */

/*MAIN CONTENEDOR*/
.presentation-main {
    padding: 40px 20px;
    display: flex;
    flex-direction: column; 
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    position: relative; 
    overflow: hidden;   
}

/*PRESENTACIÓN*/
.intro-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.presentation-container {
    position: relative;
    width: 100%;
    display: inline-block;
}

.presentation-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0px 8px 16px #e97361); 
}

.intro-title {
    position: absolute;
    top: 5%; 
    left: 36%; 
    z-index: 2;
    color: #ffffff;
    font-family: 'Helios', sans-serif;
    font-weight: bold;
    font-size: 5vw; 
    margin: 0;
}

.intro-text {
    position: absolute;
    top: 40%; 
    left: 44%; 
    width: 50%; 
    z-index: 2;
    color: #ffffff;
    font-family: 'Helios', sans-serif;
    font-weight: bold;
    font-size: 2.5vw; 
    line-height: 1.4;
    margin: 0;
}

/*BANNERS*/
.seccion-banner {
    background: linear-gradient(to right, #459fa5, #dedede); 
    color: #ffffff;
    text-align: center;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 2px;
    padding: 8px 0;
    width: 100%;
    max-width: 800px; 
    margin: 40px 0 20px 0;
}

/*MATERIAS*/
.materias-flex-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px; 
    width: 100%;
    max-width: 800px;
    padding: 0 15px;
    box-sizing: border-box;
}

.hoja-papel-wrapper {
    position: relative;
    width: 100%;
    max-width: 230px;
    margin: 0;
}

.hoja-img {
    width: 100%;
    height: auto;
    display: block;
}

.hoja-texto-absoluto { 
    position: absolute;
    top: 12%;    
    left: 10%;   
    width: 80%;  
    height: 78%;
    z-index: 2;
    text-align: center;
    font-family: sans-serif;
    color: #2c2c2c;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
}

.hoja-texto-absoluto h2 {
    font-size: 16px;
    font-weight: bold;
    font-style: italic;
    margin-top: 10px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.hoja-texto-absoluto p {
    font-size: 13px;
    margin: 4px 0;
    line-height: 1.3;
}

/*SECCIÓN HABILIDADES*/
.habilidades-flex-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; 
    gap: 20px;
    width: 100%;
    max-width: 600px;
    margin: 30px 0;
    z-index: 2; 
}

.icono-habilidad {
    width: 75px;  
    height: 75px; 
    object-fit: contain;
    border-radius: 16px; 
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.4); 
    transition: transform 0.2s ease; 
}

.icono-habilidad:hover {
    transform: translateY(-4px); 
}

/*animales de fondo*/
.bg-decoracion {
    position: absolute;
    z-index: -1;        
    pointer-events: none;
    opacity: 0.5;       
}

.bg-ballena {
    top: 67%;           
    left: 30%;
    transform: translateX(-50%);
    width: 98%;         
    max-width: 450px;   
}

.bg-burbujas {
    top: 50%;
    right: 10%;
    width: 80px;
    opacity: 0.3;
}

.bg-peces {
    top: 30%;           
    left: 20%;
    transform: translateX(-80%);
    width: 60%;         
    max-width: 320px;   
    opacity: 0.2;
}

/*REDES*/
.redes-flex-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px; 
    width: 100%;
    max-width: 500px;
    margin: 40px 0;
    z-index: 2; 
}

.enlace-red-social {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s ease; 
}

.enlace-red-social:hover {
    transform: scale(1.08); 
}

.icono-red {
    width: 80px;  
    height: 80px;
    object-fit: contain;
    border-radius: 16px; 
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.4); 
    display: block; 
}

/*SECCIÓN COMPA*/
.companera-wrapper {
    position: relative;
    width: 100%;
    max-width: 650px; 
    margin: 40px auto;
    z-index: 2;
}

.companera-img {
    width: 100%;
    height: auto;
    display: block;
}

.companera-nombre {
    position: absolute;
    top: 30%;         
    left: 36%;        
    color: #ffffff;   
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}

.companera-texto {
    position: absolute;
    top: 52%;         
    left: 36%;
    right: 12%;        
    color: #0b2f46;   
    font-size: 1.05rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
}

.btn-presentacion {
    position: absolute;
    bottom: 8%;       
    right: 6%;        
    background-color: #2b615c; 
    color: #ffffff;
    padding: 8px 18px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s, transform 0.2s;
}

.btn-presentacion:hover {
    background-color: #1d4440;
    transform: scale(1.04);
}

/*DATOS ACADÉMICOS*/
.academicos-container {
    display: flex;
    flex-direction: column;   
    align-items: center;
    gap: 65px;                
    width: 100%;
    max-width: 1050px;
    margin: 50px auto 90px auto;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.academico-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 18px;
    width: 100%;
    max-width: 310px;         
    padding: 30px 20px;
    box-sizing: border-box;
    box-shadow: -12px 12px 0px #f38d7f; 
    display: flex;
    flex-direction: column;
}

.card-contenido {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.academico-logo {
    width: 80%;
    max-width: 160px;
    height: auto;
    object-fit: contain;
    margin-bottom: 25px;
}

.academico-lista {
    color: #2b2b2b;
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: left;
    padding-left: 15px;       
    margin: 0 0 15px 0;
    width: 100%;
}

.academico-lista li {
    margin-bottom: 8px;
}

.btn-academico {
    position: absolute;
    bottom: -20px;            
    left: 50%;
    transform: translateX(-50%); 
    background-color: #f28243; 
    color: #ffffff;
    font-weight: bold;
    font-size: 1.05rem;
    text-decoration: none;
    padding: 8px 26px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    white-space: nowrap;      
    transition: background-color 0.2s, transform 0.2s;
}

.btn-academico:hover {
    background-color: #d8692a;
    transform: translateX(-50%) scale(1.06); 
}

/*Animales de fondo*/
.bg-fauna {
    position: absolute;
    z-index: -1;              
    pointer-events: none;     
    opacity: 0.5;             
}

.bg-mantaraya {
    top: 60%;
    right: 2%;
    width: 32%;
    max-width: 280px;
}

.bg-orca {
    top: 73%;
    left: -20%;
    width: 90%;
    max-width: 330px;
}

.bg-beluga {
    top: 84%;
    right: -30%;
    width: 90%;
    max-width: 250px;
}

/*FOOTER*/
.sitio-footer {
    padding: 50px 20px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-coral {
    width: 100%;
    max-width: 160px; 
    height: auto;
    margin-bottom: 25px;
}

.footer-catedra {
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
}

.footer-disclaimer {
    color: #d1d5db;       
    font-size: 0.8rem;
    line-height: 1.5;
    max-width: 580px;     
    margin: 0;
}

/*medida para celular*/

@media (max-width: 415px) {

    .companera-nombre {
        font-family: sans-serif;
        font-size: 5.8vw; 
        top: 3%;
        left: 28%;
    }
    
    .companera-texto {
        font-size: 3.3vw; 
        top: 38%;
        left: 36%;
        right: 12%;
        line-height: 1.2;
    }
    
    .btn-presentacion {
        font-size: 3vw;
        padding: 4px 10px;
        border-radius: 4px;
        bottom: 8%;
        right: 8%;
    }

    .seccion-banner {
        font-size: 16px; 
        margin: 30px 0 15px 0;
    }

    .intro-title {
        font-size: 6vw; 
    }

    .intro-text {
        font-size: 3vw; 
        top: 38%;
    }
}

/*Tablets / Pantallas medianas*/
@media (min-width: 416px) and (max-width: 768px) {

    .companera-nombre {
        font-size: 6vw; 
        top: 2%;
        left: 26%;
    }
    
    .companera-texto {
        font-size: 2.3vw; 
        top: 48%;
        left: 36%;
        right: 14%;
        line-height: 1.2;
    }
    
    .btn-presentacion {
        font-size: 2.2vw;
        padding: 4px 10px;
        bottom: 7%;
        right: 6%;
    }
    .materias-flex-container {
    display: flex;
    flex-direction: row;      
    justify-content: center;  
    flex-wrap: wrap;
    gap: 35px; 
    width: 100%;
    max-width: 800px;
    padding: 0 15px;
    box-sizing: border-box;
}
}

/*COMPUTADORA*/
@media (min-width: 769px) {

    .dgpc-header { 
        padding: 30px 20px 15px 20px; 
    }
    .header-nav { 
        gap: 35px; 
    }
    .nav-link { 
        font-size: 16px; 
    }

    .intro-title {
        font-size: 42px; 
    }
    .intro-text {
        font-size: 20px; 
    }

    .materias-flex-container {
        flex-direction: row; 
        justify-content: center;
        gap: 50px; 
    }
    .hoja-papel-wrapper {
        max-width: 340px; 
    }
    .hoja-texto-absoluto h2 {
        font-size: 18px;
    }
    .hoja-texto-absoluto p {
        font-size: 14px;
        margin: 6px 0;
    }

    .academicos-container {
        flex-direction: row;     
        justify-content: center;
        align-items: stretch;   
        gap: 35px;               
    }
    .academico-card {
        flex: 1;                 
    }

    .companera-nombre {
        font-size: 4rem;
        top: -7%;
        left: 26%;
    }
    .companera-texto {
        font-size: 1.1rem;
        top: 45%;
        left: 36%;
        right: 15%;
        line-height: 1.3;
    }
    .btn-presentacion {
        font-size: 2rem;
        padding: 6px 14px;
        bottom: 8%;
        right: 6%;
    }
}