/* Shared styles for the public site (/, /about, /services, /contact, /referrals).
   Split out of the old one-page index.html on 09-24-2026. */

:root {
    --teal: #1b749f;
    --teal-light: #e8f4f8;
    --teal-dark: #145a7a;
    --navy: #10172e;
    --navy-light: #1a2444;
    --cream: #faf8f5;
    --warm-white: #fffdfb;
    --sand: #e8e2d9;
    --terracotta: #c4785a;
    --sage: #8fa68a;
    --charcoal: #2d2d2d;
    --gray: #4b5563;
    --gray-light: #9ca3af;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--charcoal);
    font-size: 1.05rem;
    line-height: 1.75;
    background-color: #faf8f5;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    color: var(--navy);
    line-height: 1.2;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 80px);
}

/* Grain overlay */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
    background: #faf8f5;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background: #faf8f5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    padding: 5px 0;
}

header.scrolled .logo img {
    height: 70px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 90px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.02);
}

/* Nav button - make it stand out */
.nav-links .btn.btn-nav {
    background: var(--teal);
    color: white;
    padding: 12px 24px;
}

.nav-links .btn.btn-nav:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 116, 159, 0.35);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--charcoal);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--teal);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 23, 46, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: white;
}

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

.btn-teal:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(27, 116, 159, 0.3);
}

.menu-toggle {
    display: none;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    overflow: visible;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: 0.3s;
    transform-origin: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(27, 116, 159, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--teal-light);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal-dark);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
}

.hero h1 {
    font-size: clamp(3.2rem, 5.5vw, 4.8rem);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero h1 em {
    color: var(--teal);
    font-style: italic;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--sand);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 2.8rem;
    color: var(--teal);
    margin-bottom: 4px;
}

.stat p {
    font-size: 1rem;
    color: var(--gray);
}

.carf-trust-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.carf-trust-badge img {
    height: 80px;
    width: auto;
}

.carf-trust-badge span {
    font-size: 17px;
    font-weight: 500;
    color: var(--gray);
}

.footer-carf {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
}

.footer-carf img {
    height: 52px;
    width: auto;
}

.footer-carf span {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

/* Announcement Bar */
.announcement-bar {
    background: var(--navy);
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.announcement-bar a {
    color: var(--teal-light);
    text-decoration: underline;
    font-weight: 600;
}

.announcement-bar a:hover {
    color: white;
}

.announcement-bar .announcement-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
    line-height: 1;
}

.announcement-bar .announcement-close:hover {
    color: white;
}

.announcement-bar.hidden {
    display: none;
}

/* Shift header & hero when announcement bar is visible */
header.has-announcement {
    top: 40px;
}

.hero.has-announcement {
    padding-top: 180px;
}

/* Partners Logo Scroll */
.partners-section {
    padding: 48px 0;
    background: white;
    overflow: hidden;
}

.partners-label {
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
    font-weight: 600;
    margin-bottom: 28px;
}

.logo-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-track {
    display: flex;
    gap: 64px;
    align-items: center;
    width: max-content;
}

.logo-track:hover {
    animation-play-state: paused;
}

.logo-track img {
    height: 48px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.logo-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.logo-track img.logo-on-dark {
    background: var(--navy);
    border-radius: 8px;
    padding: 6px 14px;
    filter: none;
    opacity: 0.6;
}

.logo-track img.logo-on-dark:hover {
    opacity: 1;
}

/* Testimonials */
.testimonials {
    padding: 120px 0;
    background: var(--cream);
}

.testimonials .section-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 64px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 18px;
    padding: 44px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 60px;
    font-family: 'DM Serif Display', serif;
    color: var(--teal);
    opacity: 0.15;
    position: absolute;
    top: 16px;
    left: 24px;
    line-height: 1;
}

.testimonial-card blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--navy);
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-card cite {
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 500;
    color: var(--gray);
}

.hero-visual {
    position: relative;
    animation: fadeIn 1s ease-out 0.3s both;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(16, 23, 46, 0.15);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(16, 23, 46, 0.4) 100%);
    z-index: 1;
}

.hero-image-wrapper img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    display: block;
}

.hero-card {
    position: absolute;
    bottom: -30px;
    left: -40px;
    background: white;
    padding: 24px 28px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    z-index: 2;
    animation: floatUp 3s ease-in-out infinite;
}

.hero-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(27, 116, 159, 0.3);
}

.hero-card-icon svg {
    stroke: white;
    fill: rgba(255, 255, 255, 0.2);
}

.hero-card h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.hero-card p {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Services Section */
.services {
    padding: 140px 0;
    background: var(--warm-white);
}

.section-header {
    max-width: 600px;
    margin-bottom: 80px;
}

.section-label {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--teal);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(2.5rem, 4.5vw, 3.4rem);
    margin-bottom: 24px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
}

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

.service-card {
    background: var(--cream);
    border-radius: 20px;
    padding: 42px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.service-card:nth-child(1) .service-icon { background: rgba(27, 116, 159, 0.15); color: var(--teal); }
.service-card:nth-child(2) .service-icon { background: rgba(196, 120, 90, 0.15); color: var(--terracotta); }
.service-card:nth-child(3) .service-icon { background: rgba(143, 166, 138, 0.15); color: var(--sage); }
.service-card:nth-child(4) .service-icon { background: rgba(16, 23, 46, 0.1); color: var(--navy); }

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.service-card p {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 140px 0;
    background: var(--navy);
    color: white;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-content .section-label {
    color: var(--teal-light);
}

.about-content h2 {
    color: white;
    font-size: clamp(2.5rem, 4.5vw, 3.4rem);
    margin-bottom: 24px;
}

.about-content > p {
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.about-feature svg {
    flex-shrink: 0;
    color: var(--teal-light);
}

.about-feature span {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.9);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 24px;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 20px;
    border: 2px solid var(--teal);
    border-radius: 24px;
    z-index: -1;
}

/* Mission/Vision */
.mission-vision {
    padding: 140px 0;
    background: var(--cream);
    position: relative;
}

.mission-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/photos/reading-outdoors.jpg') center/cover no-repeat;
    opacity: 0.06;
    pointer-events: none;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mv-card {
    padding: 56px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.mv-card.mission {
    background: white;
    border: 1px solid var(--sand);
}

.mv-card.vision {
    background: var(--teal);
    color: white;
}

.mv-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.mv-card.vision h3 {
    color: white;
}

.mv-card p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.mv-card.mission p {
    color: var(--gray);
}

.mv-card.vision p {
    color: rgba(255,255,255,0.9);
}

.mv-number {
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: 'DM Serif Display', serif;
    font-size: 8rem;
    opacity: 0.08;
    line-height: 1;
}

.mv-card.vision .mv-number {
    opacity: 0.15;
    color: white;
}

/* Elev8 Standard - Core Values */
.elev8-standard {
    margin-top: 60px;
    text-align: center;
}

.elev8-standard h3 {
    font-size: 2rem;
    margin-bottom: 36px;
    color: var(--charcoal);
}

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

.standard-item {
    background: white;
    border: 1px solid var(--sand);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.standard-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.standard-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.standard-item:hover .standard-icon {
    transform: scale(1.1);
}

.standard-item:nth-child(1) .standard-icon { background: rgba(27, 116, 159, 0.15); color: var(--teal); }
.standard-item:nth-child(2) .standard-icon { background: rgba(16, 23, 46, 0.12); color: var(--navy); }
.standard-item:nth-child(3) .standard-icon { background: rgba(196, 120, 90, 0.15); color: var(--terracotta); }
.standard-item:nth-child(4) .standard-icon { background: rgba(143, 166, 138, 0.2); color: var(--sage); }
.standard-item:nth-child(5) .standard-icon { background: rgba(27, 116, 159, 0.15); color: var(--teal); }

.standard-item strong {
    display: block;
    font-size: 1.05rem;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.standard-item p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .standard-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .standard-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .standard-item {
        padding: 20px 14px;
    }
    .elev8-standard h3 {
        font-size: 1.5rem;
    }
}

/* Challenges */
.challenges {
    padding: 140px 0;
    background: var(--warm-white);
}

.challenges-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

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

.challenge-card {
    text-align: center;
    padding: 48px 28px;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--sand);
    transition: all 0.4s;
}

.challenge-card:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
}

.challenge-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.4s;
}

.challenge-card:hover .challenge-icon {
    background: var(--teal);
    color: white;
    transform: scale(1.1);
}

.challenge-card h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.challenge-card p {
    font-size: 1rem;
    color: var(--gray);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    opacity: 0.06;
    pointer-events: none;
}

.cta-wrapper {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: 32px;
    padding: 80px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(27, 116, 159, 0.3) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: white;
    font-size: clamp(2.3rem, 4.5vw, 3.2rem);
    margin-bottom: 24px;
}

.cta-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    margin-bottom: 32px;
}

.cta-image {
    position: relative;
    z-index: 1;
}

.cta-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
}

/* Contact Section */
.contact {
    padding: 140px 0;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

/* Insurance Section */
.insurance-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.insurance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--navy) 100%);
}

.insurance-card h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--navy);
}

.insurance-card > p {
    color: var(--gray);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.insurance-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: var(--cream);
    border-radius: 14px;
    border: 1.5px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.insurance-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--teal);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.insurance-item:hover {
    border-color: var(--teal);
    background: white;
    transform: translateX(4px);
    box-shadow: 0 8px 25px rgba(27, 116, 159, 0.1);
}

.insurance-item:hover::before {
    transform: scaleY(1);
}

.insurance-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.insurance-item:hover .insurance-icon {
    background: var(--teal);
    transform: scale(1.05);
}

.insurance-item:hover .insurance-icon svg {
    stroke: white;
}

.insurance-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--teal);
    stroke-width: 1.5;
    transition: stroke 0.3s ease;
}

.insurance-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy);
}

.insurance-item.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border: none;
    justify-content: center;
}

.insurance-item.featured::before {
    display: none;
}

.insurance-item.featured .insurance-icon {
    background: rgba(255,255,255,0.15);
    box-shadow: none;
}

.insurance-item.featured .insurance-icon svg {
    stroke: white;
}

.insurance-item.featured .insurance-name {
    color: white;
}

.insurance-item.featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(16, 23, 46, 0.3);
}

.insurance-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.3);
    margin: 0 12px;
}

.insurance-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--teal-light);
    color: var(--teal-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 100px;
    margin-top: 24px;
}

.insurance-badge svg {
    width: 14px;
    height: 14px;
}

.insurance-spacer {
    flex: 1;
    min-height: 20px;
}

.insurance-help {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, var(--cream) 0%, rgba(27, 116, 159, 0.08) 100%);
    border-radius: 16px;
    border: 1px solid var(--sand);
}

.insurance-help-icon {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.insurance-help-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--teal);
}

.insurance-help-content h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 6px;
}

.insurance-help-content p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 12px;
}

.insurance-help-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
    transition: all 0.2s ease;
}

.insurance-help-link:hover {
    color: var(--teal-dark);
    gap: 10px;
}

.insurance-help-link svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 1024px) {
    .insurance-grid {
        grid-template-columns: 1fr;
    }

    .insurance-item.featured {
        grid-column: span 1;
    }
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item-icon {
    width: 58px;
    height: 58px;
    background: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--teal);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-item-text h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-item-text p,
.contact-item-text a {
    color: var(--gray);
    text-decoration: none;
    font-size: 1.05rem;
}

.contact-item-text a:hover {
    color: var(--teal);
}

.crisis-box {
    margin-top: 32px;
    padding: 28px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    border-radius: 16px;
    color: white;
}

.crisis-box h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.crisis-box p {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
}

.contact-form-wrapper {
    background: white;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.contact-form h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.contact-form > p {
    color: var(--gray);
    margin-bottom: 32px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--charcoal);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid var(--sand);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--cream);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--teal);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background: var(--navy);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-flex;
}

.footer-logo img {
    height: 100px;
    filter: brightness(1.1);
    background: rgba(255,255,255,0.95);
    padding: 10px 15px;
    border-radius: 12px;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
    line-height: 1.8;
}

.footer-col h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 24px;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 14px;
}

.footer-col a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--teal-light);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
}

/* Survey Popup Modal */
.survey-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 23, 46, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.survey-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.survey-modal {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.survey-modal-overlay.active .survey-modal {
    transform: translateY(0) scale(1);
}

.survey-modal-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 28px 32px;
    position: relative;
}

.survey-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at right, rgba(27, 116, 159, 0.3) 0%, transparent 70%);
}

.survey-modal-header h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.survey-modal-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.survey-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 2;
}

.survey-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.survey-modal-close svg {
    width: 18px;
    height: 18px;
    stroke: white;
    stroke-width: 2;
}

.survey-modal-body {
    padding: 0;
    min-height: 400px;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
    background: var(--warm-white);
}

.survey-modal-body iframe {
    width: 100%;
    min-height: 550px;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .survey-modal-overlay {
        padding: 0;
        align-items: stretch;
    }

    .survey-modal {
        max-height: 100vh;
        height: 100%;
        max-width: 100%;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        margin: 0;
    }

    .survey-modal-header {
        padding: 16px 20px;
        padding-top: calc(50px + env(safe-area-inset-top));
        flex-shrink: 0;
        position: relative;
        min-height: auto;
    }

    .survey-modal-header h3 {
        font-size: 1.25rem;
        padding-right: 50px;
    }

    .survey-modal-close {
        position: absolute;
        top: calc(16px + env(safe-area-inset-top));
        right: 16px;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.2);
    }

    .survey-modal-close svg {
        width: 22px;
        height: 22px;
    }

    .survey-modal-body {
        flex: 1;
        max-height: none;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .survey-modal-body iframe {
        min-height: 450px;
    }

    .survey-form {
        padding: 20px;
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }

    .survey-nav {
        position: sticky;
        bottom: 0;
        background: var(--warm-white);
        margin: 0 -20px;
        padding: 16px 20px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--sand);
        margin-top: 24px;
    }

    .survey-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .survey-progress {
        margin-bottom: 24px;
    }

    .survey-progress-label {
        font-size: 0.65rem;
    }

    .survey-progress-dot {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    /* Remove button highlight on mobile */
    .survey-btn {
        -webkit-tap-highlight-color: transparent;
        outline: none;
    }

    .survey-btn:focus {
        outline: none;
        box-shadow: none;
    }

    .survey-btn-next:focus,
    .survey-btn-submit:focus {
        background: var(--teal);
        transform: none;
        box-shadow: none;
    }
}

/* Multi-Step Survey Form Styles */
.survey-form {
    padding: 32px;
}

.survey-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    position: relative;
}

.survey-progress::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--sand);
    z-index: 0;
}

.survey-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.survey-progress-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray);
    transition: all 0.3s ease;
}

.survey-progress-step.active .survey-progress-dot {
    background: var(--teal);
    border-color: var(--teal);
    color: white;
}

.survey-progress-step.completed .survey-progress-dot {
    background: var(--teal);
    border-color: var(--teal);
    color: white;
}

.survey-progress-label {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 8px;
    text-align: center;
}

.survey-progress-step.active .survey-progress-label {
    color: var(--teal);
    font-weight: 600;
}

.survey-step {
    display: none;
}

.survey-step.active {
    display: block;
    animation: fadeInStep 0.3s ease;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.survey-step h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.survey-step > p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.survey-form-group {
    margin-bottom: 20px;
}

.survey-form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--charcoal);
}

.survey-form-group label .required {
    color: #dc3545;
    margin-left: 2px;
}

.survey-form-group input[type="text"],
.survey-form-group input[type="email"],
.survey-form-group input[type="tel"],
.survey-form-group input[type="date"],
.survey-form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--sand);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
}

.survey-form-group input:focus,
.survey-form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(27, 116, 159, 0.1);
}

.survey-form-group input.error,
.survey-form-group textarea.error {
    border-color: #dc3545;
}

.survey-form-group .error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}

.survey-form-group input.error + .error-message,
.survey-form-group textarea.error + .error-message {
    display: block;
}

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

@media (max-width: 500px) {
    .survey-form-row {
        grid-template-columns: 1fr;
    }
}

/* Radio and Checkbox Groups */
.survey-radio-group,
.survey-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.survey-radio-group.inline {
    flex-direction: row;
    gap: 16px;
}

.survey-radio-item,
.survey-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: white;
    border: 1.5px solid var(--sand);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.survey-radio-item:hover,
.survey-checkbox-item:hover {
    border-color: var(--teal);
    background: var(--teal-light);
}

.survey-radio-item input,
.survey-checkbox-item input {
    display: none;
}

.survey-radio-item .radio-custom,
.survey-checkbox-item .checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--sand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.survey-checkbox-item .checkbox-custom {
    border-radius: 4px;
}

.survey-radio-item input:checked ~ .radio-custom,
.survey-checkbox-item input:checked ~ .checkbox-custom {
    border-color: var(--teal);
    background: var(--teal);
}

.survey-radio-item input:checked ~ .radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.survey-checkbox-item input:checked ~ .checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.survey-radio-item span,
.survey-checkbox-item span {
    font-size: 0.95rem;
    color: var(--charcoal);
}

/* Conditional Fields */
.conditional-field {
    display: none;
    margin-top: 12px;
    padding-left: 30px;
    animation: fadeInStep 0.3s ease;
}

.conditional-field.visible {
    display: block;
}

/* Survey Navigation */
.survey-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--sand);
}

.survey-btn {
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.survey-btn-back {
    background: transparent;
    color: var(--gray);
    border: 1.5px solid var(--sand);
}

.survey-btn-back:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.survey-btn-next,
.survey-btn-submit {
    background: var(--teal);
    color: white;
    margin-left: auto;
}

.survey-btn-next:hover,
.survey-btn-submit:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 116, 159, 0.35);
}

.survey-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Success Message */
.survey-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.survey-success.active {
    display: block;
    animation: fadeInStep 0.4s ease;
}

.survey-success-icon {
    width: 80px;
    height: 80px;
    background: var(--teal-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.survey-success-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--teal);
    stroke-width: 2;
}

.survey-success h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.survey-success p {
    color: var(--gray);
    font-size: 1rem;
    max-width: 350px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .survey-form {
        padding: 24px 20px;
    }

    .survey-progress-label {
        display: none;
    }

    .survey-radio-group.inline {
        flex-direction: column;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid,
    .about-grid,
    .contact-grid,
    .cta-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .services-grid,
    .challenges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-card {
        left: 20px;
        bottom: -20px;
    }
}

@media (max-width: 768px) {
    header {
        background: var(--cream);
        padding: 6px 0;
    }

    header.scrolled {
        background: var(--cream);
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
        padding: 4px 0;
    }

    .logo img {
        height: 55px;
    }

    header.scrolled .logo img {
        height: 45px;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: var(--cream);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 9999;
        padding: 20px;
        padding-top: calc(80px + env(safe-area-inset-top));
        padding-bottom: env(safe-area-inset-bottom);
        margin: 0;
        box-sizing: border-box;
    }

    .nav-links.active li {
        list-style: none;
        text-align: center;
    }

    .nav-links.active li a {
        display: block;
        padding: 15px 30px;
        color: var(--navy);
        font-size: 1.4rem;
        font-weight: 500;
    }

    .nav-links.active li a::after {
        display: none;
    }

    .nav-links.active li a.btn {
        margin-top: 10px;
    }

    .menu-toggle {
        display: flex;
        z-index: 10000;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-stats {
        gap: 32px;
    }

    .services-grid,
    .challenges-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .carf-trust-badge {
        justify-content: center;
    }

    .announcement-bar {
        display: none !important;
    }

    header.has-announcement {
        top: 0;
    }

    .hero.has-announcement {
        padding-top: 140px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .logo-track img {
        height: 32px;
    }

    .logo-track {
        gap: 48px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cta-wrapper {
        padding: 48px 32px;
    }

    .mv-card {
        padding: 36px;
    }
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 10001;
}

.skip-link:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    padding: 16px 24px;
    background: var(--navy);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    outline: 3px solid var(--teal);
    outline-offset: 2px;
}
    
/* For providers & agencies — the one place referrals live */
.providers {
    padding: 120px 0;
    background: var(--warm-white);
    scroll-margin-top: 80px;
}
.provider-panel {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    align-items: center;
    background: white;
    border: 1px solid var(--sand);
    border-top: 4px solid var(--terracotta);
    border-radius: 24px;
    padding: 64px;
}
.provider-copy .section-label { color: var(--terracotta); }
.provider-copy h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 20px;
}
.provider-copy > p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 28px;
}
.provider-list {
    list-style: none;
    display: grid;
    gap: 12px;
}
.provider-list li {
    position: relative;
    padding-left: 30px;
    color: var(--charcoal);
}
.provider-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 14px;
    height: 8px;
    border-left: 2px solid var(--teal);
    border-bottom: 2px solid var(--teal);
    transform: rotate(-45deg);
}
.provider-action {
    background: var(--cream);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}
.provider-action h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.provider-action > p {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 24px;
}
.provider-action .provider-alt {
    margin: 24px 0 0;
    font-size: 0.95rem;
}
.provider-alt a {
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .provider-panel {
        grid-template-columns: 1fr;
        padding: 40px 28px;
        gap: 36px;
    }
}
@media (max-width: 500px) {
    .provider-action { padding: 28px 20px; }
}

/* Keep the nav on one line on laptop-width screens */
.nav-links a { white-space: nowrap; }
@media (max-width: 1200px) {
    .nav-links { gap: 22px; }
}
@media (max-width: 1024px) {
    .nav-links { gap: 16px; }
    .nav-links a { font-size: 0.88rem; }
    .nav-links .btn.btn-nav { padding: 10px 18px; }
}
@media (min-width: 769px) and (max-width: 900px) {
    .nav-links .nav-signin { display: none; }
}

/* Keep the nav on one line on laptop-width screens */
.nav-links a { white-space: nowrap; }
@media (max-width: 1200px) {
    .nav-links { gap: 22px; }
}
@media (max-width: 1024px) {
    .nav-links { gap: 16px; }
    .nav-links a { font-size: 0.88rem; }
    .nav-links .btn.btn-nav { padding: 10px 18px; }
}
@media (min-width: 769px) and (max-width: 900px) {
    .nav-links .nav-signin,
    .nav-links .nav-careers { display: none; }
}


/* Inner pages: first section clears the fixed header */
.page-hero {
    padding: 200px 0 80px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(27, 116, 159, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero .section-header { margin-bottom: 0; max-width: 760px; position: relative; }
.page-hero h1 {
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    margin-bottom: 20px;
}
.page-first { padding-top: 200px !important; }
.challenges-header h2 {
    font-size: clamp(2.5rem, 4.5vw, 3.4rem);
    margin-bottom: 24px;
}
.challenges-header p {
    font-size: 1.2rem;
    color: var(--gray);
}
.nav-links a.active { color: var(--teal); }

/* Wellness Assessment band, repeated on the public pages */
.assess-band {
    padding: 0 0 100px;
    background: transparent;
}
.assess-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: var(--teal-light);
    border: 1px solid rgba(27, 116, 159, 0.2);
    border-radius: 24px;
    padding: 44px 56px;
}
.assess-band-inner h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}
.assess-band-inner p {
    color: var(--gray);
    font-size: 1.08rem;
    max-width: 720px;
}
.assess-band-inner .btn { flex-shrink: 0; }
.self-help-note {
    text-align: center;
    margin-top: 28px;
    color: var(--gray);
}
.self-help-note a {
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
}

/* The referral form sits in the page on /referrals instead of a popup */
.survey-modal.referral-inline {
    transform: none;
    max-height: none;
    max-width: 680px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}
.referral-inline .survey-modal-body {
    max-height: none;
    min-height: 0;
    overflow: visible;
}
.referral-form-section {
    padding: 0 0 120px;
    background: var(--warm-white);
    scroll-margin-top: 110px;
}
@media (max-width: 768px) {
    .page-hero { padding: 140px 0 56px; }
    .page-first { padding-top: 140px !important; }
    .assess-band { padding-bottom: 64px; }
    .assess-band-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 24px;
        gap: 20px;
    }
    .survey-modal.referral-inline {
        height: auto;
        border-radius: 20px;
        display: block;
    }
}


/* ------------------------------------------------------------------
   Connecting pieces (09-25-2026). Every page leads somewhere:
   How it works   -> the path from the assessment to real support
   Program teaser -> Home and Services point at /newmember
   Next steps     -> the same ending on every page (assessment + links)
   ------------------------------------------------------------------ */

/* How it works: assessment -> conversation -> connection */
.how-it-works {
    padding: 120px 0;
    background: var(--cream);
    scroll-margin-top: 90px;
}
.how-it-works .challenges-header { margin-bottom: 64px; }
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.step {
    background: white;
    border: 1px solid var(--sand);
    border-radius: 20px;
    padding: 40px 32px 36px;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--teal-light);
    color: var(--teal);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 22px;
}
.step:first-child .step-number { background: var(--teal); color: white; }
.step h3 { font-size: 1.45rem; margin-bottom: 12px; }
.step p { color: var(--gray); font-size: 1.02rem; line-height: 1.7; }
.steps-cta {
    text-align: center;
    margin-top: 56px;
}
.cta-note {
    display: block;
    margin-top: 14px;
    color: var(--gray);
    font-size: 0.95rem;
}

/* Services page: each service paired with the challenge it answers */
.service-rows {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.service-row {
    background: var(--cream);
    border-radius: 20px;
    padding: 40px 36px;
    scroll-margin-top: 110px;
    border: 1.5px solid transparent;
    transition: border-color 0.3s;
}
.service-row:target { border-color: var(--teal); }
.service-row .service-icon { margin-bottom: 20px; }
.service-row:nth-child(1) .service-icon { background: rgba(27, 116, 159, 0.15); color: var(--teal); }
.service-row:nth-child(2) .service-icon { background: rgba(196, 120, 90, 0.15); color: var(--terracotta); }
.service-row:nth-child(3) .service-icon { background: rgba(143, 166, 138, 0.15); color: var(--sage); }
.service-row:nth-child(4) .service-icon { background: rgba(16, 23, 46, 0.1); color: var(--navy); }
.service-row h3 { font-size: 1.55rem; margin-bottom: 18px; }
.service-row dl { display: grid; gap: 14px; }
.service-row dt {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 4px;
}
.service-row dd { color: var(--gray); font-size: 1.02rem; line-height: 1.7; margin: 0; }

/* Home: the service cards are links into /services */
a.service-card {
    display: block;
    color: inherit;
    text-decoration: none;
}
.service-more {
    display: block;
    margin-top: 18px;
    color: var(--teal);
    font-weight: 600;
    font-size: 0.98rem;
}

/* Wellness Program teaser (Home + Services -> /newmember) */
.program-teaser {
    padding: 120px 0;
    background: var(--navy);
    color: white;
    position: relative;
    overflow: hidden;
}
.program-teaser::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 60%;
    height: 180%;
    background: radial-gradient(ellipse, rgba(27, 116, 159, 0.28) 0%, transparent 65%);
    pointer-events: none;
}
.program-teaser .container { position: relative; }
.program-teaser .section-label { color: #7cc4e4; }
.program-teaser-head { max-width: 720px; margin-bottom: 56px; }
.program-teaser-head h2 {
    color: white;
    font-size: clamp(2.5rem, 4.5vw, 3.4rem);
    margin-bottom: 20px;
}
.program-teaser-head p { color: rgba(255,255,255,0.75); font-size: 1.15rem; }
.phase-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
.phase-mini {
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.04);
    border-radius: 18px;
    padding: 30px 28px;
}
.phase-shift {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #7cc4e4;
    margin-bottom: 10px;
}
.phase-mini h3 { color: white; font-size: 1.6rem; margin-bottom: 10px; }
.phase-mini p { color: rgba(255,255,255,0.72); font-size: 1rem; line-height: 1.65; }
.btn-light {
    background: white;
    color: var(--navy);
}
.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Services: Medicaid coverage strip */
.coverage-strip { padding: 100px 0 0; background: var(--warm-white); }
.coverage-inner,
.careers-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    border: 1px solid var(--sand);
    border-radius: 20px;
    padding: 32px 40px;
    background: white;
}
.coverage-inner h3,
.careers-inner h3 { font-size: 1.5rem; margin-bottom: 6px; }
.coverage-inner p,
.careers-inner p { color: var(--gray); }
.coverage-inner .text-link,
.careers-inner .btn { flex-shrink: 0; }

.text-link {
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* About: careers is a side door, not the page's ending */
.careers-strip { padding: 100px 0 40px; background: var(--warm-white); }

/* Next steps: the same ending on every page */
.next-steps { padding: 40px 0 120px; background: var(--warm-white); }
.next-steps-wrapper {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: 32px;
    padding: 72px;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.next-steps-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(27, 116, 159, 0.3) 0%, transparent 60%);
    pointer-events: none;
}
.next-steps-main,
.next-steps-links { position: relative; }
.next-steps-main .section-label { color: #7cc4e4; }
.next-steps-main h2 {
    color: white;
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 18px;
}
.next-steps-main p { color: rgba(255,255,255,0.72); font-size: 1.12rem; margin-bottom: 30px; }
.next-steps-main .cta-note { color: rgba(255,255,255,0.55); }
.next-steps-links h4 {
    color: rgba(255,255,255,0.55);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.explore-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    margin-bottom: 12px;
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: white;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s;
}
.explore-link:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); }
.explore-link strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.explore-link span { display: block; color: rgba(255,255,255,0.6); font-size: 0.92rem; }
.explore-link svg { flex-shrink: 0; }

/* Light version of the explore links, for /referrals (no member CTA there) */
.explore-strip { padding: 0 0 120px; background: var(--warm-white); }
.explore-strip h2 { font-size: clamp(1.9rem, 3.4vw, 2.4rem); text-align: center; margin-bottom: 32px; }
.explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.explore-strip .explore-link {
    background: var(--cream);
    border-color: var(--sand);
    color: var(--navy);
    margin-bottom: 0;
}
.explore-strip .explore-link:hover { border-color: var(--teal); background: var(--cream); }
.explore-strip .explore-link span { color: var(--gray); }

.provider-note {
    margin-top: 20px;
    color: var(--gray);
    font-size: 0.98rem;
}
.provider-note a { color: var(--teal); font-weight: 600; text-decoration: none; }

@media (max-width: 1024px) {
    .steps,
    .phase-mini-grid,
    .service-rows,
    .explore-grid { grid-template-columns: 1fr; }
    .next-steps-wrapper { grid-template-columns: 1fr; padding: 48px 32px; gap: 40px; }
}
@media (max-width: 768px) {
    .how-it-works,
    .program-teaser { padding: 80px 0; }
    .next-steps { padding: 20px 0 80px; }
    .coverage-strip { padding-top: 64px; }
    .explore-strip { padding-bottom: 80px; }
    .coverage-inner,
    .careers-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
        gap: 18px;
    }
    .next-steps-wrapper { padding: 40px 24px; border-radius: 24px; }
    .service-row { padding: 32px 24px; }
    .step { padding: 32px 26px 28px; }
}
@media (max-width: 768px) { .careers-strip { padding-top: 64px; } }


/* Photos (real CC0 stock, picked by Cordell 09-25-2026; sources in docs/PUBLIC-SITE.md) */
.service-row { overflow: hidden; }
.service-photo {
    display: block;
    width: calc(100% + 72px);
    max-width: none;
    height: 220px;
    object-fit: cover;
    margin: -40px -36px 28px;
}
.page-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    align-items: center;
}
.page-hero-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}
.program-teaser-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 56px;
}
.program-teaser-top .program-teaser-head { margin-bottom: 0; }
.program-teaser-photo img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}
.testimonials-with-photo {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}
.testimonials-with-photo .testimonials-grid { grid-template-columns: 1fr; max-width: none; margin: 0; }
.testimonials-photo img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 24px;
    display: block;
}
.city-band { padding: 100px 0 40px; background: var(--warm-white); }
.city-band-inner {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
}
.city-band-inner img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center 45%;
}
.city-band-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16, 23, 46, 0.92) 0%, rgba(16, 23, 46, 0.7) 38%, rgba(16, 23, 46, 0.15) 70%, transparent 85%);
}
.city-band-caption {
    position: absolute;
    left: 48px;
    right: 48px;
    bottom: 40px;
    z-index: 1;
    color: white;
}
.city-band-caption .section-label { color: #7cc4e4; margin-bottom: 8px; }
.city-band-caption h3 { color: white; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; }
.city-band-caption p { color: rgba(255,255,255,0.8); }
@media (max-width: 1024px) {
    .page-hero-grid,
    .program-teaser-top,
    .testimonials-with-photo { grid-template-columns: 1fr; gap: 40px; }
    .page-hero-image img { height: 300px; }
}
@media (max-width: 768px) {
    .service-photo { width: calc(100% + 48px); margin: -32px -24px 24px; height: 190px; }
    .page-hero-image img,
    .program-teaser-photo img { height: 240px; }
    .testimonials-photo img { height: 320px; }
    .city-band { padding: 64px 0 24px; }
    .city-band-inner img { height: 340px; }
    .city-band-caption { left: 24px; right: 24px; bottom: 24px; }
}
