@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ═══ CUSTOM PROPERTIES ═══ */
:root {
    --green-deep: #1B6B4A;
    --mint: #D4E8D0;
    --cream: #FFF8F0;
    --peach: #FDF0E6;
    --poppy: #D4492A;
    --bark: #3E3A2E;
    --sage: #8FB09A;
    --gold: #D4B44A;
    --white: #FFFFFF;
    --text: #2D2D2D;
    --text-light: #5A5A5A;
    --text-muted: #8A8A8A;
    /* ── Semantic Roles (configurable in Settings → Color Roles) ── */
    --role-primary: var(--green-deep);
    --role-accent: var(--sage);
    --role-highlight: var(--gold);
    --role-bg: var(--cream);
    --role-bg-alt: var(--peach);
    --role-bg-tint: var(--mint);
    --role-dark: var(--bark);
    --role-alert: var(--poppy);

    /* ── Derived from roles ── */
    --primary-rgb: 27,107,74;
    --primary-dark: color-mix(in srgb, var(--role-primary), black 18%);
    --shadow-sm: 0 2px 8px rgba(30, 60, 40, 0.06);
    --shadow-md: 0 4px 20px rgba(30, 60, 40, 0.1);
    --shadow-lg: 0 12px 40px rgba(30, 60, 40, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --hero-overlay-opacity: 0.85;
    --hero-overlay-color-1: var(--role-bg-tint);
    --hero-overlay-color-2: var(--role-bg-alt);
}

/* ═══ RESET & BASE ═══ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--role-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ═══ NAVBAR ═══ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 248, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(255, 248, 240, 0.98);
    border-bottom: 1px solid var(--role-bg-tint);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-img {
    display: block;
    max-height: var(--logo-max-h, 96px);
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: left center;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.88em;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--role-primary);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--role-primary);
    transition: width var(--transition);
}

.nav-links a:hover { color: var(--role-primary); }
.nav-links a:hover::after { width: 100%; }

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-toggle {
    font-size: 0.88em;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--role-primary);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    position: relative;
}
.nav-dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--role-primary);
    transition: width var(--transition);
}
.nav-dropdown:hover .nav-dropdown-toggle::after { width: 100%; }
.nav-dropdown-toggle svg {
    width: 10px;
    height: 10px;
    margin-left: 4px;
    vertical-align: middle;
    transition: transform 0.2s;
}
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}
.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85em !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    color: var(--text) !important;
    transition: background 0.15s;
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover {
    background: var(--mint);
    color: var(--role-primary) !important;
}
.nav-dropdown-menu a .dropdown-subtitle {
    display: block;
    font-size: 0.8em;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 2px;
    letter-spacing: 0 !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--role-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══ HERO ═══ */
.hero {
    position: relative;
    min-height: 66vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--hero-overlay-color-1) 0%,
        var(--hero-overlay-color-2) 50%,
        var(--hero-overlay-color-1) 100%
    );
    opacity: var(--hero-overlay-opacity);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 40px 24px;
}

/* Scroll indicator — mobile only */
.hero-scroll-indicator {
    display: none;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--role-primary);
    opacity: 0.7;
    animation: scrollBounce 1.8s ease-in-out infinite;
    text-decoration: none;
    transition: opacity 0.2s;
}
.hero-scroll-indicator:hover { opacity: 1; }
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(7px); }
}
@media (max-width: 768px) {
    .hero-scroll-indicator { display: block; }
}

.hero h1 {
    font-size: clamp(2.8em, 6vw, 4.5em);
    color: var(--role-primary);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero .hero-subtitle {
    font-size: 1.2em;
    color: var(--role-dark);
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    background: var(--role-primary);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95em;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--role-primary);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9em;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border: 2px solid var(--role-primary);
    transition: var(--transition);
    cursor: pointer;
}

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

/* ═══ SECTIONS ═══ */
.section {
    padding: 100px 24px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2em, 4vw, 2.8em);
    color: var(--role-primary);
    margin-bottom: 16px;
}

.section-header .accent-line {
    width: 60px;
    height: 3px;
    background: var(--role-highlight);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1em;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.bg-peach { background: var(--peach); }
.bg-mint { background: var(--mint); }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.bg-sage { background: var(--mint); }

/* ═══ TELEHEALTH PAGE ═══ */
.city-pill {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 0.9em;
    font-weight: 500;
    background: white;
    color: var(--text);
    border: 1px solid rgba(27, 107, 74, 0.15);
    transition: all 0.2s;
}
.city-pill:hover {
    border-color: var(--role-primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(27, 107, 74, 0.1);
}
.city-pill--primary {
    background: var(--role-primary);
    color: white;
    border-color: var(--role-primary);
}
.city-pill--gold {
    background: var(--gold);
    color: white;
    border-color: var(--gold);
    font-weight: 600;
}
.city-pill--outline {
    background: transparent;
    border: 1.5px dashed var(--role-primary);
    color: var(--role-primary);
    font-weight: 600;
}

.telehealth-card {
    display: block;
    padding: 20px 24px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--mint);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.telehealth-card:hover {
    border-color: var(--role-primary);
    box-shadow: 0 4px 16px rgba(27, 107, 74, 0.08);
}
.telehealth-card strong {
    color: var(--role-primary);
    font-size: 1.05em;
}
.telehealth-card span {
    display: block;
    font-size: 0.9em;
    margin-top: 4px;
    color: var(--text-light);
    font-weight: 300;
    line-height: 1.5;
}

/* ═══ OFFICE GALLERY ═══ */
@media (max-width: 768px) {
    #office div[style*="grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    #office div[style*="grid-template-columns: 1fr 1fr 1fr"] img {
        height: 200px !important;
    }
}

/* ═══ TELEHEALTH ═══ */
@media (max-width: 768px) {
    .section-inner > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* ═══ ABOUT ═══ */
.about-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: start;
}

.about-photo {
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    position: sticky;
    top: 120px;
    max-width: 280px;
}

.about-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h3 {
    font-size: 1.5em;
    color: var(--role-primary);
    margin: 32px 0 16px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    font-size: 1.05em;
    color: var(--text);
    font-weight: 300;
    margin-bottom: 16px;
    line-height: 1.8;
}

.who-i-work-with {
    margin-top: 40px;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--role-primary);
}

.who-i-work-with h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.who-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.who-list li {
    font-size: 1em;
    color: var(--text);
    font-weight: 400;
    padding-left: 24px;
    position: relative;
}

.who-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--role-accent);
    border-radius: 50%;
}

/* ═══ SPECIALTIES CARDS ═══ */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.specialty-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    border-top: 4px solid var(--role-primary);
    transition: var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
}

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

.specialty-card h3 {
    font-size: 1.25em;
    color: var(--role-primary);
    margin-bottom: 12px;
}

.specialty-card p {
    font-size: 0.95em;
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 300;
}

.specialty-card .card-expand {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    font-size: 0.9em;
    color: var(--text-muted);
    margin-top: 0;
}

.specialty-card:hover .card-expand {
    max-height: 120px;
    margin-top: 12px;
}

.specialty-card a.card-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.88em;
    font-weight: 600;
    color: var(--role-primary);
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.specialty-card a.card-link:hover {
    color: var(--role-alert);
}

/* ═══ FEES ═══ */
.fees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

.fee-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(27, 107, 74, 0.1);
}

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

.fee-card h3 {
    font-size: 1.2em;
    color: var(--role-primary);
    margin-bottom: 8px;
}

.fee-card .fee-price {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    font-weight: 700;
    color: var(--role-primary);
    margin: 16px 0;
}

.fee-card .fee-duration {
    font-size: 0.88em;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.fee-card .fee-note {
    font-size: 0.9em;
    color: var(--text-light);
    font-weight: 300;
}

.fees-info {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    border-left: 4px solid var(--role-highlight);
}

.fees-info h3 {
    color: var(--role-primary);
    margin-bottom: 12px;
    font-size: 1.2em;
}

.fees-info p {
    font-size: 0.95em;
    color: var(--text-light);
    font-weight: 300;
    line-height: 1.8;
}

/* ═══ FAQ ACCORDION ═══ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid rgba(27, 107, 74, 0.08);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(27, 107, 74, 0.15);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 28px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 1.05em;
    font-weight: 500;
    color: var(--role-dark);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--role-primary);
}

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--role-bg-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.2em;
    color: var(--role-primary);
}

.faq-item.active .faq-icon {
    background: var(--role-primary);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
    padding: 0 28px 24px;
    font-size: 0.98em;
    color: var(--text-light);
    line-height: 1.8;
    font-weight: 300;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ═══ CONTACT ═══ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.contact-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--role-bg-tint);
}

.contact-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 14px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.92em;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    text-transform: uppercase;
}

.contact-tab.active {
    color: var(--role-primary);
    border-bottom-color: var(--role-primary);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

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

.form-group label {
    display: block;
    font-size: 0.85em;
    font-weight: 500;
    color: var(--role-dark);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(27, 107, 74, 0.15);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.95em;
    color: var(--text);
    background: var(--role-bg);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--role-primary);
    box-shadow: 0 0 0 3px rgba(27, 107, 74, 0.1);
}

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

.time-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.time-chip {
    padding: 8px 16px;
    border: 1px solid rgba(27, 107, 74, 0.2);
    border-radius: 50px;
    font-size: 0.85em;
    cursor: pointer;
    transition: var(--transition);
    background: var(--role-bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
}

.time-chip:hover,
.time-chip.selected {
    background: var(--role-primary);
    color: var(--white);
    border-color: var(--role-primary);
}

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

.map-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 280px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%) contrast(0.9);
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
}

.contact-info-card h3 {
    font-size: 1.15em;
    color: var(--role-primary);
    margin-bottom: 16px;
}

.contact-info-card p {
    font-size: 0.95em;
    color: var(--text-light);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 8px;
}

.credentials-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.credential-badge {
    background: var(--role-bg-tint);
    color: var(--role-primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78em;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success h3 {
    color: var(--role-primary);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-light);
    font-weight: 300;
}

/* ═══ CREDENTIALS EXPANDER ═══ */
.credentials-expander { margin: 24px 0; }
.credentials-toggle {
    display: flex; align-items: center; gap: 8px;
    background: none; border: none; cursor: pointer;
    font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
    color: var(--role-primary); padding: 10px 0;
    transition: var(--transition);
}
.credentials-toggle:hover { opacity: 0.8; }
.cred-arrow { transition: transform 0.3s ease; }
.credentials-expander.open .cred-arrow { transform: rotate(180deg); }
.credentials-content {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease, opacity 0.3s ease; opacity: 0;
}
.credentials-expander.open .credentials-content {
    max-height: 300px; opacity: 1;
}
.cred-list {
    list-style: none; padding: 8px 0 0 0; margin: 0;
}
.cred-list li {
    font-size: 0.9em; color: var(--text-light); line-height: 1.6;
    padding: 4px 0 4px 20px; position: relative;
}
.cred-list li::before {
    content: ''; position: absolute; left: 0; top: 12px;
    width: 8px; height: 8px; background: var(--role-accent); border-radius: 50%;
}
.cred-list li strong { color: var(--text); font-weight: 600; }
.cred-list a { color: var(--role-primary); text-decoration: none; border-bottom: 1px solid rgba(var(--primary-rgb),0.2); transition: var(--transition); }
.cred-list a:hover { border-bottom-color: var(--role-primary); }

/* ═══ CONSULTATION FORM ═══ */
.consult-container { max-width: 580px; margin: 0 auto; padding: 0 20px; }
.consult-title { font-size: 2.2em; color: var(--role-primary); text-align: center; margin-bottom: 12px; }
.consult-subtitle { font-size: 1em; color: var(--text-light); text-align: center; margin-bottom: 32px; line-height: 1.6; }

.mode-toggle { display: flex; background: var(--white); border-radius: 12px; padding: 5px; margin-bottom: 32px; gap: 4px; border: 1px solid rgba(var(--primary-rgb),0.12); }
.mode-btn { flex: 1; padding: 14px 16px; border: none; background: transparent; border-radius: 9px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: var(--text-light); cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px; }
.mode-btn:hover { color: var(--text); }
.mode-btn.active { background: var(--role-primary); color: white; box-shadow: 0 2px 8px rgba(var(--primary-rgb),0.2); }

.c-panel { display: none; animation: cFadeIn 0.3s ease; }
.c-panel.active { display: block; }
@keyframes cFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.c-card { background: var(--white); border: 1px solid rgba(var(--primary-rgb),0.1); border-radius: 16px; padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,0.03); }
.c-card + .c-card { margin-top: 16px; }
.c-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--role-accent); margin-bottom: 14px; }

.c-select-wrap { position: relative; }
.c-select-wrap::after { content: ''; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid var(--text-light); pointer-events: none; }
.c-select { width: 100%; padding: 14px 40px 14px 16px; font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 500; color: var(--text); background: var(--role-bg); border: 1.5px solid rgba(var(--primary-rgb),0.12); border-radius: 10px; outline: none; appearance: none; -webkit-appearance: none; cursor: pointer; transition: var(--transition); }
.c-select:hover { border-color: var(--role-accent); }
.c-select:focus { border-color: var(--role-primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),0.08); }

.c-loading { text-align: center; padding: 20px; color: var(--text-muted); font-size: 14px; }
.c-no-slots { text-align: center; padding: 20px; color: var(--text-muted); font-size: 14px; font-style: italic; }
.c-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c-slot { padding: 14px 16px; background: var(--role-bg); border: 2px solid rgba(var(--primary-rgb),0.12); border-radius: 12px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: var(--role-primary); cursor: pointer; transition: var(--transition); text-align: center; line-height: 1.4; }
.c-slot:hover { border-color: var(--role-primary); background: var(--role-bg-tint); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(var(--primary-rgb),0.1); }
.c-slot.selected { background: var(--role-primary); border-color: var(--role-primary); color: white; box-shadow: 0 4px 16px rgba(var(--primary-rgb),0.2); }
.c-slot-day { font-size: 12px; font-weight: 500; color: var(--text-muted); margin-bottom: 2px; }
.c-slot.selected .c-slot-day { color: rgba(255,255,255,0.7); }
.c-slot-time { font-size: 16px; font-weight: 700; }
.c-divider { height: 1px; background: rgba(var(--primary-rgb),0.1); margin: 20px 0; }

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

.c-form-section { margin-top: 20px; display: none; }
.c-form-section.visible { display: block; animation: cFadeIn 0.3s ease; }

.c-summary { display: none; padding: 14px 18px; background: var(--role-bg-tint); border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--role-primary); margin-bottom: 22px; align-items: center; gap: 10px; }
.c-summary.visible { display: flex; animation: cFadeIn 0.2s ease; }
.c-change { margin-left: auto; background: none; border: none; color: var(--role-primary); font-size: 13px; font-weight: 600; text-decoration: underline; cursor: pointer; font-family: inherit; }

.c-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.c-form-group { margin-bottom: 16px; }
.c-form-group:last-child { margin-bottom: 0; }
.c-form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }

.c-input, .c-textarea { width: 100%; padding: 12px 16px; font-family: 'Inter', sans-serif; font-size: 15px; color: var(--text); background: var(--role-bg); border: 1.5px solid rgba(var(--primary-rgb),0.12); border-radius: 10px; outline: none; transition: var(--transition); }
.c-input:focus, .c-textarea:focus { border-color: var(--role-primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),0.08); background: white; }
.c-input::placeholder, .c-textarea::placeholder { color: #b0b0b0; }
.c-textarea { min-height: 90px; resize: vertical; line-height: 1.5; }

.c-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-light); line-height: 1.5; margin-top: 12px; cursor: pointer; }
.c-consent input[type="checkbox"] { margin-top: 2px; accent-color: var(--role-primary); flex-shrink: 0; }
.c-consent a { color: var(--role-primary); text-decoration: underline; }

.c-btn { width: 100%; padding: 16px 24px; font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700; color: white; background: var(--role-primary); border: none; border-radius: 30px; cursor: pointer; transition: var(--transition); margin-top: 10px; letter-spacing: 0.3px; }
.c-btn:hover { background: var(--primary-dark); box-shadow: 0 6px 20px rgba(var(--primary-rgb),0.2); transform: translateY(-1px); }
.c-btn:active { transform: translateY(0); box-shadow: none; }
.c-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

.c-success { display: none; text-align: center; padding: 60px 20px; animation: cFadeIn 0.4s ease; }
.c-success.visible { display: block; }
.c-success-icon { width: 56px; height: 56px; background: var(--role-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 24px; color: white; }
.c-success h2 { font-size: 1.8em; color: var(--role-primary); margin-bottom: 12px; }
.c-success p { font-size: 15px; color: var(--text-light); line-height: 1.6; max-width: 400px; margin: 0 auto; }

/* ═══ OFFICE SECTION ═══ */
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.office-map { height: 350px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.office-map iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 768px) {
    .c-form-grid { grid-template-columns: 1fr; gap: 0; }
    .c-chips { flex-direction: column; }
    .c-chip { text-align: center; }
    .office-grid { grid-template-columns: 1fr; }
    .office-map { height: 250px; }
}

/* ═══ FOOTER ═══ */
.site-footer {
    background: var(--role-bg-tint);
    color: var(--role-dark);
    padding: 60px 24px;
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.land-ack {
    font-size: 0.82em;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 32px;
    font-weight: 300;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--role-primary);
    font-weight: 600;
    font-size: 0.9em;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--role-dark);
    text-decoration: underline;
}

.footer-dot {
    margin: 0 12px;
    color: var(--role-accent);
}

.footer-copy {
    font-size: 0.82em;
    color: var(--text-muted);
}

/* ═══ SEO LANDING PAGES ═══ */
.landing-hero {
    padding: 160px 24px 100px;
    text-align: center;
    background: linear-gradient(135deg, var(--role-bg-tint) 0%, var(--role-bg-alt) 100%);
}

.landing-hero h1 {
    font-size: clamp(2.2em, 5vw, 3.5em);
    color: var(--role-primary);
    margin-bottom: 20px;
}

.landing-hero p {
    font-size: 1.15em;
    color: var(--role-dark);
    max-width: 600px;
    margin: 0 auto 36px;
    font-weight: 300;
    line-height: 1.7;
}

.landing-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px;
}

.landing-content h2 {
    font-size: 1.8em;
    color: var(--role-primary);
    margin: 48px 0 20px;
}

.landing-content h2:first-child {
    margin-top: 0;
}

.landing-content p {
    font-size: 1.05em;
    color: var(--text);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 16px;
}

.landing-content ul {
    margin: 16px 0 24px 24px;
}

.landing-content li {
    font-size: 1em;
    color: var(--text);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 8px;
}

.landing-cta {
    text-align: center;
    padding: 80px 24px;
    background: var(--role-bg-tint);
}

.landing-cta h2 {
    font-size: 2em;
    color: var(--role-primary);
    margin-bottom: 16px;
}

.landing-cta p {
    font-size: 1.05em;
    color: var(--role-dark);
    font-weight: 300;
    margin-bottom: 32px;
}

/* ═══ SPECIALTY PAGES ═══ */
.specialty-hero {
    padding: 140px 24px 20px;
    min-height: 25vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--role-bg-tint) 0%, var(--role-bg-alt) 100%);
}

.specialty-hero .section-inner {
    text-align: center;
}

.specialty-hero + .section {
    padding-top: 48px;
}

.specialty-hero h1 {
    font-size: clamp(2.2em, 5vw, 3.5em);
    color: var(--role-primary);
    margin-bottom: 16px;
    text-align: center;
}

.specialty-hero .hero-subtitle {
    font-size: 1.15em;
    color: var(--role-dark);
    max-width: 600px;
    margin: 0 auto 24px;
    font-weight: 300;
    line-height: 1.7;
    text-align: center;
}

.breadcrumb {
    font-size: 0.85em;
    color: var(--text-muted);
    font-weight: 400;
    text-align: center;
}

.breadcrumb a {
    color: var(--role-primary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.specialty-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.specialty-page .headshot-float {
    float: right;
    width: 200px;
    border-radius: 50%;
    margin: 0 0 24px 32px;
    shape-outside: circle();
}

.specialty-page h2 {
    font-size: 1.6em;
    color: var(--role-primary);
    margin: 40px 0 16px;
}

.specialty-page h2:first-of-type {
    margin-top: 0;
}

.specialty-page h3 {
    font-size: 1.25em;
    color: var(--role-primary);
    margin: 32px 0 12px;
}

.specialty-page p {
    font-size: 1.05em;
    color: var(--text);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 16px;
}

.specialty-page ul {
    margin: 16px 0 24px 24px;
}

.specialty-page li {
    font-size: 1em;
    color: var(--text);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .specialty-page .headshot-float {
        float: none;
        display: block;
        margin: 0 auto 24px;
        width: 160px;
    }

    .specialty-hero {
        padding: 100px 20px 16px;
        min-height: 20vh;
    }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-photo {
        max-width: 340px;
        margin: 0 auto;
        position: static;
    }

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

    .who-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--role-bg);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 24px;
        transition: right var(--transition);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1em;
    }

    .nav-dropdown-toggle {
        font-size: 1em;
    }

    .nav-dropdown {
        text-align: center;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        opacity: 1;
        visibility: visible;
        min-width: 0;
        text-align: center;
    }

    .nav-dropdown-menu a {
        padding: 6px 0;
        font-size: 0.9em !important;
        text-align: center;
    }

    .nav-dropdown-toggle svg { display: none; }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 80vh;
    }

    .section {
        padding: 60px 20px;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

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

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

/* Logo tablet sizing — 768–1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .nav-logo-img {
        max-height: min(72px, var(--logo-max-h, 72px));
    }
}

/* Logo mobile sizing — 767px excludes iPad (768px) so it keeps desktop logo */
@media (max-width: 767px) {
    .nav-logo-img {
        max-height: 56px;
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 12px 16px;
    }

    .hero h1 {
        font-size: 2.4em;
    }

    .section-header h2 {
        font-size: 1.8em;
    }

    .fee-card .fee-price {
        font-size: 2.2em;
    }
}
