/* ================================================================
   Strata Family Law — Practice Area Styles (Rebuilt)
   Template: page-templates/practice-area.php
   Source:   final/approved/practice-area.html
   Rebuilt:  2026-04-16 by Hephaestus rebuild-template

   NOTE: Base resets, container, header, footer, mobile pill nav,
         and :root design tokens live in global.css.
         Testimonials slider styles live in home.css (shared with
         homepage). This file is practice-area specific only.

   Section sequence (matches approved HTML exactly):
     1. Dark hero
     2. Trust strip
     3. Intro + sticky sidebar
     4. Why Hire — dark pillars
     5. Related matters — cream
     6. Process — dark 6 steps
     7. FAQ — cream accordion
     8. Testimonials slider (shared component, styled in home.css)
     9. Service area — cream narrow
   ================================================================ */


/* ============================
   1. DARK HERO
   ============================ */
.pa-hero {
    position: relative;
    background: var(--deep-navy);
    border-top: 4px solid var(--copper);
    padding: 200px 0 140px !important;
    overflow: hidden;
    color: var(--cream-text);
}
.pa-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 40%, rgba(197, 163, 119, 0.08), transparent 60%);
    pointer-events: none;
}
.pa-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}
.pa-hero-eyebrow {
    font-family: 'Geraldton', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--copper);
    display: inline-block;
    margin-bottom: 28px;
}
.pa-hero h1 {
    font-family: 'Geraldton', sans-serif;
    font-size: 5rem;
    font-weight: 600;
    line-height: 1.05;
    color: var(--cream-text);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}
.pa-hero h1 .accent {
    color: var(--copper);
}
.pa-hero-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    line-height: 1.75;
    color: rgba(237, 230, 220, 0.85);
    max-width: 580px;
    margin-bottom: 44px;
}
.pa-hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-primary-sharp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--copper);
    color: var(--forest);
    font-family: 'Geraldton', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 20px 34px;
    border: 1px solid var(--copper);
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.btn-primary-sharp:hover {
    background: var(--copper-light);
    border-color: var(--copper-light);
}
.btn-primary-sharp svg {
    width: 16px;
    height: 16px;
}
.btn-secondary-sharp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: var(--cream-text);
    font-family: 'Geraldton', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 20px 34px;
    border: 1px solid var(--copper);
    transition: background 0.3s ease, color 0.3s ease;
}
.btn-secondary-sharp:hover {
    background: rgba(197, 163, 119, 0.08);
    color: var(--copper);
}
.btn-secondary-sharp svg {
    width: 16px;
    height: 16px;
    fill: var(--copper);
}
.pa-hero-image-wrap {
    position: relative;
}
.pa-hero-image-wrap::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--copper);
    z-index: 0;
}
.pa-hero-image-wrap img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 640px;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.02);
}


/* ============================
   2. TRUST STRIP
   ============================ */
.pa-trust {
    background: #152640;
    padding: 36px 0;
}
.pa-trust-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.pa-trust-cell {
    padding: 12px 28px;
    text-align: center;
    border-right: 1px solid rgba(197, 163, 119, 0.25);
    font-family: 'Geraldton', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(237, 230, 220, 0.85);
}
.pa-trust-cell:last-child {
    border-right: none;
}
.pa-trust-cell .pa-trust-strong {
    color: var(--copper);
    font-weight: 600;
    margin-right: 8px;
}


/* ============================
   3. INTRO + STICKY SIDEBAR
   ============================ */
.pa-intro {
    background: linear-gradient(135deg, #FAF7F2 0%, #F5EFE5 50%, #EFE4D2 100%) !important;
    padding: 120px 0;
    position: relative;
}
.pa-intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: start;
}
.pa-intro-content {
    max-width: 720px;
}
.pa-intro-content h2 {
    font-size: 3.6rem;
    line-height: 1.08;
    margin-bottom: 36px;
    color: var(--forest);
}
.pa-intro-content p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--ink-soft);
    max-width: 640px;
    margin-bottom: 24px;
}
.pa-intro-content h3 {
    font-size: 1.8rem;
    color: var(--forest);
    margin: 48px 0 20px;
    line-height: 1.2;
}
.pa-pullquote {
    margin-top: 56px;
    padding: 32px 40px;
    border-left: 3px solid var(--copper);
    background: rgba(197, 163, 119, 0.06);
    position: relative;
}
.pa-pullquote p {
    font-family: 'Geraldton', sans-serif;
    font-size: 1.5rem;
    line-height: 1.35;
    color: var(--forest);
    margin-bottom: 16px;
    max-width: 100%;
}
.pa-pullquote cite {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-size: 0.88rem;
    color: var(--copper);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Sticky sidebar form — matches single blog post sidebar design */
.pa-sidebar {
    position: sticky;
    top: 120px;
    max-width: 420px;
}
.pa-form-card {
    background: var(--deep-navy);
    color: var(--cream-text);
    border: 1px solid rgba(197, 163, 119, 0.15);
    padding: 40px 36px;
}
.pa-form-card .eyebrow {
    color: var(--copper);
    margin-bottom: 8px;
    display: block;
}
.pa-form-card h4 {
    font-size: 1.5rem;
    color: var(--warm-white);
    margin-bottom: 24px;
    line-height: 1.25;
}

/* Static fallback form */
.pa-form-card .pa-fallback-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.pa-form-card .pa-fallback-form input,
.pa-form-card .pa-fallback-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 163, 119, 0.15);
    padding: 14px 18px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--cream-text);
    outline: none;
    transition: border-color 0.3s ease;
}
.pa-form-card .pa-fallback-form input:focus,
.pa-form-card .pa-fallback-form textarea:focus {
    border-color: var(--copper);
    box-shadow: 0 0 0 3px rgba(197, 163, 119, 0.1);
}
.pa-form-card .pa-fallback-form input::placeholder,
.pa-form-card .pa-fallback-form textarea::placeholder {
    color: rgba(237, 230, 220, 0.3);
}
.pa-form-card .pa-fallback-form textarea {
    resize: vertical;
    min-height: 120px;
}
.pa-form-card .pa-fallback-form button {
    background: var(--copper);
    color: var(--deep-navy);
    border: none;
    padding: 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 6px;
    transition: background 0.3s ease;
    width: 100%;
}
.pa-form-card .pa-fallback-form button:hover {
    background: var(--copper-light);
}

/* Gravity Forms overrides inside the pa-form-card */
.pa-form-card .gform_wrapper {
    max-width: 100% !important;
}
.pa-form-card .gform_wrapper .gform_fields {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.pa-form-card .gform_wrapper .gfield {
    margin: 0 !important;
    padding: 0 !important;
}
.pa-form-card .gform_wrapper .gfield_label {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: rgba(237, 230, 220, 0.6) !important;
    margin-bottom: 8px !important;
}
.pa-form-card .gform_wrapper .gfield_required {
    color: var(--copper) !important;
    font-size: 0.7rem !important;
}
.pa-form-card .gform_wrapper input[type="text"],
.pa-form-card .gform_wrapper input[type="email"],
.pa-form-card .gform_wrapper input[type="tel"],
.pa-form-card .gform_wrapper textarea,
.pa-form-card .gform_wrapper select {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(197, 163, 119, 0.15) !important;
    padding: 14px 18px !important;
    color: var(--cream-text) !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 0.95rem !important;
    transition: border-color 0.3s ease !important;
}
.pa-form-card .gform_wrapper input:focus,
.pa-form-card .gform_wrapper textarea:focus,
.pa-form-card .gform_wrapper select:focus {
    border-color: var(--copper) !important;
    box-shadow: 0 0 0 3px rgba(197, 163, 119, 0.1) !important;
    outline: none !important;
}
.pa-form-card .gform_wrapper input::placeholder,
.pa-form-card .gform_wrapper textarea::placeholder {
    color: rgba(237, 230, 220, 0.3) !important;
}
.pa-form-card .gform_wrapper textarea {
    min-height: 120px !important;
    resize: vertical !important;
}
.pa-form-card .gform_wrapper select option {
    background: var(--deep-navy) !important;
    color: var(--cream-text) !important;
}
.pa-form-card .gform_wrapper .gform_button,
.pa-form-card .gform_wrapper input[type="submit"] {
    width: 100% !important;
    padding: 16px !important;
    background: var(--copper) !important;
    color: var(--deep-navy) !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
    margin-top: 6px !important;
}
.pa-form-card .gform_wrapper .gform_button:hover,
.pa-form-card .gform_wrapper input[type="submit"]:hover {
    background: var(--copper-light) !important;
}
.pa-form-card .gform_wrapper .gform_footer {
    padding: 0 !important;
    margin-top: 8px !important;
}
.pa-form-card .gform_wrapper .gform_ajax_spinner {
    display: none !important;
}
.pa-form-card .gform_wrapper .validation_message {
    color: #e74c3c !important;
    font-size: 0.8rem !important;
}

/* Or-call divider + note — recoloured for dark card */
.pa-form-card .pa-form-or {
    margin: 22px auto 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Geraldton', sans-serif;
    font-size: 1rem;
    color: var(--cream-text);
    font-weight: 600;
    width: fit-content;
}
.pa-form-card .pa-form-or a {
    color: var(--copper-light);
    text-decoration: none;
    transition: color 0.3s ease;
}
.pa-form-card .pa-form-or a:hover {
    color: var(--cream-text);
}
.pa-form-card .pa-form-or svg {
    width: 16px;
    height: 16px;
    fill: var(--copper);
}
.pa-form-card .pa-form-note {
    margin-top: 16px;
    font-size: 0.78rem;
    color: rgba(237, 230, 220, 0.55);
    letter-spacing: 0.06em;
    text-align: center;
}


/* ============================
   4. WHY HIRE — DARK PILLARS
   ============================ */
.pa-why {
    background: var(--deep-navy);
    border-top: 4px solid var(--copper);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    color: var(--cream-text);
}
.pa-why::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(197, 163, 119, 0.08), transparent 60%);
    pointer-events: none;
}
.pa-section-head {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    margin: 0 auto 72px;
}
.pa-why .pa-section-head h2 {
    font-size: 3.6rem;
    color: var(--cream-text);
    line-height: 1.1;
}
.pa-pillars {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.pa-pillar {
    background: transparent;
    border-top: 1px solid var(--copper);
    padding: 56px 36px;
    transition: background 0.3s ease;
}
.pa-pillar:hover {
    background: rgba(197, 163, 119, 0.05);
}
.pa-pillar h4 {
    font-size: 1.5rem;
    color: var(--cream-text);
    margin-bottom: 20px;
    line-height: 1.2;
}
.pa-pillar p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(237, 230, 220, 0.72);
}


/* ============================
   5. RELATED MATTERS — CREAM
   ============================ */
.pa-matters {
    background: linear-gradient(135deg, #FAF7F2 0%, #F5EFE5 50%, #EFE4D2 100%) !important;
    padding: 120px 0;
}
.pa-matters-head {
    max-width: 820px;
    margin-bottom: 60px;
}
.pa-matters-head h2 {
    font-size: 3rem;
    line-height: 1.12;
    color: var(--forest);
    margin-bottom: 24px;
}
.pa-matters-head p {
    font-size: 1.1rem;
    color: var(--ink-soft);
    max-width: 680px;
}
.pa-matters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pa-matter-card {
    background: transparent;
    border: 1px solid rgba(29, 40, 54, 0.16);
    padding: 40px 32px;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.pa-matter-card:hover {
    border-color: var(--copper);
    background: rgba(197, 163, 119, 0.04);
}
.pa-matter-card h4 {
    font-size: 1.35rem;
    color: var(--forest);
    margin-bottom: 14px;
    line-height: 1.2;
}
.pa-matter-card p {
    font-size: 1rem;
    color: var(--ink-soft);
    line-height: 1.75;
}


/* ============================
   6. PROCESS — DARK 6 STEPS
   ============================ */
.pa-process {
    background: var(--deep-navy);
    border-top: 4px solid var(--copper);
    border-bottom: 4px solid var(--copper);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    color: var(--cream-text);
}
.pa-process::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(197, 163, 119, 0.07), transparent 60%);
    pointer-events: none;
}
.pa-process .pa-section-head h2 {
    font-size: 3.6rem;
    color: var(--cream-text);
    line-height: 1.1;
}
.pa-process-flow {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    align-items: start;
}
.pa-step {
    text-align: center;
    padding: 24px 16px;
    position: relative;
}
.pa-step-num {
    font-family: 'Geraldton', sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--copper);
    line-height: 1;
    margin-bottom: 18px;
    display: block;
}
.pa-step h4 {
    font-family: 'Geraldton', sans-serif;
    font-size: 1.2rem;
    color: var(--cream-text);
    margin-bottom: 12px;
    line-height: 1.25;
}
.pa-step p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(237, 230, 220, 0.68);
}
.pa-step-arrow {
    position: absolute;
    top: 38px;
    right: -20px;
    color: var(--copper);
    font-size: 1.4rem;
    opacity: 0.6;
}
.pa-step:last-child .pa-step-arrow {
    display: none;
}


/* ============================
   7. FAQ — CREAM ACCORDION
   ============================ */
.pa-faq {
    background: linear-gradient(135deg, #FAF7F2 0%, #F5EFE5 50%, #EFE4D2 100%) !important;
    padding: 120px 0;
}
.pa-faq-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}
.pa-faq-head {
    margin-bottom: 60px;
    max-width: 720px;
}
.pa-faq-head h2 {
    font-size: 2.8rem;
    line-height: 1.12;
    color: var(--forest);
}
.pa-faq-list {
    display: flex;
    flex-direction: column;
}
.faq-item {
    border-top: 1px solid rgba(29, 40, 54, 0.14);
    padding: 4px 0;
}
.faq-item:last-child {
    border-bottom: 1px solid rgba(29, 40, 54, 0.14);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 28px 0;
    cursor: pointer;
    font-family: 'Geraldton', sans-serif;
    font-size: 1.25rem;
    color: var(--forest);
    background: transparent;
    border: none;
    text-align: left;
    line-height: 1.3;
    transition: color 0.3s ease;
}
.faq-question:hover {
    color: var(--copper);
}
.faq-icon {
    font-family: 'Geraldton', sans-serif;
    font-size: 1.8rem;
    color: var(--copper);
    line-height: 1;
    flex-shrink: 0;
    margin-left: 24px;
    transition: transform 0.3s ease;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer {
    max-height: 500px;
    padding-bottom: 28px;
}
.faq-answer p {
    font-size: 1.05rem;
    color: var(--ink-soft);
    line-height: 1.8;
    max-width: 760px;
}


/* ============================
   8. TESTIMONIALS
   Shared component with homepage. Main styles live in home.css
   (enqueued on practice-area pages via functions.php). No overrides
   needed here.
   ============================ */


/* ============================
   9. SERVICE AREA — CREAM NARROW
   ============================ */
.pa-service-area {
    background: linear-gradient(135deg, #FAF7F2 0%, #F5EFE5 50%, #EFE4D2 100%) !important;
    padding: 120px 0;
}
.pa-service-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}
.pa-service-inner h3 {
    font-size: 2.6rem;
    line-height: 1.1;
    color: var(--forest);
    margin-bottom: 32px;
}
.pa-service-inner p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--ink-soft);
}
.pa-service-inner p strong {
    color: var(--forest);
    font-weight: 600;
}


/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
    .pa-hero {
        padding: 170px 0 100px;
    }
    .pa-hero h1 {
        font-size: 3.6rem;
    }
    .pa-hero-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .pa-hero-image-wrap::after {
        bottom: -14px;
        right: -14px;
    }
    .pa-intro-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .pa-sidebar {
        position: static;
        max-width: 100%;
    }
    .pa-intro-content h2 {
        font-size: 2.8rem;
    }
    .pa-pillars {
        grid-template-columns: repeat(2, 1fr);
    }
    .pa-matters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pa-why .pa-section-head h2,
    .pa-process .pa-section-head h2 {
        font-size: 2.8rem;
    }
    .pa-process-flow {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
    .pa-step-arrow {
        display: none;
    }
    .pa-matters-head h2 {
        font-size: 2.4rem;
    }
    .pa-faq-head h2 {
        font-size: 2.2rem;
    }
    .pa-service-inner h3 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .pa-hero {
        padding: 150px 0 80px;
    }
    .pa-hero h1 {
        font-size: 2.8rem;
    }
    .pa-hero-sub {
        font-size: 1.1rem;
    }
    .pa-intro,
    .pa-why,
    .pa-matters,
    .pa-process,
    .pa-faq,
    .pa-service-area {
        padding: 80px 0;
    }
    .pa-trust-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .pa-trust-cell {
        border-right: none;
        border-bottom: 1px solid rgba(197, 163, 119, 0.2);
        padding: 18px 12px;
    }
    .pa-trust-cell:nth-child(odd) {
        border-right: 1px solid rgba(197, 163, 119, 0.2);
    }
    .pa-trust-cell:nth-last-child(-n+2) {
        border-bottom: none;
    }
    .pa-pillars {
        grid-template-columns: 1fr;
    }
    .pa-matters-grid {
        grid-template-columns: 1fr;
    }
    .pa-process-flow {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .pa-intro-content h2 {
        font-size: 2.2rem;
    }
    .pa-pullquote p {
        font-size: 1.2rem;
    }
    .btn-primary-sharp,
    .btn-secondary-sharp {
        padding: 16px 26px;
        font-size: 0.78rem;
        width: 100%;
        justify-content: center;
    }
    .pa-hero-ctas {
        flex-direction: column;
    }
    .pa-why .pa-section-head h2,
    .pa-process .pa-section-head h2 {
        font-size: 2.2rem;
    }
    .faq-question {
        font-size: 1.08rem;
        padding: 22px 0;
    }
    .pa-service-inner h3 {
        font-size: 1.9rem;
    }
}

@media (max-width: 480px) {
    .pa-faq-inner,
    .pa-service-inner {
        padding: 0 24px;
    }
    .pa-hero h1 {
        font-size: 2.2rem;
    }
    .pa-form-card {
        padding: 32px 24px;
    }
    .pa-pullquote {
        padding: 24px 24px;
    }
    .pa-pullquote p {
        font-size: 1.08rem;
    }
}
