/* ========================================
   Petrocelli Surgical Pavilion — Styles
   Classic & Elegant | Terracotta + Sand
======================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Terracotta palette */
    --terracotta-50: #fdf0ef;
    --terracotta-100: #fce7e5;
    --terracotta-200: #f9d4cf;
    --terracotta-300: #f3b4aa;
    --terracotta-400: #ec8a7e;
    --terracotta-500: #e06b5c;
    --terracotta-600: #b85456;
    --terracotta-700: #9c4445;
    --terracotta-800: #813738;
    --terracotta-900: #6b2f30;
    --terracotta-950: #3a1819;

    /* Sand palette */
    --sand-50: #fdfcfa;
    --sand-100: #faf5ef;
    --sand-200: #f5ecd9;
    --sand-300: #eddfb8;
    --sand-400: #e2c98a;
    --sand-500: #d4b064;
    --sand-600: #c49a4a;
    --sand-700: #a67c3d;
    --sand-800: #856133;
    --sand-900: #6d4f2c;
    --sand-950: #3b2a16;

    /* Neutrals */
    --neutral-50: #faf9f7;
    --neutral-100: #f5f3ef;
    --neutral-200: #eae5dd;
    --neutral-300: #d4cdc2;
    --neutral-400: #b5aa9a;
    --neutral-500: #918576;
    --neutral-600: #72675a;
    --neutral-700: #5a5146;
    --neutral-800: #453e35;
    --neutral-900: #332e28;
    --neutral-950: #1a1714;

    /* Typography */
    --font-serif: 'Cormorant Garamond', 'Lora', Georgia, serif;
    --font-serif-body: 'Lora', 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --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;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(26, 23, 20, 0.05);
    --shadow-md: 0 4px 12px rgba(26, 23, 20, 0.08);
    --shadow-lg: 0 8px 30px rgba(26, 23, 20, 0.12);
    --shadow-xl: 0 16px 50px rgba(26, 23, 20, 0.15);
}

/* ---------- 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-serif-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--neutral-800);
    background-color: var(--sand-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

address {
    font-style: normal;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--neutral-950);
}

/* ---------- Section Header ---------- */
.section-header {
    max-width: 720px;
    margin-bottom: var(--space-3xl);
}

.section-header--centered {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta-600);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-lg);
    color: var(--neutral-950);
}

.section-subtitle {
    font-family: var(--font-serif-body);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--neutral-600);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.875rem 1.75rem;
    border-radius: 4px;
    transition: all var(--transition-base);
    border: 1.5px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--terracotta-600);
    color: #fff;
    border-color: var(--terracotta-600);
}

.btn-primary:hover {
    background-color: var(--terracotta-700);
    border-color: var(--terracotta-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 0.9375rem;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-lg) 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background-color: rgba(253, 252, 250, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-md) 0;
    box-shadow: var(--shadow-sm);
}

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

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

.logo-mark {
    width: 40px;
    height: 40px;
    background-color: var(--terracotta-600);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all var(--transition-base);
}

.navbar.scrolled .logo-mark {
    background-color: var(--terracotta-600);
}

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

.logo-name {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--neutral-950);
    letter-spacing: 0.01em;
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--neutral-500);
}

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

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--neutral-700);
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-link:hover {
    color: var(--terracotta-600);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--terracotta-600);
    color: #fff !important;
    padding: 0.625rem 1.25rem;
    border-radius: 4px;
    transition: all var(--transition-base);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background-color: var(--terracotta-700);
    color: #fff !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--neutral-700);
    position: relative;
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--neutral-700);
    transition: all var(--transition-base);
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

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

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

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(58, 24, 25, 0.82) 0%,
        rgba(107, 47, 48, 0.72) 50%,
        rgba(160, 68, 69, 0.60) 100%
    );
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sand-200);
    margin-bottom: var(--space-2xl);
}

.badge-line {
    width: 32px;
    height: 1.5px;
    background-color: var(--sand-300);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.15;
    color: #fff;
    margin-bottom: var(--space-xl);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subhead {
    font-family: var(--font-serif-body);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.8;
    color: var(--sand-200);
    margin-bottom: var(--space-2xl);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-bottom: var(--space-4xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sand-300);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.5);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

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

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

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

.service-card {
    background-color: #fff;
    border-radius: 6px;
    padding: var(--space-2xl);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background-color: var(--terracotta-50);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta-600);
    margin-bottom: var(--space-xl);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background-color: var(--terracotta-600);
    color: #fff;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--neutral-950);
}

.service-desc {
    font-family: var(--font-serif-body);
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--neutral-600);
}

/* ---------- About ---------- */
.about {
    padding: var(--space-5xl) 0;
    background-color: var(--neutral-50);
}

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

.about-image {
    position: relative;
}

.image-wrapper {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 160px;
    height: 160px;
    background-color: var(--terracotta-100);
    border-radius: 6px;
    z-index: -1;
}

.about-content {
    max-width: 520px;
}

.about-text {
    font-family: var(--font-serif-body);
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--neutral-600);
    margin-bottom: var(--space-lg);
}

.about-values {
    margin-top: var(--space-2xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.value-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-700);
}

.value-icon {
    width: 20px;
    height: 20px;
    color: var(--terracotta-600);
    flex-shrink: 0;
}

/* ---------- Facility ---------- */
.facility {
    padding: var(--space-5xl) 0;
    background-color: var(--sand-50);
}

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

.facility-card {
    border-radius: 6px;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
}

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

.facility-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.facility-card-content {
    padding: var(--space-xl);
}

.facility-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--neutral-950);
}

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

/* ---------- Patient Care ---------- */
.patient-care {
    padding: var(--space-5xl) 0;
    background-color: var(--neutral-50);
}

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

.patient-care-text {
    font-family: var(--font-serif-body);
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--neutral-600);
    margin-bottom: var(--space-2xl);
}

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

.care-step {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--terracotta-200);
    line-height: 1;
    min-width: 48px;
    padding-top: 4px;
}

.step-content h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--neutral-950);
}

.step-content p {
    font-family: var(--font-serif-body);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--neutral-600);
}

.care-image-wrapper {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

/* ---------- Testimonials ---------- */
.testimonials {
    padding: var(--space-5xl) 0;
    background-color: var(--terracotta-950);
}

.testimonials .section-tag {
    color: var(--terracotta-300);
}

.testimonials .section-title {
    color: #fff;
}

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

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: var(--space-2xl);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.testimonial-quote {
    margin-bottom: var(--space-lg);
}

.testimonial-text {
    font-family: var(--font-serif-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--sand-200);
    margin-bottom: var(--space-xl);
}

.testimonial-author {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--terracotta-300);
}

/* ---------- CTA ---------- */
.cta {
    position: relative;
    padding: var(--space-5xl) 0;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(58, 24, 25, 0.88) 0%,
        rgba(107, 47, 48, 0.78) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content .section-tag {
    color: var(--sand-300);
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    color: #fff;
    margin-bottom: var(--space-lg);
}

.cta-text {
    font-family: var(--font-serif-body);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--sand-200);
    margin-bottom: var(--space-2xl);
}

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

/* ---------- Contact ---------- */
.contact {
    padding: var(--space-5xl) 0;
    background-color: var(--sand-50);
}

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

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

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

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

.contact-icon {
    width: 44px;
    height: 44px;
    background-color: var(--terracotta-50);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta-600);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--neutral-400);
    margin-bottom: var(--space-xs);
}

.contact-item address,
.contact-item span {
    font-family: var(--font-serif-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--neutral-700);
}

.contact-item a {
    color: var(--terracotta-600);
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--terracotta-700);
    text-decoration: underline;
}

.contact-map {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

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

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

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

.footer-logo .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
}

.footer-logo .logo-name {
    color: #fff;
}

.footer-logo .logo-sub {
    color: var(--neutral-500);
}

.footer-desc {
    font-family: var(--font-serif-body);
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--neutral-500);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--neutral-400);
    margin-bottom: var(--space-lg);
}

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

.footer-links a {
    font-family: var(--font-serif-body);
    font-size: 0.9375rem;
    color: var(--neutral-500);
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    font-family: var(--font-serif-body);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--neutral-500);
    margin-bottom: var(--space-sm);
}

.footer-contact a {
    color: var(--terracotta-400);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.footer-bottom p {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    color: var(--neutral-600);
}

.footer-disclaimer {
    max-width: 480px;
    font-size: 0.75rem !important;
    color: var(--neutral-700) !important;
}

/* ---------- Scroll Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 600ms ease, transform 600ms ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services-grid,
    .facility-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--sand-50);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-xl);
        padding: var(--space-2xl);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
        z-index: 999;
    }

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

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-headline {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .hero-stats {
        gap: var(--space-xl);
    }

    .stat-divider {
        display: none;
    }

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

    .about-grid,
    .patient-care-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-accent {
        display: none;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .container {
        padding: 0 var(--space-md);
    }
}

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(26, 23, 20, 0.5);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}
