/* =========================================================
   VARIABLES
========================================================= */

:root {

    --navy: #0b1b30;
    --navy-dark: #07111f;

    --blue: #2474d8;
    --blue-light: #eaf3ff;

    --cyan: #28a9d6;

    --gold: #c89f52;
    --gold-light: #f7f0e3;

    --white: #ffffff;

    --text: #172033;
    --text-soft: #526075;

    --gray: #f5f7fa;
    --gray-2: #eef2f6;

    --border: #dfe5ec;

    --shadow:
        0 15px 45px rgba(12, 27, 48, 0.08);

    --shadow-hover:
        0 22px 55px rgba(12, 27, 48, 0.14);

    --radius: 18px;

}


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.7;

}

img {
    display: block;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: min(1160px, 92%);

    margin: 0 auto;

}


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

.header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(255,255,255,0.96);

    backdrop-filter:
        blur(12px);

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

}

.nav-container {

    min-height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}

.brand {

    display: flex;

    align-items: center;

    gap: 12px;

}

.brand-mark {

    width: 44px;

    height: 44px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--blue)
        );

    color: var(--white);

    font-weight: 800;

    letter-spacing: -1px;

}

.brand-text {

    display: flex;

    flex-direction: column;

    font-weight: 800;

    color: var(--navy);

}

.brand-text small {

    font-size: 11px;

    color: var(--text-soft);

    font-weight: 500;

}

.nav {

    display: flex;

    align-items: center;

    gap: 24px;

}

.nav a {

    color: var(--text-soft);

    font-size: 14px;

    font-weight: 600;

    transition:
        color 0.2s ease;

}

.nav a:hover {

    color: var(--blue);

}

.menu-toggle {

    display: none;

    border: 0;

    background: transparent;

    font-size: 27px;

    cursor: pointer;

    color: var(--navy);

}


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

.hero {

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #f7faff 0%,
            #ffffff 58%,
            #f4f8fc 100%
        );

    padding:
        105px 0
        90px;

}

.hero::before {

    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    border-radius: 50%;

    background:
        rgba(36,116,216,0.06);

    right: -180px;

    top: -180px;

}

.hero-grid {

    position: relative;

    z-index: 1;

    display: grid;

    grid-template-columns:
        1.15fr
        0.85fr;

    align-items: center;

    gap: 80px;

}

.eyebrow,
.section-kicker {

    display: inline-block;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    color: var(--gold);

    margin-bottom: 15px;

}

.hero h1 {

    font-size:
        clamp(48px, 7vw, 82px);

    line-height: 1;

    letter-spacing: -4px;

    color: var(--navy);

    margin-bottom: 25px;

}

.hero h1 span {

    color: var(--blue);

}

.hero h2 {

    max-width: 720px;

    font-size:
        clamp(25px, 3vw, 39px);

    line-height: 1.2;

    letter-spacing: -1.5px;

    color: var(--navy);

    margin-bottom: 25px;

}

.hero-content > p {

    max-width: 720px;

    font-size: 17px;

    color: var(--text-soft);

    margin-bottom: 30px;

}

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 13px;

    margin-bottom: 45px;

}

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        13px 22px;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;

}

.btn:hover {

    transform: translateY(-2px);

}

.btn-primary {

    background: var(--navy);

    color: var(--white);

    box-shadow:
        0 10px 25px rgba(7,17,31,0.16);

}

.btn-primary:hover {

    background: var(--blue);

}

.btn-outline {

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

    background: var(--white);

    color: var(--navy);

}

.btn-outline:hover {

    border-color: var(--blue);

    color: var(--blue);

}

.hero-stats {

    display: flex;

    flex-wrap: wrap;

    gap: 35px;

}

.hero-stats div {

    display: flex;

    flex-direction: column;

}

.hero-stats strong {

    font-size: 27px;

    color: var(--navy);

}

.hero-stats span {

    font-size: 12px;

    color: var(--text-soft);

}


/* HERO PHOTO */

.hero-photo {

    display: flex;

    justify-content: center;

    position: relative;

}

.photo-frame {

    width: min(390px, 100%);

    aspect-ratio: 0.86;

    padding: 12px;

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            var(--navy),
            var(--blue),
            var(--gold)
        );

    box-shadow:
        0 25px 70px rgba(11,27,48,0.18);

}

.photo-frame img {

    height: 100%;

    object-fit: cover;

    object-position: center top;

    border-radius: 21px;

    background: var(--gray-2);

}

.photo-badge {

    position: absolute;

    left: 10px;

    bottom: -20px;

    background: var(--white);

    padding:
        15px 20px;

    border-radius: 14px;

    box-shadow: var(--shadow);

    display: flex;

    flex-direction: column;

}

.photo-badge strong {

    color: var(--navy);

    font-size: 14px;

}

.photo-badge span {

    color: var(--text-soft);

    font-size: 12px;

}


/* =========================================================
   SECTIONS
========================================================= */

.section {

    padding:
        100px 0;

}

.section-soft {

    background: var(--gray);

}

.section-heading {

    max-width: 750px;

    margin-bottom: 55px;

}

.section-heading.center {

    text-align: center;

    margin-left: auto;

    margin-right: auto;

}

.section-heading h2 {

    font-size:
        clamp(30px, 4vw, 48px);

    line-height: 1.12;

    letter-spacing: -1.7px;

    color: var(--navy);

    margin-bottom: 18px;

}

.section-heading p {

    color: var(--text-soft);

    font-size: 16px;

}


/* =========================================================
   SOBRE MI
========================================================= */

.about-grid {

    display: grid;

    grid-template-columns:
        1.25fr
        0.75fr;

    gap: 70px;

    align-items: start;

}

.about-text p {

    color: var(--text-soft);

    font-size: 16px;

    margin-bottom: 20px;

}

.about-text strong {

    color: var(--navy);

}

.about-card {

    padding: 35px;

    background: var(--white);

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

    border-radius: var(--radius);

    box-shadow: var(--shadow);

}

.about-card-icon {

    width: 52px;

    height: 52px;

    display: grid;

    place-items: center;

    border-radius: 14px;

    background: var(--gold-light);

    color: var(--gold);

    font-size: 25px;

    margin-bottom: 22px;

}

.about-card h3 {

    font-size: 24px;

    color: var(--navy);

    margin-bottom: 12px;

}

.about-card p {

    color: var(--text-soft);

    margin-bottom: 22px;

}

.about-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}

.about-tags span {

    padding:
        7px 11px;

    background: var(--blue-light);

    color: var(--blue);

    border-radius: 50px;

    font-size: 11px;

    font-weight: 700;

}


/* =========================================================
   SKILLS
========================================================= */

.skills-grid {

    display: grid;

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

    gap: 18px;

}

.skill-card {

    padding: 28px;

    background: var(--white);

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

    border-radius: var(--radius);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}

.skill-card:hover {

    transform:
        translateY(-6px);

    box-shadow: var(--shadow-hover);

}

.skill-icon {

    width: 48px;

    height: 48px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background: var(--blue-light);

    color: var(--blue);

    font-size: 12px;

    font-weight: 900;

    margin-bottom: 20px;

}

.skill-card h3 {

    color: var(--navy);

    font-size: 18px;

    margin-bottom: 10px;

}

.skill-card p {

    color: var(--text-soft);

    font-size: 13px;

    line-height: 1.65;

}


/* =========================================================
   TIMELINE
========================================================= */

.timeline {

    position: relative;

    max-width: 900px;

    margin: 0 auto;

}

.timeline::before {

    content: "";

    position: absolute;

    left: 12px;

    top: 0;

    bottom: 0;

    width: 1px;

    background: var(--border);

}

.timeline-item {

    position: relative;

    padding-left: 55px;

    margin-bottom: 50px;

}

.timeline-dot {

    position: absolute;

    left: 4px;

    top: 6px;

    width: 17px;

    height: 17px;

    border-radius: 50%;

    background: var(--white);

    border:
        4px solid var(--blue);

}

.timeline-content {

    padding:
        28px 30px;

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

    border-radius: var(--radius);

    background: var(--white);

    box-shadow:
        0 8px 25px rgba(10,25,45,0.04);

}

.timeline-date {

    display: inline-block;

    font-size: 11px;

    font-weight: 800;

    color: var(--gold);

    letter-spacing: 1px;

    margin-bottom: 8px;

}

.timeline-content h3 {

    color: var(--navy);

    font-size: 22px;

    margin-bottom: 5px;

}

.timeline-content h4 {

    color: var(--blue);

    font-size: 14px;

    margin-bottom: 15px;

}

.timeline-content p,
.timeline-content li {

    color: var(--text-soft);

    font-size: 14px;

}

.timeline-content ul {

    padding-left: 20px;

}

.timeline-content li {

    margin-bottom: 8px;

}


/* =========================================================
   GALERÍA
========================================================= */

.gallery-grid {

    display: grid;

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

    gap: 22px;

}

.gallery-card {

    background: var(--white);

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

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(10,25,45,0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}

.gallery-card:hover {

    transform:
        translateY(-5px);

    box-shadow: var(--shadow-hover);

}

.gallery-card img {

    height: 260px;

    object-fit: cover;

}

.gallery-caption {

    padding: 22px;

}

.gallery-caption span {

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

    color: var(--gold);

}

.gallery-caption h3 {

    color: var(--navy);

    font-size: 18px;

    margin:
        7px 0 8px;

}

.gallery-caption p {

    color: var(--text-soft);

    font-size: 13px;

}


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

.research-section {

    background:
        var(--navy);

    color: var(--white);

}

.research-grid {

    display: grid;

    grid-template-columns:
        1.15fr
        0.85fr;

    gap: 80px;

    align-items: center;

}

.research-section h2 {

    max-width: 650px;

    font-size:
        clamp(31px, 4vw, 50px);

    line-height: 1.12;

    letter-spacing: -1.5px;

    margin-bottom: 22px;

}

.research-section p {

    color:
        rgba(255,255,255,0.72);

    max-width: 680px;

}

.research-points {

    display: grid;

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

    gap: 13px;

    margin-top: 30px;

}

.research-points div {

    display: flex;

    align-items: center;

    gap: 13px;

}

.research-points strong {

    color: var(--gold);

    font-size: 12px;

}

.research-points span {

    font-size: 13px;

    color:
        rgba(255,255,255,0.82);

}

.research-card {

    padding: 45px;

    border:
        1px solid rgba(255,255,255,0.12);

    border-radius: var(--radius);

    background:
        rgba(255,255,255,0.05);

}

.research-number {

    font-size: 65px;

    line-height: 1;

    font-weight: 800;

    color: var(--gold);

    margin-bottom: 20px;

}

.research-card h3 {

    font-size: 25px;

    margin-bottom: 13px;

}


/* =========================================================
   MÉTODO CORPUS
========================================================= */

.corpus-section {

    background: var(--white);

}

.corpus-intro {

    max-width: 720px;

    margin-bottom: 45px;

}

.corpus-intro h2 {

    font-size:
        clamp(32px, 4vw, 50px);

    color: var(--navy);

    margin-bottom: 12px;

}

.corpus-intro p {

    color: var(--text-soft);

}

.corpus-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 50px;

    align-items: center;

}

.corpus-image {

    border-radius: var(--radius);

    overflow: hidden;

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

    box-shadow: var(--shadow);

}

.corpus-image img {

    width: 100%;

    height: 400px;

    object-fit: cover;

}

.corpus-content p {

    color: var(--text-soft);

    margin-bottom: 25px;

}

.corpus-steps {

    display: grid;

    gap: 10px;

}

.corpus-steps span {

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 11px 13px;

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

    border-radius: 10px;

    color: var(--text-soft);

    font-size: 14px;

}

.corpus-steps b {

    display: grid;

    place-items: center;

    width: 29px;

    height: 29px;

    border-radius: 8px;

    background: var(--navy);

    color: var(--white);

}


/* =========================================================
   PROJECTS
========================================================= */

.projects-grid {

    display: grid;

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

    gap: 20px;

}

.project-card {

    position: relative;

    padding: 32px;

    background: var(--white);

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

    border-radius: var(--radius);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}

.project-card:hover {

    transform:
        translateY(-6px);

    box-shadow: var(--shadow-hover);

}

.featured-project {

    border-top:
        4px solid var(--gold);

}

.project-number {

    font-size: 12px;

    font-weight: 800;

    color: var(--blue);

    margin-bottom: 20px;

}

.project-type {

    display: block;

    font-size: 10px;

    letter-spacing: 1.3px;

    font-weight: 800;

    color: var(--gold);

    margin-bottom: 8px;

}

.project-card h3 {

    color: var(--navy);

    font-size: 24px;

    margin-bottom: 12px;

}

.project-card p {

    color: var(--text-soft);

    font-size: 14px;

    margin-bottom: 20px;

}

.project-card a {

    color: var(--blue);

    font-size: 13px;

    font-weight: 800;

}


/* =========================================================
   TOOLS
========================================================= */

.tools-grid {

    display: grid;

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

    gap: 20px;

}

.tool-group {

    padding: 30px;

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

    border-radius: var(--radius);

    background: var(--white);

}

.tool-group h3 {

    color: var(--navy);

    margin-bottom: 18px;

    font-size: 18px;

}

.tool-list {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}

.tool-list span {

    padding:
        7px 11px;

    border-radius: 7px;

    background: var(--gray);

    color: var(--text-soft);

    font-size: 12px;

    font-weight: 600;

}


/* =========================================================
   BOOKS
========================================================= */

.books-section {

    background:
        linear-gradient(
            135deg,
            #fbfcfe,
            #f3f6f9
        );

}

.books-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 25px;

}

.book-card {

    display: grid;

    grid-template-columns:
        220px
        1fr;

    min-height: 300px;

    background: var(--white);

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

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow:
        0 8px 30px rgba(10,25,45,0.05);

}

.book-image {

    min-height: 300px;

}

.book-image img {

    height: 100%;

    object-fit: cover;

}

.book-placeholder {

    min-height: 300px;

    padding: 30px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background:
        linear-gradient(
            145deg,
            var(--navy-dark),
            #243e5d
        );

    color: var(--white);

}

.book-placeholder span {

    color: var(--gold);

    font-size: 11px;

    letter-spacing: 2px;

    font-weight: 800;

    margin-bottom: 20px;

}

.book-placeholder strong {

    font-family: Georgia, serif;

    font-size: 25px;

    line-height: 1.1;

}

.book-placeholder small {

    margin-top: 20px;

    color:
        rgba(255,255,255,0.65);

}

.book-content {

    padding: 35px;

}

.book-content > span {

    font-size: 10px;

    font-weight: 800;

    color: var(--gold);

    letter-spacing: 1.5px;

}

.book-content h3 {

    font-size: 24px;

    color: var(--navy);

    line-height: 1.2;

    margin:
        12px 0 15px;

}

.book-content p {

    font-size: 14px;

    color: var(--text-soft);

}


/* =========================================================
   EDUCATION
========================================================= */

.education-grid {

    display: grid;

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

    gap: 20px;

}

.education-card {

    padding: 30px;

    background: var(--white);

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

    border-radius: var(--radius);

}

.education-year {

    font-size: 10px;

    color: var(--gold);

    font-weight: 800;

    letter-spacing: 1.5px;

}

.education-card h3 {

    color: var(--navy);

    font-size: 20px;

    margin:
        12px 0 10px;

}

.education-card p {

    color: var(--text-soft);

    font-size: 14px;

    margin-bottom: 14px;

}

.education-card strong {

    font-size: 12px;

    color: var(--blue);

}


/* =========================================================
   HIGHLIGHT
========================================================= */

.experience-highlight {

    padding:
        85px 0;

    background: var(--white);

}

.highlight-grid {

    display: grid;

    grid-template-columns:
        0.8fr
        1.2fr;

    gap: 70px;

    align-items: center;

}

.highlight-image {

    max-height: 450px;

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: var(--shadow);

}

.highlight-image img {

    height: 450px;

    object-fit: cover;

}

.highlight-content h2 {

    font-size:
        clamp(30px, 4vw, 48px);

    line-height: 1.1;

    letter-spacing: -1.5px;

    color: var(--navy);

    margin-bottom: 20px;

}

.highlight-content p {

    color: var(--text-soft);

}


/* =========================================================
   CORPUS EDUCA
========================================================= */

.corpuseduca-section {

    padding:
        100px 0;

}

.corpuseduca-box {

    position: relative;

    overflow: hidden;

    display: grid;

    grid-template-columns:
        1fr
        260px;

    align-items: center;

    gap: 40px;

    padding:
        60px;

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            #16385e
        );

    color: var(--white);

}

.corpuseduca-content h2 {

    font-size: 50px;

    line-height: 1;

    margin-bottom: 15px;

}

.corpuseduca-tagline {

    font-size: 21px;

    color:
        rgba(255,255,255,0.9);

    margin-bottom: 12px;

}

.corpuseduca-content > p:not(.corpuseduca-tagline) {

    color:
        rgba(255,255,255,0.67);

    max-width: 650px;

    margin-bottom: 25px;

}

.btn-light {

    background: var(--white);

    color: var(--navy);

}

.btn-light:hover {

    background: var(--gold);

    color: var(--white);

}

.corpuseduca-mark {
    width: 260px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    background: transparent;
    border: none;
    padding: 10px;
    overflow: hidden;
}

.corpuseduca-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    background: var(--gray);
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;

    padding: 60px;

    background: var(--white);

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

    border-radius: 25px;

    box-shadow: var(--shadow);
}

.contact-box h2 {

    color: var(--navy);

    font-size:
        clamp(30px, 4vw, 46px);

    line-height: 1.1;

    letter-spacing: -1.5px;

    margin-bottom: 18px;

}

.contact-box p {

    color: var(--text-soft);

    max-width: 750px;

}


/* =========================================================
   TARJETAS DE CONTACTO
========================================================= */

.contact-links {

    display: grid;

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

    gap: 14px;

    margin-top: 5px;

}


.contact-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    gap: 10px;

    min-height: 125px;

    padding: 18px 12px;

    background: var(--white);

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

    border-radius: 14px;

    text-decoration: none;

    color: var(--navy);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;

}


.contact-item:hover {

    transform:
        translateY(-4px);

    border-color:
        var(--blue);

    box-shadow:
        0 10px 25px rgba(7,17,31,0.08);

}


/* ICONOS */

.contact-icon {

    width: 44px;

    height: 44px;

    min-width: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background:
        var(--navy);

    color:
        var(--white);

    font-size: 14px;

    font-weight: 800;

}


/* TEXTO */

.contact-item div {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 3px;

}


.contact-item strong {

    font-size: 14px;

    line-height: 1.25;

    color:
        var(--navy);

}


.contact-item span:not(.contact-icon) {

    font-size: 11px;

    line-height: 1.35;

    color:
        var(--text-soft);

    word-break: break-word;

}


/* =========================================================
   CONTACTO - TABLET
========================================================= */

@media (max-width: 1000px) {

    .contact-links {

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

    }

}


/* =========================================================
   CONTACTO - CELULAR
========================================================= */

@media (max-width: 760px) {

    .contact-box {

        padding:
            40px 25px;

    }

    .contact-links {

        grid-template-columns:
            1fr;

    }

    .contact-item {

        flex-direction: row;

        justify-content: flex-start;

        text-align: left;

        min-height: auto;

        padding: 16px;

    }

    .contact-item div {

        align-items: flex-start;

        text-align: left;

    }

}

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

.footer {

    background: var(--navy-dark);

    color: var(--white);

    padding:
        30px 0;

}

.footer-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}

.footer-content div {

    display: flex;

    flex-direction: column;

}

.footer-content strong {

    font-size: 16px;

}

.footer-content span {

    font-size: 11px;

    color:
        rgba(255,255,255,0.55);

}

.footer p {

    color:
        rgba(255,255,255,0.55);

    font-size: 11px;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .nav {

        gap: 13px;

    }

    .nav a {

        font-size: 12px;

    }

    .hero-grid {

        gap: 45px;

    }

    .skills-grid {

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

    }

    .gallery-grid {

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

    }

    .projects-grid {

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

    }

    .education-grid {

        grid-template-columns:
            1fr;

    }

}


@media (max-width: 760px) {

    .nav {

        display: none;

        position: absolute;

        top: 76px;

        left: 0;

        right: 0;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        background: var(--white);

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

        box-shadow:
            0 15px 30px rgba(0,0,0,0.08);

    }

    .nav.active {

        display: flex;

    }

    .nav a {

        padding:
            15px 5%;

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

    }

    .menu-toggle {

        display: block;

    }

    .hero {

        padding:
            75px 0
            70px;

    }

    .hero-grid {

        grid-template-columns:
            1fr;

        gap: 60px;

    }

    .hero-content {

        text-align: center;

    }

    .hero-content > p {

        margin-left: auto;

        margin-right: auto;

    }

    .hero-buttons {

        justify-content: center;

    }

    .hero-stats {

        justify-content: center;

    }

    .hero-photo {

        max-width: 360px;

        width: 100%;

        margin: 0 auto;

    }

    .about-grid,
    .research-grid,
    .corpus-grid,
    .highlight-grid,
    .contact-box {

        grid-template-columns:
            1fr;

    }

    .skills-grid,
    .gallery-grid,
    .projects-grid,
    .tools-grid {

        grid-template-columns:
            1fr;

    }

    .books-grid {

        grid-template-columns:
            1fr;

    }

    .book-card {

        grid-template-columns:
            1fr;

    }

    .book-image,
    .book-placeholder {

        min-height: 330px;

    }

    .research-points {

        grid-template-columns:
            1fr;

    }

    .corpuseduca-box {

        grid-template-columns:
            1fr;

        padding:
            45px 30px;

        text-align: center;

    }

    .corpuseduca-content .section-kicker {

        display: block;

    }

    .corpuseduca-content > p {

        margin-left: auto;

        margin-right: auto;

    }

    .corpuseduca-mark {

        width: 150px;

        height: 150px;

        font-size: 50px;

    }

    .contact-box {

        padding:
            40px 25px;

    }

    .footer-content {

        flex-direction: column;

        text-align: center;

    }

}


@media (max-width: 480px) {

    .section {

        padding:
            75px 0;

    }

    .hero h1 {

        font-size: 52px;

    }

    .hero h2 {

        font-size: 27px;

    }

    .hero-stats {

        gap: 20px;

    }

    .photo-frame {

        border-radius: 22px;

    }

    .photo-badge {

        position: relative;

        left: auto;

        bottom: auto;

        margin-top: 12px;

    }

    .timeline-item {

        padding-left: 40px;

    }

    .timeline-content {

        padding:
            22px;

    }

    .timeline::before {

        left: 7px;

    }

    .timeline-dot {

        left: -1px;

    }

    .gallery-card img {

        height: 230px;

    }

    .corpuseduca-content h2 {

        font-size: 42px;

    }

}


/* =========================================================
   ANIMACIONES
========================================================= */

.reveal {

    opacity: 0;

    transform:
        translateY(25px);

    transition:
        opacity 0.6s ease,
        transform 0.6s ease;

}

.reveal.visible {

    opacity: 1;

    transform:
        translateY(0);

}

/* =========================================================
   LOGO CORPUS EDUCA - FONDO BLANCO
========================================================= */

.corpuseduca-mark {
    background: #ffffff !important;
    border: 1px solid #dfe5ec !important;
    padding: 20px !important;
    overflow: hidden;
}

.corpuseduca-mark img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #ffffff !important;
}
