/* ============================================
   PREMIER PHYSICIANS — CLASSIC & ELEGANT
   Emerald Green + Cream Palette
   ============================================ */

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

:root {
    --emerald-50:  #f0fdf4;
    --emerald-100: #dcfce7;
    --emerald-200: #bbf7d0;
    --emerald-300: #86efac;
    --emerald-400: #4ade80;
    --emerald-500: #22c55e;
    --emerald-600: #16a34a;
    --emerald-700: #15803d;
    --emerald-800: #166534;
    --emerald-900: #14532d;
    --emerald-950: #052e16;
    
    --cream-50:  #fefce8;
    --cream-100: #fef9c3;
    --cream-200: #fef08a;
    --cream-300: #fde047;
    --cream-400: #facc15;
    --cream-500: #ca8a04;
    --cream-600: #a16207;
    
    --bg-primary:    #fafaf5;
    --bg-secondary:  #f5f5f0;
    --bg-dark:       #0a1f0f;
    --bg-dark-alt:   #0d2818;
    
    --text-primary:   #1a2e1f;
    --text-secondary: #3d5a42;
    --text-muted:     #6b8f72;
    --text-light:     #f0f7f2;
    --text-light-muted: #a8c4ad;
    
    --gold:           #b8860b;
    --gold-light:     #d4a843;
    
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans:  'Lato', 'Segoe UI', system-ui, sans-serif;
    
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-xl:  32px;
    
    --shadow-sm:  0 1px 3px rgba(10, 31, 15, 0.06), 0 1px 2px rgba(10, 31, 15, 0.04);
    --shadow-md:  0 4px 16px rgba(10, 31, 15, 0.08), 0 2px 6px rgba(10, 31, 15, 0.04);
    --shadow-lg:  0 12px 40px rgba(10, 31, 15, 0.12), 0 4px 12px rgba(10, 31, 15, 0.06);
    --shadow-xl:  0 24px 60px rgba(10, 31, 15, 0.16);
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--emerald-700);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--emerald-500);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.8;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-700);
    color: #ffffff;
    border-color: var(--emerald-700);
}

.btn-primary:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--emerald-700);
    border-color: var(--emerald-700);
}

.btn-outline:hover {
    background: var(--emerald-700);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-light {
    background: #ffffff;
    color: var(--emerald-800);
    border-color: #ffffff;
}

.btn-light:hover {
    background: var(--cream-50);
    color: var(--emerald-900);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--emerald-700);
    border-color: var(--emerald-200);
    padding: 10px 24px;
    font-size: 0.8rem;
}

.btn-ghost:hover {
    background: var(--emerald-50);
    border-color: var(--emerald-400);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 0.95rem;
}

.btn-full {
    width: 100%;
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(22, 101, 52, 0.08);
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(250, 250, 245, 0.97);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--emerald-800);
    text-decoration: none;
    transition: color var(--transition);
}

.logo:hover {
    color: var(--emerald-600);
}

.logo-light {
    color: var(--text-light);
}

.logo-light:hover {
    color: var(--emerald-300);
}

.logo-icon {
    color: var(--emerald-700);
    flex-shrink: 0;
}

.logo-light .logo-icon {
    color: var(--emerald-400);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition);
    letter-spacing: 0.02em;
}

.nav-links a:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    width: 40px;
    height: 40px;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--emerald-950) 0%,
        var(--emerald-900) 20%,
        var(--emerald-800) 40%,
        #1a4d2e 60%,
        #1e5c35 80%,
        var(--emerald-700) 100%
    );
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(34, 197, 94, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(184, 134, 11, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 90% 70% at 50% 50%, rgba(22, 101, 52, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800" opacity="0.03"><defs><pattern id="grain" width="4" height="4" patternUnits="userSpaceOnUse"><circle cx="1" cy="1" r="0.5" fill="white"/><circle cx="3" cy="3" r="0.3" fill="white"/></pattern></defs><rect width="1200" height="800" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 140px 24px 100px;
    max-width: 860px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--emerald-300);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 600;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 28px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-light-muted);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 44px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.badge {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--emerald-200);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.scroll-indicator:hover {
    color: var(--emerald-300);
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--emerald-400), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.7); }
    50%       { opacity: 1;   transform: scaleY(1); }
}

/* ---------- FEATURES ---------- */
.features {
    padding: 120px 0;
    background: var(--bg-primary);
}

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

.section-header .section-subtitle {
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 40px 32px;
    border: 1px solid rgba(22, 101, 52, 0.08);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald-600), var(--emerald-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--emerald-50);
    color: var(--emerald-700);
    margin-bottom: 24px;
    transition: all var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--emerald-700);
    color: #ffffff;
    transform: scale(1.05);
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ---------- ABOUT ---------- */
.about {
    padding: 120px 0;
    background: var(--bg-secondary);
}

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

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: var(--shadow-xl);
}

.about-image-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--emerald-700), var(--emerald-500));
    z-index: -1;
    opacity: 0.15;
}

.about-content .section-title {
    margin-bottom: 28px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid rgba(22, 101, 52, 0.1);
    border-bottom: 1px solid rgba(22, 101, 52, 0.1);
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--emerald-700);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ---------- APPROACH ---------- */
.approach {
    padding: 120px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.approach::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 50% 50% at 0% 0%, rgba(34, 197, 94, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 100% 100%, rgba(184, 134, 11, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.approach-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.approach-header .section-eyebrow {
    color: var(--emerald-400);
}

.approach-header .section-title {
    color: #ffffff;
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.approach-step {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition);
}

.approach-step:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 222, 128, 0.2);
    transform: translateY(-4px);
}

.step-number {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--emerald-600);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 16px;
}

.approach-step h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 14px;
}

.approach-step p {
    font-size: 0.9rem;
    color: var(--text-light-muted);
    line-height: 1.75;
}

/* ---------- NEW PATIENTS ---------- */
.new-patients {
    padding: 120px 0;
    background: var(--bg-primary);
}

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

.new-patients-content .section-title {
    margin-bottom: 24px;
}

.new-patients-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 36px;
}

.new-patients-list {
    list-style: none;
    margin-bottom: 40px;
}

.new-patients-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    color: var(--text-secondary);
    padding: 12px 0;
    border-bottom: 1px solid rgba(22, 101, 52, 0.08);
}

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

.new-patients-list svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

.new-patients-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.new-patients-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: var(--shadow-xl);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 44px 36px;
    border: 1px solid rgba(22, 101, 52, 0.08);
    transition: all var(--transition);
    position: relative;
}

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

.testimonial-quote {
    color: var(--emerald-400);
    margin-bottom: 20px;
    opacity: 0.6;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

.testimonial-author {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--emerald-700);
    letter-spacing: 0.04em;
}

/* ---------- CONTACT ---------- */
.contact {
    padding: 120px 0;
    background: var(--bg-primary);
}

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

.contact-info .section-title {
    margin-bottom: 20px;
}

.contact-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 44px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--emerald-50);
    color: var(--emerald-700);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.contact-value a {
    color: var(--emerald-700);
    font-weight: 600;
}

.contact-value a:hover {
    color: var(--emerald-500);
}

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

/* ---------- FORM ---------- */
.contact-form-wrap {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid rgba(22, 101, 52, 0.1);
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid rgba(22, 101, 52, 0.15);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
    background: #ffffff;
}

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

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

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--emerald-50);
    color: var(--emerald-600);
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.form-success p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--bg-dark);
    padding: 80px 0 0;
    color: var(--text-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-light-muted);
    line-height: 1.75;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-400);
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-light-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--emerald-300);
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--text-light-muted);
    line-height: 1.8;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--emerald-300);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--emerald-200);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 28px 0;
    font-size: 0.8rem;
    color: var(--text-light-muted);
}

.footer-bottom a {
    color: var(--emerald-400);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--emerald-300);
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ---------- MOBILE NAV OVERLAY ---------- */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 31, 15, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity var(--transition);
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 1001;
    padding: 80px 32px 40px;
    transition: right var(--transition);
    box-shadow: var(--shadow-xl);
}

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

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.mobile-nav-close svg {
    width: 24px;
    height: 24px;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 8px;
}

.mobile-nav a {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-primary);
    padding: 14px 0;
    border-bottom: 1px solid rgba(22, 101, 52, 0.1);
    text-decoration: none;
    transition: color var(--transition);
}

.mobile-nav a:hover {
    color: var(--emerald-700);
}

.mobile-nav .btn {
    margin-top: 28px;
    width: 100%;
    text-align: center;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .approach-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .new-patients-inner,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-wrap {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .header-inner .btn {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        padding: 120px 20px 80px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .features {
        padding: 80px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about-stats {
        gap: 24px;
        flex-wrap: wrap;
    }
    
    .approach {
        padding: 80px 0;
    }
    
    .approach-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials {
        padding: 80px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .new-patients {
        padding: 80px 0;
    }
    
    .new-patients-image img {
        height: 350px;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact-form-wrap {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-badges {
        flex-direction: column;
        gap: 8px;
    }
    
    .badge {
        width: 100%;
        text-align: center;
    }
    
    .about-image-wrap img {
        height: 320px;
    }
}
