/* ============================================
   COMFORT HEALTH & WELLNESS CLINIC
   Theme: Pearl Smiles Dental–inspired
   Warm, clean, professional
   ============================================ */

/* CSS Variables - Pearl Smiles–inspired palette */
:root {
    /* Header / Nav */
    --nav-bg: #243444;
    --nav-text: #ffffff;
    
    /* Primary Colors - Soft teal/sage */
    --primary-green: #5a7a6b;
    --primary-blue: #2c5f6f;
    --primary-teal: #3d7a7a;
    --accent-green: #5a7a6b;
    --accent-blue: #2c5f6f;
    --brand-color: #2c5f6f;
    --accent-cta: #D94A2B;
    --accent-cta-hover: #B83D22;
    --blue-accent: #2c5f6f;
    --blue-light: #4a8a8a;
    --blue-dark: #1e4a52;
    
    /* Darker Shades */
    --dark-green: #4a6a5a;
    --dark-blue: #1e4a52;
    --dark-teal: #2d6a6a;
    
    /* Lighter Shades */
    --light-green: #e8f0ec;
    --light-blue: #e8f2f4;
    --light-teal: #e0f0f0;
    
    /* Text Colors */
    --text-dark: #2c2c2c;
    --text-medium: #5a5a5a;
    --text-light: #7a7a7a;
    --text-white: #ffffff;
    
    /* Backgrounds - Cream/white like Pearl Smiles */
    --bg-white: #ffffff;
    --bg-cream: #faf9f7;
    --bg-warm: #f5f3ef;
    --bg-warm-alt: #efece6;
    --bg-light: #f8f6f2;
    --bg-dark: #223645;
    --bg-gradient: linear-gradient(180deg, #faf9f7 0%, #f0ede8 100%);
    
    /* Typography - Elegant serif + clean sans */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-accent: 'Playfair Display', Georgia, serif;
    
    /* Pearl: softer radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 9999px;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-warm);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-green);
    color: var(--text-white);
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* Utility Top Bar */
.utility-bar {
    background: var(--nav-bg);
    color: var(--text-white);
    padding: 8px 0;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.utility-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.utility-bar-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.utility-bar-link:hover {
    color: #e6f7f7;
}

/* Top Bar (Matching Reference) */
.top-bar {
    background: var(--bg-gradient);
    color: var(--text-white);
    padding: 10px 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    padding: 0 9vw;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.top-bar-link {
    color: var(--text-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.top-bar-link:hover {
    color: var(--primary-teal);
}

.top-bar-link .icon {
    font-size: 0.9rem;
}

.top-bar-address {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

/* Main Navigation (Matching Reference) */
.main-header {
    background: var(--nav-bg);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    padding: var(--spacing-sm) 0;
}

.nav-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr auto;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    gap: 0.5rem;
}

.logo-wrapper {
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.logo-img {
    width: 312px;
    height: auto;
    max-height: 99px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-fast);
    padding: var(--spacing-xs) 0;
    position: relative;
    white-space: nowrap;
    text-align: center;
}

.nav-link:hover {
    color: #e6f7f7;
}

.nav-link.btn-appointment {
    background: var(--accent-cta);
    color: var(--text-white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 6px;
    transition: var(--transition-normal);
    font-weight: 700;
}

.nav-link.btn-appointment:hover {
    background: var(--accent-cta-hover);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.4);
}

/* Hide Book Appointment nav link on Provider/BIO page */
.provider-bio-page .nav-link.btn-appointment {
    display: none;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-icon {
    font-size: 0.7rem;
    transition: var(--transition-fast);
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    list-style: none;
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    padding: var(--spacing-xs) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-normal);
    z-index: 100;
    margin-top: var(--spacing-xs);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: var(--spacing-xs) var(--spacing-md);
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: rgba(27, 122, 122, 0.1);
    color: var(--brand-color);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    transition: var(--transition-fast);
}

/* Hero Section (Matching Reference) */
.hero-section {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34, 54, 69, 0.6) 0%, rgba(0, 0, 0, 0.45) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video,
.hero-fallback-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video {
    min-width: 100%;
    min-height: 100%;
}

.hero-overlay {
    display: none; /* Remove tint/overlay */
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: var(--primary-blue);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-white);
    width: 100%;
    padding: var(--spacing-xl) var(--spacing-md);
}

.hero-container {
    max-width: 720px;
}

.hero-title h1 {
    font-family: var(--font-accent);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-xl);
    font-weight: 400;
    line-height: 1.5;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
}

.btn-hero-primary {
    background: var(--accent-cta);
    color: var(--text-white) !important;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.4);
}

.btn-hero-primary:hover {
    background: var(--accent-cta-hover);
    color: var(--text-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--text-white) !important;
    border: 2px solid rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-white) !important;
    border-color: var(--text-white);
    transform: translateY(-2px);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-white);
    font-weight: 600;
    max-width: 720px;
    margin: 0 auto var(--spacing-sm);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9), 0 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-white);
    max-width: 720px;
    margin: 0 auto var(--spacing-lg);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9), 0 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-learn-more {
    background: var(--bg-white);
    color: var(--primary-green);
    border: 2px solid var(--blue-accent);
}

.btn-learn-more:hover {
    background: var(--blue-accent);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-appointments {
    background: var(--accent-cta);
    color: var(--text-white);
}

.btn-appointments:hover {
    background: var(--accent-cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.hero-indicators {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-xs);
    z-index: 4;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--text-white);
    background: transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.indicator.active {
    background: var(--text-white);
}

/* Insurance Banner */
.insurance-banner {
    background: var(--primary-blue);
    color: var(--text-white);
    text-align: center;
    padding: var(--spacing-md) 0;
    font-weight: 600;
    font-size: 1.1rem;
}

/* ========== Reference-matching sections (Pearl Smiles structure) ========== */

/* 5-Star Google Reviews strip */
.reviews-strip {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
    text-align: center;
}

.reviews-strip-title {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.reviews-strip-stars {
    font-size: 1.5rem;
    letter-spacing: 4px;
    color: #e6b800;
    margin: 0.25rem 0;
}

.reviews-strip-sub {
    font-size: 1rem;
    color: var(--text-medium);
    margin: 0;
}

/* Care designed around you */
.care-designed-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
}

.care-designed-heading {
    font-family: var(--font-accent);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.care-designed-lead {
    max-width: 720px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-medium);
}

.care-designed-list {
    max-width: 560px;
    margin: 0 auto var(--spacing-lg);
    padding-left: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.care-designed-list li {
    margin-bottom: 0.5rem;
}

.care-designed-cta-wrap {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.btn-new-patients {
    background: var(--primary-blue);
    color: var(--text-white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-normal);
}

.btn-new-patients:hover {
    background: var(--dark-blue);
    color: var(--text-white) !important;
    transform: translateY(-1px);
}

.care-designed-quote {
    max-width: 640px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    border-left: 4px solid var(--primary-green);
    background: var(--bg-white);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-medium);
}

.care-designed-quote p {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.care-designed-quote footer {
    font-style: normal;
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* What brings you in today? - service cards */
.what-brings-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-white);
}

.what-brings-heading {
    font-family: var(--font-accent);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.what-brings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.service-card-ref {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: var(--transition-normal);
}

.service-card-ref:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-card-ref h3 {
    font-family: var(--font-accent);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.service-card-ref p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.service-card-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.service-card-link:hover {
    text-decoration: underline;
}

.what-brings-serving {
    text-align: center;
    font-size: 1rem;
    color: var(--text-medium);
    margin: 0;
}

/* Technology that elevates care */
.tech-elevates-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
}

.tech-elevates-heading {
    font-family: var(--font-accent);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.tech-elevates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.tech-elevates-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.tech-elevates-card h3 {
    font-family: var(--font-accent);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.tech-elevates-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
}

/* More value from day one */
.value-strip {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.value-strip-heading {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.value-strip-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-xl);
}

.value-strip-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1rem;
    color: var(--text-medium);
}

.value-strip-icon {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Final CTA - Love your comfort health */
.final-cta-section {
    padding: var(--spacing-xxl) 0;
    background: var(--primary-blue);
    color: var(--text-white);
    text-align: center;
}

.final-cta-heading {
    font-family: var(--font-accent);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: var(--spacing-sm);
}

.final-cta-text {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: var(--spacing-lg);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
}

.final-cta-buttons .btn-hero-secondary {
    border-color: rgba(255, 255, 255, 0.9);
    color: var(--text-white) !important;
}

.final-cta-buttons .btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-white) !important;
}

/* Ready section outline button on light background */
.btn-ready-outline {
    border: 2px solid var(--primary-blue) !important;
    color: var(--primary-blue) !important;
    background: transparent !important;
}

.btn-ready-outline:hover {
    background: var(--primary-blue) !important;
    color: var(--text-white) !important;
    border-color: var(--primary-blue) !important;
}

/* Technology Section */
.tech-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-white);
}


.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.tech-content-centered {
    grid-template-columns: 1fr;
}

.tech-text-single {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.section-tagline-bold,
.section-description-bold {
    font-weight: 700;
    color: #000;
}

.primary-care-centered .section-description,
.primary-care-centered .section-tagline {
    text-align: center;
}

.section-label {
    color: var(--primary-green);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.heading-line-1,
.heading-line-2 {
    display: block;
}

.section-subheading {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--blue-accent);
    margin-bottom: var(--spacing-md);
}

/* Blue accent additions */
.hero-buttons .btn-learn-more {
    border-color: var(--blue-accent);
}

.hero-buttons .btn-learn-more:hover {
    background: var(--blue-accent);
    border-color: var(--blue-accent);
}

.page-hero {
    background: linear-gradient(135deg, rgba(27, 122, 122, 0.9), rgba(10, 79, 106, 0.9), rgba(37, 99, 235, 0.3));
}

.section-title {
    color: var(--blue-accent);
}

.wellness-section {
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.05) 0%, var(--bg-white) 100%);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.now-accepting {
    background: var(--light-green);
    padding: var(--spacing-sm) var(--spacing-md);
    border-left: 4px solid var(--primary-green);
    display: inline-block;
}

.now-accepting p {
    margin: 0;
    color: var(--dark-green);
    font-weight: 600;
}

.now-accepting .btn {
    margin-top: var(--spacing-sm);
    display: inline-block;
}

.section-heading-primary {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-accent);
}

.section-tagline {
    font-size: 1.35rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-accent);
}

.section-description-catchy {
    font-family: var(--font-accent);
    font-size: 1.15rem;
}

.content-video-static {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* Ready to Get Started */
.ready-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-warm-alt);
}

.ready-heading {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.ready-subheading {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
}

.ready-cta-box {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--bg-warm);
    border-radius: var(--radius-md);
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-ready {
    background: var(--primary-blue);
    color: var(--text-white) !important;
    padding: var(--spacing-sm) var(--spacing-lg);
}

.btn-ready:hover {
    background: var(--dark-blue);
    color: var(--text-white) !important;
}

.testimonials-stars {
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #e6b800;
    margin: 0.25rem 0;
}

.star-rating-text {
    color: #e6b800;
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.tech-video {
    position: relative;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.content-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
}

/* Appointment Section (Matching Reference) */
.appointment-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
}

.appointment-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xl);
}

.appointment-booking-wrapper {
    width: 100%;
}

.appointment-iframe-container {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
}

.appointment-iframe {
    width: 100%;
    min-height: 800px;
    border: none;
    display: block;
}

/* Wellness Section */
.wellness-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-white);
}

.wellness-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.wellness-content-centered {
    grid-template-columns: 1fr;
}

.wellness-content-centered .wellness-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.wellness-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.wellness-text p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.wellness-image {
    position: relative;
}

.wellness-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* Enhanced Care Section */
.enhanced-care-section {
    padding: var(--spacing-lg) 0;
    background: var(--primary-blue);
    color: var(--text-white);
    text-align: center;
}

.enhanced-care-label {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.enhanced-care-subheading {
    font-size: 1rem;
    font-weight: 400;
    margin: 0.5rem 0 0;
    opacity: 0.95;
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
}

.testimonials-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.testimonials-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.testimonials-header p {
    font-size: 1.1rem;
    color: var(--text-medium);
}

.testimonials-slider {
    margin-bottom: var(--spacing-lg);
}

.testimonial {
    display: none;
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.testimonial.active {
    display: block;
}

.testimonial-rating {
    margin-bottom: var(--spacing-md);
}

.star-rating {
    width: 120px;
    height: auto;
}

.testimonial-content blockquote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: var(--spacing-md);
    border-left: 4px solid var(--primary-green);
    padding-left: var(--spacing-md);
}

.testimonial-author {
    text-align: right;
}

.testimonial-author strong {
    color: var(--text-dark);
    font-size: 1rem;
}

.testimonials-pagination {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
    background: transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.pagination-dot.active {
    background: var(--primary-green);
}

.testimonials-footer {
    text-align: center;
}

.btn-review {
    background: var(--primary-green);
    color: var(--text-white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
    display: inline-block;
}

.btn-review:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Shared Page Hero */
.page-hero {
    background: linear-gradient(135deg, rgba(27, 122, 122, 0.9), rgba(10, 79, 106, 0.9));
    color: var(--text-white);
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

.page-hero p {
    font-size: 1.2rem;
    color: #e8f6f6;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-subheader {
    font-family: var(--font-accent);
    font-size: 1.35rem;
    font-weight: 400;
}

.page-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.3rem;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
}

.section-lead {
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
    text-align: center;
    color: var(--text-medium);
    line-height: 1.8;
}

/* Services / Primary Care */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.flip-card {
    perspective: 1000px;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 320px;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    background: var(--bg-white);
}

.flip-card:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flip-front {
    background: var(--bg-white);
}

/* Title only on front; description on back (hover to flip) */
.flip-front p {
    display: none;
}

.flip-face {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.flip-back {
    background: var(--light-green);
    transform: rotateY(180deg);
}

.flip-face h3 {
    color: var(--brand-color);
    margin-bottom: var(--spacing-sm);
}

.flip-face p {
    color: var(--text-medium);
}

.services-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.membership-box {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--bg-warm-alt);
    border-radius: var(--radius-md);
    text-align: center;
    border-left: 4px solid var(--primary-green);
}

.membership-box h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.membership-box p {
    color: var(--text-medium);
    margin: 0;
}

/* Providers */
.provider-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-white);
}

.provider-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.provider-grid-top-align {
    align-items: start;
}

.provider-photo img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.provider-details h2 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.provider-details h4 {
    color: var(--brand-color);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.provider-details p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

/* Concierge / Wellness */
.concierge-section {
    padding: var(--spacing-lg) 0 var(--spacing-xxl);
    background: var(--bg-light);
}

.concierge-provider-photo {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.concierge-provider-photo .provider-photo-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-blue);
}

.concierge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

/* Flip cards */
.flip-card {
    perspective: 1000px;
    min-height: 220px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    min-height: 220px;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front p,
.flip-card-front .flip-hint {
    display: none;
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    min-height: 220px;
    left: 0;
    top: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

.flip-card-front h3,
.flip-card-back p {
    text-align: center;
}

.flip-card .concierge-card {
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.flip-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: auto;
}

.concierge-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.concierge-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.concierge-card h3 {
    color: var(--brand-color);
    margin-bottom: var(--spacing-sm);
}

.concierge-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* Contact */
.contact-section {
    padding: var(--spacing-xxl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--spacing-xl);
}

.contact-card {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.contact-card h3 {
    color: var(--brand-color);
    margin-bottom: var(--spacing-md);
}

.contact-card p, .contact-card a {
    color: var(--text-medium);
}

.contact-form {
    display: grid;
    gap: var(--spacing-md);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

.contact-form button {
    background: var(--brand-color);
    color: var(--text-white);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
}

.contact-form button:hover {
    background: var(--dark-green);
}

/* Insurance */
.insurance-section {
    padding: var(--spacing-xxl) 0;
}

.insurance-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--spacing-xxl);
    background: var(--light-blue);
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
}

.insurance-intro p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.insurance-intro p:last-child {
    margin-bottom: 0;
}

.insurance-partners-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-lg);
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

/* Square cards with clean, even spacing */
.insurance-grid-small.insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-bottom: var(--spacing-xxl);
}

.insurance-grid-small .insurance-card {
    aspect-ratio: 1;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.insurance-grid-small .insurance-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.insurance-grid-small .insurance-logo {
    width: 100%;
    height: 100%;
    min-height: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.insurance-grid-small .insurance-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.insurance-grid-small .insurance-placeholder {
    font-size: 0.9rem;
    padding: 0.5rem;
    line-height: 1.2;
}

.insurance-payment-options {
    margin-bottom: var(--spacing-xl);
}

.no-insurance-box {
    background: var(--bg-warm-alt);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-md);
    border-left: 4px solid var(--primary-green);
}

.no-insurance-box h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.insurance-card {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.insurance-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.insurance-card h3 {
    font-size: 1.4rem;
    color: var(--brand-color);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.insurance-logo {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.insurance-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.insurance-placeholder {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 600;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.insurance-note {
    margin-bottom: var(--spacing-xxl);
}

/* Responsive for insurance */
@media (max-width: 1024px) {
    .insurance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .insurance-grid-small.insurance-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .insurance-grid {
        grid-template-columns: 1fr;
    }
    .insurance-grid-small.insurance-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Footer (Matching Reference) */
.main-footer {
    background: var(--brand-color);
    color: var(--text-white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-column h3,
.footer-column h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-map-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-map-link:hover {
    color: var(--text-white);
    text-decoration: underline;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary-teal);
}

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

.footer-nav li {
    margin-bottom: var(--spacing-xs);
}

.footer-logo-wrapper {
    width: 338px;
    height: 117px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-bottom: var(--spacing-md);
    box-shadow: none;
}

.footer-logo {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
}

.footer-socials {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--text-white);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .top-bar-content {
        padding: 0 var(--spacing-md);
    }
    
    .tech-content,
    .wellness-content {
        grid-template-columns: 1fr;
    }
    
    .what-brings-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-elevates-grid {
        grid-template-columns: 1fr;
    }
    
    .value-strip-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .provider-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

/* Content pages */
.page-content-narrow {
    max-width: 760px;
    margin: 0 auto;
}

.content-list {
    margin: var(--spacing-md) 0 var(--spacing-lg);
    padding-left: 1.25rem;
    line-height: 1.8;
}

.content-list li {
    margin-bottom: var(--spacing-xs);
}

.service-links-list {
    list-style: none;
    padding-left: 0;
}

.service-links-list a {
    color: var(--brand-color);
    font-weight: 600;
    text-decoration: none;
}

.service-links-list a:hover {
    text-decoration: underline;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--bg-warm-alt);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm) var(--spacing-md);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: var(--spacing-sm);
    color: var(--text-medium);
}

.blog-placeholder {
    background: var(--bg-warm);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
    text-align: center;
    color: var(--text-medium);
}

.btn-connect {
    background: var(--brand-color);
    color: var(--text-white);
    border: 2px solid var(--brand-color);
}

.btn-connect:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    color: var(--text-white);
}

.home-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.home-service-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.home-service-card h2 {
    margin-bottom: var(--spacing-md);
}

.home-service-card h2 a {
    color: var(--brand-color);
    text-decoration: none;
    font-family: var(--font-accent);
    font-size: 1.75rem;
}

.home-service-card h2 a:hover {
    color: var(--accent-cta);
}

.story-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-warm);
}

.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: var(--spacing-xl);
    align-items: center;
}

.story-text .section-label {
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-color);
}

.story-text h2 {
    font-family: var(--font-accent);
    color: var(--brand-color);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: var(--spacing-md);
}

.story-text p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    max-width: 38rem;
}

.story-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.story-video-frame {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #111;
}

.story-video-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #111;
}

.highlights-strip {
    background: var(--bg-warm);
    padding: var(--spacing-lg) 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    text-align: center;
}

.highlight-item {
    padding: var(--spacing-sm);
    font-weight: 500;
    color: var(--text-dark);
}

.programs-section {
    background: var(--bg-cream);
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.program-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
}

.program-card h3 {
    color: var(--brand-color);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-accent);
}

.service-feature-image {
    margin: 0 0 var(--spacing-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.service-feature-image img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.service-page-layout {
    display: block;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.blog-card h2 {
    font-size: 1.25rem;
    margin: var(--spacing-xs) 0 var(--spacing-sm);
}

.blog-card h2 a {
    color: var(--brand-color);
    text-decoration: none;
}

.blog-card-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-read-more {
    color: var(--accent-cta);
    font-weight: 600;
    text-decoration: none;
}

.blog-article-body h2 {
    margin-top: var(--spacing-lg);
}

.hero-slide-alt .hero-title h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.25;
}

@media (max-width: 768px) {
    .nav-wrapper {
        grid-template-columns: 1fr auto;
    }

    .logo-wrapper {
        grid-column: 1;
    }

    .home-services-grid,
    .programs-grid,
    .story-grid {
        grid-template-columns: 1fr;
    }

    .story-text {
        text-align: center;
    }

    .story-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .story-actions {
        justify-content: center;
    }

    .story-video-frame {
        max-width: 280px;
    }
}

.social-link-disabled {
    opacity: 0.5;
    pointer-events: none;
}

@media (max-width: 768px) {
    .utility-bar-content {
        justify-content: center;
    }

    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--nav-bg);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        display: none;
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: var(--spacing-sm);
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.15);
        display: none;
        margin-top: 0;
        border-radius: 0;
    }

    .dropdown.dropdown-open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        color: var(--text-white);
        padding-left: var(--spacing-lg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

