* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #c7a882;
    --secondary: #8d6e4a;
    --text-dark: #2c2520;
    --text-medium: #4a453e;
    --text-light: #6b5d4f;
    --background: #fdfcfa;
    --surface: rgba(255, 255, 255, 0.9);
}

body {
    font-family: 'Georgia', serif;
    background: var(--background);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Merienda", cursive;
}


/* Hero Fullscreen Section */
.hero-fullscreen {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#cathy_01 {
    background-image: url('../images/cathy_01.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#cathy_02 {
    background-image: url('../images/cathy_02.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#cathy_03 {
    background-image: url('../images/cathy_03.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#mindfulness_01 {
    background-image: url('../images/mindfulness_01.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#neurociencias_01 {
    background-image: url('../images/neurociencias_01.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            45deg,
            rgba(44, 37, 32, 0.7) 0%,
            rgba(44, 37, 32, 0.4) 30%,
            rgba(44, 37, 32, 0.2) 60%,
            transparent 100%
    );
    display: flex;
    align-items: end;
    justify-content: flex-start;
    padding: 80px;
}

.hero-content {
    max-width: 600px;
    color: white;
}

.name-container {
    position: relative;
    margin-bottom: 30px;
}

.name {
    font-size: 5rem;
    font-weight: 300;
    color: white;
    line-height: 0.85;
    letter-spacing: -3px;
    margin-bottom: 15px;
    position: relative;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: name-reveal 1.5s ease-out 0.5s both;
}

@keyframes name-reveal {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.credential-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    font-weight: 400;
    position: relative;
    padding-left: 25px;
    opacity: 0;
    animation: credential-appear 0.8s ease-out both;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
}

.credential-item:nth-child(1) { animation-delay: 1.2s; }
.credential-item:nth-child(2) { animation-delay: 1.5s; }

@keyframes credential-appear {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.credential-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), rgba(255, 255, 255, 0.5));
    border-radius: 1px;
}

.philosophy {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    padding: 25px 0;
    border-left: 3px solid var(--primary);
    padding-left: 25px;
    position: relative;
    opacity: 0;
    animation: philosophy-fade 1s ease-out 2s both;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.2);
}

@keyframes philosophy-fade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container and Content */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: var(--background);
    position: relative;
    z-index: 2;
}

.content-sections {
    position: relative;
    z-index: 1;
}

.main-content {
    padding: 80px 60px 60px 60px;
}

.description-flow {
    color: var(--text-medium);
    font-size: 1.2rem;
    line-height: 1.9;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    position: relative;
}

.description-flow p {
    margin-bottom: 30px;
    position: relative;
}

.contact-portal {
    text-align: center;
    padding: 60px 0;
    position: relative;
}

.contact-portal::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.email-link {
    display: inline-block;
    background: transparent;
    color: #fff;
    text-decoration: none;
    padding: 25px 50px;
    font-weight: 400;
    font-size: 1.3rem;
    border: 2px solid transparent;
    background: var(--secondary);
    border-bottom: 2px solid var(--primary);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
}

.email-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(199, 168, 130, 0.08), transparent);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.email-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--text-dark);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.email-link:hover {
    background: var(--primary);
    color: var(--text-dark);
    transform: translateY(-5px);
    letter-spacing: 2px;
}

.email-link:hover::before {
    left: 100%;
}

.email-link:hover::after {
    width: 60%;
}

/* Expertise Alternating Layout */
.expertise-flow {
    padding: 0 60px 80px 60px;
}

.expertise-alternating {
    max-width: 1000px;
    margin: 0 auto;
}

.expertise-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 80px;
    opacity: 0;
    animation: row-appear 0.8s ease-out both;
    min-height: 300px;
}

.expertise-row:nth-child(1) { animation-delay: 0.2s; }
.expertise-row:nth-child(2) { animation-delay: 0.4s; }
.expertise-row:nth-child(3) { animation-delay: 0.6s; }
.expertise-row:nth-child(4) { animation-delay: 0.8s; }

@keyframes row-appear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.expertise-image {
    flex: 1;
    width: calc(50%);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(199, 168, 130, 0.2);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-placeholder {
    width: 100%;
    padding-top: calc(100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 0.9rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-content {
    flex: 1;
    width: 50%;
    padding: 40px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(199, 168, 130, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.expertise-content:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(199, 168, 130, 0.15);
}

.expertise-content:hover::before {
    transform: scaleX(1);
}

.expertise-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 15px;
    position: relative;
}

.expertise-desc {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

.footer-whisper {
    text-align: center;
    padding: 40px 60px 60px 60px;
    color: var(--secondary);
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.7;
    position: relative;
}

.footer-whisper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-overlay {
        padding: 60px;
    }

    .expertise-image {
        height: 250px;
    }

    .expertise-row {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .hero-overlay {
        padding: 40px;
        justify-content: center;
        text-align: center;
    }

    .name {
        font-size: 3.5rem;
        letter-spacing: -2px;
    }

    .expertise-row,
    .expertise-row.right {
        flex-direction: column !important;
        gap: 0;
        text-align: center;
        min-height: auto;
    }

    .expertise-row.right .expertise-image {
        order: 1;
    }

    .expertise-row.right .expertise-content {
        order: 2;
    }

    .expertise-image {
        width: 100%;
        height: 200px;
        border-radius: 12px;
    }

    .expertise-content {
        width: 100%;
        border-radius: 12px;
        padding: 30px;
    }

    .main-content,
    .expertise-flow,
    .footer-whisper {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 480px) {
    .hero-overlay {
        padding: 30px;
    }

    .name {
        font-size: 2.8rem;
    }

    .credential-item {
        font-size: 1.1rem;
    }

    .philosophy {
        font-size: 1rem;
    }
}