:root {
    --clinic-primary: #0f6d8a;
    --clinic-primary-deep: #0a4e67;
    --clinic-secondary: #0d9a93;
    --clinic-accent: #f0b75a;
    --clinic-accent-soft: #fff2dc;
    --clinic-bg: #f2f7fa;
    --clinic-surface: #ffffff;
    --clinic-text: #143042;
    --clinic-muted: #496579;
    --clinic-line: #c8dbe5;
    --clinic-shadow: 0 20px 42px rgba(20, 58, 79, 0.11);
    --clinic-radius: 18px;
    --site-gutter: clamp(0.7rem, 1.5vw, 1rem);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--clinic-text);
    background: var(--clinic-bg);
    letter-spacing: 0.01em;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Outfit', sans-serif;
    color: #0a4e67;
    letter-spacing: -0.01em;
}

.clinic-app {
    min-height: 100vh;
    position: relative;
    overflow-x: clip;
}

.ambient-orb {
    position: fixed;
    width: 32rem;
    height: 32rem;
    border-radius: 50%;
    filter: blur(38px);
    z-index: -2;
    opacity: 0.35;
    pointer-events: none;
}

.orb-a {
    top: -14rem;
    left: -10rem;
    background: radial-gradient(circle, #9ed8ef 0%, rgba(158, 216, 239, 0) 70%);
}

.orb-b {
    right: -10rem;
    bottom: -16rem;
    background: radial-gradient(circle, #d5f2ef 0%, rgba(213, 242, 239, 0) 72%);
}

.ambient-grid {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(14, 77, 45, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 77, 45, 0.03) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
    z-index: -3;
    pointer-events: none;
}

.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl,
.container-fluid {
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
}

@media (min-width: 1200px) {
    .container {
        max-width: 1280px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1360px;
    }
}

.top-contact-strip {
    background: linear-gradient(90deg, #0a4e67, #0f6d8a);
    color: #f0fbff;
    font-size: 0.79rem;
    padding: 0.42rem 0;
}

.top-contact-strip a {
    color: #ffffff;
    text-decoration: none;
}

.top-contact-strip a:hover {
    text-decoration: underline;
}

.clinic-nav {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(200, 219, 229, 0.95);
    box-shadow: 0 10px 24px rgba(20, 58, 79, 0.08);
    padding-top: 0.76rem;
    padding-bottom: 0.76rem;
    transition: padding 0.22s ease, box-shadow 0.22s ease;
}

.clinic-nav.nav-scrolled {
    padding-top: 0.56rem;
    padding-bottom: 0.56rem;
    box-shadow: 0 12px 28px rgba(10, 55, 78, 0.14);
}

.brand-stack {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.02;
    text-decoration: none;
}

.brand-kicker {
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #0d9a93;
}

.brand-main {
    font-size: 1.28rem;
    font-weight: 700;
    color: #0a4e67;
}

.clinic-nav .nav-link {
    color: #0f6d8a;
    font-weight: 600;
    padding: 0.46rem 0.82rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.clinic-nav .nav-link:hover,
.clinic-nav .nav-link.active {
    color: #0a4e67;
    background: #e4f4fb;
    transform: translateY(-1px);
}

.nav-cta {
    border-radius: 999px;
    padding-left: 0.92rem;
    padding-right: 0.92rem;
    box-shadow: 0 8px 18px rgba(15, 109, 138, 0.24);
}

.nav-ghost {
    border-radius: 999px;
}

.site-main {
    position: relative;
    z-index: 1;
}

.page-hero {
    position: relative;
}

.page-kicker {
    display: inline-block;
    padding: 0.34rem 0.78rem;
    border-radius: 999px;
    background: #e4f4fb;
    color: #0a4e67;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 700;
}

.page-hero-card {
    background: linear-gradient(140deg, #eef8fd, #edf9f9);
    border: 1px solid #c8dbe5;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 14px 28px rgba(20, 58, 79, 0.1);
}

.hero-section {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(125deg, #0a4e67 0%, #0f6d8a 55%, #0d9a93 100%);
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::before {
    width: 22rem;
    height: 22rem;
    top: -10rem;
    right: -8rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
}

.hero-section::after {
    width: 16rem;
    height: 16rem;
    left: -5rem;
    bottom: -7rem;
    background: radial-gradient(circle, rgba(240, 183, 90, 0.28), rgba(240, 183, 90, 0));
}

.hero-badge {
    display: inline-block;
    padding: 0.36rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.32);
    letter-spacing: 0.07em;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.hero-section h1 {
    color: #ffffff;
    text-shadow: 0 10px 28px rgba(5, 24, 40, 0.28);
}

.hero-lead {
    color: rgba(255, 255, 255, 0.93) !important;
    max-width: 66ch;
}

.hero-media-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 470px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 24px 48px rgba(5, 18, 45, 0.3);
}

.hero-media-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 3;
    pointer-events: none;
}

.hero-media-card .carousel-inner,
.hero-media-card .carousel-item {
    height: 100%;
}

.hero-media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.12) contrast(1.06) brightness(0.92);
}

.hero-slide-image-doctor {
    object-position: center 24%;
}

.hero-media-card .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 20, 31, 0.08), rgba(3, 20, 31, 0.44));
}

.hero-slide-caption {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 2;
    display: grid;
    gap: 0.35rem;
    align-content: start;
}

.hero-slide-caption span {
    display: inline-flex;
    width: fit-content;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fdfefe;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.hero-slide-caption strong {
    max-width: 22rem;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.35;
    text-shadow: 0 10px 18px rgba(3, 18, 28, 0.35);
}

.hero-media-card .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
}

.hero-media-card .carousel-control-prev,
.hero-media-card .carousel-control-next {
    width: 12%;
}

.hero-media-card .hero-card {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    margin: 0;
}

.hero-card {
    background: rgba(5, 29, 44, 0.42);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 16px;
    padding: 1.1rem;
    box-shadow: 0 14px 30px rgba(4, 16, 35, 0.28);
}

.hero-card h4,
.hero-card p,
.hero-card li {
    color: #ffffff;
}

.hero-card ul {
    padding-left: 1rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.82rem;
}

.hero-stats div {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    padding: 0.75rem 0.8rem;
    backdrop-filter: blur(3px);
}

.hero-stats strong {
    font-size: 1.24rem;
    display: block;
}

.hero-stats span {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.94);
}

.trust-ribbon {
    background: linear-gradient(120deg, #ffffff, #e9f6fc);
    border: 1px solid var(--clinic-line);
    border-radius: var(--clinic-radius);
    padding: 0.8rem;
    box-shadow: var(--clinic-shadow);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.6rem;
}

.trust-ribbon div {
    text-align: center;
    font-size: 0.83rem;
    font-weight: 700;
    color: #0a4e67;
    border-radius: 12px;
    border: 1px solid #c8dbe5;
    background: #ffffff;
    padding: 0.56rem 0.38rem;
}

.section-title {
    font-weight: 700;
    margin-bottom: 1.15rem;
}

.medical-card {
    background: var(--clinic-surface);
    border: 1px solid var(--clinic-line);
    border-radius: var(--clinic-radius);
    padding: 1.2rem;
    box-shadow: var(--clinic-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.medical-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 40px rgba(20, 58, 79, 0.18);
    border-color: #9ac9dc;
}

.metric-highlight-card {
    position: relative;
    overflow: hidden;
}

.metric-highlight-card::after {
    content: "";
    position: absolute;
    width: 6.2rem;
    height: 6.2rem;
    border-radius: 50%;
    top: -2rem;
    right: -2rem;
    background: radial-gradient(circle, rgba(15, 109, 138, 0.18), rgba(15, 109, 138, 0));
}

.metric-highlight-card small {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.68rem;
    color: #496579;
    font-weight: 700;
}

.metric-highlight-card h3 {
    font-size: 1.3rem;
}

.metric-highlight-card p {
    font-size: 0.9rem;
    color: var(--clinic-muted);
}

.quick-book-card {
    border-color: #c8dbe5;
    background: linear-gradient(180deg, #ffffff, #f2f7fa);
}

.quick-book-card .form-control {
    border-radius: 12px;
    border: 1px solid #c8dbe5;
    padding: 0.72rem 0.88rem;
}

.service-premium-card {
    border-top: 4px solid #8fc2d8;
}

.clinic-overview {
    background: linear-gradient(130deg, #eaf7fd, #edf9f9);
    border: 1px solid #c8dbe5;
    border-radius: var(--clinic-radius);
    padding: 1.3rem;
    box-shadow: var(--clinic-shadow);
}

.info-chip {
    background: #ffffff;
    border: 1px solid #c8dbe5;
    border-radius: 12px;
    padding: 0.84rem 0.92rem;
    min-height: 100%;
    font-weight: 600;
    color: #0a4e67;
}

.doctor-profile-card {
    overflow: hidden;
}

.doctor-photo {
    width: calc(100% + 2.2rem);
    height: 190px;
    margin: -1.1rem -1.1rem 1rem;
    object-fit: cover;
    border-bottom: 1px solid #c3dcc9;
}

.treatment-flow {
    background: linear-gradient(120deg, #eaf7fd, #edf9f9);
    border: 1px solid #c8dbe5;
    border-radius: 16px;
    padding: 1.1rem;
}

.step-card {
    background: #ffffff;
    border: 1px dashed #8fc2d8;
    border-radius: 12px;
    padding: 0.85rem;
    font-weight: 700;
    color: #0a4e67;
    text-align: center;
    min-height: 100%;
}

.quote-card {
    background: linear-gradient(180deg, #ffffff, #f2f7fa);
    border: 1px solid #c8dbe5;
    border-left: 4px solid var(--clinic-secondary);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 10px 22px rgba(20, 58, 79, 0.09);
}

.testimonial-slide-card {
    max-width: 760px;
}

.blog-content-body {
    line-height: 1.78;
    color: #1a2e22;
    font-size: 1.04rem;
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    z-index: 1200;
    background: linear-gradient(90deg, #0f6d8a, #0a4e67);
    box-shadow: 0 0 12px rgba(15, 109, 138, 0.4);
}

.premium-cta-band {
    background: linear-gradient(130deg, #eef8fd, #ffffff);
    border: 1px solid #c8dbe5;
    border-radius: 22px;
    box-shadow: 0 22px 34px rgba(20, 58, 79, 0.11);
    padding: 1.35rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}

.cta-kicker {
    display: inline-block;
    padding: 0.32rem 0.75rem;
    border-radius: 999px;
    background: var(--clinic-accent-soft);
    color: #0a4e67;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.carousel-control-prev,
.carousel-control-next {
    width: 42px;
    height: 42px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(10, 55, 78, 0.48);
}

.carousel-control-prev {
    left: -12px;
}

.carousel-control-next {
    right: -12px;
}

.btn {
    border-radius: 12px;
    font-weight: 700;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clinic-primary), var(--clinic-primary-deep));
    border-color: var(--clinic-primary-deep);
    box-shadow: 0 10px 18px rgba(15, 109, 138, 0.23);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0d5f79, #083f54);
    border-color: #083f54;
}

.btn-outline-primary {
    color: var(--clinic-primary);
    border-color: #0f6d8a;
}

.btn-outline-primary:hover {
    background: #e4f4fb;
    color: #0a4e67;
    border-color: #0a4e67;
}

.btn-outline-light,
.btn-outline-dark,
.btn-outline-secondary,
.btn-outline-success {
    border-width: 2px;
}

.form-control,
.form-select {
    border-radius: 12px;
    border-color: #c8dbe5;
    padding: 0.7rem 0.82rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #0d9a93;
    box-shadow: 0 0 0 0.22rem rgba(15, 109, 138, 0.16);
}

.form-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.form-trust-row span {
    border: 1px solid #c8dbe5;
    border-radius: 999px;
    padding: 0.28rem 0.62rem;
    font-size: 0.74rem;
    color: #0a4e67;
    background: #f2f7fa;
}

.booking-urgency-note {
    border-left: 3px solid var(--clinic-accent);
    background: #fff4e5;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    color: #744316;
    font-size: 0.88rem;
}

.quick-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.mobile-conversion-bar {
    display: none;
    position: fixed;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
    z-index: 1120;
    background: rgba(8, 41, 56, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 0.4rem;
    box-shadow: 0 14px 24px rgba(7, 30, 43, 0.32);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
}

.mobile-action {
    text-decoration: none;
    color: #e8f7fd;
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 10px;
    padding: 0.55rem 0.35rem;
    background: rgba(255, 255, 255, 0.09);
}

.mobile-action-book {
    background: linear-gradient(135deg, #0f6d8a, #0a4e67);
}

.app-alert {
    border-radius: 12px;
    border-width: 1px;
    box-shadow: 0 12px 24px rgba(17, 45, 56, 0.12);
}

.clinic-footer {
    background: linear-gradient(180deg, #0b3f53, #072f41);
    color: #d4eaf2;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.clinic-footer h5,
.clinic-footer h6 {
    color: #ffffff;
}

.clinic-footer a {
    color: #ffffff;
    text-decoration: none;
}

.clinic-footer a:hover {
    text-decoration: underline;
}

.footer-badge {
    display: inline-block;
    font-size: 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    margin-top: 0.6rem;
}

.footer-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-pills span {
    font-size: 0.73rem;
    border-radius: 999px;
    padding: 0.28rem 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
}

.footer-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    color: #bdd8e4;
}

.admin-body {
    background:
        radial-gradient(circle at top left, rgba(143, 194, 216, 0.18), transparent 28%),
        linear-gradient(180deg, #eef6fb 0%, #e8f1f7 100%);
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 300px 1fr;
}

.admin-sidebar {
    background: linear-gradient(180deg, #08384a 0%, #0a4e67 54%, #0f6d8a 100%);
    color: #fff;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.06);
}

.admin-brand-block {
    padding: 1.1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 30px rgba(3, 22, 31, 0.22);
}

.admin-brand-kicker {
    display: inline-flex;
    padding: 0.28rem 0.68rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
    background: rgba(255, 255, 255, 0.12);
    color: #dff6ff;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.admin-brand-block h2 {
    color: #ffffff;
}

.admin-brand-block p {
    color: rgba(223, 246, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.55;
}

.admin-nav {
    display: grid;
    gap: 0.4rem;
}

.admin-sidebar a {
    color: #d3edf6;
    text-decoration: none;
    padding: 0.78rem 0.9rem;
    border-radius: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateX(2px);
}

.admin-sidebar-footer {
    margin-top: auto;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 0.8rem;
}

.admin-sidebar-footer small {
    display: block;
    color: rgba(223, 246, 255, 0.72);
    margin-bottom: 0.2rem;
}

.admin-sidebar-footer strong {
    color: #ffffff;
}

.admin-logout-link {
    background: rgba(255, 255, 255, 0.12);
}

.admin-main {
    padding: 1.4rem;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(200, 219, 229, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 32px rgba(20, 58, 79, 0.08);
}

.admin-topbar-label {
    color: #0f6d8a;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.admin-topbar-title {
    color: #0d3345;
    font-size: 1.45rem;
}

.admin-topbar-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.admin-topbar-meta span {
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    background: #edf6fb;
    border: 1px solid #d4e6ef;
    color: #33586a;
    font-size: 0.8rem;
    font-weight: 600;
}

.admin-content {
    padding: 0;
}

.admin-hero-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1.3rem 1.4rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #0f6d8a 0%, #0a4e67 58%, #08384a 100%);
    color: #ffffff;
    box-shadow: 0 24px 40px rgba(10, 55, 78, 0.18);
}

.admin-hero-panel h2,
.admin-hero-panel p {
    color: #ffffff;
}

.admin-hero-panel p {
    max-width: 42rem;
    opacity: 0.9;
}

.admin-section-kicker {
    display: inline-flex;
    margin-bottom: 0.65rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-hero-badge {
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 700;
}

.metric-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.1rem;
    border: 1px solid #c8dbe5;
    min-height: 100%;
    box-shadow: 0 18px 30px rgba(20, 58, 79, 0.08);
}

.metric-card small {
    display: inline-block;
    margin-bottom: 0.55rem;
    color: #4c6e7f;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
}

.metric-card p {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #10384b;
}

.metric-card span {
    display: block;
    margin-top: 0.35rem;
    color: #567687;
    font-size: 0.88rem;
}

.metric-card-primary {
    background: linear-gradient(180deg, #ffffff, #edf7fb);
}

.metric-card-warning {
    background: linear-gradient(180deg, #fffdf7, #fff4df);
}

.metric-card-cool {
    background: linear-gradient(180deg, #ffffff, #eef4ff);
}

.metric-card-soft {
    background: linear-gradient(180deg, #ffffff, #eefaf8);
}

.admin-panel-card {
    border-radius: 22px;
    padding: 1.2rem;
}

.admin-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-panel-heading p {
    color: #567687;
}

.admin-table-chip {
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    background: #edf6fb;
    color: #0f6d8a;
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.9rem;
    align-items: end;
}

.admin-search-field {
    min-width: 0;
}

.admin-search-actions {
    display: flex;
    gap: 0.65rem;
    align-items: end;
}

.admin-search-actions .btn {
    min-width: 116px;
}

.admin-table-wrap {
    border: 1px solid #d7e6ee;
    border-radius: 18px;
    overflow: hidden;
}

.admin-table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: #f6fafc;
    margin: 0;
}

.admin-table thead th {
    background: #eef6fb;
    color: #365567;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid #d7e6ee;
}

.admin-table td,
.admin-table th {
    padding: 0.95rem 1rem;
    border-color: #e4eef4;
}

.admin-status-pill {
    display: inline-flex;
    padding: 0.32rem 0.68rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
}

.admin-status-pending {
    background: #fff1d8;
    color: #9a6112;
}

.admin-status-approved,
.admin-status-completed {
    background: #e4f7ee;
    color: #1a7454;
}

.admin-status-cancelled {
    background: #ffe8e8;
    color: #a33a3a;
}

.floating-whatsapp,
.floating-call {
    position: fixed;
    right: 1rem;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 12px 20px rgba(4, 38, 33, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.8);
    z-index: 1080;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp {
    bottom: 5rem;
    background: #22a958;
}

.floating-call {
    bottom: 1rem;
    background: #0f6d8a;
}

.floating-whatsapp svg,
.floating-call svg {
    width: 24px;
    height: 24px;
}

.floating-whatsapp:hover,
.floating-call:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 14px 26px rgba(5, 50, 76, 0.35);
}

.booking-status-panel {
    position: sticky;
    top: 94px;
}

.slot-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.slot-metrics div {
    background: #f0f8fc;
    border: 1px solid #c8dbe5;
    border-radius: 12px;
    padding: 0.7rem;
    text-align: center;
}

.slot-metrics strong {
    display: block;
    font-size: 1.4rem;
    color: var(--clinic-primary);
}

.slot-metrics span {
    font-size: 0.82rem;
    color: #496579;
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    max-height: 260px;
    overflow-y: auto;
    padding-right: 0.15rem;
}

.slot-pill {
    border-radius: 999px;
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
    text-align: center;
    border: 1px solid transparent;
}

.slot-pill.selectable {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.slot-pill.selectable:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(15, 109, 138, 0.12);
}

.slot-pill.active {
    border-color: #0f6d8a;
    box-shadow: 0 0 0 2px rgba(15, 109, 138, 0.18);
}

.slot-pill.available {
    background: #e8f7fd;
    border-color: #a9d2e3;
    color: #0d506b;
}

.slot-pill.booked {
    background: #fff0f0;
    border-color: #f0b2b2;
    color: #8a2e2e;
}

.reveal {
    opacity: 0;
    transform: translateY(18px) scale(0.995);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.reveal-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (max-width: 991px) {
    .top-contact-strip {
        display: none;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-media-card {
        height: 370px;
    }

    .hero-slide-caption strong {
        max-width: 18rem;
        font-size: 0.94rem;
    }

    .trust-ribbon {
        grid-template-columns: 1fr 1fr;
    }

    .slot-grid {
        grid-template-columns: 1fr;
    }

    .premium-cta-band {
        grid-template-columns: 1fr;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        padding: 1rem;
    }

    .admin-topbar,
    .admin-hero-panel,
    .admin-panel-heading,
    .admin-sidebar-footer {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: start;
    }

    .admin-search-form {
        grid-template-columns: 1fr;
    }

    .admin-search-actions {
        width: 100%;
    }

    .admin-search-actions .btn {
        flex: 1 1 auto;
    }
}

@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .mobile-conversion-bar {
        display: grid;
    }

    .site-main {
        padding-bottom: 5.3rem;
    }

    .floating-whatsapp,
    .floating-call {
        display: none;
    }

    .footer-meta {
        flex-direction: column;
    }

    .clinic-nav .navbar-nav {
        margin-top: 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-media-card {
        height: 300px;
    }

    .hero-slide-image-doctor {
        object-position: center 18%;
    }

    .hero-slide-caption {
        top: 0.8rem;
        left: 0.8rem;
        right: 0.8rem;
    }

    .hero-slide-caption strong {
        max-width: 15rem;
        font-size: 0.86rem;
    }

    .medical-card,
    .quote-card {
        padding: 1rem;
    }

    .floating-whatsapp,
    .floating-call {
        width: 52px;
        height: 52px;
    }
}
