body {
    font-family: "Cairo", Arial, sans-serif;
}

body.ltr {
    direction: ltr;
}

body.ltr .hero-copy,
body.ltr .clinic-detail-copy {
    text-align: left;
}

body.ltr .hero-actions,
body.ltr .hero-stats {
    direction: ltr;
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 28px;
    align-items: center;
}

.header-inner .logo {
    justify-self: end;
}

body.ltr .header-inner .logo {
    justify-self: start;
}

.header-actions {
    display: flex;
    justify-self: start;
    gap: 14px;
    align-items: center;
}

body.ltr .header-actions {
    justify-self: end;
}

.header .logo img {
    max-height: 54px;
    width: auto;
}

.nav-booking,
.language-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.nav-booking {
    background: var(--brand-red);
    color: #fff;
}

.language-switch {
    border: 1px solid #e1e5e8;
    background: #fff;
    color: var(--ink);
}

body.ltr .care-card {
    border-right: 6px solid var(--brand-red);
    border-left: 0;
    border-radius: 0 14px 14px 0;
}

.clinic-detail-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.clinic-detail-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(18, 26, 30, .12);
}

.clinic-detail-copy h1 {
    margin: 0 0 22px;
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    line-height: 1.2;
}

.clinic-detail-copy p {
    color: var(--muted);
    font-size: 1.22rem;
    line-height: 2;
}

.clinic-phone {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: 18px;
    color: var(--brand-red) !important;
    font-weight: 700;
}

.doctor-card {
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 54px rgba(18, 26, 30, .09);
}

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

.doctor-card > div {
    padding: 26px;
}

.doctor-card h3 {
    margin: 0 0 10px;
    font-size: 1.45rem;
}

.doctor-card p {
    color: var(--muted);
}

.admin-thumb {
    width: 74px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
}

.admin-preview-image {
    width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(18, 26, 30, .1);
}

@media (max-width: 1100px) {
    .clinic-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .header-inner {
        display: flex;
        gap: 16px;
    }

    .header-actions {
        margin-inline-start: auto;
    }

    .nav-booking {
        display: none;
    }

    .clinic-detail-image img {
        height: 320px;
    }
}

/* Simpler marketing direction */
.simple-marketing .section,
.listing-hero.section,
.service-detail.section {
    padding: 68px 0;
}

.marketing-hero {
    padding: 72px 0 56px;
    background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
}

.marketing-hero-grid,
.intro-grid,
.service-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: 44px;
    align-items: center;
}

.marketing-copy h1,
.listing-hero h1,
.service-detail-copy h1 {
    margin: 14px 0;
    color: var(--brand-dark);
    font-size: clamp(2.15rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.28;
}

.marketing-copy p,
.listing-hero p,
.service-detail-copy p,
.intro-grid p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 2;
}

.marketing-media img,
.service-detail-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(16, 24, 40, 0.1);
}

.marketing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.trust-strip div {
    padding: 14px;
    border: 1px solid rgba(176, 0, 0, 0.08);
    border-radius: 8px;
    background: #fff;
}

.trust-strip strong {
    display: block;
    color: var(--brand-red);
    font-size: 1.35rem;
    font-weight: 800;
}

.trust-strip span {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.compact-title {
    max-width: 780px;
    margin-inline: auto;
}

.compact-title h2,
.intro-grid h2 {
    color: var(--brand-dark);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.35;
}

.soft-band {
    background: #fafafa;
}

.clean-list {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.clean-list li {
    display: flex;
    gap: 10px;
    color: #344054;
    line-height: 1.8;
}

.clean-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 12px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--brand-red);
}

.simple-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.why-card {
    min-height: 220px;
    padding: 22px;
    border: 1px solid rgba(176, 0, 0, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(16, 24, 40, 0.06);
}

.why-card i {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 8px;
    background: #f8e2e2;
    color: var(--brand-red);
    font-size: 1.35rem;
}

.why-card h3 {
    margin: 16px 0 8px;
    color: var(--brand-dark);
    font-size: 1.15rem;
    font-weight: 800;
}

.why-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.85;
}

.gallery-preview-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.gallery-preview-head h2 {
    margin: 8px 0;
    color: var(--brand-dark);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
}

.gallery-preview-head p {
    max-width: 720px;
    margin: 0;
    color: var(--text-muted);
    line-height: 1.9;
}

.gallery-strip {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr 0.9fr;
    grid-auto-rows: 180px;
    gap: 14px;
}

.gallery-strip img,
.hospital-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-strip img:first-child {
    grid-row: span 2;
}

.hospital-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gallery-tile {
    display: block;
    height: 280px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.testimonial-card {
    padding: 24px;
    border: 1px solid rgba(176, 0, 0, 0.08);
    border-radius: 8px;
    background: #fff;
}

.testimonial-card i {
    color: var(--brand-red);
    font-size: 2rem;
}

.testimonial-card p {
    color: #344054;
    line-height: 1.9;
}

.testimonial-card strong {
    color: var(--brand-dark);
}

.mobile-sticky-actions {
    display: none;
}

.simple-service-card {
    overflow: hidden;
    border: 1px solid rgba(176, 0, 0, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(16, 24, 40, 0.07);
}

.simple-service-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.simple-service-card div {
    padding: 18px;
}

.simple-service-card span {
    color: var(--brand-red);
    font-size: 0.86rem;
    font-weight: 800;
}

.simple-service-card h3 {
    margin: 8px 0;
    color: var(--brand-dark);
    font-size: 1.22rem;
    font-weight: 800;
}

.simple-service-card p {
    min-height: 84px;
    color: var(--text-muted);
    line-height: 1.8;
}

.simple-service-card a,
.doctor-mini-card a {
    color: var(--brand-red);
    font-weight: 800;
    text-decoration: none;
}

.section-action {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.doctor-simple-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.doctor-mini-card {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(176, 0, 0, 0.08);
    border-radius: 8px;
    background: #fff;
}

.doctor-mini-card img {
    width: 92px;
    height: 92px;
    border-radius: 8px;
    object-fit: cover;
}

.doctor-mini-card h3 {
    margin: 0 0 6px;
    color: var(--brand-dark);
    font-size: 1.1rem;
    font-weight: 800;
}

.doctor-mini-card p {
    margin: 0 0 8px;
    color: var(--text-muted);
}

.simple-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 30px;
    border-radius: 8px;
    background: var(--brand-red);
    color: #fff;
}

.simple-cta h2 {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
}

.simple-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.simple-cta .primary-action {
    background: #fff;
    color: var(--brand-red);
}

.listing-hero {
    background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
    text-align: center;
}

.listing-hero .container {
    max-width: 820px;
}

.service-detail-grid {
    grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr);
}

@media (max-width: 1100px) {
    .simple-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .doctor-simple-grid {
        grid-template-columns: 1fr;
    }

    .hospital-gallery-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .marketing-hero-grid,
    .intro-grid,
    .service-detail-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .simple-card-grid {
        grid-template-columns: 1fr;
    }

    .simple-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .doctor-mini-card {
        grid-template-columns: 76px 1fr;
    }

    .doctor-mini-card img {
        width: 76px;
        height: 76px;
    }

    .why-grid,
    .hospital-gallery-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .gallery-preview-head {
        align-items: stretch;
        flex-direction: column;
    }

    .gallery-strip {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-strip img:first-child {
        grid-row: auto;
    }

    .mobile-sticky-actions {
        position: fixed;
        right: 14px;
        left: 14px;
        bottom: 14px;
        z-index: 950;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 8px;
        border: 1px solid rgba(176, 0, 0, 0.12);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 18px 44px rgba(16, 24, 40, 0.18);
        backdrop-filter: blur(12px);
    }

    .mobile-sticky-actions a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 46px;
        border-radius: 8px;
        background: var(--brand-red);
        color: #fff;
        text-decoration: none;
        font-weight: 800;
    }

    .mobile-sticky-actions a + a {
        background: #118c4f;
    }

    body {
        padding-bottom: 76px;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    color: inherit;
}

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

.container,
.container-fluid,
.container-xl {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 16px;
    padding-left: 16px;
}

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

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left: -12px;
}

.row > * {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
}

.gy-4 {
    row-gap: 1.5rem;
}

.col-12 { flex: 0 0 auto; width: 100%; }

@media (min-width: 768px) {
    .col-md-3 { flex: 0 0 auto; width: 25%; }
    .col-md-6 { flex: 0 0 auto; width: 50%; }
}

@media (min-width: 992px) {
    .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-lg-6 { flex: 0 0 auto; width: 50%; }
    .col-lg-8 { flex: 0 0 auto; width: 66.666667%; }
}

@media (min-width: 1200px) {
    .col-xl-6 { flex: 0 0 auto; width: 50%; }
}

.d-flex { display: flex; }
.d-none { display: none; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.text-center { text-align: center; }
.text-muted { color: #6c757d; }
.position-relative { position: relative; }
.fixed-top { position: fixed; top: 0; right: 0; left: 0; z-index: 1030; }
.img-fluid { max-width: 100%; height: auto; }
.h-100 { height: 100%; }
.mt-4 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1rem; }
.me-auto { margin-left: auto; }
.me-lg-0 { margin-left: 0; }

@media (max-width: 1199px) {
    .d-xl-none { display: block; }
}

.card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e4e9ef;
    border-radius: 8px;
    background: #fff;
}

.card-img-top {
    width: 100%;
    min-height: 200px;
    object-fit: cover;
}

.card-body {
    flex: 1 1 auto;
    padding: 20px;
}

.card-title {
    margin-bottom: 10px;
    font-size: 1.15rem;
    font-weight: 700;
}

.card-text {
    color: #56616f;
}

.btn,
button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
}

.btn-sm {
    min-height: 32px;
    padding: 6px 10px;
    font-size: .9rem;
}

.btn-primary {
    background: #1977cc;
    color: #fff;
}

.btn-success {
    background: #198754;
    color: #fff;
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
}

.btn-danger {
    background: #dc3545;
    color: #fff;
}

.btn-outline-primary,
.btn-outline-success {
    border-color: #b00005;
    color: #b00005;
    background: #fff;
}

.btn-outline-primary:hover,
.btn-outline-success:hover {
    background: #b00005;
    color: #fff;
}

.btn-group {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.alert {
    padding: 14px 16px;
    border-radius: 8px;
}

.alert-info {
    border: 1px solid #b6effb;
    background: #cff4fc;
    color: #055160;
}

.bg-light {
    background: #f8f9fa;
}

.bg-primary,
.bg-success,
.bg-info,
.bg-warning {
    background: #b00005;
}

.text-white {
    color: #fff;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px;
    border-bottom: 1px solid #e8edf3;
    vertical-align: middle;
}

.form-control,
.form-select,
textarea.form-control {
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #d8e0e7;
    border-radius: 6px;
    background: #fff;
}

.stretched-link::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
}

.dropdown-button {
    width: 100%;
    padding: 10px 20px;
    border: 0;
    background: transparent;
    color: var(--nav-dropdown-color);
    text-align: right;
}

.dropdown-button:hover {
    color: var(--nav-dropdown-hover-color);
}

.auth-page {
    min-height: 100vh;
    background: #f6f9fb;
}

.auth-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.auth-logo img {
    max-width: 92px;
    height: auto;
    margin-bottom: 24px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 28px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(20, 35, 55, .08);
}

.auth-card label,
.auth-card .block {
    display: block;
}

.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="number"],
.auth-card textarea,
.auth-card select,
.form-control,
.form-select {
    width: 100%;
}

.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="number"],
.auth-card textarea,
.auth-card select {
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #d8e0e7;
    border-radius: 6px;
    background: #fff;
}

.auth-card button,
.auth-card a.inline-flex,
.auth-card .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border: 0;
    border-radius: 6px;
    background: #1977cc;
    color: #fff;
    text-decoration: none;
}

.auth-card a {
    color: #1977cc;
}

.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.ms-2 { margin-inline-start: .5rem; }
.ms-3 { margin-inline-start: .75rem; }
.me-2 { margin-inline-end: .5rem; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 1rem; }
.w-full { width: 100%; }
.text-sm { font-size: .875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.text-gray-600 { color: #64748b; }
.text-gray-700 { color: #334155; }
.text-gray-800 { color: #1f2937; }
.text-red-600 { color: #dc2626; }
.underline { text-decoration: underline; }
.rounded-md { border-radius: 6px; }
.shadow { box-shadow: 0 8px 24px rgba(20, 35, 55, .08); }
.bg-white { background: #fff; }
.bg-gray-100 { background: #f6f9fb; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-4 { padding-inline: 1rem; }
.py-6 { padding-block: 1.5rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-inline: auto; }
.min-h-screen { min-height: 100vh; }

:root {
    --brand-red: #ad0005;
    --brand-red-dark: #790006;
    --ink: #112629;
    --muted: #5f6b70;
    --soft-red: #fbefef;
    --panel: #ffffff;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    direction: rtl;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 108px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 28px rgba(18, 26, 30, .08);
}

.header .container-xl {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 28px;
    align-items: center;
}

.logo {
    justify-self: end;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    max-height: 48px;
    width: auto;
}

.logo .sitename {
    max-width: 210px;
    margin: 0;
    color: #3a4246;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.navmenu {
    justify-self: center;
}

.navmenu ul {
    display: flex;
    align-items: center;
    gap: 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navmenu a {
    color: #121f24;
    font-size: 1.08rem;
    font-weight: 600;
    text-decoration: none;
}

.navmenu a.active,
.navmenu a:hover {
    color: var(--brand-red);
}

.navmenu .dropdown {
    position: relative;
}

.navmenu .dropdown ul {
    position: absolute;
    top: 100%;
    right: 0;
    display: none;
    min-width: 190px;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(18, 26, 30, .14);
}

.navmenu .dropdown:hover ul {
    display: block;
}

.mobile-nav-toggle {
    display: none;
}

.header::before {
    content: "الحجز المسبق";
    justify-self: start;
    grid-column: 1;
    display: none;
}

.main {
    min-height: 70vh;
}

.section {
    padding: 88px 0;
}

.section-title {
    margin-bottom: 46px;
    text-align: center;
}

.section-title h2 {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 700;
    line-height: 1.25;
}

.section-title h2::after {
    display: block;
    width: 138px;
    height: 2px;
    margin: 18px auto 0;
    background: linear-gradient(90deg, #c7c7c7 0 35%, var(--brand-red) 35% 65%, #c7c7c7 65%);
    content: "";
}

.section-title p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.25rem;
    line-height: 1.9;
}

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 74px;
    background:
        radial-gradient(circle at 100% 0, rgba(176, 0, 5, .08), transparent 28%),
        radial-gradient(circle at 0 100%, rgba(176, 0, 5, .1), transparent 28%),
        #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(420px, 1.1fr);
    gap: 76px;
    align-items: center;
}

.hero-media {
    position: relative;
    min-height: 520px;
}

.hero-media > img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 30px 70px rgba(176, 0, 5, .16);
    transform: rotate(-2deg);
}

.hero-badge,
.hero-trust {
    position: absolute;
    bottom: 34px;
    display: grid;
    gap: 4px;
    min-width: 138px;
    padding: 18px 22px;
    border: 1px solid rgba(176, 0, 5, .22);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(18, 26, 30, .12);
    text-align: center;
}

.hero-badge {
    left: -24px;
}

.hero-trust {
    left: 140px;
}

.hero-badge strong,
.hero-trust strong {
    color: var(--brand-red);
    font-size: 2rem;
}

.hero-badge span,
.hero-trust span {
    color: var(--muted);
}

.hero-copy {
    text-align: right;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 28px;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--brand-red);
    color: #fff;
    font-weight: 700;
}

.hero-copy h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(3rem, 5vw, 5.1rem);
    line-height: 1.18;
    font-weight: 700;
}

.hero-copy h1 strong {
    display: block;
    font-size: 5.4rem;
}

.hero-copy p {
    max-width: 820px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 1.35rem;
    line-height: 2;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 46px;
}

.hero-stats div {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 14px;
    align-items: center;
}

.hero-stats i {
    grid-row: span 2;
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    border-radius: 18px;
    background: var(--soft-red);
    color: var(--brand-red);
    font-size: 2rem;
}

.hero-stats strong {
    color: var(--ink);
    font-size: 2.2rem;
    line-height: 1;
}

.hero-stats span {
    color: var(--muted);
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 46px;
}

.hero-actions.compact {
    margin-top: 32px;
}

.primary-action,
.secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 0 34px;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
}

.primary-action {
    background: var(--brand-red);
    color: #fff;
}

.secondary-action {
    border: 1px solid #d9dee3;
    background: #fff;
    color: var(--ink);
}

.story-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
}

.story-gallery {
    display: grid;
    grid-template-columns: .72fr 1.45fr;
    gap: 28px;
}

.story-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(18, 26, 30, .1);
}

.story-gallery .large {
    grid-row: span 2;
    height: 628px;
}

.care-card {
    position: relative;
    padding: 38px;
    border-left: 6px solid var(--brand-red);
    border-radius: 14px 0 0 14px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(18, 26, 30, .08);
}

.care-card > i {
    float: left;
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    border-radius: 16px;
    background: var(--soft-red);
    color: var(--brand-red);
    font-size: 2rem;
}

.care-card h3 {
    margin: 0 0 18px;
    font-size: 1.7rem;
}

.care-card p,
.care-card li {
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.9;
}

.care-card ul {
    clear: both;
    display: grid;
    gap: 20px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.care-card li::before {
    display: inline-grid;
    width: 26px;
    height: 26px;
    margin-left: 12px;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-red);
    color: #fff;
    content: "✓";
    font-size: .9rem;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(18, 26, 30, .09);
}

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

.feature-card::after {
    position: absolute;
    top: 190px;
    right: 0;
    left: 0;
    height: 85px;
    background: linear-gradient(0deg, #fff, rgba(255, 255, 255, .84), transparent);
    content: "";
}

.feature-card > div:last-child {
    position: relative;
    z-index: 2;
    padding: 34px;
}

.feature-icon {
    position: absolute;
    top: 30px;
    left: 28px;
    z-index: 3;
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-red);
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 16px 30px rgba(176, 0, 5, .28);
}

.feature-card h3 {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: 1.65rem;
}

.feature-card p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.9;
}

.feature-card a {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: 18px;
    color: var(--brand-red);
    font-weight: 700;
    text-decoration: none;
}

.booking-section {
    background: linear-gradient(180deg, #fff 0%, #fff7f7 100%);
}

.booking-panel {
    max-width: 940px;
    margin: 0 auto;
    padding: 38px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 26px 80px rgba(18, 26, 30, .1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.form-field {
    display: grid;
    gap: 9px;
    margin-bottom: 22px;
}

.form-field label {
    color: var(--ink);
    font-weight: 700;
}

.form-field label span,
.muted {
    color: var(--muted);
    font-weight: 400;
}

.booking-form input,
.booking-form select,
.booking-form textarea,
.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid #d9e0e6;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.schedule-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.schedule-option {
    cursor: pointer;
}

.schedule-option input {
    position: absolute;
    opacity: 0;
}

.schedule-option span {
    display: grid;
    gap: 8px;
    min-height: 94px;
    padding: 18px;
    border: 1px solid #e0e5ea;
    border-radius: 12px;
    background: #fff;
    transition: .2s ease;
}

.schedule-option input:checked + span {
    border-color: var(--brand-red);
    background: var(--soft-red);
    box-shadow: inset 0 0 0 1px var(--brand-red);
}

.schedule-option strong {
    color: var(--ink);
}

.schedule-option small {
    color: var(--muted);
}

.booking-submit {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 10px;
    background: var(--brand-red);
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
}

.admin-form {
    max-width: 980px;
    margin: 0 auto;
    padding: 34px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(18, 26, 30, .08);
}

.schedule-admin {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid #edf0f3;
    border-radius: 14px;
    background: #fffafa;
}

.schedule-admin-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.schedule-admin-head h3 {
    margin: 0;
}

.schedule-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.remove-schedule-row {
    min-height: 46px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: #fee2e2;
    color: #991b1b;
    cursor: pointer;
    font-weight: 700;
}

.admin-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-gallery img {
    width: 130px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
}

.inline-check {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
    font-weight: 700;
}

.inline-check input {
    width: auto;
    min-height: auto;
}

.home-cta {
    padding-top: 48px;
}

.cta-panel {
    display: grid;
    gap: 18px;
    justify-items: center;
    padding: 56px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .18), transparent 22%),
        linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    color: #fff;
    text-align: center;
    box-shadow: 0 28px 70px rgba(176, 0, 5, .22);
}

.cta-panel h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.cta-panel p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 1.2rem;
    line-height: 1.8;
}

.cta-panel .primary-action {
    background: #fff;
    color: var(--brand-red);
}

.scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-red);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .hero-grid,
    .story-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 780px) {
    .header {
        min-height: 84px;
    }

    .header .container-xl {
        display: flex;
    }

    .navmenu ul {
        gap: 16px;
        overflow-x: auto;
        max-width: 56vw;
        padding-bottom: 6px;
    }

    .logo .sitename {
        display: none;
    }

    .home-hero {
        padding-top: 42px;
    }

    .hero-media,
    .hero-media > img {
        min-height: 360px;
        height: 360px;
    }

    .hero-copy h1,
    .hero-copy h1 strong {
        font-size: 2.55rem;
    }

    .story-gallery,
    .form-grid,
    .schedule-options,
    .schedule-row {
        grid-template-columns: 1fr;
    }

    .story-gallery .large,
    .story-gallery img {
        height: 260px;
    }
}

/* Polished navigation, footer, contact page, and admin actions */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(176, 0, 0, 0.08);
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.06);
    backdrop-filter: blur(14px);
}

.header-inner {
    gap: 24px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(176, 0, 0, 0.16);
    border-radius: 8px;
    background: #fff;
    color: var(--brand-red);
    font-size: 1.35rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 42px;
    border: 1px solid rgba(176, 0, 0, 0.16);
    border-radius: 8px;
    color: var(--brand-red);
    font-weight: 800;
    text-decoration: none;
}

.site-footer {
    margin-top: 70px;
    background: #161819;
    color: #f7f7f7;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1.1fr 1fr;
    gap: 34px;
    padding: 58px 16px 44px;
}

.footer-brand img {
    max-width: 285px;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1) grayscale(1);
}

.footer-brand p,
.footer-cta p,
.footer-contact p {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.9;
}

.footer-links h3,
.footer-contact h3,
.footer-cta h3 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.footer-links a {
    display: block;
    margin: 11px 0;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-social a:hover {
    color: #fff;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i,
.footer-social a {
    color: #ffdddd;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.footer-social a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    text-decoration: none;
}

.footer-action,
.footer-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 16px;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
}

.footer-action {
    background: var(--brand-red);
    color: #fff;
}

.footer-map {
    margin-inline-start: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 16px;
    color: rgba(255, 255, 255, 0.68);
}

.contact-hero {
    padding: 96px 0 54px;
    background:
        radial-gradient(circle at 12% 0%, rgba(176, 0, 0, 0.09), transparent 30%),
        linear-gradient(180deg, #fff 0%, #fff8f8 100%);
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 34px;
    align-items: stretch;
}

.contact-copy h1 {
    max-width: 830px;
    margin: 16px 0;
    color: var(--brand-dark);
    font-size: clamp(2.2rem, 4vw, 4.4rem);
    font-weight: 800;
    line-height: 1.25;
}

.contact-copy p {
    max-width: 720px;
    color: var(--text-muted);
    font-size: 1.12rem;
    line-height: 2;
}

.contact-actions,
.admin-head-actions,
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.contact-actions a {
    gap: 8px;
}

.contact-panel,
.map-card,
.contact-form-card,
.contact-card {
    border: 1px solid rgba(176, 0, 0, 0.1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(16, 24, 40, 0.08);
}

.contact-panel {
    padding: 32px;
    border-inline-start: 5px solid var(--brand-red);
}

.contact-panel-icon,
.contact-card i,
.map-card > i {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 8px;
    background: #f8e2e2;
    color: var(--brand-red);
    font-size: 1.45rem;
}

.contact-panel h2,
.map-card h2,
.contact-form-card h2 {
    margin: 18px 0 10px;
    color: var(--brand-dark);
    font-weight: 800;
}

.contact-details {
    padding-top: 44px;
}

.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.contact-card {
    display: grid;
    gap: 12px;
    min-height: 190px;
    padding: 22px;
    color: inherit;
    text-decoration: none;
}

.contact-card span {
    color: var(--text-muted);
    font-weight: 700;
}

.contact-card strong {
    color: var(--brand-dark);
    font-size: 1.06rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.contact-experience {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 22px;
    margin-top: 24px;
}

.map-card,
.contact-form-card {
    padding: 30px;
}

.map-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
}

.map-card p,
.contact-form-card p {
    color: var(--text-muted);
    line-height: 1.9;
}

.admin-section .container {
    max-width: 1240px;
}

.admin-page-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 26px;
    padding: 24px;
    border: 1px solid rgba(176, 0, 0, 0.08);
    border-radius: 8px;
    background: linear-gradient(135deg, #fff 0%, #fff8f8 100%);
}

.admin-page-head h2 {
    margin: 6px 0;
    color: var(--brand-dark);
    font-weight: 800;
}

.admin-page-head p,
.admin-kicker,
.muted {
    color: var(--text-muted);
}

.admin-kicker {
    font-weight: 800;
}

.admin-table-card {
    border: 1px solid rgba(176, 0, 0, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(16, 24, 40, 0.07);
}

.admin-table-card .table {
    margin-bottom: 0;
    vertical-align: middle;
}

.admin-table-card thead th {
    padding: 16px;
    border-bottom: 1px solid rgba(176, 0, 0, 0.1);
    background: #fff8f8;
    color: var(--brand-dark);
    font-weight: 800;
}

.admin-table-card tbody td {
    padding: 16px;
}

.admin-section .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    border-radius: 8px;
    border-width: 1px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.admin-section .btn-sm {
    min-height: 36px;
    padding: 8px 12px;
}

.admin-section .btn-success,
.admin-section .btn-primary,
.admin-main-action {
    border-color: var(--brand-red);
    background: var(--brand-red);
    color: #fff;
}

.admin-section .btn-warning {
    border-color: #e5b34e;
    background: #fff6df;
    color: #7a4b00;
}

.admin-section .btn-danger {
    border-color: #b00000;
    background: #b00000;
    color: #fff;
}

.admin-section .btn-info,
.admin-section .btn-outline-primary {
    border-color: rgba(176, 0, 0, 0.22);
    background: #fff;
    color: var(--brand-red);
}

.admin-section .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(176, 0, 0, 0.13);
}

.admin-actions form {
    margin: 0;
}

.admin-thumb,
.admin-avatar {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
}

.admin-avatar {
    border-radius: 50%;
}

.admin-avatar-placeholder {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 50%;
    background: #f2f4f7;
    color: #6b7280;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eaf7ef;
    color: #14783f;
    font-weight: 800;
}

.status-pill.is-hidden {
    background: #f2f4f7;
    color: #667085;
}

.status-pill.is-neutral {
    background: #f2f4f7;
    color: #475467;
}

.admin-filter-form {
    margin-bottom: 22px;
}

.status-form select {
    min-width: 130px;
    min-height: 38px;
    padding: 7px 10px;
    border: 1px solid #d8dde5;
    border-radius: 8px;
    background: #fff;
    font: inherit;
}

.facebook-preview {
    background: #fff;
}

.facebook-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 24px;
    align-items: center;
    padding: 28px;
    border: 1px solid rgba(176, 0, 0, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(16, 24, 40, 0.07);
}

.facebook-panel h2 {
    margin: 12px 0;
    color: var(--brand-dark);
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    font-weight: 800;
}

.facebook-panel p {
    color: var(--text-muted);
    line-height: 1.9;
}

.facebook-panel iframe,
.facebook-placeholder {
    width: 100%;
    min-height: 330px;
    border: 0;
    border-radius: 8px;
}

.facebook-placeholder {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    border: 1px dashed rgba(176, 0, 0, 0.2);
    background: #fff8f8;
    color: var(--brand-dark);
    text-align: center;
}

.facebook-placeholder i {
    color: #1877f2;
    font-size: 2rem;
}

@media (max-width: 860px) {
    .facebook-panel {
        grid-template-columns: 1fr;
        padding: 20px 16px;
    }

    .facebook-panel iframe,
    .facebook-placeholder {
        min-height: 240px;
    }
}

@media (max-width: 980px) {
    .nav-toggle {
        display: grid;
        order: 3;
    }

    .site-header .navmenu {
        position: fixed;
        top: 84px;
        left: 16px;
        right: 16px;
        display: none;
        padding: 14px;
        border: 1px solid rgba(176, 0, 0, 0.12);
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 24px 60px rgba(16, 24, 40, 0.18);
    }

    .nav-open .site-header .navmenu {
        display: block;
    }

    .site-header .navmenu ul {
        display: grid;
        max-width: none;
        gap: 4px;
        overflow: visible;
        padding: 0;
    }

    .site-header .navmenu a,
    .dropdown-button {
        display: block;
        width: 100%;
        padding: 12px 14px;
        border-radius: 8px;
    }

    .header-actions {
        margin-inline-start: auto;
    }

    .footer-grid,
    .contact-hero-grid,
    .contact-experience {
        grid-template-columns: 1fr;
    }

    .contact-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-page-head {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .nav-booking {
        display: none;
    }

    .contact-card-grid,
    .map-card {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
    }

    .admin-actions,
    .admin-head-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-actions .btn,
    .admin-actions form,
    .admin-actions button,
    .admin-head-actions .btn {
        width: 100%;
    }
}

/* Dedicated admin panel shell */
.admin-shell-body {
    min-height: 100vh;
    margin: 0;
    background: #f6f7f9;
    color: #182126;
    font-family: "Cairo", sans-serif;
}

.admin-shell {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 22px 18px;
    background: #17191b;
    color: #fff;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-brand {
    display: grid;
    gap: 12px;
    padding: 10px 10px 20px;
    color: #fff;
    text-decoration: none;
}

.admin-brand img {
    width: 100%;
    max-width: 230px;
    height: auto;
    filter: brightness(0) invert(1) grayscale(1);
}

.admin-brand span {
    display: inline-flex;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(176, 0, 0, 0.18);
    color: #ffd8d8;
    font-size: 0.88rem;
    font-weight: 800;
}

.admin-sidebar-nav {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.admin-sidebar-nav a,
.admin-sidebar-actions a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
    font-weight: 800;
}

.admin-sidebar-nav a i,
.admin-sidebar-actions a i {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffdada;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-actions a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.admin-sidebar-nav a.active {
    background: #fff;
    color: #17191b;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.admin-sidebar-nav a.active i {
    background: var(--brand-red);
    color: #fff;
}

.admin-sidebar-actions {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-main {
    min-width: 0;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 78px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(176, 0, 0, 0.08);
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.06);
    backdrop-filter: blur(14px);
}

.admin-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(176, 0, 0, 0.16);
    border-radius: 8px;
    background: #fff;
    color: var(--brand-red);
    font-size: 1.35rem;
}

.admin-topbar-title {
    display: grid;
    gap: 2px;
}

.admin-topbar-title span {
    color: #667085;
    font-size: 0.88rem;
    font-weight: 700;
}

.admin-topbar-title strong {
    color: #172025;
    font-size: 1.15rem;
    font-weight: 800;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-user form {
    margin: 0;
}

.admin-lang,
.admin-user-chip,
.admin-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid rgba(176, 0, 0, 0.12);
    border-radius: 8px;
    background: #fff;
    color: #172025;
    text-decoration: none;
    font-weight: 800;
}

.admin-lang,
.admin-logout {
    color: var(--brand-red);
}

.admin-logout {
    cursor: pointer;
}

.admin-content {
    padding: 28px;
}

.admin-content .section,
.admin-section.section {
    padding: 0;
}

.admin-content .container {
    max-width: none;
    padding: 0;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.admin-stat-card,
.admin-panel {
    border: 1px solid rgba(176, 0, 0, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(16, 24, 40, 0.07);
}

.admin-stat-card {
    display: grid;
    gap: 10px;
    min-height: 158px;
    padding: 22px;
}

.admin-stat-card i {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 8px;
    background: #f8e2e2;
    color: var(--brand-red);
    font-size: 1.35rem;
}

.admin-stat-card span {
    color: #667085;
    font-weight: 800;
}

.admin-stat-card strong {
    color: #172025;
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1;
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
}

.admin-panel {
    padding: 22px;
}

.admin-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.admin-panel h3,
.admin-form-section-title h3 {
    margin: 0;
    color: #172025;
    font-weight: 800;
}

.admin-shortcuts {
    align-self: start;
}

.admin-shortcuts a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    margin-top: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(176, 0, 0, 0.1);
    border-radius: 8px;
    background: #fff8f8;
    color: #172025;
    text-decoration: none;
    font-weight: 800;
}

.admin-shortcuts a i {
    color: var(--brand-red);
}

.admin-form {
    display: grid;
    gap: 22px;
}

.admin-form-section-title {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(176, 0, 0, 0.08);
}

.admin-form-section-title i {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: #f8e2e2;
    color: var(--brand-red);
    font-size: 1.25rem;
}

.admin-form-section-title p,
.schedule-admin-head p {
    margin: 6px 0 0;
    color: #667085;
    line-height: 1.7;
}

.admin-form .form-grid {
    gap: 18px;
}

.admin-form .form-field {
    display: grid;
    gap: 8px;
}

.admin-form label {
    color: #172025;
    font-weight: 800;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #d8dde5;
    border-radius: 8px;
    background: #fff;
    color: #172025;
    font: inherit;
}

.admin-form textarea {
    min-height: 132px;
    resize: vertical;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 4px rgba(176, 0, 0, 0.08);
}

.admin-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 8px;
}

.admin-note {
    display: flex;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(176, 0, 0, 0.12);
    border-radius: 8px;
    background: #fff8f8;
    color: #344054;
}

.admin-note i {
    color: var(--brand-red);
    font-size: 1.25rem;
}

.admin-note p {
    margin: 0;
    line-height: 1.8;
}

.admin-toggle-check {
    align-self: end;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(176, 0, 0, 0.1);
    border-radius: 8px;
    background: #fffafa;
}

.booking-success-section {
    padding: 92px 0 70px;
    background:
        radial-gradient(circle at 12% 0%, rgba(176, 0, 0, 0.08), transparent 32%),
        linear-gradient(180deg, #fff 0%, #fff8f8 100%);
}

.booking-success-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 38px;
    border: 1px solid rgba(176, 0, 0, 0.1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(16, 24, 40, 0.1);
    text-align: center;
}

.success-icon {
    display: grid;
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 50%;
    background: #eaf7ef;
    color: #14783f;
    font-size: 2.2rem;
}

.booking-success-card h1 {
    margin: 12px 0;
    color: var(--brand-dark);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
}

.booking-success-card > p {
    max-width: 650px;
    margin: 0 auto 28px;
    color: var(--text-muted);
    line-height: 1.9;
}

.booking-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0;
    text-align: start;
}

.booking-summary div {
    min-height: 104px;
    padding: 18px;
    border: 1px solid rgba(176, 0, 0, 0.09);
    border-radius: 8px;
    background: #fffafa;
}

.booking-summary span {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-weight: 800;
}

.booking-summary strong {
    color: var(--brand-dark);
    font-size: 1.08rem;
    overflow-wrap: anywhere;
}

.success-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

@media (max-width: 780px) {
    .booking-summary {
        grid-template-columns: 1fr;
    }

    .booking-success-card {
        padding: 26px 18px;
    }
}

.admin-alert {
    border: 1px solid rgba(176, 0, 0, 0.16);
    border-radius: 8px;
    background: #fff4f4;
    color: #7a0000;
}

.schedule-admin {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(176, 0, 0, 0.1);
    border-radius: 8px;
    background: #fffafa;
}

.schedule-admin-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

#schedule-rows {
    display: grid;
    gap: 10px;
}

.admin-form .schedule-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.2fr auto;
    gap: 10px;
    align-items: center;
}

.remove-schedule-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #b00000;
    border-radius: 8px;
    background: #b00000;
    color: #fff;
    font-weight: 800;
}

@media (max-width: 1180px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

/* Footer refresh */
.site-footer {
    margin-top: 56px;
    background: #17191b;
    color: #fff;
}

.footer-accent {
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--brand-red) 18%, #d52525 50%, var(--brand-red) 82%, transparent 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.25fr) minmax(220px, 0.9fr) minmax(260px, 1fr) minmax(240px, 0.85fr);
    gap: 28px;
    padding: 48px 16px 36px;
}

.footer-brand,
.footer-links,
.footer-contact,
.footer-cta {
    min-width: 0;
}

.footer-brand img {
    width: min(290px, 100%);
    max-height: none;
    filter: brightness(0) invert(1) grayscale(1);
}

.footer-brand p {
    max-width: 420px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.85;
}

.footer-links h3,
.footer-contact h3,
.footer-cta h3 {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 10px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-cta h3::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42px;
    height: 2px;
    border-radius: 99px;
    background: var(--brand-red);
}

body.ltr .footer-links h3::after,
body.ltr .footer-contact h3::after,
body.ltr .footer-cta h3::after {
    right: auto;
    left: 0;
}

.footer-link-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 14px;
}

.footer-link-list a,
.footer-contact-list a {
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
}

.footer-link-list a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    font-weight: 700;
}

.footer-link-list a:hover,
.footer-contact-list a:hover,
.footer-social a:hover {
    color: #fff;
}

.footer-contact-list {
    display: grid;
    gap: 12px;
}

.footer-contact-list p {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: start;
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.75;
}

.footer-contact-list i {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffd8d8;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: #ffd8d8;
    text-decoration: none;
}

.footer-cta {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
}

.footer-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.73);
    line-height: 1.8;
}

.footer-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
}

.footer-action,
.footer-map {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
}

.footer-action {
    background: var(--brand-red);
    color: #fff;
}

.footer-map {
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .site-footer {
        margin-top: 38px;
        text-align: start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 34px 16px 28px;
    }

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

    .footer-brand img {
        width: min(235px, 86%);
        margin-inline: auto;
    }

    .footer-brand p {
        margin-inline: auto;
        font-size: 0.95rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-link-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 10px;
    }

    .footer-link-list a {
        min-height: 34px;
        padding: 7px 9px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.045);
        font-size: 0.92rem;
    }

    .footer-contact-list p {
        grid-template-columns: 30px 1fr;
        font-size: 0.94rem;
    }

    .footer-cta {
        padding: 16px;
    }

    .footer-cta-actions {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom .container {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .footer-link-list,
    .footer-cta-actions {
        grid-template-columns: 1fr;
    }
}

/* Final desktop header and admin appointments polish */
@media (min-width: 1181px) {
    .site-header {
        min-height: 86px !important;
    }

    .site-header .header-inner,
    .header .container-xl {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        gap: 22px !important;
        align-items: center !important;
        min-height: 86px !important;
    }

    body.rtl .site-header .logo {
        grid-column: 3 !important;
        justify-self: end !important;
    }

    body.rtl .site-header .navmenu {
        grid-column: 2 !important;
        justify-self: center !important;
        min-width: 0 !important;
    }

    body.rtl .site-header .header-actions {
        grid-column: 1 !important;
        justify-self: start !important;
    }

    body.ltr .site-header .logo {
        grid-column: 1 !important;
        justify-self: start !important;
    }

    body.ltr .site-header .navmenu {
        grid-column: 2 !important;
        justify-self: center !important;
        min-width: 0 !important;
    }

    body.ltr .site-header .header-actions {
        grid-column: 3 !important;
        justify-self: end !important;
    }

    .site-header .logo {
        display: flex !important;
        align-items: center !important;
        min-width: 220px !important;
        max-width: 300px !important;
    }

    .site-header .logo img {
        display: block !important;
        width: min(280px, 100%) !important;
        max-height: 54px !important;
        object-fit: contain !important;
    }

    .site-header .navmenu ul {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: clamp(14px, 1.65vw, 30px) !important;
        justify-content: center !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    .site-header .navmenu a {
        font-size: clamp(0.92rem, 0.95vw, 1.05rem) !important;
        white-space: nowrap !important;
    }

    .site-header .header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        min-width: max-content !important;
    }

    .site-header .language-switch,
    .site-header .nav-booking {
        min-height: 44px !important;
        padding: 0 18px !important;
        border-radius: 8px !important;
    }
}

.admin-section > .admin-page-head {
    min-height: auto;
}

.admin-section .admin-page-head {
    align-items: center;
    padding: 22px 28px;
}

.admin-section .admin-page-head h2 {
    margin: 4px 0 8px;
    font-size: 1.7rem;
}

.admin-section .admin-page-head p {
    margin: 0;
    max-width: 720px;
    line-height: 1.7;
}

.admin-filter-form {
    padding: 20px;
}

.admin-filter-form .form-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.3fr) minmax(180px, 1fr) minmax(160px, 0.9fr) minmax(150px, 0.8fr) minmax(150px, 0.8fr);
    gap: 14px;
    align-items: end;
}

.admin-filter-form .form-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.admin-filter-form label {
    margin: 0;
    color: #172025;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.4;
}

.admin-filter-form input,
.admin-filter-form select {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid #d8dde5;
    border-radius: 8px;
    background: #fff;
    font: inherit;
    font-size: 0.95rem;
}

.admin-filter-form .admin-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
    padding: 0;
}

.admin-filter-form .btn {
    min-height: 42px;
    padding: 9px 16px;
}

.admin-table-card {
    overflow: hidden;
}

.admin-table-card .table th {
    white-space: nowrap;
}

.status-form select {
    min-height: 38px;
    font-size: 0.92rem;
}

@media (max-width: 1280px) {
    .admin-filter-form .form-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .admin-section .admin-page-head {
        align-items: stretch;
        padding: 18px;
    }

    .admin-section .admin-page-head h2 {
        font-size: 1.35rem;
    }

    .admin-filter-form {
        padding: 16px;
    }

    .admin-filter-form .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .admin-filter-form .admin-form-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .admin-filter-form .admin-form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 980px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: fixed;
        inset-block: 0;
        inset-inline-start: 0;
        z-index: 200;
        width: min(320px, 86vw);
        transform: translateX(110%);
        transition: transform 0.2s ease;
    }

    .ltr .admin-sidebar {
        transform: translateX(-110%);
    }

    .admin-sidebar-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-menu-toggle {
        display: grid;
    }

    .admin-topbar {
        padding: 12px 16px;
    }

    .admin-content {
        padding: 18px;
    }

    .admin-user-chip {
        display: none;
    }

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

@media (max-width: 680px) {
    .admin-stats-grid,
    .admin-form .form-grid,
    .admin-form .schedule-row {
        grid-template-columns: 1fr;
    }

    .admin-topbar {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .admin-user {
        width: 100%;
        justify-content: space-between;
    }

    .admin-panel-head,
    .schedule-admin-head {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Final mobile stability pass */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
video,
canvas,
svg {
    max-width: 100%;
}

.main {
    min-width: 0;
}

@media (max-width: 1180px) {
    .site-header .nav-toggle {
        display: grid;
    }

    .site-header .navmenu {
        position: fixed;
        top: 76px;
        left: 14px;
        right: 14px;
        z-index: 1200;
        display: none;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        padding: 10px;
        border: 1px solid rgba(176, 0, 0, 0.12);
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 24px 60px rgba(16, 24, 40, 0.2);
    }

    .nav-open .site-header .navmenu {
        display: block;
    }

    .site-header .navmenu ul {
        display: grid;
        max-width: none;
        gap: 4px;
        margin: 0;
        padding: 0;
        overflow: visible;
        list-style: none;
    }

    .site-header .navmenu li {
        width: 100%;
    }

    .site-header .navmenu a,
    .site-header .dropdown-button {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;
        border-radius: 8px;
        white-space: normal;
    }

    .site-header .navmenu .dropdown ul {
        position: static;
        display: grid;
        margin: 6px 0 0;
        padding: 6px;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: 1px solid rgba(176, 0, 0, 0.08);
        background: #fff8f8;
    }
}

@media (max-width: 767px) {
    :root {
        scroll-padding-top: 82px;
    }

    body {
        font-size: 15px;
    }

    .container,
    .container-fluid,
    .container-xl {
        width: 100%;
        max-width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }

    .site-header {
        min-height: 72px;
    }

    .header-inner,
    .header .container-xl {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 72px;
        gap: 8px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .site-header .logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .site-header .logo img {
        display: block;
        width: min(210px, 48vw);
        max-height: 48px;
        object-fit: contain;
    }

    .header-actions {
        flex: 0 0 auto;
        gap: 6px;
        margin-inline-start: 0;
    }

    .language-switch,
    .nav-toggle {
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 0;
    }

    .nav-booking {
        display: none !important;
    }

    .site-header .navmenu {
        top: 74px;
    }

    .marketing-hero,
    .simple-marketing .section,
    .listing-hero.section,
    .service-detail.section,
    .contact-hero,
    .booking-section,
    .booking-success-section {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .marketing-hero-grid,
    .intro-grid,
    .service-detail-grid,
    .contact-hero-grid,
    .contact-experience,
    .hero-grid,
    .story-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .marketing-copy h1,
    .listing-hero h1,
    .service-detail-copy h1,
    .contact-copy h1,
    .hero-copy h1,
    .hero-copy h1 strong {
        font-size: clamp(1.85rem, 9vw, 2.55rem);
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .marketing-copy p,
    .listing-hero p,
    .service-detail-copy p,
    .contact-copy p,
    .intro-grid p,
    .section-title p {
        font-size: 1rem;
        line-height: 1.9;
    }

    .marketing-actions,
    .hero-actions,
    .contact-actions,
    .success-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .primary-action,
    .secondary-action,
    .booking-submit,
    .footer-action,
    .footer-map {
        width: 100%;
        min-height: 48px;
        text-align: center;
    }

    .marketing-media img,
    .service-detail-media img,
    .hero-media,
    .hero-media > img {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .trust-strip,
    .simple-card-grid,
    .why-grid,
    .doctor-simple-grid,
    .hospital-gallery-grid,
    .testimonials-grid,
    .contact-card-grid,
    .footer-grid,
    .booking-summary,
    .form-grid,
    .schedule-options {
        grid-template-columns: 1fr !important;
    }

    .simple-service-card p {
        min-height: 0;
    }

    .simple-service-card img {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .why-card,
    .contact-card {
        min-height: 0;
    }

    .doctor-mini-card {
        grid-template-columns: 72px 1fr;
        gap: 12px;
    }

    .doctor-mini-card img {
        width: 72px;
        height: 72px;
    }

    .gallery-preview-head,
    .simple-cta,
    .footer-bottom .container,
    .admin-page-head {
        align-items: stretch;
        flex-direction: column;
    }

    .gallery-strip {
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto;
    }

    .gallery-strip img,
    .gallery-strip img:first-child,
    .gallery-tile {
        grid-row: auto;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .story-gallery {
        grid-template-columns: 1fr !important;
    }

    .story-gallery img,
    .story-gallery .large {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .booking-panel,
    .booking-success-card,
    .contact-panel,
    .map-card,
    .contact-form-card,
    .admin-panel {
        padding: 20px 16px;
    }

    .booking-form input,
    .booking-form select,
    .booking-form textarea,
    .admin-form input,
    .admin-form select,
    .admin-form textarea {
        min-width: 0;
        width: 100%;
        font-size: 16px;
    }

    .schedule-option {
        width: 100%;
    }

    .footer-grid {
        gap: 24px;
        padding: 42px 16px 34px;
    }

    .footer-brand img {
        max-width: 230px;
    }

    .footer-map {
        margin-inline-start: 0;
    }

    .scroll-top {
        display: none !important;
    }

    .mobile-sticky-actions {
        right: 10px;
        left: 10px;
        bottom: 10px;
    }
}

@media (max-width: 420px) {
    .container,
    .container-fluid,
    .container-xl {
        padding-right: 12px;
        padding-left: 12px;
    }

    .site-header .logo img {
        width: min(180px, 44vw);
        max-height: 42px;
    }

    .language-switch,
    .nav-toggle {
        width: 38px;
        min-width: 38px;
        height: 38px;
        min-height: 38px;
        font-size: 0.9rem;
    }

    .marketing-copy h1,
    .listing-hero h1,
    .service-detail-copy h1,
    .contact-copy h1 {
        font-size: 1.75rem;
    }

    .doctor-mini-card {
        grid-template-columns: 1fr;
    }

    .doctor-mini-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }
}

/* Admin mobile drawer fix */
.admin-sidebar-backdrop {
    display: none;
}

@media (max-width: 980px) {
    .admin-sidebar {
        right: 0;
        left: auto;
        inset-inline-start: auto;
        transform: translateX(110%);
        z-index: 1200;
        box-shadow: -22px 0 52px rgba(0, 0, 0, 0.22);
    }

    .ltr .admin-sidebar {
        right: auto;
        left: 0;
        transform: translateX(-110%);
        box-shadow: 22px 0 52px rgba(0, 0, 0, 0.22);
    }

    .admin-sidebar-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1100;
        background: rgba(16, 24, 40, 0.42);
    }

    .admin-sidebar-open .admin-sidebar-backdrop {
        display: block;
    }

    .admin-menu-toggle {
        position: relative;
        z-index: 100;
        display: grid !important;
    }
}

/* Shorter home on mobile */
@media (max-width: 767px) {
    .home-page.simple-marketing .marketing-hero,
    .home-page.simple-marketing .section {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .home-page .marketing-hero-grid {
        gap: 18px;
    }

    .home-page .marketing-media {
        order: -1;
    }

    .home-page .marketing-media img {
        aspect-ratio: 16 / 9;
    }

    .home-page .marketing-copy h1 {
        margin: 8px 0;
        font-size: clamp(1.65rem, 7.5vw, 2.15rem);
    }

    .home-page .marketing-copy p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .home-page .trust-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px;
        margin-top: 16px;
    }

    .home-page .trust-strip div {
        padding: 10px 8px;
        text-align: center;
    }

    .home-page .trust-strip strong {
        font-size: 1rem;
    }

    .home-page .trust-strip span {
        font-size: 0.76rem;
        line-height: 1.35;
    }

    .home-page .marketing-intro .clean-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 12px;
    }

    .home-page .clean-list li {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    .home-page .compact-title h2,
    .home-page .gallery-preview-head h2,
    .home-page .simple-cta h2 {
        font-size: 1.45rem;
        line-height: 1.35;
    }

    .home-page .section-title,
    .home-page .compact-title {
        margin-bottom: 18px;
    }

    .home-page .section-title p,
    .home-page .compact-title p,
    .home-page .gallery-preview-head p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .home-page .why-grid,
    .home-page .simple-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    .home-page .why-card {
        min-height: 0;
        padding: 14px 12px;
    }

    .home-page .why-card i {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .home-page .why-card h3,
    .home-page .simple-service-card h3 {
        margin: 8px 0 4px;
        font-size: 0.96rem;
        line-height: 1.35;
    }

    .home-page .why-card p,
    .home-page .simple-service-card p {
        display: none;
    }

    .home-page .simple-service-card img {
        aspect-ratio: 4 / 3;
    }

    .home-page .simple-service-card div {
        padding: 12px;
    }

    .home-page .simple-service-card span,
    .home-page .simple-service-card a {
        font-size: 0.78rem;
    }

    .home-page .section-action {
        margin-top: 16px;
    }

    .home-page .gallery-preview-head {
        gap: 12px;
        margin-bottom: 14px;
    }

    .home-page .gallery-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px;
    }

    .home-page .gallery-strip img {
        aspect-ratio: 1 / 1;
    }

    .home-page .gallery-strip img:nth-child(n+5) {
        display: none;
    }

    .home-page .doctor-simple-grid {
        gap: 10px;
    }

    .home-page .doctor-mini-card {
        grid-template-columns: 58px 1fr;
        padding: 10px;
    }

    .home-page .doctor-mini-card img {
        width: 58px;
        height: 58px;
        aspect-ratio: 1 / 1;
    }

    .home-page .doctor-mini-card h3 {
        font-size: 0.96rem;
    }

    .home-page .doctor-mini-card p {
        margin-bottom: 4px;
        font-size: 0.84rem;
    }

    .home-page .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .home-page .testimonial-card {
        padding: 16px;
    }

    .home-page .testimonial-card:nth-child(n+3) {
        display: none;
    }
}

/* Mobile polish for doctors, testimonials and CTA */
@media (max-width: 767px) {
    .home-page .doctors-preview,
    .home-page .testimonials-preview,
    .home-page .home-cta {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .home-page .doctors-preview .compact-title,
    .home-page .testimonials-preview .compact-title {
        margin-bottom: 10px;
    }

    .home-page .doctors-preview .section-title,
    .home-page .testimonials-preview .section-title {
        margin-bottom: 10px !important;
    }

    .home-page .doctors-preview .eyebrow,
    .home-page .testimonials-preview .eyebrow {
        min-height: 32px;
        padding: 7px 14px;
        font-size: 0.78rem;
    }

    .home-page .doctors-preview h2,
    .home-page .testimonials-preview h2 {
        max-width: 280px;
        margin-top: 8px;
        margin-bottom: 6px;
        margin-right: auto;
        margin-left: auto;
        font-size: 1.28rem;
        line-height: 1.45;
    }

    .home-page .doctors-preview .section-title p,
    .home-page .testimonials-preview .section-title p {
        max-width: 260px;
        margin-top: 0;
        margin-bottom: 0;
        margin-right: auto;
        margin-left: auto;
        font-size: 0.86rem;
        line-height: 1.75;
    }

    .home-page .doctor-simple-grid {
        display: grid;
        gap: 8px;
    }

    .home-page .doctor-mini-card {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 10px;
        min-height: 76px;
        padding: 10px;
        border-color: rgba(176, 0, 0, 0.08);
        box-shadow: 0 10px 26px rgba(16, 24, 40, 0.04);
    }

    .home-page .doctor-mini-card img {
        width: 54px;
        height: 54px;
        border-radius: 8px;
    }

    .home-page .doctor-mini-card h3 {
        margin: 0 0 2px;
        font-size: 0.88rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .home-page .doctor-mini-card p {
        margin: 0 0 4px;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .home-page .doctor-mini-card a {
        font-size: 0.78rem;
    }

    .home-page .testimonials-grid {
        gap: 8px;
    }

    .home-page .testimonial-card {
        min-height: 0;
        padding: 14px;
        box-shadow: 0 10px 26px rgba(16, 24, 40, 0.04);
    }

    .home-page .testimonial-card i {
        font-size: 1.3rem;
    }

    .home-page .testimonial-card p {
        margin: 8px 0 10px;
        font-size: 0.84rem;
        line-height: 1.7;
    }

    .home-page .testimonial-card strong {
        font-size: 0.82rem;
    }

    .home-page .home-cta {
        padding-top: 18px;
        padding-bottom: 84px;
    }

    .home-page .simple-cta {
        gap: 10px;
        padding: 16px;
        text-align: start;
    }

    .home-page .simple-cta h2 {
        margin-bottom: 6px;
        color: #fff;
        font-size: 1.22rem;
        line-height: 1.35;
    }

    .home-page .simple-cta p {
        display: block;
        color: rgba(255, 255, 255, 0.88);
        font-size: 0.84rem;
        line-height: 1.6;
    }

    .home-page .simple-cta .primary-action {
        min-height: 46px;
        color: var(--brand-red);
    }
}

@media (max-width: 380px) {
    .home-page .doctors-preview h2,
    .home-page .testimonials-preview h2 {
        font-size: 1.16rem;
    }

    .home-page .simple-cta h2 {
        font-size: 1.18rem;
    }
}

@media (max-width: 360px) {
    .home-page .why-grid,
    .home-page .simple-card-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Public mobile menu hard override */
.mobile-menu-head,
.mobile-menu-actions,
.mobile-account-link {
    display: none;
}

@media (max-width: 1180px) {
    body.nav-open,
    body.mobile-nav-active {
        overflow: hidden;
    }

    body.nav-open::before,
    body.mobile-nav-active::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 9980;
        background: rgba(16, 24, 40, 0.48);
        backdrop-filter: blur(3px);
    }

    .site-header {
        z-index: 10000 !important;
        overflow: visible !important;
    }

    .site-header .header-inner {
        position: relative;
        z-index: 10002;
        overflow: visible !important;
    }

    .site-header .nav-toggle {
        position: relative;
        z-index: 10005;
        display: grid !important;
        order: 1;
    }

    .site-header .logo {
        order: 2;
    }

    .site-header .header-actions {
        order: 3;
    }

    body.nav-open .site-header .nav-toggle,
    body.mobile-nav-active .site-header .nav-toggle {
        position: fixed;
        top: 18px;
        right: 18px;
        background: #fff;
        box-shadow: 0 10px 26px rgba(16, 24, 40, 0.16);
    }

    body.ltr.nav-open .site-header .nav-toggle,
    body.ltr.mobile-nav-active .site-header .nav-toggle {
        right: auto;
        left: 18px;
    }

    body.rtl.nav-open .site-header .nav-toggle,
    body.rtl.mobile-nav-active .site-header .nav-toggle {
        right: 18px;
        left: auto;
    }

    .site-header .navmenu {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        bottom: 0 !important;
        z-index: 10003 !important;
        display: none !important;
        width: min(330px, 88vw) !important;
        max-width: min(330px, 88vw) !important;
        height: 100vh !important;
        max-height: 100vh !important;
        margin: 0 !important;
        padding: 18px 16px !important;
        overflow-y: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-shadow: -24px 0 70px rgba(16, 24, 40, 0.28) !important;
    }

    body.ltr .site-header .navmenu {
        right: auto !important;
        left: 0 !important;
        box-shadow: 24px 0 70px rgba(16, 24, 40, 0.28) !important;
    }

    body.rtl .site-header .navmenu {
        right: 0 !important;
        left: auto !important;
        box-shadow: -24px 0 70px rgba(16, 24, 40, 0.28) !important;
    }

    body.nav-open .site-header .navmenu,
    body.mobile-nav-active .site-header .navmenu {
        display: block !important;
    }

    .mobile-menu-head {
        display: grid !important;
        gap: 8px;
        padding: 6px 0 18px;
        margin-bottom: 10px;
        border-bottom: 1px solid rgba(176, 0, 0, 0.1);
    }

    .mobile-menu-head img {
        width: 220px;
        max-width: 100%;
        height: auto;
    }

    .mobile-menu-head span {
        color: var(--brand-red);
        font-size: 0.9rem;
        font-weight: 800;
    }

    .site-header .navmenu > ul,
    body.mobile-nav-active .site-header .navmenu > ul {
        position: static !important;
        inset: auto !important;
        display: grid !important;
        gap: 7px !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        list-style: none !important;
    }

    .site-header .navmenu li {
        display: block !important;
        width: 100% !important;
    }

    .site-header .desktop-account {
        display: none !important;
    }

    .site-header .mobile-account-link {
        display: block !important;
    }

    .site-header .mobile-account-link form {
        margin: 0;
    }

    .site-header .navmenu a,
    .site-header .dropdown-button {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        min-height: 48px !important;
        padding: 12px 14px !important;
        border-radius: 8px !important;
        color: #172025 !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        white-space: normal !important;
    }

    .site-header .navmenu a.active,
    .site-header .navmenu a:hover {
        background: #fff2f2 !important;
        color: var(--brand-red) !important;
    }

    .site-header .mobile-account-link a,
    .site-header .mobile-account-link .dropdown-button {
        background: #fafafa !important;
        color: #344054 !important;
    }

    .mobile-menu-actions {
        display: block !important;
        position: sticky;
        bottom: 0;
        margin-top: 16px;
        padding-top: 14px;
        background: linear-gradient(180deg, rgba(255,255,255,0), #fff 28%);
    }

    .mobile-menu-actions a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 50px !important;
        border-radius: 8px !important;
        background: var(--brand-red) !important;
        color: #fff !important;
        text-decoration: none !important;
        font-weight: 800 !important;
    }
}
