/**
 * Kate Swartz, PMHNP-BC — Nature Edition
 * Nature-immersive design with forest and moss imagery
 */

:root {
    --color-forest-dark: #2d4a4a;
    --color-forest: #3a5f5f;
    --color-sage: #4a7575;
    --color-moss: #5a8a8a;
    --color-moss-light: #7aa5a5;

    --color-text: #1a1a1a;
    --color-text-light: #404040;
    --color-text-muted: #666666;

    --color-bg: #fdfdfb;
    --color-bg-subtle: #f8f9f7;
    --color-white: #ffffff;
    --color-white-soft: rgba(255, 255, 255, 0.95);

    --font-serif: 'Crimson Text', Georgia, serif;
    --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --max-width: 1200px;
    --content-width: 800px;

    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.08);

    /* Fallback if JS doesn't set it */
    --page-bg: linear-gradient(135deg, #5a7a8a 0%, #3d5566 50%, #5a7a8a 100%);
    --nav-offset: 80px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Make anchor jumps land below the sticky header */
section[id] {
    scroll-margin-top: calc(var(--nav-offset, 80px) + 24px);
}

html {
    scroll-behavior: auto;
    scroll-padding-top: calc(var(--nav-offset, 80px) + 20px);
    width: 100%;
    overflow-x: clip;
    -webkit-overflow-scrolling: auto;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-text);
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    position: relative;
    -webkit-tap-highlight-color: rgba(90, 138, 138, 0.2);
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-overflow-scrolling: auto;
    background: transparent !important;
    isolation: isolate;
    /* Background set dynamically by JavaScript based on hero image */
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: multiply;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Fixed background layer that doesn't use background-attachment */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(90, 138, 138, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(122, 146, 120, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(59, 78, 73, 0.3) 0%, transparent 60%),
        var(--page-bg);
    z-index: -1;
    pointer-events: none;
    transform: translateZ(0);
}


main {
    width: 100%;
    position: relative;
}

/* Scroll animations - optimized for performance */
section {
    opacity: 1;
    transform: none;
}

body.js-animate section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    will-change: opacity, transform;
}

body.js-animate section.animate-in {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

body.js-animate section:first-of-type {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 1.5rem;
    color: var(--color-forest-dark);
}

h1 { font-size: 2.5rem; }
h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -15%;
    width: 130%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--theme-color-1, var(--color-moss)) 20%, var(--theme-color-2, var(--color-sage)) 80%, transparent 100%);
    border-radius: 2px;
}

h3 { font-size: 1.25rem; }
h4 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-forest);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

p {
    margin: 0 0 1.25rem;
}

a {
    color: var(--color-forest);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--theme-color-1, var(--color-sage));
}

/* Navigation */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
    .top-nav {
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.875rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    width: max-content;
}

.logo-subtitle {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo-image {
    display: block;
    width: auto;
    height: 62px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Lato', var(--font-sans);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-forest-dark);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.logo-credential-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.logo-text .logo-divider {
    width: 100%;
    height: 1px;
    margin: 0.25em 0;
    background: #000;
    border-radius: 999px;
}

.logo-name,
.logo-credential {
    display: block;
    line-height: 1.05;
}

.logo-credential {
    font-size: 0.75em;
}


.logo-divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-moss) 0%, var(--color-moss-light) 100%);
    border-radius: 2px;
}

.logo-location {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.03em;
    text-align: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(0.125rem, 2vw, 2rem);
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-text-light);
    position: relative;
    padding: 0.5rem clamp(0.1rem, 1vw, 0.75rem);
    border-radius: 6px;
    transition: color 0.3s ease, background-color 0.3s ease;
    white-space: nowrap;
}

.nav-links a:not(.nav-btn):hover {
    color: var(--color-forest);
    background-color: rgba(90, 138, 138, 0.08);
}

.nav-links a:not(.nav-btn):active {
    opacity: 0.7;
}


.nav-btn {
    padding: 0.625rem 1.75rem;
    background: var(--theme-color-1, var(--color-forest));
    color: white !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.nav-btn:hover {
    background: var(--theme-color-2, var(--color-sage));
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
    transform: scale(1.03);
}

/* Hero Forest */
.hero-forest {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('images/IMG_8248.jpg') center center / cover no-repeat;
    /*background: url('images/sunlit-mossy-forest.jpg') center center / cover no-repeat;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-forest::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}


.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}


.hero-container {
    max-width: 900px;
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.hero-forest h1 {
    font-family: Didot, 'Didot LT STD', 'Bodoni MT', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: white;
    margin-bottom: 1rem;
    white-space: nowrap;
    letter-spacing: -0.01em;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.95),
        0 4px 12px rgba(0, 0, 0, 0.85),
        0 8px 24px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.8s ease-out 0.1s forwards;
}

.hero-tagline {
    font-size: 1.125rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 2rem;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 3px 10px rgba(0, 0, 0, 0.8),
        0 6px 20px rgba(0, 0, 0, 0.6),
        0 0 35px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.8s ease-out 0.2s forwards;
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.info-badge {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--color-white);
    clip-path: polygon(0% 1.5%, 100% 0%, 100% 100%, 0% 100%);
    transition: all 0.3s ease;
    position: relative;
    box-shadow:
        0 2px 4px rgba(90, 138, 138, 0.25),
        0 4px 10px rgba(90, 138, 138, 0.20),
        0 8px 20px rgba(90, 138, 138, 0.15),
        0 12px 35px rgba(90, 138, 138, 0.10);
}

.info-badge:hover {
    box-shadow:
        0 3px 6px rgba(90, 138, 138, 0.30),
        0 6px 14px rgba(90, 138, 138, 0.25),
        0 12px 28px rgba(90, 138, 138, 0.20),
        0 18px 45px rgba(90, 138, 138, 0.15);
}

.badge-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--theme-color-1, var(--color-moss)) 0%, var(--theme-color-2, var(--color-sage)) 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.badge-icon svg {
    width: 20px;
    height: 20px;
    color: white;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.badge-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

.badge-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.badge-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-forest-dark);
}

.hero-cta {
    display: inline-block;
    padding: 1.25rem 3.5rem;
    background: white;
    color: var(--color-forest-dark) !important;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 6px 15px rgba(0, 0, 0, 0.35);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeInAppear 0.6s ease-out 0.9s forwards;
}

@keyframes fadeInAppear {
    to {
        opacity: 1;
    }
}

.hero-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 55px rgba(0, 0, 0, 0.6), 0 8px 20px rgba(0, 0, 0, 0.4);
    background: var(--theme-color-1, var(--color-moss-light));
    color: white !important;
}

.hero-location {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 1.5rem;
    margin-bottom: 0;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 3px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.03em;
}

/* Profile/About Section */
.profile-section {
    padding: 5rem 3rem 4rem;
    background: var(--color-white);
    position: relative;
    margin: 3rem auto;
    max-width: 1200px;
    width: calc(100% - 6rem);
    clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
    box-shadow: var(--shadow-soft);
}

.profile-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(90, 138, 138, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.profile-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(74, 117, 117, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.profile-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.profile-container h2 {
    margin-bottom: 2rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: start;
    text-align: left;
}

.profile-image {
    position: relative;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
    background: linear-gradient(135deg, rgba(90, 138, 138, 0.15) 0%, rgba(74, 117, 117, 0.1) 100%);
    z-index: -1;
}

.profile-image::after {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 80px;
    height: 80px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 15% 100%, 0% 85%);
    background: linear-gradient(135deg, rgba(90, 138, 138, 0.2) 0%, rgba(74, 117, 117, 0.15) 100%);
    z-index: 1;
}

.profile-image img {
    width: 100%;
    height: auto;
    clip-path: polygon(4% 0%, 100% 0%, 100% 100%, 0% 100%);
    box-shadow: var(--shadow);
    display: block;
}

.profile-content {
    padding-top: 0;
}

.profile-content h4:first-child {
    margin-top: 0;
}

.intro-lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.profile-content p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text-light);
}

.profile-contact {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(122, 146, 120, 0.2);
    display: flex;
    gap: 1.5rem;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.contact-icon {
    font-size: 1.125rem;
}

.contact-row a {
    font-weight: 500;
    color: var(--color-text);
}

/* Availability Banner in About Section */
.availability-banner {
    margin-top: 2.5rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(90, 138, 138, 0.08) 0%, rgba(74, 117, 117, 0.05) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--theme-color-1, var(--color-moss));
}

.availability-items {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.availability-banner .availability-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--color-text);
}

.availability-banner .availability-icon {
    color: var(--theme-color-1, var(--color-moss));
    flex-shrink: 0;
}

/* Image Stripes - Horizontal bars showing nature images */
.image-stripe {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.image-stripe[data-image="1"] {
    background: url('images/IMG_9775.jpg') center center / cover;
}

.image-stripe[data-image="2"] {
    background: url('images/IMG_8226.jpg') center center / cover;
}

.image-stripe[data-image="3"] {
    background: url('images/IMG_1645.jpg') center center / cover;
}

.image-stripe[data-image="4"] {
    background: url('images/IMG_3057.jpg') center center / cover;
}

.image-stripe[data-image="5"] {
    background: url('images/IMG_8824.jpg') center center / cover;
}

.image-stripe[data-image="6"] {
    background: url('images/IMG_9775.jpg') center center / cover;
}

.image-stripe[data-image="7"] {
    background: url('images/IMG_8226.jpg') center center / cover;
}

/* Services Section */
.services-section {
    padding: 5rem 3rem 4rem;
    background: var(--color-white);
    position: relative;
    margin: 3rem auto;
    max-width: 1200px;
    width: calc(100% - 6rem);
    clip-path: polygon(0 0, 100% 30px, 100% 100%, 0 100%);
    box-shadow: var(--shadow-soft);
}

.services-section::before {
    content: '';
    position: absolute;
    top: 50px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(90, 138, 138, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: 100px;
    right: -120px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(74, 117, 117, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.services-container h2 {
    margin-bottom: 3rem;
}

.subsection-heading {
    font-size: 1.5rem;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 2.5rem;
    color: var(--color-forest-dark);
    padding-top: 3rem;
    border-top: 2px solid rgba(90, 138, 138, 0.2);
}

.services-divider {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, rgba(90, 138, 138, 0) 0%, rgba(90, 138, 138, 0.4) 25%, rgba(90, 138, 138, 0.4) 75%, rgba(90, 138, 138, 0) 100%);
    margin: 3rem 0 2.5rem;
}

.services-flow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
    text-align: left;
}

.flow-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    background: var(--color-white);
    border-radius: 8px;
    border-left: 3px solid var(--theme-color-1, var(--color-moss));
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(90, 138, 138, 0.12);
    transition: all 0.3s ease;
    position: relative;
    min-width: 0;
    width: 100%;
}

.flow-card:hover {
    border-left-color: var(--theme-color-2, var(--color-sage));
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.1),
        0 4px 16px rgba(90, 138, 138, 0.18);
    transform: translateY(-2px);
}

.flow-icon {
    margin-bottom: 0.75rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--theme-color-1, var(--color-moss)) 0%, var(--theme-color-2, var(--color-sage)) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(90, 138, 138, 0.25);
    flex-shrink: 0;
}

.flow-icon svg {
    width: 42px;
    height: 42px;
    color: var(--color-white);
    display: block;
}


.flow-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.0625rem;
    line-height: 1.3;
}

.flow-time {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--theme-color-1, var(--color-sage));
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.flow-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    line-height: 1.65;
}

a.flow-card-link {
    display: inline-block;
    margin-top: auto;
    padding-top: 1rem;
    color: var(--theme-color-2, var(--color-sage));
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer !important;
}

.flow-card-link::after {
    content: ' →';
    transition: transform 0.2s ease;
    display: inline-block;
}

.flow-card-link:hover {
    color: var(--theme-color-1, var(--color-moss));
}

.flow-card-link:hover::after {
    transform: translateX(4px);
}

.services-container .conditions-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
    align-items: start;
    text-align: left;
}

.services-container .condition-block {
    padding: 0;
    background: var(--color-white);
    border-radius: 8px;
    border-left: 3px solid var(--theme-color-1, var(--color-moss));
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(90, 138, 138, 0.12);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.services-container .condition-block:hover {
    border-left-color: var(--theme-color-2, var(--color-sage));
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.1),
        0 4px 16px rgba(90, 138, 138, 0.18);
}

.services-container .condition-summary {
    font-size: 1.0625rem;
    margin-top: 0;
    margin-bottom: 0;
    color: var(--color-forest);
    font-weight: 600;
}

.condition-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(90, 138, 138, 0.15) 0%, rgba(74, 117, 117, 0.1) 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.condition-icon svg {
    width: 20px;
    height: 20px;
    color: var(--theme-color-1, var(--color-sage));
    display: block;
}

.condition-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    list-style: none;
}

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

.condition-summary::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--theme-color-1, var(--color-sage));
    border-bottom: 2px solid var(--theme-color-1, var(--color-sage));
    transform: rotate(45deg);
    margin-left: auto;
    transition: transform 0.2s ease;
}

.condition-block[open] .condition-summary::after {
    transform: rotate(225deg);
}

.condition-summary:focus-visible {
    outline: 2px solid rgba(90, 138, 138, 0.35);
    outline-offset: 2px;
    border-radius: 6px;
}

.condition-title {
    font-size: 1.0625rem;
    color: var(--color-forest);
    font-weight: 600;
}

.condition-content {
    padding: 0 1.5rem 1.25rem;
}

.services-container .condition-block p {
    color: var(--color-text-light);
    line-height: 1.65;
    margin: 0;
    font-size: 0.9375rem;
}

/* Conditions Section */
.conditions-section {
    padding: 3rem 1.5rem;
    background: var(--color-white);
}

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

.conditions-container h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.conditions-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.condition-block {
    padding: 0;
    background: var(--color-white);
    border-radius: 8px;
    border-left: 3px solid var(--theme-color-1, var(--color-moss));
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(90, 138, 138, 0.12);
    transition: all 0.3s ease;
}

.condition-block:hover {
    border-left-color: var(--theme-color-2, var(--color-sage));
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.1),
        0 4px 16px rgba(90, 138, 138, 0.18);
}

.condition-block h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-forest);
}

.condition-block p {
    color: var(--color-text-light);
    line-height: 1.65;
    margin: 0;
}

/* Insurance Section */
.insurance-section {
    padding: 5rem 3rem 4rem;
    background: var(--color-white);
    position: relative;
    margin: 3rem auto;
    max-width: 1200px;
    width: calc(100% - 6rem);
    clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%);
    box-shadow: var(--shadow-soft);
}

.insurance-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(90, 138, 138, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.insurance-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -100px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(74, 117, 117, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.insurance-container {
    max-width: var(--content-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.insurance-container h2 {
    margin-bottom: 3rem;
}

.insurance-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    text-align: left;
}

.insurance-col {
    padding: 2.5rem;
    background: var(--color-white);
    border-radius: 8px;
    border-left: 3px solid var(--theme-color-1, var(--color-moss));
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(90, 138, 138, 0.12);
    transition: all 0.3s ease;
    position: relative;
}

.insurance-col:hover {
    border-left-color: var(--theme-color-2, var(--color-sage));
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.1),
        0 4px 16px rgba(90, 138, 138, 0.18);
}

.insurance-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--theme-color-1, var(--color-moss)) 0%, var(--theme-color-2, var(--color-sage)) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(90, 138, 138, 0.25);
}

.insurance-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-white);
    display: block;
}

.insurance-col h3 {
    font-size: 1.375rem;
    margin-bottom: 1.5rem;
    color: var(--color-forest);
}

.insurance-note {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.insurance-items {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.insurance-items li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(122, 146, 120, 0.15);
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.insurance-items li:last-child {
    border-bottom: none;
}

.small-note {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.insurance-col p {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.pricing {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(122, 146, 120, 0.2);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(122, 146, 120, 0.1);
}

.price-row:last-child {
    border-bottom: none;
}

.price-row span {
    color: var(--color-text-light);
}

.price-row strong {
    font-size: 1.25rem;
    color: var(--color-forest);
}

.pricing-footnote {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin: 0.75rem 0 0 0;
    font-style: italic;
}

/* FAQ Section */
.faq-section {
    padding: 3.5rem 3rem 3rem;
    background: var(--color-white);
    position: relative;
    margin: 3rem auto;
    max-width: 1200px;
    width: calc(100% - 6rem);
    clip-path: polygon(0 0, 100% 30px, 100% 100%, 0 100%);
    box-shadow: var(--shadow-soft);
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 8%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(90, 138, 138, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.faq-section::after {
    content: '';
    position: absolute;
    bottom: 60px;
    right: 12%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(74, 117, 117, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.faq-container {
    max-width: var(--content-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.faq-container h2 {
    margin-bottom: 1.75rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: left;
}

.faq-item {
    padding: 0.75rem 0;
    background: transparent;
    border-radius: 0;
    border-left: none;
    box-shadow: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(90, 138, 138, 0.18);
}

.faq-item[open] {
    border-left-color: transparent;
    box-shadow: none;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-forest);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.faq-item summary::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--theme-color-1, var(--color-sage));
    border-bottom: 2px solid var(--theme-color-1, var(--color-sage));
    transform: rotate(45deg);
    margin-left: auto;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(225deg);
}

.faq-item summary:focus-visible {
    outline: 2px solid rgba(90, 138, 138, 0.35);
    outline-offset: 2px;
    border-radius: 6px;
}

.faq-item p {
    color: var(--color-text-light);
    line-height: 1.55;
    margin: 0.5rem 0 0;
}

/* Reviews Section */
.reviews-section {
    padding: 5rem 3rem 4rem;
    background: var(--color-white);
    position: relative;
    margin: 3rem auto;
    max-width: 1200px;
    width: calc(100% - 6rem);
    clip-path: polygon(0 0, 100% 30px, 100% 100%, 0 100%);
    box-shadow: var(--shadow-soft);
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 100px;
    right: 5%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(90, 138, 138, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.reviews-section::after {
    content: '';
    position: absolute;
    bottom: 50px;
    left: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(74, 117, 117, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.reviews-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.reviews-container h2 {
    margin-bottom: 3rem;
}

.reviews-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.review-tile {
    padding: 2rem;
    background: var(--color-white);
    border-radius: 8px;
    border-left: 3px solid var(--theme-color-1, var(--color-moss));
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(90, 138, 138, 0.12);
    transition: all 0.3s ease;
    position: relative;
}

.review-tile:hover {
    border-left-color: var(--theme-color-2, var(--color-sage));
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.1),
        0 4px 16px rgba(90, 138, 138, 0.18);
}

.review-tile .quote-mark::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: rgba(90, 138, 138, 0.12);
    line-height: 1;
    z-index: 0;
}

.review-stars {
    color: #daa520;
    font-size: 1.125rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.review-tile p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    font-style: italic;
    margin-bottom: 1.25rem;
}

.review-attribution {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-style: normal;
}

.reviews-footer {
    text-align: center;
    margin-top: 2rem;
}

.reviews-footer a {
    font-weight: 500;
    font-size: 0.9375rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 3rem 4rem;
    background: var(--color-white);
    position: relative;
    margin: 3rem auto;
    max-width: 1200px;
    width: calc(100% - 6rem);
    clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%);
    box-shadow: var(--shadow-soft);
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(90, 138, 138, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 117, 117, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.contact-container h2 {
    margin-bottom: 2rem;
}

.map-address-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1.25rem;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-address-header h3 {
    font-size: 1.375rem;
    margin: 0 0 0.75rem 0;
    color: var(--color-forest);
    font-weight: 600;
}

.map-address-info {
    flex: 1;
}

.location-address-link {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.2s ease;
}

.location-address-link:hover {
    color: var(--color-sage);
}

.location-address-link span {
    line-height: 1.6;
}

.location-address-link .availability-icon {
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.map-directions-link {
    display: inline-block;
    background: var(--theme-color-1, var(--color-sage));
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border: 1px solid var(--theme-color-1, var(--color-sage));
    border-radius: 4px;
    transition: all 0.2s ease;
    text-align: center;
    align-self: center;
    white-space: nowrap;
}

.map-directions-link:hover {
    background: transparent;
    color: var(--theme-color-1, var(--color-sage));
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    text-align: left;
}

.contact-details {
    order: 1;
    padding: 1rem 2.5rem 2.5rem;
    background: var(--color-white);
    clip-path: polygon(0% 1.5%, 100% 0%, 100% 100%, 0% 100%);
    position: relative;
    box-shadow:
        0 2px 4px rgba(90, 138, 138, 0.25),
        0 4px 10px rgba(90, 138, 138, 0.20),
        0 8px 20px rgba(90, 138, 138, 0.15),
        0 12px 35px rgba(90, 138, 138, 0.10);
}

.contact-map-wrapper {
    order: 2;
    display: flex;
    flex-direction: column;
}

.detail-group {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(122, 146, 120, 0.2);
}

.detail-group:last-of-type {
    border-bottom: none;
}

.detail-group h3 {
    font-size: 1.375rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--color-forest);
    font-weight: 600;
}

.detail-group p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0.5rem 0;
}

.detail-note {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.detail-group a {
    font-weight: 500;
    color: var(--color-text);
}

.address-link {
    color: var(--color-moss);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.address-link:hover {
    color: var(--color-forest);
    text-decoration: underline;
}

.contact-address {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(122, 146, 120, 0.2);
}

.contact-address h3,
h3.contact-section-header {
    font-size: 1.375rem;
    color: var(--color-forest);
    font-weight: 600;
    margin: 0 0 0.75rem 0;
}

h3.contact-section-header {
    margin-top: 0;
    margin-bottom: 1rem;
}

.address-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.address-row .contact-icon {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-address .address-link {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    text-decoration: none;
    display: block;
    font-weight: 400;
}

.contact-address .address-link:hover {
    color: var(--theme-color-1, var(--color-moss));
}

.contact-map-wrapper .directions-btn {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 0.875rem 1.5rem;
    background: var(--theme-color-1, var(--color-moss));
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9375rem;
    transition: background 0.2s ease;
}

.contact-map-wrapper .directions-btn:hover {
    background: var(--color-forest);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.25rem 0;
    transition: all 0.2s ease;
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: var(--theme-color-1, var(--color-sage));
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-item a,
.contact-item span {
    color: var(--color-text);
    font-weight: 500;
}

.contact-item a {
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--theme-color-1, var(--color-sage));
}

.contact-type {
    color: var(--color-text-muted);
    font-weight: 400;
    font-size: 0.875rem;
}

.contact-item-block {
    padding: 0.375rem 0;
    margin-bottom: 0.25rem;
}

.contact-item-block p {
    margin: 0;
    line-height: 1.5;
}

.contact-item-block strong {
    color: var(--color-forest);
    font-weight: 600;
}

.contact-callout {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.875rem 1rem;
    background: rgba(90, 138, 138, 0.08);
    border-left: 3px solid var(--theme-color-1, var(--color-moss));
    border-radius: 4px;
    margin-bottom: 1rem;
}

.contact-callout-icon {
    width: 20px;
    height: 20px;
    color: var(--theme-color-1, var(--color-sage));
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-callout-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text);
}

.contact-callout-text strong {
    color: var(--color-forest-dark);
}

.detail-group p.contact-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--color-forest);
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0;
}

.contact-notice-icon {
    width: 18px;
    height: 18px;
    color: var(--theme-color-1, var(--color-sage));
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-portal-link {
    color: var(--color-forest);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-portal-link:hover {
    color: var(--theme-color-1, var(--color-sage));
    text-decoration: underline;
}

.contact-note {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin-top: 0.375rem;
}

.contact-phone {
    color: var(--color-text);
    font-weight: 600;
    font-size: 1rem;
}

.availability-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.availability-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.25rem 0;
}

.availability-icon {
    width: 20px;
    height: 20px;
    color: var(--theme-color-1, var(--color-sage));
    flex-shrink: 0;
}

.availability-item span {
    color: var(--color-text);
    font-weight: 500;
}

.availability-note {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    padding-left: 0;
}

.availability-note a {
    color: var(--theme-color-1, var(--color-sage));
    font-weight: 500;
}

.contact-btn {
    display: inline-block;
    padding: 0.875rem 2.25rem;
    background: var(--theme-color-1, var(--color-forest));
    color: white !important;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-btn:hover {
    background: var(--theme-color-2, var(--color-sage));
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.contact-map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-map {
    overflow: hidden;
    box-shadow: var(--shadow);
    border-radius: 8px;
    height: 500px;
    position: relative;
}

.map-zoom-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.map-zoom-btn {
    width: 36px;
    height: 36px;
    background: white;
    border: none;
    border-radius: 4px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-forest);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-zoom-btn:hover {
    background: var(--color-cream);
}

/* Prevent the embedded map from capturing scroll until the user opts in */
.contact-map iframe {
    pointer-events: none;
}

.contact-map.is-interactive iframe {
    pointer-events: auto;
}

/* Optional overlay so users understand why the map isn't responding */
.contact-map::after {
    content: "Click to interact";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-forest-dark);
    background: rgba(255, 255, 255, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .contact-map:hover::after { opacity: 1; }
}

@media (hover: none) and (pointer: coarse) {
    .contact-map::after { opacity: 1; }
}

.contact-map.is-interactive::after {
    opacity: 0;
}

.map-directions-btn {
    align-self: center;
}


/* Office Gallery */
.office-gallery {
    margin-top: 4rem;
    text-align: center;
}

.office-gallery h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--color-forest);
    position: relative;
    display: inline-block;
}

.office-gallery h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -15%;
    width: 130%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--theme-color-1, var(--color-moss)) 20%, var(--theme-color-2, var(--color-sage)) 80%, transparent 100%);
    border-radius: 2px;
}

/* Gallery Carousel */
.gallery-carousel {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-nav {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--theme-color-1, var(--color-moss));
    background: var(--color-white);
    color: var(--theme-color-1, var(--color-moss));
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.carousel-nav:hover {
    background: var(--theme-color-1, var(--color-moss));
    color: var(--color-white);
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-track-wrapper {
    flex: 1;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s ease;
}

.gallery-item {
    flex: 0 0 calc((100% - 3rem) / 3);
    background: var(--color-white);
    border-radius: 8px;
    border-left: 3px solid var(--theme-color-1, var(--color-moss));
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(90, 138, 138, 0.12);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    position: relative;
}

.gallery-item:hover {
    border-left-color: var(--theme-color-2, var(--color-sage));
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.1),
        0 4px 16px rgba(90, 138, 138, 0.18);
}

.gallery-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 0;
    display: block;
    cursor: pointer;
}

.gallery-caption {
    padding: 1rem;
    font-size: 0.9375rem;
    color: var(--color-text-light);
    margin: 0;
    text-align: center;
}

/* First Visit Page Styles */
.first-visit-hero {
    padding: 3rem 2rem 1.5rem;
    text-align: center;
}

.first-visit-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #faf8f3;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.first-visit-hero .intro-lead {
    font-size: 1.25rem;
    color: #f5f3ed;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.first-visit-content {
    padding: 1.5rem 2rem 2.5rem;
    background: var(--color-off-white);
}

.visit-steps {
    max-width: 900px;
    margin: 0 auto;
}

.visit-step {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 2px 8px rgba(90, 138, 138, 0.12);
    display: flex;
    gap: 2rem;
    position: relative;
}

.visit-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--color-moss);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

.step-content h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--color-forest);
    font-size: 1.75rem;
}

.step-content h3 {
    color: var(--color-forest);
    font-size: 1.125rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.step-content h3:first-child {
    margin-top: 0;
}

.step-details ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.step-details li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.address-large {
    font-size: 1.25rem;
    color: var(--color-forest);
    margin: 1rem 0 1.5rem;
    line-height: 1.6;
}

.visit-image {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.visit-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    background: var(--color-off-white);
    padding: 1rem 1.25rem;
    margin: 0;
    font-size: 0.9375rem;
    color: var(--color-text-light);
    text-align: center;
    border-top: 1px solid rgba(90, 138, 138, 0.1);
}

.directions-button {
    margin: 2rem 0;
    text-align: center;
}

.highlight-note {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border-radius: 4px;
}

.highlight-note svg {
    flex-shrink: 0;
    color: #f57c00;
    margin-top: 0.125rem;
}

.highlight-note span {
    flex: 1;
    font-weight: 500;
    color: #795548;
}

.visit-questions {
    max-width: 900px;
    margin: 4rem auto 0;
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(90, 138, 138, 0.12);
}

.visit-questions h2 {
    color: var(--color-forest);
    margin-bottom: 1rem;
}

.visit-questions p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.visit-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn-outline {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: transparent;
    color: var(--color-forest);
    border: 2px solid var(--color-moss);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-btn-outline:hover {
    background: var(--color-moss);
    color: white;
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .first-visit-hero {
        padding: 2rem 1.5rem 1rem;
    }

    .first-visit-hero h1 {
        font-size: 2rem;
    }

    .first-visit-hero .intro-lead {
        font-size: 1.125rem;
    }

    .first-visit-content {
        padding: 2rem 1.5rem 3rem;
    }

    .visit-step {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .step-content h2 {
        font-size: 1.5rem;
    }

    .address-large {
        font-size: 1.125rem;
    }

    .visit-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-btn-outline {
        text-align: center;
    }

    .first-visit-callout {
        padding: 2rem 1.5rem;
    }

    .callout-content h3 {
        font-size: 1.5rem;
    }

    .callout-content p {
        font-size: 1rem;
    }
}

/* First Visit Callout */
.first-visit-callout {
    background: linear-gradient(135deg, rgba(90, 138, 138, 0.08) 0%, rgba(122, 146, 120, 0.08) 100%);
    border: 2px solid var(--color-moss);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
}

.callout-content h3 {
    color: var(--color-forest);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.callout-content p {
    font-size: 1.125rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.callout-content .visit-buttons {
    margin-top: 1.5rem;
}

/* FAQ Link */
.faq-link {
    color: var(--color-moss);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 0.5rem;
}

.faq-link:hover {
    color: var(--color-forest);
    text-decoration: underline;
}

/* Footer */
.site-footer {
    padding: 0 1rem 0.5rem;
    text-align: center;
}

.footer-container {
    max-width: var(--content-width);
    margin: 0 auto;
}

.footer-brain {
    height: 81px;
    width: auto;
    opacity: 0.6;
    margin-top: 0.5rem;
    margin-bottom: -0.25rem;
    filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    -webkit-filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-brain:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.footer-nav {
    margin: 0 0 1rem 0;
    padding: 0;
    font-size: 0.9375rem;
    line-height: 1.8;
}

.footer-nav a {
    color: var(--footer-text-color, rgba(255, 255, 255, 0.95));
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-nav a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.footer-nav .separator {
    margin: 0 0.5rem;
    color: var(--footer-text-color, rgba(255, 255, 255, 0.95));
}

.footer-nav::after {
    content: '';
    display: block;
    width: 500px;
    max-width: 90%;
    height: 1px;
    background: var(--footer-text-color, rgba(255, 255, 255, 0.95));
    opacity: 0.2;
    margin: 1rem auto 0;
}

.footer-copyright {
    font-size: 0.9375rem;
    margin: 0 0 0.25rem 0;
    color: var(--footer-text-color, rgba(255, 255, 255, 0.95));
    font-weight: 500;
}

.footer-emergency {
    font-size: 0.875rem;
    margin: 0;
    color: var(--footer-text-color, rgba(255, 255, 255, 0.95));
    opacity: 0.85;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links {
        gap: 0.25rem;
    }

    .nav-links a {
        font-size: 0.875rem;
        padding: 0.5rem 0.5rem;
    }

    .nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    .profile-grid {
        grid-template-columns: 260px 1fr;
        gap: 2rem;
    }

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

    .conditions-list {
        gap: 1.25rem;
    }

    .insurance-columns {
        gap: 2rem;
    }

    .contact-layout {
        gap: 2rem;
    }

    .gallery-item {
        flex: 0 0 calc((100% - 1.5rem) / 2);
    }
}

@media (max-width: 900px) {
    .nav-links {
        gap: 0.125rem;
    }

    .nav-links a {
        font-size: 0.8125rem;
        padding: 0.375rem 0.375rem;
    }

    .nav-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: calc(var(--nav-offset, 120px) + 20px);
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.125rem; }

    .top-nav {
        padding: 0.75rem 1rem;
    }

    .nav-inner {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .nav-links a:not(.nav-btn) {
        font-size: 0.8125rem;
        white-space: nowrap;
        padding: 0.375rem 0.5rem;
    }

    .nav-links .nav-btn {
        flex-basis: 100%;
        text-align: center;
    }


    .logo-image {
        height: 46px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .hero-forest {
        display: none;
    }

    /* Section spacing adjustments for mobile */
    .profile-section,
    .services-section,
    .insurance-section,
    .faq-section,
    .reviews-section,
    .contact-section {
        padding: 3rem 1.5rem 2.5rem;
        width: 100%;
        margin: 2rem 0;
        box-sizing: border-box;
    }

    .profile-section {
        clip-path: none;
        margin-top: 0;
    }

    .services-section {
        clip-path: polygon(0 0, 100% 15px, 100% 100%, 0 100%);
    }

    .insurance-section {
        clip-path: polygon(0 15px, 100% 0, 100% 100%, 0 100%);
    }

    .faq-section {
        clip-path: polygon(0 0, 100% 15px, 100% 100%, 0 100%);
    }

    .reviews-section {
        clip-path: polygon(0 0, 100% 15px, 100% 100%, 0 100%);
    }

    .contact-section {
        clip-path: polygon(0 15px, 100% 0, 100% 100%, 0 100%);
    }

    .profile-info {
        flex-direction: column;
        gap: 1rem;
    }

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

    .profile-image {
        max-width: 280px;
        margin: 0 auto;
    }

    .services-flow {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .conditions-list,
    .services-container .conditions-list {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

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

    .reviews-masonry {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

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

    .contact-details {
        clip-path: none;
    }

    .contact-map {
        height: 350px;
        clip-path: none;
    }

    .gallery-carousel {
        display: block;
    }

    .carousel-nav {
        display: none;
    }

    .gallery-track-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 0.5rem;
    }

    .gallery-track-wrapper::-webkit-scrollbar {
        display: none;
    }

    .gallery-track {
        display: flex;
        gap: 1rem;
        transition: none;
        transform: none !important;
    }

    .gallery-item {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }

    .gallery-image {
        height: 240px;
    }

    .profile-image img {
        clip-path: none;
    }

}

@media (max-width: 480px) {
    html {
        scroll-padding-top: calc(var(--nav-offset, 100px) + 20px);
    }

    body {
        font-size: 15px;
    }

    .top-nav {
        padding: 0.5rem 0.75rem;
    }


    .logo-image {
        height: 36px;
    }

    .logo-text {
        font-size: 1.125rem;
    }

    .logo-location {
        font-size: 0.6875rem;
    }

    .nav-links {
        gap: 0.25rem 0.375rem;
    }

    .nav-links a:not(.nav-btn) {
        font-size: 0.75rem;
        padding: 0.25rem 0.375rem;
    }

    .nav-links .nav-btn {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .profile-section,
    .services-section,
    .insurance-section,
    .faq-section,
    .reviews-section,
    .contact-section {
        padding: 2.5rem 1rem 2rem;
        width: 100%;
        margin: 2rem 0;
        box-sizing: border-box;
    }

    .profile-section {
        clip-path: none;
        margin-top: 0;
    }

    .services-section {
        clip-path: polygon(0 0, 100% 12px, 100% 100%, 0 100%);
    }

    .insurance-section {
        clip-path: polygon(0 12px, 100% 0, 100% 100%, 0 100%);
    }

    .faq-section {
        clip-path: polygon(0 0, 100% 12px, 100% 100%, 0 100%);
    }

    .reviews-section {
        clip-path: polygon(0 0, 100% 12px, 100% 100%, 0 100%);
    }

    .contact-section {
        clip-path: polygon(0 12px, 100% 0, 100% 100%, 0 100%);
    }

    h2 {
        font-size: 1.375rem;
    }

    .flow-card,
    .insurance-col,
    .contact-details {
        padding: 1.25rem;
        clip-path: none;
        border-radius: 8px;
    }

    .faq-item {
        padding: 1rem 1.25rem;
    }

    .condition-summary {
        padding: 1rem 1.25rem;
    }

    .condition-content {
        padding: 0 1.25rem 1rem;
    }

    .gallery-item {
        clip-path: none;
    }

    .profile-image img {
        clip-path: none;
    }

    .contact-map {
        clip-path: none;
    }

    .review-tile {
        padding: 1.25rem;
    }

    .contact-item {
        padding: 0.25rem 0;
        gap: 0.5rem;
    }

    .contact-icon {
        width: 18px;
        height: 18px;
    }

    .contact-item a,
    .contact-item span {
        font-size: 0.9375rem;
    }

    .availability-item {
        padding: 0.25rem 0;
        gap: 0.5rem;
    }

    .availability-icon {
        width: 18px;
        height: 18px;
    }

    .availability-item span {
        font-size: 0.9375rem;
    }

    .availability-banner {
        padding: 1.25rem 1rem;
        margin-top: 2rem;
    }

    .availability-items {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .availability-banner .availability-item {
        font-size: 0.9375rem;
    }

    .flow-icon,
    .insurance-icon {
        width: 40px;
        height: 40px;
    }

    .flow-icon svg,
    .insurance-icon svg {
        width: 28px;
        height: 28px;
    }

    .price-row {
        font-size: 0.9375rem;
    }

    .site-footer {
        padding: 1rem 1.5rem 2rem;
    }

    .footer-copyright {
        font-size: 0.875rem;
    }

    .footer-emergency {
        font-size: 0.8125rem;
    }

    .footer-brain {
        -webkit-filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) !important;
        filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) !important;
    }

}

/* Image Lightbox */
.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.image-lightbox.active {
    display: block;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    pointer-events: none;
}

.lightbox-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    pointer-events: none;
}

.lightbox-image {
    max-width: 90%;
    max-height: 75vh;
    object-fit: contain;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    pointer-events: all;
}

.lightbox-video {
    max-width: 90%;
    max-height: 75vh;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    pointer-events: all;
}

.lightbox-caption {
    color: white;
    font-size: 1.125rem;
    text-align: center;
    margin-top: 1.5rem;
    padding: 0 2rem;
    max-width: 800px;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-forest);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    pointer-events: all;
}

.lightbox-close:hover {
    background: white;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-forest);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    pointer-events: all;
}

.lightbox-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

@media (max-width: 768px) {
    .lightbox-content {
        padding: 1rem;
    }

    .lightbox-image,
    .lightbox-video {
        max-width: 95%;
        max-height: 70vh;
    }

    .lightbox-caption {
        font-size: 1rem;
        padding: 0 1rem;
        margin-top: 1rem;
    }

    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox-nav {
        width: 44px;
        height: 44px;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }
}
