/* ========== Beer Slider Styles ========== */
.beer-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    touch-action: none;
    display: block;
    isolation: isolate;
    --beer-slider-position: 50%;
    --beer-handle-size: 56px;
    --beer-divider-width: 3px;
}

.beer-slider > img:first-of-type {
    transition: none !important;
    clip-path: inset(0 0 0 calc(var(--beer-slider-position, 50%)));
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

body.hero-image-hidden .hero-visual,
body.hero-image-hidden .hero-figure,
body.hero-image-hidden .hero-figure::after,
body.hero-image-hidden #hero-image {
    display: none !important;
}

body.hero-image-hidden .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    justify-content: center;
    align-content: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 0 80px;
}

body.hero-image-hidden .hero-text {
    text-align: center !important;
    align-items: center;
    justify-self: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 auto;
}

body.hero-image-hidden .hero-actions {
    justify-content: center;
    width: 100%;
}

.beer-slider .beer-reveal {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    will-change: clip-path;
    clip-path: inset(0 calc(100% - var(--beer-slider-position, 50%)) 0 0);
    z-index: 2;
    transition: none !important;
}

.beer-slider .beer-reveal img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.beer-slider .beer-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(var(--beer-slider-position, 50%));
    transform: translateX(-50%);
    width: auto;
    padding: 0 10px;
    background: transparent;
    border: none;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: inherit;
    z-index: 4;
    touch-action: none;
    outline: none;
}

.beer-slider .beer-handle__divider {
    width: var(--beer-divider-width, 4px);
    height: 40px;
    border-radius: 999px;
    background: var(--beer-handle-color, #fff);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.beer-slider .beer-handle__arrow {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.45);
    pointer-events: none;
    line-height: 1;
}

.case-card .beer-slider {
    width: 100%;
    max-width: 320px;
    min-width: 140px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow:
        0 0 0 8px var(--primary),
        0 0 0 11px rgba(255, 255, 255, 0.95);
    margin: 0 auto;
}

@media (max-width: 700px) {
    .case-card .beer-slider {
        width: 90vw;
        max-width: 98vw;
        min-width: 100px;
    }
}

.case-card .beer-slider > img:first-of-type,
.beer-slider img,
.beer-slider .beer-reveal img {
    border-radius: 0 !important;
    padding: 0 !important;
    border: none !important;
    object-fit: cover;
}

.circle-wrapper {
    padding: 8px;
    border-radius: 50%;
    background: #b9935a;
    display: inline-block;
}
/* =========================================
   1. Fonts
   ========================================= */
@font-face { font-family: "Cairo Local"; src: url("../fonts/Cairo-200.woff2") format("woff2"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Cairo Local"; src: url("../fonts/Cairo-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Cairo Local"; src: url("../fonts/Cairo-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cairo Local"; src: url("../fonts/Cairo-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cairo Local"; src: url("../fonts/Cairo-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cairo Local"; src: url("../fonts/Cairo-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cairo Local"; src: url("../fonts/Cairo-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Cairo Local"; src: url("../fonts/Cairo-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

/* =========================================
   2. Variables
   ========================================= */
:root {
    --primary: #0A2A66;
    --secondary: #11C5FF;
    --bg: #f5f5f7;
    --card: #ffffff;
    --text: #0a1a2b;
    --muted: #5c6c86;
    --shadow: 0 15px 45px rgba(10, 42, 102, 0.08);
    --hero-bg-image: url('https://images.unsplash.com/photo-1526256262350-7da7584cf5eb?auto=format&fit=crop&w=1600&q=60');
    --hero-bg-opacity: 0.12;
    --team-gap: 24px;
}

/* =========================================
   3. Global Resets & Basics
   ========================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    font-family: "Cairo Local", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    /* --- FIX: منع التمرير الأفقي والمشاكل الجانبية --- */
    overflow-x: hidden;
    width: 100%;
}

button, input, select, textarea {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding-inline: 24px;
}

/* Utility Classes */
.section-padding {
    padding-block: 60px !important;
}

.centered {
    text-align: center;
    margin-top: 30px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* =========================================
   4. Header & Navigation
   ========================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid rgba(10, 42, 102, 0.08);
    min-height: 80px;
    padding-inline: 20px !important;
}

.site-header .container,
.site-header .container.header-content {
    padding-inline: 20px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 100%;
    min-height: 80px;
    padding-inline: 5px !important;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.logo img {
    height: 48px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--secondary);
    font-weight: 500;
    text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--primary);
}

.header-book-btn {
    font-size: 0.95rem;
    padding: 10px 22px;
    white-space: nowrap;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 999px;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(-45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(45deg);
}

/* =========================================
   5. Buttons & Interactions
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    border: none;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary { background: var(--primary); color: #fff; box-shadow: none; }
.btn.secondary { background: var(--secondary); color: #fff; box-shadow: none; }

.btn.hero-contact-btn {
    background: #fff;
    color: var(--secondary);
    border: none;
    box-shadow: none;
}

.btn.hero-contact-btn:hover,
.btn.hero-contact-btn:focus-visible {
    background: rgba(255, 255, 255, 0.9);
}

.btn.ghost {
    background: transparent;
    border: 1px solid rgba(214, 228, 255, 0.4);
    color: #fff;
}

.btn-tertiary {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn.outline-white {
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    color: #fff;
    background: transparent;
    box-shadow: none;
}

.btn:hover, .btn:focus-visible {
    transform: translateY(-2px);
}

.btn.disabled, .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn.header-book-btn {
    background: var(--primary);
    color: #fff;
}

.btn.header-book-btn:hover,
.btn.header-book-btn:focus-visible {
    background: #061e4c;
    color: #fff;
}

/* Floating Action Button */
.floating-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    border: none;
    box-shadow: var(--shadow);
    cursor: pointer;
    display: grid;
    place-items: center;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-top.hidden-by-dashboard {
    display: none !important;
}

/* =========================================
   6. Hero Section
   ========================================= */
.hero-section {
    background: var(--primary);
    color: #fff;
    padding: 80px 0 10px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg-image);
    background-size: cover;
    background-position: center;
    opacity: var(--hero-bg-opacity);
    pointer-events: none;
    z-index: 0;
}

.hero-section .hero-grid,
.hero-section .hero-text,
.hero-section .hero-media,
.hero-section .hero-visual {
    position: relative;
    z-index: 1;
}

.hero-text .eyebrow {
    display: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
    gap: 40px;
}

.hero-visual img[src=""],
.hero-visual img:not([src]) {
    display: none;
}

.hero-visual:has(img[src=""]),
.hero-visual:has(img:not([src])) {
    display: none;
}

@media (min-width: 1025px) {
    .hero-section {
        padding-bottom: 0;
    }
    .hero-visual {
        align-self: end;
        margin-top: 0;
        margin-bottom: -6px;
    }
}

.hero-grid.hero-grid--no-visual {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    justify-content: center;
    align-content: center;
    max-width: 960px;
    margin: 0 auto;
}

.hero-grid.hero-grid--no-visual .hero-text {
    text-align: center;
    align-items: center;
    justify-self: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 auto;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.hero-grid.hero-grid--no-visual .hero-actions {
    justify-content: center;
    width: 100%;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    color: #fff;
    margin: 0 0 12px;
}

.hero-text .subtitle {
    color: #fff;
    font-size: 1.05rem;
    margin-top: 0;
    margin-bottom: 20px;
}

.placeholder-block:empty {
    position: relative;
    min-height: 1.2em;
    display: block;
}

.placeholder-block:empty::after {
    content: '\00a0';
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
}

.hero-actions .btn[data-root-href="contact"] {
    background: #fff;
    color: var(--secondary);
    border: none;
    box-shadow: none;
}

.hero-media,
.hero-visual {
    align-self: flex-end;
    margin-top: -40px;
}

.hero-figure {
    margin: 0;
    position: relative;
    width: clamp(320px, 36vw, 520px);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-figure.hero-figure--hidden,
.hero-visual.hero-visual--hidden {
    display: none;
}

.hero-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    position: relative;
}

.hero-card img {
    border-radius: 0;
    margin-top: 0;
}

.hero-figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* =========================================
   7. Sections & Components
   ========================================= */

/* Headings */
.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading p {
    color: var(--muted);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    position: relative;
    overflow: visible;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary);
}

/* Services */
.services-carousel {
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.services-track {
    display: flex;
    gap: 24px;
    will-change: transform;
    transition: transform 0.7s ease;
    direction: rtl;
    justify-content: flex-start;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.services-track.is-dragging {
    cursor: grabbing;
    transition: none;
}

.services-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 22px;
    flex-wrap: wrap;
    padding: 0;
}

.services-dots.is-rtl {
    direction: rtl;
    flex-direction: row-reverse;
}

.services-dots[hidden] {
    display: none !important;
}

.services-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid rgba(10, 42, 102, 0.35);
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.services-dot.is-active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(10, 42, 102, 0.18);
}

.services-dot:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 42, 102, 0.18);
}

.service-card {
    background: var(--card);
    border-radius: 28px;
    padding: 36px 28px 28px;
    border: 1px solid rgba(10, 26, 43, 0.08);
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    isolation: isolate;
    flex: 0 0 calc((100% - 48px) / 3);
    direction: rtl;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: rgba(10, 26, 43, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.service-card:hover::before,
.service-card:focus-within::before {
    opacity: 1;
}

.service-card__media {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 8px;
    padding: 12px;
    background: #ffffff;
    border: 3px solid rgba(10, 26, 43, 0.08);
    position: relative;
    z-index: 1;
}

.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.service-card__body {
    text-align: center;
    z-index: 1;
}

.service-title {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.service-card__body p {
    color: var(--muted);
    font-size: 0.98rem;
    margin: 0;
}

.service-card__cta {
    margin-top: auto;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.service-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
    align-self: center;
    padding: 8px 18px;
    white-space: nowrap;
    font-size: 0.95rem;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    background: var(--primary) !important;
    color: #fff !important;
    box-shadow: none;
    transition: none;
}

.service-card__button:hover,
.service-card__button:focus-visible {
    background: var(--primary) !important;
    color: #fff !important;
    transform: none;
    box-shadow: none;
}

.services-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.services-list-grid .service-card {
    flex: none;
    width: 100%;
}

.services-list-empty {
    text-align: center;
    color: var(--muted);
    margin-top: 24px;
}

/* Team Section */
.team-section {
    background: var(--bg);
}

.team-carousel {
    --team-gap: 24px;
    overflow: hidden;
    margin-top: 32px;
}

.team-track {
    display: flex;
    gap: var(--team-gap, 24px);
    transition: transform 0.7s ease;
    will-change: transform;
    direction: rtl;
    justify-content: flex-start;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.team-track.is-dragging {
    cursor: grabbing;
    transition: none;
}

.team-carousel.is-slider-idle .team-track {
    justify-content: flex-start;
}

.team-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    flex: 0 0 100%;
    max-width: 100%;
}

.team-card__media {
    width: 100%;
    height: clamp(220px, 32vw, 320px);
    flex: none;
}

.team-card__media picture,
.team-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__info {
    padding: 24px;
    background: var(--primary);
    color: #fff;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.team-card__name {
    margin: 0;
    font-size: 1.2rem;
}

.team-card__title {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

.team-card__bio {
    margin: 6px 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
}

.team-dots {
    align-items: center;
    text-align: center;
    margin-top: 24px;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.team-dots.is-rtl {
    direction: rtl;
    flex-direction: row-reverse;
}

.team-dots[hidden] {
    display: none !important;
}

.team-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(10, 42, 102, 0.2);
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.team-dot.is-active {
    background: var(--secondary);
    transform: scale(1.1);
}

.team-dot:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 3px;
}

/* Map Section */
.map-section--full {
    width: 100%;
    margin-top: clamp(32px, 6vw, 96px);
    margin-bottom: 0;
}

.map-embed {
    position: relative;
    width: 100%;
    min-height: clamp(320px, 60vh, 720px);
    background: #f1f1f4;
    overflow: hidden;
}

.map-embed::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 26, 43, 0.15), rgba(10, 26, 43, 0.06));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.map-embed--loading::after {
    opacity: 1;
    animation: map-shimmer 1.8s linear infinite;
}

.map-embed .leaflet-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.map-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-embed .leaflet-container {
    width: 100%;
    height: 100%;
    font-family: inherit;
}

.map-embed--loading .leaflet-map {
    opacity: 0;
}

.map-embed--error {
    background: #ffe1e1;
}

.map-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    font-weight: 600;
    color: var(--primary);
}

.map-embed .leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    font-size: 0.75rem;
}

.map-embed .leaflet-control a,
.map-embed .leaflet-control-attribution a {
    color: var(--primary);
}

@keyframes map-shimmer {
    0% { opacity: 0.25; }
    50% { opacity: 0.6; }
    100% { opacity: 0.25; }
}

.map-section--contact {
    margin-top: clamp(24px, 6vw, 72px);
}

/* Cases & Beer Slider */
.cases-section {
    background: var(--primary);
    color: #fff;
}

.cases-section .section-heading p,
.cases-section .section-heading h2 {
    color: #fff;
}

.cases-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.case-card {
    flex: 0 0 auto;
    width: 320px;
    max-width: 100%;
    background: transparent;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Testimonials */
.testimonials-carousel {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 24px;
    padding-bottom: 4px;
    direction: ltr;
    --testimonial-loop-width: 0px;
    --testimonial-loop-duration: 18s;
    will-change: transform;
}

.carousel-track:not(.is-marquee) {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.carousel-track:not(.is-marquee):active {
    cursor: grabbing;
}

.carousel-track:not(.is-marquee)::-webkit-scrollbar {
    display: none;
}

.carousel-track.is-marquee {
    overflow: visible;
    animation: testimonials-marquee var(--testimonial-loop-duration, 30s) linear infinite;
    cursor: default;
    user-select: none;
    touch-action: none;
}

.carousel-track.is-paused {
    animation-play-state: paused;
}

@keyframes testimonials-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-1 * var(--testimonial-loop-width, 0px))); }
}

.testimonial-card {
    min-width: 260px;
    background: var(--card);
    padding: 24px;
    border-radius: 24px;
    text-align: center;
    direction: rtl;
}

.testimonial-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin: 0 auto 12px;
    background: var(--primary);
    border: 2px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

.testimonial-avatar[data-has-photo="false"] {
    width: 72px;
    height: 72px;
    border: none;
    background: var(--primary);
    color: #fff;
    box-shadow: none;
}

.testimonial-avatar picture,
.testimonial-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-avatar svg {
    width: 70%;
    height: 70%;
    color: inherit;
    fill: currentColor;
}

.testimonial-avatar[data-has-photo="false"] svg {
    width: 56%;
    height: 56%;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 8px 0 12px;
    color: #f7b500;
    font-size: 1.2rem;
}

@media (max-width: 640px) {
    .testimonials-carousel {
        padding-inline: 12px;
    }
    .carousel-track {
        gap: 12px;
    }
    .testimonial-card {
        min-width: 220px;
        padding: 16px;
        text-align: center;
    }
    .testimonial-avatar {
        width: 72px;
        height: 72px;
        margin-bottom: 10px;
    }
    .testimonial-avatar[data-has-photo="false"] {
        width: 64px;
        height: 64px;
    }
    .testimonial-stars {
        margin: 6px 0 10px;
        font-size: 1rem;
    }
}

/* =========================================
   8. Booking & Forms
   ========================================= */
.booking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: center;
}

.booking-intro.section-padding { padding-bottom: 30px; }
.booking-form-wrapper.section-padding { padding-top: 30px; }

.booking-intro__copy {
    text-align: center;
    margin-bottom: 24px;
}

.booking-intro__copy h2 {
    color: var(--primary);
    margin: 0 0 10px;
}

.booking-intro__copy p {
    margin: 0;
}

.booking-form {
    display: grid;
    gap: 16px;
    background: var(--card);
    padding: 32px;
    border-radius: 24px;
    box-shadow: none;
    position: relative;
}

.booking-form.is-loading {
    opacity: 0.7;
}

.booking-form .form-loading-overlay {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.86);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--primary);
    z-index: 5;
}

.booking-form .form-loading-spinner {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid rgba(10, 42, 102, 0.15);
    border-top-color: var(--primary);
    animation: booking-spinner 0.9s linear infinite;
}

.booking-form .form-loading-overlay[hidden] {
    display: none;
}

@keyframes booking-spinner {
    to { transform: rotate(360deg); }
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    border: 1px solid #dbe4ff;
    border-radius: 14px;
    padding: 12px;
    font-family: inherit;
    font-size: 1rem;
    background: #f9fbff;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(25, 84, 194, 0.08);
}

.booking-form input[data-datetime-picker],
.booking-form .booking-flatpickr-input {
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #0c1b33;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%236c7a99' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='4'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3Cpath d='M9 14h1M14 14h1M14 17h1M9 17h1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(12px) 50%;
    padding-left: 44px;
    height: 56px;
    line-height: 56px;
    width: 100%;
}

.booking-form input[data-datetime-picker]::placeholder,
.booking-form .booking-flatpickr-input::placeholder {
    color: #8a94b5;
    font-weight: 500;
}

.booking-form input[data-datetime-picker]:focus,
.booking-form .booking-flatpickr-input:focus {
    color: #0c1b33;
}

.booking-form.hidden-by-dashboard {
    display: none !important;
}

/* Toasts */
.submission-toast {
    position: fixed;
    top: 120px;
    left: 50%;
    transform: translate(-50%, -20px) scale(0.94);
    background: rgba(220, 53, 69, 0.85);
    color: #fff;
    padding: 14px 22px;
    border-radius: 16px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    font-size: 0.92rem;
    z-index: 1400;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.4s ease;
}

.submission-toast__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    display: grid;
    place-items: center;
}

.submission-toast--success {
    background: rgba(25, 135, 84, 0.9);
}

.submission-toast--error {
    background: rgba(220, 53, 69, 0.85);
}

.submission-toast__icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.submission-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
    pointer-events: auto;
}

/* Flatpickr Calendar */
.flatpickr-calendar {
    font-family: "Cairo", sans-serif;
    direction: rtl;
    border-radius: 22px;
    border: 1px solid rgba(25, 84, 194, 0.12);
    box-shadow: 0 18px 40px rgba(10, 42, 102, 0.18);
    overflow: hidden;
}

.flatpickr-calendar .flatpickr-months {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 12px 16px;
}

.flatpickr-calendar .flatpickr-current-month {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
    transform: translateY(-2px);
    color: #fff !important;
}

.flatpickr-calendar .flatpickr-current-month .cur-month,
.flatpickr-calendar .flatpickr-current-month input.cur-year,
.flatpickr-calendar .flatpickr-prev-month,
.flatpickr-calendar .flatpickr-next-month,
.cur-month,
.cur-year {
    color: #fff !important;
    font-weight: 700;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    fill: #fff !important;
    stroke: #fff !important;
}

.flatpickr-calendar .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
    font-weight: 600;
    color: var(--text);
}

.flatpickr-calendar .flatpickr-monthDropdown-months {
    color: #fff;
    background: transparent;
    border: none;
    font-weight: 700;
}

.flatpickr-calendar .flatpickr-monthDropdown-months option {
    color: var(--text);
    background: #fff;
    direction: rtl;
    text-align: right;
}

.flatpickr-calendar .flatpickr-current-month select.flatpickr-monthDropdown-months {
    color: #fff;
    background: transparent;
    border: none;
    font-weight: 700;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 10px center;
    direction: rtl;
    text-align: right;
    text-align-last: right;
}

.flatpickr-calendar .flatpickr-current-month select.flatpickr-monthDropdown-months::-ms-expand {
    display: none;
}

.flatpickr-calendar .flatpickr-current-month .numInputWrapper span.arrowUp::after,
.flatpickr-calendar .flatpickr-current-month .numInputWrapper span.arrowDown::after {
    border-top-color: #fff;
    border-bottom-color: #fff;
}

.flatpickr-calendar .flatpickr-current-month .numInputWrapper input.cur-year {
    background: transparent;
}

.flatpickr-weekdays,
.flatpickr-days {
    direction: rtl;
}

.flatpickr-day {
    border-radius: 12px;
    color: var(--text);
}

.flatpickr-day:hover,
.flatpickr-day:focus {
    background: rgba(15, 163, 255, 0.14);
    color: var(--primary);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: var(--primary);
    color: #fff;
    border: none;
}

/* Ensure all selected states (including range/hover/focus across months) use brand colors */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: none !important;
    color: #fff !important;
}

.flatpickr-time {
    border-top: 1px solid rgba(25, 84, 194, 0.08);
    direction: ltr;
}

.flatpickr-time input,
.flatpickr-time .numInputWrapper {
    font-family: "Cairo", sans-serif;
}

/* Booking CTA */
.booking-cta__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}

.booking-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.booking-cta__actions a[data-root-href="contact"] {
    background: var(--primary);
    color: #fff;
    border: none;
    box-shadow: none;
}

.booking-form-wrapper + .booking-cta {
    padding-top: 30px;
}

/* =========================================
   9. Gallery & Lightbox
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-grid picture,
.gallery-grid picture img,
.gallery-grid img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

body.lightbox-open {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    padding: clamp(16px, 5vw, 60px);
    background: rgba(5, 12, 28, 0.92);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2200;
}

.gallery-lightbox.is-visible { display: flex; }
.gallery-lightbox[hidden] { display: none !important; }

.gallery-lightbox__frame {
    position: relative;
    width: min(960px, 100%);
    color: #fff;
}

.gallery-lightbox__figure { margin: 0; }

.gallery-lightbox__figure img {
    width: 100%;
    max-height: calc(100vh - 220px);
    object-fit: contain;
    border-radius: 32px;
    background: #050b16;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox__counter {
    text-align: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.gallery-lightbox__close {
    position: absolute;
    top: -52px;
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__close:focus-visible {
    background: rgba(255, 255, 255, 0.35);
}

.gallery-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(10, 42, 102, 0.75);
    color: #fff;
    font-size: 1.5rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox__nav--prev { left: -70px; }
.gallery-lightbox__nav--next { right: -70px; }

.gallery-lightbox__nav:hover,
.gallery-lightbox__nav:focus-visible {
    background: rgba(10, 42, 102, 0.95);
    transform: translateY(-50%) scale(1.05);
}

.gallery-lightbox__nav:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    transform: translateY(-50%);
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.985);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =========================================
   10. Footer
   ========================================= */
.site-footer {
    background: var(--secondary);
    color: var(--primary);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    align-items: start;
}

.footer-card {
    padding: 18px 22px;
    background: transparent;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-branding {
    grid-column: 1 / -1;
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-branding h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

.footer-links, .footer-contact {
    text-align: right;
    direction: rtl;
}

.footer-grid h4, .footer-grid h5 {
    color: #fff;
    margin-top: 0;
}

.footer-branding :is(h4, h5),
.footer-contact :is(h4, h5),
.footer-links :is(h4, h5) {
    color: var(--primary);
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links ul { align-items: flex-start; }

.footer-grid a {
    color: inherit;
    text-decoration: none;
}

.footer-grid a:hover, .footer-grid a:focus-visible {
    color: #0a1a2b;
}

.footer-links a {
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.footer-links a::after {
    content: "\203A";
    font-weight: 700;
    display: inline-block;
    transform: scaleX(-1);
}

.footer-links a:hover, .footer-links a:focus-visible {
    color: var(--primary);
    background: #fff;
    transform: translateX(-4px);
}

.footer-branding p { color: #fff; }

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-list a { color: #fff; text-decoration: none; }
.footer-contact-list a:hover, .footer-contact-list a:focus-visible { color: var(--secondary); }

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.contact-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-detail-icon svg { width: 100%; height: 100%; }

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(17, 197, 255, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    position: relative;
    overflow: visible;
}

.social-icon-link svg { width: 28px; height: 28px; }

.social-icon-link--whatsapp {
    background: #25d366;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
}

.social-icon-link[aria-label*="facebook" i] {
    background: #1877f7;
    box-shadow: 0 12px 30px rgba(24, 119, 247, 0.35);
}

.social-icon-link[aria-label*="instagram" i] {
    background: #953ab6;
    box-shadow: 0 12px 30px rgba(149, 58, 182, 0.35);
}

.social-icon-link--whatsapp::after {
    content: "";
    position: absolute;
    inset: -6px;
    border: 2px solid rgba(37, 211, 102, 0.7);
    border-radius: 50%;
    opacity: 0;
    animation: whatsappPulse 1.8s ease-out infinite;
}

@keyframes whatsappPulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    70% { transform: scale(1.7); opacity: 0; }
    100% { opacity: 0; transform: scale(1.9); }
}

.floating-social-icons {
    position: fixed;
    left: 24px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1200;
}

.site-footer .social-icon-link {
    background: var(--primary);
    box-shadow: 0 10px 25px rgba(10, 42, 102, 0.25);
}

.site-footer .social-icon-link--whatsapp::after { display: none; }

.footer-bottom {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #fff;
}

/* =========================================
   11. Internal & Service Pages
   ========================================= */
body.service-page {
    background: var(--bg);
    --shadow: none;
}



.internal-header {
    background: var(--primary);
    color: #fff;
    padding: 40px 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.service-page .internal-header {
    padding: 40px 0;
}

.service-page .internal-header #service-eyebrow {
    display: none;
}

.service-page .internal-header .container.internal-header__content,
.internal-page .internal-header .container.internal-header__content,
.booking-page .internal-header .container.internal-header__content,
.contact-page .internal-header .container.internal-header__content {
    padding-inline: 0;
}

/* Service pages should keep the standard container padding so text never hugs screen edges. */
.service-page .internal-header .container.internal-header__content {
    padding-inline: 24px;
}

@media (max-width: 700px) {
    .service-page .internal-header__content .breadcrumb {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 8px;
    }
}

.internal-header__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.internal-header__content .breadcrumb {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.internal-header__content .breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.internal-header__content .breadcrumb a:hover,
.internal-header__content .breadcrumb a:focus-visible {
    color: #fff;
}

.internal-header__content .breadcrumb span[aria-hidden="true"] {
    opacity: 0.6;
}

.internal-page .internal-header,
.contact-page .internal-header,
.booking-page .internal-header,
.service-page .internal-header {
    background: var(--primary);
    color: #fff;
}

.internal-page .internal-header h1,
.internal-page .internal-header nav,
.internal-page .internal-header a,
.internal-page .internal-header span {
    color: inherit;
}

.contact-page .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--secondary);
    letter-spacing: 0.05em;
}

.contact-hero {
    background: var(--card);
    border-radius: 36px;
}

.contact-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
}

.contact-hero__copy h2 {
    margin: 12px 0;
    color: var(--primary);
}

.contact-hero__copy p { color: var(--muted); }

.contact-hero__highlights {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-hero__highlights li {
    background: #fff;
    border-radius: 18px;
    padding: 14px 18px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    box-shadow: 0 15px 35px rgba(10, 42, 102, 0.08);
}

.contact-hero__highlights span { color: var(--muted); font-size: 0.85rem; }
.contact-hero__highlights strong { color: var(--primary); font-size: 1.1rem; }

.contact-inline-link {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
}

.contact-details { background: var(--bg); }

.contact-details__intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 50px;
}

.contact-details__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.contact-details__grid--wide {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact-card {
    background: var(--card);
    border-radius: 28px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.contact-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.contact-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    border: 1px solid rgba(10, 26, 43, 0.08);
    pointer-events: none;
}

.contact-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(10, 26, 43, 0.06);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-card__icon svg { width: 28px; height: 28px; }

.contact-card__eyebrow {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.contact-card h3 { margin: 6px 0; }

.contact-card__value {
    margin: 0 0 10px;
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 600;
}

.contact-card__action {
    margin-top: 10px;
    align-self: center;
}

.contact-card__hint {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.contact-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(37, 211, 102, 0.15);
    color: #0d8d4b;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.contact-form__column {
    background: #fff;
    border-radius: 28px;
    padding: 32px;
    box-shadow: none;
}

.contact-form__intro {
    text-align: center;
    margin-bottom: 24px;
}

.contact-form__intro h2 { margin: 0 0 10px; color: var(--primary); }
.contact-form__intro p { margin: 0; color: var(--muted); }

.contact-form-section, .faq-section { background: var(--bg); }

/* FAQ */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto;
}

.faq-accordion:empty::after {
    content: 'لم تتم إضافة أسئلة بعد.';
    display: block;
    padding: 32px;
    text-align: center;
    border-radius: 24px;
    background: rgba(10, 42, 102, 0.04);
    color: var(--muted);
}

.faq-item {
    background: var(--card);
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: none;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-question {
    width: 100%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 22px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    text-align: right;
}

.faq-question:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(10, 42, 102, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--primary);
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.faq-icon::before {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

.faq-question[aria-expanded="true"] .faq-icon::before {
    transform: rotate(-135deg);
}

.faq-answer {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: height 0.45s cubic-bezier(0.4, 0.15, 0.25, 1), opacity 0.3s ease;
    will-change: height;
}

.faq-answer[data-open="true"] { opacity: 1; }

.faq-answer__inner {
    padding: 12px 22px 16px;
    color: #000;
    line-height: 1.7;
}

.faq-answer__inner p { margin: 0; }
.faq-answer__inner p + p { margin-top: 12px; }

/* Service Detail */
.service-detail {
    display: grid;
    gap: 40px;
}

.service-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    align-items: center;
}

.service-hero img {
    border-radius: 24px;
    box-shadow: var(--shadow);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.service-hero__media {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
}

.service-cta {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.service-cta--footer {
    justify-content: center;
    margin-top: 32px;
}

.service-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--card);
    padding: 22px 26px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.service-meta__icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-meta__icon svg { width: 28px; height: 28px; }

.service-meta__label { margin: 0; font-size: 0.95rem; color: var(--muted); }
.service-meta__value { margin: 4px 0 0; font-size: 1.35rem; font-weight: 700; color: var(--text); }

.service-rich {
    background: var(--card);
    padding: 28px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.service-rich :is(h2, h3, h4) {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.service-empty {
    padding: 30px 0 80px;
    text-align: center;
}

.service-empty__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

/* About Section */
.about-page__body,
.about-page__body.container {
    max-width: min(1100px, 100%);
    width: min(1100px, 100%);
    margin-inline: auto;
    padding-inline: clamp(28px, 6vw, 52px) !important;
}

.about-section {
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid {
        gap: 24px;
    }
    .about-media {
        order: -1;
    }
    .about-copy {
        text-align: center;
        align-items: center;
    }
    .about-copy p {
        text-align: center;
    }
    .about-list {
        align-self: stretch;
        text-align: right;
    }
    .about-actions {
        justify-content: center;
    }
}

.about-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: right;
}

.about-copy h2 {
    margin: 0;
    color: var(--primary);
}

.about-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
    text-align: justify;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: grid;
    gap: 8px;
}

.about-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    color: var(--text, #0c1b33);
}

.about-list li::before {
    content: '\2714'; /* heavy check mark for sharper shape */
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.about-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}

.about-actions .btn {
    padding: 8px 18px;
}

.about-actions .btn.secondary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.about-actions .btn.secondary:hover {
    background: color-mix(in srgb, var(--primary) 90%, #fff 10%);
    border-color: color-mix(in srgb, var(--primary) 90%, #fff 10%);
}

.about-cta-bar {
    padding-top: 0;
}

.about-cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    text-align: center;
}

.about-cta-actions .btn {
    min-width: 160px;
}

.about-media {
    width: 100%;
    display: flex;
    justify-content: center;
    order: -1; /* ضع الصورة في العمود الأيسر دائمًا */
}

.about-media img {
    width: 100%;
    max-width: clamp(240px, 70vw, 400px);
    min-width: clamp(180px, 50vw, 260px);
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

.about-media img.tooth-mask {
    border-radius: 0;
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 240"><rect x="20" y="20" width="160" height="200" rx="88" ry="88" fill="black"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 240"><rect x="20" y="20" width="160" height="200" rx="88" ry="88" fill="black"/></svg>');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    background: var(--card);
}

.info-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    background: var(--card);
    padding: 24px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.internal-footer {
    text-align: center;
    padding: 24px 0 40px;
    color: var(--muted);
}

/* =========================================
   12. Dark Mode
   ========================================= */
body.dark-mode {
    --bg: #030b1e;
    --card: #0b1a3a;
    --text: #e3ebff;
    --muted: #93a4c4;
    background: var(--bg);
    color: var(--text);
}

body.dark-mode .flatpickr-calendar {
    background: var(--card) !important;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

body.dark-mode .flatpickr-day { color: var(--text); }

body.dark-mode .flatpickr-day:hover,
body.dark-mode .flatpickr-day:focus {
    background: rgba(15, 163, 255, 0.2);
}

body.dark-mode .site-header { background: rgba(3, 10, 24, 0.95); }

body.dark-mode .hero-section {
    background: linear-gradient(135deg, #030b1e, #07163a);
}

body.dark-mode .service-card,
body.dark-mode .booking-form,
body.dark-mode .social-card,
body.dark-mode .testimonial-card,
body.dark-mode .info-panel {
    background: #0f244f;
}

body.dark-mode .booking-form input,
body.dark-mode .booking-form select,
body.dark-mode .booking-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text);
}

body.dark-mode .booking-form input[data-datetime-picker]::placeholder,
body.dark-mode .booking-form .booking-flatpickr-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .site-footer { background: #000711; }

/* =========================================
   13. Responsive Breakpoints
   ========================================= */

@media (min-width: 640px) {
    .team-card {
        flex: 0 0 calc((100% - var(--team-gap, 24px)) / 2);
        max-width: calc((100% - var(--team-gap, 24px)) / 2);
    }
}

@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: "brand brand" "contact links";
        column-gap: 20px;
        row-gap: 24px;
    }
    .footer-branding { grid-area: brand; }
@media (max-width: 540px) {
    .site-footer .container {
        padding-inline: 12px;
    }
    .footer-card {
        padding-inline: 16px;
    }
}
    .footer-contact { grid-area: contact; align-self: stretch; justify-self: stretch; }
    .footer-links { grid-area: links; align-self: stretch; justify-self: stretch; }
}

@media (min-width: 1024px) {
    .team-card {
        flex: 0 0 calc((100% - (var(--team-gap, 24px) * 2)) / 3);
        max-width: calc((100% - (var(--team-gap, 24px) * 2)) / 3);
    }
    .services-list-page .services-list-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.hero-image-hidden .hero-text,
    .hero-grid.hero-grid--no-visual .hero-text {
        text-align: center !important;
        justify-self: center;
    }
    body.hero-image-hidden .hero-actions,
    .hero-grid.hero-grid--no-visual .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .hero-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
    }
    .hero-media { order: 1; justify-self: start; }
    .hero-text { order: 2; text-align: right; }
    .hero-actions { justify-content: flex-end; }

    body.hero-image-hidden .hero-text,
    .hero-grid.hero-grid--no-visual .hero-text {
        text-align: center !important;
        justify-self: center;
    }
    body.hero-image-hidden .hero-actions,
    .hero-grid.hero-grid--no-visual .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .hero-figure {
        width: min(280px, 65vw);
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        padding: 0;
        background: #fff;
        overflow: hidden;
        isolation: isolate;
    }

    .hero-text {
        padding-inline: 16px;
    }

    .hero-figure.hero-figure--hidden,
    .hero-visual.hero-visual--hidden {
        display: none !important;
    }

    .hero-figure.hero-figure--hidden::after {
        display: none !important;
    }
    
    .hero-figure::after {
        content: "";
        position: absolute;
        inset: -26px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.8);
        background: rgba(255, 255, 255, 0.08);
        pointer-events: none;
        z-index: -1;
    }
    .hero-figure img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: scale-down;
        object-position: center 80%;
        display: block;
    }
}

@media (max-width: 992px) {
    .contact-hero__grid, .contact-form__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .service-card { flex: 0 0 calc((100% - 24px) / 2); }
    .gallery-lightbox { padding: 24px; }
    .gallery-lightbox__nav--prev { left: 8px; }
    .gallery-lightbox__nav--next { right: 8px; }
    .gallery-lightbox__figure img { max-height: calc(100vh - 160px); }

    /* --- FIX: إخفاء القائمة تماماً لمنع الظل من الظهور --- */
    .main-nav {
        position: fixed;
        inset: 0 0 0 40%;
        background: #fff;
        color: var(--primary);
        padding: 80px 30px;
        transform: translateX(100%);
        /* تعديل الانتقال ليشمل الظل والرؤية */
        transition: transform 0.3s ease, box-shadow 0.3s ease, visibility 0.3s;
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        
        /* إزالة الظل وإخفاء العنصر */
        box-shadow: none;
        visibility: hidden;
    }
    .main-nav.open { 
        transform: translateX(0); 
        box-shadow: -20px 0 45px rgba(3, 19, 57, 0.08);
        visibility: visible;
    }
    
    .main-nav ul { flex-direction: column; gap: 18px; width: 100%; }
    .menu-toggle { display: flex; }
    .main-nav .header-book-btn { width: 100%; justify-content: center; }
}

@media (max-width: 860px) {
    .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-section { padding: 50px 0 40px; }
    .hero-grid { text-align: center; justify-items: center; }
    .hero-media, .hero-visual {
        margin-top: 0;
        order: -1;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .hero-card {
        padding: 14px;
        background: #fff;
        border-radius: 50%;
        width: min(240px, 70vw);
        height: min(240px, 70vw);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: visible;
    }
    .hero-card img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        object-fit: cover;
        position: relative;
        z-index: 1;
    }
    .hero-card::after {
        content: "";
        position: absolute;
        inset: -10px;
        border-radius: 50%;
        border: 4px solid var(--secondary);
        opacity: 0.9;
        pointer-events: none;
        z-index: 0;
        box-shadow: 0 0 0 8px rgba(17, 197, 255, 0.12);
    }
    .hero-text { text-align: center; }
    .hero-actions { justify-content: center; }
    .map-section--full { margin-top: 32px; margin-bottom: 0; }
    .map-embed { min-height: 320px; }
    .footer-grid { grid-template-columns: 1fr; gap: 18px; }
    .footer-branding { text-align: center; border-bottom: none; margin-bottom: 0; }
    .footer-links, .footer-contact { justify-self: stretch; }
    .footer-links ul { width: 100%; align-items: stretch; margin-bottom: 16px; }
    .footer-links ul li a { width: 100%; justify-content: space-between; }
    .footer-contact-list { width: 100%; }
}

@media (max-width: 640px) {
    .service-card { flex: 0 0 100%; }
}

@media (max-width: 600px) {
    .hero-actions { flex-direction: row; justify-content: center; gap: 12px; }
    .hero-actions .btn { min-width: 140px; }
    .cases-grid { grid-template-columns: 1fr; }
    .booking-form { padding: 24px; }
    .submission-toast {
        top: 96px;
        width: auto;
        max-width: min(92vw, 420px);
        text-align: right;
        flex-direction: row;
        padding: 12px 16px;
        justify-content: center;
        white-space: nowrap;
    }
    .submission-toast__icon { width: 34px; height: 34px; }
    .booking-form input[data-datetime-picker],
    .booking-form .booking-flatpickr-input {
        text-align: right !important;
        direction: rtl;
    }
    .booking-form input[data-datetime-picker]::placeholder,
    .booking-form .booking-flatpickr-input::placeholder {
        text-align: right;
    }
    .gallery-lightbox__close { top: -48px; width: 40px; height: 40px; }
    .gallery-lightbox__nav { width: 40px; height: 40px; font-size: 1.2rem; }
    .floating-social-icons { left: 16px; bottom: 30px; }
}

/* =========================================
   Disable reveal/fade-in animations globally
   ========================================= */
[data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0ms !important;
}
[data-reveal].is-visible {
    opacity: 1 !important;
    transform: none !important;
}