/* Color Palette & Variables */
:root {
    --primary-blue: #183d3e;
    --accent-blue: #d79a7b;
    --accent-blue-deep: #c68461;
    --bg-light: #f6f3ee;
    --bg-soft: #eef2ef;
    --bg-panel: #fbfaf7;
    --text-dark: #455354;
    --text-muted: #627071;
    --white: #ffffff;
    --border-soft: rgba(24, 61, 62, 0.1);
    --shadow-soft: 0 22px 50px rgba(24, 61, 62, 0.08);
    --shadow-strong: 0 28px 60px rgba(24, 61, 62, 0.14);
    --font-main: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
    --font-display: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
    --content-width: 1220px;
}

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

html {
    scroll-behavior: smooth;
}

#home,
#services,
#providers,
#about,
#contact {
    scroll-margin-top: 140px;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-dark);
    background: #faf7f2;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 1.2rem 3rem;
    background: rgba(255, 255, 255, 0.96);
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    border-bottom: 1px solid rgba(24, 61, 62, 0.08);
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(24, 61, 62, 0.06);
    z-index: 1000;
    transition: padding 0.25s ease, box-shadow 0.25s ease, top 0.25s ease;
}

.navbar.is-compact {
    top: 0;
    padding: 0.95rem 3rem;
    box-shadow: 0 10px 26px rgba(24, 61, 62, 0.09);
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
}

.brand-mark {
    width: min(500px, 39vw);
    height: auto;
    display: block;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(24, 61, 62, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 999px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.98rem;
    font-weight: 500;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

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

.nav-contact {
    background: var(--accent-blue);
    color: var(--white) !important;
    padding: 0.9rem 1.45rem !important;
    border: none !important;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(215, 154, 123, 0.35);
}

.nav-contact:hover {
    background: var(--accent-blue-deep);
    color: var(--white);
    border-color: transparent;
}

/* Hero Section (Splash Page) */
.hero {
    padding-top: 6.8rem;
    background: transparent;
}

.hero-image {
    position: relative;
    min-height: 500px;
    margin: 0;
    width: 100%;
    background-image: url('../images/gemini toy car.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 62%;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

.hero-wave {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 136px;
    display: block;
    fill: #faf7f2;
}

.hero-content h1 {
    max-width: 900px;
    margin: 0 auto 1.6rem;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 3.05rem);
    font-weight: 500;
    line-height: 1.08;
    color: var(--primary-blue);
    text-align: center;
    letter-spacing: -0.02em;
}

.hero-content {
    max-width: 980px;
    margin: -1.6rem auto 0;
    padding: 3.6rem 2rem 1.8rem;
    position: relative;
}

.hero-description {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.4rem 1.6rem;
    font-size: clamp(1rem, 1.45vw, 1.2rem);
    line-height: 1.75;
    color: var(--primary-blue);
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(24, 61, 62, 0.12);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.feature-strip {
    padding: 2.5rem 7vw 5.5rem;
}

.feature-grid {
    max-width: var(--content-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.feature-card {
    min-height: 235px;
    padding: 1.8rem 1.5rem;
    background: #586766;
    color: var(--white);
    border: 3px solid #d8a084;
    border-radius: 14% 11% 13% 12% / 10% 12% 11% 14%;
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.feature-card h3 {
    margin-bottom: 0.9rem;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.2;
}

.feature-card p {
    max-width: 250px;
    margin: 0 auto;
    font-size: 0.92rem;
    line-height: 1.55;
}

.feature-card-soft h3 {
    font-size: 1.28rem;
}

.feature-card-soft p {
    max-width: 240px;
    font-size: 0.9rem;
}

.feature-card-soft {
    min-height: 205px;
    padding: 1.7rem 1.55rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 242, 239, 0.96));
    color: var(--primary-blue);
    border: 1px solid rgba(23, 63, 64, 0.12);
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
}

.feature-card-soft::before {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin: 0 auto 1rem;
    background: var(--accent-blue);
    border-radius: 999px;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    background: var(--accent-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px; /* Rounded corners like the original site */
    font-weight: bold;
    transition: transform 0.2s ease, background 0.3s ease;
    display: inline-block;
    border: none;
}

.btn:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

/* Content Sections */
.content-section {
    padding: 6rem 8%;
    text-align: center;
}

.content-section h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 40px;
}

.content-section .section-title {
    max-width: var(--content-width);
    margin: 0 auto 1.6rem;
    text-align: left;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.section-subtitle {
    margin-bottom: 1.2rem;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.7vw, 1.7rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--primary-blue);
}

.gray-bg {
    background-color: var(--bg-light);
}

/* Services Section */
#services {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.services-layout {
    max-width: var(--content-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(220px, 300px);
    align-items: center;
    gap: 3.25rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(24, 61, 62, 0.08);
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    padding: 2rem 2.2rem;
}

.services-copy {
    min-width: 0;
}

.services-highlights,
.services-sublist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.services-highlights > li {
    position: relative;
    margin-bottom: 1.4rem;
    padding-left: 3rem;
    font-size: clamp(1.06rem, 1.14vw, 1.16rem);
    font-weight: 500;
    line-height: 1.7;
    color: #465556;
}

.services-highlights > li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0.18rem;
    width: 1.7rem;
    height: 1.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--white);
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(24, 61, 62, 0.16);
}

.services-highlights > li > span {
    display: block;
}

.services-sublist {
    margin-top: 1rem;
    padding-left: 0.1rem;
}

.services-sublist li {
    position: relative;
    margin-bottom: 0.55rem;
    padding-left: 1rem;
    font-size: clamp(0.98rem, 1vw, 1.04rem);
    line-height: 1.62;
    color: #4e5d5d;
}

.services-sublist li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    top: 0;
}

.services-image-wrap {
    justify-self: end;
    width: min(100%, 280px);
}

.services-image {
    width: 100%;
    height: 390px;
    display: block;
    object-fit: cover;
    object-position: center 42%;
    border-radius: 120px 120px 16px 16px;
    border: 2px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 34px rgba(24, 61, 62, 0.12);
}

/* Providers Section */
#providers {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background: transparent;
}

.provider-profile {
    max-width: var(--content-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(240px, 380px);
    align-items: start;
    gap: 2.8rem;
    text-align: left;
    padding: 2rem 2.2rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(24, 61, 62, 0.08);
    border-radius: 34px;
    box-shadow: var(--shadow-soft);
}

.provider-profile + .provider-profile {
    margin-top: 5rem;
}

.provider-copy h2 {
    margin-bottom: 1.2rem;
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 1.55vw, 1.6rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--primary-blue);
}

.provider-copy p {
    margin-bottom: 1.15rem;
    font-size: clamp(0.99rem, 1.04vw, 1.04rem);
    line-height: 1.72;
    color: #4b595a;
}

.provider-copy strong {
    color: #3f4d4e;
}

.provider-list-group {
    margin-top: 1rem;
}

.provider-copy .provider-list-title {
    margin-bottom: 0.1rem;
}

.provider-list {
    margin: 0;
    padding-left: 2rem;
    color: #4b595a;
}

.provider-list li {
    margin-bottom: 0.45rem;
    font-size: clamp(0.98rem, 1vw, 1.02rem);
    line-height: 1.48;
}

.provider-photo-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.provider-photo {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 22px 44px rgba(24, 61, 62, 0.16);
}

.provider-photo-sophie {
    object-position: center 25%;
}

.provider-photo-rachel {
    object-position: center 25%;
}

/* About Section */
#about {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
}

.about-layout {
    max-width: var(--content-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(240px, 390px);
    align-items: center;
    gap: 3rem;
    text-align: left;
    padding: 2rem 2.2rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(24, 61, 62, 0.08);
    border-radius: 34px;
    box-shadow: var(--shadow-soft);
}

.about-copy p {
    margin-bottom: 1.75rem;
    font-size: clamp(1rem, 1.04vw, 1.05rem);
    line-height: 1.68;
    color: #465556;
}

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

.about-emphasis {
    font-weight: 700;
}

.about-image-wrap {
    display: flex;
    justify-content: center;
}

.about-image {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 22px 44px rgba(24, 61, 62, 0.14);
}

/* Contact Section */
.contact-section {
    padding-top: 5.25rem;
    padding-bottom: 5.25rem;
    background:
        radial-gradient(circle at top right, rgba(215, 154, 123, 0.18), transparent 28%),
        linear-gradient(180deg, #51605f 0%, #495756 100%);
    color: var(--white);
}

.contact-layout {
    max-width: var(--content-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 420px);
    gap: 3rem;
    text-align: left;
}

.contact-copy h2 {
    margin-bottom: 1.35rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.06;
}

.contact-copy p {
    margin-bottom: 1.7rem;
    font-size: clamp(1rem, 1.2vw, 1.18rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.contact-copy a,
.contact-legal-links a {
    color: #f0b18f;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-lead {
    max-width: 680px;
}

.contact-legal-links {
    margin-top: 4.5rem;
}

.contact-legal-links span {
    margin: 0 0.45rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-card {
    align-self: start;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 30px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.16);
}

.contact-card h3 {
    margin-bottom: 1rem;
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--white);
}

.contact-card h4 {
    margin-bottom: 0.85rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
}

.contact-card p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.contact-card-block {
    margin-bottom: 1.8rem;
}

.contact-list {
    margin: 0;
    padding-left: 1.2rem;
    color: rgba(255, 255, 255, 0.92);
}

.contact-list li {
    margin-bottom: 0.65rem;
    line-height: 1.6;
}

.contact-cta {
    display: inline-block;
    padding: 0.95rem 1.5rem;
    background: var(--accent-blue);
    color: var(--white);
    text-decoration: none !important;
    font-weight: 600;
}

.contact-cta:hover {
    background: #c78564;
    color: var(--white);
}

/* Legal Pages */
.legal-page {
    min-height: 100vh;
    padding: 4rem 1.5rem;
    background: linear-gradient(180deg, #fbfaf7 0%, #f0ece5 100%);
}

.legal-shell {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--white);
    border: 1px solid rgba(24, 61, 62, 0.08);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.legal-kicker {
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(23, 63, 64, 0.65);
}

.legal-shell h1 {
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1.08;
}

.legal-shell h2 {
    margin: 2rem 0 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.legal-shell p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.75;
    color: #4e5d5d;
}

.legal-shell a {
    color: var(--accent-blue);
}

@media (max-width: 1100px) {
    .navbar,
    .navbar.is-compact {
        padding: 1.25rem 1.5rem;
    }

    .brand-mark {
        width: min(420px, 44vw);
    }

    .nav-links {
        gap: 1.2rem;
    }

    .feature-grid {
        gap: 1.25rem;
    }

    .feature-card {
        min-height: 210px;
        padding: 1.7rem 1.25rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .services-layout {
        grid-template-columns: minmax(0, 1fr) minmax(200px, 250px);
        gap: 2rem;
        padding: 1.6rem;
    }

    .services-highlights > li {
        font-size: 1.02rem;
    }

    .services-image {
        height: 330px;
        border-radius: 100px 100px 14px 14px;
    }

    .provider-profile {
        grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
        gap: 2rem;
    }

    .provider-copy h2 {
        font-size: 1.5rem;
    }

    .provider-copy p {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .provider-list li {
        font-size: 0.96rem;
    }

    .provider-photo {
        max-width: 250px;
    }

    .about-layout {
        grid-template-columns: minmax(0, 1fr) minmax(200px, 270px);
        gap: 2.5rem;
    }

    .about-copy p {
        margin-bottom: 1.5rem;
        font-size: 0.98rem;
    }

    .about-image {
        max-width: 250px;
    }

    .contact-layout {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
        gap: 2.5rem;
    }

    .contact-copy h2 {
        font-size: 2.8rem;
    }

    .contact-copy p,
    .contact-card p,
    .contact-list li {
        font-size: 0.95rem;
    }

    .contact-legal-links {
        margin-top: 3rem;
    }

    .legal-shell {
        padding: 2.5rem;
    }

}

@media (max-width: 820px) {
    .navbar,
    .navbar.is-compact {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.75rem;
        top: 0;
        width: 100%;
        border-radius: 0;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .brand {
        min-width: 0;
        max-width: 100%;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: 0;
        justify-self: end;
    }

    .nav-links {
        display: none;
        grid-column: 1 / -1;
        flex-basis: 100%;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
        padding: 0.4rem 0 0.6rem;
        border-top: 1px solid rgba(24, 61, 62, 0.08);
        order: 3;
    }

    .navbar.menu-open .nav-links {
        display: flex;
    }

    .nav-links a {
        font-size: 1rem;
        padding-bottom: 0;
        border-bottom: none;
    }

    .brand-mark {
        width: min(270px, 62vw);
    }

    .nav-contact {
        margin-top: 0.35rem;
        padding: 0.8rem 1.1rem !important;
    }

    .hero {
        padding-top: 7.25rem;
    }

    .hero-image {
        min-height: 280px;
        background-size: cover;
        background-position: center 58%;
        border-radius: 0;
    }

    .hero-wave {
        height: 76px;
    }

    .hero-content {
        margin-top: -0.75rem;
        padding: 2rem 1.25rem 3.4rem;
    }

    .hero-content h1 {
        max-width: 640px;
        font-size: clamp(1.8rem, 6.8vw, 2.35rem);
    }

    .hero-description {
        max-width: 640px;
        font-size: 0.98rem;
        padding: 1.15rem 1rem;
    }

    .feature-strip {
        padding: 1.25rem 1.25rem 3rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        min-height: auto;
        padding: 1.8rem 1.35rem;
    }

    .content-section {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .content-section .section-title {
        margin-bottom: 1.1rem;
        font-size: 2rem;
    }

    #services {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .services-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.35rem;
    }

    .section-subtitle {
        font-size: 1.35rem;
    }

    .services-highlights > li {
        margin-bottom: 1.7rem;
        padding-left: 2.2rem;
        font-size: 1rem;
    }

    .services-highlights > li::before {
        font-size: 1.7rem;
    }

    .services-sublist {
        margin-top: 1.2rem;
        padding-left: 0.4rem;
    }

    .services-sublist li {
        font-size: 0.98rem;
    }

    .services-image-wrap {
        justify-self: center;
        width: min(100%, 250px);
    }

    .services-image {
        height: 300px;
        border-radius: 90px 90px 14px 14px;
    }

    #providers {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .provider-profile {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }

    .provider-profile + .provider-profile {
        margin-top: 3.5rem;
    }

    .provider-copy h2 {
        font-size: 1.45rem;
        margin-bottom: 1.4rem;
    }

    .provider-copy p {
        margin-bottom: 1.4rem;
        font-size: 0.96rem;
        line-height: 1.62;
    }

    .provider-list-group {
        margin-top: 1.15rem;
    }

    .provider-list {
        padding-left: 1.35rem;
    }

    .provider-list li {
        margin-bottom: 0.4rem;
        font-size: 0.94rem;
        line-height: 1.38;
    }

    .provider-photo-wrap {
        order: -1;
    }

    .provider-photo {
        max-width: 220px;
    }

    #about {
        padding-top: 3rem;
        padding-bottom: 4rem;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }

    .about-copy p {
        margin-bottom: 1.25rem;
        font-size: 0.97rem;
        line-height: 1.6;
    }

    .about-image-wrap {
        order: -1;
    }

    .about-image {
        max-width: 220px;
    }

    .contact-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-copy h2 {
        font-size: 2.3rem;
        margin-bottom: 1.3rem;
    }

    .contact-copy p {
        margin-bottom: 1.2rem;
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .contact-legal-links {
        display: flex;
        flex-wrap: wrap;
        gap: 0.15rem 0.45rem;
        margin-top: 2rem;
    }

    .contact-legal-links span {
        margin: 0;
    }

    .contact-card {
        padding: 1.6rem;
    }

    .legal-page {
        padding: 2rem 1rem;
    }

    .legal-shell {
        padding: 2rem 1.35rem;
    }
}
