/* ==========================================================================
   VINAYAK MULTISPECIALITY HOSPITAL - PREMIUM STYLING SYSTEM
   ========================================================================== */

:root {
    /* Medical Color Palette */
    --primary: #0f52ba; /* Trusty Royal Medical Blue */
    --primary-dark: #09377a; /* Deep Navy Blue */
    --primary-darker: #06224e; /* Midnight Navy */
    --primary-light: #f0f6ff; /* Soft Light Blue Tint */
    --primary-accent: #3b82f6; /* Bright Accent Blue */

    --secondary: #0284c7; /* Sky Blue */
    --teal: #0d9488; /* Clinical Teal */
    --teal-light: #f0fdfa;
    --emergency: #dc2626; /* Emergency Red */
    --emergency-hover: #b91c1c;
    --emergency-light: #fef2f2;
    --dark: #0f172a; /* Deep Charcoal */
    --dark-surface: #1e293b;
    --gray-800: #1e293b;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #ffffff;
    /* Typography */
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
    /* Elevation & Shadows */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 32px -4px rgba(15, 23, 42, 0.1), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 24px 48px -8px rgba(15, 82, 186, 0.18);
    --shadow-chat: 0 20px 50px -10px rgba(15, 23, 42, 0.22);
    /* Radius System */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--gray-800);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 clamp(1rem, 2vw, 1.5rem);
}

.container-narrow {
    max-width: 960px;
}

/* Section Common Styling */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-alt {
    background-color: var(--gray-50);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    border: 1px solid rgba(15, 82, 186, 0.15);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Specialists */
.specialists-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.specialist-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.specialist-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 82, 186, 0.3);
    box-shadow: var(--shadow-lg);
}

.specialist-card-header {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 1.75rem 1.5rem 1.25rem;
    background: linear-gradient(145deg, var(--primary-light), #e6f6ff);
}

.specialist-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 124px;
    height: 124px;
    color: var(--primary);
    background: linear-gradient(145deg, #dbeafe, #bfdbfe);
    border: 6px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(15, 82, 186, 0.14);
    text-align: center;
}

.specialist-avatar i {
    margin-bottom: 0.25rem;
    font-size: 2.75rem;
}

.specialist-avatar span {
    color: var(--primary-dark);
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.specialist-type {
    position: absolute;
    top: 1rem;
    right: 1rem;
    max-width: 48%;
    padding: 0.3rem 0.6rem;
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 82, 186, 0.12);
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: right;
}

.specialist-card-body {
    flex: 1;
    padding: 1.35rem 1.5rem 1.5rem;
}

.specialist-name {
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.2;
}

.specialist-role {
    min-height: 2.8em;
    margin-top: 0.35rem;
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.4;
}

.specialist-detail {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin-top: 1rem;
    color: var(--gray-700);
    font-size: 0.82rem;
}

.specialist-detail i {
    margin-top: 0.2rem;
    color: var(--teal);
}

.specialist-detail span {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.specialist-detail strong,
.specialist-focus-label {
    color: var(--gray-500);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.specialist-note {
    margin-top: 1rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--teal);
    color: var(--gray-600);
    font-size: 0.78rem;
    line-height: 1.5;
}

.specialist-focus {
    margin-top: 1.15rem;
}

.specialist-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.55rem;
}

.specialist-tag {
    padding: 0.28rem 0.52rem;
    color: var(--gray-700);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font-size: 0.68rem;
    line-height: 1.25;
}

.specialist-card-footer {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1rem 1.5rem 1.25rem;
    border-top: 1px solid var(--gray-100);
}

.specialist-contact {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.specialist-contact i {
    color: var(--teal);
}

.specialist-contact-muted {
    color: var(--gray-500);
    font-size: 0.74rem;
}

.specialist-book-link {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
}

.specialist-book-link:hover {
    color: var(--primary-dark);
}

.specialists-contact-panel {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 2.5rem;
    padding: 1.25rem 1.5rem;
    color: var(--gray-700);
    background: var(--white);
    border: 1px solid rgba(15, 82, 186, 0.14);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.specialists-contact-icon {
    display: grid;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
}

.specialists-contact-panel div:nth-child(2) {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.15rem;
}

.specialists-contact-panel strong {
    color: var(--dark);
    font-family: var(--font-heading);
}

.specialists-contact-panel span {
    font-size: 0.82rem;
}

.specialists-contact-panel a:not(.btn) {
    color: var(--primary);
    font-weight: 800;
}

/* Privacy Policy */
.privacy-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 5rem;
}

.privacy-hero {
    padding: 2.25rem 2.5rem 2.5rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-darker), var(--primary));
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.privacy-back-link {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.82rem;
    font-weight: 700;
}

.privacy-back-link:hover {
    color: var(--white);
}

.privacy-eyebrow {
    margin-bottom: 0.75rem;
    color: #a5d8ff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.privacy-hero h1 {
    margin-bottom: 0.85rem;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 3.6rem);
    line-height: 1.05;
}

.privacy-lead {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
    line-height: 1.65;
}

.privacy-updated {
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.78rem;
    font-weight: 600;
}

.privacy-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
    margin-top: 3.5rem;
}

.privacy-summary {
    position: sticky;
    top: 100px;
    padding: 1.5rem;
    background: var(--primary-light);
    border: 1px solid rgba(15, 82, 186, 0.14);
    border-radius: var(--radius-lg);
}

.privacy-summary-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    place-items: center;
    color: var(--primary);
    background: var(--white);
    border-radius: var(--radius-md);
    font-size: 1.3rem;
}

.privacy-summary h2 {
    margin-bottom: 0.55rem;
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 1.35rem;
}

.privacy-summary p {
    color: var(--gray-600);
    font-size: 0.84rem;
    line-height: 1.65;
}

.privacy-summary-link {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    margin-top: 1.25rem;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
}

.privacy-content {
    min-width: 0;
}

.privacy-section {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 1.25rem;
    padding: 0 0 2.4rem;
    margin-bottom: 2.4rem;
    border-bottom: 1px solid var(--gray-200);
}

.privacy-section:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.privacy-section-number {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.privacy-section h2 {
    margin-bottom: 0.7rem;
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 1.45rem;
    line-height: 1.25;
}

.privacy-section p {
    margin-bottom: 0.85rem;
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.8;
}

.privacy-section p:last-child {
    margin-bottom: 0;
}

.privacy-callout {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    margin-top: 1.1rem;
    border-radius: var(--radius-md);
}

.privacy-callout i {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.privacy-callout p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.65;
}

.privacy-callout-blue {
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid rgba(15, 82, 186, 0.14);
}

.privacy-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0.9rem 0 1rem;
}

.privacy-list li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

.privacy-list i {
    flex-shrink: 0;
    margin-top: 0.3rem;
    color: var(--teal);
    font-size: 0.75rem;
}

.privacy-contact-section {
    padding: 1.5rem;
    margin-left: -1rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
}

.privacy-contact-card {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    padding: 1rem;
    margin-top: 1.1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
}

.privacy-contact-item {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    color: var(--gray-600);
    font-size: 0.8rem;
    line-height: 1.55;
}

.privacy-contact-item i {
    margin-top: 0.2rem;
    color: var(--primary);
}

.privacy-contact-item strong {
    color: var(--dark);
}

.privacy-contact-item a {
    color: var(--primary);
    font-weight: 800;
}

.privacy-disclaimer {
    margin-top: 1.25rem;
    color: var(--gray-500) !important;
    font-size: 0.78rem !important;
}

.layout-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.layout-shell > .container {
    flex: 1 0 auto;
}

.layout-shell > footer {
    position: static;
    flex-shrink: 0;
    width: 100%;
    white-space: normal;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    white-space: nowrap;
    user-select: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(15, 82, 186, 0.3);
}

    .btn-primary:hover {
        background-color: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(15, 82, 186, 0.4);
    }

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 1.5px solid var(--gray-200);
    box-shadow: var(--shadow-xs);
}

    .btn-secondary:hover {
        border-color: var(--primary);
        background-color: var(--primary-light);
        transform: translateY(-2px);
    }

.btn-emergency {
    background-color: var(--emergency);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

    .btn-emergency:hover {
        background-color: var(--emergency-hover);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
    }

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.top-bar {
    background-color: var(--primary-darker);
    color: var(--gray-300);
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .top-bar-item i {
        color: var(--primary-accent);
    }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

    .site-header.scrolled {
        box-shadow: var(--shadow-md);
    }

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition);
}

.site-header.scrolled .navbar {
    height: 68px;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 4px 10px rgba(15, 82, 186, 0.25);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dark);
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    line-height: 1;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-700);
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

    .nav-link:hover, .nav-link.active {
        color: var(--primary);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2.5px;
        background-color: var(--primary);
        border-radius: var(--radius-full);
        transition: var(--transition-fast);
    }

    .nav-link:hover::after, .nav-link.active::after {
        width: 100%;
    }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--dark);
    padding: 0.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    background: linear-gradient(180deg, #edf4ff 0%, #f8fafc 60%, #ffffff 100%);
    padding: 4.5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.hero-glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

    .hero-glow-circle.circle-1 {
        top: -120px;
        right: -80px;
        width: 550px;
        height: 550px;
        background: radial-gradient(circle, rgba(15, 82, 186, 0.18) 0%, rgba(15, 82, 186, 0) 70%);
    }

    .hero-glow-circle.circle-2 {
        bottom: 50px;
        left: -100px;
        width: 450px;
        height: 450px;
        background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0) 70%);
    }

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 82, 186, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.6;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background-color: var(--white);
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(15, 82, 186, 0.08);
    border: 1px solid rgba(15, 82, 186, 0.15);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
}

    .hero-badge-pill .pulse-dot {
        width: 9px;
        height: 9px;
        background-color: var(--emerald);
        border-radius: 50%;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
        animation: pulse-green 2s infinite;
    }

.hero-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--gray-700);
    background: rgba(255, 255, 255, 0.8);
    padding: 0.45rem 0.875rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
}

    .hero-rating-badge i {
        color: #f59e0b;
    }

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.35rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

    .hero-title span {
        color: var(--primary);
        background: linear-gradient(135deg, var(--primary) 0%, #0070f3 50%, var(--secondary) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 640px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-phone-btn {
    background-color: var(--white);
    color: var(--primary-dark);
    border: 1px solid var(--gray-300);
}

    .hero-phone-btn:hover {
        background-color: var(--primary-light);
        border-color: var(--primary);
    }

/* Stats Cards Grid */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(15, 82, 186, 0.12);
}

.hero-stat-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    padding: 0.875rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(15, 82, 186, 0.04);
    transition: var(--transition-fast);
}

    .hero-stat-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
        background-color: var(--white);
    }

.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

    .stat-icon.bg-blue {
        background-color: var(--primary-light);
        color: var(--primary);
    }

    .stat-icon.bg-emerald {
        background-color: rgba(16, 185, 129, 0.12);
        color: var(--emerald);
    }

    .stat-icon.bg-purple {
        background-color: rgba(139, 92, 246, 0.12);
        color: #7c3aed;
    }

    .stat-icon.bg-amber {
        background-color: rgba(245, 158, 11, 0.12);
        color: #d97706;
    }

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-top: 2px;
}

/* Hero Visual Graphics */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 5px solid var(--white);
    background-color: var(--gray-100);
}

.hero-main-img {
    width: 100%;
    height: 490px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-image-wrapper:hover .hero-main-img {
    transform: scale(1.03);
}

.hero-img-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

    .hero-img-badge i {
        color: #38bdf8;
    }

/* Doctor Spotlight Floating Card */
.hero-doctor-spotlight {
    position: absolute;
    top: 2rem;
    right: -1.5rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    padding: 0.875rem 1.125rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.spotlight-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

    .spotlight-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.spotlight-details {
    display: flex;
    flex-direction: column;
}

.spotlight-title {
    font-size: 0.925rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.spotlight-desc {
    font-size: 0.775rem;
    color: var(--gray-600);
    margin-top: 2px;
}

.spotlight-status {
    font-size: 0.725rem;
    font-weight: 700;
    color: var(--emerald);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 3px;
}

.dot-online {
    width: 7px;
    height: 7px;
    background-color: var(--emerald);
    border-radius: 50%;
    display: inline-block;
}

.hero-overlay-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    padding: 0.875rem 1.125rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hero-overlay-card.card-top-right {
    display: none; /* Replaced by doctor spotlight */
}

.hero-overlay-card.card-bottom-left {
    bottom: 1.5rem;
    left: -1.5rem;
    animation-delay: 2s;
}

.card-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

    .card-icon-badge.bg-blue {
        background-color: var(--primary-light);
        color: var(--primary);
    }

    .card-icon-badge.bg-red {
        background-color: var(--emergency-light);
        color: var(--emergency);
    }

.card-text-title {
    font-size: 0.925rem;
    font-weight: 800;
    color: var(--dark);
}

.card-text-subtitle {
    font-size: 0.775rem;
    color: var(--gray-600);
}

/* Hero Quick Appointment Finder Bar */
.hero-quick-finder {
    margin-top: 3.5rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem 1.75rem;
    box-shadow: 0 12px 35px -8px rgba(15, 82, 186, 0.12);
    border: 1px solid rgba(15, 82, 186, 0.15);
    position: relative;
    z-index: 5;
}

.finder-title {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

    .finder-title i {
        color: var(--primary);
        font-size: 1.15rem;
    }

.finder-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1.25rem;
    align-items: flex-end;
}

.finder-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

    .finder-field label {
        font-size: 0.825rem;
        font-weight: 700;
        color: var(--gray-700);
        display: flex;
        align-items: center;
        gap: 0.35rem;
    }

        .finder-field label i {
            color: var(--primary);
        }

.finder-select {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-300);
    background-color: var(--gray-100);
    font-family: inherit;
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition-fast);
    cursor: pointer;
}

    .finder-select:focus {
        outline: none;
        border-color: var(--primary);
        background-color: var(--white);
        box-shadow: 0 0 0 3px rgba(15, 82, 186, 0.12);
    }

.finder-btn {
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    height: 48px;
}

/* ==========================================================================
   QUICK INFO STRIP
   ========================================================================== */
.quick-info-section {
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
}

.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.quick-info-card {
    background-color: var(--white);
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

    .quick-info-card:hover {
        transform: translateY(-4px);
        border-color: var(--primary);
        box-shadow: var(--shadow-xl);
    }

.quick-info-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.quick-info-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
}

.quick-info-desc {
    font-size: 0.925rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-stack {
    position: relative;
}

.about-main-img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

    .about-experience-badge i {
        font-size: 2.25rem;
        color: var(--primary-accent);
    }

.about-badge-text {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

.about-badge-sub {
    font-size: 0.85rem;
    opacity: 0.85;
}

.about-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.about-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

    .about-highlight-item i {
        color: var(--emerald);
        font-size: 1.15rem;
        margin-top: 0.2rem;
        flex-shrink: 0;
    }

.about-highlight-text {
    font-size: 0.975rem;
    font-weight: 600;
    color: var(--dark);
}

/* ==========================================================================
   OFFICIAL HOSPITAL PHOTO GALLERY
   ========================================================================== */
.hospital-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin: 3rem auto 0;
    max-width: 1100px;
}

.hospital-gallery-card {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.hospital-gallery-card:first-child,
.hospital-gallery-card:nth-child(2) {
    grid-column: span 2;
}

.hospital-gallery-card:nth-child(3),
.hospital-gallery-card:nth-child(4),
.hospital-gallery-card:nth-child(5) {
    grid-column: span 2;
}

.hospital-gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hospital-gallery-card:hover img {
    transform: scale(1.04);
}

.hospital-gallery-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0.8rem 1rem;
    color: var(--white);
    font-weight: 700;
    background: linear-gradient(transparent, rgba(10, 27, 54, 0.85));
}

/* ==========================================================================
   SERVICES EXPLORER & CATEGORIES
   ========================================================================== */
.services-search-wrapper {
    max-width: 600px;
    margin: 0 auto 3rem;
    position: relative;
}

.services-search-input {
    width: 100%;
    padding: 1.125rem 1.5rem 1.125rem 3.25rem;
    font-size: 1.05rem;
    background-color: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    outline: none;
}

    .services-search-input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(15, 82, 186, 0.15);
    }

.services-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--gray-400);
}

.services-search-clear {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 1.1rem;
    display: none;
    cursor: pointer;
    padding: 0.25rem;
}

    .services-search-clear:hover {
        color: var(--dark);
    }

.service-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.category-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

    .category-card:hover {
        transform: translateY(-6px);
        border-color: var(--primary);
        box-shadow: var(--shadow-lg);
    }

.category-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.category-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.category-card:hover .category-card-icon {
    background-color: var(--primary);
    color: var(--white);
}

.category-card-badge {
    font-size: 0.775rem;
    font-weight: 700;
    background-color: var(--gray-100);
    color: var(--gray-700);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.category-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.625rem;
}

.category-card-desc {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.category-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: auto;
    transition: var(--transition-fast);
}

    .category-card-btn i {
        transition: transform 0.2s ease;
    }

.category-card:hover .category-card-btn i {
    transform: translateX(4px);
}

/* Service Detail Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

    .modal-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

.modal-content {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    max-width: 680px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    transform: scale(0.95) translateY(10px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.modal-backdrop.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 1.75rem 2rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background-color: var(--white);
    z-index: 2;
}

.modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--gray-100);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

    .modal-close:hover {
        background-color: var(--gray-200);
        color: var(--dark);
    }

.modal-body {
    padding: 2rem;
}

.service-items-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem 1.25rem;
}

.service-item-bullet {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: var(--gray-50);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
}

    .service-item-bullet i {
        color: var(--primary);
        margin-top: 0.2rem;
        flex-shrink: 0;
    }

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--gray-50);
    border-bottom-left-radius: var(--radius-xl);
    border-bottom-right-radius: var(--radius-xl);
}

/* ==========================================================================
   SPECIALTY / FEATURED HIGHLIGHTS
   ========================================================================== */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.highlight-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

    .highlight-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary);
    }

.highlight-card-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.highlight-card-content {
    padding: 1.75rem;
}

.highlight-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.highlight-card-desc {
    font-size: 0.95rem;
    color: var(--gray-600);
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.why-us-card {
    background-color: var(--white);
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .why-us-card:hover {
        transform: translateY(-4px);
        border-color: var(--primary);
        box-shadow: var(--shadow-md);
    }

.why-us-icon {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.why-us-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

/* ==========================================================================
   PATIENT JOURNEY
   ========================================================================== */
.journey-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    position: relative;
}

.journey-card {
    background-color: var(--white);
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

    .journey-card:hover {
        transform: translateY(-4px);
        border-color: var(--primary);
        box-shadow: var(--shadow-md);
    }

.journey-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 10px rgba(15, 82, 186, 0.3);
}

.journey-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.journey-desc {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ==========================================================================
   EMERGENCY BANNER
   ========================================================================== */
.emergency-banner {
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}

    .emergency-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--emergency) 0%, var(--primary-accent) 50%, var(--emergency) 100%);
    }

.emergency-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.emergency-info {
    max-width: 680px;
}

.emergency-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--emergency);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.875rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}

.emergency-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.emergency-desc {
    font-size: 1.15rem;
    opacity: 0.9;
    line-height: 1.6;
}

.emergency-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* ==========================================================================
   APPOINTMENT SECTION
   ========================================================================== */
.appointment-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: flex-start;
}

.appointment-info {
    padding-right: 1rem;
}

.appointment-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1.125rem;
    font-size: 0.975rem;
    background-color: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition);
    outline: none;
}

    .form-control:focus {
        background-color: var(--white);
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(15, 82, 186, 0.12);
    }

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

.appointment-success-card {
    display: none;
    background-color: var(--teal-light);
    border: 1.5px solid var(--teal);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.appointment-success-icon {
    width: 60px;
    height: 60px;
    background-color: var(--teal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
}

.appointment-success-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.appointment-success-text {
    font-size: 0.975rem;
    color: var(--gray-700);
    line-height: 1.6;
}

/* ==========================================================================
   AI ASSISTANT FLOATING CHATBOT
   ========================================================================== */
.ai-chat-launcher {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-full);
    box-shadow: 0 10px 30px rgba(15, 82, 186, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

    .ai-chat-launcher:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 16px 36px rgba(15, 82, 186, 0.5);
    }

.ai-launcher-icon {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Chatbot Drawer Container */
.ai-chat-container {
    position: fixed;
    bottom: 6.5rem;
    right: 2rem;
    width: 410px;
    height: 600px;
    max-height: calc(100vh - 8rem);
    background-color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-chat);
    border: 1px solid var(--gray-200);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition);
}

    .ai-chat-container.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

.chat-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.chat-avatar {
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.chat-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

.chat-status {
    font-size: 0.775rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.chat-status-dot {
    width: 7px;
    height: 7px;
    background-color: var(--emerald);
    border-radius: 50%;
}

.chat-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-action-btn {
    color: var(--white);
    opacity: 0.8;
    padding: 0.35rem;
    font-size: 1rem;
    transition: var(--transition-fast);
}

    .chat-action-btn:hover {
        opacity: 1;
    }

.chat-messages {
    flex: 1;
    padding: 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--gray-50);
}

.message-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}

    .message-wrapper.bot {
        align-self: flex-start;
    }

    .message-wrapper.user {
        align-self: flex-end;
    }

.message-bubble {
    padding: 0.875rem 1.125rem;
    border-radius: 18px;
    font-size: 0.925rem;
    line-height: 1.5;
    word-break: break-word;
}

.message-wrapper.bot .message-bubble {
    background-color: var(--white);
    color: var(--gray-800);
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--gray-200);
}

.message-wrapper.user .message-bubble {
    background-color: var(--primary);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.chat-quick-actions {
    padding: 0.75rem 1.25rem;
    background-color: var(--white);
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

    .chat-quick-actions::-webkit-scrollbar {
        display: none;
    }

.quick-action-chip {
    background-color: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(15, 82, 186, 0.15);
    padding: 0.4rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

    .quick-action-chip:hover {
        background-color: var(--primary);
        color: var(--white);
    }

.chat-input-area {
    padding: 1rem 1.25rem;
    background-color: var(--white);
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-input {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.925rem;
    background-color: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    outline: none;
}

    .chat-input:focus {
        background-color: var(--white);
        border-color: var(--primary);
    }

.chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

    .chat-send-btn:hover {
        background-color: var(--primary-dark);
    }

/* Typing indicator */
.typing-dots {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.5rem 0.25rem;
}

.typing-dot {
    width: 7px;
    height: 7px;
    background-color: var(--gray-400);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

    .typing-dot:nth-child(2) {
        animation-delay: 0.2s;
    }

    .typing-dot:nth-child(3) {
        animation-delay: 0.4s;
    }

@keyframes typing {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Floating Action Stack */
.floating-actions-stack {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1400;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.floating-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.floating-btn-emergency {
    background-color: var(--emergency);
}

    .floating-btn-emergency:hover {
        background-color: var(--emergency-hover);
        transform: scale(1.1);
    }

.floating-btn-top {
    background-color: var(--dark);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

    .floating-btn-top.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--primary-darker);
    color: var(--gray-300);
    padding: 5rem 0 2rem;
    font-size: 0.9375rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.footer-brand .logo-title {
    color: var(--white);
}

.footer-brand .logo-subtitle {
    color: var(--primary-accent);
}

.footer-desc {
    color: var(--gray-400);
    margin: 1.25rem 0 1.5rem;
    line-height: 1.6;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

    .footer-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 32px;
        height: 2px;
        background-color: var(--primary-accent);
    }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--gray-300);
    transition: var(--transition-fast);
}

    .footer-link:hover {
        color: var(--white);
        transform: translateX(3px);
    }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
.mobile-menu-actions {
    display: none;
}

/* Keep the full navigation comfortably spaced on compact desktop screens. */
@media (max-width: 1350px) and (min-width: 993px) {
    .nav-menu {
        gap: 1.15rem;
    }

    .nav-link {
        font-size: 0.86rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .nav-actions .btn {
        padding: 0.7rem 1rem;
        font-size: 0.84rem;
    }
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .service-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .journey-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .about-main-img {
        height: 380px;
    }
}

@media (max-width: 992px) {
    .specialists-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .specialists-contact-panel {
        flex-wrap: wrap;
    }

    .specialists-contact-panel .btn {
        margin-left: 64px;
    }

    .mobile-menu-actions {
        display: block;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--gray-200);
        width: 100%;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem 1.5rem;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--gray-200);
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.4s ease-in-out;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 999;
    }

        .nav-menu.active {
            clip-path: circle(150% at 100% 0);
        }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: var(--radius-sm);
        background-color: var(--gray-100);
        font-size: 1.25rem;
    }

    .top-bar {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-badge-container {
        justify-content: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-visual {
        max-width: 540px;
        margin: 0 auto;
        width: 100%;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-main-img {
        height: 340px;
    }

    .hero-doctor-spotlight {
        position: relative;
        top: auto !important;
        right: auto !important;
        margin-top: 0.875rem;
        width: 100%;
        justify-content: center;
        animation: none;
    }

    .hero-overlay-card {
        position: relative;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        margin-top: 0.875rem;
        width: 100%;
        justify-content: center;
        animation: none;
    }

    .hero-quick-finder {
        margin-top: 2.5rem;
        padding: 1.25rem 1rem;
    }

    .finder-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .finder-btn {
        width: 100%;
        justify-content: center;
    }

    .quick-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-main-img {
        height: 340px;
    }

    .about-experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .emergency-flex {
        flex-direction: column;
        text-align: center;
    }

    .emergency-actions {
        justify-content: center;
        width: 100%;
    }

    .appointment-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .appointment-info {
        text-align: center;
        padding-right: 0;
    }

        .appointment-info > div {
            align-items: center;
            justify-content: center;
        }

    .ai-chat-container {
        width: calc(100vw - 2rem);
        right: 1rem;
        left: 1rem;
        bottom: 5.5rem;
        height: 500px;
        max-height: 75vh;
    }
}

@media (max-width: 768px) {
    .privacy-page {
        padding: 1.5rem 1rem 3rem;
    }

    .privacy-hero {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }

    .privacy-back-link {
        margin-bottom: 2rem;
    }

    .privacy-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .privacy-summary {
        position: static;
    }

    .privacy-section {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 0.75rem;
        padding-bottom: 1.75rem;
        margin-bottom: 1.75rem;
    }

    .privacy-contact-section {
        padding: 1rem;
        margin-left: 0;
    }

    .nav-actions .btn {
        display: none;
    }

    .category-card-top {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .modal-backdrop {
        padding: 0.5rem;
    }

    .modal-content {
        width: 100%;
        max-height: 90vh;
        border-radius: var(--radius-lg);
    }

    .modal-header {
        padding: 1rem 1.25rem;
    }

    .modal-title {
        font-size: 1.2rem;
    }

    .modal-body {
        padding: 1rem 1.25rem;
    }

    .modal-footer {
        padding: 1rem 1.25rem;
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
        text-align: center;
    }

        .modal-footer .btn {
            width: 100%;
            justify-content: center;
        }

    .emergency-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

        .emergency-actions .btn {
            width: 100%;
            justify-content: center;
        }
}

@media (max-width: 640px) {
    .specialists-grid {
        grid-template-columns: 1fr;
    }

    .specialists-contact-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .specialists-contact-panel .btn {
        width: 100%;
        margin-left: 0;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 2.75rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .hero-section {
        padding: 2.5rem 0 3.5rem;
    }

    .hero-badge-pill {
        font-size: 0.8rem;
        padding: 0.4rem 0.875rem;
    }

    .hero-title {
        font-size: 1.95rem;
    }

    .hero-subtitle {
        font-size: 0.975rem;
        margin-bottom: 1.5rem;
    }

    .hero-main-img {
        height: 260px;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

        .hero-cta-group .btn {
            width: 100%;
            min-height: 48px;
            justify-content: center;
        }

    .hero-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .trust-item {
        justify-content: center;
    }

    .quick-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-categories-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .journey-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-items-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .about-highlights-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .about-highlight-item {
        grid-column: span 1 !important;
    }

    .appointment-card {
        padding: 1.25rem 1rem;
        border-radius: var(--radius-lg);
    }

    .form-control {
        font-size: 16px;
        padding: 0.75rem 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .ai-chat-launcher {
        padding: 0.75rem 1rem;
        bottom: 1.25rem;
        right: 1.25rem;
    }

    .floating-actions-stack {
        bottom: 1.25rem;
        left: 1.25rem;
    }
}

@media (max-width: 480px) {
    .logo-title {
        font-size: 1.1rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.55rem;
    }

    .quick-info-card {
        padding: 1.25rem 1rem;
    }

    .category-card {
        padding: 1.25rem 1rem;
    }

    .services-search-input {
        font-size: 0.9rem;
        padding: 0.875rem 1rem 0.875rem 2.5rem;
    }

    .services-search-icon {
        left: 0.875rem;
    }

    .ai-chat-container {
        bottom: 4.5rem;
        left: 0.5rem;
        right: 0.5rem;
        width: calc(100vw - 1rem);
        height: 80vh;
        max-height: 80vh;
        border-radius: var(--radius-lg);
    }

    .ai-chat-launcher span {
        display: none;
    }

    .ai-chat-launcher {
        width: 52px;
        height: 52px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        bottom: 1rem;
        right: 1rem;
    }

    .floating-actions-stack {
        bottom: 1rem;
        left: 1rem;
    }

    .floating-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   PREMIUM REFINEMENT
   A calmer visual hierarchy for the public-facing hospital experience.
   ========================================================================== */
:root {
    --primary: #0b7285;
    --primary-dark: #0b4f5c;
    --primary-darker: #083344;
    --primary-light: #e9f7f8;
    --primary-accent: #36b7b0;
    --secondary: #176b87;
    --teal: #16877d;
    --teal-light: #edf9f6;
    --emergency: #c94b4b;
    --emergency-hover: #a83c3c;
    --emergency-light: #fff1f0;
    --dark: #12343b;
    --dark-surface: #183f48;
    --gray-800: #24444b;
    --gray-700: #46636a;
    --gray-600: #61777c;
    --gray-500: #809399;
    --gray-400: #a8b8bb;
    --gray-300: #cedbdd;
    --gray-200: #e1ebec;
    --gray-100: #f1f6f6;
    --gray-50: #f8fbfb;
    --shadow-sm: 0 3px 12px rgba(8, 51, 68, 0.06);
    --shadow-md: 0 10px 26px rgba(8, 51, 68, 0.09);
    --shadow-lg: 0 18px 42px rgba(8, 51, 68, 0.11);
    --shadow-xl: 0 24px 60px rgba(8, 51, 68, 0.15);
}

body {
    background: #fbfdfd;
    color: var(--gray-800);
}

.container {
    max-width: none;
    padding-right: clamp(1rem, 2vw, 1.5rem);
    padding-left: clamp(1rem, 2vw, 1.5rem);
}

.section {
    padding: 6rem 0;
}

.section-alt {
    background:
        linear-gradient(180deg, rgba(233, 247, 248, 0.48), rgba(248, 251, 251, 0.8));
}

.section-header {
    max-width: 680px;
    margin-bottom: 3rem;
}

.section-subtitle {
    padding: 0.4rem 0.85rem;
    margin-bottom: 1.15rem;
    color: var(--primary-dark);
    background: rgba(233, 247, 248, 0.85);
    border: 1px solid rgba(11, 114, 133, 0.16);
    font-size: 0.72rem;
    letter-spacing: 0.13em;
}

.section-title {
    font-size: clamp(2rem, 3.3vw, 2.65rem);
    color: var(--dark);
    letter-spacing: -0.035em;
}

.section-description {
    max-width: 640px;
    color: var(--gray-600);
    font-size: 1rem;
}

.btn {
    min-height: 46px;
    padding: 0.8rem 1.35rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
}

.btn-lg {
    min-height: 52px;
    padding: 0.95rem 1.45rem;
    font-size: 0.98rem;
}

.btn-primary {
    background: var(--primary);
    box-shadow: 0 8px 20px rgba(11, 114, 133, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 12px 26px rgba(11, 114, 133, 0.25);
}

.btn-emergency {
    background: var(--emergency);
    box-shadow: 0 8px 20px rgba(201, 75, 75, 0.18);
}

.btn-emergency:hover {
    background: var(--emergency-hover);
    box-shadow: 0 12px 26px rgba(201, 75, 75, 0.23);
}

/* Header: one clear action and a quieter navigation row. */
.top-bar {
    padding: 0.42rem 0;
    background: var(--primary-darker);
    font-size: 0.76rem;
}

.top-bar-content {
    min-height: 28px;
}

.top-bar-info {
    gap: 1.5rem;
}

.top-bar-content > .top-bar-info:last-child {
    color: rgba(255, 255, 255, 0.72);
}

.site-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(8, 51, 68, 0.1);
}

.navbar {
    height: 76px;
}

.site-header.scrolled .navbar {
    height: 66px;
}

.logo-brand {
    gap: 0.7rem;
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    box-shadow: 0 7px 16px rgba(11, 114, 133, 0.2);
}

.logo-title {
    color: var(--dark);
    font-size: 1.15rem;
    letter-spacing: 0.01em;
}

.logo-subtitle {
    color: var(--primary);
    font-size: 0.63rem;
    letter-spacing: 0.15em;
}

.nav-menu {
    gap: 1.2rem;
}

.nav-link {
    color: var(--gray-700);
    font-size: 0.82rem;
    font-weight: 700;
}

.nav-link::after {
    height: 2px;
    background: var(--primary-accent);
}

@media (min-width: 993px) {
    .nav-actions .btn-emergency {
        display: none;
    }
}

/* Hero: fewer visual interruptions, stronger alignment and a more editorial feel. */
.hero-section {
    padding: 5.5rem 0 3rem;
    background:
        radial-gradient(circle at 84% 18%, rgba(54, 183, 176, 0.13), transparent 28rem),
        linear-gradient(135deg, #f2fbfb 0%, #f8fbfb 55%, #ffffff 100%);
}

.hero-grid-pattern {
    background-image: radial-gradient(rgba(11, 114, 133, 0.11) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.35;
}

.hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
    gap: 4.5rem;
}

.hero-badge-container {
    gap: 0.65rem;
    margin-bottom: 1.4rem;
}

.hero-badge-pill,
.hero-rating-badge {
    min-height: 34px;
    padding: 0.35rem 0.8rem;
    border-color: rgba(11, 114, 133, 0.14);
    box-shadow: 0 5px 15px rgba(8, 51, 68, 0.05);
    font-size: 0.74rem;
}

.hero-title {
    max-width: 660px;
    margin-bottom: 1.35rem;
    color: var(--dark);
    font-size: clamp(2.85rem, 4.3vw, 4.2rem);
    line-height: 1.06;
    letter-spacing: -0.055em;
}

.hero-title span {
    color: var(--primary);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: currentColor;
}

.hero-subtitle {
    max-width: 590px;
    margin-bottom: 1.8rem;
    color: var(--gray-600);
    font-size: 1.02rem;
    line-height: 1.75;
}

.hero-cta-group {
    gap: 0.7rem;
    margin-bottom: 2.15rem;
}

.hero-phone-btn {
    border-color: var(--gray-200);
    color: var(--primary-dark);
}

.hero-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    padding-top: 1.35rem;
    border-top-color: rgba(11, 114, 133, 0.14);
}

.hero-stat-card {
    min-width: 0;
    gap: 0.65rem;
    padding: 0.7rem 0.65rem;
    border-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
}

.stat-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 9px;
    font-size: 0.9rem;
}

.stat-number {
    font-size: 1.05rem;
}

.stat-label {
    overflow-wrap: anywhere;
    font-size: 0.65rem;
    line-height: 1.25;
}

.hero-image-wrapper {
    border: 8px solid #ffffff;
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(8, 51, 68, 0.2);
}

.hero-main-img {
    height: 500px;
    filter: saturate(0.92);
}

.hero-img-badge {
    top: 1.25rem;
    left: 1.25rem;
    padding: 0.45rem 0.75rem;
    background: rgba(8, 51, 68, 0.82);
    border-radius: 8px;
    font-size: 0.7rem;
}

.hero-doctor-spotlight {
    right: -2rem;
    padding: 0.7rem 0.9rem;
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(8, 51, 68, 0.16);
}

.hero-overlay-card {
    display: none !important;
}

.hero-quick-finder {
    margin-top: 2.4rem;
    padding: 1.2rem 1.35rem;
    border-color: rgba(11, 114, 133, 0.13);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(8, 51, 68, 0.09);
}

.finder-title {
    margin-bottom: 0.8rem;
    color: var(--dark);
    font-size: 0.85rem;
}

.finder-title i,
.finder-field label i {
    color: var(--primary);
}

.finder-form {
    gap: 0.8rem;
}

.finder-field label {
    color: var(--gray-600);
    font-size: 0.72rem;
}

.finder-select {
    padding: 0.72rem 0.85rem;
    border-color: var(--gray-200);
    background: var(--gray-50);
    border-radius: 9px;
    font-size: 0.8rem;
}

.finder-btn {
    height: 43px;
    padding: 0.72rem 1.15rem;
    font-size: 0.8rem;
}

/* Section cards: consistent edges, lighter borders and more breathing room. */
.quick-info-section {
    margin-top: -1.25rem;
}

.quick-info-grid {
    gap: 0.9rem;
}

.quick-info-card,
.category-card,
.highlight-card,
.specialist-card,
.why-us-card,
.journey-card {
    border-color: var(--gray-200);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.quick-info-card {
    gap: 0.7rem;
    padding: 1.35rem 1.25rem;
}

.quick-info-icon,
.why-us-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    color: var(--primary);
    background: var(--primary-light);
    font-size: 1.1rem;
}

.quick-info-title {
    font-size: 1.02rem;
}

.quick-info-desc {
    font-size: 0.82rem;
    line-height: 1.55;
}

.about-grid,
.appointment-grid {
    gap: 5rem;
}

.about-main-img {
    height: 470px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-experience-badge {
    right: -1rem;
    bottom: -1rem;
    padding: 1.1rem 1.35rem;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--primary-dark), var(--primary));
}

.about-experience-badge i {
    font-size: 1.65rem;
}

.about-badge-text {
    font-size: 0.9rem;
}

.about-badge-sub {
    font-size: 0.72rem;
}

.about-highlights-grid {
    gap: 0.8rem 1.15rem;
    margin-top: 1.6rem;
}

.about-highlight-text {
    font-size: 0.82rem;
}

.services-search-wrapper {
    margin-bottom: 2.25rem;
}

.services-search-input {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
}

.category-card {
    padding: 1.4rem;
}

.category-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    font-size: 1.15rem;
}

.category-card-title {
    font-size: 1.15rem;
}

.category-card-desc {
    font-size: 0.84rem;
}

.highlight-card-img {
    height: 185px;
}

.highlight-card-content {
    padding: 1.35rem;
}

.highlight-card-title {
    font-size: 1.15rem;
}

.highlight-card-desc {
    font-size: 0.84rem;
    line-height: 1.6;
}

.specialist-card-header {
    padding: 1.35rem 1.25rem 1rem;
    background: linear-gradient(145deg, var(--primary-light), #f2fbfb);
}

.specialist-avatar {
    width: 104px;
    height: 104px;
}

.specialist-card-body {
    padding: 1.15rem 1.25rem 1.25rem;
}

.specialist-name {
    font-size: 1.2rem;
}

.specialist-card-footer {
    padding: 0.9rem 1.25rem 1.05rem;
}

.service-item-bullet {
    border-color: var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    font-size: 0.84rem;
}

.why-us-grid {
    gap: 0.9rem;
}

.why-us-card {
    min-height: 145px;
    padding: 1.35rem 1rem;
}

.why-us-icon {
    margin-bottom: 0.85rem;
}

.why-us-title {
    font-size: 0.95rem;
}

.journey-grid {
    gap: 0.9rem;
}

.journey-card {
    padding: 1.5rem 1rem;
}

.journey-number {
    width: 38px;
    height: 38px;
    margin-bottom: 0.9rem;
    background: var(--primary);
    box-shadow: 0 5px 12px rgba(11, 114, 133, 0.2);
    font-size: 0.85rem;
}

.journey-title {
    font-size: 1rem;
}

.journey-desc {
    font-size: 0.78rem;
}

.emergency-banner {
    padding: 4rem 0;
    background:
        radial-gradient(circle at 88% 10%, rgba(54, 183, 176, 0.18), transparent 24rem),
        linear-gradient(135deg, var(--primary-darker), var(--dark));
}

.emergency-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
}

.emergency-desc {
    max-width: 600px;
    font-size: 1rem;
}

.appointment-card {
    padding: 2rem;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
}

.form-control {
    padding: 0.78rem 0.95rem;
    border-color: var(--gray-200);
    border-radius: 9px;
    background: var(--gray-50);
    font-size: 0.88rem;
}

.form-label {
    margin-bottom: 0.4rem;
    color: var(--gray-700);
    font-size: 0.78rem;
}

.site-footer {
    padding: 4rem 0 1.5rem;
    background: var(--primary-darker);
}

.footer-grid {
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-desc {
    max-width: 340px;
    font-size: 0.84rem;
}

.footer-title {
    margin-bottom: 1.1rem;
    font-size: 0.95rem;
}

.footer-links {
    gap: 0.55rem;
    font-size: 0.82rem;
}

.ai-chat-launcher {
    width: 52px;
    height: 52px;
    right: 1.5rem;
    bottom: 1.5rem;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
}

.floating-actions-stack {
    bottom: 1.5rem;
    left: 1.5rem;
}

@media (max-width: 1200px) {
    .hero-grid {
        gap: 3rem;
    }

    .hero-title {
        font-size: clamp(2.65rem, 4.5vw, 3.45rem);
    }
}

@media (max-width: 992px) {
    .container {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .nav-menu {
        top: 76px;
        gap: 0.25rem;
        padding: 1.25rem;
    }

    .nav-link {
        width: 100%;
        padding: 0.7rem 0.25rem;
        font-size: 0.9rem;
    }

    .hero-section {
        padding-top: 4rem;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.75rem;
    }

    .hero-content,
    .hero-visual {
        min-width: 0;
        width: 100%;
    }

    .hero-visual {
        max-width: 620px;
        margin-right: auto;
        margin-left: auto;
    }

    .hero-main-img {
        width: 100%;
        height: 380px;
    }

    .hero-doctor-spotlight {
        right: auto;
        width: 100%;
        margin-top: 0.65rem;
    }

    .about-grid,
    .appointment-grid {
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .section {
        padding: 4.25rem 0;
    }

    .section-header {
        margin-bottom: 2.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-section {
        padding: 2.75rem 0 2.5rem;
    }

    .hero-badge-container {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-badge-pill,
    .hero-rating-badge {
        width: fit-content;
        max-width: 100%;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    .hero-title {
        font-size: 2.55rem;
        line-height: 1.08;
    }

    .hero-subtitle {
        font-size: 0.92rem;
    }

    .hero-cta-group {
        align-items: stretch;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .hero-stat-card {
        min-height: 76px;
        padding: 0.65rem 0.55rem;
    }

    .hero-main-img {
        height: 285px;
    }

    .hero-image-wrapper {
        border-width: 5px;
        border-radius: 18px;
    }

    .hero-doctor-spotlight {
        justify-content: flex-start;
    }

    .hero-quick-finder {
        margin-top: 1.75rem;
        padding: 1rem;
    }

    .finder-form {
        gap: 0.7rem;
    }

    .quick-info-section {
        margin-top: 0;
    }

    .about-main-img {
        height: 320px;
    }

    .about-experience-badge {
        right: 0;
        bottom: -0.75rem;
    }

    .appointment-card {
        padding: 1.25rem 1rem;
    }

    .floating-actions-stack {
        bottom: 1rem;
        left: 1rem;
    }

    .ai-chat-launcher {
        right: 1rem;
        bottom: 1rem;
    }
}

/* ==========================================================================
   REFERENCE-LED ART DIRECTION
   ========================================================================== */
:root {
    --font-heading: 'Playfair Display', Georgia, serif;
}

.top-bar-content {
    gap: 1.25rem;
}

.top-bar-info + .top-bar-info {
    padding-left: 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.top-bar-info + .top-bar-info .top-bar-item + .top-bar-item {
    padding-left: 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.top-bar-emergency {
    color: rgba(255, 255, 255, 0.92);
}

.top-bar-emergency i {
    color: #83d8d1 !important;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.03em;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.045em;
}

.hero-title > .hero-title-line {
    color: var(--dark);
}

.hero-title > .hero-title-accent {
    color: var(--primary);
}

.hero-title > span {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: currentColor;
}

.hero-phone-btn {
    min-height: auto;
    padding: 0.75rem 0.7rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--gray-600);
}

.hero-phone-btn:hover {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--primary);
}

.hero-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    max-width: 620px;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(11, 114, 133, 0.16);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    color: var(--dark);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-trust-item small {
    color: var(--gray-600);
    font-size: 0.68rem;
    font-weight: 600;
}

.hero-trust-icon {
    display: grid;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    place-items: center;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 50%;
    font-size: 0.75rem;
}

.hero-stats-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 2.7rem;
    padding: 1.25rem 1.5rem;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(100deg, #083344, #0b5966 58%, #0b7285);
    border-radius: 3px;
    box-shadow: 0 16px 32px rgba(8, 51, 68, 0.16);
}

.hero-strip-stat {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 0.6rem;
    align-items: center;
    min-width: 0;
    padding: 0.15rem 1.1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-strip-stat:first-child {
    padding-left: 0.2rem;
}

.hero-strip-stat:last-child {
    padding-right: 0.2rem;
    border-right: 0;
}

.hero-strip-stat > i {
    color: #8edbd4;
    font-size: 1.2rem;
}

.hero-strip-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    white-space: nowrap;
}

.hero-strip-label {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.66rem;
    font-weight: 600;
    line-height: 1.25;
}

.hero-quick-finder {
    margin-top: 2rem;
}

.about-content {
    order: 1;
}

.about-image-stack {
    order: 2;
}

.about-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.5rem;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 800;
}

.about-cta-link i {
    transition: transform 0.2s ease;
}

.about-cta-link:hover i {
    transform: translateX(4px);
}

.hospital-gallery {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.hospital-gallery-card:first-child {
    grid-column: span 5;
}

.hospital-gallery-card:nth-child(2) {
    grid-column: span 7;
}

.hospital-gallery-card:nth-child(3),
.hospital-gallery-card:nth-child(4),
.hospital-gallery-card:nth-child(5) {
    grid-column: span 4;
}

.emergency-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.12;
}

.emergency-flex {
    position: relative;
    z-index: 1;
}

.footer-emergency-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1rem;
    color: #a9e5df;
    font-size: 0.82rem;
    font-weight: 700;
}

.footer-emergency-link:hover {
    color: var(--white);
}

@media (max-width: 992px) {
    .top-bar {
        display: block;
        overflow: hidden;
    }

    .top-bar-content {
        display: flex;
        width: max-content;
        min-width: 100%;
        max-width: none;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .top-bar-content::-webkit-scrollbar {
        display: none;
    }

    .top-bar-info {
        flex-shrink: 0;
    }

    .hero-trust-grid {
        max-width: 680px;
        margin-right: auto;
        margin-left: auto;
    }

    .hero-stats-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.65rem 0;
    }

    .hero-strip-stat:nth-child(3) {
        border-right: 0;
    }

    .hero-strip-stat:nth-child(4) {
        padding-left: 0.2rem;
    }

    .hero-strip-stat:nth-child(4),
    .hero-strip-stat:nth-child(5) {
        margin-top: 0.65rem;
        padding-top: 0.65rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hero-strip-stat:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .top-bar {
        font-size: 0.7rem;
    }

    .top-bar-content {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .top-bar-info + .top-bar-info {
        padding-left: 1rem;
    }

    .top-bar-info + .top-bar-info .top-bar-item + .top-bar-item {
        padding-left: 1rem;
    }

    .hero-title {
        gap: 0;
    }

    .hero-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem 0.65rem;
        width: 100%;
        text-align: left;
    }

    .hero-stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 1rem 0.8rem;
    }

    .hero-strip-stat,
    .hero-strip-stat:first-child,
    .hero-strip-stat:nth-child(4) {
        padding: 0.45rem 0.45rem;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hero-strip-stat:nth-child(2n) {
        border-right: 0;
    }

    .hero-strip-stat:nth-child(3),
    .hero-strip-stat:nth-child(4) {
        margin-top: 0;
        padding-top: 0.45rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hero-strip-stat:last-child {
        grid-column: span 2;
        justify-content: center;
        border-right: 0;
    }

    .hero-strip-value {
        font-size: 1rem;
    }

    .hero-strip-label {
        font-size: 0.62rem;
    }

    .hospital-gallery {
        grid-template-columns: 1fr;
    }

    .hospital-gallery-card:first-child,
    .hospital-gallery-card:nth-child(2),
    .hospital-gallery-card:nth-child(3),
    .hospital-gallery-card:nth-child(4),
    .hospital-gallery-card:nth-child(5) {
        grid-column: span 1;
    }
}

/* Keep the full-width desktop hero aligned with the site's shared container gutter. */
@media (min-width: 993px) {
    .hero-section > .container {
        max-width: none;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
        gap: 3.25rem;
    }

    .hero-visual,
    .hero-image-wrapper,
    .hero-main-img {
        width: 100%;
    }
}

/* Search-friendly patient information sections */
.faq-list {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 0.85rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1.15rem 1.35rem;
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary);
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item summary:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.35);
    outline-offset: -3px;
}

.faq-item p {
    padding: 0 1.35rem 1.25rem;
    color: var(--gray-600);
    line-height: 1.75;
}

.location-grid {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.location-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.location-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.location-card h3 {
    margin-bottom: 0.3rem;
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.location-card p {
    color: var(--gray-700);
}

.location-card .location-note {
    margin-top: 0.55rem;
    color: var(--gray-500);
    font-size: 0.83rem;
}

.location-actions {
    margin-top: 1.75rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.location-map-card {
    max-width: 920px;
    margin: 1.25rem auto 0;
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.location-map-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.location-map-heading h3 {
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.location-map-heading > i {
    color: var(--primary);
    font-size: 1.5rem;
}

.location-map-eyebrow {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.location-map-frame {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--gray-100);
}

.location-map-frame iframe {
    display: block;
    width: 100%;
    min-height: 450px;
}

@media (max-width: 640px) {
    .location-grid {
        grid-template-columns: 1fr;
    }

    .faq-item summary {
        padding: 1rem;
        font-size: 0.98rem;
    }

    .faq-item p {
        padding: 0 1rem 1rem;
    }

    .location-map-card {
        padding: 0.75rem;
    }

    .location-map-frame iframe {
        min-height: 360px;
    }
}

/* Keep the hero content on one consistent, centered mobile column. */
@media (max-width: 640px) {
    .hero-content {
        width: 100%;
        text-align: center;
    }

    .hero-title {
        width: 100%;
        max-width: none;
        align-items: center;
        margin-right: auto;
        margin-left: auto;
        font-size: clamp(2.2rem, 10vw, 2.55rem);
    }

    .hero-title > span {
        width: 100%;
        text-align: center;
    }

    .hero-subtitle {
        width: 100%;
        max-width: 36rem;
        margin-right: auto;
        margin-left: auto;
    }

    .hero-cta-group {
        width: 100%;
        align-items: stretch;
        justify-content: center;
    }

    .hero-cta-group .btn {
        width: 100%;
        max-width: 360px;
        margin-right: auto;
        margin-left: auto;
        justify-content: center;
    }
}
