/* =============================================================================
   THEME: Teal & Ember — Layout
   Identical structure to Soft Editorial. Colours driven by base.css tokens.
   ============================================================================= */

.site-header {
    background-color: var(--surface);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 780px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-logo { height: 80px; transition: var(--transition); display: flex; align-items: center; }
.logo-img  { height: 100px; width: auto; display: block; }


.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

.menu-toggle { display: none; }

/* --- Hero --- */
.hero {
    position: relative;
    background: var(--surface);
    padding: 8rem 1.5rem 7rem;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--secondary);
    margin: 0 auto 2.5rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
}

.hero h1 { color: var(--primary); margin-bottom: 1.5rem; font-size: clamp(2.5rem, 6vw, 4.5rem); }
.hero p  { color: var(--text-muted); font-size: 1.15rem; max-width: 560px; margin: 0 auto 3rem; line-height: 1.85; }

.hero-btns { display: flex; flex-direction: column; gap: 1rem; align-items: center; }

.hero-wave { display: none; }

.hero::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: var(--border);
}

/* --- Sections --- */
.philosophy          { padding: 7rem 0; background: var(--surface); }
.philosophy-details  { padding: 7rem 0; background: var(--tertiary); }
.services            { padding: 7rem 0; background: var(--surface); }

.about-section {
    padding: 7rem 0;
    background: var(--tertiary);
    overflow: hidden;
}

.about-section .section-title { text-align: center; }

.about-flex-container {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    padding: 0 1.5rem;
}

.contact-section { padding: 7rem 1.5rem; background: var(--surface); }

/* --- Footer --- */
.site-footer {
    background-color: var(--primary);
    color: rgba(253, 251, 248, 0.85);
    padding: 5rem 0 2.5rem;
    text-align: center;
}

.accreditation-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.pacfa-logo-wrapper {
    background: rgba(255,255,255,0.12);
    padding: 10px 16px;
    border-radius: 4px;
    display: inline-block;
}

.pacfa-logo {
    max-width: 160px;
    height: auto;
    filter: brightness(0) invert(1) opacity(0.75);
}

.accreditation-text p { font-size: 0.9rem; line-height: 1.6; opacity: 0.7; margin: 0.2rem 0; }
.member-number { font-weight: 700; color: var(--accent); opacity: 1; }

.footer-services {
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    opacity: 0.6;
    padding: 0 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.75rem;
    opacity: 0.45;
}

/* =============================================================================
   Responsive
   ============================================================================= */

@media (min-width: 480px) {
    .hero-btns { flex-direction: row; justify-content: center; }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        background: none;
        border: none;
        padding: 4px;
    }
    .bar { width: 22px; height: 1.5px; background: var(--text-main); border-radius: 2px; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--surface);
        padding: 1.5rem;
        flex-direction: column;
        gap: 1.25rem;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.active { display: flex; }

    .hero { padding: 6rem 1.5rem 5rem; }
    .philosophy, .philosophy-details, .services, .about-section, .contact-section { padding: 4rem 0; }
    .contact-section { padding: 4rem 1.5rem; }
}

@media (min-width: 992px) {
    .about-flex-container {
        flex-direction: row;
        gap: 4rem;
        align-items: flex-start;
        max-width: 780px;
    }
}
