/* ============================================================
   landing-acompanamiento.css
   Overrides i estils específics de la landing Acompañamiento Emocional
   ============================================================ */

/* ── Hero: variant vídeo 2 columnes ─────────────────────────── */
.hero--acompanamiento {
    background-image: url('/assets/img/therapeutic-1.png');
    background-size: cover;
    background-position: center 30%;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: var(--header-height-desktop);
    padding-bottom: 0;
}

/* Overlay fosc sobre la imatge (reutilitza el del base hero) */
.hero--acompanamiento::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
}

.hero--acompanamiento .hero__content {
    max-width: 100%;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* hero__top: text blanc sobre la imatge fosca */
.hero--acompanamiento .hero__top {
    text-align: center;
    padding: 2rem 2rem 2rem;
    width: 100%;
    max-width: 900px;
    position: relative;
    z-index: 2;
    color: var(--color-white);
}

.hero--acompanamiento .hero__top .hero__title {
    color: var(--color-white);
}

.hero--acompanamiento .hero__top .hero__subtitle,
.hero--acompanamiento .hero__top .hero__overline {
    color: rgba(255, 255, 255, 0.85);
}

.hero--acompanamiento .hero__top .hero__subtitle--sub {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
}

/* hero__split: les dos columnes */
.hero--acompanamiento .hero__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    width: 100%;
    max-width: 1100px;
    padding: 0 2rem 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.hero--acompanamiento .hero__video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 520px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
}

.hero--acompanamiento .hero__video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero--acompanamiento .hero__video-bullets {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
}

.hero--acompanamiento .hero__video-bullets span {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero--acompanamiento .hero__cta-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.hero--acompanamiento .hero__cta-card {
    background-color: transparent;
    border-radius: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Text introductori a la CTA card */
.hero--acompanamiento .hero__cta-intro {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
    font-style: italic;
    border-left: 3px solid var(--color-accent);
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

.hero--acompanamiento .hero__cta-card .hero__title {
    color: var(--color-bg-team);
    /* Changed from var(--color-accent) */
}

.hero--acompanamiento .hero__cta-card .hero__overline {
    color: var(--color-accent);
}

.hero--acompanamiento .hero__cta-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

/* Hero CTA: disposició en columna per a landing acompanamiento */
.hero--acompanamiento .hero__cta--vertical {
    flex-direction: column;
    align-items: stretch;
}

/* Botó a amplada completa */
.hero--acompanamiento .btn--full {
    width: 100%;
    text-align: center;
}

/* Overline centrat (per .section__overline--centered) */
.section__overline--centered {
    text-align: center;
}


@media (max-width: 768px) {
    .hero--acompanamiento .hero__split {
        grid-template-columns: 1fr;
        padding: 0 1rem 2rem;
        gap: var(--spacing-lg);
    }

    .hero--acompanamiento .hero__video-container {
        max-height: 360px;
    }
}

/* ── Secció "Identificación con el problema" ────────────────── */
.acomp-problem {
    background-color: var(--color-bg-team);
    color: var(--color-white);
    padding: 6rem 2rem 5rem;
    position: relative;
}

/* Línia decorativa superior */
.acomp-problem::before {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 0 auto 3rem;
}

.acomp-problem__inner {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

/* Primer paràgraf: titular impactant */
.acomp-problem__inner p:first-child {
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-white);
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}

/* Resta de paràgrafs: text emocional lleugero */
.acomp-problem__inner p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.9;
    margin-bottom: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
}

/* Últim paràgraf: resolució en blanc pur */
.acomp-problem__inner p:last-of-type {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.acomp-problem__cta {
    margin-top: 3rem;
}

.acomp-problem .btn--outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--color-white);
}

.acomp-problem .btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ── Secció "¿Para quién es?" ────────────────────────────────── */

.acomp-who {
    background-color: var(--color-beige);
    padding: 5rem 2rem;
}

.acomp-who__inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.acomp-who__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.acomp-who__box {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.acomp-who__box h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--color-bg-team);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-accent);
}

.acomp-who__box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.acomp-who__box li {
    font-size: 0.9rem;
    color: var(--color-dark-grey);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.5;
}

.acomp-who__box li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.acomp-who__box--muted {
    opacity: 0.75;
    background-color: var(--color-cream);
}

.acomp-who__box--muted h3 {
    border-bottom-color: var(--color-grey-neutral);
    color: var(--color-dark-grey);
}

@media (max-width: 768px) {
    .acomp-who__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ── Secció "Cómo trabajamos" (passos) ─────────────────────── */
.acomp-process {
    background-color: var(--color-cream);
    padding: 5rem 2rem;
}

.acomp-process__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Grid de passos amb connector visual */
.acomp-process__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
    position: relative;
}

/* Línia horitzontal que connecta els 3 passos */
.acomp-process__steps::before {
    content: '';
    position: absolute;
    top: 28px;
    /* centrada al cercle del número */
    left: calc(16.666% + 1rem);
    right: calc(16.666% + 1rem);
    height: 2px;
    background: linear-gradient(to right, var(--color-accent), var(--color-terracotta-light));
    z-index: 0;
}

/* Targeta de cada pas */
.acomp-step {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 2.5rem 1.75rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.acomp-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.acomp-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(232, 125, 82, 0.35);
}

.acomp-step h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-bg-team);
    letter-spacing: -0.01em;
}

.acomp-step p {
    font-size: 0.9rem;
    color: var(--color-dark-grey);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .acomp-process__steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .acomp-process__steps::before {
        display: none;
    }
}