/* ========================================
   Richardson Scot J MD — Editorial Medical Site
   Plum + Amber Palette | Playfair Display + Inter
   ======================================== */

:root {
    --plum-950: #1A0A1C;
    --plum-900: #2D0F2E;
    --plum-800: #4A1942;
    --plum-700: #6B2158;
    --plum-600: #832A6C;
    --plum-500: #9D3580;
    --plum-400: #B84594;
    --plum-300: #D474AB;
    --plum-200: #E8A8C4;
    --plum-100: #F5D0DD;
    --plum-50: #FBECF2;

    --amber-700: #B45309;
    --amber-600: #D97706;
    --amber-500: #F59E0B;
    --amber-400: #FBBF24;
    --amber-300: #FCD34D;
    --amber-200: #FDE68A;
    --amber-100: #FEF3C7;
    --amber-50: #FFFBEB;

    --neutral-950: #0A0A0A;
    --neutral-900: #141414;
    --neutral-800: #212121;
    --neutral-700: #333333;
    --neutral-600: #525252;
    --neutral-500: #737373;
    --neutral-400: #A3A3A3;
    --neutral-300: #D4D4D4;
    --neutral-200: #E5E5E5;
    --neutral-100: #F5F5F5;
    --neutral-50: #FAFAFA;
    --white: #FFFFFF;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--neutral-200);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--plum-900);
}

.nav-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--plum-800);
    color: var(--white);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    letter-spacing: -0.5px;
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-600);
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--plum-700);
}

.nav-cta {
    background: var(--plum-800);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: background 0.2s ease, transform 0.15s ease;
}

.nav-cta:hover {
    background: var(--plum-700);
    color: var(--white) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.nav-toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--neutral-700);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--white);
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    padding: var(--space-3xl) 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}

.hero-text {
    padding-right: var(--space-lg);
}

.hero-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--plum-600);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--amber-500);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    color: var(--neutral-950);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.025em;
}

.hero-headline em {
    font-style: italic;
    color: var(--plum-700);
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--neutral-600);
    margin-bottom: var(--space-xl);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--neutral-200);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat-num {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--plum-800);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero-stat-divider {
    width: 1px;
    height: 48px;
    background: var(--neutral-200);
    flex-shrink: 0;
}

.hero-image {
    position: relative;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-accent {
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 120px;
    height: 120px;
    background: var(--amber-400);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.6;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.btn-primary {
    background: var(--plum-800);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--plum-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--plum-800);
    border: 2px solid var(--plum-800);
}

.btn-outline:hover {
    background: var(--plum-50);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--plum-600);
    margin-bottom: var(--space-sm);
}

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--neutral-950);
    letter-spacing: -0.02em;
}

/* ========================================
   INTRO / ABOUT
   ======================================== */
.intro {
    padding: var(--space-4xl) 0;
    background: var(--neutral-50);
}

.intro-layout {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.intro-mark {
    padding-top: 12px;
}

.intro-mark-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--plum-400);
}

.intro-content {
    max-width: 720px;
}

.intro-headline {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-950);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
}

.intro-body {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--neutral-600);
    margin-bottom: var(--space-md);
}

.intro-credentials {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--neutral-200);
}

.credential {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.credential-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--plum-700);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.credential-desc {
    font-size: 0.9375rem;
    color: var(--neutral-500);
}

/* ========================================
   SERVICES
   ======================================== */
.services {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.services .section-header {
    margin-bottom: var(--space-2xl);
}

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

.service-card {
    padding: var(--space-xl);
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--plum-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--plum-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--plum-700);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--neutral-600);
}

/* ========================================
   WHY CHOOSE
   ======================================== */
.why-choose {
    padding: var(--space-4xl) 0;
    background: var(--plum-950);
    color: var(--white);
}

.why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.why-image-col {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.why-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.why-content-col .section-eyebrow {
    color: var(--amber-400);
}

.why-headline {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xl);
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.why-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: var(--space-md);
}

.why-item-num {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--amber-500);
    padding-top: 4px;
}

.why-item h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.why-item p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--plum-200);
}

/* ========================================
   PATIENT INFO
   ======================================== */
.patient-info {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.patient-header {
    margin-bottom: var(--space-2xl);
}

.patient-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.patient-card {
    padding: var(--space-xl);
    background: var(--neutral-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--neutral-100);
    transition: all 0.3s ease;
}

.patient-card:hover {
    border-color: var(--plum-200);
    box-shadow: var(--shadow-md);
}

.patient-card-icon {
    width: 44px;
    height: 44px;
    background: var(--plum-800);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--white);
}

.patient-card-icon svg {
    width: 20px;
    height: 20px;
}

.patient-card h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
}

.patient-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--neutral-600);
    white-space: pre-line;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--plum-800) 0%, var(--plum-900) 100%);
    color: var(--white);
}

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

.cta-eyebrow {
    color: var(--amber-400);
    margin-bottom: var(--space-sm);
}

.cta-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--white);
    letter-spacing: -0.025em;
    margin-bottom: var(--space-lg);
}

.cta-body {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--plum-200);
    margin-bottom: var(--space-xl);
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--neutral-50);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info .section-eyebrow {
    margin-bottom: var(--space-sm);
}

.contact-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--neutral-950);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.contact-body {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--neutral-600);
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-detail svg {
    width: 22px;
    height: 22px;
    color: var(--plum-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neutral-500);
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 1rem;
    color: var(--neutral-800);
    line-height: 1.6;
}

.contact-detail-value a {
    color: var(--plum-700);
    transition: color 0.2s ease;
}

.contact-detail-value a:hover {
    color: var(--plum-500);
    text-decoration: underline;
}

/* Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-100);
}

.contact-form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-700);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--neutral-900);
    background: var(--neutral-50);
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--plum-400);
    box-shadow: 0 0 0 3px var(--plum-100);
    background: var(--white);
}

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

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

.form-notice {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    text-align: center;
    margin-top: var(--space-md);
}

.form-success {
    display: none;
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
}

.form-success.show {
    display: block;
}

.form-success-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.form-success svg {
    width: 56px;
    height: 56px;
    color: var(--plum-600);
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
}

.form-success p {
    font-size: 1rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--neutral-950);
    color: var(--neutral-400);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--space-md);
}

.footer-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--plum-700);
    color: var(--white);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 16px;
    color: var(--white);
    letter-spacing: -0.3px;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--neutral-500);
    max-width: 300px;
}

.footer-links-col h5 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--neutral-400);
    margin-bottom: var(--space-md);
}

.footer-links-col a,
.footer-links-col p {
    display: block;
    font-size: 0.9375rem;
    color: var(--neutral-500);
    margin-bottom: 8px;
    transition: color 0.2s ease;
    line-height: 1.5;
}

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

.footer-legal {
    grid-column: 1 / -1;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--neutral-800);
}

.footer-legal p {
    font-size: 0.8125rem;
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-copy {
    font-size: 0.8125rem;
    color: var(--neutral-600) !important;
}

/* ========================================
   SCROLL REVEAL (progressive enhancement)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .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; }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        padding: var(--space-2xl) 0;
    }

    .hero-text {
        padding-right: 0;
        order: 1;
    }

    .hero-image {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-image-frame {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-accent {
        bottom: -16px;
        left: -16px;
        width: 80px;
        height: 80px;
    }

    .why-layout {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .why-image-col {
        max-width: 480px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .patient-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-lg);
        gap: var(--space-sm);
        border-bottom: 1px solid var(--neutral-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        padding: 12px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--neutral-100);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-cta {
        text-align: center;
        padding: 14px 22px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 72px;
    }

    .hero-grid {
        padding: var(--space-xl) 0;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .hero-stat-divider {
        display: none;
    }

    .intro-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .intro-mark {
        display: none;
    }

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

    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-legal {
        grid-column: auto;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-headline {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .intro-credentials {
        flex-direction: column;
        gap: var(--space-md);
    }
}
