/**
 * Compassion First - Meet the Therapist
 * STYLE: Calm Clinical Minimalism + High-Converting Editorial Layout
 */

.about-layout {
    background-color: var(--color-surface);
    color: var(--color-text);
    /* Removed bottom padding to eliminate the footer gap */
}

/* --- Global High-Contrast Buttons --- */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0; /* Fixed the broken button padding */
    color: var(--color-primary) !important;
    border-bottom: 2px solid rgba(28, 49, 68, 0.3) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--color-primary) !important;
    opacity: 0.7;
}

/* --- 1. Hero (Perfectly Aligned) --- */
.about-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 1rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Perfect left alignment */
}

.about-hero-text h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: var(--color-primary);
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.about-hero-text p {
    font-size: 1.25rem;
    color: var(--color-text);
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    align-items: center; /* Ensures buttons align horizontally */
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* --- 2. Quick Trust Snapshot --- */
.trust-snapshot {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.trust-badge {
    background-color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    border: 1px solid rgba(28, 49, 68, 0.05);
}

/* --- 3. Personal Intro (Editorial Pullquote) --- */
.personal-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 1rem;
    text-align: center;
}

.editorial-quote {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 2rem;
}

.editorial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text);
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto;
}

/* --- 4. How I Work --- */
.how-i-work {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 5rem;
    border-radius: 12px;
}

.how-i-work h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 2rem;
}

.how-i-work p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.work-bullets {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.work-bullets li {
    font-size: 1.1rem;
    padding-left: 2rem;
    position: relative;
    opacity: 0.9;
}

.work-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* --- 5. Are We A Good Fit? --- */
.good-fit-section {
    max-width: 1000px;
    margin: 8rem auto;
    padding: 0 1rem;
}

.good-fit-header {
    text-align: center;
    margin-bottom: 4rem;
}

.good-fit-header h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--color-primary);
    font-weight: 600;
}

.fit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.fit-column {
    background-color: var(--color-white); /* Both are clean white now */
    padding: 4rem 3.5rem;
    border-radius: 12px;
    border: 1px solid rgba(28, 49, 68, 0.05); /* Soft structural border */
}

.fit-column h3 {
    font-size: 1.3rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(28, 49, 68, 0.1);
}

.fit-list {
    list-style: none;
    padding: 0;
}

.fit-list li {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.9;
    padding-left: 1.5rem;
    position: relative;
}

.fit-yes li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.fit-no li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    opacity: 0.5;
}

/* --- 6. Credentials (Interactive Editorial Index) --- */
.credentials-section {
    max-width: 900px; /* Narrower for better reading rhythm */
    margin: 0 auto;
    padding: 2rem 1rem 8rem;
}

.credentials-header {
    text-align: left; /* Left align to match the index lines */
    margin-bottom: 3rem;
}

.credentials-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.credentials-header p {
    font-size: 1.15rem;
    color: var(--color-text);
    opacity: 0.85;
}

/* The Index List Container */
.cred-index {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(28, 49, 68, 0.15); /* Top structural line */
}

/* Individual Rows */
.cred-row {
    display: flex;
    align-items: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(28, 49, 68, 0.15);
    text-decoration: none;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

/* Background hover layer for a premium feel */
.cred-row::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--color-white);
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s var(--ease-out-expo), opacity 0.4s ease;
    z-index: 0;
}

.cred-row:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

/* Row Content */
.cred-content {
    display: flex;
    align-items: center;
    width: 100%;
    z-index: 1; /* Keeps text above the hover background */
    padding: 0 1rem; /* Base padding */
    transition: padding 0.4s var(--ease-out-expo);
}

.cred-row:hover .cred-content {
    padding: 0 2rem; /* Indents the text elegantly on hover */
}

/* Acronym */
.cred-acronym {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-primary);
    font-weight: 600;
    width: 25%; /* Fixed width to align the descriptions */
    min-width: 120px;
}

/* Full Name */
.cred-name {
    font-size: 1.1rem;
    color: var(--color-text);
    opacity: 0.9;
    flex: 1;
    line-height: 1.5;
}

/* The Arrow */
.cred-arrow {
    font-size: 1.5rem;
    color: var(--color-primary);
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s var(--ease-out-expo);
}

.cred-row:hover .cred-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Index */
@media (max-width: 768px) {
    .cred-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .cred-acronym {
        width: 100%;
    }
    .cred-arrow {
        display: none; /* Hide arrow on mobile to save space */
    }
    .cred-row:hover .cred-content {
        padding: 0 1rem; /* Less indent on mobile */
    }
}

/* --- 9. Soft CTA (Flushed to Footer) --- */
.soft-cta {
    background-color: var(--color-primary);
    color: var(--color-surface);
    padding: 8rem 1rem;
    text-align: center;
    margin: 0; /* Ensures it touches the footer perfectly */
}

.soft-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--color-surface);
    font-weight: 400;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .about-hero { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .about-hero-text { align-items: center; }
    .hero-buttons { justify-content: center; }
    .trust-snapshot { justify-content: center; }
    .fit-grid, .work-bullets { grid-template-columns: 1fr; gap: 2rem; }
    .how-i-work { padding: 3rem 2rem; }
}