:root {
    --primary: #2f5d3a;
    --accent: #7da87b;
    --light: #f3f8f4;
    --text: #1f2933;
    --muted: #5f6f63;
    --white: #ffffff;
    --border: #d6e3d8;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 14px;
    --max-width: 1100px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.test-img{
    position:relative; 
    display:block;
}

.test-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
    circle,
    rgba(0,0,0,0) 60%,
    rgba(0,0,0,0.5) 100%
    );
    pointer-events: none;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}


.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    gap: 16px;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.3px;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
    font-size: 0.95rem;
    color: var(--muted);
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

    .btn-primary:hover {
        background: #244a2f;
    }

.btn-secondary {
    border: 1px solid var(--border);
    color: var(--primary);
    background: var(--white);
}

    .btn-secondary:hover {
            background: var(--light);
            color: var(--primary);
        }

.hero {
    position: relative;
    min-height: 1000px;
    max-height: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0 80px;
    background: linear-gradient(180deg, #f4fbf6 0%, #ffffff 100%);
    overflow: hidden;
}


/*             linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .5) 35%, rgba(255, 255, 255, 0) 80%), linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 20%, rgba(255, 255, 255, 0.25) 30%, rgba(255, 255, 255, 0) 40%), linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .25) 10%, rgba(255, 255, 255, 0) 80%), linear-gradient(to top left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .5) 25%, rgba(255, 255, 255, 0) 80%), linear-gradient(to bottom left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .5) 25%, rgba(255, 255, 255, 0) 80%)
 */
.hero::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 580px;
}

.hero h1 {
    font-size: clamp(1.6rem, 8vw, 3.5rem);
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 18px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 540px;
    margin-bottom: 28px;
}

.hero-logo { max-width: 450px; width: 80%; height: auto; }
.hero-logo-container { text-align: center; }

@media (min-width: 1800px) {
    .hero h1 { font-size: 3.5rem; }
    .hero-logo{max-width:450px;}
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-actions .btn {
    text-align: center;
}

.hero-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

    .hero-card h3 {
        color: var(--primary);
        margin-bottom: 12px;
        font-size: 1.2rem;
    }

    .hero-card p {
        margin-bottom: 10px;
        color: var(--muted);
        font-size: 0.98rem;
    }

section {
    padding: 136px 0;
}

section + section { border-top: none; }
.about + section { border-top: none; }

#services {
    background: linear-gradient(180deg, var(--light) 0%, #fff 100%);
}

.stock-rail {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr 1.1fr;
    gap: 18px;
    align-items: stretch;
    margin: 0 0 38px;
}

.stock-rail-card {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border: 1px solid rgba(125,168,123,0.42);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(47,93,58,0.12);
    background: var(--light);
}

.stock-rail-card:nth-child(2) {
    border-radius: 8px 34px 8px 34px;
    transform: translateY(18px);
}

.stock-rail-card img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    display: block;
    object-fit: cover;
}

.stock-rail-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(47,93,58,0.22), rgba(243,248,244,0.08));
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.services-header {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    margin: 0 0 34px;
}

.services-header-media {
    position: relative;
    width: 220px;
    height: 150px;
    overflow: hidden;
    border-radius: 22px 64px 22px 64px;
    border: 1px solid rgba(125,168,123,0.42);
    box-shadow: 0 16px 40px rgba(47,93,58,0.12);
    background: var(--light);
    transform: rotate(-8deg);
    justify-self: start;
}

.services-header-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-header-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(47,93,58,0.2), rgba(243,248,244,0.03) 55%, rgba(47,93,58,0.14));
    pointer-events: none;
}

.services-header-copy h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: bold;
    text-align: left;
}

.services-header-copy p {
    color: var(--muted);
    max-width: 700px;
    font-size: 1.1rem;
    margin: 0;
    text-align: justify;
}

.services-header {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    margin: 0 0 36px;
    position: relative;
    z-index: 1;
}

.services-header-media {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 210px;
    overflow: hidden;
    border-radius: 26px 90px 26px 90px;
    border: 1px solid rgba(125,168,123,0.42);
    box-shadow: 0 16px 40px rgba(47,93,58,0.12);
    background: var(--light);
    transform: rotate(-8deg);
}

.services-header-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-header-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(47,93,58,0.2), rgba(243,248,244,0.03) 55%, rgba(47,93,58,0.14));
    pointer-events: none;
}

.services-header-copy h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: bold;
    text-align: left;
}

.services-header-copy p {
    color: var(--muted);
    max-width: 700px;
    font-size: 1.1rem;
    margin: 0;
    text-align: justify;
}

    .section-title h2 {
        font-size: 2.5rem;
        color: var(--primary);
        margin-bottom: 10px;
        font-weight:bold;
        
    }

    .section-title p {
        color: var(--muted);
        max-width: 700px;
        font-size:1.1rem;
        margin: 0 auto;
        text-align: justify;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Large desktop stays aligned with the rest of the page, with the extra
   family card wrapping into a centered second row. */
@media (min-width: 901px) and (max-width: 1199px) {
    #services > .container {
        width: 90%;
        max-width: var(--max-width);
    }

    #services .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: center;
    }

    #services-families .card:last-child {
        grid-column: 2;
    }
}

/* Extra-large desktop has enough room to let all family cards sit in one row. */
@media (min-width: 1200px) {
    #services > .container {
        width: min(94%, 1400px);
        max-width: 1400px;
    }

    #services .services-grid {
        grid-template-columns: repeat(4, minmax(240px, 300px));
        justify-content: center;
    }

    #services-schools .services-grid {
        grid-template-columns: repeat(3, minmax(240px, 300px));
    }
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card ul li {
    color: var(--muted);
    font-size: 0.95rem;
    padding: 4px 0 4px 18px;
    position: relative;
}

.card ul li::before {
    content: '•';
    color: #b18435;
    position: absolute;
    left: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #ffffff;
    background-image:
        radial-gradient(circle at 18% 22%, rgba(175,138,68,0.055) 0 1px, transparent 1.5px),
        radial-gradient(circle at 76% 64%, rgba(47,93,58,0.045) 0 1px, transparent 1.5px);
    background-size: 10px 10px, 13px 13px;
    border: 1px solid #a19300;
    border-radius: 22px;
    padding: 28px 26px 76px;
    box-shadow: 0 12px 30px rgba(47,93,58,0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card::before {
    content: '';
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(175,138,68,0.18);
    border-radius: 16px;
    pointer-events: none;
    z-index: -1;
}

.card::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -18px;
    left: 0;
    height: 100px;
    background: url('/images/landscape_drawing.png') center 66%/cover no-repeat;
    opacity: 0.48;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 42%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 42%, #000 100%);
    pointer-events: none;
    z-index: -1;
}

.card > * {
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(47, 93, 58, 0.14);
    border-color: rgba(47,93,58,0.52);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(145deg, #173f25 0%, #356b43 100%);
    border: 2px solid rgba(177,132,53,0.58);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--white);
    font-size: 1.3rem;
    box-shadow: 0 4px 14px rgba(47, 93, 58, 0.28);
}

    .card h3,
    .service-card-toggle {
        color: #173f25;
        margin-bottom: 1.2rem;
        font-family: Georgia, 'Times New Roman', serif;
        font-size: 1.28rem;
        text-align: center;
        font-weight: 700;
        line-height: 1.25;
    }

    .service-card-toggle {
        display: block;
        width: 100%;
        padding: 0;
        border: 0;
        background: none;
        cursor: pointer;
    }

    .service-card-chevron {
        display: none;
    }

    .card h3::after,
    .service-card-toggle::after {
        content: '';
        display: block;
        width: 64px;
        height: 2px;
        margin: 12px auto 0;
        background: linear-gradient(to right, transparent, #b18435 24%, #b18435 76%, transparent);
    }

    .card p {
        color: var(--muted);
        font-size: 0.97rem;
    }

.about {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.56) 0%, rgba(244,247,241,0.64) 100%),
        url('/images/backdrop_landscape.png') center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

.about::before {
    display: none;
}

.about > .container {
    position: relative;
    z-index: 1;
}

.about-list {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 42px 112px;
    background-color: #fbf7ed;
    background-image:
        radial-gradient(circle at 18% 22%, rgba(175,138,68,0.055) 0 1px, transparent 1.5px),
        radial-gradient(circle at 76% 64%, rgba(47,93,58,0.045) 0 1px, transparent 1.5px);
    background-size: 10px 10px, 13px 13px;
    border: 1px solid rgba(47,93,58,0.3);
    border-radius: 30px;
    box-shadow: 0 18px 48px rgba(47,93,58,0.13);
}

.about-list::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: -28px;
    left: 0;
    height: 170px;
    background: url('/images/landscape_drawing.png') center 64%/cover no-repeat;
    opacity: 0.5;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 100%);
    pointer-events: none;
    z-index: -1;
}

.about-list::after {
    content: '';
    position: absolute;
    inset: 9px;
    border: 1px solid rgba(177,132,53,0.2);
    border-radius: 22px;
    pointer-events: none;
    z-index: 3;
}

.about-item {
    position: relative;
    display: grid;
    grid-template-columns: 92px minmax(225px, 0.8fr) minmax(0, 1.35fr);
    gap: 28px;
    align-items: center;
    padding: 40px 12px;
    border-bottom: 1px solid rgba(177,132,53,0.32);
    z-index: 1;
}

.about-item:nth-child(2) {
    margin-right: -42px;
    margin-left: -42px;
    padding-right: 54px;
    padding-left: 54px;
    background: linear-gradient(90deg, rgba(125,168,123,0.14), rgba(255,255,255,0.24) 52%, rgba(177,132,53,0.08));
}

.about-item:last-child {
    border-bottom: 0;
}

.about-item-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    background: var(--light);
    color: #173f25;
    border: 2px solid #a19300;
    border-radius: 50%;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(47,93,58,0.28);
}

.about-item-label {
    min-width: 0;
}

.about-item-title {
    display: block;
    color: #173f25;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.48rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
}

.about-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 16px;
}

.about-item-tags span {
    padding: 4px 10px;
    color: #41674b;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.25px;
    background: rgba(125,168,123,0.12);
    border: 1px solid rgba(47,93,58,0.2);
    border-radius: 999px;
}

.about-item-body {
    min-width: 0;
}

.about-item-body p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 12px;
}

.about-item-body p:last-child {
    margin-bottom: 0;
}

.meet-owner {
    background: linear-gradient(180deg, var(--white) 0%, #f4f7f1 100%);
}

.team-cards {
    display: grid;
    gap: 38px;
}

.team-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 42px;
    align-items: start;
    padding: 32px 38px 92px 32px;
    background-color: #fbf7ed;
    background-image:
        radial-gradient(circle at 18% 22%, rgba(175,138,68,0.055) 0 1px, transparent 1.5px),
        radial-gradient(circle at 76% 64%, rgba(47,93,58,0.045) 0 1px, transparent 1.5px);
    background-size: 10px 10px, 13px 13px;
    border: 1px solid rgba(47,93,58,0.28);
    border-radius: 28px;
    box-shadow: 0 18px 48px rgba(47,93,58,0.13);
}

.team-card::before {
    content: '';
    position: absolute;
    inset: 9px;
    border: 1px solid rgba(175,138,68,0.18);
    border-radius: 21px;
    pointer-events: none;
    z-index: -1;
}

.team-card::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -20px;
    left: 0;
    height: 145px;
    background: url('/images/landscape_drawing.png') center 66%/cover no-repeat;
    opacity: 0.52;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 38%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 38%, #000 100%);
    pointer-events: none;
    z-index: -1;
}

.team-card-photo-frame {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: #315c72;
    border: 4px solid var(--primary);
    border-radius: 28px;
    box-shadow: 0 12px 30px rgba(47,93,58,0.18);
    z-index: 1;
}

.team-card-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.antoinette-card-photo {
    object-position: center top;
}

.kayla-card-photo {
    object-position: center 16%;
}

.team-card-content {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.team-card-header {
    padding-top: 8px;
}

.team-card-name {
    margin: 0;
    color: #173f25;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.35rem, 4.6vw, 4rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 0.98;
}

.team-card-role {
    margin: 14px 0 5px;
    color: #a8792b;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.15;
}

.team-card-credentials {
    margin: 0;
    color: #41674b;
    font-size: 1.08rem;
    font-weight: 500;
    line-height: 1.45;
}

.team-card-credentials span {
    display: inline-block;
    margin: 0 5px;
    color: var(--accent);
}

.team-card-divider {
    width: 100%;
    height: 2px;
    margin: 24px 0 22px;
    background: linear-gradient(to right, #b18435 0%, rgba(177,132,53,0.62) 72%, transparent 100%);
}

.team-card-bio {
    columns: 260px 2;
    column-gap: 28px;
    column-rule: 1px solid rgba(177,132,53,0.2);
}

.team-card-bio p {
    break-inside: avoid;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 13px;
}

.team-card-bio p:last-child {
    margin-bottom: 0;
}

.team-bio-toggle {
    display: none;
}

@media (max-width: 760px) {
    .team-card {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 24px 22px 92px;
        border-radius: 22px;
    }

    .team-card::before {
        inset: 7px;
        border-radius: 16px;
    }

    .team-card-photo-frame {
        width: min(100%, 380px);
        height: 390px;
        margin: 0 auto;
        border-radius: 22px;
    }

    .team-card-header {
        padding-top: 0;
    }

    .team-card-name {
        font-size: clamp(2.35rem, 12vw, 3.3rem);
    }

    .team-card-role {
        font-size: 1.3rem;
    }

    .team-card-credentials {
        font-size: 1rem;
    }

    .team-card-bio {
        columns: auto;
        column-rule: none;
    }

    .team-card-bio p {
        text-align: left;
    }

    .team-card-bio p:nth-child(n + 2) {
        display: none;
    }

    .team-card.team-bio-expanded .team-card-bio p {
        display: block;
    }

    .team-bio-toggle {
        display: inline-flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 1rem;
        padding: 10px 18px;
        background: #ffe9a9;
        color: var(--primary);
        border: 0;
        border-radius: 999px;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 0.92rem;
        font-weight: 700;
        cursor: pointer;
    }

    .team-bio-toggle-chevron {
        width: 7px;
        height: 7px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translate(-1px, -1px);
        transition: transform 0.2s;
    }

    .team-bio-toggle[aria-expanded="true"] .team-bio-toggle-chevron {
        transform: rotate(225deg) translate(-1px, -1px);
    }
}

.contact {
    text-align: center;
    background:
        radial-gradient(circle at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.38) 100%),
        linear-gradient(135deg, rgba(20,50,30,0.74) 0%, rgba(47,93,58,0.66) 100%),
        url('/images/stock/modified/family_sitting_small.jpg') center 42% / cover no-repeat;
}

.contact-header {
    margin-bottom: 22px;
}

.contact-header-title {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    text-shadow: 0 3px 18px rgba(0,0,0,0.48);
}

.contact-header-copy {
    color: rgba(255,255,255,0.94);
    max-width: 640px;
    margin: 0 auto;
    text-align: justify;
    font-size: 1.02rem;
    line-height: 1.7;
    text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}

.contact-box {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: 36px;
}

.contact-box::after {
    content: none;
}

.contact-box .btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.contact-box .btn-primary:hover {
    background: var(--light);
    color: var(--primary);
}

.contact-photo-banner {
    display: block;
    width: calc(100% + 72px);
    height: 180px;
    object-fit: cover;
    object-position: center;
    margin: -36px -36px 28px;
    clip-path: ellipse(82% 70% at 50% 20%);
    filter: saturate(0.92);
}

    .contact-box p {
        color: rgba(255,255,255,0.94);
        margin-bottom: 20px;
    }

.sprout-divider {
    position: relative;
    z-index: 10;
    height: 0;
    text-align: center;
}

.sprout-divider img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 150px;
    height: auto;
    pointer-events: none;
}

@media (max-width: 900px) {
    .container {
        width: 100%;
    }

    .hero > .container {
        width: 90%;
    }

    #services > .container {
        width: 90%;
    }

    #about > .container {
        width: 90%;
    }

    #services .section-title p,
    #about .section-title p {
        display: none;
    }

    section {
        padding: 46px 0;
    }

    .section-title {
        margin-bottom: 24px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .services-header {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 28px;
    }

    .services-header-media {
        width: 180px;
        height: 120px;
        margin: 0 auto;
        justify-self: center;
        transform: rotate(-6deg);
    }

    .services-header-copy h2 {
        text-align: center;
    }

    .services-header-copy p {
        text-align: left;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .card-icon {
        display: none;
    }

    .card {
        padding: 0;
        background: var(--white);
        border: 1px solid #a19300;
        border-radius: 12px;
        box-shadow: none;
        transition: box-shadow 0.2s, border-color 0.2s;
    }

    .card::before {
        display: none;
    }

    .card:hover {
        transform: none;
        box-shadow: none;
    }

    .card.service-card-open {
        border-color: var(--accent);
        box-shadow: 0 4px 18px rgba(47,93,58,0.09);
    }

    .service-card-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 0;
        padding: 24px 34px;
        text-align: left;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 0.97rem;
        line-height: 1.45;
        color: var(--text);
        border-radius: 11px;
        transition: background 0.15s;
    }

    .service-card-toggle:hover {
        background: var(--light);
    }

    .card.service-card-open .service-card-toggle {
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .service-card-toggle::after {
        display: none;
    }

    .service-card-chevron {
        flex: 0 0 auto;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: var(--light);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        font-size: 0;
        transition: background 0.2s;
    }

    .service-card-chevron::before {
        content: '';
        width: 7px;
        height: 7px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translate(-1px, -1px);
        transition: transform 0.25s;
    }

    .service-card-toggle[aria-expanded="true"] .service-card-chevron {
        background: var(--border);
    }

    .service-card-toggle[aria-expanded="true"] .service-card-chevron::before {
        transform: rotate(225deg) translate(-1px, -1px);
    }

    .card .service-card-details {
        display: none;
        padding: 24px 34px 32px;
        margin: 0;
        color: var(--muted);
        font-size: 0.94rem;
        line-height: 1.75;
    }

    .card.service-card-open .service-card-details {
        display: block;
    }

    .card .service-card-details li {
        padding: 6px 0 6px 18px;
    }

    .card .service-card-details li + li {
        margin-top: 8px;
    }

    .card .service-card-details li::before {
        display: block;
    }

    .mobile-section-divider {
        display: block;
    }

    .about {
        background-image: none;
        background-color: #f4f7f1;
    }

    .about-list,
    .card,
    .team-card {
        background-image: none;
    }

    .about-list::before,
    .about-list::after,
    .card::after,
    .team-card::after {
        display: none;
    }

    .about-list {
        overflow: visible;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .about-list::before {
        display: none;
        top: auto;
        right: 0;
        bottom: -20px;
        left: 0;
        width: auto;
        height: 125px;
        background: url('/images/landscape_drawing.png') center 64%/cover no-repeat;
        border-radius: 0;
    }

    .stock-rail {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 28px;
    }

    .stock-rail-card,
    .stock-rail-card:nth-child(2) {
        min-height: 150px;
        transform: none;
    }

    .stock-rail-card img {
        min-height: 150px;
    }

    .about-item {
        display: block;
        padding: 24px 0;
        border-bottom: 0;
    }

    .about-item:nth-child(2) {
        margin-right: 0;
        margin-left: 0;
        padding-right: 0;
        padding-left: 0;
        background: transparent;
    }

    .about-item:first-child {
        padding-top: 0;
    }

    .about-item:last-child {
        padding-bottom: 0;
    }

    .about-item-marker,
    .about-item-tags {
        display: none;
    }

    .about-item-title {
        font-size: 1.25rem;
    }

    .about-item-body {
        margin-top: 10px;
    }

    .hero {
        min-height: unset;
        padding: 84px 0 44px;
    }

    .hero h1 {
        line-height: 1.2;
    }

    .nav-links {
        display: none;
    }

    .hero p,
    .about-item-body p,
    .section-title p,
    .services-panel-intro,
    .contact-box p,
    .contact-header-copy {
        text-align: left;
    }

    .hero-logo { width: 100%; max-width: 300px; }

    .about + section { border-top: none; }

    .hand-divider { padding: 0; }
}



@media (max-height: 1600px) {
}

.service-banner { display: flex; background: #1b4332; color: var(--white); padding: 1rem; font-size: 0.84rem; font-weight: 600; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.service-banner .counties-btn { margin-left: 4px; }
.announcement-bar { background: transparent; color: var(--primary); position: sticky; top: 0; width: 100%; z-index: 100; box-shadow: none; transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease; }
.announcement-bar.scrolled { background: var(--primary); color: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,0.12); }
.announcement-bar + main { margin-top: -64px; }
.ann-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 10px 24px; }
.ann-brand { display: block; min-width: 0; font-size: 0.95rem; font-weight: 700; color: var(--primary); flex: 1; letter-spacing: 0.2px; white-space: nowrap; transition: color 0.25s ease; }
.announcement-bar.scrolled .ann-brand { color: var(--white); }
.ann-nav { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.ann-nav > a { color: var(--primary); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.2px; transition: color 0.15s; }
.ann-nav > a:hover { color: #1a3a24; }
.announcement-bar.scrolled .ann-nav > a { color: rgba(255,255,255,0.85); }
.announcement-bar.scrolled .ann-nav > a:hover { color: var(--white); }
.ann-cta {display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #063311;
    color: white;
    padding: 7px 16px;
    border: solid 2px #a19300;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;}
.ann-nav > a.ann-cta,
.announcement-bar.scrolled .ann-nav > a.ann-cta { color: var(--white); }
.ann-cta:hover { background: var(--light) !important; color: var(--primary) !important; transform: translateY(-1px); }
.ann-hamburger { display: none; background: none; border: 1.5px solid rgba(47,93,58,0.55); border-radius: 8px; cursor: pointer; padding: 6px 8px; color: var(--primary); line-height: 0; transition: background 0.2s, border-color 0.25s ease, color 0.25s ease; flex-shrink: 0; }
.ann-hamburger:hover { background: rgba(47,93,58,0.1); }
.announcement-bar.scrolled .ann-hamburger { border-color: rgba(255,255,255,0.5); color: var(--white); }
.announcement-bar.scrolled .ann-hamburger:hover { background: rgba(255,255,255,0.15); }
@media (max-width: 900px) {
    .ann-nav { display: none; }
    .ann-hamburger { display: block; }
    .ann-brand { font-size: 0.9rem; }
    .announcement-bar:not(.scrolled) { background: var(--primary); color: var(--white); box-shadow: 0 3px 12px rgba(0,0,0,0.18); }
    .announcement-bar:not(.scrolled) .ann-brand { display: block; color: var(--white); }
    .announcement-bar:not(.scrolled) .ann-hamburger { border-color: rgba(255,255,255,0.5); color: var(--white); }
    .announcement-bar:not(.scrolled) .ann-hamburger:hover { background: rgba(255,255,255,0.15); }
    .announcement-bar.scrolled { background: #1a3a24; color: var(--white); box-shadow: 0 3px 12px rgba(0,0,0,0.18); }
    .announcement-bar.scrolled .ann-brand { color: var(--white); }
    .announcement-bar.scrolled .ann-hamburger { border-color: rgba(255,255,255,0.5); color: var(--white); }
    .announcement-bar.scrolled .ann-hamburger:hover { background: rgba(255,255,255,0.15); }
}
@media (min-width: 901px) and (max-width: 960px) {
    .ann-brand { font-size: 0.82rem; }
}
@media (max-width: 540px) {
    .service-banner { text-align: center; padding: 8px 14px; }
}
@media (max-width: 420px) {
    /* Keep the complete brand name in the markup for SEO and accessibility,
       but use a compact visual label when the mobile hamburger needs room. */
    .ann-brand { font-size: 0; line-height: 1.6; }
    .ann-brand::after {
        content: "Mason Dixon";
        display: block;
        font-size: 0.9rem;
    }
}
@media (min-width: 901px) {
    .ann-nav > a { font-size: 1rem; }

    .hero {
        background: url('/images/hero-bg.jpg') center/cover no-repeat;
    }
    .hero::before {
        display: block;
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(243, 248, 244, 1) 0%, rgba(243, 248, 244, .5) 50%, rgba(243, 248, 244, 0) 80%), linear-gradient(to top, rgba(243, 248, 244, 1) 0%, rgba(243, 248, 244, .5) 30%, rgba(243, 248, 244, .25) 40%, rgba(243, 248, 244, 0) 50%);                    pointer-events: none;
        z-index: 0;
    }
}
@media (min-width: 2400px) {
    .ann-inner { position: relative; justify-content: flex-end; }
    .ann-nav { background: var(--primary); padding-left: 14px; }
    .hero::before {
        background: linear-gradient(to right, rgba(243, 248, 244, 1) 0%, rgba(243, 248, 244, .5) 35%, rgba(243, 248, 244, 0) 80%), linear-gradient(to top, rgba(243, 248, 244, 1) 0%, rgba(243, 248, 244,, 0.5) 20%, rgba(243, 248, 244, 0.25) 30%, rgba(243, 248, 244, 0) 40%), linear-gradient(to left, rgba(243, 248, 244, 1) 0%, rgba(243, 248, 244, .25) 10%, rgba(243, 248, 244, 0) 80%), linear-gradient(to top left, rgba(243, 248, 244, 1) 0%, rgba(243, 248, 244, .5) 25%, rgba(243, 248, 244, 0) 80%), linear-gradient(to bottom left, rgba(243, 248, 244, 1) 0%, rgba(243, 248, 244, .5) 25%, rgba(243, 248, 244, 0) 80%);
    }
}


.counties-btn {
    margin-left: 14px;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.75);
    color: var(--white);
    padding: 3px 13px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: background 0.2s;
    vertical-align: middle;
}

.counties-btn:hover {
    background: rgba(255,255,255,0.18);
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-box {
    background: var(--white);
    border-radius: var(--radius);
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px rgba(0,0,0,0.28);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 14px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    color: var(--muted);
    padding: 0 2px;
}

.modal-close:hover {
    color: var(--text);
}

.modal-subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 0.88rem;
    padding: 8px 24px 0;
    margin: 0;
}

.county-map-img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-body {
    padding: 28px 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 4px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

    .form-group label {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 6px;
    }

    .form-group input {
        padding: 10px 14px;
        border: 1.5px solid var(--border);
        border-radius: 8px;
        font-size: 0.97rem;
        color: var(--text);
        outline: none;
        transition: border-color 0.2s;
        font-family: inherit;
    }

    .form-group input:focus {
        border-color: var(--primary);
    }

.btn-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 13px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 4px;
    transition: background 0.2s;
}

    .btn-submit:hover {
        background: #244a2f;
    }

.success-notification {
    text-align: center;
    padding: 36px 24px;
}

    .success-notification .success-icon {
        font-size: 2.8rem;
        color: var(--primary);
        margin-bottom: 14px;
    }

    .success-notification h3 {
        color: var(--primary);
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

            .success-notification p {
                    color: var(--muted);
                    font-size: 1rem;
                }

            /* ── Services toggle ── */
            .services-toggle-wrap { display: flex; justify-content: center; margin: 0 0 40px; }
            .services-toggle { display: inline-flex; background: var(--light); border: 1.5px solid var(--border); border-radius: 50px; padding: 4px; gap: 2px; }
            .services-toggle-btn { background: none; border: none; padding: 10px 30px; border-radius: 44px; font-size: 0.95rem; font-weight: 600; color: var(--muted); cursor: pointer; font-family: inherit; transition: background 0.2s, color 0.2s; letter-spacing: 0.2px; }
            .services-toggle-btn.active { background: var(--primary); color: var(--white); box-shadow: 0 2px 10px rgba(47,93,58,0.22); }
            .services-panel { display: none; }
            .services-panel.active { display: block; }
            .services-panel-intro { text-align: center; color: var(--muted); font-size: 0.97rem; max-width: 700px; margin: 0 auto 32px; line-height: 1.65; }

/* ── Site Nav ── */
.site-nav { background: var(--white); border-bottom: 1px solid var(--border); position: fixed; top: 43px; left: 0; right: 0; z-index: 50; box-shadow: 0 2px 14px rgba(0,0,0,0.07); }
.site-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; width: 90%; max-width: var(--max-width); margin: 0 auto; }
.site-nav-logo { height: 36px; width: auto; display: block; }
.site-nav-links { display: flex; align-items: center; gap: 24px; }
.site-nav-links > a { color: var(--muted); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.2px; transition: color 0.15s; }
.site-nav-links > a:hover { color: var(--primary); }
.site-nav-phone { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--primary); color: var(--white) !important; border-radius: 50%; font-size: 0.9rem; box-shadow: 0 2px 10px rgba(47,93,58,0.32); transition: background 0.2s, transform 0.15s; flex-shrink: 0; }
.site-nav-phone:hover { background: #244a2f !important; transform: scale(1.1); }
.site-nav-cta { background: var(--primary); color: var(--white) !important; padding: 9px 20px; border-radius: 8px; font-size: 0.92rem; font-weight: 700; box-shadow: 0 3px 12px rgba(47,93,58,0.28); transition: background 0.2s, transform 0.15s, box-shadow 0.2s; }
.site-nav-cta:hover { background: #244a2f !important; transform: translateY(-1px); box-shadow: 0 5px 18px rgba(47,93,58,0.35); }
.site-nav-hamburger { display: none; background: none; border: 1.5px solid var(--border); border-radius: 8px; cursor: pointer; padding: 7px 9px; color: var(--primary); line-height: 0; transition: background 0.2s; }
.site-nav-hamburger:hover { background: var(--light); }
.site-nav-mobile { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 49; }
.site-nav-mobile.open { display: flex; }
.site-nav-mobile a { padding: 14px 20px; color: var(--muted); font-size: 0.97rem; font-weight: 600; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; transition: background 0.15s, color 0.15s; }
.site-nav-mobile a:last-child { border-bottom: none; }
.site-nav-mobile a:hover { background: var(--light); color: var(--primary); }
.site-nav-mobile-cta { background: var(--primary) !important; color: var(--white) !important; font-weight: 700 !important; }
.site-nav-mobile-cta:hover { background: #244a2f !important; color: var(--white) !important; }
#services, #about, #meet-team, #contact { scroll-margin-top: 60px; }
.hand-divider { width: 100%; margin: 0; position: relative; z-index: 2; background: var(--light); }
.hand-divider .divider-line { display: block; width: 100%; max-width: 1400px; height: 24px; margin: 0 auto; }
.mobile-section-divider { display: none; }
@media (max-width: 900px) {
    .mobile-section-divider { display: block; }
}
