/* =========================================
   0. DESIGN SYSTEM & VARIABLES
========================================= */
:root {
    --color-primary: #52466B;
    --color-primary-dark: #3F3553;
    --color-purple-accent: #5A476C;
    --color-teal-dark: #43767E;
    --color-teal-main: #548E97;
    --color-teal-accent: #7AC6BA;
    --color-teal-light: #99D3DA;
    --color-teal-soft: #CFF4F2;
    --color-cream-bg: #FFF9F4;
    --color-light-gray: #F1F1F1;
    --color-dark: #333333;
    --color-text-muted: #666666;
    --color-white: #FFFFFF;

    --font-heading: 'Alice', serif;
    --font-body: 'Open Sans', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-drawer: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

    --shadow-header: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-dropdown: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-drawer: -8px 0 30px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* =========================================
   1. RESET Y ESTILOS GLOBALES
========================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.5;
    color: var(--color-dark);
    overflow-x: hidden;
    background-color: var(--color-white);
}

body.menu-open {
    overflow: hidden;
    touch-action: none;
}

/* Tipografía de Títulos */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

nav ul, nav ol {
    list-style: none;
}

button {
    font: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* Overlay Backdrop para Menú Móvil */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================
   2. HEADER / MENÚ DE NAVEGACIÓN
========================================= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-white);
    transition: background-color var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
    padding: 20px 0;
}

/* Clase que se añade con JavaScript al hacer scroll */
.main-header.scrolled {
    background-color: var(--color-white);
    box-shadow: var(--shadow-header);
    padding: 12px 0;
}

.header-container {
    width: 100%;
    margin: 0 auto;
    padding-left: clamp(100px, 9vw, 220px);
    padding-right: clamp(20px, 3.5vw, 50px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    z-index: 1001;
    margin-left: -80px;
    transition: margin-left var(--transition-base);
}

.logo {
    height: 50px;
    width: auto;
    transition: height var(--transition-base);
}

.main-header.scrolled .logo {
    height: 40px;
}

.main-header.scrolled .logo-link {
    margin-left: -5px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.nav-list {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-list a {
    font-size: 15px;
    font-weight: 500;
    color: #444; 
    transition: color var(--transition-base);
    white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.active {
    color: #518EAA !important;
    font-weight: 600;
}

.header-right-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1001;
}

/* Botón de Cambio de Idioma (Pill Outline) */
.btn-lang-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 20px;
    border: 2px solid #518EAA;
    color: #518EAA;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    background-color: transparent;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-lang-pill:hover,
.btn-lang-pill:focus {
    background-color: #518EAA ;
    border-color: #518EAA ;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(153, 211, 218, 0.35);
    transform: translateY(-1px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

/* Selector de Idioma (ES | EN) */
.lang-switch-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 6px 14px !important;
    border: 1.5px solid var(--color-purple-accent);
    border-radius: 20px;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--color-purple-accent) !important;
    background-color: var(--color-white);
    transition: all var(--transition-base) !important;
    white-space: nowrap;
}

.lang-switch-btn:hover {
    background-color: var(--color-purple-accent);
    color: var(--color-white) !important;
}

/* Dropdowns (Menús desplegables en Escritorio) */
.has-dropdown {
    position: relative;
}

.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.has-dropdown i {
    font-size: 12px;
    transition: transform var(--transition-base);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    box-shadow: var(--shadow-dropdown);
    min-width: 200px;
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
}

.dropdown-menu a:hover {
    background-color: var(--color-cream-bg);
}

.mobile-toggle,
.mobile-cta {
    display: none;
}

/* Responsive Header & Mobile Menu Drawer */
@media (max-width: 1100px) {
    .header-container {
        display: flex;
        justify-content: space-between;
        padding-left: 20px;
        padding-right: 20px;
    }

    .header-right-controls {
        gap: 10px;
    }

    .btn-lang-pill {
        padding: 5px 14px;
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .logo-link {
        margin-left: 0;
    }

    .header-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
        width: 44px;
        height: 44px;
        font-size: 24px;
        color: var(--color-purple-accent);
        border-radius: 8px;
        transition: color var(--transition-base), background-color var(--transition-base), transform var(--transition-base);
    }

    .mobile-toggle:hover,
    .mobile-toggle:focus {
        background-color: rgba(90, 71, 108, 0.08);
    }

    .mobile-toggle.active {
        color: var(--color-primary);
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        padding-top: 90px;
        padding-bottom: 40px;
        box-shadow: var(--shadow-drawer);
        transform: translateX(100%);
        transition: transform var(--transition-drawer);
        overflow-y: auto;
        z-index: 1000;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        padding: 0 24px;
        gap: 0;
    }

    .nav-list > li {
        width: 100%;
        border-bottom: 1px solid #EEEEEE;
    }

    .nav-list > li:last-child {
        border-bottom: none;
    }

    .nav-list a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 0;
        font-size: 16px;
        font-weight: 500;
        color: var(--color-dark);
        width: 100%;
    }

    /* Submenú desplegable en móvil */
    .has-dropdown .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        transform: none;
        box-shadow: none;
        display: block;
        padding: 0 0 0 16px;
        overflow: hidden;
        background-color: #FAF9FB;
        border-radius: 6px;
        margin-bottom: 0;
        transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    }

    .has-dropdown:hover .dropdown-menu {
        /* Desactivar hover en móvil */
        opacity: 0;
        visibility: hidden;
        max-height: 0;
    }

    .has-dropdown.dropdown-open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
        padding: 8px 0 8px 16px;
        margin-bottom: 12px;
    }

    .has-dropdown.dropdown-open > a i {
        transform: rotate(180deg);
        color: var(--color-teal-dark);
    }

    .mobile-cta {
        display: block !important;
        border-bottom: none !important;
        margin-top: 24px;
        padding: 0 24px;
    }
    
    .mobile-cta .btn-primary {
        display: block;
        text-align: center;
        color: var(--color-white) !important;
        background-color: var(--color-primary) !important;
        padding: 14px 20px;
        width: 100%;
        border-radius: 50px;
        font-size: 15px;
        font-weight: 600;
        box-shadow: 0 4px 12px rgba(82, 70, 107, 0.2);
    }
}

@media (max-width: 900px) {
    .header-container {
        padding-left: 12px;
        padding-right: 24px;
    }
}

@media (max-width: 600px) {
    .header-container {
        padding-left: 10px;
        padding-right: 18px;
    }
}


/* =========================================
   3. HERO SECTION
========================================= */
.hero {
    position: relative;
    overflow: hidden;
    margin-top: 110px;
    background: var(--color-white);
}

.hero-shape-left {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    max-width: 35%;
    object-fit: cover;
    object-position: left center;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding-left: clamp(100px, 9vw, 220px);
    min-height: 620px;
}

.hero-text {
    position: relative;
    z-index: 2;
    padding-right: 40px;
}

.pre-title {
    display: block;
    color: var(--color-teal-light);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(2.3rem, 3vw, 3.3rem);
    line-height: 1.15;
    color: var(--color-primary);
    font-weight: 600;
    max-width: 560px;
    margin-bottom: 10px;
}

.post-title {
    display: block;
    color: var(--color-teal-light);
    font-size: 22px;
    font-style: italic;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-subtitle {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 18px;
    max-width: 520px;
    line-height: 1.4;
}

.hero p {
    margin-bottom: 18px;
    font-size: 16px;
    color: var(--color-dark);
    max-width: 540px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    margin-top: 28px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 15px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition-base);
    white-space: normal;
    text-align: center;
    line-height: 1.5;
}

.btn-primary:hover {
    opacity: 0.9;
}

.cta-btn-wrapper {
    margin-top: 40px;
}

.btn-cta-final.h {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color var(--transition-base), transform var(--transition-base);
}

.btn-cta-final.h:hover {
    background-color: var(--color-teal-dark);
    transform: translateY(-2px);
}

.hero-features {
    display: flex;
    gap: 28px;
    margin-top: 26px;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 500;
}

.hero-features span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-features i {
    color: var(--color-purple-accent);
    font-size: 35px;
    min-width: 38px;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: min(52%, 840px);
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.hero-photo {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    pointer-events: auto;
}

/* Tablet Hero */
@media (max-width: 900px) {
    .hero {
        margin-top: 90px;
        padding-bottom: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 24px 0;
        min-height: auto;
    }

    .hero-text {
        padding-right: 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: 380px;
        margin-top: 10px;
    }

    .hero-shape-left {
        opacity: 0.25;
        max-width: 45%;
    }
}

/* Mobile Hero */
@media (max-width: 600px) {
    .hero {
        margin-top: 78px;
        padding-bottom: 0;
    }

    .hero-content {
        padding: 20px 18px 0;
        gap: 20px;
    }

    .hero-shape-left {
        display: none;
    }

    .pre-title {
        font-size: 12px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .post-title {
        font-size: 17px;
        margin-bottom: 18px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.75;
    }

    .hero-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 22px;
    }

    .hero-features span {
        display: flex;
        align-items: center;
    }

    .hero-features i {
        font-size: 30px;
        width: 34px;
    }

    .hero-buttons {
        margin-top: 26px;
    }

    .hero .btn-primary {
        width: 100%;
        padding: 16px;
        font-size: 15px;
        white-space: normal;
    }

    .hero-image {
        width: 100%;
        height: 270px;
        margin-top: 28px;
    }

    .hero-photo {
        object-position: center top;
    }
}


/* =========================================
   4. SECCIÓN DESCRIPCIÓN (Fondo Morado)
========================================= */
.desc {
    position: relative;
    overflow: hidden;
    background-color: var(--color-primary);
    padding: 80px 24px;
    display: flex;
    justify-content: center;
}

.desc-container {
    position: relative;
    z-index: 2;
    max-width: 1024px;
    text-align: center;
}

.puzzle-decoration {
    position: absolute;
    bottom: 100px; 
    right: 20px;  
    width: 160px; 
    height: auto;
    z-index: 1; 
    pointer-events: none; 
    opacity: 0.9; 
}

.desc h2 {
    font-size: 36px;
    margin-bottom: 32px;
    color: var(--color-teal-soft);
    line-height: 1.3;
}

.desc p {
    font-size: 16px;
    line-height: 1.7; 
    margin-bottom: 24px; 
    color: var(--color-white); 
}

.desc p:last-of-type {
    margin-bottom: 0;
}

.desc p.inter {
    font-size: 22px;
    margin-top: 36px;
    color: var(--color-teal-soft);
}

.hero-buttons-des {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.btn-secundary {
    display: inline-block;
    padding: 15px 36px;
    background-color: var(--color-teal-soft);
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color var(--transition-base), transform var(--transition-base);
}

.btn-secundary:hover {
    background-color: var(--color-teal-light);
    transform: translateY(-2px);
}

/* Responsive Descripción */
@media (max-width: 768px) {
    .desc {
        padding: 60px 20px;
    }
    
    .desc h2 {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .desc p {
        font-size: 15px;
    }
    
    .puzzle-decoration {
        width: 100px;
        bottom: 10px;
        right: 10px;
        opacity: 0.5;
    }
    
    .hero-buttons-des {
        margin-top: 30px;
    }
    
    .btn-secundary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}


/* =========================================
   5. SECCIÓN INFO EMDR & VIRTUAL BANNER
========================================= */
.emdr-info {
    background-color: var(--color-white);
    padding: 100px 24px;
}

.emdr-info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.emdr-info-container .emdr-col:first-child {
    padding-top: 50px; 
}

.emdr-col p {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Títulos con flecha */
.title-with-arrow {
    font-size: 32px;
    color: var(--color-purple-accent);
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.title-with-arrow.rigth {
    color: #518EAA;
}

.title-with-arrow::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 1.5px;
    background-color: var(--color-teal-accent);
}

.title-with-arrow::before {
    content: '';
    position: absolute;
    left: 58px;
    bottom: -4px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--color-teal-accent);
}

.read-more {
    color: var(--color-purple-accent);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-base);
}

.read-more:hover {
    color: var(--color-teal-accent);
}

/* Tarjetas Info EMDR */
.card-bg {
    border-radius: 24px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.card-bg h3, 
.card-bg p {
    position: relative;
    z-index: 2;
}

.card-bg.left {
    background-color: var(--color-light-gray);
}

.card-bg.rigth {
    background-color: var(--color-cream-bg);
}

.highlight-text {
    color: var(--color-teal-accent) !important;
    font-style: italic;
    font-size: 16px !important;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 2;
}

.card-decoration {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 140px;
    height: auto;
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
}

/* Banner Virtual */
.virtual-banner {
    background-color: #8F97C4; 
    border-radius: 50px;
    padding: 50px 60px;
    margin: 80px auto 0 auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.virtual-banner-content {
    position: relative;
    z-index: 2;
    max-width: 75%;
}

.virtual-banner h3 {
    font-size: 28px;
    color: var(--color-white);
    margin-bottom: 20px;
    font-weight: 600;
}

.virtual-banner p {
    font-size: 16px;
    color: var(--color-white);
    line-height: 1.7;
    opacity: 0.95;
    margin: 0;
}

.virtual-banner-decoo {
    position: absolute;
    bottom: -20px; 
    right: 10px;
    width: 250px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

/* Responsive Info EMDR & Banner */
@media (max-width: 900px) {
    .emdr-info-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .virtual-banner {
        padding: 40px 30px;
        margin-top: 60px;
    }
    
    .virtual-banner-content {
        max-width: 100%; 
        padding-bottom: 80px; 
    }
    
    .virtual-banner h3 {
        font-size: 24px;
    }

    .virtual-banner-decoo {
        width: 180px;
        right: -10px;
        bottom: -10px;
    }
}


/* =========================================
   6. SECCIÓN TRAUMA AWARENESS
========================================= */
.trauma-awareness {
    position: relative;
    background-color: var(--color-light-gray);
    padding: 100px 24px;
    text-align: center;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.side-branch {
    position: absolute;
    left: -20px;
    bottom: -10%;
    transform: translateY(-50%);
    height: 80%;
    max-height: 200px;
    pointer-events: none;
    z-index: 0;
}

.trauma-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.trauma-content h2 {
    font-size: 32px;
    color: var(--color-purple-accent);
    margin-bottom: 30px;
    font-weight: 600;
}

.trauma-content p {
    font-size: 16px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 24px;
}

.trauma-content p:last-child {
    margin-bottom: 0;
}


/* =========================================
   7. SECCIÓN QUÉ SE PUEDE TRABAJAR
========================================= */
.what-to-work {
    padding: 100px 24px;
}

.what-container {
    max-width: 1200px;
    margin: 0 auto;
}

.what-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Título con flecha centrada */
.title-with-arrow-center {
    font-size: 32px;
    color: var(--color-purple-accent);
    position: relative;
    padding-bottom: 16px;
    display: inline-block;
}

.title-with-arrow-center::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 1.5px;
    background-color: var(--color-teal-accent);
}

.title-with-arrow-center::before {
    content: '';
    position: absolute;
    left: calc(50% + 30px);
    bottom: -4px;
    transform: translateX(-100%);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--color-teal-accent);
}

.what-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: start;
}

.what-item {
    text-align: center;
}

.what-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: #518EAA;
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.what-item:hover .what-icon {
    transform: translateY(-5px);
    border-color: var(--color-teal-accent);
}

.what-item h4 {
    font-size: 1.2em;
    color: var(--color-purple-accent);
    margin-bottom: 10px;
    font-weight: 700;
}

.what-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Responsive Qué se puede trabajar */
@media (max-width: 1024px) {
    .what-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .what-to-work {
        padding: 60px 24px;
    }
    
    .title-with-arrow-center {
        font-size: 26px;
    }

    .what-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }
    
    .what-icon {
        width: 65px;
        height: 65px;
        font-size: 22px;
    }
}


/* =========================================
   8. SECCIÓN CÓMO FUNCIONA
========================================= */
.how-it-works {
    background-color: var(--color-teal-light);
    padding: 80px 24px 100px 24px;
}

.how-container {
    max-width: 1200px;
    margin: 0 auto;
}

.what-header h2 {
    font-size: 32px;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.how-intro {
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 16px;
    color: var(--color-dark);
    line-height: 1.6;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    background-color: var(--color-light-gray);
    border-radius: 40px;
    padding: 40px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.step-card-1 { padding-bottom: 180px; }
.step-card-2 { padding-bottom: 200px; }
.step-card-3 { padding-bottom: 300px; }

.step-card h3 {
    font-size: 20px;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.step-body p {
    font-size: 14.5px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 16px;
}

.step-body p:last-child {
    margin-bottom: 0;
}

.card-img-metas {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: auto;
}

.card-img-flores {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: auto;
}

.card-img-pasos {
    position: absolute;
    bottom: 0;
    right: 15px;
    width: 250px;
    height: auto;
}

.step-connector {
    position: absolute;
    top: 50%;
    right: -40px;
    width: 40px;
    height: 2px;
    border-top: 2.5px dotted var(--color-primary);
    z-index: 1;
}

.step-connector::after {
    content: '';
    position: absolute;
    right: -2px;
    top: -5.5px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--color-primary);
}

/* Responsive Cómo Funciona */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 600px;
        margin: 0 auto;
    }

    .step-connector {
        display: none;
    }

    .step-card-1 { padding-bottom: 200px; }
    .step-card-3 { padding-bottom: 350px; }
}


/* =========================================
   9. SECCIÓN ACERCA DE LA TERAPEUTA
========================================= */
.about-therapist {
    background-color: var(--color-white);
    padding: 0; 
    overflow: hidden; 
}

.about-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%; 
}

.about-image-col {
    flex: 0 0 50%;
    display: flex;
}

.about-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0; 
}

.about-text-col {
    flex: 0 0 50%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.about-text-col > * {
    max-width: 600px;
}

.about-text-col p {
    font-size: 16px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-btn-container {
    margin-top: 24px;
}

.about-inter {
    padding: 30px 0 20px 30px;
}

/* Responsive Acerca de la Terapeuta */
@media (max-width: 1024px) {
    .about-container {
        flex-direction: column;
    }

    .about-image-col, 
    .about-text-col {
        flex: 0 0 100%;
        width: 100%;
    }

    .about-text-col {
        padding: 60px 24px;
    }
    
    .about-text-col > * {
        max-width: 100%; 
    }

    .about-text-col h2 {
        font-size: 28px;
    }
}


/* =========================================
   10. EVALUACIÓN Y SIGUIENTES PASOS
========================================= */
.assessment-flow {
    background-color: #F4F5F6;
    padding: 80px 24px;
}

.fit-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.fit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.assessment-list {
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.assessment-list.best-fit {
    background-color: var(--color-cream-bg);
}

.assessment-list.notbest {
    background-color: var(--color-white);
}

.assessment-list h3 {
    font-size: 22px;
    color: var(--color-purple-accent);
    margin-bottom: 20px;
    font-weight: 700;
}

.fit-intro {
    font-size: 15px;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.5;
}

.fit-list-plain {
    padding-left: 20px;
    margin: 0;
    flex-grow: 1;
}


.fit-list-plain li {
    font-size: 14.5px;
    color: var(--color-dark);
    line-height: 1.5;
    margin-bottom: 12px;
}

.fit-note {
    font-size: 14.5px;
    color: #000;
    line-height: 1.5;
    margin-top: 20px;
}

.fit-footer {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 10px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.fit-footer p {
    font-size: 16px;
    color: #000;
    font-style: italic; 
}

.expect-banner-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.expect-banner {
    background-color: #8F97C4;
    border-radius: 30px;
    padding: 40px 50px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.expect-banner h2 {
    color: var(--color-white);
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 700;
}

.expect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: left;
}

.expect-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.item-circle {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #52466B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #cff4f2;
}

.item-text h4 {
    color: var(--color-white);
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 700;
}

.item-text p {
    color: var(--color-white);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    opacity: 0.95;
}

.expect-footer {
    margin-top: 40px;
    color: var(--color-white);
    font-size: 15px;
    opacity: 0.9;
}

/* Responsive Evaluación */
@media (max-width: 900px) {
    .fit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .expect-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .expect-banner {
        padding: 40px 30px;
    }
}


/* =========================================
   11. SECCIÓN LLAMADO A LA ACCIÓN (CTA)
========================================= */
.cta-steps {
    background-color: var(--color-primary);
    padding: 30px 24px 0 24px;
    overflow: hidden;
}

.cta-container {
    margin: 0 auto;
}

.cta-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.cta-image-col {
    flex: 0 0 20%;
    display: flex;
    align-items: flex-end;
    align-self: stretch;
}

.cta-image {
    width: 70%;
    max-width: 400px;
    height: 70%;
    margin: 0 auto;
    display: block;
}

.cta-text-col {
    flex: 1;
    padding-top: 40px;
    padding-bottom: 80px;
}

.cta-text-col h2 {
    font-size: 32px;
    color: var(--color-white);
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.cta-text-col p {
    font-size: 16px;
    color: var(--color-white);
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.95;
}

.cta-text-col strong {
    color: var(--color-white);
    font-weight: 700;
}

.cta-btn-wrapper {
    margin-top: 40px;
}

.btn-cta-final {
    display: inline-block;
    background-color: var(--color-teal-main);
    color: var(--color-white);
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color var(--transition-base), transform var(--transition-base);
}

.btn-cta-final:hover {
    background-color: var(--color-teal-dark);
    transform: translateY(-2px);
}
.colors{
    color: var(--color-teal-main);
}
/* Responsive CTA */
@media (max-width: 900px) {
    .cta-steps {
        padding-top: 50px;
    }

    .cta-grid {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .cta-image-col {
        flex: 0 0 100%;
        width: 100%;
    }

    .cta-image {
        max-width: 300px;
    }

    .cta-text-col {
        padding-top: 0;
        padding-bottom: 20px;
        text-align: center;
    }

    .cta-text-col h2 {
        font-size: 28px;
    }
}


/* =========================================
   12. SECCIÓN FAQ (PREGUNTAS FRECUENTES)
========================================= */
.faq-section {
    background-color: var(--color-cream-bg);
    padding: 0; 
    overflow: hidden;
}

.faq-container {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
}

/* Columna de la Imagen */
.faq-image-col {
    flex: 0 0 50%;
    display: flex;
}

.faq-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Columna del Texto y Acordeón */
.faq-content-col {
    flex: 0 0 50%;
    padding: 80px 80px 80px 60px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faq-accordion {
    width: 100%;
    max-width: 700px;
    margin-top: 20px;
}

/* Cada pregunta */
.faq-item {
    background-color: var(--color-primary);
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

/* Botón de la pregunta */
.faq-question {
    width: 100%;
    text-align: left;
    padding: 5px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--color-primary);
}

.faq-question:hover {
    background-color: --color-primary;
}

/* Icono de "+" */
.faq-icon {
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    transition: transform var(--transition-base);
}

/* Respuesta oculta por defecto */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.faq-answer p {
    font-size: 15px;
    color: #fff;
    line-height: 1.6;
    padding-bottom: 20px;
    margin: 0;
}

/* Clases activas */
.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Responsive FAQ */
@media (max-width: 1024px) {
    .faq-container {
        flex-direction: column;
    }

    .faq-image-col, 
    .faq-content-col {
        flex: 0 0 100%;
        width: 100%;
    }

    .faq-photo {
        height: 400px;
        object-position: center;
    }

    .faq-content-col {
        padding: 60px 24px;
    }
}


/* =========================================
   13. BANNER CTA FINAL
========================================= */
.final-cta-section {
    padding: 60px 24px 80px 24px;
    background-color: var(--color-cream-bg);
}

.final-cta-container {
    max-width: 1200px;
    margin: 0 auto;
}

.final-cta-content {
    background-color: var(--color-primary);
    border-radius: 50px;
    padding: 40px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Círculo de la rama */
.cta-icon-wrapper {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.cta-branch-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1); 
}

/* Área de texto */
.cta-text {
    flex-grow: 1;
    color: var(--color-white);
}

.cta-text h2 {
    font-size: 28px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--color-white);
}

.cta-text p {
    font-size: 16px;
    margin: 0;
    opacity: 0.95;
    line-height: 1.5;
}

.cta-button {
    flex-shrink: 0;
}

/* Responsive Banner CTA */
@media (max-width: 1024px) {
    .final-cta-content {
        flex-direction: column;
        text-align: center;
        border-radius: 40px;
        padding: 40px 30px;
    }
}


/* =========================================
   14. FOOTER (ACTUALIZADO)
========================================= */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 70px 24px 40px 24px;
    font-family: var(--font-body);
}

.site-footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Columna 1: Información */
.footer-col-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #99D3DA;
}

.footer-col-info p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-disclaimer-text {
    margin-top: 30px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Columna 2: Enlaces */
.footer-nav-section h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #99D3DA;
}

.footer-docs {
    margin-top: 40px;
}

.footer-nav-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-section li {
    margin-bottom: 12px;
}

.footer-nav-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    transition: color var(--transition-base);
    display: flex;
    align-items: center;
}

.footer-nav-section a:hover {
    color: var(--color-teal-light);
}

.arrow-icon {
    font-size: 10px;
    margin-left: 8px;
    opacity: 0.7;
    margin-top: 2px;
}

/* Columna 3: Credenciales */
.footer-col-badges h4 {
    font-size: 22px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 25px;
    color: #99D3DA;
}

.badges-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

.badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 8px;
}

.emdr-badge img {
    height: 90px;
    width: auto;
    border-radius: 50%;
}

.footer-logo-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.footer-logo {
    height: 150px;
    width: auto;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.footer-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Barra Inferior */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom-bar p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 8px;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 50px 24px 30px 24px;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .badges-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .footer-bottom-bar p {
        font-size: 13px;
    }
}