:root {
    --primary-color: #978672;
    /* User's Secondary (Gold) used as Highlight */
    --primary-light: #978672;
    --secondary-color: #f8f9fa;
    /* Page Background */
    --accent-color: #ffffff;
    /* Card Background */
    --text-light: #978672;
    /* User's Primary (Dark) used as Text */
    --brand-dark: #978672;
    --brand-dark-2: #978672;
    --text-muted: #978672;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-highlight: rgba(255, 255, 255, 0.9);
    --gradient-main: linear-gradient(135deg, #978672 0%, #978672 100%);
    --content-button-color: #978672;
    --font-main: 'Noto Kufi Arabic', sans-serif;
    --font-english: 'Montserrat', sans-serif;
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --heading-shine: rgba(255, 255, 255, 0.55);
    --heading-gold-soft: rgba(151, 134, 114, 0.35);
    --button-radius: 10px;
}

/* Keep current palette for header and banners only */
.main-header,
.hero,
.page-header {
    --primary-color: #1d262d;
    --primary-light: #2a353d;
    --text-light: #1d262d;
    --brand-dark: #1d262d;
    --brand-dark-2: #141b21;
    --gradient-main: linear-gradient(135deg, #1d262d 0%, #2a353d 100%);
}

@keyframes headingShineSweep {
    0% {
        transform: translateX(-160%) skewX(-22deg);
        opacity: 0;
    }

    16% {
        opacity: 1;
    }

    38% {
        transform: translateX(170%) skewX(-22deg);
        opacity: 0;
    }

    100% {
        transform: translateX(170%) skewX(-22deg);
        opacity: 0;
    }
}

@keyframes headingGlowPulse {

    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes headingToneFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    outline: none;
}

html.motion-soft {
    --transition-fast: 0.18s cubic-bezier(0.22, 0.61, 0.36, 1);
    --transition-bounce: 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html.motion-soft [data-aos] {
    transition-duration: 560ms !important;
    transition-delay: 0ms !important;
    transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}

html.motion-soft [data-aos="fade-up"] {
    transform: translate3d(0, 14px, 0);
}

html.motion-soft [data-aos="fade-down"] {
    transform: translate3d(0, -14px, 0);
}

html.motion-soft [data-aos="fade-right"] {
    transform: translate3d(-14px, 0, 0);
}

html.motion-soft [data-aos="fade-left"] {
    transform: translate3d(14px, 0, 0);
}

html.motion-soft [data-aos^="zoom"] {
    transform: scale(0.985);
}

html.motion-soft [data-aos].aos-animate {
    transform: translate3d(0, 0, 0) scale(1);
}

[data-aos],
[data-aos].aos-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.page-header [data-aos],
.project-details-slider-section [data-aos],
.project-details-slider-section[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

html.motion-soft .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(20, 27, 33, 0.24);
}

html.motion-soft .partner-slide:hover {
    transform: translateY(-2px);
}

html.motion-soft .map-filter-item:hover {
    transform: translateX(-1px);
}

html.motion-soft .project-map-pin-pulse {
    animation-duration: 2.8s !important;
}

html.motion-none,
body.motion-none {
    scroll-behavior: auto !important;
}

html.motion-none *,
html.motion-none *::before,
html.motion-none *::after {
    animation: none !important;
    transition: none !important;
}

html.motion-none [data-aos],
body.motion-none [data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

@keyframes pageLoadFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

body.motion-none,
html.motion-none body.motion-none {
    opacity: 1 !important;
    animation: none !important;
}

@media (prefers-reduced-motion: reduce) {

    body.motion-none,
    html.motion-none body.motion-none {
        opacity: 1 !important;
        animation: none !important;
    }
}

body {
    font-family: var(--font-main);
    background: linear-gradient(180deg, #dcd5cd 0%, #ffffff 100%);
    background-color: #ffffff;
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}



body.project-single-body .main-footer,
body.project-single-body .main-footer * {
    visibility: visible;
    opacity: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.relative-z {
    position: relative;
    z-index: 2;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary-color);
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--content-button-color) 0%, var(--content-button-color) 100%);
    color: #fff;
    padding: 12px 30px;
    border-radius: 10px;
    /* Square buttons */
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    z-index: 1;
    transition: var(--transition-fast);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(20, 27, 33, 0.35);
}

/* Glassmorphism */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: #94866d !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
}

.main-header.scrolled {
    padding: 12px 0;
    /* Glassy Transparent Effect */
    background: #94866d !important;
    /* Semi-transparent dark to keep text readable */
    backdrop-filter: blur(20px) saturate(180%);
    /* Strong blur & saturation for premium glass feel */
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(14px, 2.8vw, 42px);
    height: 100%;
    min-height: 72px;
    /* Ensure content stays vertically centered */
}

.logo {
    position: relative;
    font-size: 1.5rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    z-index: 1;
}

.logo a {
    display: inline-flex;
    align-items: center;
}

/* Subtle Breathing Transparency around Logo */
/* Background pulse removed as requested */
.logo::before {
    display: none;
}

/* Logo Image with Breathing Transparency */
.logo img {
    height: 52px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(29, 38, 45, 0.15));
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    animation: none;
    opacity: 1;
}

.site-logo-image {
    max-height: 70px;
    width: auto;
    border-radius: 5px !important;
}

@media (max-width: 992px) {
    .site-logo-image {
        max-height: 50px;
    }
}

@keyframes logoImgBreath {

    0%,
    100% {
        opacity: 0.7;
        /* Slightly transparent */
        transform: scale(0.98);
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
    }

    50% {
        opacity: 1;
        /* Fully visible */
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
        /* Subtle glow peak */
    }
}

/* Shine removed as requested */
.logo::after {
    display: none;
}

.logo i {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    padding: 4px;
    margin: 0;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links li a {
    position: relative;
    font-family: var(--font-main);
    /* Modern, clean Arabic font */
    font-weight: 500;
    font-size: 0.89rem;
    padding: 9px 10px;
    color: #e2e8f0;
    line-height: 1.2;
    white-space: nowrap;
    transition: all 0.3s ease;
    z-index: 1;
    display: inline-block;
    overflow: hidden;
    will-change: transform, text-shadow;
    transform-style: preserve-3d;
    border: 1px solid transparent;
    border-radius: 10px;
    text-decoration: none !important;
}

/* Hover Shine Layer */
.nav-links li a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(112deg,
            rgba(255, 255, 255, 0) 25%,
            rgba(255, 255, 255, 0.45) 50%,
            rgba(255, 255, 255, 0) 75%);
    transform: translateX(-155%);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(226, 232, 240, 0.05)) !important;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
    backdrop-filter: none !important;
}

/* Glowing Bottom Line Animation */
.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 84%;
    height: 2px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.42) 16%,
            var(--primary-color) 42%,
            rgba(255, 255, 255, 0.95) 50%,
            var(--primary-color) 58%,
            rgba(255, 255, 255, 0.42) 84%,
            rgba(255, 255, 255, 0) 100%);
    background-size: 240% 100%;
    border-radius: 999px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.18), 0 0 12px rgba(29, 38, 45, 0.38);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, filter 0.35s ease;
    transform: translateX(-50%) scaleX(0.18);
    transform-origin: center;
    opacity: 0;
    filter: saturate(0.9);
}

.nav-links li a:hover::after {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
    filter: saturate(1.05) brightness(1.08);
    animation: navLineFlow 1s linear infinite;
}

.nav-links li a.active::after {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
    filter: saturate(1.08) brightness(1.12);
    animation: navLineFlow 1.45s linear infinite, navLineBreath 2.4s ease-in-out infinite;
}

.nav-links li a.active:hover::after {
    animation: navLineFlow 0.95s linear infinite, navLineBreath 2.1s ease-in-out infinite;
}

@keyframes navLineFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

@keyframes navLineBreath {

    0%,
    100% {
        opacity: 0.78;
    }

    50% {
        opacity: 1;
    }
}

/* Professional Glow Effect on Text Hover */
.nav-links li a:hover {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.nav-links li a:hover::before,
.nav-links li a.active::before {
    opacity: 1;
    animation: navMenuShine 1.25s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes navMenuShine {
    0% {
        transform: translateX(-155%);
        opacity: 0;
    }

    22% {
        opacity: 1;
    }

    100% {
        transform: translateX(165%);
        opacity: 0;
    }
}

.nav-links li a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

@media (min-width: 993px) and (max-width: 1280px) {
    .navbar {
        padding-inline: 12px;
    }

    .nav-links {
        gap: 2px;
    }

    .nav-links li a {
        font-size: 0.83rem;
        padding: 8px 7px;
    }
}

.btn-customer-dash {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.86rem;
    line-height: 1;
    box-shadow: 0 12px 26px rgba(20, 27, 33, 0.28);
}

.btn-customer-dash i {
    font-size: 0.85rem;
}

.btn-search {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-search:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
    border: none;
    background: transparent;
    padding: 0;
    line-height: 1;
    font-family: inherit;
}

.mobile-toggle i {
    pointer-events: none;
}

.mobile-toggle i.fa-bars-staggered {
    font-size: 1.42rem;
}

.mobile-toggle i.hamburger-2lines {
    font-size: 0;
    width: 15px;
    height: 11px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    line-height: 1;
}

.mobile-toggle i.hamburger-2lines::before,
.mobile-toggle i.hamburger-2lines::after {
    content: '';
    display: block;
    width: 15px;
    height: 2px;
    background-color: currentColor;
    border-radius: 2px;
}

@media (max-width: 992px) {
    .btn-header-menu .menu-burger-icon {
        width: 16px;
        height: 12px;
        gap: 4px;
    }

    .btn-header-menu .menu-burger-icon span {
        height: 2px;
        box-shadow: none;
    }

    .btn-header-menu .menu-burger-icon span:nth-child(3) {
        display: none;
    }

    .btn-header-menu.active .menu-burger-icon span:nth-child(1) {
        transform: translateY(3px) rotate(45deg);
    }

    .btn-header-menu.active .menu-burger-icon span:nth-child(2) {
        opacity: 1;
        transform: translateY(-3px) rotate(-45deg);
    }
}

.mobile-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.92);
    outline-offset: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 24px;
    overflow: hidden;
    perspective: 1500px;
    /* Crucial for 3D depth */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    transform-style: preserve-3d;
}

.hero-bg-solid {
    background: #000;
}

.hero-video-embed {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-video-embed.is-loaded {
    opacity: 1;
}

/* YouTube Video Background */
.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    /* Large buffer for deep 3D tilting */
    height: 130%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -2;
    transform-style: preserve-3d;
    will-change: transform;
}

.video-background iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(1.1);
}

.video-background video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    transform: scale(1.1);
}

.hero-image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.05) contrast(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: -1;
}

.lens-flare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.flare-main,
.flare-secondary {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: screen;
}

.flare-main {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(29, 38, 45, 0.2) 0%, rgba(29, 38, 45, 0.05) 40%, transparent 70%);
    filter: blur(60px);
    top: -100px;
    left: -100px;
}

.flare-secondary {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(29, 38, 45, 0.05) 50%, transparent 70%);
    filter: blur(40px);
    top: 20%;
    right: -50px;
}

.flare-glimmer {
    position: absolute;
    width: 300%;
    /* Wider for a more dramatic sweep */
    height: 600px;
    /* Much taller for full coverage */
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0) 15%,
            rgba(255, 255, 255, 0.2) 35%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0.2) 65%,
            rgba(255, 255, 255, 0) 85%,
            transparent 100%);
    transform: rotate(-35deg) translateY(-50%);
    top: 10%;
    left: -150%;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: color-dodge;
    /* More intense professional blend */
    filter: blur(100px);
}

.flare-glimmer-secondary {
    position: absolute;
    width: 250%;
    height: 200px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    transform: rotate(-35deg) translateY(-50%);
    top: 40%;
    left: -150%;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
    filter: blur(50px);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-social-rail {
    position: absolute;
    left: 5em;
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-social-link {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.28s ease;
}

.hero-social-link:hover {
    background: rgba(29, 38, 45, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    transform: translateX(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.hero-title {
    font-size: min(8.6vw, 2.55rem);
    /* Reduced size as requested */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.hero-title span.highlight {
    display: inline-block;
    color: #fff;
    /* Clean text with subtle shadow */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    background: linear-gradient(to right, #ffffff 20%, #bfdbfe 50%, #ffffff 80%);
    background-clip: text;
    /* Standard property */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: textShine 5s linear infinite;
}

@keyframes textShine {
    to {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e2e8f0;
    margin-bottom: 40px;
    animation: subtitleBreathe 6s infinite ease-in-out;
}

.hero-subtitle-wide {
    max-width: 100%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@keyframes subtitleBreathe {

    0%,
    100% {
        opacity: 0.8;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-5px);
    }
}

/* Video Progress Bar */
.video-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-progress-bar {
    width: 100%;
    height: 8px;
    /* Slightly larger as requested */
    background: rgba(255, 255, 255, 0.08);
    /* Faint track */
    backdrop-filter: blur(5px);
    position: relative;
    /* overflow: hidden; Removed to let the glow spill out if needed, or keep hidden if safer. 
       Let's keep hidden but use box-shadow on the child to bleed. */
    overflow: visible;
    border-radius: 0;
}

/* The Progress Fill */
.video-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--video-progress, 0%);
    /* Rich Golden Gradient - Flat, no external glow */
    background: linear-gradient(90deg, #8a7d5b 0%, #aea07a 50%, #fceeb5 100%);
    transition: width 0.1s linear;
    z-index: 5;
}

/* Head Glow Removed */

/* Moving Shine Animation */
.video-progress-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    overflow: hidden;
    /* Contain the shine within the bar area */
    pointer-events: none;
}

.video-progress-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    transform: skewX(-20deg);
    animation: barShine 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes barShine {
    0% {
        left: -50%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 150%;
        opacity: 0;
    }
}

/* Search Box in Hero */
.hero-search-box {
    background: rgba(255, 255, 255, 0.9);
    /* Opaque white for search box */
    padding: 15px;
    border-radius: 0;
    display: flex;
    gap: 10px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* About Home Section */
.about-home {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(140deg, #ffffff 0%, #f5f8fb 52%, #eef4f8 100%);
    background-size: 180% 180%;
    background-position: 0% 50%;
}

.about-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 18%, rgba(29, 38, 45, 0.1) 0%, rgba(29, 38, 45, 0) 46%),
        radial-gradient(circle at 88% 86%, rgba(29, 38, 45, 0.07) 0%, rgba(29, 38, 45, 0) 50%);
    pointer-events: none;
    z-index: 0;
}

.about-home-bg-motion {
    position: absolute;
    inset: -10% -6%;
    pointer-events: none;
    z-index: 0;
}

.about-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(38px);
    opacity: 0.46;
    mix-blend-mode: multiply;
}

.about-bg-orb.orb-1 {
    width: 360px;
    height: 360px;
    top: 8%;
    left: 4%;
    background: radial-gradient(circle, rgba(29, 38, 45, 0.16) 0%, rgba(29, 38, 45, 0) 68%);
}

.about-bg-orb.orb-2 {
    width: 300px;
    height: 300px;
    top: 36%;
    left: 42%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0) 68%);
    opacity: 0.5;
    mix-blend-mode: screen;
}

.about-bg-orb.orb-3 {
    width: 340px;
    height: 340px;
    top: 54%;
    right: 2%;
    background: radial-gradient(circle, rgba(29, 38, 45, 0.14) 0%, rgba(29, 38, 45, 0) 70%);
}

.about-home>.container {
    position: relative;
    z-index: 1;
}

.about-home-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 42px;
    align-items: start;
}

.about-home-media {
    position: relative;
}

.about-home-image-shell {
    border: 1px solid rgba(29, 38, 45, 0.25);
    background: rgba(255, 255, 255, 0.65);
    padding: 14px;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.12);
}

.about-home-image-shell img {
    width: 100%;
    min-height: 430px;
    object-fit: cover;
}

.about-home-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: linear-gradient(135deg, rgba(29, 38, 45, 0.92), rgba(29, 38, 45, 0.78));
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 14px 16px;
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.about-home-badge strong {
    color: #ffffff;
    font-size: 1.4rem;
    line-height: 1;
}

.about-home-badge span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.about-home-content h2 {
    font-size: 2.25rem;
    line-height: 1.45;
    color: var(--text-light);
    margin: 14px 0 18px;
}

.about-home-content {
    align-self: start;
}

.about-home-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 24px;
}

.about-home-description {
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-home-description--desktop-full {
    display: none;
}

@media (min-width: 992px) {
    .about-home-description--inline {
        display: none;
    }

    .about-home-description--desktop-full {
        display: block;
        margin: 20px auto 0;
        width: 100%;
        max-width: 100%;
        white-space: nowrap;
        text-align: center;
        font-size: 0.98rem;
        line-height: 1.7;
    }
}

.about-home-cta {
    margin-top: 10px;
}

.about-home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid rgba(29, 38, 45, 0.45);
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    background: rgba(29, 38, 45, 0.1);
}

.about-home-points {
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
}

.about-point {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(255, 255, 255, 0.72);
    transition: var(--transition-fast);
}

.about-point i {
    color: var(--primary-color);
    width: 18px;
    text-align: center;
}

.about-point span {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.about-point:hover {
    transform: translateX(-4px);
    border-color: rgba(29, 38, 45, 0.5);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
}

.about-home-actions {
    display: flex;
    justify-content: flex-start;
}

.search-input-group {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 20px;
    background: #f1f5f9;
    /* Light grey bg for inputs */
    border-radius: 0;
}

.search-input-group i {
    color: var(--primary-color);
    margin-left: 10px;
}

.search-input-group input {
    background: transparent;
    border: none;
    color: var(--text-light);
    /* Dark text input */
    width: 100%;
    height: 50px;
    font-family: inherit;
}

.search-input-group input::placeholder {
    color: var(--text-muted);
}

/* Section Styles */
.section-padding {
    padding: 100px 0;
}

.loader-inline {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--primary-color);
}

/* Unified light backgrounds across site (except maps/banner/footer) */
.section-padding:not(.projects-map-section) {
    background-color: transparent;
    background-image: none;
}

.about-home,
.featured-projects,
.achievements-section,
.partners-section {
    background-color: transparent !important;
    background-image: none !important;
}

.partners-section-shell {
    position: relative;
}

.about-home::before,
.featured-projects::before,
.achievements-section::after {
    display: none !important;
}

.about-home-bg-motion,
.about-bg-orb {
    display: none !important;
}

.bg-pattern-dots {
    background-color: transparent;
    background-image: none !important;
}

body.properties-page .properties-page-content {
    background-color: #ffffff !important;
}

body.properties-page #properties-grid.properties-grid-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.home-page .section-padding:not(.projects-map-section) {
    background-color: #ffffff;
}

body.home-page .about-home,
body.home-page .featured-projects,
body.home-page .achievements-section,
body.home-page .partners-section {
    background-color: #ffffff !important;
}

.section-title {
    text-align: center;
    margin-bottom: 90px;
    /* Increased spacing */
    overflow: hidden;
    /* For reveal animation */
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--text-light);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-title span {
    display: block;
    width: 80px;
    height: 5px;
    background: var(--gradient-main);
    margin: 0 auto;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

/* Line shine - Controlled by GSAP */
.section-title span::after {
    content: '';
    position: absolute;
    top: 0;
    left: var(--line-shine-left, -100%);
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

/* Filter Buttons */
.btn-filter {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid #cbd5e1;
    padding: 8px 25px;
    border-radius: 0;
    /* Square buttons */
    cursor: pointer;
    margin: 0 5px;
    transition: var(--transition-fast);
    font-family: inherit;
    font-weight: 600;
}

.btn-filter:hover,
.btn-filter.active {
    background: var(--content-button-color);
    color: #fff;
    border-color: var(--content-button-color);
    box-shadow: 0 5px 15px rgba(29, 38, 45, 0.2);
}

/* Projects Filter */
.projects-filter {
    margin-bottom: 40px;
    font-family: var(--font-main);
}

.projects-sidebar .projects-filter {
    margin-bottom: 0;
}

.projects-filter .filter-header,
.projects-filter .filter-title,
.projects-filter .filter-title h2,
.projects-filter .filter-eyebrow,
.projects-filter .filter-meta,
.projects-filter .filter-pill,
.projects-filter .filter-label,
.projects-filter .filter-input,
.projects-filter .filter-select,
.projects-filter .filter-chip,
.projects-filter .btn-filter-primary,
.projects-filter .btn-filter-ghost,
.projects-filter .range-separator,
.projects-filter input,
.projects-filter select,
.projects-filter button,
.projects-filter option {
    font-family: var(--font-main);
}


.filter-shell {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 253, 0.95));
    border: 1px solid rgba(29, 38, 45, 0.14);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

.filter-shell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, rgba(151, 134, 114, 0.95) 0%, rgba(29, 38, 45, 0.8) 52%, rgba(151, 134, 114, 0.95) 100%);
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-title h2 {
    font-size: 1.6rem;
    color: var(--text-light);
    margin-top: 6px;
}

.filter-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(29, 38, 45, 0.12);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
}

.filter-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.9rem;
}

.filter-pill.live {
    background: rgba(29, 38, 45, 0.12);
    color: var(--primary-color);
}

.filter-pill.live i {
    color: var(--primary-color);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
    position: relative;
    z-index: 1;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    grid-column: span 3;
}

.filter-group.span-2 {
    grid-column: span 6;
}

.filter-label {
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.95rem;
}

.filter-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.35);
    transition: var(--transition-fast);
}

.filter-field i {
    color: var(--primary-color);
}

.filter-input,
.filter-select {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #fff;
    padding: 12px 14px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.filter-input::placeholder {
    color: var(--text-muted);
}

.filter-field .filter-input {
    border: none;
    background: transparent;
    padding: 14px 0;
}

.filter-input:focus,
.filter-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29, 38, 45, 0.2);
}

.filter-field:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29, 38, 45, 0.2);
}

.filter-range {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.range-separator {
    color: var(--text-muted);
    font-weight: 700;
    text-align: center;
}

.filter-segment {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    border: 1px solid rgba(29, 38, 45, 0.3);
    background: #fff;
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-chip:hover,
.filter-chip.active {
    background: var(--content-button-color);
    color: #fff;
    border-color: var(--content-button-color);
    box-shadow: 0 10px 20px rgba(29, 38, 45, 0.2);
}

.filter-actions {
    grid-column: span 12;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 6px;
}

.projects-layout {
    display: grid;
    grid-template-columns: minmax(300px, 350px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.projects-content {
    width: 100%;
    min-width: 0;
    grid-column: 2;
}

.projects-sidebar {
    position: sticky;
    top: 108px;
    align-self: start;
    grid-column: 1;
}

.projects-sidebar .filter-shell {
    border-radius: 18px;
    border-color: rgba(29, 38, 45, 0.18);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 253, 0.95) 100%);
    box-shadow: 0 20px 38px rgba(15, 23, 42, 0.12);
}

.projects-sidebar .filter-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.projects-sidebar .filter-title h2 {
    font-size: 1.35rem;
}

.projects-sidebar .filter-meta {
    width: 100%;
    justify-content: space-between;
}

.projects-sidebar .filter-grid {
    grid-template-columns: 1fr;
}

.projects-sidebar .filter-group,
.projects-sidebar .filter-group.span-2,
.projects-sidebar .filter-actions {
    grid-column: span 1;
}

.projects-sidebar .filter-actions {
    flex-direction: column;
    align-items: stretch;
}

.btn-filter-primary,
.btn-filter-ghost {
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
}

.btn-filter-primary {
    background: linear-gradient(135deg, #1d262d 0%, #2c3a46 100%);
    border: none;
    color: #fff;
    box-shadow: 0 12px 25px rgba(20, 27, 33, 0.32);
}

.btn-filter-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(20, 27, 33, 0.44);
}

.btn-filter-ghost {
    background: #fff;
    border: 1px solid rgba(29, 38, 45, 0.24);
    color: #1d262d;
}

.btn-filter-ghost:hover {
    background: rgba(29, 38, 45, 0.07);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Home featured projects */
.featured-projects {
    position: relative;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 60%, rgba(29, 38, 45, 0.08) 100%);
    overflow: hidden;
}

.featured-projects::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(29, 38, 45, 0.13) 0%, transparent 40%);
    pointer-events: none;
}

.featured-projects-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
}

.featured-projects-title h2 {
    margin: 10px 0 10px;
    font-size: 2.1rem;
    color: var(--text-light);
}

.featured-projects-title p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 640px;
}

.featured-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(29, 38, 45, 0.12);
    border: 1px solid rgba(29, 38, 45, 0.35);
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.82rem;
}

.featured-head-link {
    color: var(--text-light);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(255, 255, 255, 0.75);
}

.featured-head-link i {
    color: var(--primary-color);
    transition: transform 0.25s ease;
}

.featured-head-link:hover {
    border-color: rgba(29, 38, 45, 0.6);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
}

.featured-head-link:hover i {
    transform: translateX(-4px);
}

.properties-grid-home {
    position: relative;
    z-index: 1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.projects-content .properties-grid-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: stretch;
    align-items: start;
    align-content: start;
}

.projects-content .properties-grid-home .property-card.premium-overlay-design {
    width: 100%;
    max-width: none;
}

@media (max-width: 1200px) {
    .properties-grid-home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.section-title h2,
.about-home-content h2,
.featured-projects-title h2,
.filter-title h2,
.form-title {
    position: relative;
    display: inline-block;
    isolation: isolate;
    font-weight: 800;
    letter-spacing: 0.2px;
    line-height: 1.45;
    text-wrap: balance;
}

.section-title h2,
.about-home-content h2,
.featured-projects-title h2,
.filter-title h2,
.form-title {
    color: var(--text-light);
    background: linear-gradient(115deg, #111820 0%, #2b3440 36%, #5b6470 58%, #1d262d 78%, #4b5563 100%);
    background-size: 220% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 24px rgba(20, 27, 33, 0.18));
    animation: headingToneFlow 10s linear infinite;
}

.section-title h2::before,
.about-home-content h2::before,
.featured-projects-title h2::before,
.filter-title h2::before,
.form-title::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(29, 38, 45, 0.12) 8%, rgba(29, 38, 45, 0.9) 50%, rgba(29, 38, 45, 0.12) 92%, transparent 100%);
    box-shadow: 0 0 18px var(--heading-gold-soft);
    animation: headingGlowPulse 4.2s ease-in-out infinite;
    z-index: -1;
}

.section-title h2::after,
.about-home-content h2::after,
.featured-projects-title h2::after,
.filter-title h2::after,
.form-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: -35%;
    width: 32%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 20%, var(--heading-shine) 52%, transparent 100%);
    mix-blend-mode: screen;
    pointer-events: none;
    animation: headingShineSweep 5.8s ease-in-out infinite;
}

/* New heading style for primary section titles (without badge box) */
.section-title h2,
.about-home-content h2,
.featured-projects-title h2,
.filter-title h2,
.form-title {
    color: var(--brand-dark);
    background: none;
    -webkit-text-fill-color: currentColor;
    padding-inline-start: 16px;
    text-shadow: none;
    animation: none;
}

.section-title h2::before,
.about-home-content h2::before,
.featured-projects-title h2::before,
.filter-title h2::before,
.form-title::before {
    display: none;
}

.section-title h2::after,
.about-home-content h2::after,
.featured-projects-title h2::after,
.filter-title h2::after,
.form-title::after {
    top: auto;
    left: 0;
    right: 0;
    bottom: -10px;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, rgba(29, 38, 45, 0.35) 100%);
    animation: none;
    box-shadow: none;
}

.featured-projects .property-card {
    border-color: rgba(29, 38, 45, 0.18);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.featured-projects .property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.14);
}

.featured-projects .card-content {
    padding: 22px;
}

.featured-projects .card-title {
    line-height: 1.55;
}

.featured-projects-action {
    margin-top: 44px;
}

/* Property Cards */
.property-card {
    background: var(--accent-color);
    border-radius: 0;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    transition: var(--transition-fast);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.property-card:hover .card-image img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-main);
    color: #fff;
    padding: 5px 15px;
    border-radius: 0;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 2;
}

.card-content {
    padding: 25px;
}

.card-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-light);
    /* Dark title */
}

.card-features {
    display: flex;
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
}

.card-features span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-features i {
    color: var(--primary-color);
}

/* Scroll Progress */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-main);
    z-index: 1001;
    transition: 0.1s;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 10px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    z-index: 99;
    color: var(--brand-dark);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 251, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px) saturate(165%);
    -webkit-backdrop-filter: blur(14px) saturate(165%);
    box-shadow: 0 12px 24px rgba(9, 12, 20, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.65);
    overflow: visible;
    transform: translateY(10px) scale(0.94);
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top i {
    position: relative;
    z-index: 3;
    font-size: 0.95rem;
    color: var(--brand-dark);
    text-shadow: 0 0 10px rgba(29, 38, 45, 0.22);
}

.scroll-to-top::before {
    display: none;
}

.scroll-to-top::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.scroll-to-top:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 30px rgba(9, 12, 20, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.progress-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    border-radius: 10px;
    overflow: visible;
    pointer-events: none;
    z-index: 1;
}

.progress-ring__track,
.progress-ring__square,
.progress-ring__glow {
    fill: none;
    rx: 10px;
    ry: 10px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.progress-ring__track {
    stroke: rgba(17, 24, 39, 0.2);
    stroke-width: 1.6;
}

.scroll-to-top .progress-ring__square {
    stroke: url(#scrollProgressGradient);
    stroke-width: 2.45;
    filter: drop-shadow(0 0 6px rgba(29, 38, 45, 0.36));
}

.scroll-to-top .progress-ring__glow {
    stroke: rgba(255, 255, 255, 0.95);
    stroke-width: 1.15;
    opacity: 0.38;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
    animation: none;
}

.scroll-to-top:hover .progress-ring__square {
    filter: drop-shadow(0 0 7px rgba(29, 38, 45, 0.45));
}

.scroll-to-top:hover .progress-ring__glow {
    opacity: 0.45;
}

/* Footer (Keep Dark for contrast) */
.main-footer {
    background: #94866d;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    margin-top: auto;
    flex-shrink: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-desc {
    color: #ffffff;
    margin: 20px 0;
}

.footer-logo img {
    max-height: 70px;
    width: auto;
    filter: none;
    border-radius: 5px !important;
}

.main-footer h3 {
    color: #ffffff !important;
    background-image: none !important;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: none;
    animation: none;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
    background: #ffffff;
    color: #1d262d;
}

.social-icon:hover {
    background: #ffffff;
    color: #1d262d;
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #ffffff;
    padding-right: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-contact i {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 20px 0;
    color: #ffffff;
}

.footer-bottom p,
.footer-bottom span {
    color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
    align-items: start;
}

.form-card {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.9));
    border: 1px solid rgba(29, 38, 45, 0.2);
    border-radius: 10px;
    padding: 36px;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

.form-card--sticky {
    position: sticky;
    top: 100px;
}

.form-head {
    text-align: center;
    margin-bottom: 24px;
}

.form-title {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-title::after {
    display: none;
}

.form-subtitle {
    color: var(--text-muted);
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-grid--single {
    grid-template-columns: 1fr;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.form-span-2 {
    grid-column: span 2;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.55;
}

.form-control {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    min-height: 48px;
    width: 100%;
    min-width: 0;
    transition: var(--transition-fast);
}

.form-control i {
    color: var(--primary-color);
}

.form-control:focus-within {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29, 38, 45, 0.2);
}

.form-input {
    flex: 1;
    border: none;
    background: transparent;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--text-light);
    outline: none;
}

textarea.form-input {
    line-height: 1.65;
}

.form-dropdown-wrapper {
    min-width: 0;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8.825L.35 3.175 1.4 2.125 6 6.725 10.6 2.125l1.05 1.05z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    padding-left: 34px;
}

.form-select option {
    color: #1e293b;
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input-ltr-right {
    text-align: right;
}

.form-textarea {
    align-items: flex-start;
}

.form-textarea i {
    margin-top: 6px;
}

.form-textarea .form-input {
    min-height: 140px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    margin-top: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    box-shadow: 0 12px 30px rgba(29, 38, 45, 0.35);
}

.form-note {
    margin-top: 14px;
    color: #94a3b8;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-note i {
    color: var(--primary-light);
}

.form-page-shell {
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
}

.form-page-card {
    border-radius: 18px;
}

.form-note--alert {
    margin-bottom: 14px;
    justify-content: flex-start;
    text-align: start;
    border-width: 1px;
    border-style: solid;
    border-radius: 10px;
    padding: 10px 12px;
}

.form-note--success {
    color: #166534;
    border-color: rgba(22, 163, 74, 0.3);
    background: rgba(22, 163, 74, 0.08);
}

.form-note--error {
    color: #991b1b;
    border-color: rgba(220, 38, 38, 0.3);
    background: rgba(220, 38, 38, 0.08);
}

.dynamic-field-note {
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.55;
}

.dynamic-choice-panel {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 10px;
    padding: 10px 12px;
    display: grid;
    gap: 8px;
}

.dynamic-choice-row {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;
    width: 100%;
    color: #334155;
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.5;
    cursor: pointer;
}

.dynamic-choice-row input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--primary-color);
}

.dynamic-choice-row span {
    min-width: 0;
}

.dynamic-file-input {
    line-height: 1.4;
    min-width: 0;
    width: 100%;
}

.dynamic-file-input::file-selector-button {
    border: 1px solid rgba(29, 38, 45, 0.24);
    background: rgba(241, 245, 249, 0.96);
    color: #1e293b;
    border-radius: 7px;
    padding: 6px 10px;
    margin-inline-end: 8px;
    font-weight: 700;
    cursor: pointer;
}

.form-page .form-card .form-head {
    display: none;
}

.form-direct {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed rgba(148, 163, 184, 0.4);
    text-align: center;
}

.form-direct-title {
    color: #8a94a6;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.form-direct a {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.direct-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(29, 38, 45, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

/* Simple newsletter form */
.newsletter-copy {
    margin: 10px 0 14px;
    color: #ffffff;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.newsletter-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(29, 38, 45, 0.18);
    padding: 14px 18px;
    border-radius: 10px;
    color: #1d262d;
    direction: rtl;
    text-align: right;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.newsletter-input:focus {
    background: #ffffff;
    border-color: rgba(29, 38, 45, 0.35);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.24);
}

.newsletter-input::placeholder {
    color: #64748b;
    text-align: right;
}

.btn-subscribe {
    width: 100%;
    background: #ffffff;
    color: #1d262d;
    border-radius: 10px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.4px;
    border: 1px solid rgba(29, 38, 45, 0.2);
    transition: var(--transition-fast);
    cursor: pointer;
}

.btn-subscribe:hover {
    transform: translateY(-2px);
    background: #ffffff;
    color: #1d262d;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.2);
    border-color: rgba(29, 38, 45, 0.28);
}

.btn-subscribe:hover i {
    transform: translateX(-5px);
}

/* Animations migrated to GSAP */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-card--sticky {
        position: static;
    }

    .projects-layout {
        grid-template-columns: 1fr;
    }

    .projects-content,
    .projects-sidebar {
        grid-column: auto;
    }

    .projects-sidebar {
        position: static;
    }

    .featured-projects-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 28px;
    }

    .featured-projects-title h2 {
        font-size: 1.8rem;
    }

    .about-home-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-home-image-shell img {
        min-height: 320px;
    }

    .about-home-content h2 {
        font-size: 1.9rem;
    }
}

/* Responsive */
@media (max-width: 768px) {

    .nav-links,
    .btn-search,
    .nav-actions .btn-primary {
        display: none;
    }

    .mobile-toggle {
        display: block;
        color: #fff;
    }

    .hero-title {
        font-size: min(8.8vw, 2.2rem);
        white-space: nowrap;
    }

    .section-title h2::before,
    .about-home-content h2::before,
    .featured-projects-title h2::before,
    .filter-title h2::before,
    .form-title::before {
        bottom: -6px;
    }

    .properties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .projects-content .properties-grid-home {
        grid-template-columns: 1fr;
    }

    .featured-projects-title h2 {
        font-size: 1.55rem;
    }

    .featured-projects-title p {
        font-size: 0.95rem;
    }

    .featured-head-link {
        width: 100%;
        justify-content: center;
    }

    .featured-projects-action {
        margin-top: 30px;
    }

    .about-home-content h2 {
        font-size: 1.55rem;
    }

    .about-home-content p {
        font-size: 0.98rem;
        margin-bottom: 20px;
    }

    .about-point {
        padding: 10px 12px;
    }

    .about-point span {
        font-size: 0.9rem;
    }

    .about-home-badge {
        left: 12px;
        bottom: 12px;
    }

    .hero-social-rail {
        left: 5em;
        gap: 8px;
    }

    .hero-social-link {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .hero-search-box {
        flex-direction: column;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
    }

    .search-input-group {
        background: rgba(0, 0, 0, 0.5);
        width: 100%;
        border: 1px solid var(--glass-border);
    }

    .btn-search-hero {
        width: 100%;
    }

    .form-card {
        padding: 28px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-span-2 {
        grid-column: auto;
    }

    .form-note {
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input,
    .btn-subscribe {
        width: 100%;
    }

    .projects-layout {
        gap: 20px;
    }

    .filter-shell {
        padding: 22px;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .filter-group,
    .filter-group.span-2,
    .filter-actions {
        grid-column: span 1;
    }

    .filter-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {

    .section-title h2,
    .about-home-content h2,
    .featured-projects-title h2,
    .filter-title h2,
    .form-title {
        animation: none;
        background-position: 50% 50%;
    }

    .section-title h2::before,
    .about-home-content h2::before,
    .featured-projects-title h2::before,
    .filter-title h2::before,
    .form-title::before,
    .section-title h2::after,
    .about-home-content h2::after,
    .featured-projects-title h2::after,
    .filter-title h2::after,
    .form-title::after {
        animation: none;
    }
}

/* Contact Page Icons - Large as requested */
.contact-info .icon-box {
    width: 5em;
    height: 5em;
    font-size: 1.8rem;
    flex-shrink: 0;
    /* Ensure they don't shrink */
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(29, 38, 45, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-info .info-item:hover .icon-box {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 30px rgba(29, 38, 45, 0.5);
}

/* --- New Professional Page Banner & Titles --- */
.page-header {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 56px 0 42px !important;
    text-align: center;
    background: var(--page-header-bg, linear-gradient(150deg, #1d262d 0%, #2a353d 100%)) no-repeat center center / cover;
}

.page-header+.section-padding:not(.project-details-slider-section) {
    padding-top: 2em !important;
}

.page-header+.after-sales-app-shell {
    padding-top: 2em !important;
}

.page-header+.blog-hub-section {
    padding-top: 2em !important;
}

.page-header+.project-slider-fullwidth-wrap {
    margin-top: 2em !important;
}

.page-header .hero-overlay {
    z-index: 0;
    background: linear-gradient(180deg, rgba(29, 38, 45, 0.9) 0%, rgba(29, 38, 45, 0.72) 45%, rgba(29, 38, 45, 0.34) 100%);
}

.page-header .container {
    position: relative;
    z-index: 2;
    color: #fff;
}

.page-header:not(.project-details-hero) h1 {
    font-size: 3.5rem !important;
    font-weight: 800;
    margin: 0 0 18px;
    color: #ffffff !important;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 1) 30%, rgba(214, 231, 245, 0.9) 56%, rgba(255, 255, 255, 0.98) 78%, rgba(255, 255, 255, 0.86) 100%) !important;
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 8px 24px rgba(16, 26, 38, 0.34), 0 0 18px rgba(210, 232, 250, 0.34);
    animation: pageBannerGlassPulse 3.4s ease-in-out infinite, pageBannerGlassShimmer 11s linear infinite;
    position: relative;
    display: inline-block;
    padding-bottom: 0;
}

@keyframes pageBannerGlassPulse {
    0%,
    100% {
        filter: drop-shadow(0 0 0 rgba(209, 230, 247, 0));
    }

    50% {
        filter: drop-shadow(0 0 8px rgba(214, 233, 250, 0.52));
    }
}

@keyframes pageBannerGlassShimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.page-header:not(.project-details-hero) p {
    margin: 0 auto;
    max-width: min(760px, 100%);
    color: #f0f0f0;
    font-size: 1.1rem;
    line-height: 1.85;
}

.page-breadcrumbs {
    display: none !important;
}

.page-breadcrumbs ol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.26);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.page-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    color: rgba(241, 245, 249, 0.96);
    font-size: 0.88rem;
    font-weight: 700;
}

.page-breadcrumbs a {
    color: rgba(255, 255, 255, 0.96);
}

.page-breadcrumbs a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.page-breadcrumbs .sep {
    font-size: 0.72rem;
    color: rgba(226, 232, 240, 0.72);
}

/* --- Project Details Page --- */
.project-details-hero {
    isolation: isolate;
    margin-bottom: 0;
    overflow: hidden;
    padding-top: 64px !important;
    padding-bottom: 56px !important;
}

.project-details-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    left: -160px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(151, 134, 114, 0.34) 0%, rgba(151, 134, 114, 0) 72%);
    animation: heroGlowPulse 7.5s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.project-details-hero::after {
    content: '';
    position: absolute;
    top: -140px;
    right: -200px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    animation: heroGlowPulse 9.4s ease-in-out infinite alternate-reverse;
    pointer-events: none;
    z-index: 0;
}

.project-details-hero .container {
    display: grid;
    justify-items: center;
    gap: 8px;
}

.project-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(15, 23, 42, 0.28);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.project-hero-title {
    margin: 0;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.5rem) !important;
    line-height: 1.22;
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
    position: relative;
    display: inline-block;
    isolation: isolate;
}

.project-hero-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(96px, 16vw, 170px);
    height: clamp(30px, 5vw, 48px);
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(198, 229, 255, 0.52) 0%, rgba(152, 200, 245, 0.28) 38%, rgba(152, 200, 245, 0) 78%);
    filter: blur(5px);
    opacity: 0.72;
    z-index: -1;
    animation: projectHeroTitlePulse 2.4s ease-in-out infinite;
}

@keyframes projectHeroTitlePulse {
    0%,
    100% {
        opacity: 0.44;
        transform: translate(-50%, -50%) scale(0.95);
    }

    50% {
        opacity: 0.95;
        transform: translate(-50%, -50%) scale(1.08);
    }
}

.project-hero-subtitle {
    margin: 0;
    color: rgba(241, 245, 249, 0.94);
    font-size: 1.03rem;
    font-weight: 600;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.project-type-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: #fff;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 800;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.project-price-main {
    font-size: 1.7rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 12px;
}

.project-status-main {
    margin-bottom: 18px;
}

.project-hero-actions {
    margin: 14px auto 8px;
    width: min(960px, 100%);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.project-hero-actions-only {
    margin: 14px auto 0;
    width: min(1120px, 100%);
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(237, 242, 248, 0.36);
    background:
        radial-gradient(circle at 12% -20%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 48%),
        linear-gradient(135deg, rgba(8, 18, 32, 0.74) 0%, rgba(18, 33, 52, 0.55) 48%, rgba(12, 23, 37, 0.42) 100%);
    box-shadow: 0 22px 42px rgba(5, 10, 18, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    position: relative;
    overflow: hidden;
}

.project-breadcrumbs {
    margin-top: 4px;
}

.project-hero-actions-only::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.14) -6%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.12) 72%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.6;
    pointer-events: none;
}

.project-hero-actions-only::after {
    content: '';
    position: absolute;
    bottom: -120px;
    right: -140px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(151, 134, 114, 0.42) 0%, rgba(151, 134, 114, 0) 72%);
    pointer-events: none;
}

.project-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1 1 190px;
    max-width: 240px;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(226, 236, 248, 0.36);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 48%, rgba(255, 255, 255, 0.02) 100%),
        linear-gradient(150deg, rgba(12, 24, 40, 0.78) 0%, rgba(14, 29, 45, 0.58) 100%);
    color: #f8fafc;
    font-weight: 700;
    font-size: 0.93rem;
    line-height: 1;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    font-family: inherit;
    appearance: none;
    text-decoration: none;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 20px rgba(4, 8, 14, 0.28);
}

.project-hero-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.24) -20%, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0.08) 74%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.52;
    pointer-events: none;
    z-index: 0;
}

.project-hero-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 56%;
    height: 100%;
    transform: skewX(-22deg);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: left 0.45s ease, opacity 0.45s ease;
    pointer-events: none;
    z-index: 0;
}

.project-hero-btn>* {
    position: relative;
    z-index: 1;
}

.project-hero-btn i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(248, 250, 252, 0.18);
    border: 1px solid rgba(248, 250, 252, 0.4);
    font-size: 0.86rem;
    transition: transform 0.26s ease, background 0.26s ease;
    flex-shrink: 0;
}

.project-hero-btn:hover {
    transform: translateY(-3px);
    border-color: rgba(248, 250, 252, 0.76);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.06) 48%, rgba(255, 255, 255, 0.03) 100%),
        linear-gradient(150deg, rgba(16, 30, 48, 0.84) 0%, rgba(17, 34, 52, 0.62) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 16px 28px rgba(3, 7, 12, 0.36);
}

.project-hero-btn:hover::after {
    left: 128%;
    opacity: 0.88;
}

.project-hero-btn:hover i {
    transform: scale(1.08);
    background: rgba(248, 250, 252, 0.26);
}

.project-hero-btn:focus-visible {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 14px 24px rgba(3, 7, 12, 0.36);
}

.project-hero-btn:active {
    transform: translateY(0);
}

.project-hero-btn-primary {
    background: linear-gradient(135deg, #7d6548 0%, #aa8a64 56%, #c7a176 100%);
    border-color: rgba(225, 200, 167, 0.68);
    color: #fff;
}

.project-hero-btn-primary:hover {
    background: linear-gradient(135deg, #6e593f 0%, #997c58 56%, #b9966e 100%);
    border-color: rgba(255, 255, 255, 0.7);
}

.project-hero-btn-video {
    background: linear-gradient(135deg, #7f6649 0%, #af8d62 54%, #ccab7c 100%);
    border-color: rgba(236, 214, 180, 0.74);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 13px 24px rgba(35, 23, 8, 0.4);
}

.project-hero-btn-video i {
    background: rgba(57, 40, 19, 0.34);
    border-color: rgba(255, 243, 221, 0.6);
}

.project-hero-btn-video:hover {
    background: linear-gradient(135deg, #715b41 0%, #9e7f5a 54%, #bc9b71 100%);
    border-color: rgba(255, 255, 255, 0.78);
}

body.project-video-modal-open {
    overflow: hidden;
}

.project-video-modal {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: grid;
    place-items: center;
    padding: clamp(18px, 3.2vw, 36px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.34s ease, visibility 0.34s ease;
}

.project-video-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.project-video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(9, 14, 22, 0.56) 0%, rgba(13, 20, 30, 0.68) 50%, rgba(8, 14, 20, 0.74) 100%);
    backdrop-filter: blur(10px) saturate(115%);
    -webkit-backdrop-filter: blur(10px) saturate(115%);
}

.project-video-modal-dialog {
    position: relative;
    width: min(860px, 100%);
    border-radius: 22px;
    border: 1px solid rgba(231, 225, 213, 0.34);
    background:
        radial-gradient(circle at 10% 14%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 46%),
        linear-gradient(165deg, rgba(244, 240, 232, 0.35) 0%, rgba(245, 240, 231, 0.16) 100%);
    box-shadow: 0 28px 56px rgba(5, 12, 18, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: translateY(12px) scale(0.96);
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.34s ease;
    opacity: 0;
    overflow: hidden;
}

.project-video-modal.is-open .project-video-modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.project-interest-form-modal-dialog {
    width: min(700px, 96vw);
    height: min(85vh, 90vh);
    max-height: 90vh;
}

.project-interest-form-modal-shell {
    padding: 0;
    height: 100%;
}

.project-interest-form-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0 0 21px 21px;
    background: #fff;
}

.project-video-modal-shell {
    padding: clamp(16px, 2vw, 20px);
}

.project-video-modal-close {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(14, 20, 28, 0.45);
    color: #fff;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.22s ease, background-color 0.22s ease;
}

.project-video-modal-close:hover {
    transform: translateY(-1px) scale(1.04);
    background: rgba(14, 20, 28, 0.64);
}

.project-video-frame-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(234, 227, 216, 0.38);
    background: linear-gradient(165deg, rgba(10, 15, 22, 0.95), rgba(16, 22, 31, 0.92));
    box-shadow: 0 16px 28px rgba(8, 12, 18, 0.32);
}

.project-video-frame-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 22%;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-8px);
    background:
        linear-gradient(180deg, rgba(9, 14, 21, 0.92) 0%, rgba(9, 14, 21, 0.76) 40%, rgba(9, 14, 21, 0.08) 100%),
        radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 54%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.project-video-frame-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 44%),
        linear-gradient(180deg, rgba(9, 14, 21, 0.97) 0%, rgba(10, 16, 24, 0.92) 100%);
    transition: opacity 0.32s ease;
}

.project-video-frame-wrap.is-intro-masked::before {
    opacity: 1;
    transform: translateY(0);
}

.project-video-frame-wrap.is-privacy-shield::after {
    opacity: 1;
}

.project-video-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    pointer-events: none;
}

.project-video-modal-progress {
    position: relative;
    margin-top: 12px;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.project-video-modal-progress-fill {
    --project-video-progress: 0%;
    position: relative;
    display: block;
    width: var(--project-video-progress);
    height: 100%;
    background: linear-gradient(90deg, #7f694b 0%, #a58b67 52%, #d8c095 100%);
    transition: width 0.14s ease-out;
}

.project-video-modal-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -36%;
    width: 32%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.78) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-22deg);
    animation: projectVideoProgressShine 1.9s linear infinite;
}

.project-details-slider-section {
    padding-top: 0 !important;
    padding-bottom: 40px;
}

.project-slider-progress-ribbon {
    --slide-progress: 0%;
    width: 100%;
    height: 10px;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 8;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
    border-right: 0;
    background: linear-gradient(180deg, rgba(8, 14, 22, 0.86) 0%, rgba(12, 20, 30, 0.72) 100%);
    box-shadow: 0 10px 20px rgba(8, 12, 18, 0.24), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.project-slider-progress-track {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
}

.project-slider-progress-track::before {
    content: '';
    position: absolute;
    top: -120%;
    left: -42%;
    width: 22%;
    height: 320%;
    transform: rotate(14deg);
    background: linear-gradient(112deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
    animation: projectSliderRibbonFlow 5.4s linear infinite reverse;
    filter: blur(3px);
    opacity: 0.5;
    pointer-events: none;
}

.project-slider-progress-fill {
    position: absolute;
    inset: 0 0 0 auto;
    width: var(--slide-progress);
    background: linear-gradient(270deg, #b69979 0%, #f6efe5 50%, #9a7f63 100%);
    box-shadow: 0 0 18px rgba(246, 239, 229, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.22) inset;
    transition: width 0.08s linear;
}

.project-slider-progress-fill::before {
    content: '';
    position: absolute;
    top: -160%;
    left: -40%;
    width: 28%;
    height: 420%;
    transform: rotate(16deg);
    background: linear-gradient(110deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
    animation: projectSliderFillShimmer 1.6s linear infinite reverse;
    filter: blur(2px);
    opacity: 0.6;
    pointer-events: none;
}

.project-slider-progress-fill::after {
    content: '';
    position: absolute;
    left: -5px;
    right: auto;
    top: 50%;
    width: 10px;
    height: 10px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.86) 0%, rgba(245, 239, 232, 0.7) 40%, rgba(245, 239, 232, 0) 74%);
    box-shadow: 0 0 6px rgba(245, 239, 232, 0.42), 0 0 14px rgba(182, 153, 121, 0.26);
    pointer-events: none;
}

.project-slider-head {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto 16px;
    text-align: right;
}

.project-slider-head h2 {
    margin: 0 0 6px;
    color: var(--brand-dark);
    font-size: 2rem;
}

.project-slider-head p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.8;
}

.project-slider-fullwidth-wrap {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.project-gallery-swiper-full {
    position: relative;
    width: 100%;
    direction: ltr;
    border-radius: 0;
    overflow: hidden;
    border-top: 0;
    border-bottom: 1px solid rgba(29, 38, 45, 0.2);
    box-shadow: 0 26px 46px rgba(15, 23, 42, 0.22);
}

.project-details-slider-section--single {
    padding-bottom: 0;
}

.project-slider-fullwidth-wrap--single .project-gallery-swiper-full,
.project-gallery-swiper-full.project-gallery-swiper--single {
    border-bottom: 0;
    box-shadow: none;
}

.project-slider-fullwidth-wrap--single .project-gallery-swiper-full::before,
.project-gallery-swiper-full.project-gallery-swiper--single::before,
.project-slider-fullwidth-wrap--single .project-slider-slide::before,
.project-slider-fullwidth-wrap--single .project-slider-slide::after,
.project-gallery-swiper-full.project-gallery-swiper--single .project-slider-slide::before,
.project-gallery-swiper-full.project-gallery-swiper--single .project-slider-slide::after {
    display: none;
}

.project-slider-fullwidth-wrap--single .project-slider-slide img,
.project-gallery-swiper-full.project-gallery-swiper--single .project-slider-slide img {
    height: clamp(300px, 62vh, 640px) !important;
    transform: none !important;
    animation: none !important;
    filter: none !important;
}

.project-details-slider-section--single .project-slider-progress-ribbon,
.project-gallery-swiper-full.project-gallery-swiper--single .project-gallery-nav,
.project-gallery-swiper-full.project-gallery-swiper--single .project-gallery-pagination,
.project-slider-fullwidth-wrap--single .project-slider-lightbox-trigger,
.project-slider-fullwidth-wrap--single .project-slider-badge {
    display: none !important;
}

.project-gallery-swiper-full .carousel-inner,
.project-gallery-swiper-full .swiper-wrapper {
    width: 100%;
    direction: ltr;
}

.project-gallery-swiper-full:not(.project-gallery-ready) .carousel-inner,
.project-gallery-swiper-full:not(.project-gallery-ready) .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0;
}

.project-gallery-swiper-full:not(.project-gallery-ready) .carousel-item,
.project-gallery-swiper-full:not(.project-gallery-ready) .swiper-slide {
    display: block;
    margin: 0;
}

.project-gallery-swiper-full:not(.project-gallery-ready) .carousel-item:nth-child(n+4),
.project-gallery-swiper-full:not(.project-gallery-ready) .swiper-slide:nth-child(n+4) {
    display: none;
}

.project-gallery-swiper-full:not(.project-gallery-ready) .project-slider-slide {
    aspect-ratio: 1 / 1;
    border-radius: 0;
    overflow: hidden;
}

.project-gallery-swiper-full:not(.project-gallery-ready) .project-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-gallery-swiper-full .carousel-item,
.project-gallery-swiper-full .swiper-slide {
    width: 100%;
    transition: transform 0.78s cubic-bezier(0.22, 0.61, 0.36, 1);
    backface-visibility: hidden;
}

.project-gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(var(--project-gallery-cols, 1), minmax(0, 1fr));
    gap: clamp(14px, 1.6vw, 24px);
    padding: 18px 110px 34px;
}

.project-gallery-swiper--multi .project-gallery-page-grid {
    perspective: 1200px;
}

.project-gallery-page-card {
    min-width: 0;
    position: relative;
    transition: transform 0.35s ease, filter 0.35s ease;
}

/* Glass divider between images */
.project-gallery-page-card+.project-gallery-page-card::before {
    content: '';
    position: absolute;
    top: 8%;
    bottom: 8%;
    left: -1px;
    width: 3px;
    z-index: 10;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.15) 10%,
            rgba(255, 255, 255, 0.35) 30%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0.35) 70%,
            rgba(255, 255, 255, 0.15) 90%,
            rgba(255, 255, 255, 0) 100%);
    border-radius: 999px;
    box-shadow:
        0 0 8px rgba(255, 255, 255, 0.25),
        0 0 18px rgba(200, 190, 175, 0.15),
        0 0 3px rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

/* Subtle shine animation on glass divider */
.project-gallery-page-card+.project-gallery-page-card::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -3px;
    width: 7px;
    height: 30%;
    z-index: 11;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.7) 50%,
            rgba(255, 255, 255, 0) 100%);
    border-radius: 999px;
    filter: blur(1px);
    animation: glassDividerShine 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glassDividerShine {

    0%,
    100% {
        top: -20%;
        opacity: 0;
    }

    20% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    80% {
        opacity: 0.6;
    }

    100% {
        top: 90%;
        opacity: 0;
    }
}

.project-gallery-page-card .project-slider-slide {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 0;
    overflow: hidden;
    background: #0a0f16;
    border: none;
    box-shadow: none;
}

.project-gallery-swiper--multi .project-gallery-page-card .project-slider-slide::before {
    display: none;
}

.project-gallery-swiper--multi .project-gallery-page-card .project-slider-slide::after {
    display: none;
}

.project-gallery-page-card .project-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    transform: none;
    animation: none;
    filter: none;
    background: #0a0f16;
    border-radius: 0;
}

.project-gallery-swiper--multi .project-gallery-page-card:hover {
    transform: translateY(-4px) scale(1.01);
    filter: saturate(1.06);
}

.project-gallery-swiper--multi .project-gallery-page-card:hover .project-slider-slide {
    box-shadow: 0 20px 36px rgba(4, 8, 13, 0.3);
}

/* Track mode styles for smooth 1-slide scroll */
.project-gallery-track {
    display: flex;
    will-change: transform;
}

.project-gallery-swiper--multi .carousel-inner,
.project-gallery-swiper--multi .swiper-wrapper {
    overflow: hidden;
}

.project-gallery-swiper-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: -30%;
    width: 24%;
    height: 100%;
    z-index: 4;
    transform: skewX(-16deg);
    background: linear-gradient(110deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0) 100%);
    animation: sliderSweep 7.5s linear infinite;
    filter: blur(3px);
    opacity: 0.5;
    pointer-events: none;
}

.project-slider-slide {
    position: relative;
    display: block;
    direction: rtl;
    overflow: hidden;
}

.project-slider-lightbox-trigger {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(8, 12, 18, 0.28);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.project-slider-lightbox-trigger i {
    font-size: 1rem;
}

.project-slider-lightbox-trigger:hover {
    transform: scale(1.08);
    background: rgba(15, 23, 42, 0.52);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.26);
}

.project-slider-lightbox-trigger:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 2px;
}

.project-slider-slide::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    background: linear-gradient(180deg, rgba(10, 18, 28, 0) 0%, rgba(10, 18, 28, 0.86) 100%);
    pointer-events: none;
}

.project-slider-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.12) 0%, rgba(151, 134, 114, 0.1) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
    pointer-events: none;
}

.project-slider-slide img {
    width: 100%;
    height: clamp(380px, 76vh, 860px);
    object-fit: cover;
    filter: brightness(0.9) saturate(0.96);
    transform: scale(1.03);
    animation: sliderImagePulse 8s ease-in-out infinite alternate;
}

.project-slider-badge {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(15, 23, 42, 0.7);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 10px 18px rgba(8, 12, 18, 0.34);
}

.project-slider-badge {
    display: none !important;
}

.project-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999 !important;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.44);
    background: linear-gradient(145deg, rgba(14, 24, 36, 0.92) 0%, rgba(33, 47, 62, 0.78) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto !important;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    box-shadow: 0 18px 34px rgba(7, 12, 18, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.26), inset 0 -1px 0 rgba(9, 14, 20, 0.3);
    font-size: 1.2rem;
    isolation: isolate;
    overflow: hidden;
}

.project-gallery-nav::before {
    content: '';
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.08) 36%, rgba(255, 255, 255, 0) 65%);
    opacity: 0.9;
    z-index: -1;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.project-gallery-nav i {
    transform: translateY(1px);
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.28));
}

.project-gallery-prev {
    right: 32px;
}

.project-gallery-next {
    left: 32px;
}

.project-gallery-nav:hover {
    transform: translateY(-50%) scale(1.08);
    background: linear-gradient(145deg, rgba(25, 38, 53, 0.98) 0%, rgba(56, 74, 92, 0.84) 100%);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 22px 36px rgba(8, 12, 18, 0.5), 0 0 24px rgba(245, 239, 232, 0.18);
    color: #fff;
}

.project-gallery-nav:hover::before {
    transform: scale(1.08) rotate(8deg);
    opacity: 1;
}

.project-gallery-nav:hover i {
    transform: translateY(1px) scale(1.12);
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.36));
}

.project-gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.project-gallery-nav.swiper-button-disabled,
.project-gallery-nav.is-disabled {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.9);
}

body.project-lightbox-open {
    overflow: hidden;
}

.project-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2600;
    background: rgba(5, 10, 18, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(10px, 2vw, 26px);
    padding: clamp(16px, 2.8vw, 34px);
}

.project-gallery-lightbox-figure {
    margin: 0;
    display: grid;
    justify-items: center;
    gap: 10px;
}

.project-gallery-lightbox-figure img {
    width: min(96vw, 1300px);
    max-height: calc(100vh - 140px);
    object-fit: contain;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(7, 12, 18, 0.55);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.project-gallery-lightbox-caption {
    color: rgba(242, 247, 252, 0.92);
    font-size: 0.86rem;
    font-weight: 700;
    text-align: center;
}

.project-gallery-lightbox-close,
.project-gallery-lightbox-nav {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(12, 22, 34, 0.68);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.project-gallery-lightbox-close:hover,
.project-gallery-lightbox-nav:hover {
    transform: scale(1.05);
    background: rgba(12, 22, 34, 0.86);
    border-color: rgba(255, 255, 255, 0.7);
}

.project-gallery-lightbox-close {
    position: fixed;
    top: clamp(14px, 2.6vw, 26px);
    inset-inline-end: clamp(14px, 2.6vw, 26px);
    z-index: 3;
}

.project-gallery-lightbox[hidden] {
    display: none !important;
}

.project-gallery-pagination {
    display: none !important;
}

.project-section-head {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    text-align: center;
    justify-items: center;
}

.project-section-head h2 {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.3vw, 16px);
    font-size: clamp(1.45rem, 2.3vw, 1.95rem);
    color: var(--brand-dark);
    margin: 0;
    letter-spacing: 0.2px;
}

.project-section-head h2::before,
.project-section-head h2::after {
    content: '';
    width: clamp(42px, 7vw, 94px);
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(29, 38, 45, 0.14), rgba(29, 38, 45, 0.62), rgba(29, 38, 45, 0.14));
}

.project-section-head p {
    color: var(--text-muted);
    line-height: 1.8;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.project-gallery-item {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(29, 38, 45, 0.14);
    background: #fff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
    transition: all 0.24s ease;
}

.project-gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
}

.project-gallery-item-main {
    grid-column: span 2;
    grid-row: span 2;
}

.project-gallery-item-main img {
    min-height: 332px;
}

.project-gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.14);
}

.single-project-page {
    position: relative;
    background:
        radial-gradient(850px 360px at 20% -10%, rgba(151, 134, 114, 0.22), transparent 72%),
        radial-gradient(720px 340px at 82% -8%, rgba(29, 38, 45, 0.18), transparent 75%),
        linear-gradient(180deg, #f6f8fa 0%, #eef2f5 42%, #eaf0f4 100%);
}

.project-meta-strip {
    padding: 16px 0 8px;
}

.project-meta-grid {
    border-top: 2px solid rgba(29, 38, 45, 0.24);
    border-bottom: 2px solid rgba(29, 38, 45, 0.24);
    padding: 18px 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: center;
}

.project-meta-title {
    margin: 0;
    text-align: left;
    color: #1b2a36;
    font-size: 2rem;
    letter-spacing: 0.4px;
}

.project-meta-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #445a6d;
    font-weight: 700;
    font-size: 0.9rem;
}

.project-meta-item i {
    color: #1d262d;
}

.project-about-section {
    padding-top: 34px;
    padding-bottom: 24px;
}

.project-details-intro-section {
    padding-top: 2em;
    padding-bottom: 1.25em;
}

.project-details-intro-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(14px, 2vw, 24px);
    border-radius: 24px;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: clamp(16px, 2.4vw, 30px);
}

.project-details-intro-main {
    min-width: 0;
    display: grid;
    gap: 12px;
    align-content: start;
}

.project-details-intro-title {
    margin: 0;
    color: var(--brand-dark);
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.45;
}

.project-about-description {
    margin: 0;
    color: #4e6274;
    font-size: clamp(0.95rem, 1.3vw, 1.06rem);
    line-height: 1.95;
}

.project-details-top-icons-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-content: start;
}

.project-top-icon-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    padding: 6px 2px;
    box-shadow: none;
    transition: none;
}

.project-top-icon-card:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.project-top-icon-media {
    width: 54px;
    height: 54px;
    border-radius: 0;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    flex: 0 0 auto;
}

.project-top-icon-card.is-photo .project-top-icon-media {
    border: 0;
    background: transparent;
}

.project-top-icon-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.project-top-icon-media i,
.project-top-icon-media lord-icon,
.project-top-icon-media .project-lordicon-icon {
    color: #94866d;
}

.project-top-icon-media lord-icon,
.project-top-icon-media .project-lordicon-icon {
    width: 100%;
    height: 100%;
}

.project-top-icon-media lord-icon img,
.project-top-icon-media .project-lordicon-icon img {
    filter: brightness(0) saturate(100%) invert(53%) sepia(10%) saturate(907%) hue-rotate(356deg) brightness(89%) contrast(88%);
}

.project-top-icon-content {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.project-top-icon-content strong {
    color: #1a2e3f;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.35;
}

.project-top-icon-content small {
    color: #627688;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
}

.project-details-actions-section {
    padding-top: 1.25em;
    padding-bottom: 2em;
}

.project-hero-actions-inline {
    margin: 0 auto;
}

/* Project details: transparent panels + gold action buttons */
.project-details-actions-section .project-hero-actions-only {
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    overflow: visible;
}

.project-details-actions-section .project-hero-actions-only::before,
.project-details-actions-section .project-hero-actions-only::after {
    content: none;
}

.project-details-actions-section .project-hero-btn {
    background: #94866d;
    border-color: rgba(255, 255, 255, 0.34);
    color: #fff;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.project-details-actions-section .project-hero-btn::before,
.project-details-actions-section .project-hero-btn::after {
    content: none;
}

.project-details-actions-section .project-hero-btn:hover {
    background: #85775f;
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: none;
}

.project-details-actions-section .project-hero-btn i {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.5);
}

.project-details-actions-section .project-hero-btn:hover i {
    background: rgba(255, 255, 255, 0.2);
}

.project-section-head-center {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.project-about-btn {
    width: fit-content;
    margin: 10px auto 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: #101820;
    color: #fff;
    border: 1px solid rgba(16, 24, 32, 0.86);
    font-size: 0.82rem;
    font-weight: 700;
}

.project-about-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(16, 24, 32, 0.24);
}

.project-section-head-line {
    align-items: center;
    margin-bottom: 14px;
    text-align: center;
}

.project-section-head-line h2 {
    direction: rtl;
}

.project-layout-plans-section {
    padding-top: 10px;
}

.project-layout-plans-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 1.6vw, 20px);
}

/* Project details: floors and units cards */
.project-floors-stack {
    display: grid;
    gap: clamp(18px, 2.4vw, 32px);
}

.project-floor-group {
    display: grid;
    gap: 14px;
}

.project-floor-group-title {
    margin: 0;
    text-align: center;
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
    font-weight: 900;
    color: #94866d;
    letter-spacing: 0.2px;
    position: relative;
    padding-bottom: 12px;
}

.project-floor-group-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    transform: translateX(-50%);
    width: min(220px, 70%);
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(148, 134, 109, 0) 0%, rgba(148, 134, 109, 0.62) 50%, rgba(148, 134, 109, 0) 100%);
}

.project-floor-units-empty {
    border-radius: 14px;
    border: 1px dashed rgba(146, 128, 101, 0.36);
    background: rgba(146, 128, 101, 0.08);
    padding: 14px;
    text-align: center;
    color: #607487;
    font-weight: 800;
    font-size: 0.84rem;
}

.project-floor-units-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.6vw, 18px);
}

.project-unit-card {
    border-radius: 18px;
    border: 1px solid rgba(146, 128, 101, 0.22);
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 244, 236, 0.96) 100%);
    overflow: hidden;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.34s ease, filter 0.34s ease;
}

.project-unit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 42px rgba(15, 23, 42, 0.16);
}

.project-unit-media {
    position: relative;
    padding: 0;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(146, 128, 101, 0.14);
}

.project-unit-media.is-empty {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: repeating-linear-gradient(
        135deg,
        rgba(146, 128, 101, 0.06),
        rgba(146, 128, 101, 0.06) 10px,
        rgba(255, 255, 255, 0.7) 10px,
        rgba(255, 255, 255, 0.7) 20px
    );
}

.project-unit-media-link {
    display: grid;
    width: 100%;
    aspect-ratio: 16 / 9;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    overflow: hidden;
    border: 0;
    background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.92) 0%, rgba(248, 244, 236, 0.9) 45%, rgba(146, 128, 101, 0.08) 100%);
    position: relative;
    isolation: isolate;
}

.project-unit-media-backdrop {
    position: absolute;
    inset: -20%;
    background-position: center;
    background-size: cover;
    filter: blur(26px) saturate(1.18);
    transform: scale(1.15);
    opacity: 0.38;
    z-index: 0;
    pointer-events: none;
}

.project-unit-media-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.18) 100%);
    opacity: 0.55;
    z-index: 1;
    pointer-events: none;
}

.project-unit-media-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transform: translateZ(0);
    padding: 10px;
    position: relative;
    z-index: 2;
}

.project-unit-media-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px dashed rgba(146, 128, 101, 0.4);
    background: rgba(255, 255, 255, 0.78);
    color: #6b7f90;
    font-weight: 900;
    font-size: 0.84rem;
}

.project-unit-body {
    padding: 12px 14px 14px;
    display: grid;
    gap: 10px;
}

.project-unit-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    direction: rtl;
}

.project-unit-meta .project-floor-status {
    justify-self: center;
    white-space: nowrap;
}

.project-unit-price {
    justify-self: start;
}

.project-unit-number {
    justify-self: end;
}

.project-unit-price {
    color: #172735;
    font-weight: 900;
    font-size: 0.92rem;
}

.project-unit-number {
    color: #607487;
    font-weight: 900;
    font-size: 0.82rem;
}

.project-unit-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.project-unit-card.is-sold {
    filter: saturate(0.96);
}

.project-unit-card.is-sold .project-unit-media-link img {
    filter: grayscale(1) contrast(1.04);
    opacity: 0.92;
}

@media (max-width: 980px) {
    .project-floor-units-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .project-floor-units-grid {
        grid-template-columns: 1fr;
    }

    .project-floor-group-title {
        font-size: 1.45rem;
    }

    .project-unit-body {
        padding: 12px 12px 14px;
    }
}

.project-floor-card {
    border-radius: 18px;
    border: 1px solid rgba(146, 128, 101, 0.24);
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 244, 236, 0.94) 100%);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
    padding: 14px;
    display: grid;
    gap: 10px;
}

.project-floor-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.project-floor-head h3 {
    margin: 0;
    color: #172735;
    font-size: 1rem;
}

.project-floor-head span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    min-height: 26px;
    padding: 0 10px;
    font-size: 0.74rem;
    font-weight: 800;
    color: #4f5f6f;
    border: 1px solid rgba(146, 128, 101, 0.26);
    background: rgba(146, 128, 101, 0.1);
}

.project-floor-table-wrap {
    width: 100%;
    overflow: auto;
}

.project-floor-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.project-floor-table th,
.project-floor-table td {
    text-align: right;
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
    padding: 9px 8px;
    font-size: 0.84rem;
}

.project-floor-table th {
    color: #506579;
    font-weight: 800;
    font-size: 0.78rem;
}

.project-floor-table td {
    color: #1f3447;
    font-weight: 700;
}

.project-floor-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    min-height: 25px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0 8px;
}

.project-floor-status.is-available {
    color: #0f5132;
    border: 1px solid rgba(25, 135, 84, 0.25);
    background: rgba(25, 135, 84, 0.14);
}

.project-floor-status.is-sold {
    color: #7f1d1d;
    border: 1px solid rgba(220, 38, 38, 0.24);
    background: rgba(220, 38, 38, 0.11);
}

.project-floor-unit-thumb {
    display: inline-flex;
    width: 68px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(146, 128, 101, 0.28);
    box-shadow: 0 8px 14px rgba(15, 23, 42, 0.1);
    background: #fff;
}

.project-floor-unit-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-floor-unit-thumb-empty {
    color: #6b7f90;
    font-weight: 700;
}

.project-floor-table-empty {
    text-align: center !important;
    color: #6c7e8e !important;
    font-weight: 700;
}

.project-layout-plan-card {
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(146, 128, 101, 0.26);
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 244, 236, 0.94) 100%);
    overflow: hidden;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.11);
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.34s ease;
}

.project-layout-plan-card::after {
    content: '';
    position: absolute;
    top: -120%;
    left: -34%;
    width: 30%;
    height: 300%;
    transform: rotate(18deg);
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.14) 50%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    animation: luxeShineMove 6.6s linear infinite;
    filter: blur(2px);
    opacity: 0.55;
}

.project-layout-plan-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 42px rgba(15, 23, 42, 0.17);
}

.project-layout-status {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    padding: 5px 11px;
    border-radius: 999px;
    background: #2f8a3f;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
}

.project-layout-plan-card img {
    width: 100%;
    height: 228px;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.project-layout-plan-card:hover img {
    transform: scale(1.08);
}

.project-layout-body {
    padding: 15px 14px 16px;
    display: grid;
    gap: 6px;
}

.project-layout-body h3 {
    margin: 0;
    color: #172735;
    font-size: 1.06rem;
}

.project-layout-body p {
    margin: 0;
    color: #607487;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-layout-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    border-radius: 10px;
    background: #101820;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
}

.project-layout-cta:hover {
    background: #1a2530;
}

.project-route-section {
    padding-top: 8px;
}

.project-route-track.project-route-track--modern {
    padding: clamp(18px, 2.3vw, 28px);
    min-height: 0;
    display: block;
}

.project-route-track--modern .project-route-shell {
    position: relative;
    z-index: 2;
    display: grid;
    gap: clamp(14px, 2vw, 20px);
}

.project-route-track--modern .project-route-car-stage {
    border: 1px solid rgba(159, 140, 108, 0.3);
    border-radius: 16px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.76), rgba(245, 239, 230, 0.72));
    padding: clamp(10px, 1.4vw, 15px);
    display: grid;
    justify-items: center;
    gap: 6px;
}

.project-route-track--modern .project-route-car {
    position: relative;
    top: auto;
    left: auto;
    width: clamp(178px, 20vw, 246px);
    transform: none;
    opacity: 1;
    filter: drop-shadow(0 12px 20px rgba(10, 16, 22, 0.24));
}

.project-route-track--modern .project-route-car::before,
.project-route-track--modern .project-route-car::after,
.project-route-track--modern .project-route-car-smoke {
    display: none;
}

.project-route-track--modern .project-route-car-caption {
    margin: 0;
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-route-track--modern .project-route-stops-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(8px, 1.1vw, 12px);
}

.project-route-track:not(.project-route-track--modern) .project-route-stops-grid {
    display: contents;
}

.project-route-stop-card {
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: 14px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.08);
    padding: clamp(12px, 1.4vw, 16px);
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 6px;
    min-height: clamp(88px, 9vw, 104px);
    text-align: center;
}

.project-route-stop-time {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(151, 134, 114, 0.28);
    background: rgba(151, 134, 114, 0.1);
    color: #7c6646;
    font-size: clamp(0.9rem, 1.2vw, 1.08rem);
    font-weight: 800;
    line-height: 1.2;
}

.project-route-stop-time.is-empty {
    border-color: rgba(148, 163, 184, 0.34);
    background: rgba(148, 163, 184, 0.14);
    color: #9ca3af;
}

.project-route-stop-name {
    margin: 0;
    color: #1f2937;
    font-size: clamp(0.78rem, 0.95vw, 0.9rem);
    font-weight: 700;
    line-height: 1.5;
}

.project-route-stop-empty {
    grid-column: 1 / -1;
    border: 1px dashed rgba(148, 163, 184, 0.58);
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.95);
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    padding: 16px 14px;
}

@media (max-width: 1100px) {
    .project-route-track--modern .project-route-stops-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .project-route-track--modern .project-route-stops-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-route-track--modern .project-route-car {
        width: clamp(146px, 31vw, 194px);
    }
}

@media (max-width: 640px) {
    .project-route-track--modern .project-route-stops-grid {
        grid-template-columns: 1fr;
    }

    .project-route-track--modern .project-route-car {
        width: clamp(126px, 48vw, 178px);
    }
}

.project-route-track {
    --route-line-top: 104px;
    --route-edge-gap: clamp(24px, 3.8vw, 40px);
    --route-car-speed: 0;
    --route-car-shadow-opacity: 0.38;
    --route-car-shadow-scale: 1;
    --route-dot-width: clamp(14px, 1.5vw, 21px);
    --route-dot-height: clamp(14px, 1.5vw, 21px);
    --route-dot-radius: 50%;
    --route-dot-clip: none;
    --route-dot-bg: #a18b6b;
    --route-dot-active-bg: #7c6646;
    --route-dot-border-width: clamp(2px, 0.22vw, 4px);
    --route-dot-border-color: #f4efe8;
    --route-dot-active-border-color: #f4efe8;
    --route-dot-shadow: 0 0 0 2px rgba(165, 145, 114, 0.48), 0 9px 19px rgba(72, 55, 35, 0.16);
    --route-dot-active-shadow: 0 0 0 2px rgba(137, 115, 81, 0.56), 0 0 0 8px rgba(170, 149, 117, 0.26), 0 11px 24px rgba(65, 47, 27, 0.2);
    --route-line-height: 5px;
    --route-progress-height: 5px;
    --route-line-bg: linear-gradient(90deg, rgba(149, 142, 133, 0.84) 0%, rgba(131, 126, 120, 0.64) 100%);
    --route-progress-bg: linear-gradient(90deg, #866f4f 0%, #b6a07f 100%);
    --route-progress-shadow: 0 0 0 1px rgba(146, 125, 95, 0.26), 0 8px 16px rgba(86, 66, 40, 0.2);
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(154, 136, 107, 0.28);
    padding: 3em var(--route-edge-gap);
    min-height: clamp(280px, 25vw, 330px);
    display: grid;
    grid-template-columns: repeat(var(--route-stop-count, 4), minmax(0, 1fr));
    gap: clamp(8px, 1.2vw, 14px);
    text-align: center;
    background:
        radial-gradient(circle at 14% 16%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 38%),
        linear-gradient(180deg, #f7f4ef 0%, #f1ece4 100%);
    box-shadow: 0 16px 30px rgba(17, 28, 39, 0.1);
    overflow: hidden;
    isolation: isolate;
}

.project-route-track::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 44%);
    z-index: 0;
}

.project-route-line,
.project-route-progress {
    position: absolute;
    top: var(--route-line-top);
    height: var(--route-line-height);
    border-radius: 999px;
    pointer-events: none;
}

.project-route-line {
    left: var(--route-edge-gap);
    right: var(--route-edge-gap);
    background: var(--route-line-bg);
    z-index: 0;
}

.project-route-progress {
    left: calc(100% - var(--route-edge-gap));
    right: calc(100% - var(--route-edge-gap));
    height: var(--route-progress-height);
    background: var(--route-progress-bg);
    box-shadow: var(--route-progress-shadow);
    z-index: 1;
    transition: left 0.34s ease-in-out, right 0.34s ease-in-out;
}

.project-route-stop {
    position: relative;
    z-index: 2;
    display: grid;
    gap: clamp(8px, 1.2vw, 14px);
    width: 100%;
    padding-inline: clamp(2px, 0.4vw, 6px);
    justify-items: center;
    align-content: start;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-route-stop strong {
    order: 1;
    font-size: clamp(0.88rem, 1.42vw, 1.52rem);
    color: #a19071;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-shadow: 0 4px 11px rgba(129, 106, 77, 0.15);
}

.project-route-dot {
    order: 3;
    width: var(--route-dot-width);
    height: var(--route-dot-height);
    border-radius: var(--route-dot-radius);
    clip-path: var(--route-dot-clip);
    background: var(--route-dot-bg);
    border: var(--route-dot-border-width) solid var(--route-dot-border-color);
    box-shadow: var(--route-dot-shadow);
    transform: scale(1);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s ease, box-shadow 0.35s ease;
    animation: routeDotPulse 2.05s ease-in-out infinite;
}

.project-route-stop:nth-of-type(1) .project-route-dot {
    animation-delay: 0s;
}

.project-route-stop:nth-of-type(2) .project-route-dot {
    animation-delay: 0.22s;
}

.project-route-stop:nth-of-type(3) .project-route-dot {
    animation-delay: 0.44s;
}

.project-route-stop:nth-of-type(4) .project-route-dot {
    animation-delay: 0.66s;
}

.project-route-stop p {
    order: 2;
    margin: 0;
    color: #283543;
    font-size: clamp(0.64rem, 0.82vw, 0.86rem);
    font-weight: 500;
    line-height: 1.5;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-route-stop.is-active {
    transform: translateY(-2px);
}

.project-route-stop.is-active strong {
    color: #856e4c;
}

.project-route-stop.is-active .project-route-dot {
    background: var(--route-dot-active-bg);
    border-color: var(--route-dot-active-border-color);
    box-shadow: var(--route-dot-active-shadow);
    animation: routeDotPulseActive 0.95s ease-in-out infinite;
}

.project-route-stop.is-active p {
    color: #1d2834;
}

.project-route-car {
    --car-speed: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(198px, 21vw, 276px);
    aspect-ratio: 2048 / 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    filter: drop-shadow(0 14px 22px rgba(10, 16, 22, 0.26));
    transition: opacity 0.28s ease, filter 0.24s ease;
    will-change: left, top, transform, opacity;
    pointer-events: none;
    opacity: 0;
}

.project-route-car::before {
    content: '';
    position: absolute;
    right: 62%;
    top: 53%;
    width: 52%;
    height: 24%;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(126, 111, 87, 0) 0%, rgba(126, 111, 87, 0.5) 44%, rgba(126, 111, 87, 0) 100%);
    filter: blur(3px);
    transform-origin: right center;
    transform: translateY(-50%) scaleX(calc(0.12 + (var(--car-speed) * 1.2)));
    opacity: calc(var(--car-speed) * 0.95);
    transition: opacity 0.2s ease;
    z-index: -1;
}

.project-route-car::after {
    content: '';
    position: absolute;
    left: 24%;
    right: 24%;
    bottom: 7%;
    height: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(24, 30, 37, 0.38) 0%, rgba(24, 30, 37, 0) 72%);
    z-index: -1;
    animation: carShadowPulse 1.95s ease-in-out infinite;
    opacity: var(--route-car-shadow-opacity);
    transform: scale(var(--route-car-shadow-scale));
}

.project-route-car-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: carBodyFloat 1.75s ease-in-out infinite;
    transform-origin: 52% 72%;
    filter: contrast(calc(1 + (var(--car-speed) * 0.18))) saturate(calc(1 + (var(--car-speed) * 0.14)));
    will-change: transform, filter;
}

.project-route-car-picture {
    display: block;
    width: 100%;
    height: 100%;
}

.project-route-track[data-route-animation="float"] .project-route-car-image {
    animation-name: carBodyFloat;
    animation-duration: 1.75s;
}

.project-route-track[data-route-animation="bounce"] .project-route-car-image {
    animation-name: routeCarBodyBounce;
    animation-duration: 1.08s;
}

.project-route-track[data-route-animation="drift"] .project-route-car-image {
    animation-name: routeCarBodyDrift;
    animation-duration: 1.32s;
}

.project-route-track[data-route-animation="turbo"] .project-route-car-image {
    animation-name: routeCarBodyTurbo;
    animation-duration: 0.92s;
}

.project-route-track[data-route-animation="zigzag"] .project-route-car-image {
    animation-name: routeCarBodyZigzag;
    animation-duration: 1.24s;
}

.project-route-track[data-route-animation="hover"] .project-route-car-image {
    animation-name: routeCarBodyHover;
    animation-duration: 2.05s;
}

.project-route-track[data-route-animation="pulse"] .project-route-car-image {
    animation-name: routeCarBodyPulse;
    animation-duration: 1.15s;
}

.project-route-track[data-route-animation="rally"] .project-route-car-image {
    animation-name: routeCarBodyRally;
    animation-duration: 0.88s;
}

.project-route-track[data-route-animation="glide"] .project-route-car-image {
    animation-name: routeCarBodyGlide;
    animation-duration: 1.62s;
}

.project-route-track[data-route-animation="rocket"] .project-route-car-image {
    animation-name: routeCarBodyRocket;
    animation-duration: 0.8s;
}

.project-route-track[data-route-animation="cruise"] .project-route-car-image {
    animation-name: routeCarBodyCruise;
    animation-duration: 2.3s;
}

.project-route-track[data-route-animation="sway"] .project-route-car-image {
    animation-name: routeCarBodySway;
    animation-duration: 1.84s;
}

.project-route-track[data-route-animation="slalom"] .project-route-car-image {
    animation-name: routeCarBodySlalom;
    animation-duration: 1.14s;
    animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
}

.project-route-track[data-route-animation="traction"] .project-route-car-image {
    animation-name: routeCarBodyTraction;
    animation-duration: 1.46s;
}

.project-route-track[data-route-animation="nitro"] .project-route-car-image {
    animation-name: routeCarBodyNitro;
    animation-duration: 0.74s;
    animation-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1);
}

.project-route-track[data-route-animation="snap"] .project-route-car-image {
    animation-name: routeCarBodySnap;
    animation-duration: 0.96s;
}

.project-route-track[data-route-animation="orbit"] .project-route-car-image {
    animation-name: routeCarBodyOrbit;
    animation-duration: 1.58s;
}

.project-route-track[data-route-animation="wave"] .project-route-car-image {
    animation-name: routeCarBodyWave;
    animation-duration: 2.12s;
}

.project-route-track[data-route-animation="surge"] .project-route-car-image {
    animation-name: routeCarBodySurge;
    animation-duration: 1.04s;
}

.project-route-track[data-route-animation="cinematic"] .project-route-car-image {
    animation-name: routeCarBodyCinematic;
    animation-duration: 2.48s;
}

.project-route-track[data-route-animation="static"] .project-route-car-image {
    animation: none;
    transform: none;
}

.project-route-track[data-route-animation="static"] .project-route-car-smoke {
    display: none;
}

.project-route-track.project-route-scroll-only .project-route-car-image {
    animation: none !important;
}

.project-route-track.project-route-scroll-only .project-route-car::after {
    animation: none !important;
}

.project-route-track.project-route-scroll-only .project-route-car-smoke {
    display: none !important;
}


.project-route-track[data-route-dot-style="diamond"] {
    --route-dot-radius: 0;
    --route-dot-clip: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.project-route-track[data-route-dot-style="square"] {
    --route-dot-radius: 4px;
}

.project-route-track[data-route-dot-style="pin"] {
    --route-dot-radius: 2px;
    --route-dot-clip: polygon(50% 0, 90% 28%, 74% 96%, 26% 96%, 10% 28%);
}

.project-route-track[data-route-dot-style="ring"] {
    --route-dot-bg: transparent;
    --route-dot-active-bg: transparent;
    --route-dot-border-width: clamp(3px, 0.26vw, 4px);
    --route-dot-border-color: #a18b6b;
    --route-dot-active-border-color: #7c6646;
    --route-dot-shadow: 0 0 0 1px rgba(137, 115, 81, 0.28), 0 8px 16px rgba(62, 48, 30, 0.16);
    --route-dot-active-shadow: 0 0 0 2px rgba(137, 115, 81, 0.48), 0 0 0 8px rgba(170, 149, 117, 0.22), 0 10px 20px rgba(65, 47, 27, 0.2);
}

.project-route-track[data-route-dot-style="star"] {
    --route-dot-radius: 0;
    --route-dot-clip: polygon(50% 0, 61% 36%, 98% 36%, 68% 56%, 79% 92%, 50% 70%, 21% 92%, 32% 56%, 2% 36%, 39% 36%);
}

.project-route-track[data-route-dot-style="hex"] {
    --route-dot-radius: 0;
    --route-dot-clip: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
}

.project-route-track[data-route-dot-style="teardrop"] {
    --route-dot-radius: 70% 70% 80% 80% / 58% 58% 92% 92%;
}

.project-route-track[data-route-dot-style="pill"] {
    --route-dot-width: clamp(20px, 2.2vw, 30px);
    --route-dot-height: clamp(12px, 1.2vw, 18px);
    --route-dot-radius: 999px;
}

.project-route-track[data-route-dot-style="sparkle"] {
    --route-dot-radius: 0;
    --route-dot-clip: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.project-route-track[data-route-line-style="dashed"] {
    --route-line-height: 4px;
    --route-progress-height: 4px;
    --route-line-bg: repeating-linear-gradient(90deg, rgba(137, 124, 104, 0.72) 0 16px, rgba(137, 124, 104, 0) 16px 26px);
    --route-progress-bg: repeating-linear-gradient(90deg, #876e4f 0 16px, #c1ae92 16px 26px);
}

.project-route-track[data-route-line-style="dotted"] {
    --route-line-height: 6px;
    --route-progress-height: 6px;
    --route-line-bg: radial-gradient(circle, rgba(137, 124, 104, 0.8) 38%, rgba(137, 124, 104, 0) 40%) repeat-x center/14px 6px;
    --route-progress-bg: radial-gradient(circle, #876e4f 38%, rgba(134, 111, 79, 0) 40%) repeat-x center/14px 6px;
    --route-progress-shadow: none;
}

.project-route-track[data-route-line-style="double"] {
    --route-line-height: 7px;
    --route-progress-height: 7px;
    --route-line-bg: linear-gradient(180deg, rgba(145, 130, 109, 0.75) 0 35%, rgba(145, 130, 109, 0) 35% 65%, rgba(145, 130, 109, 0.75) 65% 100%);
    --route-progress-bg: linear-gradient(180deg, #866f4f 0 35%, rgba(134, 111, 79, 0) 35% 65%, #b69f80 65% 100%);
    --route-progress-shadow: 0 7px 14px rgba(86, 66, 40, 0.16);
}

.project-route-track[data-route-line-style="glow"] {
    --route-line-height: 4px;
    --route-progress-height: 4px;
    --route-line-bg: linear-gradient(90deg, rgba(139, 124, 101, 0.64), rgba(124, 114, 100, 0.76));
    --route-progress-bg: linear-gradient(90deg, #8a6f49, #d8c9ac);
    --route-progress-shadow: 0 0 0 1px rgba(146, 125, 95, 0.24), 0 0 18px rgba(134, 111, 79, 0.34), 0 8px 16px rgba(86, 66, 40, 0.2);
}

.project-route-track[data-route-line-style="gradient"] {
    --route-line-height: 4px;
    --route-progress-height: 4px;
    --route-line-bg: linear-gradient(90deg, rgba(162, 154, 144, 0.78), rgba(132, 116, 94, 0.78), rgba(106, 133, 138, 0.68));
    --route-progress-bg: linear-gradient(90deg, #8a6f4c, #b89d72, #6f8f95);
}

.project-route-track[data-route-line-style="rail"] {
    --route-line-height: 8px;
    --route-progress-height: 8px;
    --route-line-bg: linear-gradient(180deg, rgba(136, 130, 120, 0.25) 0 20%, rgba(136, 130, 120, 0.82) 20% 30%, rgba(136, 130, 120, 0.25) 30% 70%, rgba(136, 130, 120, 0.82) 70% 80%, rgba(136, 130, 120, 0.25) 80% 100%);
    --route-progress-bg: linear-gradient(180deg, rgba(134, 111, 79, 0.3) 0 20%, #866f4f 20% 30%, rgba(134, 111, 79, 0.3) 30% 70%, #b79f7d 70% 80%, rgba(134, 111, 79, 0.3) 80% 100%);
    --route-progress-shadow: 0 8px 16px rgba(86, 66, 40, 0.16);
}

.project-route-track[data-route-line-style="soft"] {
    --route-line-height: 5px;
    --route-progress-height: 5px;
    --route-line-bg: linear-gradient(90deg, rgba(173, 165, 153, 0.62), rgba(156, 146, 131, 0.52));
    --route-progress-bg: linear-gradient(90deg, rgba(134, 111, 79, 0.72), rgba(187, 168, 139, 0.68));
    --route-progress-shadow: 0 6px 12px rgba(86, 66, 40, 0.14);
}

.project-route-track[data-route-line-style="bold"] {
    --route-line-height: 6px;
    --route-progress-height: 6px;
    --route-line-bg: linear-gradient(90deg, rgba(104, 95, 82, 0.86), rgba(84, 78, 67, 0.86));
    --route-progress-bg: linear-gradient(90deg, #6b5538, #b49160);
    --route-progress-shadow: 0 0 0 1px rgba(94, 76, 54, 0.3), 0 10px 18px rgba(63, 44, 22, 0.26);
}

.project-route-track[data-route-line-style="minimal"] {
    --route-line-height: 2px;
    --route-progress-height: 2px;
    --route-line-bg: linear-gradient(90deg, rgba(154, 154, 154, 0.55), rgba(172, 172, 172, 0.3));
    --route-progress-bg: linear-gradient(90deg, #8c8c8c, #a2a2a2);
    --route-progress-shadow: none;
}

.project-route-track,
.project-route-track[data-route-dot-style],
.project-route-track[data-route-line-style] {
    --route-dot-width: clamp(14px, 1.5vw, 21px);
    --route-dot-height: clamp(14px, 1.5vw, 21px);
    --route-dot-radius: 50%;
    --route-dot-clip: none;
    --route-dot-bg: #a18b6b;
    --route-dot-active-bg: #7c6646;
    --route-dot-border-width: clamp(2px, 0.22vw, 4px);
    --route-dot-border-color: #f4efe8;
    --route-dot-active-border-color: #f4efe8;
    --route-dot-shadow: 0 0 0 2px rgba(165, 145, 114, 0.48), 0 9px 19px rgba(72, 55, 35, 0.16);
    --route-dot-active-shadow: 0 0 0 2px rgba(137, 115, 81, 0.56), 0 0 0 8px rgba(170, 149, 117, 0.26), 0 11px 24px rgba(65, 47, 27, 0.2);
    --route-line-height: 5px;
    --route-progress-height: 5px;
    --route-line-bg: linear-gradient(90deg, rgba(149, 142, 133, 0.84) 0%, rgba(131, 126, 120, 0.64) 100%);
    --route-progress-bg: linear-gradient(90deg, #866f4f 0%, #b6a07f 100%);
    --route-progress-shadow: 0 0 0 1px rgba(146, 125, 95, 0.26), 0 8px 16px rgba(86, 66, 40, 0.2);
}

.project-route-track .project-route-dot {
    border-radius: 50%;
    clip-path: none;
}

.project-route-car-smoke {
    position: absolute;
    right: 68%;
    bottom: 18%;
    width: 40%;
    height: 46%;
    pointer-events: none;
    z-index: -1;
}

.project-route-car-smoke span {
    position: absolute;
    bottom: 0;
    right: 0;
    width: clamp(16px, 2.2vw, 24px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 36% 34%, rgba(255, 255, 255, 0.7) 0%, rgba(218, 224, 230, 0.64) 36%, rgba(164, 173, 183, 0.24) 62%, rgba(164, 173, 183, 0) 80%);
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.3);
    filter: blur(0.5px);
}

.project-route-car.is-speeding .project-route-car-smoke span {
    animation: carSmokeTrail 1.12s ease-in-out infinite;
}

.project-route-car.is-speeding .project-route-car-smoke span:nth-child(2) {
    animation-delay: 0.24s;
}

.project-route-car.is-speeding .project-route-car-smoke span:nth-child(3) {
    animation-delay: 0.48s;
}

.project-route-car.is-burnout .project-route-car-smoke span {
    animation: carSmokeBurnout 0.78s ease-in-out infinite;
}

.project-route-car.is-burnout .project-route-car-smoke span:nth-child(2) {
    animation-delay: 0.09s;
}

.project-route-car.is-burnout .project-route-car-smoke span:nth-child(3) {
    animation-delay: 0.18s;
}

.project-details-features-section {
    padding-top: 14px;
}

.project-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.3vw, 18px);
}

.project-benefit-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: linear-gradient(150deg, #1f2937 0%, #334155 54%, #0f172a 100%);
    min-height: 160px;
    aspect-ratio: 1 / 1;
    padding: 12px 11px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
    isolation: isolate;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.28s ease;
}

.project-benefit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.1) 0%, rgba(2, 6, 23, 0.65) 62%, rgba(2, 6, 23, 0.92) 100%);
    z-index: 1;
}

.project-benefit-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.14);
    pointer-events: none;
    z-index: 3;
}

.project-benefit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(191, 219, 254, 0.46);
    box-shadow: 0 26px 44px rgba(15, 23, 42, 0.28);
}

.project-benefit-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 0;
}

.project-benefit-card.is-photo .project-benefit-icon>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    border: 0;
    background: transparent;
    display: block;
    filter: none;
    transform: scale(1.03);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-benefit-card.is-photo:hover .project-benefit-icon>img {
    transform: scale(1.08);
}

.project-benefit-card.is-icon .project-benefit-icon {
    background: radial-gradient(circle at 26% 16%, rgba(148, 163, 184, 0.44) 0%, rgba(30, 41, 59, 0.92) 58%, rgba(2, 6, 23, 0.98) 100%);
}

.project-benefit-card.is-icon .project-benefit-icon>i {
    color: #f8fafc;
    font-size: 2.2rem;
    opacity: 0.96;
}

.project-benefit-card.is-icon .project-benefit-icon>lord-icon,
.project-benefit-card.is-icon .project-lordicon-icon {
    width: 62px;
    height: 62px;
    color: #f8fafc;
    background: transparent;
    border-radius: 0;
    display: block;
}

.project-benefit-card.is-icon .project-benefit-icon>lord-icon img,
.project-benefit-card.is-icon .project-lordicon-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    border: 0;
    background: transparent;
    display: block;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(8%) hue-rotate(163deg) brightness(108%) contrast(97%);
}

.project-benefit-card h3 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: #f8fafc;
    position: relative;
    z-index: 2;
    line-height: 1.45;
    text-shadow: 0 2px 10px rgba(2, 6, 23, 0.75);
}

.project-guarantees-section {
    padding-top: 14px;
}

.project-guarantees-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.3vw, 17px);
}

.project-guarantee-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: linear-gradient(150deg, #1f2937 0%, #334155 54%, #0f172a 100%);
    min-height: 160px;
    aspect-ratio: 1 / 1;
    padding: 12px 11px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
    isolation: isolate;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.28s ease;
}

.project-guarantee-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.1) 0%, rgba(2, 6, 23, 0.65) 62%, rgba(2, 6, 23, 0.92) 100%);
    z-index: 1;
}

.project-guarantee-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.14);
    pointer-events: none;
    z-index: 3;
}

.project-guarantee-card:hover {
    transform: translateY(-6px);
    border-color: rgba(191, 219, 254, 0.46);
    box-shadow: 0 26px 44px rgba(15, 23, 42, 0.28);
}

.project-guarantee-years {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, 0.28);
    background: rgba(15, 23, 42, 0.56);
    color: #dbeafe;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.25;
    position: relative;
    z-index: 2;
    align-self: center;
}

.project-guarantee-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 0;
}

.project-guarantee-card.is-photo .project-guarantee-icon>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    border: 0;
    background: transparent;
    display: block;
    filter: none;
    transform: scale(1.03);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-guarantee-card.is-photo:hover .project-guarantee-icon>img {
    transform: scale(1.08);
}

.project-guarantee-card.is-icon .project-guarantee-icon {
    background: radial-gradient(circle at 26% 16%, rgba(148, 163, 184, 0.44) 0%, rgba(30, 41, 59, 0.92) 58%, rgba(2, 6, 23, 0.98) 100%);
}

.project-guarantee-card.is-icon .project-guarantee-icon>i {
    color: #f8fafc;
    font-size: 2.2rem;
    opacity: 0.96;
}

.project-guarantee-card.is-icon .project-guarantee-icon>lord-icon,
.project-guarantee-card.is-icon .project-lordicon-icon {
    width: 62px;
    height: 62px;
    color: #f8fafc;
    background: transparent;
    border-radius: 0;
    display: block;
}

.project-guarantee-card.is-icon .project-guarantee-icon>lord-icon img,
.project-guarantee-card.is-icon .project-lordicon-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    border: 0;
    background: transparent;
    display: block;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(8%) hue-rotate(163deg) brightness(108%) contrast(97%);
}

.project-guarantee-card h3 {
    margin: 0;
    font-size: 0.92rem;
    color: #f8fafc;
    line-height: 1.45;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(2, 6, 23, 0.75);
}

.project-benefit-card.is-photo,
.project-guarantee-card.is-photo {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    gap: 0;
    justify-content: flex-start;
    min-height: 0;
    aspect-ratio: auto;
    overflow: visible;
}

.project-benefit-card.is-photo h3,
.project-guarantee-card.is-photo h3,
.project-guarantee-card.is-photo .project-guarantee-years {
    display: none !important;
}

.project-benefit-card.is-photo:hover,
.project-guarantee-card.is-photo:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.project-benefit-card.is-photo::before,
.project-benefit-card.is-photo::after,
.project-guarantee-card.is-photo::before,
.project-guarantee-card.is-photo::after {
    display: none;
}

.project-benefit-card.is-photo .project-benefit-icon,
.project-guarantee-card.is-photo .project-guarantee-icon {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    overflow: visible;
    background: transparent;
}

.project-benefit-card.is-photo .project-benefit-icon>img,
.project-guarantee-card.is-photo .project-guarantee-icon>img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    transform: none;
    transition: none;
    display: block;
}

.project-benefit-card.is-photo:hover .project-benefit-icon>img,
.project-guarantee-card.is-photo:hover .project-guarantee-icon>img {
    transform: none;
}

.project-benefit-card.is-photo h3,
.project-guarantee-card.is-photo h3 {
    position: static;
    z-index: auto;
    margin: 0;
    color: #1f2f3c;
    text-shadow: none;
    font-size: 0.86rem;
    line-height: 1.45;
}

.project-guarantee-card.is-photo .project-guarantee-years {
    position: static;
    z-index: auto;
    margin-top: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #6b7f90;
}

.project-benefit-card.is-empty,
.project-guarantee-card.is-empty {
    min-height: 92px;
    aspect-ratio: auto;
    justify-content: center;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-color: rgba(148, 163, 184, 0.28);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.project-benefit-card.is-empty::before,
.project-benefit-card.is-empty::after,
.project-guarantee-card.is-empty::before,
.project-guarantee-card.is-empty::after {
    display: none;
}

.project-benefit-card.is-empty h3,
.project-guarantee-card.is-empty h3 {
    color: #334155;
    text-shadow: none;
}

.project-materials-section {
    padding-top: 14px;
}

.project-materials-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.5vw, 20px);
    align-items: stretch;
}

.project-materials-carousel {
    position: relative;
    padding-top: 10px;
    padding-bottom: 52px;
}

.project-materials-viewport {
    overflow: hidden;
    border-radius: 18px;
}

.project-materials-source[hidden] {
    display: none !important;
}

.project-materials-carousel .carousel-item {
    padding: 0;
}

.project-materials-track-page {
    display: grid;
    grid-template-columns: repeat(var(--materials-cols, 5), minmax(0, 1fr));
    gap: var(--materials-gap, 20px);
    align-items: stretch;
    user-select: none;
    touch-action: pan-y;
}

.project-materials-slide {
    min-width: 0;
}

.project-materials-item {
    width: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    overflow: visible;
}

.project-materials-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 0;
}

.project-materials-nav {
    position: absolute;
    inset-inline: 0;
    top: calc(50% - 26px);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    padding-inline: 8px;
}

.project-materials-nav-btn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    color: #1d262d;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.project-materials-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
    background: #ffffff;
}

.project-materials-nav-btn:disabled {
    opacity: 0.4;
    pointer-events: none;
}

.project-materials-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.project-materials-dot {
    width: 10px;
    height: 10px;
    border: 0;
    padding: 0;
    border-radius: 999px;
    background: #cbd5e1;
    opacity: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-materials-dot.is-active {
    background: var(--brand-dark) !important;
    width: 24px;
    border-radius: 5px;
}

@media (max-width: 1100px) {
    .project-materials-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .project-materials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-materials-grid>.project-materials-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .project-materials-nav {
        display: none;
    }
}

.project-map-section {
    padding-top: 14px;
}

.project-map-showcase {
    display: grid;
    gap: 12px;
}

.project-map-card {
    position: relative;
    isolation: isolate;
    border-radius: 18px;
    border: 1px solid rgba(29, 38, 45, 0.16);
    overflow: hidden;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(245, 249, 253, 0.9));
    padding: 8px;
    box-shadow: 0 20px 38px rgba(15, 23, 42, 0.14);
}

.project-map-card::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 14px;
    border: 1px solid rgba(151, 134, 114, 0.22);
    pointer-events: none;
    z-index: 1;
    opacity: 0.88;
}

.project-map-card::after {
    content: none;
}

.project-map-canvas {
    width: 100%;
    height: 430px;
    border-radius: 14px;
    border: 0;
    position: relative;
    overflow: hidden;
    display: block;
    background: linear-gradient(160deg, #dbe7f2 0%, #edf3f9 100%);
}

.project-map-canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 430;
    opacity: 0;
    transition: opacity 0.35s ease;
    background:
        radial-gradient(circle at 50% 50%, rgba(151, 134, 114, 0.22) 0%, rgba(151, 134, 114, 0.12) 14%, rgba(151, 134, 114, 0.05) 28%, rgba(151, 134, 114, 0) 54%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 34%, rgba(15, 23, 42, 0.08) 100%);
}

.project-map-card.is-pin-focused {
    border-color: rgba(151, 134, 114, 0.36);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.18);
}

.project-map-card.is-pin-focused .project-map-canvas::before {
    opacity: 1;
}

.project-map-canvas,
.project-map-canvas .leaflet-container {
    font-family: var(--font-main);
}

.project-map-canvas .leaflet-control-container {
    display: none !important;
}

.project-map-canvas .leaflet-control-zoom {
    border: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}

.project-map-canvas .leaflet-control-zoom a {
    background: #fff;
    color: #0f172a;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.project-map-canvas .leaflet-control-zoom a:last-child {
    border-bottom: none;
}

.project-map-canvas .leaflet-control-layers {
    border: 1px solid rgba(15, 23, 42, 0.18);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

.project-map-canvas .leaflet-control-layers,
.project-map-canvas .leaflet-control-layers-expanded {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.project-map-canvas .leaflet-control-layers-expanded {
    padding: 10px 12px;
    min-width: 184px;
}

.project-map-canvas .leaflet-control-layers-base label,
.project-map-canvas .leaflet-control-layers-overlays label {
    font-size: 0.76rem;
    color: #0f172a;
    font-weight: 700;
}

.project-map-canvas .leaflet-control-scale-line {
    border: 1px solid rgba(15, 23, 42, 0.26);
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    font-weight: 700;
}

.project-map-canvas .leaflet-control-attribution {
    display: none !important;
}

.project-map-canvas .leaflet-control-attribution a {
    display: none !important;
}

.project-map-single-pin-wrap {
    background: transparent;
    border: none;
}

.project-map-single-pin {
    position: relative;
    display: inline-flex;
    width: 34px;
    height: 44px;
    align-items: flex-end;
    justify-content: center;
}

.project-map-single-pin::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.82));
    box-shadow: 0 0 0 5px rgba(148, 163, 184, 0.22);
    z-index: 1;
}

.project-map-single-pin::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(51, 65, 85, 0.26);
    transform-origin: center;
    animation: projectMapSinglePinPulse 1.8s ease-out infinite;
}

.project-map-single-pin i {
    position: relative;
    z-index: 2;
    color: #334155;
    font-size: 35px;
    line-height: 1;
    filter: drop-shadow(0 11px 16px rgba(15, 23, 42, 0.34));
}

.project-map-card.is-pin-focused .project-map-single-pin i {
    animation: projectMapPinBob 1.9s ease-in-out infinite;
}

@keyframes projectMapSinglePinPulse {
    0% {
        transform: scale(0.66);
        opacity: 0.55;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

@keyframes projectMapPinBob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

.project-map-canvas .leaflet-popup-content-wrapper {
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.2);
}

.project-map-canvas .leaflet-popup-content {
    margin: 9px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1f2937;
}

.project-map-float {
    position: static;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(29, 38, 45, 0.14);
    background: linear-gradient(145deg, #ffffff 0%, #f8fbfd 100%);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.project-map-float-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2a3d4d;
    font-size: 0.88rem;
    font-weight: 700;
}

.project-map-float-location i {
    color: #8f7858;
}

.project-map-float-location-text {
    max-width: 62ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-map-float-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(151, 134, 114, 0.4);
    color: #fff;
    background: linear-gradient(135deg, #978672 0%, #b3a08b 100%);
    font-size: 0.8rem;
    font-weight: 800;
}

.project-map-float-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(8, 12, 18, 0.28);
}

.project-interest-split-section {
    padding-top: 24px;
}

.project-interest-split {
    border-radius: 16px;
    border: 1px solid rgba(29, 38, 45, 0.16);
    background: #fff;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    overflow: hidden;
    position: relative;
}

.project-interest-split::before {
    content: '';
    position: absolute;
    top: -120%;
    left: -32%;
    width: 24%;
    height: 320%;
    transform: rotate(20deg);
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    animation: luxeShineMove 7.2s linear infinite;
    pointer-events: none;
}

.project-interest-form-wrap {
    padding: 22px;
}

.project-interest-image-wrap {
    min-height: 100%;
}

.project-interest-image-wrap img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

@keyframes heroGlowPulse {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.76;
    }

    100% {
        transform: translate3d(14px, -10px, 0) scale(1.08);
        opacity: 1;
    }
}

@keyframes projectSliderRibbonFlow {
    0% {
        transform: translateX(-145%) rotate(14deg);
        opacity: 0;
    }

    16% {
        opacity: 0.9;
    }

    42% {
        opacity: 0;
    }

    100% {
        transform: translateX(250%) rotate(14deg);
        opacity: 0;
    }
}

@keyframes projectSliderFillShimmer {
    0% {
        left: -40%;
    }

    100% {
        left: 130%;
    }
}

@keyframes luxeShineMove {
    0% {
        left: -42%;
    }

    100% {
        left: 132%;
    }
}

@keyframes sliderSweep {
    0% {
        left: -30%;
    }

    100% {
        left: 110%;
    }
}

@keyframes sliderImagePulse {
    0% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1.08);
    }
}

@keyframes projectVideoProgressShine {
    0% {
        left: -36%;
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    100% {
        left: 134%;
        opacity: 0;
    }
}

@keyframes routeDotPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 2px rgba(165, 145, 114, 0.48), 0 8px 16px rgba(72, 55, 35, 0.14);
    }

    50% {
        transform: scale(1.09);
        box-shadow: 0 0 0 2px rgba(165, 145, 114, 0.56), 0 0 0 7px rgba(176, 155, 122, 0.22), 0 11px 20px rgba(72, 55, 35, 0.2);
    }
}

@keyframes routeDotPulseActive {

    0%,
    100% {
        transform: scale(1.11);
    }

    50% {
        transform: scale(1.22);
    }
}

@keyframes carBodyFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-4px) rotate(-0.25deg);
    }
}

@keyframes routeCarBodyBounce {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    38% {
        transform: translateY(-6px) rotate(-0.4deg);
    }

    66% {
        transform: translateY(-1px) rotate(0.25deg);
    }
}

@keyframes routeCarBodyDrift {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    32% {
        transform: translateY(-3px) rotate(-2.2deg);
    }

    70% {
        transform: translateY(-1px) rotate(1.5deg);
    }
}

@keyframes routeCarBodyTurbo {

    0%,
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }

    45% {
        transform: translateY(-5px) scale(1.06) rotate(-0.3deg);
    }
}

@keyframes routeCarBodyZigzag {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-2px) rotate(-1.8deg);
    }

    50% {
        transform: translateY(-5px) rotate(1.6deg);
    }

    75% {
        transform: translateY(-2px) rotate(-1deg);
    }
}

@keyframes routeCarBodyHover {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-7px) rotate(-0.2deg);
    }
}

@keyframes routeCarBodyPulse {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-3px) scale(1.08);
    }
}

@keyframes routeCarBodyRally {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    20% {
        transform: translateY(-3px) rotate(-2deg);
    }

    40% {
        transform: translateY(-1px) rotate(2deg);
    }

    60% {
        transform: translateY(-3px) rotate(-1.2deg);
    }

    80% {
        transform: translateY(0) rotate(1.2deg);
    }
}

@keyframes routeCarBodyGlide {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-5px) rotate(-0.8deg);
    }
}

@keyframes routeCarBodyRocket {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    42% {
        transform: translateY(-7px) scale(1.14);
    }

    72% {
        transform: translateY(-1px) scale(0.98);
    }
}

@keyframes routeCarBodyCruise {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    35% {
        transform: translateY(-2px) rotate(-0.35deg) scale(1.01);
    }

    68% {
        transform: translateY(-4px) rotate(0.2deg) scale(1.02);
    }
}

@keyframes routeCarBodySway {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-2px) rotate(-1.4deg);
    }

    50% {
        transform: translateY(-5px) rotate(1.2deg);
    }

    75% {
        transform: translateY(-2px) rotate(-0.9deg);
    }
}

@keyframes routeCarBodySlalom {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    20% {
        transform: translateY(-3px) rotate(-2.6deg);
    }

    40% {
        transform: translateY(-1px) rotate(2.8deg);
    }

    60% {
        transform: translateY(-4px) rotate(-2.1deg);
    }

    80% {
        transform: translateY(-2px) rotate(1.7deg);
    }
}

@keyframes routeCarBodyTraction {

    0%,
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }

    30% {
        transform: translateY(-2px) scale(1.015) rotate(-0.6deg);
    }

    55% {
        transform: translateY(-4px) scale(1.02) rotate(0.4deg);
    }

    78% {
        transform: translateY(-1px) scale(1.005) rotate(0deg);
    }
}

@keyframes routeCarBodyNitro {

    0%,
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }

    22% {
        transform: translateY(-4px) scale(1.04) rotate(-0.5deg);
    }

    45% {
        transform: translateY(-8px) scale(1.12) rotate(0.7deg);
    }

    70% {
        transform: translateY(-2px) scale(0.99) rotate(-0.2deg);
    }
}

@keyframes routeCarBodySnap {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    18% {
        transform: translateY(-1px) rotate(-1.6deg);
    }

    36% {
        transform: translateY(-5px) rotate(1.9deg);
    }

    54% {
        transform: translateY(-2px) rotate(-1.2deg);
    }

    72% {
        transform: translateY(-6px) rotate(1.4deg);
    }
}

@keyframes routeCarBodyOrbit {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-3px) rotate(-1.1deg) scale(1.02);
    }

    50% {
        transform: translateY(-6px) rotate(0deg) scale(1.04);
    }

    75% {
        transform: translateY(-3px) rotate(1.1deg) scale(1.02);
    }
}

@keyframes routeCarBodyWave {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    20% {
        transform: translateY(-1px) rotate(-0.5deg);
    }

    40% {
        transform: translateY(-5px) rotate(0.9deg);
    }

    60% {
        transform: translateY(-2px) rotate(-0.8deg);
    }

    80% {
        transform: translateY(-6px) rotate(0.4deg);
    }
}

@keyframes routeCarBodySurge {

    0%,
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }

    28% {
        transform: translateY(-6px) scale(1.08) rotate(-0.4deg);
    }

    48% {
        transform: translateY(-1px) scale(0.97) rotate(0.3deg);
    }

    68% {
        transform: translateY(-5px) scale(1.05) rotate(-0.2deg);
    }
}

@keyframes routeCarBodyCinematic {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    32% {
        transform: translateY(-3px) rotate(-0.9deg) scale(1.01);
    }

    55% {
        transform: translateY(-7px) rotate(0.6deg) scale(1.04);
    }

    78% {
        transform: translateY(-2px) rotate(-0.2deg) scale(1.015);
    }
}

@keyframes carSmokeTrail {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(0.3);
    }

    18% {
        opacity: 0.44;
    }

    100% {
        opacity: 0;
        transform: translate3d(-34px, -22px, 0) scale(1.34);
    }
}

@keyframes carSmokeBurnout {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(0.18);
    }

    15% {
        opacity: 0.68;
    }

    100% {
        opacity: 0;
        transform: translate3d(-52px, -30px, 0) scale(1.58);
    }
}

@keyframes carShadowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.42;
    }

    50% {
        transform: scale(0.9);
        opacity: 0.22;
    }
}

@media (max-width: 1100px) {
    .page-header {
        padding: 52px 0 34px !important;
    }

    .project-slider-progress-ribbon {
        height: 9px;
    }

    .project-details-hero {
        padding-top: 56px !important;
        padding-bottom: 36px !important;
    }

    .project-details-intro-card {
        grid-template-columns: 1fr;
    }

    .project-details-top-icons-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .project-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 10px;
    }

    .project-meta-title {
        text-align: right;
        grid-column: span 2;
        font-size: 1.65rem;
    }

    .project-layout-plans-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-floor-head {
        align-items: flex-start;
    }

    .project-floor-head span {
        align-self: flex-start;
    }

    .project-floor-table {
        min-width: 460px;
    }

    .project-route-track {
        --route-edge-gap: clamp(18px, 3vw, 30px);
        padding-inline: var(--route-edge-gap);
        gap: clamp(6px, 1.4vw, 12px);
    }

    .project-route-stop strong {
        font-size: clamp(0.8rem, 1.56vw, 1.06rem);
    }

    .project-route-stop p {
        font-size: clamp(0.62rem, 0.92vw, 0.76rem);
    }

    .project-route-car {
        width: clamp(176px, 25vw, 244px);
    }

    .project-benefits-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .project-guarantees-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .project-interest-split {
        grid-template-columns: 1fr;
    }

    .project-interest-image-wrap {
        order: -1;
    }
}

@media (max-width: 991px) {

    .project-details-slider-section {
        padding-bottom: 0 !important;
    }

    .project-gallery-swiper-full {
        border-bottom: 0;
        box-shadow: none;
    }

    .project-gallery-page-card .project-slider-slide {
        background: transparent;
        aspect-ratio: auto;
        min-height: 0;
    }

    .project-gallery-page-card .project-slider-slide::before,
    .project-gallery-page-card .project-slider-slide::after {
        display: none;
    }

    .project-gallery-page-card .project-slider-slide img {
        background: transparent;
        filter: none;
        height: clamp(290px, 58vh, 520px);
    }

    .project-gallery-swiper-full:not(.project-gallery-ready) .carousel-inner,
    .project-gallery-swiper-full:not(.project-gallery-ready) .swiper-wrapper {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 0;
    }

    .project-gallery-page-grid {
        padding: 0;
        gap: 0;
    }

    .project-gallery-swiper-full:not(.project-gallery-ready) .carousel-item:nth-child(n+2),
    .project-gallery-swiper-full:not(.project-gallery-ready) .swiper-slide:nth-child(n+2) {
        display: none;
    }

}

@media (max-width: 860px) {
    .project-details-hero h1 {
        font-size: 1.9rem !important;
    }

    .project-hero-title {
        padding-inline: clamp(30px, 8vw, 64px);
        background-size: clamp(24px, 7vw, 56px) 2px, clamp(24px, 7vw, 56px) 2px;
    }

    .project-price-main {
        font-size: 1.3rem;
    }

    .project-hero-actions {
        width: min(620px, 100%);
        gap: 10px;
    }

    .project-hero-actions-only {
        padding: 10px;
        border-radius: 16px;
    }

    .project-hero-btn {
        flex: 1 1 calc(50% - 6px);
        max-width: none;
        min-height: 50px;
        font-size: 0.88rem;
    }

    .project-details-intro-section {
        padding-top: 1.6em;
        padding-bottom: 1.1em;
    }

    .project-details-actions-section {
        padding-top: 1.1em;
        padding-bottom: 1.6em;
    }

    .project-details-intro-card {
        border-radius: 18px;
        padding: 16px;
    }

    .project-details-top-icons-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .project-top-icon-card {
        min-height: 76px;
    }

    .project-slider-head {
        width: calc(100% - 20px);
    }

    .project-slider-head h2 {
        font-size: 1.5rem;
    }

    .project-slider-slide img {
        height: clamp(290px, 58vh, 520px);
    }

    .project-gallery-page-grid {
        padding: 0;
        gap: 0;
    }

    .project-gallery-page-card .project-slider-slide img {
        height: clamp(290px, 58vh, 520px);
    }

    .project-gallery-nav {
        width: 42px;
        height: 42px;
    }

    .project-slider-lightbox-trigger {
        width: 38px;
        height: 38px;
        top: 12px;
        right: 12px;
    }

    .project-gallery-prev {
        right: 14px;
    }

    .project-gallery-next {
        left: 14px;
    }

    .project-route-track {
        border-radius: 16px;
        padding-top: 3em;
        padding-bottom: 3em;
        min-height: 220px;
    }

    .project-route-stop {
        gap: 11px;
    }

    .project-route-stop strong {
        font-size: clamp(0.86rem, 3.2vw, 1.1rem);
    }

    .project-route-stop p {
        font-size: 0.66rem;
        line-height: 1.45;
    }

    .project-route-track {
        --route-dot-width: 17px;
        --route-dot-height: 17px;
        --route-dot-border-width: 3px;
    }

    .project-route-track[data-route-dot-style="pill"] {
        --route-dot-width: 22px;
        --route-dot-height: 14px;
    }

    .project-route-car {
        width: clamp(136px, 35vw, 176px);
    }

    .project-layout-plans-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-benefits-grid,
    .project-guarantees-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-benefits-grid>.project-benefit-card:last-child:nth-child(odd),
    .project-guarantees-grid>.project-guarantee-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        aspect-ratio: 2 / 1;
        min-height: 146px;
    }

    .project-benefit-card,
    .project-guarantee-card {
        padding: 14px 10px;
    }

    .project-benefit-card h3,
    .project-guarantee-card h3 {
        font-size: 0.84rem;
        line-height: 1.45;
    }

    .project-guarantee-years {
        font-size: 0.63rem;
    }

    .project-map-canvas {
        height: 300px;
    }

    .project-map-canvas .leaflet-control-layers-expanded {
        min-width: 152px;
        max-height: 200px;
        overflow: auto;
    }

    .project-video-modal {
        padding: 14px;
    }

    .project-video-modal-dialog {
        border-radius: 18px;
    }

    .project-video-modal-shell {
        padding: 12px;
    }

    .project-video-modal-close {
        width: 34px;
        height: 34px;
        top: 8px;
        left: 8px;
    }
}

@media (max-width: 640px) {
    .page-header {
        padding: 44px 0 26px !important;
    }

    .project-slider-progress-ribbon {
        height: 8px;
    }

    .project-hero-actions {
        width: min(420px, 100%);
    }

    .project-hero-btn {
        flex-basis: 100%;
        min-height: 48px;
        padding-inline: 14px;
        justify-content: space-between;
    }

    .project-details-hero {
        padding-top: 50px !important;
        padding-bottom: 28px !important;
    }

    .project-details-top-icons-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .project-top-icon-card {
        min-height: 72px;
    }

    .project-details-actions-section {
        padding-top: 1em;
        padding-bottom: 1.4em;
    }

    .project-slider-head {
        width: calc(100% - 14px);
        margin-bottom: 12px;
    }

    .project-slider-head h2 {
        font-size: 1.3rem;
    }

    .project-slider-slide img {
        height: clamp(220px, 44vh, 360px);
    }

    .project-gallery-page-grid {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 0;
    }

    .project-gallery-page-card .project-slider-slide img {
        height: clamp(220px, 44vh, 360px);
    }

    .project-slider-badge {
        right: 10px;
        bottom: 10px;
        font-size: 0.72rem;
        padding: 6px 10px;
        display: none !important;
    }

    .project-slider-lightbox-trigger {
        width: 34px;
        height: 34px;
        top: 10px;
        right: 10px;
    }

    .project-slider-lightbox-trigger i {
        font-size: 0.86rem;
    }

    .project-gallery-nav {
        width: 36px;
        height: 36px;
        z-index: 0 !important;
    }

    .project-gallery-pagination {
        display: none !important;
    }

    .project-gallery-lightbox {
        grid-template-columns: 1fr;
        padding: 14px 10px 22px;
    }

    .project-gallery-lightbox-nav {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
        z-index: 2;
    }

    .project-gallery-lightbox-prev {
        inset-inline-start: 8px;
    }

    .project-gallery-lightbox-next {
        inset-inline-end: 8px;
    }

    .project-gallery-lightbox-figure img {
        width: min(98vw, 100%);
        max-height: calc(100vh - 170px);
        border-radius: 12px;
    }

    .project-meta-grid {
        grid-template-columns: 1fr;
    }

    .project-meta-title {
        grid-column: span 1;
        font-size: 1.35rem;
    }

    .project-route-track {
        --route-edge-gap: 12px;
        grid-template-columns: repeat(var(--route-stop-count, 4), minmax(0, 1fr));
        padding-inline: var(--route-edge-gap);
        gap: 6px;
        border-radius: 14px;
    }

    .project-route-stop strong {
        font-size: 0.8rem;
    }

    .project-route-stop p {
        font-size: 0.61rem;
    }

    .project-route-car {
        width: clamp(104px, 31vw, 132px);
    }

    .project-layout-plans-grid {
        grid-template-columns: 1fr;
    }

    .project-floor-card {
        padding: 12px;
    }

    .project-floor-table {
        min-width: 340px;
    }

    .project-floor-table th,
    .project-floor-table td {
        padding: 8px 6px;
        font-size: 0.78rem;
    }

    .project-floor-unit-thumb {
        width: 58px;
        height: 44px;
    }

    .project-interest-form-wrap {
        padding: 16px;
    }

    .project-interest-image-wrap img {
        min-height: 250px;
    }

    .project-video-frame-wrap {
        border-radius: 12px;
    }

    .project-video-modal-progress {
        height: 7px;
    }
}

/* --- Blog Hub Page --- */
.blog-hub-section {
    position: relative;
    padding-top: 100px;
}

.blog-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    background: #fff;
    border: 1px solid rgba(29, 38, 45, 0.12);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
    margin-bottom: 28px;
}

.blog-featured-media {
    position: relative;
    min-height: 360px;
}

.blog-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-chip {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, rgba(29, 38, 45, 0.95), rgba(42, 53, 61, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.26);
}

.blog-featured-content {
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured-content h2 {
    font-size: 1.9rem;
    line-height: 1.6;
    color: var(--brand-dark);
    margin: 14px 0;
}

.blog-featured-content p {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 22px;
}

.blog-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 0.86rem;
    font-weight: 700;
}

.blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i {
    color: var(--primary-color);
}

.blog-read-link,
.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: var(--gradient-main);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 700;
    width: fit-content;
}

.blog-read-link:hover,
.blog-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.blog-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
}

.blog-card {
    background: #fff;
    border: 1px solid rgba(29, 38, 45, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(29, 38, 45, 0.28);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.1);
}

.blog-card-image {
    position: relative;
    height: 195px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.06);
}

.blog-card-body {
    padding: 20px 18px 22px;
}

.blog-card-body h3 {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--brand-dark);
    margin: 10px 0;
}

.blog-card-body p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

/* --- Blog Article Details Page --- */
.blog-post-shell {
    padding-top: 82px;
}

.blog-post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 22px;
    align-items: start;
}

.blog-post-card {
    background: linear-gradient(160deg, #ffffff, #f8fafc);
    border: 1px solid rgba(29, 38, 45, 0.12);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    padding: 30px;
}

.blog-post-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.blog-post-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    border: 1px solid rgba(29, 38, 45, 0.18);
    background: rgba(29, 38, 45, 0.06);
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 12px;
}

.blog-post-cover-wrap {
    margin: 0 0 20px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(29, 38, 45, 0.14);
}

.blog-post-cover {
    width: 100%;
    height: clamp(240px, 46vw, 430px);
    object-fit: cover;
    display: block;
}

.blog-post-content {
    color: #1f2937;
    line-height: 2;
    font-size: 1.04rem;
}

.blog-post-content p {
    margin: 0 0 18px;
}

.blog-post-sidebar {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 14px;
}

.blog-sidebar-card {
    background: linear-gradient(170deg, #ffffff 0%, #f7fafc 100%);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.blog-sidebar-card h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-sidebar-search {
    width: 100%;
    border: 1px solid rgba(100, 116, 139, 0.28);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.93rem;
    margin-bottom: 10px;
    background: #fff;
}

.blog-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    max-height: 350px;
    overflow: auto;
}

.blog-sidebar-list li a {
    display: grid;
    gap: 3px;
    padding: 9px 10px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 10px;
    background: #fff;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.blog-sidebar-list li a strong {
    color: #1e293b;
    font-size: 0.9rem;
    line-height: 1.6;
}

.blog-sidebar-list li a span {
    color: #64748b;
    font-size: 0.78rem;
}

.blog-sidebar-list li a:hover {
    transform: translateY(-1px);
    border-color: rgba(29, 38, 45, 0.3);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.blog-sidebar-facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.blog-sidebar-facts li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.32);
    padding-bottom: 8px;
}

.blog-sidebar-facts li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.blog-sidebar-facts span {
    color: #64748b;
    font-size: 0.84rem;
}

.blog-sidebar-facts strong {
    color: #0f172a;
    font-size: 0.87rem;
}

.blog-sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-sidebar-tag {
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    background: rgba(59, 130, 246, 0.08);
    color: #1e3a8a;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 10px;
}

.blog-sidebar-tag em {
    font-style: normal;
    margin-right: 4px;
    color: #0f172a;
}

.blog-sidebar-card--cta p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0 0 10px;
}

.blog-sidebar-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 10px;
    padding: 10px 12px;
    background: var(--gradient-main);
    color: #fff;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.blog-sidebar-empty {
    margin: 0;
    color: #64748b;
    font-size: 0.87rem;
}

.blog-post-back-link {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: var(--gradient-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
}

.blog-post-back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.2);
}

@media (max-width: 992px) {
    .blog-hub-section {
        padding-top: 90px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-featured-card {
        grid-template-columns: 1fr;
    }

    .blog-featured-media {
        min-height: 260px;
    }

    .blog-post-card {
        padding: 20px;
    }

    .blog-post-layout {
        grid-template-columns: 1fr;
    }

    .blog-post-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-hub-section {
        padding-top: 80px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-post-shell {
        padding-top: 70px;
    }

    .blog-post-content {
        font-size: 0.97rem;
    }
}

/* --- Professional Vision/Mission Cards --- */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.vision-card {
    background: #fff;
    padding: 50px 35px;
    border: 1px solid rgba(29, 38, 45, 0.1);
    border-radius: 10px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.1);
    border-color: transparent;
}

.vision-card:hover::before {
    transform: scaleX(1);
}

.vision-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 35px;
    background: linear-gradient(135deg, rgba(29, 38, 45, 0.1), rgba(255, 255, 255, 0));
    border: 1px solid rgba(29, 38, 45, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.vision-card:hover .vision-icon-wrapper {
    background: var(--gradient-main);
    color: #fff;
    transform: scale(1.1) rotateY(180deg);
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(29, 38, 45, 0.4);
}

.vision-card:hover .vision-icon-wrapper i {
    transform: rotateY(-180deg);
}

.vision-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.vision-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.3;
    transition: width 0.3s ease;
}

.vision-card:hover h3::after {
    width: 60px;
    opacity: 1;
}

.vision-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Background Pattern for Sections */
.bg-pattern-dots {
    background-image: radial-gradient(#d1d5db 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Header CTA Button - Attractive Gold Shine */
.btn-header-cta {
    background: linear-gradient(135deg, var(--content-button-color) 0%, var(--content-button-color) 100%);
    color: #fff;
    padding: 12px 30px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 22px rgba(20, 27, 33, 0.38);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.btn-header-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 100%);
    transform: skewX(-25deg);
    z-index: 2;
    animation: shineAuto 4s infinite cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes shineAuto {
    0% {
        left: -75%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    30% {
        left: 125%;
        opacity: 0;
    }

    100% {
        left: 125%;
        opacity: 0;
    }
}

.btn-header-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(20, 27, 33, 0.5);
}

/* --- About Home Redesign (Square Image + Mini Cards) --- */
.about-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-square-image {
    position: relative;
    aspect-ratio: 4/3;
    width: 100%;
    max-width: 520px;
    justify-self: center;
    overflow: hidden;
    border-radius: 10px;
    isolation: isolate;
    background: linear-gradient(160deg, #ffffff 0%, #f7f9fb 100%);
    border: none;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.about-square-image::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(112deg, rgba(255, 255, 255, 0) 26%, rgba(255, 255, 255, 0.48) 49%, rgba(255, 255, 255, 0) 72%);
    transform: translateX(-170%);
    animation: aboutImageShineSweep 8.5s linear infinite;
}

.about-square-image::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: inherit;
    border: none;
    box-shadow: 0 0 0 1px rgba(29, 38, 45, 0.14) inset;
}

.about-square-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: inherit;
    filter: saturate(1.08) contrast(1.04);
    transition: transform 0.9s ease, filter 0.9s ease;
}

.about-square-image:hover img {
    transform: scale(1.02);
    filter: saturate(1.14) contrast(1.07);
}

.about-square-image .card-badge {
    border-radius: 10px !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: absolute;
    right: 22px;
    bottom: 30px;
    top: auto;
    left: auto;
    padding: 15px 25px;
    font-size: 1rem;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.12)) !important;
    border: 1px solid rgba(255, 255, 255, 0.48) !important;
    box-shadow: 0 12px 24px rgba(9, 12, 20, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 6;
}

.about-exp-badge {
    white-space: nowrap;
}

.about-square-image .card-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -125%;
    width: 62%;
    height: 100%;
    background: linear-gradient(108deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    transform: skewX(-22deg);
    animation: aboutBadgeGlassShine 5.8s linear infinite;
    pointer-events: none;
}

.about-square-image .card-badge::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 115%, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.about-square-image .card-badge span {
    position: relative;
    z-index: 1;
    font-size: 1.25em;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

@keyframes aboutBadgeGlassShine {
    0% {
        left: -125%;
        opacity: 0;
    }

    14% {
        opacity: 1;
    }

    32% {
        left: 170%;
        opacity: 0;
    }

    100% {
        left: 170%;
        opacity: 0;
    }
}

@keyframes aboutImageShineSweep {
    0% {
        transform: translateX(-170%);
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    28% {
        transform: translateX(190%);
        opacity: 0;
    }

    100% {
        transform: translateX(190%);
        opacity: 0;
    }
}

.about-mini-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.mini-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: #fff;
    border: 1px solid rgba(29, 38, 45, 0.1);
    transition: all 0.3s ease;
    border-radius: 10px;
    /* Slight rounding for polish */
}

.mini-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    border-color: rgba(29, 38, 45, 0.3);
}

.icon-square {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(29, 38, 45, 0.1), rgba(255, 255, 255, 0));
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid rgba(29, 38, 45, 0.2);
    transition: all 0.3s ease;
}

.mini-card:hover .icon-square {
    background: var(--primary-color);
    color: #fff;
    border-color: transparent;
}

.mini-card h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    color: var(--brand-dark);
}

.mini-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .about-home-grid {
        grid-template-columns: 1fr;
    }

    .about-square-image {
        max-width: 500px;
        margin: 0 auto;

    }

    .about-square-image .card-badge {
        right: 16px;
        bottom: 20px;
        padding: 12px 18px;
        font-size: 0.92rem;
    }
}

/* --- Creative Section Titles (Premium & Attractive) --- */
.creative-title-wrapper {
    position: relative;
    margin-bottom: 25px;
    display: inline-block;
}

.creative-eyebrow {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
    position: relative;
    padding-right: 40px;
}

.creative-eyebrow::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

/* Prevent eyebrow line flash in section headings on refresh */
.achievements-head .creative-eyebrow {
    padding-right: 0;
}

.achievements-head .creative-title-wrapper .creative-eyebrow::before {
    content: none;
    display: none;
}

.creative-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--brand-dark);
    line-height: 1.3;
    position: relative;
    z-index: 1;
    display: inline-block;
    text-align: center;
}

.about-title-lines-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.about-title-lines-wrap::before,
.about-title-lines-wrap::after {
    content: none;
    display: none;
}

.about-title-lines-wrap .creative-title {
    margin: 0;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.about-title-lines-wrap .creative-title::after {
    display: none;
}

/* Stylish Underline/Decoration (Watermark) */
.about-home-content .creative-title::after,
.featured-projects-title .creative-title::after,
.creative-title::after {
    content: attr(data-text);
    position: absolute;
    top: -16px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: auto;
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    font-size: 3.25rem;
    color: rgba(29, 38, 45, 0.06);
    z-index: -1;
    white-space: nowrap;
    pointer-events: none;
    font-family: var(--font-main);
    font-weight: 900;
    -webkit-text-fill-color: rgba(29, 38, 45, 0.06);
    text-shadow: none;
    /* Reset inherited animations */
    animation: none;
}

/* Keep About title watermark in its original side position */
.about-home-content .creative-title::after {
    left: auto;
    right: -8px;
    transform: none;
    font-size: 2.9rem;
}

.title-decoration {
    width: 140px;
    height: 10px;
    background: none;
    /* Remove solid bar */
    margin-top: 10px;
    position: relative;

    /* Two Dots in Center */
    background-image:
        radial-gradient(circle, var(--primary-color) 3px, transparent 4px),
        radial-gradient(circle, var(--primary-light) 3px, transparent 4px);
    background-position: calc(50% - 8px) center, calc(50% + 8px) center;
    background-repeat: no-repeat;
}

.title-decoration::before {
    /* Left Line */
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: calc(50% - 20px);
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color));
    opacity: 0.7;
}

.title-decoration::after {
    /* Right Line */
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: calc(50% - 20px);
    height: 2px;
    background: linear-gradient(-90deg, transparent, var(--primary-color));
    opacity: 0.7;
}

/* --- Achievements Section --- */
.achievements-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(140deg, #ffffff 0%, #f7f9fb 50%, #edf2f7 100%);
}

.achievements-section::before {
    display: none;
}

.achievements-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: -140%;
    width: 65%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(108deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    transform: skewX(-20deg);
    opacity: 0.6;
    animation: achievementsSectionShine 18s linear infinite;
}

.achievements-head {
    text-align: center;
    margin-bottom: 34px;
    position: relative;
    z-index: 1;
}

.achievements-section .creative-eyebrow {
    color: var(--primary-color);
}

.achievements-section .creative-eyebrow::before {
    background: var(--primary-color);
}

.achievements-section .creative-title {
    color: var(--brand-dark);
    text-shadow: none;
}

.achievements-section .creative-title::after {
    color: rgba(29, 38, 45, 0.04);
    -webkit-text-fill-color: rgba(29, 38, 45, 0.04);
}

.achievements-section .title-decoration {
    background-image:
        radial-gradient(circle, var(--primary-color) 3px, transparent 4px),
        radial-gradient(circle, var(--primary-light) 3px, transparent 4px);
}

.achievements-section .title-decoration::before {
    background: linear-gradient(90deg, transparent, var(--primary-color));
}

.achievements-section .title-decoration::after {
    background: linear-gradient(-90deg, transparent, var(--primary-color));
}

.achievements-head p {
    max-width: 100%;
    margin: 14px auto 0;
    color: var(--text-muted);
    font-size: 1.03rem;
    line-height: 1.9;
}

/* Home about intro text: wider, single line on desktop */
body.home-page .achievements-section:first-of-type .achievements-head p {
    max-width: 100%;
    white-space: nowrap;
}

@media (max-width: 992px) {
    body.home-page .achievements-section:first-of-type .achievements-head p {
        max-width: 100%;
        white-space: normal;
    }
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 18px;
    position: relative;
    z-index: 1;
}

.achievement-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 196px;
    padding: 24px 14px;
    border-radius: 10px;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
    color: var(--text-light);
    background: #fff;
    border: 1px solid rgba(29, 38, 45, 0.1);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 54%;
    height: 100%;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
    transform: skewX(-20deg);
    animation: achievementCardShine 9.8s linear infinite;
    pointer-events: none;
}

.achievement-card::after {
    display: none;
}

.achievement-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.achievement-icon {
    width: 58px;
    height: 58px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(29, 38, 45, 0.05);
    /* Light grayish */
    border: 1px solid rgba(29, 38, 45, 0.1);
    box-shadow: none;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.achievement-card:hover .achievement-icon {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(29, 38, 45, 0.2);
}

.achievement-icon i {
    font-size: 1.38rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.achievement-icon lord-icon,
.achievement-icon .achievement-lordicon {
    width: 44px;
    height: 44px;
    color: var(--primary-color);
    display: block;
}

.achievement-icon lord-icon img,
.achievement-icon .achievement-lordicon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: brightness(0) saturate(100%) invert(11%) sepia(18%) saturate(698%) hue-rotate(165deg) brightness(95%) contrast(90%);
    transition: filter 0.3s ease;
}

.achievement-card:hover .achievement-icon i {
    color: #ffffff;
}

.achievement-card:hover .achievement-icon lord-icon,
.achievement-card:hover .achievement-icon .achievement-lordicon {
    color: #ffffff;
}

.achievement-card:hover .achievement-icon lord-icon img,
.achievement-card:hover .achievement-icon .achievement-lordicon img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(2%) hue-rotate(214deg) brightness(108%) contrast(101%);
}

.achievement-number {
    margin: 2px 0 0;
    font-size: clamp(1.7rem, 2.5vw, 2.25rem);
    font-family: var(--font-english);
    font-weight: 800;
    color: var(--brand-dark);
    text-shadow: none;
    letter-spacing: 0.2px;
    line-height: 1.15;
    position: relative;
    z-index: 1;
}

.achievement-label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

@keyframes achievementCardShine {
    0% {
        left: -120%;
        opacity: 0;
    }

    12% {
        opacity: 0.7;
    }

    30% {
        left: 165%;
        opacity: 0;
    }

    100% {
        left: 165%;
        opacity: 0;
    }
}

@keyframes achievementsSectionShine {
    0% {
        left: -140%;
        opacity: 0;
    }

    10% {
        opacity: 0.65;
    }

    32% {
        left: 165%;
        opacity: 0;
    }

    100% {
        left: 165%;
        opacity: 0;
    }
}

@media (max-width: 900px) {
    .achievements-head {
        margin-bottom: 24px;
    }

    .achievements-head p {
        font-size: 0.96rem;
        line-height: 1.8;
    }

    .achievements-grid {
        gap: 12px;
    }

    .achievement-card {
        min-height: 175px;
        padding: 18px 12px;
        gap: 8px;
    }

    .achievement-icon {
        width: 50px;
        height: 50px;
    }

    .achievement-icon i {
        font-size: 1.2rem;
    }

    .achievement-label {
        font-size: 0.84rem;
    }
}

/* --- Professional Homepage Project Filter --- */
.projects-filter-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.projects-filter-pill {
    display: inline-flex;
    background: #f8f9fa;
    padding: 6px;
    border-radius: 10px;
    /* Square look */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 30px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 10px;
    /* Square look */
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    color: var(--brand-dark);
    background: rgba(0, 0, 0, 0.03);
}

.filter-btn.active {
    background: var(--content-button-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(29, 38, 45, 0.3);
}

/* Response for mobile */
@media (max-width: 768px) {
    .projects-filter-pill {
        border-radius: 20px;
        padding: 5px;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
        flex: 1 1 auto;
        text-align: center;
    }
}

/* Property Status Badges */
.card-badge.status-available {
    background-color: var(--status-success, #28a745);
    color: #fff;
}

.card-badge.status-sold {
    background-color: var(--status-danger, #dc3545);
    color: #fff;
}

.card-badge.status-under_construction {
    background-color: var(--status-warning, #fd7e14);
    color: #fff;
}

.card-badge.status-coming_soon {
    background-color: var(--status-info, #0dcaf0);
    color: #fff;
}

/* --- Header Menu Dropdown (Square + GSAP Friendly) --- */
.header-menu-wrapper {
    position: relative;
    z-index: 1200;
}

.btn-header-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    padding: 0;
    gap: 0;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    z-index: 1201;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.btn-header-menu:hover,
.btn-header-menu.active {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.menu-burger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 22px;
}

.menu-burger-icon span {
    display: block;
    width: 100%;
    height: 2.3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(196, 208, 222, 0.72) 55%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 999px;
    transform-origin: center;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.btn-header-menu.active .menu-burger-icon span:nth-child(1) {
    transform: translateY(7.2px) rotate(45deg);
}

.btn-header-menu.active .menu-burger-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.2);
}

.btn-header-menu.active .menu-burger-icon span:nth-child(3) {
    transform: translateY(-7.2px) rotate(-45deg);
}

.header-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: min(330px, 86vw);
    max-height: min(72vh, 520px);
    overflow: auto;
    background: linear-gradient(165deg, rgba(17, 24, 39, 0.58), rgba(29, 38, 45, 0.46));
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 10px;
    box-shadow: 0 18px 36px rgba(5, 9, 14, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    transform: translateY(12px) scale(0.96);
    transform-origin: top left;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1200;
    padding: 12px;
}

.header-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.header-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 16px;
    width: 14px;
    height: 14px;
    background: rgba(23, 32, 40, 0.56);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
}

.header-dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.header-dropdown-menu ul li {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.header-dropdown-menu.show ul li {
    opacity: 1;
    transform: translateY(0);
}

.header-dropdown-menu ul li:last-child {
    border-bottom: none;
}

.header-dropdown-menu ul li a {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding: 11px 12px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 14px rgba(5, 9, 14, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: 0.3s;
}

.header-dropdown-menu ul li a::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(112deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.38) 50%,
            rgba(255, 255, 255, 0) 70%);
    transform: translateX(-155%);
}

.header-dropdown-menu ul li a i {
    width: 26px;
    text-align: center;
    color: #ffffff;
    font-size: 1.05rem;
    transition: 0.3s;
}

.header-dropdown-menu ul li a:hover {
    color: #fff;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 8px 18px rgba(5, 9, 14, 0.2);
    transform: translateX(-4px);
}

.header-dropdown-menu ul li a:hover::before {
    opacity: 1;
    animation: navMenuShine 1.25s cubic-bezier(0.19, 1, 0.22, 1);
}

.header-dropdown-menu ul li a:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.65);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .header-dropdown-menu {
        position: fixed;
        top: clamp(66px, 11vw, 82px);
        left: 50vw !important;
        right: auto !important;
        margin-inline: 0 !important;
        width: min(92vw, 336px);
        max-width: calc(100vw - 20px);
        transform: translate3d(-50%, 12px, 0) scale(0.96) !important;
        transform-origin: top center !important;
    }

    .header-dropdown-menu.show {
        transform: translate3d(-50%, 0, 0) scale(1) !important;
    }

    .header-dropdown-menu::before {
        display: none;
    }
}

/* --- New Property Card Design (Project Box) --- */
.property-card.new-design {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    /* Clean Box Look */
}

.property-card.new-design:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(29, 38, 45, 0.3);
}

.property-card.new-design .card-image {
    position: relative;
    padding-top: 65%;
    /* Aspect Ratio */
    overflow: hidden;
}

.property-card.new-design .card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.property-card.new-design:hover .card-image img {
    transform: scale(1.08);
}

/* Price Overlay */
.card-price-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(29, 38, 45, 0.9);
    color: #fff;
    padding: 8px 15px;
    font-weight: 700;
    font-size: 1rem;
    z-index: 2;
    border-top-left-radius: 8px;
    backdrop-filter: blur(5px);
}

/* Card Content */
.property-card.new-design .card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

.property-card.new-design .card-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.4;
}

.property-card.new-design .card-title a {
    color: var(--brand-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.property-card.new-design:hover .card-title a {
    color: var(--primary-color);
}

/* Location */
.card-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding-bottom: 15px;
    margin-bottom: 5px;
}

.card-location i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Attractive Feature Squares */
.card-features-squares {
    display: flex;
    gap: 12px;
    margin-bottom: 5px;
}

.feature-sq-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 12px 10px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 10px;
    /* Attractive Square look */
    gap: 8px;
    transition: all 0.3s ease;
}

.property-card.new-design:hover .feature-sq-item {
    background: #fff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.feature-sq-item i {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: 0.3s;
}

.feature-sq-item span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.property-card.new-design:hover .feature-sq-item i {
    color: var(--primary-color);
}

/* Details Button (Subtle & Clean) */
.btn-card-details {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.3s;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.btn-card-details i {
    transition: transform 0.3s;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.btn-card-details:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.btn-card-details:hover i {
    transform: translateX(-5px);
}

/* --- Premium Overlay Property Card Design (WSM Style) --- */
.property-card.premium-overlay-design {
    --card-sheen-x: -180%;
    --card-ambient: 0.24;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, #ffffff 0%, #ffffff 52%, #f7f9fb 100%);
    border-radius: 10px !important;
    overflow: hidden;
    position: relative;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16), 0 2px 0 rgba(255, 255, 255, 0.86) inset;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.82);
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.btn-primary,
.btn-filter,
.filter-btn,
.filter-chip,
.projects-filter-pill,
.btn-header-menu,
.btn-subscribe,
.btn-card-project-details,
.scroll-to-top,
.social-icon,
a[class^="btn-"],
a[class*=" btn-"] {
    border-radius: var(--button-radius) !important;
}

.property-card.premium-overlay-design::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    pointer-events: none;
    background: radial-gradient(70% 48% at 50% 100%, rgba(29, 38, 45, calc(var(--card-ambient) * 0.9)) 0%, rgba(29, 38, 45, 0) 100%);
    z-index: 0;
}

.property-card.premium-overlay-design::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    pointer-events: none;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.62);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
}

.property-card.premium-overlay-design:hover {
    transform: translateY(-10px);
    box-shadow: 0 36px 84px rgba(15, 23, 42, 0.2), 0 2px 0 rgba(255, 255, 255, 0.9) inset;
}

.card-link-wrapper {
    display: block;
    height: calc(100% - 120px);
    position: relative;
    text-decoration: none;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    z-index: 1;
}

.card-link-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    opacity: 0.44;
    transform: translateX(var(--card-sheen-x));
    background: linear-gradient(116deg,
            rgba(255, 255, 255, 0) 32%,
            rgba(255, 255, 255, 0.52) 48%,
            rgba(255, 255, 255, 0) 64%);
    mix-blend-mode: screen;
}

.card-image-section {
    width: 100%;
    height: 100%;
    position: relative;
}

.project-status-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow: 0 10px 20px rgba(9, 12, 20, 0.34);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
}

.project-status-badge::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
}

.project-status-badge i,
.project-status-badge span {
    position: relative;
    z-index: 1;
}

.project-status-badge i {
    font-size: 0.7rem;
    color: #1d262d;
}

.project-status-badge.is-text-only {
    gap: 0;
    padding-inline: 11px;
}

.project-status-badge.status-available {
    background: linear-gradient(135deg, rgba(29, 38, 45, 0.96), rgba(44, 57, 70, 0.92));
}

.project-status-badge.status-coming_soon {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.96), rgba(3, 105, 161, 0.92));
}

.project-status-badge.status-under_construction {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.96), rgba(217, 119, 6, 0.92));
}

.project-status-badge.status-sold {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.96), rgba(185, 28, 28, 0.92));
}

@media (max-width: 768px) {
    .project-status-badge {
        top: 10px;
        right: 10px;
        padding: 7px 10px;
        gap: 5px;
        font-size: 0.7rem;
    }
}

.card-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.property-card.premium-overlay-design:hover .card-image-section img {
    transform: scale(1.05);
}

/* Gradient Overlay - Dark at bottom for text readability */
.card-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 66%;
    background: linear-gradient(to top, rgba(9, 12, 20, 0.92) 0%, rgba(9, 12, 20, 0.62) 38%, rgba(9, 12, 20, 0.04) 100%);
    z-index: 1;
}

.card-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    z-index: 2;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.card-overlay-content .card-title {
    font-size: 1.55rem;
    font-weight: 900;
    margin: 0;
    color: #fff !important;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.42);
    font-family: var(--font-heading);
    letter-spacing: 0.2px;
}

.card-overlay-content .card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.meta-item i {
    font-size: 0.9rem;
    color: #fff;
}

.meta-item.no-icon {
    gap: 0;
}

/* Home cards: smaller centered title + features */
.properties-grid-home .property-card.premium-overlay-design .card-overlay-content {
    text-align: center;
    align-items: center;
    padding: 20px 18px;
    gap: 6px;
}

.properties-grid-home .property-card.premium-overlay-design .card-overlay-content .card-title {
    font-size: clamp(1.05rem, 1.8vw, 1.22rem);
    line-height: 1.35;
    letter-spacing: 0;
}

.properties-grid-home .property-card.premium-overlay-design .card-overlay-content .card-meta {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.88rem;
}

.properties-grid-home .property-card.premium-overlay-design .card-overlay-content .card-meta .meta-divider,
.properties-grid-home .property-card.premium-overlay-design .card-overlay-content .card-meta .meta-item:nth-of-type(2) {
    display: none !important;
}

.properties-grid-home .property-card.premium-overlay-design .meta-item {
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.properties-grid-home .property-card.premium-overlay-design .card-bottom-bar {
    border-top: none;
}

.properties-grid-home .property-card.premium-overlay-design .meta-item i {
    font-size: 0.72rem !important;
}

.properties-grid-home .property-card.premium-overlay-design .meta-item span {
    font-size: 0.8rem !important;
}

/* Meta divider hidden */
.meta-divider {
    display: none;
}

/* Project Type Badge - Solid Yellow Slanted */
.card-type-ribbon {
    position: absolute;
    top: 22px;
    left: -58px;
    width: 210px;
    background: #ffeb3b;
    color: #1d262d;
    padding: 7px 0;
    font-size: 11px;
    font-weight: 900;
    z-index: 20;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    white-space: nowrap;
    text-align: center;
    display: block;
    transform: rotate(-40deg);
    transform-origin: center center;
    letter-spacing: 0.04em;
}

/* Bottom Bar - White area showing status and brand */
.property-card.premium-overlay-design .card-bottom-bar {
    height: 148px !important;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.88));
    padding: 11px 16px !important;
    min-height: 148px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
    border-top: 1px solid rgba(29, 38, 45, 0.44);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.property-card.premium-overlay-design .card-bottom-bar::before {
    content: "";
    position: absolute;
    top: -80%;
    left: -42%;
    width: 62%;
    height: 260%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0));
    transform: rotate(18deg);
    animation: premiumBarSheen 9.6s linear infinite;
}

.project-progress-inline {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.progress-inline-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1d262d;
}

.progress-inline-title {
    opacity: 0.85;
    letter-spacing: 0.2px;
}

.progress-inline-value {
    font-size: 0.7rem;
    font-weight: 800;
    color: #1d262d;
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.52);
    padding: 2px 8px;
    border-radius: 999px;
    line-height: 1.2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn-card-project-details {
    --btn-sheen-x: -180%;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, var(--content-button-color) 0%, var(--content-button-color) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 24px rgba(20, 27, 33, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    overflow: hidden;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.btn-card-project-details::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(112deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.46) 50%, rgba(255, 255, 255, 0) 72%);
    transform: translateX(var(--btn-sheen-x));
    mix-blend-mode: screen;
}

.btn-card-project-details span,
.btn-card-project-details i {
    position: relative;
    z-index: 1;
}

.btn-card-project-details i {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.92);
    transition: transform 0.35s ease;
}

.property-card.premium-overlay-design:hover .btn-card-project-details {
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: 0 12px 28px rgba(20, 27, 33, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.property-card.premium-overlay-design:hover .btn-card-project-details i {
    transform: translateX(-4px);
}

.card-progress-inline-track {
    position: relative;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(29, 38, 45, 0.26));
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: inset 0 1px 4px rgba(17, 24, 39, 0.15);
}

.card-progress-inline-fill {
    position: relative;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(29, 38, 45, 0.84), rgba(43, 54, 64, 0.96) 52%, rgba(22, 31, 39, 0.88));
    box-shadow: 0 0 12px rgba(29, 38, 45, 0.52), inset 0 1px 1px rgba(255, 255, 255, 0.58);
}

.card-progress-inline-shine {
    position: absolute;
    inset: -35% -30%;
    display: block;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0) 72%);
    transform: translateX(-120%);
    mix-blend-mode: screen;
    opacity: 0.72;
}

.project-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Status Dot Indicator */
.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}

/* Status colors and glows */
.status-available {
    background-color: #198754;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.15);
}

.status-sold {
    background-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.status-under_construction {
    background-color: #fd7e14;
    box-shadow: 0 0 0 3px rgba(253, 126, 20, 0.15);
}

.status-coming_soon {
    background-color: #0dcaf0;
    box-shadow: 0 0 0 3px rgba(13, 202, 240, 0.15);
}

.status-text {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-dark);
}

.property-card.premium-overlay-design .project-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    padding-top: 8px;
}

.property-card.premium-overlay-design .branding-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
    filter: grayscale(90%) contrast(1.08) brightness(0.98);
    opacity: 0.78;
    transition: transform 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
}

.property-card.premium-overlay-design:hover .branding-logo {
    transform: scale(1.03);
    opacity: 0.92;
    filter: grayscale(25%) contrast(1.12) brightness(1.04);
}

/* --- Project Progress Bar Animation --- */
.property-card:not(.premium-overlay-design) .card-bottom-bar {
    padding: 15px 24px !important;
    height: auto !important;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@keyframes premiumBarSheen {
    0% {
        transform: translateX(-140%) rotate(18deg);
    }

    100% {
        transform: translateX(420%) rotate(18deg);
    }
}

.project-progress-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.progress-track {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    width: 0;
    /* JS handles this, but set 0 initial for animation if JS allows */
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Status Colors for Progress Bar */
.progress-fill.status-available {
    background: linear-gradient(90deg, #198754, #20c997);
}

.progress-fill.status-sold {
    background: linear-gradient(90deg, #dc3545, #f76707);
}

.progress-fill.status-under_construction {
    background: linear-gradient(90deg, #fd7e14, #ffc107);
}

.progress-fill.status-coming_soon {
    background: linear-gradient(90deg, #0dcaf0, #4dabf7);
}

/* Shimmer Animation inside the bar */
.progress-glow {
    position: absolute;
    top: 30px;
    left: -10px;
    bottom: 0;
    width: 50%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: translateX(-100%);
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% {
        transform: translateX(-150%);
    }

    100% {
        transform: translateX(250%);
    }
}

.progress-percentage-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 8px;
    border-radius: 4px;

}

/* --- Professional Border Progress Animation --- */
.property-card.premium-overlay-design {
    position: relative;
    /* Ensure z-index context */
}

/* Container for the SVG border */
.card-progress-border {
    position: absolute;
    top: 30px;
    left: -10px;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    border-radius: 10px;
    overflow: visible;
}

.card-progress-border::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 11px;
    border: 1px solid rgba(210, 198, 158, 0.35);
    opacity: 0.62;
}

.card-progress-svg {
    width: 100%;
    height: 100%;
    fill: none;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.card-progress-track {
    fill: none;
    stroke: rgba(233, 228, 211, 0.5);
    stroke-width: 1.08;
}

.card-progress-path {
    fill: none;
    stroke: rgba(190, 176, 132, 0.98);
    stroke-width: 1.58;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px rgba(29, 38, 45, 0.48)) drop-shadow(0 0 14px rgba(255, 255, 255, 0.34));
}

.card-progress-shine {
    fill: none;
    stroke: rgba(255, 255, 255, 0.82);
    stroke-width: 1;
    stroke-linecap: round;
    opacity: 0.7;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.68));
}

.card-progress-head {
    fill: rgba(207, 192, 146, 0.98);
    stroke: #ffffff;
    stroke-width: 0.9;
    filter: drop-shadow(0 0 7px rgba(255, 249, 230, 0.7));
}

.card-progress-head-pulse {
    fill: rgba(207, 192, 146, 0.95);
    opacity: 0.42;
}

.card-progress-percent {
    fill: #5f5026;
    font-size: 8.4px;
    font-weight: 800;
    text-anchor: middle;
    dominant-baseline: middle;
    paint-order: stroke;
    stroke: rgba(255, 255, 255, 0.95);
    stroke-width: 0.7;
    letter-spacing: 0.2px;
}

/* Status Colors for Stroke */
.card-progress-path.status-available {
    stroke: rgba(190, 176, 132, 0.98);
}

.card-progress-head.status-available,
.card-progress-head-pulse.status-available {
    fill: rgba(207, 192, 146, 0.98);
}

.card-progress-percent.status-available {
    fill: #5f5026;
}

.card-progress-path.status-sold {
    stroke: rgba(190, 176, 132, 0.98);
}

.card-progress-head.status-sold,
.card-progress-head-pulse.status-sold {
    fill: rgba(207, 192, 146, 0.98);
}

.card-progress-percent.status-sold {
    fill: #5f5026;
}

.card-progress-path.status-under_construction {
    stroke: rgba(190, 176, 132, 0.98);
}

.card-progress-head.status-under_construction,
.card-progress-head-pulse.status-under_construction {
    fill: rgba(207, 192, 146, 0.98);
}

.card-progress-percent.status-under_construction {
    fill: #5f5026;
}

.card-progress-path.status-coming_soon {
    stroke: rgba(190, 176, 132, 0.98);
}

.card-progress-head.status-coming_soon,
.card-progress-head-pulse.status-coming_soon {
    fill: rgba(207, 192, 146, 0.98);
}

.card-progress-percent.status-coming_soon {
    fill: #5f5026;
}


/* Floating Badge Indicator */
.progress-badge-floating {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--brand-dark);
    transform: translateY(-5px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.property-card.premium-overlay-design:hover .progress-badge-floating {
    transform: translateY(0);
    opacity: 1;
}

.progress-dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 0 rgba(29, 38, 45, 0.7);
    animation: pulse-badge 2s infinite;
}

/* Status colors for dot */
.progress-dot-pulse.status-available {
    background: #198754;
    box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7);
}

.progress-dot-pulse.status-sold {
    background: #dc3545;
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
}

.progress-dot-pulse.status-under_construction {
    background: #fd7e14;
    box-shadow: 0 0 0 0 rgba(253, 126, 20, 0.7);
}

.progress-dot-pulse.status-coming_soon {
    background: #0dcaf0;
    box-shadow: 0 0 0 0 rgba(13, 202, 240, 0.7);
}

@keyframes pulse-badge {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(29, 38, 45, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(29, 38, 45, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(29, 38, 45, 0);
    }
}

/* Smaller Icons for Card Details */
.meta-item i {
    font-size: 0.75rem !important;
    /* Smaller icon */
    margin-top: 1px;
}

.meta-item span {
    font-size: 0.85rem !important;
    /* Smaller text */
    font-weight: 500;
}

/* Global Responsive Overrides */
@media (max-width: 1200px) {
    .navbar {
        padding-inline: clamp(18px, 3vw, 34px);
    }

    .section-padding {
        padding-block: 84px;
    }

    .section-title {
        margin-bottom: 62px;
    }

    .section-title h2 {
        font-size: clamp(2rem, 3.2vw, 2.5rem);
    }

    body.properties-page #properties-grid.properties-grid-home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    body.mobile-nav-open {
        overflow: hidden;
    }

    .container {
        padding-inline: 16px;
    }

    .section-padding {
        padding-block: 70px;
    }

    .main-header {
        padding: 12px 0;
    }

    .navbar {
        min-height: 72px;
        padding-inline: 2em;
        gap: 10px;
    }

    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.22);
        background: rgba(17, 25, 35, 0.38);
        color: #fff;
    }

    .nav-links {
        position: fixed;
        top: 78px;
        left: 12px;
        right: 12px;
        width: auto;
        max-height: calc(100vh - 96px);
        overflow: auto;
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 14px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.22);
        background: linear-gradient(165deg, rgba(14, 22, 33, 0.98), rgba(23, 34, 46, 0.96));
        box-shadow: 0 22px 36px rgba(4, 8, 13, 0.35);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
        z-index: 1300;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links li a {
        width: 100%;
        padding: 11px 13px;
        font-size: 0.95rem;
    }

    .nav-actions {
        gap: 10px;
        margin-inline-start: auto;
    }

    .btn-search,
    .btn-customer-dash,
    .nav-actions .btn-primary {
        display: none !important;
    }

    .header-dropdown-menu {
        right: 0;
        left: auto;
        width: min(340px, 92vw);
    }

    .hero-title {
        font-size: min(9.2vw, 2.15rem);
        white-space: nowrap;
    }

    .hero-subtitle {
        font-size: clamp(0.95rem, 2.4vw, 1.05rem);
    }

    .page-header:not(.project-details-hero) h1 {
        font-size: clamp(2rem, 5.6vw, 2.8rem) !important;
        margin-bottom: 14px !important;
    }

    .page-header:not(.project-details-hero) p {
        font-size: clamp(0.94rem, 2.6vw, 1.04rem) !important;
        line-height: 1.8 !important;
        max-width: min(100%, 760px) !important;
        margin-inline: auto !important;
    }

    .section-padding h2[style],
    .section-padding .text-center h2[style] {
        font-size: clamp(1.6rem, 4.6vw, 2.1rem) !important;
        line-height: 1.4 !important;
    }

    .section-padding p[style],
    .section-padding .text-center p[style] {
        font-size: clamp(0.92rem, 2.4vw, 1rem) !important;
    }

    .form-card {
        padding: 26px;
    }

    .footer-grid {
        gap: 26px;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    body.mobile-nav-open {
        overflow: hidden;
    }

    .navbar {
        min-height: 64px;
        padding-inline: 2em;
    }

    .nav-links {
        top: 68px;
        left: 10px;
        right: 10px;
        max-height: calc(100vh - 82px);
        padding: 12px;
    }

    .btn-header-menu,
    .mobile-toggle {
        width: 40px;
        height: 40px;
    }

    .section-padding {
        padding-block: 56px;
    }

    .section-title {
        margin-bottom: 42px;
    }

    .section-title h2 {
        font-size: clamp(1.45rem, 7vw, 2rem);
    }

    .page-header:not(.project-details-hero) {
        padding: 46px 0 24px !important;
    }

    .page-header:not(.project-details-hero) h1 {
        font-size: clamp(1.65rem, 8vw, 2.2rem) !important;
    }

    .page-header:not(.project-details-hero) p {
        font-size: 0.92rem !important;
    }

    .properties-grid,
    .projects-content .properties-grid-home,
    body.properties-page #properties-grid.properties-grid-home {
        grid-template-columns: 1fr !important;
    }

    .contact-grid {
        gap: 24px;
    }

    .form-card {
        padding: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 520px) {
    .container {
        padding-inline: 12px;
    }

    .nav-links {
        left: 8px;
        right: 8px;
        border-radius: 12px;
    }

    .btn-header-menu,
    .mobile-toggle {
        width: 38px;
        height: 38px;
    }

    .form-card {
        padding: 16px;
    }
}


/* Partners Section */
.partners-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.marquee-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 20px));
    }
}

.partner-item {
    flex-shrink: 0;
    width: 180px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* Map Section Styles */
.projects-map-section {
    position: relative;
    height: 600px;
    border-radius: 20px;
    margin: 40px 0;
    overflow: hidden;
}

#projectsMap {
    height: 100%;
    width: 100%;
}

.map-filter-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.map-popup-card {
    width: 250px;
    font-family: var(--font-main);
}

.map-popup-title {
    font-weight: 700;
    margin-bottom: 5px;
}

/* Project Type Badge - Slanted Yellow Glass */
/* Project Type Badge - Solid Yellow Slanted */
.card-type-ribbon {
    position: absolute;
    top: 22px;
    left: -58px;
    width: 210px;
    background: #ffeb3b;
    color: #1d262d;
    padding: 7px 0;
    font-size: 11px;
    font-weight: 900;
    z-index: 20;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    white-space: nowrap;
    text-align: center;
    display: block;
    transform: rotate(-40deg);
    transform-origin: center center;
    letter-spacing: 0.04em;
}

.property-card.premium-overlay-design .card-image-section {
    position: relative;
    overflow: hidden;
}

/* --- Sanad Responsive Stability Patch --- */
html,
body {
    max-width: 100%;
}

html.mobile-nav-open,
body.mobile-nav-open {
    overflow: hidden;
    overscroll-behavior: none;
}

.contact-page .contact-info .info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.contact-page .contact-info>h2 {
    margin-bottom: 30px;
}

.contact-page .contact-info .icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-page .contact-info h4 {
    margin: 0 0 5px;
}

.contact-page .contact-info p {
    margin: 0;
    color: var(--text-muted);
}

.contact-page .map-container {
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 30px;
    position: relative;
}

.contact-page .map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 992px) {
    .main-header {
        z-index: 1400;
    }

    .navbar {
        min-height: 72px;
        padding-inline: 14px;
        gap: 10px;
    }

    .nav-actions {
        margin-inline-start: auto;
        gap: 8px;
    }

    .btn-header-menu,
    .mobile-toggle {
        width: 40px;
        height: 40px;
    }

    .nav-links {
        position: fixed;
        top: 78px;
        left: 10px;
        right: 10px;
        width: auto;
        max-height: calc(100dvh - 92px);
        overflow: auto;
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.22);
        background: linear-gradient(165deg, rgba(14, 22, 33, 0.98), rgba(23, 34, 46, 0.96));
        box-shadow: 0 22px 36px rgba(4, 8, 13, 0.35);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 1350;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        pointer-events: none;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links li,
    .nav-links li a {
        width: 100%;
    }

    .nav-links li a {
        padding: 11px 13px;
        font-size: 0.95rem;
        text-shadow: none;
    }

    .hero-social-rail {
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        gap: 8px;
    }

    .hero-social-link {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .project-slider-fullwidth-wrap {
        width: 100%;
        margin-inline: 0;
    }

    .header-menu-wrapper,
    .header-dropdown-menu {
        z-index: 1410;
    }

    .btn-search,
    .btn-customer-dash,
    .nav-actions .btn-primary {
        display: none !important;
    }

    .page-header:not(.project-details-hero) {
        padding: 52px 0 30px !important;
    }

    .page-header:not(.project-details-hero) h1 {
        font-size: clamp(1.95rem, 5.8vw, 2.6rem) !important;
        margin-bottom: 12px !important;
    }

    .page-header:not(.project-details-hero) p {
        font-size: clamp(0.93rem, 2.5vw, 1.02rem) !important;
    }

    .section-padding {
        padding-block: 62px;
    }
}

@media (max-width: 768px) {
    .navbar {
        min-height: 64px;
        padding-inline: 2em;
    }

    .hero-social-rail {
        left: 12px;
        top: 88px;
        transform: none;
    }

    .nav-links {
        top: 68px;
        left: 8px;
        right: 8px;
        max-height: calc(100dvh - 80px);
        border-radius: 12px;
        padding: 10px;
    }

    .btn-header-menu,
    .mobile-toggle {
        width: 38px;
        height: 38px;
    }

    .page-header:not(.project-details-hero) {
        padding: 46px 0 24px !important;
    }

    .section-padding {
        padding-block: 54px;
    }

    .contact-page .contact-info .info-item {
        padding: 16px;
        gap: 12px;
        margin-bottom: 12px;
    }

    .contact-page .contact-info .icon-box {
        width: 42px !important;
        height: 42px !important;
        font-size: 1rem !important;
    }

    .contact-page .map-container {
        height: 210px;
        margin-top: 20px;
        border-radius: 14px;
    }
}

@media (max-width: 520px) {
    .container {
        padding-inline: 12px;
    }

    .hero-social-rail {
        left: 12px;
        top: 88px;
        transform: none;
    }

    .nav-links {
        left: 6px;
        right: 6px;
    }

    .page-header:not(.project-details-hero) {
        padding: 42px 0 22px !important;
    }

    .page-header:not(.project-details-hero) h1 {
        font-size: clamp(1.55rem, 8vw, 2rem) !important;
    }

    .page-header:not(.project-details-hero) p {
        font-size: 0.9rem !important;
    }
}

/* --- Project Details Mobile Refinements --- */
@media (max-width: 992px) {
    .project-single-body .project-details-hero {
        padding-top: 52px !important;
        padding-bottom: 32px !important;
    }

    .project-single-body .project-hero-actions-only {
        width: 100%;
        padding: 12px;
        border-radius: 16px;
    }

    .project-single-body .project-hero-btn {
        flex: 1 1 calc(50% - 6px);
        max-width: none;
        min-height: 48px;
        font-size: 0.86rem;
    }

    .project-single-body .project-section-head h2 {
        font-size: clamp(1.45rem, 4.2vw, 1.9rem);
    }

    .project-single-body .project-map-canvas {
        height: 280px;
    }

    .project-single-body .project-map-card {
        border-radius: 16px;
        padding: 7px;
    }
}

@media (max-width: 768px) {

    .project-single-body .project-details-hero::before,
    .project-single-body .project-details-hero::after {
        display: none;
    }

    .project-single-body .project-hero-actions-only {
        padding: 8px;
        gap: 8px;
        border-radius: 12px;
    }

    .project-single-body .project-hero-btn {
        flex-basis: 100%;
        min-height: 46px;
        padding-inline: 12px;
        justify-content: space-between;
        font-size: 0.82rem;
    }

    .project-single-body .project-hero-btn i {
        width: 24px;
        height: 24px;
        font-size: 0.74rem;
    }

    .project-single-body .project-slider-slide img {
        height: clamp(210px, 42vh, 320px);
    }

    .project-single-body .project-layout-plan-card {
        border-radius: 14px;
    }

    .project-single-body .project-route-track.project-route-track--modern {
        padding: 12px;
        border-radius: 14px;
    }

    .project-single-body .project-route-track--modern .project-route-car-stage {
        border-radius: 12px;
        padding: 10px;
    }

    .project-single-body .project-route-stop-card {
        border-radius: 12px;
        padding: 10px;
    }

    .project-single-body .project-route-stop-name {
        font-size: 0.8rem;
    }

    .project-single-body .project-route-track {
        --route-edge-gap: 16px;
        display: block;
        min-height: clamp(500px, 86vh, 760px);
        padding: 32px 14px;
        border-radius: 14px;
        overflow: visible;
    }

    .project-single-body .project-route-track .project-route-stops-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: clamp(58px, 12.5vw, 98px);
        position: relative;
        z-index: 2;
        overflow: visible;
    }

    .project-single-body .project-route-line,
    .project-single-body .project-route-progress {
        left: 50%;
        right: auto;
        top: 20px;
        bottom: 20px;
        width: 0;
        height: auto;
        transform: translateX(-50%);
        border-radius: 999px;
    }

    .project-single-body .project-route-line {
        background: none;
        border-left: 1.5px dashed rgba(48, 57, 71, 0.56);
        box-shadow: 0 0 0 1px rgba(16, 24, 39, 0.08);
        z-index: 0;
    }

    .project-single-body .project-route-progress {
        background: none;
        border-left: 1.5px dashed rgba(167, 137, 99, 0.92);
        box-shadow: 0 0 0 1px rgba(154, 124, 86, 0.2);
        opacity: 0.94;
        z-index: 1;
    }

    .project-single-body .project-route-stop {
        position: relative;
        display: grid;
        --route-mobile-side-link: clamp(24px, 7.5vw, 52px);
        grid-template-columns: minmax(66px, 88px) minmax(0, 1fr);
        align-items: center;
        gap: 0;
        column-gap: clamp(94px, 27vw, 154px);
        min-height: 70px;
        direction: ltr;
        padding-inline: clamp(10px, 3.4vw, 20px);
        overflow: visible;
    }

    .project-single-body .project-route-stop strong {
        order: unset;
        grid-column: 1;
        justify-self: start;
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 30px;
        padding: 4px 10px;
        border-radius: 999px;
        border: 1px solid rgba(214, 223, 237, 0.52);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.07));
        backdrop-filter: blur(8px) saturate(130%);
        -webkit-backdrop-filter: blur(8px) saturate(130%);
        box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
        direction: rtl;
        text-align: right;
        white-space: nowrap;
        font-size: clamp(0.86rem, 3vw, 1.04rem);
        font-weight: 700;
        line-height: 1.08;
        color: #eef4ff;
        letter-spacing: 0.01em;
        text-shadow: none;
        overflow: visible;
    }

    .project-single-body .project-route-stop p {
        order: unset;
        grid-column: 2;
        justify-self: end;
        position: relative;
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        padding: 5px 9px;
        border-radius: 11px;
        border: 1px solid rgba(214, 223, 237, 0.42);
        background: linear-gradient(165deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06));
        backdrop-filter: blur(8px) saturate(125%);
        -webkit-backdrop-filter: blur(8px) saturate(125%);
        box-shadow: 0 8px 16px rgba(15, 23, 42, 0.09);
        width: auto;
        max-width: min(34vw, 168px);
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        direction: rtl;
        text-align: right;
        font-size: clamp(0.58rem, 1.95vw, 0.7rem) !important;
        font-weight: 500;
        color: #1d262d;
        line-height: 1.3 !important;
    }

    .project-single-body .project-route-stop strong::after,
    .project-single-body .project-route-stop p::before {
        content: '';
        position: absolute;
        top: 50%;
        width: var(--route-mobile-side-link);
        border-top: 1px solid rgba(205, 215, 232, 0.55);
        transform: translateY(-50%);
        pointer-events: none;
        z-index: 1;
    }

    .project-single-body .project-route-stop strong::after {
        left: calc(100% + 4px);
    }

    .project-single-body .project-route-stop p::before {
        right: calc(100% + 4px);
    }

    .project-single-body .project-route-dot {
        order: unset;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 18px;
        height: 18px;
        border: 3px solid #f8fafc;
        background: #0f172a;
        box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.15), 0 8px 16px rgba(17, 24, 39, 0.22);
        animation: none;
        z-index: 3;
        overflow: visible;
    }

    .project-single-body .project-route-stop.is-active .project-route-dot {
        left: 50%;
        top: 50%;
        width: 18px;
        height: 18px;
        clip-path: none;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        animation: none;
        background: #0f172a;
        border-color: #f8fafc;
        box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.15), 0 8px 16px rgba(17, 24, 39, 0.22);
    }

    .project-single-body .project-route-car {
        width: clamp(68px, 18vw, 92px);
        aspect-ratio: 696 / 1536;
        left: 50%;
        top: 50%;
        transform: translate3d(-50%, -50%, 0);
        opacity: 1;
        filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.24));
        z-index: 4;
    }

    .project-single-body .project-route-car.project-route-car--fallback {
        width: clamp(110px, 30vw, 148px);
        aspect-ratio: 2048 / 1000;
    }

    .project-single-body .project-route-car::before,
    .project-single-body .project-route-car::after,
    .project-single-body .project-route-car-smoke {
        display: none !important;
    }

    .project-single-body .project-route-car-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        animation: none !important;
        transform: none !important;
        filter: none;
    }

    .project-single-body .project-route-car.project-route-car--fallback .project-route-car-image {
        transform: rotate(90deg) !important;
    }

    .project-single-body .project-route-stop.is-active {
        transform: none;
    }

    .project-single-body .project-map-canvas {
        height: 262px;
    }

    .project-single-body .project-map-card {
        border-radius: 14px;
        padding: 6px;
    }

    .project-single-body .project-map-card::before {
        inset: 6px;
        border-radius: 11px;
    }

    .project-single-body .project-map-single-pin {
        width: 38px;
        height: 50px;
    }

    .project-single-body .project-map-single-pin i {
        font-size: 38px;
    }

    .project-single-body .project-map-canvas .leaflet-control-zoom a {
        width: 32px;
        height: 32px;
        line-height: 32px;
    }
}

.project-price-inline {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 10px;
    background: linear-gradient(120deg, rgba(29, 38, 45, 0.92), rgba(37, 49, 60, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 7px 14px rgba(17, 24, 39, 0.24);
}

.project-price-label {
    font-size: 0.66rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.2px;
}

.project-price-value {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.project-price-inline.is-on-request {
    background: linear-gradient(120deg, rgba(29, 38, 45, 0.78), rgba(29, 38, 45, 0.7));
}

.project-price-inline.is-on-request .project-price-value {
    font-size: 0.78rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.94);
}

@media (max-width: 520px) {
    .project-single-body .section-padding {
        padding-block: 48px;
    }

    .project-single-body .project-details-slider-section {
        padding-bottom: 24px;
    }

    .project-single-body .project-slider-head {
        width: calc(100% - 10px);
    }

    .project-single-body .project-slider-badge {
        right: 8px;
        bottom: 8px;
        font-size: 0.66rem;
        padding: 5px 8px;
    }

    .project-single-body .project-gallery-nav {
        width: 32px;
        height: 32px;
    }

    .project-single-body .project-gallery-prev {
        right: 8px;
    }

    .project-single-body .project-gallery-next {
        left: 8px;
    }

    .project-gallery-lightbox-close,
    .project-gallery-lightbox-nav {
        width: 38px;
        height: 38px;
    }

    .project-gallery-lightbox-caption {
        font-size: 0.74rem;
    }

    .project-single-body .project-map-canvas {
        height: 236px;
    }

    .project-single-body .project-map-single-pin {
        width: 40px;
        height: 52px;
    }

    .project-single-body .project-map-single-pin i {
        font-size: 40px;
    }

    .project-single-body .project-route-track {
        min-height: clamp(450px, 84vh, 700px);
        padding-inline: 10px;
    }

    .project-single-body .project-route-track .project-route-stops-grid {
        gap: clamp(50px, 12vw, 78px);
    }

    .project-single-body .project-route-stop {
        --route-mobile-side-link: clamp(20px, 8vw, 36px);
        grid-template-columns: minmax(58px, 74px) minmax(0, 1fr);
        column-gap: clamp(86px, 30vw, 132px);
        min-height: 64px;
        padding-inline: 7px;
    }

    .project-single-body .project-route-stop strong {
        font-size: clamp(0.8rem, 3vw, 0.96rem);
        min-height: 28px;
        padding: 4px 9px;
    }

    .project-single-body .project-route-stop p {
        font-size: clamp(0.55rem, 2.25vw, 0.64rem) !important;
        line-height: 1.28 !important;
        min-height: 28px;
        padding: 5px 7px;
        border-radius: 9px;
        max-width: min(30vw, 136px);
    }

    .project-single-body .project-route-car {
        width: clamp(60px, 17vw, 80px);
    }
}

/* --- Hero Video Mobile Fill Fix --- */
@media (max-width: 992px) {
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
    }

    .video-background {
        top: 50%;
        left: 50%;
        width: 100vw;
        height: 56.25vw;
        min-width: 177.78vh;
        min-width: 177.78svh;
        min-width: 177.78dvh;
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
        transform: translate(-50%, -50%);
        overflow: hidden;
    }

    .video-background iframe,
    .video-background video {
        width: 100%;
        height: 100%;
    }

    .video-background video {
        object-fit: cover;
    }
}

/* --- Mobile Font Lock (Requested) --- */
@media (max-width: 992px) {
    :root {
        --mobile-title-size: 18px;
        --mobile-text-size: 14px;
        --mobile-button-size: 12px;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .hero-title,
    .project-hero-title,
    .creative-title,
    .section-title h2,
    .page-header h1,
    .form-title,
    .project-section-head h2 {
        font-size: var(--mobile-title-size) !important;
        line-height: 1.4 !important;
    }

    .creative-title {
        padding-inline: 0;
    }

    body,
    p,
    li,
    label,
    input,
    textarea,
    select,
    small,
    th,
    td,
    .hero-subtitle,
    .page-header p,
    .section-title p,
    .form-label,
    .form-input,
    .form-note,
    .nav-links li a,
    .project-route-stop-name,
    .project-route-stop-time,
    .project-about-description,
    .dashboard-requests-table th,
    .dashboard-requests-table td {
        font-size: var(--mobile-text-size) !important;
        line-height: 1.7 !important;
    }

    button,
    .btn-primary,
    .btn-header-cta,
    .btn-subscribe,
    .btn-filter,
    .filter-btn,
    .project-hero-btn,
    .form-submit,
    .customer-notify-btn,
    [class^="btn-"],
    [class*=" btn-"] {
        font-size: var(--mobile-button-size) !important;
        line-height: 1.2 !important;
    }
}

/* --- Mobile Projects Filter + Header Panel Direction --- */
@media (max-width: 992px) {
    .projects-filter-container {
        justify-content: center;
        margin-bottom: 18px;
    }

    .projects-filter-pill {
        width: fit-content;
        max-width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 8px;
        border-radius: 14px;
        overflow: visible;
        background: linear-gradient(155deg, #f8fafc 0%, #eef2f7 100%);
        border: 1px solid rgba(148, 163, 184, 0.28);
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    }

    .filter-btn {
        flex: 0 0 auto;
        min-width: 82px;
        padding: 9px 14px;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.34);
        background: rgba(255, 255, 255, 0.9);
        color: #475569;
        box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
        text-align: center;
    }

    .filter-btn:hover {
        color: #1f2937;
        background: rgba(255, 255, 255, 1);
        border-color: rgba(148, 163, 184, 0.5);
    }

    .filter-btn.active {
        color: #fff;
        border-color: rgba(151, 134, 114, 0.74);
        background: linear-gradient(135deg, #978672 0%, #b39a7c 100%);
        box-shadow: 0 8px 16px rgba(90, 72, 48, 0.28);
    }

    .header-dropdown-menu {
        position: fixed;
        top: clamp(68px, 11vw, 80px);
        left: 50vw !important;
        right: auto !important;
        margin-inline: 0 !important;
        transform: translate3d(-50%, 12px, 0) scale(0.96) !important;
        transform-origin: top center !important;
        width: min(90vw, 340px);
        max-width: calc(100vw - 22px);
        padding: 10px;
        z-index: 1450;
        background: linear-gradient(165deg, rgba(14, 22, 33, 0.98), rgba(23, 34, 46, 0.96)) !important;
        border: 1px solid rgba(255, 255, 255, 0.24);
        box-shadow: 0 22px 36px rgba(4, 8, 13, 0.36);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .header-dropdown-menu.show {
        transform: translate3d(-50%, 0, 0) scale(1) !important;
    }

    .header-dropdown-menu::before {
        display: none;
    }
}

/* --- Mobile Scroll-To-Top Size --- */
@media (max-width: 992px) {
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 18px;
        left: 14px;
        border-radius: 9px !important;
    }

    .scroll-to-top i {
        font-size: 0.8rem !important;
    }

    .scroll-to-top .progress-ring {
        top: -4px;
        left: -4px;
        width: calc(100% + 8px);
        height: calc(100% + 8px);
    }
}

@media (max-width: 520px) {
    .scroll-to-top {
        width: 36px;
        height: 36px;
        bottom: 14px;
        left: 10px;
    }

    .scroll-to-top i {
        font-size: 0.74rem !important;
    }
}

/* --- Form Mobile Consistency --- */
@media (max-width: 900px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-span-2 {
        grid-column: auto;
    }

    .form-field {
        min-width: 0;
    }

    .form-card {
        border-radius: 16px;
        padding: clamp(18px, 4.6vw, 26px);
    }

    .form-control {
        padding: 11px 12px;
        min-height: 46px;
    }

    .form-card .form-input,
    .form-card .form-select,
    .newsletter-input {
        font-size: 16px !important;
    }

    .dynamic-choice-panel {
        padding: 9px 10px;
    }

    .dynamic-choice-row {
        font-size: 0.9rem;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 9px;
    }

    .newsletter-input,
    .btn-subscribe {
        width: 100%;
    }

    .btn-subscribe {
        min-height: 44px;
        justify-content: center;
        padding: 11px 16px;
    }
}

@media (max-width: 640px) {
    .form-card {
        padding: 16px;
    }

    .form-label {
        font-size: 0.86rem;
    }

    .form-control {
        padding: 10px 11px;
    }

    .form-textarea .form-input {
        min-height: 126px;
    }

    .form-submit {
        min-height: 46px;
        padding-inline: 16px;
    }

    .form-note {
        justify-content: flex-start;
        text-align: start;
    }

    .form-note--alert {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .project-route-track:not(.project-route-track--modern) {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-inline: 14px;
        padding-top: 2.9em;
        padding-bottom: 2.9em;
        min-height: clamp(320px, 72vh, 520px);
    }

    .project-route-track:not(.project-route-track--modern) .project-route-stop {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: clamp(52px, 15vw, 92px);
        min-height: 72px;
        padding-inline: 4px;
    }

    .project-route-track:not(.project-route-track--modern) .project-route-stop strong {
        width: 40px;
        height: 40px;
        min-width: 40px;
        margin: 0;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #978672;
        color: #fff;
        font-size: 0.82rem;
        font-weight: 800;
        border: 1px solid rgba(255, 255, 255, 0.58);
        box-shadow: 0 8px 16px rgba(151, 134, 114, 0.36);
        text-shadow: none;
    }

    .project-route-track:not(.project-route-track--modern) .project-route-stop.is-active strong {
        background: #8b775f;
        box-shadow: 0 10px 18px rgba(130, 107, 77, 0.42);
    }

    .project-route-track:not(.project-route-track--modern) .project-route-stop .project-route-dot {
        position: absolute;
        inset-inline-start: calc(50% - (var(--route-dot-width) * 0.5));
        inset-inline-end: auto;
        top: 50%;
        margin-top: calc(var(--route-dot-height) * -0.5);
    }

    .project-route-track:not(.project-route-track--modern) .project-route-stop p {
        display: block;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        max-width: min(58vw, 236px);
        text-align: center;
        margin: 0;
        line-height: 1.55;
        padding: 9px 10px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.48);
        background: linear-gradient(155deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.14));
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 8px 18px rgba(24, 38, 54, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.32);
    }

    .project-route-track:not(.project-route-track--modern) .project-route-car {
        width: clamp(62px, 18vw, 84px);
        filter: drop-shadow(0 12px 20px rgba(10, 16, 22, 0.28));
    }
}

@media (max-width: 768px) {
    .navbar {
        padding-inline: 1em !important;
    }
}

/* Global premium title language (new method) */
:is(
    .hero-title,
    .section-title h2,
    .about-home-content h2,
    .featured-projects-title h2,
    .filter-title h2,
    .form-title,
    .project-slider-head h2,
    .project-section-head h2,
    .project-hero-title,
    .page-header:not(.project-details-hero) h1,
    .project-meta-title,
    .dashboard-welcome-card h2,
    .after-sales-app-topbar h1
) {
    position: relative;
    display: inline-block;
    text-align: center;
    margin-inline: auto;
    padding: 0.14em 0.22em 0.5em;
    letter-spacing: 0.01em;
    line-height: 1.24;
    color: #182633;
    background-image: linear-gradient(130deg, #1a2b3c 0%, #3b5876 38%, #8f7b63 67%, #1f3042 100%);
    background-size: 240% 240%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: sanadTitleToneFlow 12s ease-in-out infinite;
    text-shadow: 0 10px 26px rgba(23, 39, 57, 0.14);
}

@keyframes sanadTitleToneFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 640px) {
    :is(
        .hero-title,
        .section-title h2,
        .about-home-content h2,
        .featured-projects-title h2,
        .filter-title h2,
        .form-title,
        .project-slider-head h2,
        .project-section-head h2,
        .project-hero-title,
        .page-header:not(.project-details-hero) h1,
        .project-meta-title,
        .dashboard-welcome-card h2,
        .after-sales-app-topbar h1
    ) {
        padding-bottom: 0.42em;
        letter-spacing: 0;
    }
}

/* Global professional heading language for major titles only */
:is(
    .hero-title,
    .section-title h2,
    .about-home-content h2,
    .featured-projects-title h2,
    .filter-title h2,
    .form-title,
    .project-slider-head h2,
    .project-section-head h2,
    .project-hero-title,
    .page-header:not(.project-details-hero) h1,
    .project-meta-title,
    .dashboard-welcome-card h2,
    .after-sales-app-topbar h1
) {
    position: relative;
    display: inline-block;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.28;
    text-wrap: balance;
    padding: 0.34em 0.66em;
    color: #978672;
    background-image: linear-gradient(135deg, #7b654d 0%, #978672 42%, #b79f82 74%, #8b745a 100%);
    background-size: 240% 240%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: sanadTitleToneFlow 14s ease-in-out infinite;
    text-shadow: 0 10px 24px rgba(151, 134, 114, 0.16);
}

:is(
    .hero-title,
    .section-title h2,
    .about-home-content h2,
    .featured-projects-title h2,
    .filter-title h2,
    .form-title,
    .project-slider-head h2,
    .project-section-head h2,
    .project-hero-title,
    .page-header:not(.project-details-hero) h1,
    .project-meta-title,
    .dashboard-welcome-card h2,
    .after-sales-app-topbar h1
)::before,
:is(
    .hero-title,
    .section-title h2,
    .about-home-content h2,
    .featured-projects-title h2,
    .filter-title h2,
    .form-title,
    .project-slider-head h2,
    .project-section-head h2,
    .project-hero-title,
    .page-header:not(.project-details-hero) h1,
    .project-meta-title,
    .dashboard-welcome-card h2,
    .after-sales-app-topbar h1
)::after {
    content: '';
    position: absolute;
    width: clamp(14px, 1.8vw, 22px);
    height: clamp(14px, 1.8vw, 22px);
    pointer-events: none;
}

:is(
    .hero-title,
    .section-title h2,
    .about-home-content h2,
    .featured-projects-title h2,
    .filter-title h2,
    .form-title,
    .project-slider-head h2,
    .project-section-head h2,
    .project-hero-title,
    .page-header:not(.project-details-hero) h1,
    .project-meta-title,
    .dashboard-welcome-card h2,
    .after-sales-app-topbar h1
)::before {
    top: 0;
    right: 0;
    border-top: 2px solid rgba(151, 134, 114, 0.9);
    border-right: 2px solid rgba(151, 134, 114, 0.9);
    border-top-right-radius: 6px;
}

:is(
    .hero-title,
    .section-title h2,
    .about-home-content h2,
    .featured-projects-title h2,
    .filter-title h2,
    .form-title,
    .project-slider-head h2,
    .project-section-head h2,
    .project-hero-title,
    .page-header:not(.project-details-hero) h1,
    .project-meta-title,
    .dashboard-welcome-card h2,
    .after-sales-app-topbar h1
)::after {
    left: 0;
    bottom: 0;
    border-bottom: 2px solid rgba(151, 134, 114, 0.9);
    border-left: 2px solid rgba(151, 134, 114, 0.9);
    border-bottom-left-radius: 6px;
}

:is(.page-header, .hero, .main-header, .after-sales-app-sidebar) :is(
    .hero-title,
    .section-title h2,
    .about-home-content h2,
    .featured-projects-title h2,
    .filter-title h2,
    .form-title,
    .project-slider-head h2,
    .project-section-head h2,
    .project-hero-title,
    .page-header:not(.project-details-hero) h1,
    .project-meta-title,
    .dashboard-welcome-card h2,
    .after-sales-app-topbar h1
) {
    color: #978672;
    background-image: linear-gradient(135deg, #d0bda2 0%, #b9a387 28%, #978672 56%, #e1d1bc 100%);
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
    animation: sanadTitleToneFlow 12s ease-in-out infinite;
}

:is(.page-header, .hero, .main-header, .after-sales-app-sidebar) :is(
    .hero-title,
    .section-title h2,
    .about-home-content h2,
    .featured-projects-title h2,
    .filter-title h2,
    .form-title,
    .project-slider-head h2,
    .project-section-head h2,
    .project-hero-title,
    .page-header:not(.project-details-hero) h1,
    .project-meta-title,
    .dashboard-welcome-card h2,
    .after-sales-app-topbar h1
)::before {
    border-top-color: rgba(225, 209, 188, 0.9);
    border-right-color: rgba(225, 209, 188, 0.9);
}

:is(.page-header, .hero, .main-header, .after-sales-app-sidebar) :is(
    .hero-title,
    .section-title h2,
    .about-home-content h2,
    .featured-projects-title h2,
    .filter-title h2,
    .form-title,
    .project-slider-head h2,
    .project-section-head h2,
    .project-hero-title,
    .page-header:not(.project-details-hero) h1,
    .project-meta-title,
    .dashboard-welcome-card h2,
    .after-sales-app-topbar h1
)::after {
    border-bottom-color: rgba(225, 209, 188, 0.9);
    border-left-color: rgba(225, 209, 188, 0.9);
}

@media (max-width: 768px) {
    :is(
        .hero-title,
        .section-title h2,
        .about-home-content h2,
        .featured-projects-title h2,
        .filter-title h2,
        .form-title,
        .project-slider-head h2,
        .project-section-head h2,
        .project-hero-title,
        .page-header:not(.project-details-hero) h1,
        .project-meta-title,
        .dashboard-welcome-card h2,
        .after-sales-app-topbar h1
    ) {
        letter-spacing: 0;
        line-height: 1.3;
        padding: 0.28em 0.5em;
    }

    :is(
        .hero-title,
        .section-title h2,
        .about-home-content h2,
        .featured-projects-title h2,
        .filter-title h2,
        .form-title,
        .project-slider-head h2,
        .project-section-head h2,
        .project-hero-title,
        .page-header:not(.project-details-hero) h1,
        .project-meta-title,
        .dashboard-welcome-card h2,
        .after-sales-app-topbar h1
    )::before,
    :is(
        .hero-title,
        .section-title h2,
        .about-home-content h2,
        .featured-projects-title h2,
        .filter-title h2,
        .form-title,
        .project-slider-head h2,
        .project-section-head h2,
        .project-hero-title,
        .page-header:not(.project-details-hero) h1,
        .project-meta-title,
        .dashboard-welcome-card h2,
        .after-sales-app-topbar h1
    )::after {
        width: 14px;
        height: 14px;
    }
}

/* Keep banner titles normal without decorative corners */
:is(.hero-title, .page-header h1, .project-hero-title) {
    color: inherit;
    background-image: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    animation: none;
    text-shadow: none;
    padding: 0;
}

:is(.hero-title, .page-header h1, .project-hero-title)::before,
:is(.hero-title, .page-header h1, .project-hero-title)::after {
    content: none;
    display: none;
}

/* Headings without decorative shapes */
:is(
    h1,
    h2,
    h3,
    h4,
    .creative-title,
    .section-title h2,
    .about-home-content h2,
    .featured-projects-title h2,
    .filter-title h2,
    .form-title,
    .project-slider-head h2,
    .project-section-head h2,
    .project-hero-title,
    .page-header:not(.project-details-hero) h1,
    .project-meta-title,
    .dashboard-welcome-card h2,
    .after-sales-app-topbar h1,
    .achievements-head .creative-title
) {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
}

:is(
    h1,
    h2,
    h3,
    h4,
    .creative-title,
    .section-title h2,
    .about-home-content h2,
    .featured-projects-title h2,
    .filter-title h2,
    .form-title,
    .project-slider-head h2,
    .project-section-head h2,
    .project-hero-title,
    .page-header:not(.project-details-hero) h1,
    .project-meta-title,
    .dashboard-welcome-card h2,
    .after-sales-app-topbar h1,
    .achievements-head .creative-title
)::before,
:is(
    h1,
    h2,
    h3,
    h4,
    .creative-title,
    .section-title h2,
    .about-home-content h2,
    .featured-projects-title h2,
    .filter-title h2,
    .form-title,
    .project-slider-head h2,
    .project-section-head h2,
    .project-hero-title,
    .page-header:not(.project-details-hero) h1,
    .project-meta-title,
    .dashboard-welcome-card h2,
    .after-sales-app-topbar h1,
    .achievements-head .creative-title
)::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
    box-shadow: none !important;
    animation: none !important;
}

/* Project details banner title must stay white */
.project-details-hero .project-hero-title {
    color: #ffffff !important;
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.34) !important;
}

@media (max-width: 768px) {
    .project-details-top-icons-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .project-top-icon-card {
        min-height: 86px;
        padding: 8px 4px;
        border-radius: 10px;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
        text-align: center;
    }

    .project-top-icon-media {
        width: 40px;
        height: 40px;
    }

    .project-top-icon-content {
        gap: 1px;
        justify-items: center;
    }

    .project-top-icon-content strong {
        font-size: 0.72rem;
        line-height: 1.25;
    }

    .project-top-icon-content small {
        font-size: 0.62rem;
        line-height: 1.25;
    }
}
