/**
 * Kate Swartz, PMHNP-BC — Version 11
 * Minimal, user-focused with subtle warmth
 */

:root {
    --color-text: #3a3632;
    --color-text-secondary: #5a5650;
    --color-text-muted: #7a756d;
    --color-bg: #fffdfb;
    --color-bg-subtle: #f9f7f5;
    --color-border: #e5e0da;
    --color-accent: #6b8e6f;
    --color-accent-light: #f2f5f3;
    --color-accent-hover: #558a5a;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 740px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.06);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background: #fff;
    position: relative;
}

h1, h2, h3 {
    margin: 0 0 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 1.25rem; }
h2 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--color-text); }
h3 { font-size: 1rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); text-decoration: underline; }

ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

li { margin-bottom: 0.25rem; }
strong { font-weight: 600; }

/* Title Section */
.title-section {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 2rem 1.5rem;
}

.title-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.title-inner h1 {
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.title-inner p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Navigation wrapper */
.nav-wrapper {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #5a6e5d 0%, #4d6350 100%);
    backdrop-filter: blur(12px);
    border-bottom: none;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Navigation */
.nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav a {
    padding: 0.75rem 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav a:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.4);
}

.btn-nav {
    padding: 0.45rem 1.1rem !important;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent) !important;
    background: #fff !important;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-bottom: none !important;
    margin-left: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    position: relative;
    display: inline-block;
}

.btn-nav:hover {
    color: var(--color-accent-hover) !important;
    background: #fff !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.7rem 1.2rem;
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, var(--color-accent) 0%, #567275 100%);
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(109, 138, 142, 0.25);
    position: relative;
}

.btn:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 138, 142, 0.35);
    background: linear-gradient(135deg, #567275 0%, #4d6466 100%);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(109, 138, 142, 0.25);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(109, 138, 142, 0.3);
}

.btn-large:hover {
    box-shadow: 0 8px 28px rgba(109, 138, 142, 0.4);
}

/* Sections */
.section {
    padding: 3rem 1.5rem;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.section-intro {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

/* Intro Section */
.intro-section {
    background: #fff;
    text-align: center;
    padding: 3.5rem 1.5rem;
}

.intro-content {
    max-width: 640px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--color-text-secondary);
    margin-bottom: 1.25rem;
}

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

/* Section: About */
#about {
    background: linear-gradient(135deg, #f4f7f4 0%, #eff3ef 100%);
}

/* Section: Reviews */
#reviews {
    background: linear-gradient(135deg, #f4f7f4 0%, #eff3ef 100%);
}

#reviews > * {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.review-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--color-accent);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.review-stars {
    color: #d4a574;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.review-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
}

.review-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: rgba(109, 138, 142, 0.15);
    color: var(--color-accent);
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 500;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-text-secondary);
    margin: 0;
    font-style: italic;
}

.reviews-link {
    text-align: center;
    margin-top: 1rem;
}

.reviews-link a {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Section: Services (combined How It Works + Conditions) */
#services {
    background: #fff;
}

#services > * {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

/* Section: Insurance */
#insurance {
    background: #fff;
}

#insurance > * {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

.insurance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.insurance-accepted h3,
.insurance-other h3 {
    font-size: 1rem;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

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

.insurance-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

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

.insurance-other p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

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


#about > * {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

/* Conditions */
.condition {
    border: none;
    border-left: 3px solid var(--color-border);
    border-radius: 0;
    margin-bottom: 0;
    background: transparent;
    transition: border-color 0.2s;
}

.condition:hover {
    border-left-color: var(--color-accent);
}

.condition[open] {
    border-left-color: var(--color-accent);
    background: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
}

.condition summary {
    padding: 0.875rem 1rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.15s;
}

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

.condition summary::after {
    content: '→';
    font-size: 1rem;
    color: var(--color-text-muted);
    transition: transform 0.2s, color 0.2s;
}

.condition:hover summary::after {
    color: var(--color-accent);
}

.condition[open] summary::after {
    transform: rotate(90deg);
    color: var(--color-accent);
}

.condition[open] summary {
    color: var(--color-accent);
}

.condition summary:hover {
    color: var(--color-accent);
}

.condition-content {
    padding: 0 1rem 0.5rem;
    margin-left: 0;
}

.condition-content p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.condition-content p:first-child {
    margin-top: 0;
}

.condition-content ul {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.process-item {
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s, transform 0.2s;
}

.process-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.process-item h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    color: var(--color-text);
    font-size: 1.05rem;
}

.process-icon {
    color: var(--color-accent);
    flex-shrink: 0;
}

.process-meta {
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.process-item p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

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

/* About Section */
.about-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
    margin-bottom: 1.75rem;
}

.about-content h2 {
    margin-bottom: 0.75rem;
}

.about-content p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.about-photo {
    width: 220px;
    height: auto;
    min-height: 220px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    align-self: stretch;
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.detail-icon {
    color: var(--color-accent);
    margin-bottom: 0.6rem;
    opacity: 0.8;
}

.detail-item h3 {
    margin-bottom: 0.25rem;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.detail-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* Book Section */
.section-book {
    text-align: center;
    background: linear-gradient(135deg, #6d8a8e 0%, #567275 100%);
    padding: 3.5rem 1.5rem;
    border: none;
}

.section-book h2 {
    color: #fff;
    max-width: var(--max-width);
    margin: 0 auto 0.5rem;
}

.section-book p {
    color: rgba(255,255,255,0.85);
    max-width: var(--max-width);
    margin: 0 auto 1rem;
}

.section-book .btn {
    margin: 1.25rem 0;
    background: #fff;
    color: var(--color-accent);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.section-book .btn:hover {
    background: #fff;
    color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

.book-note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    max-width: var(--max-width);
    margin: 0 auto;
}

.book-note a {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
}

.book-note a:hover {
    color: #fff;
}

/* Location Section */
.section-location {
    background: #fff;
    padding: 3rem 1.5rem;
}

.location-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    align-items: start;
}

.location-info h2 {
    margin-bottom: 1rem;
}

.location-name {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.location-address {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.location-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 0.75rem;
}

.location-contact {
    margin-bottom: 1.25rem;
}

.location-contact a {
    font-weight: 500;
}

.location-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

@media (max-width: 600px) {
    .location-content {
        grid-template-columns: 1fr;
    }

    .location-map {
        order: -1;
    }
}

/* Footer */
.footer {
    position: relative;
    background: url('images/top-view-green-fresh-leaves.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 3rem 1.5rem;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(50, 70, 55, 0.35);
    pointer-events: none;
}

.footer > * {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer p {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 4px 16px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.9);
}

.emergency {
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 4px 16px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.9);
}

/* Responsive */
@media (max-width: 700px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    .nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.25rem 0.75rem;
        padding-bottom: 0.75rem;
    }

    .nav a:not(.btn-nav) {
        font-size: 0.8rem;
    }

    .btn-nav {
        flex-basis: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
    }

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

    .about-photo {
        width: 110px;
        height: 110px;
        order: -1;
        margin: 0 auto;
    }

    .details-grid {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
}
