:root {
    --primary: #B00554;
    --primary-hover: #84043F;
    --primary-deep: #6A0332;
    --accent: #F2A65A;
    --bg: #FFFCFF;
    --surface: #FFFFFF;
    --surface-alt: #FFF3F6;
    --surface-muted: #F6EDF2;
    --text: #1A1A1A;
    --muted: #4F3E46;
    --light: #FFFFFF;
    --border: rgba(26, 26, 26, 0.08);
    --border-strong: rgba(176, 5, 84, 0.2);
    --shadow: 0 18px 40px rgba(30, 10, 20, 0.12);
    --shadow-soft: 0 10px 24px rgba(30, 10, 20, 0.08);
    --shadow-strong: 0 32px 60px rgba(30, 10, 20, 0.2);
    --font-en: "Sora", sans-serif;
    --font-ar: "Tajawal", sans-serif;
    --radius-lg: 26px;
    --radius-md: 20px;
    --radius-sm: 12px;
}

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

body {
    font-family: var(--font-en);
    color: var(--text);
    background:
        radial-gradient(1100px 700px at 8% 0%, rgba(176, 5, 84, 0.1), transparent 60%),
        radial-gradient(900px 600px at 92% 8%, rgba(242, 166, 90, 0.12), transparent 55%),
        radial-gradient(800px 800px at 50% 100%, rgba(106, 3, 50, 0.08), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #fff7fa 45%, #fffdfc 100%);
    min-height: 100vh;
    line-height: 1.7;
    letter-spacing: 0.1px;
}

body.is-loading {
    overflow: hidden;
}

.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background:
        radial-gradient(600px 400px at 20% 20%, rgba(176, 5, 84, 0.08), transparent 70%),
        radial-gradient(700px 500px at 80% 80%, rgba(242, 166, 90, 0.08), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #fff5f8 100%);
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: grid;
    place-items: center;
    gap: 1rem;
}

.preloader-logo {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    position: relative;
}

.preloader-logo::before {
    content: "";
    position: absolute;
    inset: -18px;
    background:
        radial-gradient(circle at 30% 30%, rgba(176, 5, 84, 0.28), transparent 60%),
        radial-gradient(circle at 70% 20%, rgba(242, 166, 90, 0.28), transparent 60%),
        rgba(176, 5, 84, 0.08);
    border-radius: 42% 58% 52% 48% / 38% 62% 38% 62%;
    animation: preloaderMorph 2.6s ease-in-out infinite;
}

.preloader-logo::after {
    content: "";
    position: absolute;
    inset: -28px;
    border-radius: 50%;
    border: 2px solid rgba(176, 5, 84, 0.2);
    border-top-color: var(--primary);
    animation: preloaderSpin 1.2s linear infinite;
}

.preloader-logo img {
    width: 66px;
    height: 66px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    animation: preloaderFloat 2.4s ease-in-out infinite;
}

@keyframes preloaderSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes preloaderMorph {
    0% {
        border-radius: 42% 58% 52% 48% / 38% 62% 38% 62%;
    }
    50% {
        border-radius: 58% 42% 36% 64% / 52% 40% 60% 48%;
    }
    100% {
        border-radius: 42% 58% 52% 48% / 38% 62% 38% 62%;
    }
}

@keyframes preloaderFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .preloader-logo::before,
    .preloader-logo::after,
    .preloader-logo img {
        animation: none;
    }
}

html[dir="rtl"] body {
    font-family: var(--font-ar);
    letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
    letter-spacing: 0;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
}

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

.topbar {
    background: linear-gradient(120deg, #1D0A12, #2A0E1C);
    color: #f5e7ef;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    padding: 0.55rem 0;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.topbar-item i {
    color: rgba(255, 255, 255, 0.75);
}

.topbar a {
    color: #f5e7ef;
    text-decoration: none;
}

.ua-navbar {
    background: linear-gradient(180deg, #ffffff 0%, #fff3f6 100%);
    box-shadow: 0 12px 30px rgba(30, 10, 20, 0.1);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(176, 5, 84, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.brand-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.brand-text {
    font-size: 1rem;
    color: var(--primary-deep);
}

.ua-navbar .navbar-nav .nav-link {
    color: rgba(26, 26, 26, 0.85);
    font-weight: 600;
    position: relative;
}

.ua-navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: rgba(176, 5, 84, 0.7);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.ua-navbar .navbar-nav .nav-link:hover::after,
.ua-navbar .navbar-nav .nav-link:focus::after {
    transform: scaleX(1);
}

.ua-navbar .navbar-nav .nav-link:hover {
    color: var(--primary);
}

.ua-navbar .offcanvas {
    background: linear-gradient(180deg, #ffffff 0%, #fff6f8 100%);
    border-left: 1px solid rgba(176, 5, 84, 0.12);
}

.ua-navbar .offcanvas-header {
    border-bottom: 1px solid rgba(176, 5, 84, 0.12);
}

.ua-navbar .offcanvas-body .navbar-nav .nav-link {
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
}

.ua-navbar .offcanvas-body .navbar-nav .nav-link:hover {
    background: rgba(176, 5, 84, 0.08);
}

@media (max-width: 991px) {
    .ua-navbar .offcanvas-body {
        padding: 1rem 1.25rem 2rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .ua-navbar .offcanvas-body .navbar-nav {
        gap: 0.35rem;
        width: 100%;
    }

    .ua-navbar .offcanvas-body .navbar-nav .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .ua-navbar .offcanvas-body .dropdown-menu {
        width: 100%;
    }

    .ua-navbar .offcanvas-body .dropdown-menu .dropdown-item {
        padding: 0.55rem 0.75rem;
    }

    .ua-navbar .offcanvas-body .dropdown-menu {
        position: static;
        float: none;
        margin-top: 0.4rem;
        box-shadow: none;
        border: 1px solid rgba(176, 5, 84, 0.12);
    }

    .ua-navbar .offcanvas-body .d-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .ua-navbar .offcanvas-body .d-flex .btn {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .ua-navbar .navbar-brand {
        flex-shrink: 0;
    }

    .ua-navbar .offcanvas-body {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        padding: 0;
    }

    .ua-navbar .navbar-nav {
        flex: 1;
        justify-content: center;
        gap: 1.4rem;
    }

    .ua-navbar .navbar-nav .nav-item {
        white-space: nowrap;
    }

    .ua-navbar .navbar-nav .nav-link {
        padding: 0.45rem 0.3rem;
    }
}

.navbar .dropdown-menu {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 0.75rem;
    min-width: 220px;
}

.navbar .dropdown-item {
    font-weight: 600;
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
    white-space: nowrap;
}

.navbar .dropdown-item:hover {
    background: var(--surface-alt);
    color: var(--primary);
}

.ua-navbar .navbar-toggler {
    border-color: rgba(176, 5, 84, 0.35);
}

.ua-navbar .nav-actions {
    flex-shrink: 0;
}

html[dir="rtl"] .navbar .dropdown-menu {
    text-align: right;
}

.btn {
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 12px 24px rgba(176, 5, 84, 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 18px 30px rgba(176, 5, 84, 0.3);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-slide {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    color: #fff;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(19, 8, 12, 0.88), rgba(176, 5, 84, 0.62), rgba(242, 166, 90, 0.28));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 2.5rem 0;
}

.hero-content h1,
.hero-content h2 {
    font-size: clamp(2.4rem, 3.2vw, 3.8rem);
    line-height: 1.1;
    text-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.hero-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
}

.hero-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.7rem;
}

.hero-nav .swiper-button-next,
.hero-nav .swiper-button-prev {
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.hero-nav .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6);
}

.hero-nav .swiper-pagination-bullet-active {
    background: var(--accent);
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section > .container {
    position: relative;
    z-index: 1;
}

.section-hero-mini {
    padding: 3.5rem 0 2.5rem;
    background: linear-gradient(135deg, rgba(176, 5, 84, 0.12), rgba(255, 252, 255, 0.96));
    border-bottom: 1px solid var(--border);
}

.section-hero-mini.has-media {
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(255, 243, 246, 0.95)),
        var(--hero-image) center/cover no-repeat;
}

.section-hero-mini.has-media .section-text {
    max-width: 760px;
}

.section-hero-mini .section-text {
    max-width: 720px;
}

.section-title {
    font-size: clamp(2rem, 2.5vw, 2.9rem);
    margin-bottom: 0.8rem;
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.section-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--accent);
    border-radius: 999px;
}

.section-text {
    color: var(--muted);
}

.section-head {
    margin-bottom: 2.8rem;
}

.section-services::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 280px at 20% 0%, rgba(176, 5, 84, 0.08), transparent 70%),
        radial-gradient(600px 340px at 90% 80%, rgba(242, 166, 90, 0.12), transparent 70%);
    pointer-events: none;
}

.section-video {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 243, 246, 0.95));
}

.section-video-alt {
    background: linear-gradient(180deg, rgba(255, 243, 246, 0.95), rgba(255, 255, 255, 0.92));
}

.section-exhibitions::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 320px at 10% 10%, rgba(106, 3, 50, 0.08), transparent 70%),
        radial-gradient(640px 320px at 85% 90%, rgba(242, 166, 90, 0.08), transparent 70%);
    pointer-events: none;
}

.section-blog::before,
.section-why::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 300px at 85% 10%, rgba(176, 5, 84, 0.08), transparent 70%),
        radial-gradient(600px 300px at 15% 80%, rgba(242, 166, 90, 0.08), transparent 70%);
    pointer-events: none;
}

.about-card,
.service-card,
.exhibition-card,
.blog-card,
.detail-card,
.filter-card,
.testimonial-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
}

.service-card,
.exhibition-card,
.blog-card {
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.services-swiper .swiper-wrapper {
    align-items: stretch;
}

.services-swiper .swiper-slide {
    height: auto;
}

.services-swiper .swiper-button-prev,
.services-swiper .swiper-button-next {
    color: var(--primary);
}

.services-swiper .swiper-pagination-bullet-active {
    background: var(--primary);
}

@media (hover: hover) {
    .service-card:hover,
    .exhibition-card:hover,
    .blog-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow);
        border-color: var(--border-strong);
    }
}

.service-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.25s ease;
}

@media (hover: hover) {
    .service-card:hover::after {
        opacity: 1;
    }
}

.service-icon {
    width: 54px;
    height: 54px;
    background: var(--surface-alt);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(176, 5, 84, 0.15);
}

.service-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.exhibition-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: var(--surface);
    border-radius: 14px;
    padding: 0.45rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.check-list li {
    position: relative;
    padding-inline-start: 1.8rem;
    margin-bottom: 0.75rem;
}

.check-list li::before {
    content: "\2713";
    position: absolute;
    inset-inline-start: 0;
    color: var(--primary);
    font-weight: 700;
}

.exhibition-card img,
.blog-card img,
.gallery-swiper img {
    width: 100%;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.exhibition-body h3,
.blog-body h3 {
    font-size: 1.2rem;
    margin-top: 0.6rem;
}

.exhibition-date {
    font-size: 0.95rem;
    color: var(--muted);
}

.badge.bg-primary {
    background-color: rgba(176, 5, 84, 0.14) !important;
    color: var(--primary);
    border: 1px solid rgba(176, 5, 84, 0.2);
}

.section-highlight {
    padding-top: 0;
}

.highlight-card {
    background: linear-gradient(120deg, rgba(176, 5, 84, 0.12), rgba(255, 243, 246, 0.95));
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.highlight-card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -70px;
    top: -70px;
    background: radial-gradient(circle, rgba(242, 166, 90, 0.3), transparent 70%);
}

.section-why .testimonial-card h3 {
    font-size: 1.2rem;
    font-style: normal;
    margin-bottom: 0.75rem;
}

.cta-banner {
    background: linear-gradient(135deg, #3C0219 0%, #8E0443 50%, #B00554 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-strong);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -80px;
    bottom: -80px;
    background: radial-gradient(circle, rgba(242, 166, 90, 0.35), transparent 70%);
}

.cta-banner .section-text {
    color: rgba(255, 255, 255, 0.85);
}

.video-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.video-card video {
    width: 100%;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

.visa-table td {
    vertical-align: top;
    border-color: var(--border) !important;
}

.visa-label {
    width: 36%;
    font-weight: 600;
    color: var(--primary-deep);
}

.about-image {
    width: 100%;
    border-radius: var(--radius-sm);
}

.doc-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.link-arrow {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.link-arrow::after {
    content: " →";
}

html[dir="rtl"] .link-arrow::after {
    content: " ←";
}

.section-stats {
    background: linear-gradient(120deg, rgba(176, 5, 84, 0.08), rgba(255, 252, 255, 0.95));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
}

.stat-card span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.ua-footer {
    background: linear-gradient(135deg, #1A0710 0%, #2A0E1C 60%, #1A0710 100%);
    color: #f5e7ef;
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.footer-text {
    color: rgba(245, 231, 239, 0.8);
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-list li {
    margin-bottom: 0.6rem;
}

.footer-list a {
    color: #f5e7ef;
    text-decoration: none;
}

.footer-date {
    font-size: 0.8rem;
    color: rgba(245, 231, 239, 0.7);
    margin-top: 0.2rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f5e7ef;
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-credit a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-credit img {
    height: 22px;
    width: auto;
}

.site-chat {
    position: fixed;
    bottom: 1.5rem;
    inset-inline-start: 1.5rem;
    z-index: 1049;
}

.site-chat .chat-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 30px rgba(176, 5, 84, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-chat .chat-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 36px rgba(176, 5, 84, 0.4);
}

.site-chat .chat-panel {
    position: absolute;
    bottom: 70px;
    inset-inline-start: 0;
    width: min(90vw, 360px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 28px 48px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(176, 5, 84, 0.12);
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-chat.is-open .chat-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.chat-header {
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.chat-header h6 {
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
}

.chat-header span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.chat-close {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.chat-messages {
    padding: 1rem;
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #fff;
}

.chat-bubble {
    max-width: 80%;
    padding: 0.65rem 0.75rem;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.4;
    direction: auto;
    word-break: break-word;
}

.chat-bubble.bot {
    align-self: flex-start;
    background: #f7f1f4;
    color: var(--text);
    border: 1px solid var(--border);
}

.chat-bubble.user {
    align-self: flex-end;
    background: var(--primary);
    color: #fff;
}

.chat-bubble.typing {
    align-self: flex-start;
    background: #f7f1f4;
    color: #6c5b63;
    border: 1px solid var(--border);
    font-style: italic;
}

.chat-form {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    border-top: 1px solid var(--border);
    background: #fff;
}

.chat-input {
    flex: 1;
}

.chat-input:focus {
    border-color: rgba(176, 5, 84, 0.4);
    box-shadow: 0 0 0 0.2rem rgba(176, 5, 84, 0.15);
}

@media (max-width: 575px) {
    .site-chat {
        bottom: 1rem;
        inset-inline-start: 1rem;
    }

    .site-chat .chat-panel {
        width: min(94vw, 340px);
    }

    .chat-messages {
        max-height: 260px;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    inset-inline-end: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 18px 30px rgba(37, 211, 102, 0.35);
    z-index: 1050;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 36px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.partner-logo {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.2rem;
    text-align: center;
    font-weight: 700;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
}

.language-switcher .dropdown-menu {
    min-width: 6rem;
}

.ua-navbar .language-switcher .btn {
    border-color: rgba(176, 5, 84, 0.35);
    color: var(--primary-deep);
    background: rgba(176, 5, 84, 0.06);
}

.ua-navbar .language-switcher .btn:hover,
.ua-navbar .language-switcher .btn:focus {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.filter-card {
    margin-bottom: 2.5rem;
}

.contact-form .form-control,
.filter-card .form-control,
.filter-card .form-select {
    border-radius: var(--radius-sm);
    border-color: var(--border);
    background: var(--surface);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(176, 5, 84, 0.1);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.testimonial-card {
    text-align: center;
    font-style: italic;
}

.section-why .testimonial-card {
    text-align: start;
    font-style: normal;
}

@media (max-width: 991px) {
    .hero-slide {
        min-height: 70vh;
    }

    .hero-actions {
        flex-direction: column;
    }

    .highlight-card,
    .cta-banner {
        padding: 2rem;
    }
}
