/**
 * Compassion First - Services (High-Converting Structure)
 * STYLE 3: CALM CLINICAL MINIMALISM + HUMAN STORYTELLING
 */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500&display=swap');

.archive-layout {
    background-color: var(--color-surface);
    color: var(--color-text);
}

/* --- Global Overrides for Accessibility on this Page --- */
.btn-outline {
    color: var(--color-primary) !important;
    border-bottom: 2px solid rgba(28, 49, 68, 0.3) !important;
}

.btn-outline:hover {
    border-color: var(--color-primary) !important;
    opacity: 0.7;
}

/* --- 1. Soft Entry Hero --- */
.service-hero {
    padding: 8rem 1rem 5rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.service-hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: var(--color-primary);
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.service-hero p {
    font-size: 1.25rem;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* --- 2 & 3. Problem-Based Blocks --- */
.problem-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem 6rem;
    display: flex;
    flex-direction: column;
    gap: 4rem; 
}

.problem-block {
    background-color: var(--color-white);
    padding: 4rem 5rem;
    border-radius: 12px;
    border: none;
    box-shadow: none;
}

.problem-block h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    color: var(--color-primary);
    font-weight: 500; 
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Changed to Primary color with opacity for better contrast */
.problem-empathy {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary);
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.problem-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.problem-block ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.problem-block li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    opacity: 0.85;
}

.problem-block li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    opacity: 0.5;
}

/* --- 4. The Bridge Section (Reversed Colors) --- */
.bridge-section {
    background-color: var(--color-primary); /* Deep Navy Background */
    color: var(--color-surface); /* Cream Text */
    text-align: center;
    padding: 6rem 1rem;
    margin: 4rem 0;
}

.bridge-content {
    max-width: 600px;
    margin: 0 auto;
}

.bridge-content h3 {
    font-size: 2.2rem;
    color: var(--color-surface); /* Cream Text */
    font-weight: 400;
    margin-bottom: 1rem;
}

.bridge-btn {
    display: inline-block;
    background-color: var(--color-surface);
    color: var(--color-primary) !important;
    padding: 1rem 2.2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.bridge-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* --- 5. How It Works (Stronger Typography) --- */
.process-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 1rem 6rem;
}

.process-section h3 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--color-primary);
    font-weight: 400;
    margin-bottom: 5rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.process-step {
    padding: 0 1rem;
}

.step-number {
    font-family: 'Jost', sans-serif; /* Clean, modern geometric font */
    font-weight: 300;
    font-size: 4rem; 
    color: var(--color-primary); 
    opacity: 0.15; 
    line-height: 1;
    margin-bottom: 0.5rem;
}

.process-step h4 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600; /* Much stronger titles */
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* --- 6 & 7. Pricing & Trust --- */
.info-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 0 1rem 6rem;
}

.info-block {
    background-color: var(--color-white);
    padding: 4rem 3rem;
    border-radius: 12px;
}

.info-block h4 {
    font-size: 1.6rem;
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-block p {
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

/* High Contrast Link Style */
.info-link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.3s ease;
}

.info-link:hover {
    opacity: 0.6;
}

/* --- 8. Final CTA --- */
.final-cta {
    text-align: center;
    padding: 6rem 1rem 8rem;
}

.final-cta h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--color-primary);
    font-weight: 400;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .problem-block { padding: 3rem 2rem; }
    .process-grid { grid-template-columns: 1fr; gap: 4rem; }
    .info-grid { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; width: 100%; }
    .hero-ctas a { width: 100%; text-align: center; }
}