/* ============================================
   Dr. Jay Kumar — Medical Practice Website
   Vibrant Modern | Terracotta + Sand Palette
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Terracotta palette */
    --terracotta-50: #fef7f5;
    --terracotta-100: #fdeee8;
    --terracotta-200: #fad5c8;
    --terracotta-300: #f5b09a;
    --terracotta-400: #ee7f64;
    --terracotta-500: #e05a38;
    --terracotta-600: #d14024;
    --terracotta-700: #ae311c;
    --terracotta-800: #8c2a1b;
    --terracotta-900: #712519;
    
    /* Sand palette */
    --sand-50: #fefdfb;
    --sand-100: #fdf8f0;
    --sand-200: #f9edd8;
    --sand-300: #f2dbb4;
    --sand-400: #e8c48a;
    --sand-500: #d4a55c;
    --sand-600: #bf8a3e;
    --sand-700: #9c6d32;
    --sand-800: #7d552b;
    --sand-900: #654526;
    
    /* Neutrals */
    --gray-50: #fafaf9;
    --gray-100: #f5f5f4;
    --gray-200: #e7e5e4;
    --gray-300: #d6d3d1;
    --gray-400: #a8a29e;
    --gray-500: #78716c;
    --gray-600: #57534e;
    --gray-700: #44403c;
    --gray-800: #292524;
    --gray-900: #1c1917;
    
    /* Accent */
    --accent: var(--terracotta-600);
    --accent-light: var(--terracotta-300);
    --accent-dark: var(--terracotta-800);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: clamp(4rem, 10vw, 8rem);
    
    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-xl: 0 24px 60px rgba(0,0,0,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-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-800);
    background-color: var(--sand-50);
    overflow-x: hidden;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--terracotta-700);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

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

h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.text-accent { color: var(--accent); }
.text-accent-light { color: var(--sand-400); }
.text-light { color: #f5f5f4; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--terracotta-100);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1.25rem;
}

.section-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

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

.btn-block {
    width: 100%;
}

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

.btn-primary:hover {
    background: var(--terracotta-700);
    border-color: var(--terracotta-700);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline-light:hover {
    background: #fff;
    color: var(--gray-900);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--sand-500);
    color: var(--gray-900);
    border-color: var(--sand-500);
}

.btn-accent:hover {
    background: var(--sand-600);
    border-color: var(--sand-600);
    color: var(--gray-900);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-terracotta {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
}

.btn-terracotta:hover {
    background: var(--terracotta-700);
    border-color: var(--terracotta-700);
    color: #fff;
    transform: translateY(-2px);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 251, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sand-200);
    transition: box-shadow 0.3s ease;
}

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

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--gray-900);
    text-decoration: none;
}

.nav-logo:hover {
    color: var(--accent);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.nav-cta) {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gray-700);
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--accent);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--accent);
    color: #fff !important;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

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

.nav-cta:hover {
    background: var(--terracotta-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.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 Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gray-900);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(28, 25, 23, 0.88) 0%,
        rgba(113, 37, 25, 0.72) 50%,
        rgba(28, 25, 23, 0.85) 100%
    );
}

/* Geometric shapes */
.geo-shape {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.geo-circle-1 {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: var(--terracotta-500);
    opacity: 0.12;
    top: -80px;
    right: -100px;
}

.geo-circle-2 {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: var(--sand-500);
    opacity: 0.15;
    bottom: 10%;
    right: 15%;
}

.geo-rect-1 {
    width: 180px;
    height: 180px;
    background: var(--terracotta-400);
    opacity: 0.1;
    bottom: 18%;
    left: -40px;
    transform: rotate(45deg);
}

.geo-diamond {
    width: 120px;
    height: 120px;
    background: var(--accent);
    opacity: 0.08;
    top: 50%;
    right: 5%;
    transform: rotate(45deg);
}

.geo-stripe {
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--sand-400), transparent);
    bottom: 0;
    right: 0;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 5rem;
    padding-bottom: 4rem;
    max-width: 780px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(253, 213, 160, 0.2);
    border: 1px solid rgba(253, 213, 160, 0.35);
    color: var(--sand-300);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #f5f5f4;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title .text-accent {
    color: var(--sand-400);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: rgba(245, 245, 244, 0.78);
    line-height: 1.75;
    margin-bottom: 2.25rem;
    max-width: 620px;
}

.hero-subtitle em {
    color: var(--sand-300);
    font-style: normal;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    backdrop-filter: blur(8px);
}

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

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sand-300);
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(245,245,244,0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(245,245,244,0.4);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

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

/* --- About Section --- */
.about {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
    background: var(--sand-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

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

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

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-accent-block {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--accent);
    color: #fff;
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.accent-block-content {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.accent-block-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
}

.accent-block-label {
    font-size: 0.8rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.about-content {
    padding: 1rem 0;
}

.about-text {
    color: var(--gray-600);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.about-values {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--terracotta-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.value-item strong {
    display: block;
    color: var(--gray-900);
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.value-item span {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* --- Services Section --- */
.services {
    padding: var(--section-padding) 0;
    position: relative;
    background: var(--terracotta-50);
    overflow: hidden;
}

.services-bg-shape {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--terracotta-200);
    opacity: 0.3;
    top: -200px;
    left: -200px;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--sand-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--sand-500));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrap {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--terracotta-100), var(--sand-200));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

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

.service-card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.15rem;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* --- Patient Info Section --- */
.patient-info {
    padding: var(--section-padding) 0;
    background: var(--sand-50);
}

.patient-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.info-block {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--sand-200);
    transition: all 0.3s ease;
}

.info-block:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--terracotta-200);
}

.info-block-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.info-block-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--accent), var(--terracotta-500));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.info-block h3 {
    font-size: 1.1rem;
}

.info-text {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.hours-list {
    margin-bottom: 1rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--sand-100);
    font-size: 0.95rem;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row .day {
    color: var(--gray-700);
    font-weight: 500;
}

.hours-row .time {
    color: var(--accent);
    font-weight: 600;
}

.hours-note {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-style: italic;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.link-arrow:hover {
    gap: 0.7rem;
}

/* --- Contact Section --- */
.contact {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

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

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

.contact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(113, 37, 25, 0.92) 0%,
        rgba(28, 25, 23, 0.88) 100%
    );
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.contact-desc {
    color: rgba(245,245,244,0.75);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sand-300);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: #f5f5f4;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
}

.contact-item p {
    color: rgba(245,245,244,0.7);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-phone {
    color: var(--sand-300) !important;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.contact-phone:hover {
    color: var(--sand-400) !important;
}

/* Contact Form */
.contact-form-wrap {
    width: 100%;
}

.contact-form-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-xl);
}

.contact-form-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.form-subtitle {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--sand-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gray-800);
    background: var(--sand-50);
    transition: all 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(224, 90, 56, 0.1);
}

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

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

.form-success {
    display: none;
    text-align: center;
    padding: 2rem 1rem;
}

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

.success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--terracotta-100), var(--sand-200));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--accent);
}

.form-success h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* --- Map Section --- */
.map-section {
    padding: 0 0 var(--section-padding);
    background: var(--sand-50);
}

.map-wrapper {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.map-placeholder {
    background: linear-gradient(135deg, var(--sand-200), var(--terracotta-100));
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 5vw, 4rem);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--terracotta-300);
    opacity: 0.2;
    top: -100px;
    right: -80px;
}

.map-placeholder-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.map-placeholder-content svg {
    color: var(--accent);
    margin-bottom: 1rem;
}

.map-placeholder-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.map-placeholder-content p {
    color: var(--gray-600);
    margin-bottom: 1.25rem;
}

/* --- Footer --- */
.footer {
    background: var(--gray-900);
    color: rgba(245,245,244,0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: #f5f5f4;
    margin-bottom: 1rem;
}

.footer-logo:hover {
    color: var(--sand-400);
}

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

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(245,245,244,0.5);
}

.footer-links h4,
.footer-contact h4 {
    color: #f5f5f4;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: rgba(245,245,244,0.55);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: rgba(245,245,244,0.55);
}

.footer-contact a {
    color: rgba(245,245,244,0.55);
}

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

.footer-bottom {
    border-top: 1px solid rgba(245,245,244,0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(245,245,244,0.4);
}

.footer-disclaimer {
    font-size: 0.8rem !important;
    color: rgba(245,245,244,0.3) !important;
    max-width: 400px;
    text-align: right;
}

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 253, 251, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.25rem;
        border-bottom: 1px solid var(--sand-200);
        transform: translateY(-120%);
        transition: transform 0.35s ease;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.open {
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .patient-info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-disclaimer {
        text-align: center;
    }
    
    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }
    
    .geo-circle-2 {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .about-accent-block {
        bottom: -16px;
        right: -8px;
    }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
