/* ==========================================================================
   1. VARIABLES
   ========================================================================== */
:root {
    --color-primary: #093f63;        /* logo navy (wordmark + arc) */
    --color-primary-dark: #062f4a;   /* hover / deep accents */
    --color-primary-light: #3f87a5;  /* teal from the arc gradient */
    --color-accent: #93ab93;         /* light sage (leaves) */
    --color-accent-dark: #75937b;    /* deep sage (tagline + dark leaf) */
    --color-accent-text: #4f6b57;    /* sage dark enough to read as text */
    --color-text: #2b2b2b;
    --color-text-muted: #555f5a;
    --color-bg: #ffffff;
    --color-bg-soft: #f1f5f1;        /* faint sage tint */
    --color-border: #b6bdb7;
    --font-heading: "Quicksand", "Segoe UI", sans-serif;
    --font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}


/* ==========================================================================
   2. BASE (element defaults)
   ========================================================================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    font-size: 18px;
}

h1, h2, h3, .site-name {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.25;
}

a {
    color: var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   3. LAYOUT (containers, sections, columns)
   NOTE: .container must stay above .header-inner, .footer-inner and
   .footer-bottom, which override its padding.
   ========================================================================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: 3rem 0;
}

/* --- Two columns --- */
.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.two-col--center {
    align-items: center;
}

/* --- Three columns --- */
.three-col {
    padding: 3rem 0;
    background: var(--color-bg);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.three-col--center {
    align-items: center;
}

/* Columns stack on narrow screens */
@media (max-width: 768px) {
    .two-col,
    .three-col {
        grid-template-columns: 1fr;
    }
}

/* --- Full-width backgrounds (extends the green past the container) --- */
.hero,
.three-col {
    box-shadow: 0 0 0 100vmax var(--color-bg);
    clip-path: inset(0 -100vmax);
}


/* ==========================================================================
   4. COMPONENTS (reusable pieces)
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-primary-dark);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
}

.photo {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: center 35%;
    border-radius: 8px;
}


/* ==========================================================================
   5. SITE HEADER
   ========================================================================== */
.site-header {
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    max-height: 80px;
    width: auto;
}

.site-name {
    font-weight: 700;
    font-size: 2rem;
    text-decoration: none;
    color: var(--color-primary);
}

.nav-list {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    text-decoration: none;
    color: var(--color-text);
    padding-bottom: 4px;
}

.nav-list a.active,
.nav-list a:hover {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-accent);
}


/* ==========================================================================
   6. SITE FOOTER
   ========================================================================== */
.site-footer {
    background: var(--color-accent-dark);
    border-top: 1px solid var(--color-border);
    margin-top: 3rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2.5rem 1.25rem;
    width: 100%;
}

.footer-inner h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.footer-inner a {
    color: var(--color-text);
}

.footer-bottom {
    padding: 1rem 1.25rem 2rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}


/* ==========================================================================
   7. PAGE: HOME
   ========================================================================== */
.hero {
    background: var(--color-bg);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.2rem;
    max-width: 700px;
    margin: 0 auto 1rem;
}

.hero p {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.hero-title {
    font-size: 200px;
    padding-bottom: 2rem;
}

.hero-text {
    align-content: center;
    text-align: center;
    border-radius: 8px;
    border: 3px solid var(--color-accent);
    padding: 5px;
    height: 100%;
}

.hero-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: center 35%;
    border-radius: 8px;
}


/* ==========================================================================
   8. PAGE: SERVICES
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-accent);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* ===== About page =====
   Paste at the end of your main stylesheet.
   Change these two colors to your exact brand values. */
:root {
    --brand-blue: #1f3a5f;
    --brand-green: #cfe8d5;
    --brand-green-soft: #eef7f0;
}

/* --- Intro: photo beside text --- */
.about-intro {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 1.6fr;
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.about-photo {
    margin: 0;
}

.about-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 12px 12px 0 var(--brand-green);
}

.about-text h1 {
    margin: 0 0 1.25rem;
    color: var(--brand-blue);
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.15;
}

.about-text p {
    line-height: 1.7;
    margin: 0 0 1rem;
}

.eyebrow {
    margin: 0 0 .25rem !important;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .8rem;
    font-weight: 600;
    color: #5a7d66;
}

.lead {
    font-size: 1.15rem;
}

.about-quote {
    margin: 1.75rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--brand-blue);
    background: var(--brand-green-soft);
    border-radius: 0 8px 8px 0;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--brand-blue);
}

/* --- Experience + credentials cards --- */
.about-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

.about-card {
    background: var(--brand-green-soft);
    border-radius: 12px;
    padding: 1.75rem 2rem;
}

.about-card h2 {
    margin: 0 0 .75rem;
    font-size: 1.3rem;
    color: var(--brand-blue);
}

.about-card p {
    line-height: 1.7;
    margin: 0;
}

.credential-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.credential-list li {
    background: #fff;
    border: 1px solid var(--brand-green);
    color: var(--brand-blue);
    padding: .35rem .8rem;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 600;
}

.credential-note a {
    color: var(--brand-blue);
    font-size: .95rem;
}

/* --- Closing call to action --- */
.about-cta {
    max-width: 1100px;
    margin: 0 auto 3rem;
    padding: 2.5rem 1.5rem 0;
    border-top: 1px solid var(--brand-green);
    text-align: center;
}

.about-cta h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    color: var(--brand-blue);
}

.about-cta p {
    max-width: 650px;
    margin: 0 auto 1.75rem;
    line-height: 1.7;
}

/* --- Phones and small tablets: stack everything --- */
@media (max-width: 800px) {
    .about-intro,
    .about-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-photo {
        max-width: 320px;
        margin: 0 auto;
    }
}


/* ==========================================================================
   10. UTILITIES
   ========================================================================== */
.center {
    text-align: center;
}

/* ==========================================================================
   PAGE: SERVICES (audience squares, service tiles, support panel)
   ========================================================================== */

/* Small heading above each group */
.group-title {
    text-align: center;
    margin: 3rem 0 1.25rem;
}

/* --- Topic pills (used inside squares and the support panel) --- */
.pill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pill-list li {
    background: rgba(255, 255, 255, 0.55);
    color: var(--color-primary-dark);
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
}

/* --- Who we work with: one wide green row per audience --- */
.audience-grid {
    display: grid;
    gap: 1rem;
}

.audience-card {
    background: var(--color-accent);
    border-radius: 8px;
    padding: 1.25rem 1.75rem;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.audience-card h3 {
    margin: 0;
    font-size: 1.3rem;
}

.audience-card .pill-list {
    justify-content: flex-start;
}

/* --- What we offer: compact tiles, last row centered --- */
.tile-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.tile {
    flex: 0 1 calc((100% - 2rem) / 3);
    background: var(--color-accent);
    border-radius: 8px;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile h3 {
    margin: 0;
    font-size: 1.15rem;
}

.tile p {
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
}

/* --- Support: navy panel --- */
.support-panel {
    background: var(--color-primary);
    border-radius: 8px;
    margin-top: 3rem;
    padding: 2rem 1.5rem;
    text-align: center;
}

.support-panel h2 {
    color: #fff;
    margin: 0 0 1.25rem;
}

.support-panel .pill-list li {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* --- Hover lift --- */


/* --- Narrow screens --- */
@media (max-width: 768px) {
    .audience-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .audience-card .pill-list {
        justify-content: center;
    }

    .tile {
        flex-basis: calc((100% - 1rem) / 2);
    }
}

@media (max-width: 480px) {
    .tile {
        flex-basis: 100%;
    }
}

/* ==========================================================================
   PAGE: CONTACT
   ========================================================================== */
.contact-info h2,
.location-info h2 {
    margin-top: 0;
}

.map-embed {
    display: block;
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 8px;
}

/* ==========================================================================
   PAGE: SERVICES (detailed service cards + fee note)
   ========================================================================== */

/* --- What we offer: green cards, last row centered --- */
.offer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.offer-card {
    flex: 0 1 calc((100% - 3rem) / 3);
    background: var(--color-accent);
    border-radius: 8px;
    padding: 1.5rem 1.5rem 1.75rem;
    
}



.offer-card h3 {
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    font-size: 1.3rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.45);
}

/* A lone card on the last row stretches full width, list in two columns */
.offer-card:last-child:nth-child(3n + 1) {
    flex-basis: 100%;
}

.offer-card:last-child:nth-child(3n + 1) .check-list {
    columns: 2;
    column-gap: 2.5rem;
}

.offer-card:last-child:nth-child(3n + 1) .check-list li {
    break-inside: avoid;
}

/* --- Check-mark list (no bullets) --- */
.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 0.95rem;
    line-height: 1.45;
}

.check-list li + li {
    margin-top: 0.6rem;
}

.check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--color-primary);
}

/* --- Fee / insurance note --- */
.note-card {
    background: var(--color-bg-soft);
    border-left: 5px solid var(--color-accent-dark);
    border-radius: 8px;
    margin-top: 2rem;
    padding: 1.5rem 1.75rem;
}

.note-card h2 {
    margin: 0 0 0.75rem;
    font-size: 1.3rem;
}

.note-card p {
    margin: 0 0 0.75rem;
    max-width: 75ch;
}

.note-card p:last-child {
    margin-bottom: 0;
}

/* --- Narrow screens --- */
@media (max-width: 900px) {
    .offer-card {
        flex-basis: calc((100% - 1.5rem) / 2);
    }
}

@media (max-width: 600px) {
    .offer-card {
        flex-basis: 100%;
    }

    .offer-card:last-child:nth-child(3n + 1) .check-list {
        columns: 1;
    }
}

.about-grid > div > :first-child {
    margin-top: 0;
}

/* ==========================================================================
   11. MOBILE (keep this section LAST in the file)
   ========================================================================== */
@media (max-width: 768px) {

    /* Header: sticky header must stay short or it eats the screen */
    .header-inner {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        gap: 0.5rem;
    }
    .nav-list {
        flex-wrap: wrap;
        gap: 0.25rem 1rem;
    }
    .nav-list a {
        display: inline-block;
        padding: 0.6rem 0.25rem; /* taller tap target, ~44px */
    }
}