/*
Theme Name: Tatiana Theme
Theme URI: 
Author: Antigravity
Author URI: 
Description: Custom landing page theme for Tatiana Herrada, built with ACF and Polylang layout.
Version: 1.0.0
Text Domain: tatiana-theme

--- Custom Fonts ---
*/

@font-face {
    font-family: 'Gotham';
    src: url('assets/fonts/Gotham-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('assets/fonts/Gotham-LightItalic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('assets/fonts/Gotham-Book.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('assets/fonts/Gotham-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('assets/fonts/Gotham-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Custom';
    src: url('assets/fonts/Helvetica.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('assets/fonts/HelveticaNeue-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/*
--- CSS Resets & Variables ---
*/
:root {
    --primary-black: #1a1a1a;
    --text-dark: #333333;
    --text-light: #5B5B5B;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --bg-hero: #e2e2e2;
    --accent-orange: #f26822;
    /* Approx from design */
    --accent-purple: #9b51e0;
    --accent-green: #27ae60;
    --border-color: #dddddd;

    --font-main: 'Gotham', 'Helvetica Custom', 'Helvetica Neue Custom', 'Helvetica Neue', Arial, sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

.container {
    margin: 0 auto;
    max-width: 1346px;
    padding: 0 30px;
}

@media screen and (max-width: 900px) {
    .container {
        padding: 0;
    }
}

.container-big {
    max-width: 1700px;
    padding: 0 30px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-black);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
}

/* Header & Languages */
.site-header {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;

    padding: 20px 0;
}

.site-header .container {
    display: flex;
    justify-content: flex-end;
    /* Align lang switcher to right */
    align-items: center;
}

.site-nav {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 25px;
    border-top: solid 1.5px var(--text-light);
}

.language-switcher {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    font-weight: 400;
    list-style: none;

}

.language-switcher li {
    position: relative
}

.language-switcher li:after {
    content: "|";
    position: absolute;
    right: -10px;
    color: var(--text-light);
    font-size: 20px;
    top: 0;
}

.language-switcher li:last-child:after {
    display: none;
}

.language-switcher a {
    color: var(--text-light);
    text-transform: uppercase;
    font-size: 20px;
}

.language-switcher .current-lang a {
    color: var(--text-light);
    font-weight: 700;
}

.site-menu {}

.site-menu .menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.site-menu .menu li {}

.site-menu .menu li a {
    text-transform: uppercase;
    font-size: 18px;
    text-align: right;
    transition: all 0.3s ease;
}

.site-menu .menu li a.active {
    font-weight: 700;
    color: #90908F;
    border-bottom: solid 1px #90908F;
    /* Highlight color */
}

/* --- HERO SECTION --- */
.hero-section {
    padding-top: 200px;

    background: linear-gradient(90deg, rgba(204, 204, 204, 1) 40%, rgb(247, 247, 247) 60%);
    overflow: hidden;
}

.hero-grid {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: center;
    gap: 40px;
}

.hero-image {
    position: relative;
}

.hero-image::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0px;
    width: 298px;
    height: 110%;
    background-color: #EFEFEF;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    margin-bottom: -5px;
    position: relative;
    z-index: 2;
    /* stick to bottom if it's a cutout */
}

.hero-content {
    padding: 60px 0;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.hero-content h1 img {
    max-width: 570px;
}

.hero-subtitle {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 40px;
    text-transform: none;
}

.hero-description {
    font-size: 30px;
    color: var(--text-light);
    padding: 0;
    line-height: 30px;

    position: relative;

}

.hero-description:before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 250px;
    height: 2px;
    background-color: #90908F;
    z-index: 1;
}


/* Contact Dots */
.hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 25px;
}

.hero-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-contact p::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
}

.contact-phone::before {
    background-color: var(--accent-orange);
}

.contact-email::before {
    background-color: var(--accent-purple);
}

.contact-linkedin::before {
    background-color: var(--accent-green);
}


.content-section {
    padding: 180px 0 230px 0;
    background-color: #EFEFEF;
}

.content-section .descripcion-content p {
    font-size: 26px;
    line-height: 125%;
    color: #2D2D2D;
    margin-bottom: 40px;
    font-weight: 300;
}

.content-section .descripcion-content p strong {
    font-weight: bold;
}

.content-section .descripcion-area {
    margin-top: 60px;
    font-size: 22px;
    text-transform: uppercase;
    text-align: center;
    padding-bottom: 25px;
    border-bottom: solid 1px #5B5B5B;
    font-weight: 300;
}

.content-section .descripcion-area-grid {
    width: 100%;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 247px 180px 280px 145px 185px;
    gap: 60px;
}

.content-section .descripcion-area-grid .descripcion-area-grid-item {
    font-size: 18px;
    display: grid;
    align-items: flex-start;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    line-height: 125%;
    font-weight: 300;
}

.content-section .descripcion-area-grid .descripcion-area-grid-item:before {
    content: '';
    width: 13px;
    height: 13px;
    background-color: #C9C9C9;
    display: block;
    top: 5px;
    position: relative;
}

.content-section .descripcion-area-grid .descripcion-area-grid-item:nth-child(2):before {
    background-color: #E08638;
}

.content-section .descripcion-area-grid .descripcion-area-grid-item:nth-child(3):before {
    background-color: #9D5494;
}

.content-section .descripcion-area-grid .descripcion-area-grid-item:nth-child(5):before {
    background-color: #E08638;
}

/* Experiencia */
.experience-section {
    background-color: #fff;
    padding-top: 109px;
    padding-bottom: 109px;

}

.experience-section h3 {
    font-size: 26px;
    padding-bottom: 25px;
    font-weight: 300;
    border-bottom: solid 1.5px #5B5B5B;
    margin-bottom: 60px;
}

.exp-content {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.cv-button {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: bold;
    background-color: #A0A0A0;
    border-radius: 20px;
    padding: 10px 20px;
    border: none;
    color: #fff;
    cursor: pointer;
}

.cv-button:hover {
    background-color: #90908F;

}

.cv-button svg {
    width: 12px;
    height: 17px;

}

.exp-content .exp-item {}

.exp-content .exp-item h4 {
    font-size: 45px;
    font-family: 'Helvetica Neue Custom';
    letter-spacing: 3px;
}

.exp-content .exp-item h5 {
    font-size: 23px;
    margin-bottom: 60px;
    font-weight: 500;
    text-transform: initial;
}

.exp-content p {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 15px;
    color: #2D2D2D;
    font-weight: 300;
}

.exp-content ul {
    margin: 30px 0;
}

.exp-content li {
    position: relative;
    font-size: 22px;
    color: #2D2D2D;
    font-weight: 500;
}

.exp-content li:before {
    content: '';
    width: 13px;
    height: 13px;
    background-color: #E1E1E1;
    margin-right: 13px;
    display: inline-block;
    position: relative;
    top: -2px;
}

.exp-content li:nth-child(2):before {
    background-color: #E08638;
}

.exp-content li:nth-child(3):before {
    background-color: #9D5494;
}

.formacion-section {
    padding: 160px 0 120px;
}

.formacion-section h3 {
    font-size: 26px;
    padding-bottom: 25px;
    font-weight: 300;
    border-bottom: solid 1.5px #5B5B5B;
    margin-bottom: 60px;
}

/*Academic background*/

.academic-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

.academic-item {
    position: relative;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.certification-wrapper {
    margin-bottom: 40px;
    font-weight: 300;
}

.certification-wrapper p {
    font-size: 20px !important;
}

.academic-item:before {
    content: '';
    width: 2px;
    height: 100%;
    background-color: #B5B5B5;
    position: absolute;
    top: 0;
    left: -25px;
}

.academic-item:first-child:before {
    left: 0;
}

.academic-item img {
    width: 100%;
    max-width: 180px;
    margin-bottom: 70px;

}

.academic-title {
    font-size: 22px;
    font-weight: 500;
    line-height: 125%;
}

.academic-subtitle {
    font-size: 15px;
    font-weight: 300;
}

.perfil-col span {
    font-size: 20px !important;
    margin-bottom: 30px;
    display: inline-block;
    font-weight: 300;
}


.specialization-wrapper {
    /* margin-bottom: 45px */
}

.specialization-item {
    margin-bottom: 45px;
    position: relative;
    padding-left: 25px;
}

.specialization-item:before {
    content: '';
    width: 14px;
    height: 14px;
    background-color: #B5B5B5;
    position: absolute;
    top: 9px;
    left: 0px;
}

.specialization-item:nth-child(2):before {
    background-color: #E08638;
}

.specialization-item:nth-child(3):before {
    background-color: #9D5494;
}

.specialization-wrapper strong {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 500;
}

.specialization-wrapper p {
    font-size: 20px;
    color: #3F3F3F;
}

.specialization-wrapper ul {
    padding-left: 15px;
}

.specialization-wrapper li {
    position: relative;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 500;
    color: #3F3F3F;
}

.specialization-wrapper li:before {
    content: '';
    width: 5px;
    height: 2px;
    background-color: #adadad;
    position: absolute;
    top: 50%;
    left: -15px;
    transform: translateY(-50%);
}

.activity-section {
    padding: 170px 0;
    background-color: rgba(239, 239, 239, 0.54);
}

.activity-section h3 {
    font-size: 26px;
    padding-bottom: 25px;
    font-weight: 300;
    border-bottom: solid 1.5px #5B5B5B;
    margin-bottom: 40px;
}

.activity-section h4 {
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 22px;
}

.activity-section p {
    font-size: 22px;
    font-weight: 300;
}

.activity-grid {
    display: grid;
    grid-template-columns: 720px 1fr;
    gap: 120px;
}

@media screen and (max-width: 1360px) {
    .activity-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.activity-col:first-child {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.teaching_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 100px;
}

.teaching_list_item {
    position: relative;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 22px;
}

.teaching_list_item strong {
    font-weight: 500;
}

.teaching_list_item:before {
    content: '';
    width: 2px;
    height: 100%;
    background-color: #B5B5B5;
    position: absolute;
    top: 0;
    left: -25px;
}

.teaching_list_item:first-child:before {
    left: 0;
}

.teaching_list_item img {
    width: 100%;
    max-width: 160px;
    margin-bottom: 50px;
}

.books-section {
    padding: 100px 70px;
    background-color: #fff;
}

.books-section h4 {
    font-size: 22px;
}

.books-list {
    margin-top: 30px;
}

.books-list .book-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.books-list p {
    font-size: 22px;
}

.books-list .book-item strong {
    font-size: 24px;
    font-weight: 500;
    line-height: 26px;
}

.books-list .book-item span {
    font-size: 22px;
    font-weight: 300;
    line-height: 24px;
}



.articles-section {
    padding: 160px 0;
    background-color: #EFEFEF;
}

.articles-section h4 {
    font-size: 22px;
    font-weight: 500;
}

.articles-section p {
    font-size: 22px;
    margin-bottom: 50px;
    font-weight: 300;
}

.articles-list {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr;
    font-size: 22px;
}

.articles-list .article-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    padding-left: 25px;
}

.articles-list .article-item strong,
.articles-list .article-item span {
    line-height: 22px;
}

.articles-list .article-item strong {
    font-weight: 500;
}

.articles-list .article-item span {
    font-weight: 300;
}

.articles-list .article-item:before {
    content: '';
    width: 14px;
    height: 14px;
    background-color: #B5B5B5;
    position: absolute;
    top: 5px;
    left: 0;
}

.articles-list .article-item:nth-child(3n+1):before {
    background-color: #B5B5B5;
}

.articles-list .article-item:nth-child(3n+2):before {
    background-color: #E08638;
}

.articles-list .article-item:nth-child(3n+3):before {
    background-color: #9D5494;
}


.conferences-section {
    padding: 130px 0;
}

.conferences-section h4 {
    font-size: 26px;
    padding-bottom: 25px;
    font-weight: 300;
    border-bottom: solid 1.5px #5B5B5B;
    margin-bottom: 60px;
}

.conferences-section p {
    font-size: 22px;
    margin-bottom: 60px;
    font-weight: 300;
}

.conferences-carousel-container {
    position: relative;
    width: 100%;
}

.conferences-carousel-view {
    overflow: hidden;
    width: 100%;
}

.conferences-track {
    display: flex;
    transition: transform 0.5s ease;
    margin-bottom: 20px;
}

.conferences-track .conference-item {
    flex: 0 0 calc((100% - 60px) / 2);
    /* 2 items visible with 60px gap */
    margin-right: 60px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.conferences-track .conference-item figure {
    width: 100%;
    height: 440px;
    margin-bottom: 38px;
    cursor: pointer;
}

.conferences-track .conference-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conferences-track .conference-item strong {
    font-size: 24px;
    display: block;
    margin-bottom: 20px;
    line-height: 24px;
    font-weight: 500;
}

.conferences-track .conference-item span {
    font-size: 23px;
    line-height: 23px;
    font-weight: 300;
}

/* Pagination Dots (Squares) */
.conferences-pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.conferences-pagination .dot {
    width: 20px;
    height: 20px;
    cursor: pointer;
    box-sizing: border-box;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.conferences-pagination .dot:nth-child(3n+1) {
    border: 2px solid #B5B5B5;
}

.conferences-pagination .dot:nth-child(3n+1).active {
    background-color: #B5B5B5;
}

.conferences-pagination .dot:nth-child(3n+2) {
    border: 2px solid #E08638;
}

.conferences-pagination .dot:nth-child(3n+2).active {
    background-color: #E08638;
}

.conferences-pagination .dot:nth-child(3n+3) {
    border: 2px solid #9D5494;
}

.conferences-pagination .dot:nth-child(3n+3).active {
    background-color: #9D5494;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: flex-start;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    /* position: absolute;
    top: -40px;
    right: 0px; */
    color: #fff;
    font-size: 40px;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    width: 34px;
    height: 34px;
    margin-left: 20px
}

@media (max-width: 900px) {
    .conferences-track .conference-item {
        flex: 0 0 100%;
        margin-right: 0;
    }
}

/*========= Lists with Squares/Arrows */
.check-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.check-list.exp-list li::before {
    content: '■';
    /* or orange square */
    color: var(--accent-orange);
    position: absolute;
    left: 0;
    font-size: 0.8em;
    top: 2px;
}

.sectores-list li::before {
    content: '■';
    color: var(--primary-black);
    position: absolute;
    left: 0;
    font-size: 0.8em;
    top: 2px;
}

.sectores-col>p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

.btn-download {
    display: inline-block;
    background-color: #ccc;
    color: #333;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-download:hover {
    background-color: #bbb;
}


/* --- LOGOS SECTION --- */
.logos-section {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 50px 0;
}

.logo-item {
    text-align: left;
    border-left: 1px solid var(--border-color);
    padding-left: 20px;
}

.logo-item:first-child {
    border-left: none;
    padding-left: 0;
}

.logo-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.logo-item p {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
}


/* --- FORMACION Y PERFIL --- */
.timeline-item {
    margin-bottom: 30px;
}

.timeline-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.timeline-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
}

.perfil-col p {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 20px;
}

/* --- RECONOCIMIENTOS Y PUB --- */
.reco-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.reco-item {
    border: 1px solid var(--border-color);
    padding: 30px 20px;
}

.pub-content {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
}

.pub-content ul {
    margin-left: 20px;
    list-style-type: disc;
}

.pub-content li {
    margin-bottom: 10px;
}


/* --- FOOTER --- */
.site-footer {
    background-color: #3D3D3D;
    color: #aaa;
    padding: 86px 0 40px;
    font-size: 0.8rem;
}

.site-footer h4 {
    font-size: 26px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 17px;
    font-weight: 300;
}

.site-footer p {
    font-size: 22px;
    color: #fff;
    font-weight: 400;
}

.footer-contact-info {
    font-size: 22px;
    color: #fff;
    display: grid;
    grid-template-columns: 380px 380px 1fr;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 70px;
    font-weight: 300;
}

.footer-contact-info p {
    display: flex;
    gap: 10px;
    font-weight: 300;
}

.footer-contact-info p strong {
    font-weight: 500;
}

.footer-contact-info p:last-child {
    justify-self: end;
    display: flex;
    align-items: center;
    font-style: italic;
}

.footer-contact-info p:last-child span {
    width: 14px;
    height: 14px;
    background-color: #E1E1E1;
}

.footer-contact-info p:last-child span:nth-child(1) {
    margin-left: 20px;
}

.footer-contact-info p:last-child span:nth-child(2) {
    background-color: #E08638;
}

.footer-contact-info p:last-child span:nth-child(3) {
    background-color: #9D5494;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: #F7F7F7;
    text-align: center;
    opacity: .21;
    width: 100%;
    font-weight: 300;
    font-size: 17px;
}

.conference-figure img {
    filter: grayscale(100%);
}

/* --- MOBILE MENU TOGGLE --- */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 35px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
    position: relative;
}

.mobile-menu-toggle span {
    width: 35px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s linear;
    transform-origin: 1px;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .site-header {
        top: 0px
    }

    .language-switcher {
        z-index: 2;
    }

    .language-switcher a {
        font-size: 15px;
    }

    .language-switcher li:after {
        font-size: 15px;
    }

    /* Header & Navigation */
    .site-nav {
        align-items: center;
        padding-top: 15px;
    }

    .site-menu {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .site-menu .nav-wrapper {
        position: fixed;
        top: 90px;
        right: -100%;
        width: 250px;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 30px 20px;
        transition: right 0.3s ease;
        z-index: 999;
        border-top: solid 2px #5B5B5B;
    }

    .site-menu .nav-wrapper.active {
        right: 30px;
    }

    .site-menu .menu {
        align-items: flex-end;
        gap: 10px;
    }

    .site-menu .menu li a {
        font-size: 13px;
        font-weight: 300;
        margin-bottom: 10px;
        display: block;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(-5px, -5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
    }

    /* Hero Section */
    .hero-section {
        padding-top: 65px;
        background: linear-gradient(180deg, rgba(204, 204, 204, 1) 0%, rgb(240, 240, 240) 60%, rgb(245, 245, 245) 100%);
        position: relative;
    }

    /* Mobile only 3 squares */
    .hero-section::after {
        content: '';
        position: absolute;
        bottom: 30px;
        right: 20px;
        width: 60px;
        height: 14px;
        background-image: linear-gradient(to right, #B5B5B5 0%, #B5B5B5 14px, transparent 14px, transparent 23px, #E08638 23px, #E08638 37px, transparent 37px, transparent 46px, #9D5494 46px, #9D5494 60px);
        z-index: 10;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-content {
        padding: 30px 20px 0;
    }

    .hero-content h1 img {
        max-width: 85%;
    }

    .hero-subtitle {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 12px;
        line-height: 16spx;
    }

    .hero-description:before {
        width: 150px;
        top: -5px;
    }

    .hero-image {
        order: 2;
        /* Image on bottom */
        max-width: 100%;
        padding-top: 20px;
    }

    .hero-image::before {
        display: none;
    }

    .hero-image img {
        margin-bottom: 0px;
        width: 90%;
        margin: 0 auto;
    }

    /* Description Area */
    .content-section {
        padding: 60px 20px;
    }

    .content-section .descripcion-area-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
    }

    .content-section .descripcion-content p {
        font-size: 15px;
        text-align: justify;

    }

    .content-section .descripcion-area {
        margin-top: 30px;
        font-size: 18px;
        text-align: justify;
    }

    .content-section .descripcion-area-grid .descripcion-area-grid-item {
        font-size: 15px;
    }

    /* Experience */
    .experience-section {
        padding: 60px 20px;
    }

    .experience-section h3 {
        margin-bottom: 30px;
        font-size: 22px;
    }

    .exp-content .exp-item h4 {
        font-size: 18px;
    }

    .exp-content .exp-item h5 {
        font-size: 14px;
        margin-bottom: 30px;
        letter-spacing: -0.5px;
        line-height: 16px;
    }

    .formacion-section h3 {
        font-size: 22px
    }

    .exp-content p,
    .exp-content li {
        font-size: 15px;
        line-height: 20px;
    }

    .exp-content li {
        margin-bottom: 5px;
    }

    .cv-button {
        justify-content: center;
        margin-top: 40px;
        font-size: 16px;
        padding: 8px 16px;
    }

    /* Formacion and Perfil */
    .formacion-section {
        padding: 60px 20px;
    }

    .academic-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .academic-title {
        font-size: 12px;
    }

    .academic-subtitle {
        font-size: 10px
    }

    .academic-item {
        padding-left: 15px;
        border-left: none;
    }

    .academic-item:before {
        /*display: none;*/
        left: 0;
    }

    .academic-item img {
        margin-bottom: 20px;
        width: 80%;
    }

    .perfil-col span,
    .certification-wrapper p,
    .specialization-wrapper p,
    .specialization-wrapper strong,
    .specialization-wrapper li {
        font-size: 15px !important;
    }

    /* Actividad grid */
    .activity-section {
        padding: 60px 20px;
    }

    .activity-section h3 {
        font-size: 22px;
    }

    .activity-section h4 {
        font-size: 15px;
    }

    .activity-section p {
        font-size: 15px;
    }

    .activity-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .teaching_list {
        grid-template-columns: 1fr 1fr;
        margin-top: 40px;
        gap: 30px;
    }

    .teaching_list_item:before {
        /*display: none;*/
        left: 0;
    }

    .teaching_list_item {
        padding-left: 15px;
    }

    .teaching_list_item img {
        margin-bottom: 20px;
    }

    .teaching_list_item strong {
        font-size: 12px;
    }

    .teaching_list_item span {
        font-size: 12px;
    }

    /* Books */
    .books-section {
        padding: 30px 20px;
    }

    .books-list .book-item strong {
        font-size: 16px;
    }

    .books-list .book-item span,
    .books-list p {
        font-size: 15px;
    }

    .articles-section h4 {
        font-size: 18px
    }

    .articles-section p {
        font-size: 15px;
    }

    .articles-list .article-item strong {
        font-size: 15px;
    }

    .articles-list .article-item span {
        font-size: 12px;
    }


    .conferences-section h4 {
        font-size: 18px;
    }

    .conferences-section p {
        font-size: 15px
    }

    /* Articles */
    .articles-section {
        padding: 60px 20px;
        background-color: transparent;
        /* match image background if needed */
    }

    .articles-list .article-item {
        font-size: 18px;
    }

    /* Conferences */
    .conferences-section {
        padding: 60px 20px;
    }

    /* Fix Carousel sizes for mobile */
    .conferences-track .conference-item {
        flex: 0 0 100%;
        margin-right: 0;
    }

    .conferences-track .conference-item figure {
        height: auto;
    }

    .conferences-track .conference-item strong {
        font-size: 15px;
        margin-bottom: 5px;
    }

    .conferences-track .conference-item span {
        font-size: 14px;
    }

    /* Reconocimientos / Publicaciones */
    .reco-wrapper {
        grid-template-columns: 1fr;
    }

    .reco-item {
        margin-bottom: 20px;
    }

    /* Footer */
    .site-footer {
        padding: 60px 20px 40px;
    }

    .site-footer h4 {
        font-size: 18px;
    }

    .site-footer p {
        font-size: 15px;
    }

    .footer-contact-info {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 40px;
        font-size: 18px;
    }

    .footer-contact-info p:last-child {
        justify-self: start;
        margin-top: 15px;
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .footer-contact-info p:last-child span:nth-child(1) {
        margin-left: 10px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: left;
    }

    .footer-content p {
        text-align: left;
        font-size: 12px;
    }
}