/* Dr. Aburas Dental Center - Premium 2026 Design System */
:root {
    --primary: #163D7A;
    --primary-light: #1e4d96;
    --primary-dark: #0f2d5a;
    --secondary: #1B9AAA;
    --secondary-dark: #158a99;
    --accent: #D4AF37;
    --accent-light: #e8c85a;
    --appointment-brand: #a40c0f;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #E8ECF0;
    --gray-200: #D1D9E0;
    --gray-300: #A8B4C0;
    --gray-500: #64748B;
    --gray-700: #334155;
    --gray-900: #0F172A;
    --dark: #0B1220;
    --success: #22C55E;
    --danger: #EF4444;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-arabic: 'Noto Sans Arabic', 'Inter', sans-serif;

    --shadow-sm: 0 2px 8px rgba(22, 61, 122, 0.06);
    --shadow-md: 0 8px 30px rgba(22, 61, 122, 0.10);
    --shadow-lg: 0 20px 60px rgba(22, 61, 122, 0.15);
    --shadow-glow: 0 0 40px rgba(27, 154, 170, 0.2);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --nav-bar-height: 80px;
    --header-float-top: 14px;
    --header-float-gap: 16px;
    --header-height: calc(var(--nav-bar-height) + var(--header-float-top));
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.3);
    --body-bg: var(--gray-50);
    --body-color: var(--gray-900);
    --card-bg: #ffffff;
    --section-alt: var(--gray-50);
}

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

html {
    scroll-behavior: smooth;
    font-size: 17.5px;
    -webkit-text-size-adjust: 100%;
    max-width: 100%;
    /* clip avoids breaking AOS/IntersectionObserver (hidden on html/body often does) */
    overflow-x: clip;
}

body {
    font-family: var(--font-primary);
    background: var(--body-bg);
    color: var(--body-color);
    line-height: 1.7;
    max-width: 100%;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.rtl {
    font-family: var(--font-arabic);
    direction: rtl;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.25;
    color: var(--secondary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--section-alt);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    font-family: var(--font-primary);
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    z-index: 10000;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 10px;
}

/* Header — floating pill shell */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--header-float-top) var(--header-float-gap) 0;
    height: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    pointer-events: none;
}

.site-header .container {
    pointer-events: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.site-header.scrolled {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-bottom: none;
}

/* Premium floating glass nav — all public pages */
body.site-public .site-header .header-inner {
    border-radius: var(--radius-full);
    border: 1px solid rgba(22, 61, 122, 0.1);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 8px 28px rgba(15, 23, 42, 0.1);
    transition: all var(--transition);
}

body.site-public .site-header .site-logo {
    color: var(--primary-dark);
}

body.site-public .site-header .nav-link {
    color: var(--gray-900);
    font-weight: 600;
}

body.site-public .site-header .nav-link:hover,
body.site-public .site-header .nav-link.active {
    color: var(--primary);
    background: rgba(22, 61, 122, 0.08);
}

body.site-public .site-header .icon-btn,
body.site-public .site-header .lang-btn,
body.site-public .site-header .mobile-toggle {
    color: var(--gray-900);
    border-color: rgba(22, 61, 122, 0.15);
    background: rgba(255, 255, 255, 0.45);
}

body.site-public .site-header .icon-btn:hover,
body.site-public .site-header .lang-btn:hover,
body.site-public .site-header .mobile-toggle:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(22, 61, 122, 0.06);
}

body.site-public .site-header.scrolled .header-inner {
    background: rgba(255, 255, 255, 0.97);
    border-color: rgba(22, 61, 122, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 14px 40px rgba(15, 23, 42, 0.14);
}

@media (min-width: 992px) {
    body.site-public .site-header {
        padding-left: max(var(--header-float-gap), calc((100vw - 1320px) / 2));
        padding-right: max(var(--header-float-gap), calc((100vw - 1320px) / 2));
    }

    body.site-public .site-header .header-inner {
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(248, 250, 252, 0.9) 100%
        );
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        padding: 0 14px 0 18px;
        gap: 10px;
    }

    body.site-public .site-header.scrolled .header-inner {
        background: rgba(255, 255, 255, 0.98);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.9),
            0 16px 48px rgba(15, 23, 42, 0.16);
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-bar-height);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0 12px 0 16px;
    overflow: visible;
    position: relative;
    gap: 8px;
    box-sizing: border-box;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 240px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    z-index: 2;
}

.site-logo i {
    font-size: 1.75rem;
    color: var(--primary);
}

.site-logo-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.site-logo img {
    height: 56px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
    display: block;
}

.site-logo .logo-light {
    display: block;
}

.site-logo .logo-dark {
    display: none;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: 4px;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2px;
    flex-wrap: nowrap;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-link .fa-chevron-down {
    font-size: 0.65rem;
    opacity: 0.75;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(35, 64, 142, 0.06);
}

.nav-item.has-mega {
    position: static;
}

.nav-item.has-dropdown {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 180px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: var(--card-bg);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 50;
}

.rtl .nav-dropdown {
    left: auto;
    right: 0;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown,
.nav-item.has-dropdown.is-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    transition: color var(--transition), background var(--transition);
}

.nav-dropdown li:last-child a {
    border-bottom: none;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
    color: var(--primary);
    background: rgba(22, 61, 122, 0.06);
}

.nav-dropdown-tech {
    min-width: 280px;
    max-width: min(360px, calc(100vw - 32px));
}

.nav-dropdown .service-icon-media,
.nav-dropdown a > i.fas {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(35, 64, 142, 0.08);
    color: var(--primary);
    font-size: 0.85rem;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.nav-dropdown .service-icon-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav-dropdown-footer a {
    font-weight: 700;
    color: var(--primary);
}

.mega-menu {
    position: absolute;
    top: calc(100% - 8px);
    left: 50%;
    transform: translateX(-50%);
    width: min(920px, calc(100vw - 40px));
    max-height: min(58vh, 500px);
    padding-top: 16px;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 40;
}

.mega-menu-inner {
    max-height: min(58vh, 480px);
    overflow-y: auto;
    padding: 16px 18px 12px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    scrollbar-width: thin;
    scrollbar-color: var(--gray-300) transparent;
}

.mega-menu-inner::-webkit-scrollbar {
    width: 6px;
}

.mega-menu-inner::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 6px;
}

.header-inner:has(.nav-item.has-mega:hover) .mega-menu,
.header-inner:has(.mega-menu:hover) .mega-menu,
.mega-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

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

.mega-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-100);
    background: var(--gray-50);
    min-width: 0;
}

.mega-sub-items {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 2px 8px 6px 40px;
    border-top: 1px dashed var(--gray-200);
    margin-top: 2px;
}

.mega-sub-item {
    font-size: 15.5px;
    color: var(--gray-500);
    padding: 5px 0;
    line-height: 1.3;
    display: block;
}

.mega-sub-item:hover {
    color: var(--primary);
}

.mega-group.has-children:hover .mega-sub-items,
.mega-group.has-children:focus-within .mega-sub-items {
    display: flex;
}

.mega-menu-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
    text-align: center;
}

.mega-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
}

.mega-view-all:hover {
    color: var(--primary-light);
}

.service-sub-links {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}

.service-sub-links li {
    margin-bottom: 6px;
}

.service-sub-links a {
    font-size: 0.88rem;
    color: var(--primary);
    text-decoration: none;
}

.service-sub-links a:hover {
    text-decoration: underline;
}

.mega-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    color: var(--gray-700);
    min-width: 0;
}

.mega-item:hover {
    background: rgba(22, 61, 122, 0.06);
    color: var(--primary);
}

.mega-item > i,
.mega-item > .service-icon-media {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(35, 64, 142, 0.08);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 0.9rem;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.mega-item > .service-icon-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mega-parent-title {
    font-weight: 600;
    font-size: 15.5px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mega-caret {
    margin-left: auto;
    color: var(--gray-400);
    font-size: 0.72rem;
    transition: transform var(--transition), color var(--transition);
}

.rtl .mega-caret {
    margin-left: 0;
    margin-right: auto;
}

.mega-group.has-children:hover .mega-caret,
.mega-group.has-children:focus-within .mega-caret {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
    margin-left: 0;
}

.rtl .header-actions {
    margin-left: 0;
    margin-right: 0;
}

.header-appt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    max-width: 100%;
    padding: 10px 16px;
    margin-left: auto;
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.rtl .header-appt-btn {
    margin-left: 0;
    margin-right: auto;
}

.header-appt-btn .header-appt-label-short {
    display: none;
}

.header-appt-btn .header-appt-label-full {
    display: inline;
}

/* Navbar Book Appointment — blue + white; hover red */
.header-appt-btn.btn-primary:hover,
.header-appt-btn.btn-primary:focus-visible {
    background: #E10600;
    border-color: #E10600;
    color: #fff;
    box-shadow: 0 8px 30px rgba(225, 6, 0, 0.35);
}

.lang-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--gray-700);
    transition: all var(--transition);
}

.lang-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background: var(--card-bg);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    z-index: 100;
}

.rtl .lang-dropdown {
    right: auto;
    left: 0;
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 10px 16px;
    color: var(--gray-700);
    font-size: 0.9rem;
    transition: background var(--transition);
}

.lang-option:hover,
.lang-option.active {
    background: var(--gray-50);
    color: var(--primary);
}

.icon-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--gray-700);
    transition: all var(--transition);
}

.icon-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(35, 64, 142, 0.04);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Navbar "Book an Appointment" — hover uses red; text stays white */
.header-actions .btn-primary:hover,
.header-actions .btn-primary:focus-visible {
    background: #E10600;
    border-color: #E10600;
    color: white;
    box-shadow: 0 8px 30px rgba(225, 6, 0, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--accent);
    color: var(--secondary);
    border-color: var(--accent);
}

.btn-gold:hover {
    background: var(--accent-light);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

.btn-white {
    background: white;
    color: var(--primary);
    border-color: white;
}

.btn-white:hover {
    background: var(--gray-50);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* Hero Slider */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

.swiper-slide-active .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 33, 61, 0.75) 0%, rgba(35, 64, 142, 0.55) 100%);
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-top: var(--header-height);
    max-width: min(700px, 100%);
    width: 100%;
    box-sizing: border-box;
}

.hero-title {
    color: white;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    max-width: 100%;
    overflow-wrap: break-word;
}

.hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    margin-bottom: 36px;
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    max-width: 100%;
    overflow-wrap: break-word;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.hero-buttons-main {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition);
    border: 2px solid transparent;
    line-height: 1.25;
    white-space: nowrap;
}

.hero-btn i {
    font-size: 0.95em;
}

.hero-btn-primary {
    background: #fff;
    color: var(--appointment-brand);
    border-color: #fff;
    box-shadow: 0 10px 36px rgba(11, 18, 32, 0.22);
}

.hero-btn-primary:hover {
    background: var(--gray-50);
    color: var(--appointment-brand);
    transform: translateY(-2px);
    box-shadow: 0 14px 44px rgba(11, 18, 32, 0.28);
}

.hero-btn-primary i {
    color: var(--appointment-brand);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    transform: translateY(-2px);
}

.hero-btn-emergency {
    padding: 11px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.22);
}

.hero-btn-emergency:hover {
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(252, 165, 165, 0.45);
    color: #fff;
    transform: translateY(-1px);
}

.hero-btn-emergency i {
    color: #fecaca;
    font-size: 0.85em;
}

.hero-pagination {
    bottom: 40px !important;
}

.hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.4);
    opacity: 1;
    transition: all var(--transition);
}

.hero-pagination .swiper-pagination-bullet-active {
    background: var(--accent);
    width: 32px;
    border-radius: 6px;
}

/* Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all var(--transition);
}

.premium-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    height: 100%;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image img {
    transform: scale(1.08);
}

.service-card-icon {
    position: absolute;
    bottom: -24px;
    left: 24px;
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    padding: 0;
}

.service-card-icon .service-icon-media,
.service-card-icon .service-icon-media img {
    width: 100%;
    height: 100%;
    display: block;
}

.service-card-icon .service-icon-media img {
    object-fit: cover;
}

.rtl .service-card-icon {
    left: auto;
    right: 24px;
}

.service-card-body {
    padding: 40px 24px 24px;
}

.service-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card-text {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

/* Home Card Sliders */
.home-card-swiper {
    padding: 4px 4px 8px;
}

.home-card-swiper .swiper-wrapper {
    align-items: stretch;
}

.home-card-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.home-card-swiper .service-card,
.home-card-swiper .doctor-card {
    display: block;
    width: 100%;
    height: 100%;
}

.home-card-swiper .service-card-body,
.home-card-swiper .doctor-info-overlay {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-card-swiper .service-card-body .btn {
    align-self: flex-start;
}

.home-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

.home-slider-controls .swiper-pagination {
    position: static;
    width: auto;
    min-width: 120px;
}

.home-slider-controls .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary);
    opacity: 0.25;
    transition: all var(--transition);
}

.home-slider-controls .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 1;
}

.home-slider-nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: var(--card-bg);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.home-slider-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.home-slider-nav.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 960px;
    margin-inline: auto;
}

.stat-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Doctor Cards */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.doctor-card {
    position: relative;
    text-align: center;
    background: var(--gray-900);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    aspect-ratio: 3 / 4;
    min-height: 400px;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.doctor-photo {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--gray-200) 100%);
}

.doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    display: block;
}

.doctor-info-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 20px 18px 22px;
    text-align: center;
    color: #fff;
    background: linear-gradient(
        to top,
        rgba(22, 61, 122, 0.92) 0%,
        rgba(22, 61, 122, 0.72) 45%,
        rgba(27, 154, 170, 0.35) 75%,
        transparent 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.doctor-info-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(22, 61, 122, 0.15);
    pointer-events: none;
    z-index: -1;
}

.doctor-info-overlay .doctor-name {
    position: relative;
    font-size: 1.15rem;
    margin: 0 0 6px;
    color: #fff;
    line-height: 1.3;
}

.doctor-info-overlay .doctor-speciality {
    position: relative;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.45;
    margin: 0 0 6px;
}

.doctor-info-overlay .doctor-experience {
    position: relative;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
    margin: 0 0 12px;
}

.doctor-info-overlay .doctor-card-btn {
    position: relative;
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.doctor-info-overlay .doctor-card-btn:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

/* Legacy / non-overlay doctor info (detail widgets) */
.doctor-info {
    padding: 28px 24px;
}

.doctor-name {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.doctor-speciality {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.doctor-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.doctor-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-50);
    color: var(--gray-500);
    transition: all var(--transition);
}

.doctor-social a:hover {
    background: var(--primary);
    color: white;
}

/* Doctor Detail Profile Page */
.doctor-detail {
    padding: calc(var(--header-height) + 32px) 0 80px;
    background: var(--white);
}

.doctor-detail-page .breadcrumb-nav {
    margin-bottom: 40px;
}

.doctor-detail-grid {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 48px 56px;
    align-items: start;
}

.sp-doctor-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.doctor-detail-photo-wrap {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--gray-100);
    min-height: 480px;
}

.doctor-detail-photo {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    display: block;
}

.doctor-detail-name {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: 10px;
}

.doctor-detail-speciality {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.doctor-detail-bio {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--gray-700);
    margin-bottom: 32px;
}

.doctor-detail-skills-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 14px;
}

.doctor-detail-skills {
    list-style: disc;
    padding-left: 1.35rem;
    margin: 0 0 28px;
}

.doctor-detail-skills li {
    margin-bottom: 8px;
    color: var(--gray-700);
    line-height: 1.6;
}

.doctor-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.doctor-flag {
    height: 32px;
    width: auto;
    max-width: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--white);
}

.doctor-detail-languages {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.doctor-detail-social {
    margin-bottom: 28px;
}

.doctor-detail-cta {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    padding: 14px 40px;
    font-size: 0.95rem;
}

[dir="rtl"] .doctor-detail-skills {
    padding-left: 0;
    padding-right: 1.35rem;
}

@media (max-width: 991px) {
    .doctor-detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .doctor-detail-photo-wrap,
    .doctor-detail-photo {
        min-height: 380px;
    }

    .sp-doctor-card {
        padding: 24px;
    }
}

/* Testimonials */
.testimonial-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    height: 100%;
}

.testimonial-stars {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 24px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    color: var(--secondary);
}

/* Branch Cards */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

/* Exactly 2 branches — equal width, fuller section space */
.branches-grid--duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    max-width: 1120px;
    margin-inline: auto;
}

.branch-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    height: 100%;
}

.branch-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(27, 154, 170, 0.25);
}

.branch-map {
    position: relative;
    aspect-ratio: 16 / 10;
    min-height: 260px;
    background: var(--gray-100);
    overflow: hidden;
}

.branches-grid--duo .branch-map {
    min-height: 300px;
}

.branch-map iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 120%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: 0;
    display: block;
    pointer-events: none;
}

.branch-map-link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.55) 0%, transparent 55%);
    color: #fff;
    text-decoration: none;
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 2;
}

.branch-map-link span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.branch-card:hover .branch-map-link,
.branch-map-link:focus-visible {
    opacity: 1;
}

.branch-map-link:hover span {
    background: #fff;
}

.branch-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 26px 28px 28px;
    gap: 12px;
}

.branches-grid--duo .branch-info {
    padding: 28px 30px 30px;
}

.branch-badge {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(27, 154, 170, 0.12);
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.branch-name {
    font-size: 1.28rem;
    margin: 0;
    line-height: 1.3;
}

.branches-grid--duo .branch-name {
    font-size: 1.35rem;
}

.branch-address,
.branch-hours {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

.branch-address i,
.branch-hours i {
    color: var(--secondary);
    margin-top: 3px;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}

.branch-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
}

.branch-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
}

.branch-phone:hover {
    color: var(--primary-light);
}

.branch-directions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: auto;
    border-radius: 50%;
    background: rgba(22, 61, 122, 0.08);
    color: var(--primary);
    text-decoration: none;
    transition: all var(--transition);
}

.branch-directions:hover {
    background: var(--primary);
    color: #fff;
}

/* FAQ */
.faq-accordion .accordion-item {
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-sm) !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--card-bg);
}

.faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--secondary);
    background: var(--card-bg);
    padding: 20px 24px;
    box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: rgba(35, 64, 142, 0.04);
}

.faq-accordion .accordion-body {
    padding: 0 24px 20px;
    color: var(--gray-500);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-control,
.form-select {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.95rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--card-bg);
    color: var(--body-color);
    transition: all var(--transition);
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(35, 64, 142, 0.12);
}

.appointment-form {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

/* Why Choose */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.why-card {
    text-align: center;
    padding: 36px 24px;
}

.why-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(35,64,142,0.1), rgba(212,175,55,0.1));
    border-radius: var(--radius-md);
    font-size: 1.75rem;
    color: var(--primary);
}

.why-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-family: var(--font-primary);
    font-weight: 600;
}

.why-desc {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Languages Spoken */
.lang-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.lang-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--card-bg);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    font-weight: 500;
    font-size: 20.8px;
    line-height: 1.3;
    color: var(--gray-700);
}

.lang-badge span {
    font-size: 20.8px;
}

.lang-badge-flag {
    width: 28px;
    height: 21px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.lang-badge i {
    color: var(--primary);
}

/* Blog Cards */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    align-items: stretch;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    opacity: 1 !important;
    transform: none;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.blog-card-image {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto !important;
    max-height: none;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-100);
    text-decoration: none;
}

.blog-card-image img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block;
    position: absolute;
    inset: 0;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.06);
}

.blog-card-image-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: block !important;
    padding: 14px 16px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff !important;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.88) 55%);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-card-body {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 22px 24px 24px;
    background: #ffffff;
    flex: 1 1 auto;
    position: relative;
    z-index: 2;
}

.blog-category {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 8px;
}

.blog-card .blog-title,
.blog-title {
    font-family: var(--font-display);
    font-size: 1.2rem !important;
    line-height: 1.35 !important;
    font-weight: 700;
    margin: 0 0 12px !important;
    color: #0f172a !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.blog-card .blog-title a,
.blog-title a {
    color: #0f172a !important;
    text-decoration: none;
    display: inline;
}

.blog-card .blog-title a:hover,
.blog-title a:hover {
    color: var(--primary) !important;
}

.blog-excerpt {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Home About */
.about-home-row {
    align-items: stretch;
}

.about-home-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-home-copy {
    color: var(--gray-500);
    font-size: 1.05rem;
}

.about-home-heading {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 10px;
}

.about-home-copy p {
    margin: 0;
    line-height: 1.7;
}

.about-home-cta {
    margin-top: 20px;
    align-self: flex-start;
}

.about-home-media {
    display: flex;
}

.about-home-image {
    flex: 1 1 auto;
    width: 100%;
    min-height: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--gray-100);
    box-shadow: var(--shadow-sm);
}

.about-home-image img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 992px) {
    .about-home-image {
        min-height: 100%;
    }
}

@media (max-width: 991px) {
    .about-home-image {
        aspect-ratio: 16 / 10;
        min-height: 240px;
    }
}

.about-page-hero-image {
    border-radius: var(--radius-md);
    margin-bottom: 32px;
    max-height: 480px;
    width: 100%;
    object-fit: cover;
    display: block;
}

/* Offers */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.offer-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.offer-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--gray-100);
}

.offer-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.offer-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    background: var(--appointment-brand);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 6px 12px;
    border-radius: var(--radius-full);
}

.rtl .offer-badge {
    left: auto;
    right: 14px;
}

.offer-badge-solo {
    position: static;
    display: inline-block;
    margin: 18px 18px 0;
}

.offer-card-body {
    padding: 22px 24px 24px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.offer-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.3;
}

.offer-price {
    margin: 0;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
}

.offer-desc {
    margin: 0 0 8px;
    color: var(--gray-500);
    font-size: 0.95rem;
    flex: 1 1 auto;
}

.offer-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.offer-title a {
    color: inherit;
    text-decoration: none;
}

.offer-title a:hover {
    color: var(--primary);
}

.offer-dates {
    margin: 0;
    font-size: 0.88rem;
    color: var(--gray-500);
}

.offer-card-image {
    display: block;
    text-decoration: none;
}

.offer-card-image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 180px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}

.offer-detail-badge {
    display: inline-block;
    background: var(--appointment-brand);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.offer-detail-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    margin: 8px 0 0;
}

.offer-detail-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--gray-100);
}

.offer-detail-image img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.offer-detail-heading {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.offer-detail-desc {
    color: var(--gray-500);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 24px;
}

.offer-detail-meta {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    border-top: 1px solid var(--gray-100);
}

.offer-detail-meta li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}

.offer-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Gallery */
.gallery-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
}

.gallery-tab {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 2px solid var(--gray-200);
    background: transparent;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition);
}

.gallery-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.gallery-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.gallery-panel {
    display: none;
    animation: galleryFade 0.4s ease;
}

.gallery-panel.active {
    display: block;
}

@keyframes galleryFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 260px;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    text-decoration: none;
    color: inherit;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-zoom {
    position: absolute;
    inset: auto 12px 12px auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(22, 61, 122, 0.9);
    color: #fff;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity var(--transition), transform var(--transition);
    pointer-events: none;
}

.gallery-item:hover .gallery-zoom,
.gallery-item:focus-visible .gallery-zoom {
    opacity: 1;
    transform: translateY(-2px);
}

/* Gallery lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(11, 18, 32, 0.92);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox img {
    max-width: min(96vw, 1200px);
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    background: #fff;
}

.gallery-lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.9;
}

.gallery-lightbox-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.22);
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.before-after span {
    position: absolute;
    bottom: 8px;
    padding: 4px 12px;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
}

.before-after .label-before { left: 8px; }
.before-after .label-after { right: 8px; }

/* Technology */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.tech-card {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.tech-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.tech-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: var(--radius-sm);
    color: white;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    padding: 0;
}

.tech-icon .service-icon-media,
.tech-icon .service-icon-media img {
    width: 100%;
    height: 100%;
    display: block;
}

.tech-icon .service-icon-media img {
    object-fit: cover;
}

/* Footer */
.site-footer {
    background: #4a4a4a;
    color: rgba(255,255,255,0.85);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.1fr 1.1fr 0.9fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-branch .footer-contact-item span,
.footer-branch .footer-contact-item a {
    word-break: break-word;
}

.footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.footer-brand .footer-logo-img,
.site-footer .site-logo img.footer-logo-img {
    height: 150px !important;
    width: auto;
    max-width: 480px;
    object-fit: contain;
    filter: none;
    border-radius: 20px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-emergency-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 12px 28px;
    border-radius: 999px;
    background: #e10600;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 6px 18px rgba(225, 6, 0, 0.28);
}

.footer-emergency-btn:hover,
.footer-emergency-btn:focus-visible {
    background: #c10500;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(225, 6, 0, 0.35);
}

.footer-title {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-family: var(--font-primary);
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    transition: all var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-links .footer-view-all {
    margin-top: 6px;
}

.footer-links .footer-view-all a {
    color: #fdf4b0;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-links .footer-view-all a:hover {
    color: #fff8d0;
    padding-left: 4px;
}

.rtl .footer-links a:hover {
    padding-left: 0;
    padding-right: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.footer-contact-item i {
    color: #fdf4b0;
    margin-top: 4px;
}

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

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: #4a4a4a;
    transform: translateY(-3px);
}

.footer-copyright {
    width: 100%;
    margin: 0 0 20px;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px 24px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.85);
}

.footer-bottom a:hover {
    color: var(--accent);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.65);
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* Floating Buttons */
.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rtl .floating-actions {
    right: auto;
    left: 24px;
}

.fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.fab:hover {
    transform: scale(1.1);
    color: white;
}

.fab-whatsapp {
    background: #25D366;
    position: relative;
}

.fab-whatsapp-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.rtl .fab-whatsapp-wrap {
    align-items: flex-start;
}

.fab-whatsapp-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e10600;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(225, 6, 0, 0.35);
}

.rtl .fab-whatsapp-badge {
    right: auto;
    left: -2px;
}

.fab-whatsapp-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    position: relative;
    padding-top: 22px;
    min-width: 180px;
}

.rtl .fab-whatsapp-menu {
    align-items: flex-start;
}

.fab-whatsapp-menu[hidden] {
    display: none !important;
}

.fab-whatsapp-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 22px;
    height: 22px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rtl .fab-whatsapp-close {
    right: auto;
    left: 0;
}

.fab-whatsapp-close:hover,
.fab-whatsapp-close:focus-visible {
    color: #fff;
}

.fab-whatsapp-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 10px 16px;
    background: #f3f4f6;
    color: #1f9a4a;
    border: 1.5px solid #25D366;
    border-radius: 10px 0 0 10px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.rtl .fab-whatsapp-option {
    border-radius: 0 10px 10px 0;
}

.fab-whatsapp-option:hover,
.fab-whatsapp-option:focus-visible {
    background: #25D366;
    color: #fff;
    transform: translateY(-1px);
}

.fab-whatsapp-wrap.is-open .fab-whatsapp {
    transform: scale(1.05);
}

.fab-appointment {
    background: var(--primary);
    width: auto;
    padding: 0 24px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    gap: 8px;
}

.fab-appointment span {
    display: none;
}

@media (min-width: 768px) {
    .fab-appointment span {
        display: inline;
    }
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary);
    color: white;
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform var(--transition);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Search Modal */
.search-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9998;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.search-modal.open {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    width: 100%;
    max-width: 640px;
    padding: 0 24px;
}

.search-input-wrap {
    position: relative;
}

.search-input-wrap input {
    width: 100%;
    padding: 20px 24px 20px 56px;
    font-size: 1.25rem;
    border: none;
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--shadow-lg);
}

.search-input-wrap i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-300);
    font-size: 1.2rem;
}

.search-results {
    background: white;
    border-radius: var(--radius-md);
    margin-top: 12px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.search-result-item {
    display: block;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
    transition: background var(--transition);
}

.search-result-item:hover {
    background: var(--gray-50);
    color: var(--primary);
}

/* Breadcrumbs */
.breadcrumb-nav {
    padding: 100px 0 20px;
    background: var(--section-alt);
}

.breadcrumb {
    margin: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--gray-500);
}

.breadcrumb-item.active {
    color: var(--primary);
}

/* Page Header — starts below fixed navbar */
.page-header {
    padding: calc(var(--header-height) + 48px) 0 60px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    text-align: center;
    color: white;
}

.page-header h1 {
    color: white;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 16px auto 0;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Page Transition */
.page-transition {
    animation: pageIn 0.5s ease-out;
}

@keyframes pageIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Newsletter */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    color: white;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 520px;
    margin: 0 auto;
}

.newsletter-form .cf-turnstile-field {
    width: 100%;
    margin: 0;
    order: 0;
}

.newsletter-form-row {
    display: flex;
    gap: 12px;
    width: 100%;
    align-items: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
}

/* Awards */
.awards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.award-item {
    text-align: center;
    opacity: 0.7;
    transition: opacity var(--transition);
    filter: grayscale(100%);
}

.award-item:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.award-item i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 8px;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--gray-700);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--card-bg);
    z-index: 999;
    padding: 24px 24px 120px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform var(--transition);
}

.rtl .mobile-nav {
    transform: translateX(-100%);
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-list > li > a {
    display: block;
    padding: 16px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-accordion {
    border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    text-align: left;
}

.rtl .mobile-nav-toggle {
    text-align: right;
}

.mobile-nav-toggle i {
    font-size: 0.75rem;
    color: var(--gray-500);
    transition: transform var(--transition);
}

.mobile-nav-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
    color: var(--primary);
}

.mobile-nav-toggle[aria-expanded="true"] {
    color: var(--primary);
    font-weight: 600;
}

.mobile-nav-panel {
    list-style: none;
    margin: 0;
    padding: 0 0 10px 12px;
}

.mobile-nav-panel[hidden] {
    display: none !important;
}

.mobile-nav-panel > li > a,
.mobile-nav-sub a {
    display: block;
    padding: 11px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-50);
}

.mobile-nav-item-with-icon {
    display: flex !important;
    align-items: center;
    gap: 12px;
}

.mobile-nav-item-with-icon > span {
    flex: 1;
    min-width: 0;
    line-height: 1.35;
}

.mobile-nav-panel .service-icon-media,
.mobile-nav-panel a > i.fas {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(35, 64, 142, 0.08);
    color: var(--primary);
    font-size: 0.9rem;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
}

.mobile-nav-panel .service-icon-media img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    display: block;
}

.mobile-nav-parent {
    font-weight: 600 !important;
    color: var(--gray-900) !important;
}

.mobile-nav-sub {
    list-style: none;
    margin: 0;
    padding: 0 0 4px 14px;
}

.mobile-nav-sub a {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--gray-500);
}

.mobile-nav-view-all {
    font-weight: 700 !important;
    color: var(--primary) !important;
}

.mobile-nav-appt {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
}

/* Alert Messages */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Detail Pages */
.content-area {
    padding: 60px 0;
}

.content-area img {
    border-radius: var(--radius-md);
    margin: 24px 0;
}

.sidebar-widget {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.sidebar-widget h4 {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.business-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-hours-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.88rem;
}

.business-hours-row:last-child {
    border-bottom: none;
}

.business-hours-day {
    font-weight: 600;
    color: var(--gray-800);
}

.business-hours-time {
    color: var(--gray-600);
    text-align: end;
}

.business-hours-row.is-closed .business-hours-time {
    color: var(--danger);
    font-weight: 600;
}

.business-hours-special {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
}

.business-hours-special h4 {
    font-size: 0.9rem;
    margin-bottom: 8px;
    border: none;
    padding: 0;
}

.business-hours-special-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray-600);
}

[dir="rtl"] .business-hours-row {
    flex-direction: row-reverse;
}

[dir="rtl"] .business-hours-time {
    text-align: start;
}

/* Site pagination */
.site-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}

.site-pagination-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-pagination-page,
.site-pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    background: var(--card-bg);
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition);
}

.site-pagination-page:hover,
.site-pagination-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.site-pagination-page.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.site-pagination-meta {
    text-align: center;
    margin-top: 12px;
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Rating Stars */
.rating-stars {
    color: var(--accent);
}

/* Phone field — country code + digits-only national number */
.phone-field {
    display: grid;
    grid-template-columns: minmax(160px, 48%) 1fr;
    gap: 8px;
    align-items: stretch;
}

.phone-field .phone-country {
    min-width: 0;
    padding-left: 10px;
    padding-right: 28px;
    font-size: 0.88rem;
}

.phone-field .phone-number {
    min-width: 0;
}

.phone-field-hint {
    margin: 6px 0 0;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.phone-field.is-invalid .phone-number,
.phone-field.is-invalid .phone-country {
    border-color: var(--danger);
}

@media (max-width: 480px) {
    .phone-field {
        grid-template-columns: 1fr;
    }
}

/* Print */
@media print {
    .site-header, .floating-actions, .cookie-consent, .site-footer { display: none; }
    body { color: #000; }
}
