/* ==========================================================================
   Karuna Swasthya Clinic - Modern Professional Design
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Primary - Deep Teal */
    --primary: #1a5f5a;
    --primary-dark: #134744;
    --primary-light: #238b84;

    /* Secondary - Muted Gold */
    --secondary: #9e7c47;
    --secondary-dark: #7d6238;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;

    /* Semantic Colors */
    --success: #059669;
    --success-light: #d1fae5;
    --danger: #dc2626;
    --danger-light: #fee2e2;
    --warning: #d97706;
    --info: #2563eb;

    /* Layout */
    --container: 1180px;
    --radius-sm: 3px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-full: 9999px;

    /* Shadows - more subtle */
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.04);
    --shadow: 0 1px 3px rgb(0 0 0 / 0.06), 0 1px 2px rgb(0 0 0 / 0.04);
    --shadow-md: 0 4px 8px rgb(0 0 0 / 0.06), 0 2px 4px rgb(0 0 0 / 0.04);
    --shadow-lg: 0 8px 24px rgb(0 0 0 / 0.08);
    --shadow-xl: 0 16px 48px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition: 0.15s ease;
    --transition-slow: 0.25s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    background: var(--gray-50);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1.125rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

img {
    display: block;
    max-width: 100%;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.section {
    padding: 5rem 0;
}

/* ==========================================================================
   Header
   ========================================================================== */

.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
}

.top-contact-strip {
    background: var(--gray-900);
    color: var(--gray-400);
    font-size: 0.8125rem;
    padding: 0.5rem 0;
    letter-spacing: 0.01em;
}

.split-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.quick-contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.75rem;
}

.quick-contact a,
.quick-address {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
}

.quick-contact a:hover {
    color: var(--white);
}

.quick-address {
    color: var(--gray-500);
}

.nav-wrap {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 72px;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-lockup img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand-lockup strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.01em;
}

.brand-lockup small {
    display: block;
    color: var(--gray-500);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
    transition: color var(--transition);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.875rem;
    right: 0.875rem;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.main-nav a:hover {
    color: var(--gray-900);
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.main-nav a.active {
    color: var(--primary);
}

.main-nav a.active::after {
    transform: scaleX(1);
}

.main-nav a i {
    font-size: 0.8125rem;
    opacity: 0.7;
}

.primary-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--white);
    background: var(--primary);
    padding: 0.625rem 1.125rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.01em;
    transition: background var(--transition);
}

.primary-action:hover {
    background: var(--primary-dark);
}

.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.125rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(24, 24, 27, 0.92) 0%,
        rgba(24, 24, 27, 0.75) 40%,
        rgba(24, 24, 27, 0.4) 70%,
        rgba(24, 24, 27, 0.2) 100%
    );
}

.hero .container {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

.hero-box {
    max-width: 580px;
}

.hero-kicker {
    display: inline-block;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--secondary);
    font-size: 0.6875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero-box h1 {
    color: var(--white);
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 600;
    margin-bottom: 1.25rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-box p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.0625rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 480px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid transparent;
    padding: 0.6875rem 1.25rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.01em;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--primary);
    color: var(--white);
}

.btn-accent:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-ghost {
    background: var(--gray-100);
    border-color: var(--gray-200);
    color: var(--gray-700);
}

.btn-ghost:hover {
    background: var(--gray-200);
    border-color: var(--gray-300);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: #b91c1c;
}

/* ==========================================================================
   Notice Board Section
   ========================================================================== */

.notice-board {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 2.5rem 0;
}

.notice-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    padding: 0.5rem 0;
}

.notice-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 3px solid var(--primary);
    padding: 1.25rem 1.5rem;
    transition: border-color var(--transition);
}

.notice-card:hover {
    border-left-color: var(--secondary);
}

.notice-card h4 {
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
}

.notice-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.notice-card a {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.8125rem;
}

.notice-card a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Section Headings
   ========================================================================== */

.section-head {
    margin-bottom: 2.5rem;
    max-width: 640px;
}

.section-head h2 {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
    font-weight: 600;
}

.section-head h2 i {
    color: var(--primary);
    font-size: 0.875em;
}

.section-head p {
    color: var(--gray-500);
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   Cards Grid
   ========================================================================== */

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    transition: border-color var(--transition);
}

.info-card:hover {
    border-color: var(--gray-300);
}

.info-card i {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.info-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.info-card p {
    color: var(--gray-500);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ==========================================================================
   Split/Story Sections
   ========================================================================== */

.split-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.story-image {
    min-height: 420px;
    background-size: cover;
    background-position: center;
}

.story-panel {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 2rem;
}

.story-panel h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
    font-weight: 600;
}

.story-panel h2 i {
    color: var(--primary);
    font-size: 0.875em;
}

.story-panel p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.story-points {
    list-style: none;
    margin: 1.25rem 0;
}

.story-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.story-points i {
    color: var(--primary);
    margin-top: 0.25rem;
    flex-shrink: 0;
    font-size: 0.75rem;
}

/* ==========================================================================
   Stats Strip
   ========================================================================== */

.stats-strip {
    background: var(--gray-900);
    padding: 3.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.stat span {
    color: var(--gray-400);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Media Split (Services)
   ========================================================================== */

.media-split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.image-pane {
    min-height: 380px;
    background-size: cover;
    background-position: center;
}

.text-pane {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 2rem;
}

.text-pane h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
    font-weight: 600;
}

.text-pane h2 i {
    color: var(--primary);
    font-size: 0.875em;
}

.text-pane p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.text-pane ul {
    list-style: none;
    margin: 1.25rem 0;
}

.text-pane li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    color: var(--gray-600);
    margin-bottom: 0.625rem;
    font-size: 0.9375rem;
}

.text-pane li i {
    color: var(--primary);
    margin-top: 0.25rem;
    font-size: 0.75rem;
}

/* ==========================================================================
   Doctor Grid
   ========================================================================== */

.doctor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.doctor-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: border-color var(--transition);
}

.doctor-card:hover {
    border-color: var(--gray-300);
}

.doctor-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.doctor-body {
    padding: 1.25rem;
}

.doctor-body h3 {
    margin-bottom: 0.25rem;
    font-size: 1.0625rem;
    font-weight: 600;
}

.doctor-meta {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

.doctor-body p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0.375rem;
}

/* ==========================================================================
   Contact Cards
   ========================================================================== */

.highlight-contact {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 2.5rem 0;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 1.25rem;
    transition: border-color var(--transition);
}

.contact-card:hover {
    border-color: var(--gray-300);
}

.contact-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-900);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.contact-card h4 i {
    color: var(--primary);
}

.contact-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.contact-card a {
    color: var(--gray-900);
}

.contact-card a:hover {
    color: var(--primary);
}

/* ==========================================================================
   Page Banner
   ========================================================================== */

.page-banner {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(24, 24, 27, 0.88) 0%,
        rgba(24, 24, 27, 0.8) 50%,
        rgba(24, 24, 27, 0.75) 100%
    );
}

.page-banner > div {
    position: relative;
    z-index: 1;
    width: min(100% - 2rem, 800px);
    padding: 3rem 0;
}

.page-banner h1 {
    color: var(--white);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    margin-bottom: 0.625rem;
    letter-spacing: -0.01em;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    max-width: 560px;
    margin-inline: auto;
    line-height: 1.6;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.panel {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 1.75rem;
}

.panel h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.panel h2 i {
    color: var(--primary);
    font-size: 0.875em;
}

.form-row {
    display: grid;
    gap: 0.375rem;
    margin-bottom: 0.875rem;
}

.form-row label {
    font-weight: 500;
    font-size: 0.8125rem;
    color: var(--gray-700);
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--gray-900);
    border: 1px solid var(--gray-300);
    background: var(--white);
    padding: 0.625rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: border-color var(--transition);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-row textarea {
    resize: vertical;
    min-height: 90px;
}

/* ==========================================================================
   Flash Messages
   ========================================================================== */

.flash {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.flash.success {
    background: var(--success-light);
    color: #065f46;
    border-left: 3px solid var(--success);
}

.flash.error {
    background: var(--danger-light);
    color: #991b1b;
    border-left: 3px solid var(--danger);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    margin-top: 4rem;
    background: var(--gray-900);
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.site-footer section h3 {
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-footer section h3 i {
    color: var(--secondary);
}

.site-footer p {
    color: var(--gray-400);
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
    line-height: 1.6;
}

.site-footer a {
    color: var(--gray-400);
}

.site-footer a:hover {
    color: var(--white);
}

.social-row {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.625rem;
}

.social-row a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid var(--gray-700);
    color: var(--gray-500);
    transition: all var(--transition);
}

.social-row a:hover {
    border-color: var(--gray-500);
    color: var(--white);
}

.copyright {
    border-top: 1px solid var(--gray-800);
    text-align: center;
    padding: 1rem;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* ==========================================================================
   Notice Modal
   ========================================================================== */

.notice-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(24, 24, 27, 0.85);
    padding: 1rem;
}

.notice-modal.open {
    display: flex;
}

.notice-modal-card {
    width: min(100%, 560px);
    background: var(--white);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
}

.notice-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gray-200);
    background: var(--white);
    cursor: pointer;
    font-size: 1rem;
    color: var(--gray-600);
    z-index: 10;
    transition: all var(--transition);
}

.notice-close:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.notice-modal-media {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
}

.notice-modal-body {
    padding: 1.75rem;
}

.notice-modal-body h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
}

.notice-modal-body h3 i {
    color: var(--primary);
}

.notice-modal-body p {
    color: var(--gray-600);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.notice-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ==========================================================================
   Admin Panel
   ========================================================================== */

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px 1fr;
    background: var(--gray-100);
}

.admin-side {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 1.25rem;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-side h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid var(--gray-800);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-side h2 i {
    color: var(--secondary);
}

.admin-side a {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.75rem;
    margin-bottom: 0.125rem;
    font-size: 0.875rem;
    color: var(--gray-400);
    transition: color var(--transition);
}

.admin-side a i {
    width: 1rem;
    text-align: center;
    font-size: 0.8125rem;
}

.admin-side a:hover {
    color: var(--white);
}

.admin-side a.active {
    color: var(--white);
    background: var(--gray-800);
}

.admin-content {
    padding: 1.5rem;
    max-width: 1300px;
}

.admin-content h1 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.admin-content h1 i {
    color: var(--primary);
    font-size: 0.875em;
}

.admin-content .panel + .panel {
    margin-top: 1.25rem;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.admin-stat {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 1.25rem;
}

.admin-stat strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.125rem;
}

.admin-stat p {
    color: var(--gray-500);
    font-size: 0.8125rem;
}

/* ==========================================================================
   Data Tables
   ========================================================================== */

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 0.875rem;
}

.data-table th,
.data-table td {
    border: 1px solid var(--gray-200);
    padding: 0.75rem 0.875rem;
    text-align: left;
    vertical-align: top;
}

.data-table th {
    background: var(--gray-50);
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.8125rem;
    white-space: nowrap;
}

.data-table tr:hover td {
    background: var(--gray-50);
}

.data-table .btn {
    padding: 0.375rem 0.625rem;
    font-size: 0.75rem;
}

.data-table .btn-row {
    gap: 0.375rem;
}

/* ==========================================================================
   Reveal Animation
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .nav-row {
        flex-wrap: wrap;
    }

    .mobile-toggle {
        display: grid;
        place-items: center;
        order: 1;
    }

    .brand-lockup {
        order: 0;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: var(--white);
        border-top: 1px solid var(--gray-200);
        box-shadow: var(--shadow-md);
        padding: 0.5rem;
        z-index: 100;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 0.75rem 1rem;
    }

    .main-nav a::after {
        display: none;
    }

    .primary-action {
        display: none;
    }

    .split-story,
    .media-split,
    .form-layout {
        grid-template-columns: 1fr;
    }

    .story-image,
    .image-pane {
        min-height: 280px;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-side {
        position: fixed;
        left: -100%;
        width: 260px;
        z-index: 150;
        transition: left var(--transition-slow);
    }

    .admin-side.open {
        left: 0;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3.5rem 0;
    }

    .quick-address {
        display: none;
    }

    .hero {
        min-height: 75vh;
    }

    .hero-box {
        padding: 1.75rem;
    }

    .hero-box h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .doctor-grid {
        grid-template-columns: 1fr;
    }

    .doctor-card img {
        height: 220px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat strong {
        font-size: 2rem;
    }

    .panel {
        padding: 1.5rem;
    }

    .footer-grid {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: calc(100% - 1.5rem);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .btn-row {
        flex-direction: column;
    }
}