/* =============================================
   Dr. Meera Soni, M.D. — Dermatology Website
   Classic & Elegant Design System
   ============================================= */

/* --- CSS Custom Properties --- */
:root {
    --color-navy: #1a2d4a;
    --color-navy-deep: #0f1d33;
    --color-navy-light: #2a4470;
    --color-gold: #c4a265;
    --color-gold-light: #d4b87a;
    --color-gold-pale: #f5ecd7;
    --color-cream: #faf8f4;
    --color-warm-white: #fefdfb;
    --color-text: #2c2c2c;
    --color-text-light: #5a5a5a;
    --color-text-muted: #8a8a8a;
    --color-border: #e8e4dc;
    --color-border-light: #f0ece4;
    
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', 'Segoe UI', sans-serif;
    
    --fs-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
    --fs-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
    --fs-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
    --fs-md: clamp(1rem, 0.9rem + 0.3vw, 1.15rem);
    --fs-lg: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
    --fs-xl: clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem);
    --fs-2xl: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
    --fs-3xl: clamp(2rem, 1.5rem + 1.5vw, 3rem);
    --fs-4xl: clamp(2.5rem, 1.8rem + 2.5vw, 4rem);
    
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 1px 3px rgba(26, 45, 74, 0.06);
    --shadow-md: 0 4px 16px rgba(26, 45, 74, 0.08);
    --shadow-lg: 0 8px 32px rgba(26, 45, 74, 0.10);
    --shadow-xl: 0 16px 48px rgba(26, 45, 74, 0.12);
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-warm-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;
}

ul, ol {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-navy);
}

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.85rem 1.75rem;
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-navy-deep);
    border: 2px solid var(--color-gold);
}

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

.btn-secondary {
    background: transparent;
    color: var(--color-navy);
    border: 2px solid var(--color-navy);
}

.btn-secondary:hover {
    background: var(--color-navy);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-full {
    width: 100%;
}

/* --- Section Headings --- */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

.section-heading {
    font-size: var(--fs-3xl);
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    font-size: var(--fs-md);
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 251, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--color-navy);
    transition: opacity var(--transition-fast);
}

.nav-logo:hover { opacity: 0.8; }

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

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
}

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

.nav-link {
    font-size: var(--fs-sm);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-light);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-gold);
    transition: width var(--transition-base);
}

.nav-link:hover { color: var(--color-navy); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
    padding: 0.6rem 1.4rem;
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-navy);
    border: 1.5px solid var(--color-navy);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.nav-cta:hover {
    background: var(--color-navy);
    color: #fff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-navy);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

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

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

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/29110703/pexels-photo-29110703.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    transform: scale(1.02);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.02); }
    to { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 29, 51, 0.88) 0%,
        rgba(26, 45, 74, 0.82) 50%,
        rgba(42, 68, 112, 0.78) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
    max-width: 900px;
}

.hero-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
    padding: var(--space-sm) var(--space-lg);
    border: 1px solid rgba(196, 162, 101, 0.4);
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: var(--fs-4xl);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    max-width: 800px;
}

.hero-subheadline {
    font-size: var(--fs-md);
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    line-height: 1.8;
    font-weight: 300;
}

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

.hero-actions .btn-primary {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy-deep);
}

.hero-actions .btn-primary:hover {
    background: var(--color-gold-light);
    border-color: var(--color-gold-light);
}

.hero-actions .btn-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.hero-actions .btn-secondary:hover {
    background: #fff;
    color: var(--color-navy);
    border-color: #fff;
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--fs-xs);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: var(--space-3xl);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(196, 162, 101, 0.8), transparent);
}

/* --- Intro --- */
.intro {
    padding: var(--space-5xl) 0;
    background: var(--color-cream);
}

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

.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;
    height: 750px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.intro-image-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 2px solid var(--color-gold);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.5;
}

.intro-text {
    padding: var(--space-xl) 0;
}

.intro-text .lead {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 500;
    color: var(--color-navy);
    line-height: 1.5;
    margin-bottom: var(--space-lg);
}

.intro-text p {
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    font-size: var(--fs-base);
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

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

.feature-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--color-navy);
}

.feature-item span {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
}

/* --- Services --- */
.services {
    padding: var(--space-5xl) 0;
    background: var(--color-warm-white);
}

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

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

.service-card {
    padding: var(--space-2xl);
    background: var(--color-warm-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
    margin-bottom: var(--space-lg);
}

.service-title {
    font-size: var(--fs-xl);
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--space-md);
}

.service-description {
    font-size: var(--fs-base);
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --- About --- */
.about {
    padding: var(--space-5xl) 0;
    background: var(--color-navy);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(196, 162, 101, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

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

.about-content .section-eyebrow { color: var(--color-gold); }
.about-content .section-heading { color: #fff; }

.about-content .lead {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: var(--space-lg);
}

.about-content p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: var(--space-lg);
    font-size: var(--fs-base);
}

.about-quote {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--color-gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.about-quote svg {
    flex-shrink: 0;
    color: var(--color-gold);
    margin-top: var(--space-xs);
}

.about-quote blockquote {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.about-quote cite {
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-style: normal;
    color: var(--color-gold);
    letter-spacing: 0.05em;
}

.about-image {
    position: relative;
}

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

.about-image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    left: 16px;
    top: 16px;
    border: 2px solid var(--color-gold);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.4;
}

/* --- Patients --- */
.patients {
    padding: var(--space-5xl) 0;
    background: var(--color-cream);
}

.patients .section-header {
    margin-bottom: var(--space-4xl);
}

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

.patient-card {
    background: var(--color-warm-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.patient-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-xl) var(--space-2xl);
    background: var(--color-navy);
}

.patient-icon {
    color: var(--color-gold);
    flex-shrink: 0;
}

.patient-card-header h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 600;
    color: #fff;
}

.patient-list {
    padding: var(--space-xl) var(--space-2xl);
}

.patient-list li {
    position: relative;
    padding: var(--space-md) 0;
    padding-left: var(--space-lg);
    font-size: var(--fs-base);
    color: var(--color-text-light);
    border-bottom: 1px solid var(--color-border-light);
    line-height: 1.6;
}

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

.patient-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: calc(var(--space-md) + 6px);
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
}

/* --- CTA / Contact --- */
.cta {
    padding: var(--space-5xl) 0;
    background: var(--color-warm-white);
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.cta-text .section-eyebrow { color: var(--color-gold); }
.cta-text .section-heading { color: var(--color-navy); }

.cta-description {
    font-size: var(--fs-md);
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

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

.cta-phone, .cta-email {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--fs-lg);
    font-weight: 500;
    color: var(--color-navy);
    transition: color var(--transition-fast);
}

.cta-phone:hover, .cta-email:hover {
    color: var(--color-gold);
}

.cta-address {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-base);
    color: var(--color-text-light);
    margin-top: var(--space-sm);
}

/* --- Contact Form --- */
.form-title {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--space-xl);
}

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

.form-group label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--color-text);
    background: var(--color-cream);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-gold);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(196, 162, 101, 0.15);
}

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

.form-note {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
    text-align: center;
    margin-top: var(--space-md);
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3xl);
    background: var(--color-cream);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.form-success.active {
    display: flex;
}

.success-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    margin-bottom: var(--space-lg);
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    color: var(--color-navy);
    margin-bottom: var(--space-md);
}

.form-success p {
    color: var(--color-text-light);
    font-size: var(--fs-base);
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    background: var(--color-navy-deep);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: #fff;
    margin-bottom: var(--space-lg);
}

.footer-logo-icon {
    color: var(--color-gold);
}

.footer-name {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 700;
    display: block;
}

.footer-subtitle {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    display: block;
    margin-top: 2px;
}

.footer-tagline {
    font-size: var(--fs-base);
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 600;
    color: #fff;
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: var(--fs-base);
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-base);
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-sm);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding-top: var(--space-xl);
}

.footer-bottom p {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.3);
}

.footer-disclaimer {
    font-size: var(--fs-xs) !important;
    line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .intro-grid,
    .about-grid,
    .cta-content {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .intro-image img,
    .about-image img {
        height: 500px;
    }
    
    .services-grid,
    .patients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 70px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(254, 253, 251, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-lg);
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-base);
    }
    
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .hero-headline {
        font-size: var(--fs-3xl);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .services-grid,
    .patients-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-image-accent,
    .about-image-accent {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero {
        min-height: 100svh;
    }
    
    .service-card {
        padding: var(--space-xl);
    }
    
    .patient-card-header {
        padding: var(--space-lg) var(--space-xl);
    }
    
    .patient-list {
        padding: var(--space-lg) var(--space-xl);
    }
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
