:root {
    --primary: #c3a473;
    --primary-dark: #a88a5a;
    --primary-light: #e0d9cf;
    --dark: #0f0f0f;
    --dark-accent: #1a1a1a;
    --light: #fdfcfb;
    --gray-bg: #f4f1ee;
    --text: #2d2d2d;
    --text-muted: #666;
    --white: #ffffff;
    --transition-slow: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-decoration: none;
    color: var(--dark);
    font-size: 1.8rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
    /* Space between logo and text */
}

.logo-img {
    height: 60px;
    /* Tamaño un poco más grande para que se vea bien el EP */
    width: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--primary);
    /* Añadimos un borde dorado para que resalte y se vea el círculo */
    padding: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.05);
    /* Efecto sutil al pasar el ratón */
    border-color: var(--primary-dark);
}

.footer-brand .logo {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.4rem;
        gap: 10px;
    }

    .logo-img {
        height: 50px;
        width: 50px;
    }
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 4rem;
}

.section-padding {
    padding: 140px 0;
    scroll-margin-top: 80px;
}

.center {
    text-align: center;
}

.white {
    color: var(--white);
}

/* Typography Helpers */
.pre-title {
    display: block;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.lead {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 2.5rem 0;
    /* More spacious initial padding */
    transition: var(--transition);
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle separation */
}

@supports (backdrop-filter: blur(5px)) {
    header {
        backdrop-filter: blur(10px);
    }
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 1.2rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-inner {
    padding: 0;
    /* Container padding already exists, but we want nav to fill it */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    letter-spacing: 5px;
    /* Restoration of original branding look */
    color: var(--dark);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    /* Extra bold for branding */
    text-transform: uppercase;
    transition: var(--transition);
}

.logo:hover {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4rem;
    /* Increased gap for better 'maquetado' */
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('eva_pavon_hero_bg_1770118385836.png') center/cover no-repeat;
    background-attachment: fixed;
    padding-top: 100px;
    /* Space for fixed header */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(70deg, rgba(253, 252, 251, 0.9) 30%, rgba(253, 252, 251, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem 4rem;
}

.reveal-box {
    overflow: hidden;
}

h1 {
    font-size: clamp(2.5rem, 10vw, 6rem);
    /* Reduced minimum size for mobile */
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 2rem;
}

.highlight {
    color: var(--primary);
    font-style: italic;
}

#hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-link {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
    display: inline-block;
    padding: 2px 0;
    position: relative;
    z-index: 10;
}

.footer-link:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    transition: var(--transition);
    border-radius: 0;
}

.btn-primary {
    background-color: var(--dark);
    color: var(--white);
    border: 1px solid var(--dark);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--dark);
    transform: translateY(-5px);
}

.btn-white {
    background-color: var(--white);
    color: var(--dark);
}

.btn-white:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Biografía Section */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.image-wrapper {
    position: relative;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    filter: sepia(0.2) contrast(1.1) brightness(1.05);
    /* Professional 'warm' aesthetic adjustment */
    transition: var(--transition-slow);
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    box-shadow: 20px 20px 0px var(--primary-light);
    /* Added a stylized shadow/offset border */
}

/* Optional hover effect to see the 'real' colors */
.image-wrapper:hover img {
    filter: none;
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--dark);
    color: var(--white);
    padding: 2.5rem;
    text-align: center;
    border: 5px solid var(--white);
}

.experience-badge .years {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    line-height: 1;
    color: var(--primary);
}

.experience-badge .label {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
}

/* Fortalezas Section */
.dark-bg {
    background-color: var(--dark);
    color: var(--white);
}

.fortalezas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.strength-card {
    padding: 4rem;
    background-color: var(--dark-accent);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.strength-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.strength-card .icon {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 2rem;
    opacity: 0.5;
}

.strength-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.strength-card p {
    color: #aaa;
}

/* Formación Section */
.gray-bg {
    background-color: var(--gray-bg);
}

.cursos-showcase {
    display: flex;
    flex-direction: column;
    gap: 100px;
    margin-top: 5rem;
}

.curso-item {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.curso-item.reverse {
    direction: rtl;
}

.curso-item.reverse .curso-info {
    direction: ltr;
}

.curso-img {
    overflow: hidden;
    aspect-ratio: 16/9;
}

.curso-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.curso-item:hover .curso-img img {
    transform: scale(1.1);
}

.curso-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.link-btn {
    display: inline-block;
    margin-top: 2rem;
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 5px;
}

/* Parallax CTA */
.parallax-section {
    padding: 160px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('eva_pavon_hero_bg_1770118385836.png') center/cover no-repeat;
    background-attachment: fixed;
    color: var(--white);
}

.parallax-section h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-inline: auto;
}

/* Footer */
footer {
    background-color: var(--white);
    padding: 100px 0 40px;
    border-top: 1px solid var(--primary-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 80px;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 250px;
}

footer h4 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.footer-social .social-icons {
    display: flex;
    gap: 1.5rem;
}

.footer-social .social-icons a {
    text-decoration: none;
    color: var(--dark);
    font-size: 1.4rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-light);
    border-radius: 50%;
}

.footer-social .social-icons a:hover {
    color: var(--white);
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--gray-bg);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .grid,
    .curso-item {
        gap: 4rem;
    }
}

@media (max-width: 768px) {

    .grid,
    .fortalezas-grid,
    .curso-item,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .curso-item.reverse {
        direction: ltr;
    }

    .section-padding {
        padding: 80px 0;
    }

    .hero-content {
        padding: 2rem 1.5rem;
        margin: 0 auto;
        text-align: center;
    }

    #hero {
        background-attachment: scroll;
        padding-top: 120px;
        min-height: 85vh;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(253, 252, 251, 0.95) 0%, rgba(253, 252, 251, 0.7) 100%);
    }

    #hero p {
        margin-inline: auto;
    }

    .nav-links {
        display: none;
    }

    .logo {
        font-size: 1.5rem;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.3rem;
    }

    .experience-badge {
        display: none;
    }
}