/* ================================================================
   main-styles.css  —  Shared layout, components & design tokens
   Replaces: general-sections.css + global-sections.css
   Used by ALL pages
   ================================================================ */

/* ─── Design Tokens ─── */
:root {
    --color-deep-green: #0f2f1f;
    --color-heading: #173626;
    --color-accent: #69b85c;
    --color-accent-dark: #4d9943;
    --color-cta: #c93a12;
    --color-cta-dark: #a82e0d;
    --color-bg: #fff;
    --color-card: #edf2ee;
    --color-border: #cfd6cf;
    --color-text: #243128;
    --color-muted: #617064;
    --color-white: #ffffff;
    --color-danger-dot: #cf4a23;
    --shadow-soft: 0 18px 40px rgba(16, 42, 28, 0.08);
    --radius-lg: 2rem;
    --radius-xl: 2.5rem;
    --radius-pill: 999px;
    --space-section: clamp(4.5rem, 8vw, 7rem);
    --space-card: clamp(1.5rem, 2vw, 2rem);
    --ls-text: #2f3532;
    --ls-heading: #0f1f16;
    --ls-muted: #55675d;
    --ls-surface: #eef3ef;
    --ls-border: rgba(24, 47, 34, 0.14);
    --ls-radius-xl: 34px;
    --ls-radius-lg: 28px;
    --ls-radius-md: 22px;
}

/* ─── Base ─── */
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.65;
    overflow-x: hidden;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
.container-fluid { padding: 0; }
.widget-span { min-height: unset !important; }
.container { max-width: 1280px; }

.skip-link {
    position: absolute;
    left: 1rem; top: 1rem; z-index: 2000;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: var(--color-white);
    color: var(--color-heading);
}

/* ─── Section Spacing ─── */
.guide-section { padding: var(--space-section) 0; }
.guide-section-dark,
.guide-section-light { background: var(--color-bg); }

.wh-section { padding: clamp(3.6rem, 6vw, 5.8rem) 0; }
.wh-section .section-heading { margin-bottom: clamp(1.4rem, 2.6vw, 2.4rem); }
.section-heading { margin-bottom: 2rem; }

.wh-surface { background: #fff; }

/* ─── Unified Section Title ─── */
.section-title {
    margin: 0 0 1rem;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2rem, 3.2vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--ls-heading);
}
.section-title-lg {
    font-size: clamp(2.4rem, 4vw, 52px);
    line-height: 1.15;
}
.section-title-xl {
    font-size: clamp(2.8rem, 4.2vw, 4.55rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

/* ─── Kicker / Step Label ─── */
.section-kicker,
.step-label {
    margin-bottom: 0.75rem;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.step-label, .text-accent { color: var(--color-accent); }

/* ─── Body / Intro Text ─── */
.section-intro, .section-copy, .section-support,
.comparison-note, .section-text {
    color: var(--color-muted);
    font-size: 1.05rem;
}

.wh-subtitle, .wh-body {
    color: var(--ls-text);
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}
.wh-subtitle { max-width: 780px; margin: 0 auto; }
.narrow { max-width: 760px; }

/* ─── Buttons ─── */
.btn {
    border-radius: var(--radius-pill);
    font-weight: 700;
    padding: 0.95rem 1.5rem;
    border-width: 2px;
    transition: transform 0.2s ease, background-color 0.2s ease,
                border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover, .btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(15, 47, 31, 0.14);
}

.btn-cta-primary {
    background: var(--color-cta);
    border-color: var(--color-cta);
    color: var(--color-white);
}
.btn-cta-primary:hover, .btn-cta-primary:focus {
    background: var(--color-cta-dark);
    border-color: var(--color-cta-dark);
    color: var(--color-white);
}

.btn-cta-gradient {
    background: linear-gradient(90deg, #9d2103 0%, #ca2c06 100%);
    border: 3px solid #df585d;
    color: var(--color-white);
}
.btn-cta-gradient:hover, .btn-cta-gradient:focus {
    background: linear-gradient(90deg, #8e1d03 0%, #b92807 100%);
    border-color: #d84f52;
    color: var(--color-white);
}

.btn-cta-green {
    background: linear-gradient(90deg, #407e43 0%, #6cb55f 100%);
    border: 3px solid #b7dab1;
    color: var(--color-white);
}
.btn-cta-green:hover, .btn-cta-green:focus {
    background: linear-gradient(90deg, #3a723d 0%, #5ca44f 100%);
    border-color: #a5ce9e;
    color: var(--color-white);
}

.btn-nav-cta {
    min-height: 48px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.45;
    padding: 0.55rem 1.5rem;
}

.btn-phone-outline {
    background: transparent;
    border-color: currentColor;
    color: var(--color-cta);
}
.btn-phone-outline:hover, .btn-phone-outline:focus {
    background: rgba(201, 58, 18, 0.08);
    color: var(--color-cta-dark);
}

.btn-phone-light {
    min-height: 58px;
    padding: 12px 24px;
    border: 3px solid rgba(255, 255, 255, 0.96);
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}
.btn-phone-light:hover, .btn-phone-light:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* ─── Navbar ─── */
.site-header { position: relative; }

.main-navbar {
    position: absolute;
    inset: 0 0 auto;
    z-index: 10;
    padding: 1rem 0;
}
.main-navbar.is-scrolled {
    position: fixed;
    background: rgba(15, 47, 31, 0.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.navbar-brand img, .footer-logo img { width: 180px; height: auto; }
.navbar-nav { gap: 1.7rem; }

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.92);
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.35rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-link .caret { color: #6cb55f; font-size: 0.58rem; transform: translateY(1px); }
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus { color: var(--color-white); }
.navbar-toggler { border: 0; box-shadow: none; }

/* ─── Footer ─── */
.site-footer {
    margin: 0; padding: 12px;
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 64px 64px 0 0;
    background: #132717;
    color: #d9efde;
}
.site-footer .container { max-width: 1280px; padding: 15px; }

.footer-top {
    align-items: start;
    justify-content: space-between;
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 1rem;
    margin-bottom: 1.2rem;
}

.site-footer h2 {
    margin-bottom: 0.65rem; font-size: 16px;
    font-family: "Montserrat", sans-serif;
    font-weight: 800; line-height: 1.6; color: #6cb55f;
}

.site-footer address {
    margin-top: 0.95rem; font-style: normal; color: #d9efde;
    font-family: "Montserrat", sans-serif;
    font-size: 12px; font-weight: 400; line-height: 1.6;
}

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: 0.25rem; }
.footer-links a {
    display: inline-block; padding: 8px 0; color: #d9efde;
    font-family: "Montserrat", sans-serif;
    font-size: 14px; font-weight: 400; line-height: 1.6;
}
.footer-links a:hover, .footer-legal a:hover { color: #ffffff; }

.social-row { display: flex; gap: 1rem; margin-bottom: 1.15rem; color: #6cb55f; }
.social-row a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; color: #6cb55f; font-size: 22px;
}
.social-row a:hover, .social-row a:focus { color: #85cd78; }

.footer-phone {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 11px 24px;
    border: 3px solid #6cb55f; border-radius: 444px;
    color: #6cb55f; background: transparent;
    font-family: "Montserrat", sans-serif;
    font-size: 14px; font-weight: 700; line-height: 1.45; white-space: nowrap;
}
.footer-phone img { width: 16px; height: 16px; margin-right: 8px; }
.footer-phone:hover, .footer-phone:focus {
    color: #85cd78; border-color: #85cd78;
    background: rgba(108, 181, 95, 0.07);
}

.footer-bottom {
    display: flex; flex-wrap: nowrap; justify-content: center;
    gap: 2rem; padding-top: 0.8rem; margin-top: 0; border-top: 0;
}
.footer-bottom p {
    margin: 0; color: #d9efde;
    font-family: "Montserrat", sans-serif;
    font-size: 14px; font-weight: 400; line-height: 1.5;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 2rem; }
.footer-legal a {
    color: #6cb55f; font-family: "Montserrat", sans-serif;
    font-size: 14px; font-weight: 400; line-height: 1.5;
    text-decoration: underline; text-underline-offset: 2px;
}

/* ─── Shared Card Styles ─── */
.wh-media-frame {
    overflow: hidden;
    border-radius: var(--ls-radius-xl);
    background: #d9e3dd;
}
.wh-media-frame img { width: 100%; height: 100%; object-fit: cover; }

.wh-soft-card {
    height: 100%;
    border: 2px solid var(--ls-border);
    border-radius: var(--ls-radius-lg);
    background: var(--ls-surface);
    padding: 12px;
}
.wh-soft-card-inner {
    height: 100%;
    border-radius: var(--ls-radius-md);
    background: #ffffff;
    padding: 24px;
}

.wh-card-image { height: 264px; border-radius: 20px; overflow: hidden; }
.wh-card-image img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Shared List ─── */
.wh-dot-list { list-style: none; margin: 0; padding: 0; }
.wh-dot-list li {
    position: relative; margin-bottom: 14px; padding-left: 22px;
    color: var(--ls-text); font-family: "Montserrat", sans-serif;
    font-size: 16px; line-height: 1.55;
}
.wh-dot-list li::before {
    content: ""; position: absolute; left: 0; top: 7px;
    width: 10px; height: 10px; border-radius: 999px; background: #6cb55f;
}

/* ─── Shared Icon Components ─── */
.wh-icon-stack { display: grid; gap: 14px; }
.wh-icon-pill {
    border: 1px solid rgba(108, 181, 95, 0.35);
    border-radius: 16px;
    background: rgba(108, 181, 95, 0.09);
    padding: 16px 14px; text-align: center;
}
.wh-icon-pill img { width: 44px; height: 44px; object-fit: contain; margin-bottom: 8px; }
.wh-icon-pill p {
    margin: 0; color: #224330;
    font-family: "Montserrat", sans-serif;
    font-size: 16px; font-weight: 700; line-height: 1.35;
}

/* ─── FAQ Accordion (shared) ─── */
.wh-faq { padding-top: clamp(3rem, 4.5vw, 4.5rem); }
.wh-faq .row { --bs-gutter-x: 52px; --bs-gutter-y: 24px; align-items: flex-start; }
.wh-faq aside { max-width: 372px; padding-top: 12px; }
.wh-faq aside h2 {
    margin: 0 0 28px; color: #0a1013;
    line-height: 0.95; letter-spacing: -0.04em;
}
.wh-faq aside p {
    max-width: 360px; margin: 0; color: #2f3532;
    font-family: "Montserrat", sans-serif; font-size: 16px; line-height: 1.58;
}
.wh-faq .accordion { display: flex; flex-direction: column; gap: 18px; }
.wh-faq .accordion-item {
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-radius: 36px; background: #eef2f0;
    box-shadow: none; overflow: hidden;
}
.wh-faq .accordion-header { margin: 0; }
.wh-faq .accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    padding: 24px 72px 24px 34px;
    background: transparent;
    color: #183125;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    box-shadow: none;
}
.wh-faq .accordion-button:not(.collapsed) {
    background-color: rgba(108, 181, 95, 0.15);
    color: #132717;
    box-shadow: none;
}
.wh-faq .accordion-button:focus { box-shadow: none; }
.wh-faq .accordion-button::before,
.wh-faq .accordion-button::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 28px;
    width: 20px;
    height: 2.5px;
    margin-top: -1.25px;
    border-radius: 999px;
    background: #0a1013;
    opacity: 1;
    transition: transform 0.3s ease;
}
.wh-faq .accordion-button::after { transform: rotate(90deg); }
.wh-faq .accordion-button:not(.collapsed)::after { transform: rotate(0deg); }

.wh-faq .accordion-body {
    padding: 10px 34px 28px; color: #2f3532;
    font-family: "Montserrat", sans-serif; font-size: 16px; line-height: 1.62;
}
.wh-faq .accordion-body p:last-child,
.wh-faq .accordion-body > *:last-child { margin-bottom: 0; }

/* ─── Testimonial Card (shared) ─── */
.testimonial-card {
    padding: 2rem; height: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-card);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.testimonial-avatar {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px; margin-bottom: 0;
    border-radius: 50%; background: var(--color-heading);
    color: var(--color-white); font-size: 0.9rem; font-weight: 700; overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-location {
    margin: -2px 0 0; color: #6cb55f;
    font-family: "Montserrat", sans-serif;
    font-size: 14px; font-weight: 700; line-height: 1.5;
}

/* ─── Bullet List (homepage style) ─── */
.bullet-list { list-style: none; margin: 0; padding: 0; }
.bullet-list li {
    position: relative; padding-left: 1.4rem; margin-bottom: 0.85rem;
}
.bullet-list li::before {
    content: ""; position: absolute; left: 0; top: 0.7rem;
    width: 0.62rem; height: 0.62rem; border-radius: 50%;
    background: var(--color-accent);
}
.bullet-list-negative li::before { background: var(--color-danger-dot); }
.bullet-list.no-card { list-style: none; margin: 0; padding: 0; }

/* ─── Info/Resource Cards (shared) ─── */
.info-card, .resource-card {
    height: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-card);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.info-card-body, .resource-card { padding: var(--space-card); }

.info-card h3, .comparison-copy h3, .split-copy h3,
.consultation-form-panel h3, .resource-card h3, .testimonial-card h3,
.assessment-note h3 {
    margin: 0 0 0.9rem;
    color: var(--color-heading);
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}

.image-shell {
    min-height: 210px;
    background: linear-gradient(145deg, rgba(255,255,255,0.82), rgba(225,233,227,0.94));
    border-bottom: 1px solid rgba(207,214,207,0.75);
}

.text-link, .resource-link { color: var(--color-cta); font-weight: 700; }
.text-link:hover, .resource-link:hover { color: var(--color-cta-dark); }

.icon-circle {
    display: grid; place-items: center;
    height: 40px; margin-left: var(--space-card);
    margin-bottom: 1rem; color: var(--color-accent);
    font-size: 2rem; font-weight: 700;
}

/* ================================================================
   Responsive — Shared Breakpoints
   ================================================================ */
@media (max-width: 991.98px) {
    .main-navbar {
        position: fixed;
        background: rgba(15, 47, 31, 0.88);
        backdrop-filter: blur(10px);
    }
    .main-navbar .navbar-collapse {
        margin-top: 1rem; padding: 1rem;
        border-radius: 1.5rem;
        background: rgba(12, 36, 24, 0.96);
    }
    .navbar-nav { gap: 0.4rem; }
    .navbar-dark .navbar-nav .nav-link { padding: 0.55rem 0; }

    .site-footer { border-radius: 44px 44px 0 0; }
    .footer-top { --bs-gutter-x: 1.25rem; --bs-gutter-y: 1.5rem; }
    .footer-bottom { flex-wrap: wrap; gap: 1rem 1.5rem; }
    .footer-legal { justify-content: center; gap: 1.25rem; }

    .wh-section { padding: 3.4rem 0; }
    .wh-icon-pill p, .wh-faq .accordion-button { font-size: 17px; }
    .wh-faq .row { --bs-gutter-x: 28px; }
    .wh-faq aside { max-width: 100%; padding-top: 0; }
    .wh-faq aside h2 { max-width: 420px; }

    .bullet-list.no-card { padding-left: 1.6rem; }
}

@media (max-width: 767.98px) {
    .site-footer { border-radius: 28px 28px 0 0; padding: 10px; }
    .site-footer .container { padding: 10px; }
    .footer-top { text-align: center; }
    .footer-logo { display: inline-block; }
    .social-row { justify-content: center; }
    .footer-phone { width: 100%; }
    .footer-bottom { text-align: center; }
    .footer-legal { justify-content: center; }

    .wh-soft-card-inner { padding: 20px; }
    .wh-body, .wh-subtitle, .wh-dot-list li,
    .wh-faq .accordion-body { font-size: 15px; }

    .guide-section { padding: 4rem 0; }
    .section-title { font-size: clamp(2rem, 9vw, 2.8rem); }
    .section-title-lg { font-size: clamp(2rem, 9vw, 2.55rem); line-height: 1.14; }
    .section-title-xl { font-size: clamp(2rem, 9vw, 2.9rem); }

    .wh-faq .row { --bs-gutter-x: 20px; --bs-gutter-y: 20px; }
    .wh-faq aside h2 {
        margin-bottom: 18px;
        font-size: clamp(2.2rem, 10vw, 3.2rem);
        line-height: 1;
    }
    .wh-faq .accordion { gap: 14px; }
    .wh-faq .accordion-item { border-radius: 28px; }
    .wh-faq .accordion-button { padding: 22px 56px 0 22px; font-size: 16px; }
    .wh-faq .accordion-button::before,
    .wh-faq .accordion-button::after { top: 23px; right: 20px; width: 22px; }
    .wh-faq .accordion-body { padding: 14px 22px 22px; font-size: 15px; line-height: 1.58; }

    .hero-actions, .form-reassurance, .footer-bottom, .footer-legal {
        align-items: stretch;
    }
}
