/* ==========================================================
   VERA AL AREDH – Landing Page Stylesheet
   Brand palette: #4e322c | #8f5b4f | #2e4340 | #4f6864 | #d1c7bc | #e7e2d9 | #dcd5cd
   ========================================================== */

/* ---------- Custom Fonts ---------- */
@font-face {
    font-family: 'Harir';
    src: url('../fonts/Harir_complete_OTF_Harir.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Harir';
    src: url('../fonts/Harir_complete_OTF_Harir_Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ---------- CSS Variables ---------- */
:root {
    --vera-dark: #4e322c;
    --vera-brown: #8f5b4f;
    --vera-green-dark: #2e4340;
    --vera-green: #4f6864;
    --vera-gold: #d1c7bc;
    /* warm accent on dark backgrounds */
    --vera-cream: #d1c7bc;
    --vera-light: #e7e2d9;
    --vera-muted: #9a8f88;
    --vera-taupe: #dcd5cd;
    --font-serif: 'Harir', 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Harir', 'Montserrat', sans-serif;
    --transition: 0.35s ease;
    --radius: 8px;
    --shadow: 0 4px 30px rgba(78, 50, 44, .14);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Harir', 'Montserrat', sans-serif;
    font-size: 15px;
    color: #333;
    background: #fff;
    overflow-x: hidden;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Harir', 'Cormorant Garamond', Georgia, serif;
}

img {
    max-width: 100%;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* Minimal inner padding for all sections */
.apartments-section .container,
.community-section .container,
.units-section .container,
.amenities-section .container,
.about-section .container,
.projects-section .container,
.contact-section .container {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Minimal heading gap */
.apartments-section .mb-5,
.units-section .mb-5,
.amenities-section .mb-5,
.projects-section .mb-5,
.contact-section .mb-5,
.about-section .mb-5 {
    margin-bottom: .75rem !important;
}

/* Collapse Bootstrap spacing utilities inside sections */
section .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

section .py-4 {
    padding-top: .75rem !important;
    padding-bottom: .75rem !important;
}

section .mb-4 {
    margin-bottom: .6rem !important;
}

section .mb-3 {
    margin-bottom: .4rem !important;
}

section .g-5 {
    --bs-gutter-y: 1.25rem !important;
}

/* Section headings */
.section-eyebrow {
    margin-bottom: .2rem !important;
}

.section-title {
    margin-bottom: .4rem !important;
}

.section-divider {
    margin-bottom: .75rem !important;
}

/* ---------- Section Headings ---------- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--vera-green);
}

.section-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    /* font-weight: 600; */
    color: var(--vera-dark);
    margin-bottom: .5rem;
}

.section-divider {
    width: 50px;
    height: 2px;
    background: var(--vera-green);
    margin-top: .75rem;
    margin-bottom: 1.5rem;
}

.letter-spacing {
    letter-spacing: .12em;
}

/* ---------- Buttons ---------- */
.btn-vera-primary {
    background: var(--vera-brown);
    color: #fff;
    border: 2px solid var(--vera-brown);
    border-radius: var(--radius);
    font-weight: 500;
    font-size: .85rem;
    letter-spacing: .04em;
    transition: var(--transition);
}

.btn-vera-primary:hover {
    background: var(--vera-dark);
    border-color: var(--vera-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-vera-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .7);
    border-radius: var(--radius);
    font-weight: 500;
    font-size: .85rem;
    letter-spacing: .04em;
    transition: var(--transition);
}

.btn-vera-outline:hover {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

.hero-btn {
    padding: .28rem 2rem;
    border-radius: 999px;
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.btn-vera-dark {
    background: var(--vera-dark);
    color: #fff;
    border: 2px solid var(--vera-dark);
    border-radius: var(--radius);
    font-weight: 500;
    font-size: .85rem;
    transition: var(--transition);
}

.btn-vera-dark:hover {
    background: var(--vera-brown);
    border-color: var(--vera-brown);
    color: #fff;
}

.btn-vera-outline-dark {
    background: transparent;
    color: var(--vera-dark);
    border: 2px solid var(--vera-dark);
    border-radius: var(--radius);
    font-weight: 500;
    font-size: .85rem;
    transition: var(--transition);
}

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

.btn-vera-white {
    background: #fff;
    color: var(--vera-dark);
    border: 2px solid #fff;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .9rem;
    transition: var(--transition);
}

.btn-vera-white:hover {
    background: var(--vera-gold);
    border-color: var(--vera-gold);
    color: #fff;
}

.text-vera-primary {
    color: var(--vera-brown) !important;
}

.text-vera-gold {
    color: var(--vera-cream) !important;
}

.bg-vera-dark {
    background-color: var(--vera-green-dark) !important;
}

.hero-vera-logo {
    height: 156px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: .95;
}


/* ==========================================================
   1. HERO
   ========================================================== */
.hero-section {
    min-height: 50vh;
    height: 56vh;
    overflow: hidden;
    padding: 3rem 0;
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 50vh;
        max-height: 56vh;
        padding: 2rem 0;
    }

    .hero-vera-logo {
        height: 90px;
    }
}


.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    background-color: var(--vera-green-dark);
    opacity: 0;
    transition: opacity 1.4s ease;
}

.hero-video.loaded {
    opacity: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--vera-dark);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .18);
    z-index: 1;
}

.hero-dyafa-logo {
    height: 72px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: .92;
}

.hero-eyebrow {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--vera-gold);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1.05;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: clamp(2.2rem, 9vw, 3.5rem);
        white-space: normal;
    }
}

.hero-sub {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.3;
    color: rgba(255, 255, 255, .88);
    max-width: 520px;
}

.scroll-indicator {
    opacity: .7;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    50% {
        transform: translateY(8px) translateX(-50%);
    }
}

.animate-bounce {
    animation: bounce 1.6s ease-in-out infinite;
}


/* ==========================================================
   2. COMMUNITY
   ========================================================== */
.community-section {
    background: var(--vera-light);
    border-bottom: 1px solid rgba(78, 50, 44, .12);
}

.community-label {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .2em;
    color: var(--vera-muted);
}

.community-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--vera-dark);
}

.community-sub {
    max-width: 560px;
    color: #666;
    line-height: 1.7;
}


/* ==========================================================
   3. UNITS
   ========================================================== */
.units-section {
    isolation: isolate;
}

.units-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    /* Fallback colour when image not loaded */
    background-color: var(--vera-dark);
}

.units-overlay {
    position: absolute;
    inset: 0;
    background: rgba(46, 67, 64, .82);
    z-index: 1;
}

.units-card {
    background: rgba(255, 255, 255, .96);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

.unit-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(78, 50, 44, .1);
    transition: background var(--transition);
    flex-wrap: nowrap;
}

.unit-row:hover {
    background: var(--vera-light);
}

@media (max-width: 575.98px) {
    .unit-row {
        flex-wrap: wrap;
        gap: .5rem;
        padding: .9rem 1rem;
    }

    .unit-badge {
        order: 1;
    }

    .unit-info {
        order: 2;
        flex: 1 1 calc(100% - 60px);
    }

    .unit-price {
        order: 3;
        flex: 1 1 100%;
        font-size: 1rem;
        border-top: 1px dashed rgba(78, 50, 44, .1);
        padding-top: .4rem;
        margin-top: .1rem;
    }

    .unit-row .btn {
        order: 4;
        flex: 1 1 100%;
        text-align: center;
    }
}

.unit-badge {
    background: var(--vera-brown);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: .3rem .6rem;
    border-radius: 4px;
    white-space: nowrap;
    min-width: 48px;
    text-align: center;
}

.unit-price {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--vera-green-dark);
    white-space: nowrap;
}

.unit-price small {
    font-size: .68rem;
    font-weight: 400;
    color: var(--vera-muted);
}

.unit-info {
    flex: 1;
}

.unit-info h5 {
    font-size: .95rem;
    font-weight: 600;
    margin-bottom: .15rem;
    color: var(--vera-dark);
}

.unit-meta {
    font-size: .78rem;
    color: var(--vera-muted);
}


/* ==========================================================
   4. GALLERY
   ========================================================== */
.gallery-item {
    height: 340px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    /* Elegant fallback */
    background-color: #d4c8be;
}

.gallery-item::after {
    content: attr(data-caption);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(46, 67, 64, .80));
    color: #fff;
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 2rem .75rem .75rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
}

.gallery-item:hover::after {
    opacity: 1;
}


/* ==========================================================
   5. AMENITIES
   ========================================================== */
.amenities-section {
    background: #fff;
}

.amenity-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .6rem;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
}

.amenity-chip {
    padding: .3rem 1.1rem;
    border-radius: 999px;
    border: 1.5px solid rgba(78, 50, 44, .22);
    background: var(--vera-light);
    color: var(--vera-dark);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .02em;
    cursor: default;
    transition: all var(--transition);
}

.amenity-chip:hover {
    background: var(--vera-brown);
    border-color: var(--vera-brown);
    color: #fff;
}


/* ==========================================================
   6. ABOUT / PROJECT DETAILS
   ========================================================== */
.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: .6rem;
    font-size: .9rem;
    color: rgba(255, 255, 255, .82);
    line-height: 1.6;
}

.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--vera-gold);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-box {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(209, 199, 188, .25);
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--vera-gold);
    line-height: 1;
}

.stat-label {
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
}

.badge-vera {
    display: inline-block;
    background: rgba(209, 199, 188, .12);
    border: 1px solid rgba(209, 199, 188, .35);
    color: var(--vera-cream);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .05em;
    padding: .3rem .8rem;
    border-radius: 50px;
}


/* ==========================================================
   7. PROJECTS SLIDER
   ========================================================== */
.projects-section {
    background: var(--vera-light);
}

.projects-carousel {
    box-shadow: 0 20px 60px rgba(46, 67, 64, .18);
}

.project-slide {
    height: 560px;
    background-size: cover;
    background-position: center;
    background-color: var(--vera-cream);
    position: relative;
}

.project-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(46, 67, 64, .85) 0%,
            rgba(46, 67, 64, .20) 50%,
            transparent 100%);
}

.project-caption {
    bottom: 2.5rem;
    left: 3rem;
    right: 3rem;
    text-align: left;
}

.project-slide-title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: .4rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}

.project-slide-location {
    font-size: .85rem;
    color: rgba(255, 255, 255, .82);
    letter-spacing: .06em;
    margin: 0;
}

.project-control {
    width: 52px;
    opacity: 1;
}

.project-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    font-size: 1.1rem;
    transition: background var(--transition);
}

.project-control:hover .project-arrow {
    background: var(--vera-green-dark);
    border-color: var(--vera-green-dark);
}

.carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .45);
    margin: 0 4px;
    transition: all var(--transition);
}

.carousel-indicators button.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 767.98px) {
    .project-slide {
        height: 360px;
    }

    .project-caption {
        left: 1.25rem;
        right: 1.25rem;
        bottom: 1.5rem;
    }
}


/* ==========================================================
   8. APARTMENT PHOTOS
   ========================================================== */

/* Infinite marquee gallery */
.apt-marquee-wrap {
    overflow: hidden;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.apt-marquee-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    animation: marquee-scroll 22s linear infinite;
}

.apt-marquee-track:hover {
    animation-play-state: paused;
}

.apt-marquee-item {
    flex-shrink: 0;
}

.apt-marquee-img {
    width: 380px;
    height: 300px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-color: var(--vera-cream);
    transition: transform .5s ease, box-shadow .5s ease;
    cursor: pointer;
}

.apt-marquee-img:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
}

@media (max-width: 767.98px) {
    .apt-marquee-img {
        width: 78vw;
        height: 240px;
    }

    .apt-marquee-track {
        animation-duration: 18s;
    }
}

.apt-img {
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    background-color: var(--vera-cream);
}

.apt-img:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .14);
}

.apt-img-large {
    height: 420px;
}

.apt-img-small {
    height: 195px;
}

.apt-img-medium {
    height: 260px;
}

@media (max-width: 767.98px) {
    .apt-img-large {
        height: 260px;
    }

    .apt-img-small {
        height: 160px;
    }

    .apt-img-medium {
        height: 200px;
    }
}


/* ==========================================================
   9. CONTACT / LEAD FORM
   ========================================================== */
.contact-section {
    background: var(--vera-taupe);
}

.form-control-vera {
    border: 1px solid rgba(78, 50, 44, .22);
    border-radius: var(--radius);
    padding: .75rem 1rem;
    font-size: .9rem;
    background: #fff;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control-vera:focus {
    border-color: var(--vera-brown);
    box-shadow: 0 0 0 3px rgba(143, 91, 79, .12);
    outline: none;
}

.form-label {
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--vera-dark);
    margin-bottom: .4rem;
}

.alert-vera {
    background: rgba(79, 104, 100, .08);
    border: 1px solid rgba(79, 104, 100, .25);
    color: var(--vera-green-dark);
    border-radius: 12px;
}


/* ==========================================================
   PRICING POPUP
   ========================================================== */
body.popup-open {
    overflow: hidden;
}

.pricing-popup {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
}

.pricing-popup.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.pricing-popup__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(32, 25, 23, .26), rgba(9, 8, 8, .74)),
        rgba(9, 8, 8, .74);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.pricing-popup__dialog {
    position: relative;
    width: min(100%, 860px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 38px;
    background: linear-gradient(180deg, rgba(251, 247, 241, .98), rgba(242, 236, 229, .98));
    box-shadow: 0 46px 140px rgba(0, 0, 0, .38);
    text-align: left;
    overflow: hidden;
    transform: translateY(22px) scale(.97);
    transition: transform .32s ease;
}

.pricing-popup.is-visible .pricing-popup__dialog {
    transform: translateY(0) scale(1);
}

.pricing-popup__dialog::before,
.pricing-popup__dialog::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.pricing-popup__dialog::before {
    width: 320px;
    height: 320px;
    top: -180px;
    right: -80px;
    background: radial-gradient(circle, rgba(143, 91, 79, .18), rgba(143, 91, 79, 0));
}

.pricing-popup__dialog::after {
    width: 220px;
    height: 220px;
    bottom: -130px;
    left: -70px;
    background: radial-gradient(circle, rgba(46, 67, 64, .12), rgba(46, 67, 64, 0));
}

.pricing-popup__close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    width: 42px;
    height: 42px;
    z-index: 3;
    border: 1px solid rgba(78, 50, 44, .06);
    border-radius: 50%;
    background: rgba(255, 255, 255, .68);
    color: var(--vera-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.pricing-popup__close:hover {
    background: rgba(255, 255, 255, .95);
    transform: translateY(-1px);
}

.pricing-popup__shell {
    display: grid;
    grid-template-columns: minmax(240px, 290px) minmax(0, 1fr);
    min-height: 470px;
}

.pricing-popup__aside {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.75rem;
    padding: 2.1rem 1.75rem 1.8rem;
    background: #4f6864;
    color: #fff;
}

.pricing-popup__aside::before,
.pricing-popup__aside::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.pricing-popup__aside::before {
    width: 200px;
    height: 200px;
    top: -100px;
    left: -80px;
    background: radial-gradient(circle, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0));
}

.pricing-popup__aside::after {
    width: 220px;
    height: 220px;
    bottom: -120px;
    right: -60px;
    background: radial-gradient(circle, rgba(209, 199, 188, .22), rgba(209, 199, 188, 0));
}

.pricing-popup__brand {
    z-index: 1;
    /* position: relative;
    width: 98px;
    height: 98px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 28px;
    background: rgba(255, 255, 255, .08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        0 18px 44px rgba(0, 0, 0, .16);
    display: flex;
    align-items: center;
    justify-content: center; */
}

.pricing-popup__logo {
    width: 160px;
    height: auto;
    filter: brightness(0) invert(1);
}

.pricing-popup__figure {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: .2rem;
    /* reduce from .45rem */
    margin-top: auto;
    padding: 0 18px;
    padding-bottom: 4px;
    /* tiny bottom anchor */
}

.pricing-popup__figure-label,
.pricing-popup__figure-caption {
    font-size: .76rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .74);
}

.pricing-popup__figure-caption {
    letter-spacing: .18em;
}

.pricing-popup__percent {
    font-family: var(--font-serif);
    font-size: clamp(4.6rem, 9vw, 6.4rem);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -.06em;
    color: #fff;
    text-shadow: 0 10px 24px rgba(0, 0, 0, .2);
    display: block;
    position: relative;

    margin-top: 0.15em;
    /* trim ascender gap above "21" */
    margin-bottom: -0.15em;
    /* trim descender gap below "%" */
}

.pricing-popup__main {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem 2.7rem 2.2rem;
    background:
        linear-gradient(180deg, rgba(251, 247, 241, .98), rgba(244, 237, 229, .98));
}

.pricing-popup__content {
    position: relative;
    z-index: 1;
}

.pricing-popup__eyebrow {
    margin: 0 0 .85rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: rgba(78, 50, 44, .56);
}

.pricing-popup__title {
    font-family: var(--font-serif);
    font-size: clamp(2.15rem, 4vw, 3.25rem);
    line-height: 1;
    color: var(--vera-dark);
    margin-bottom: 1.15rem;
    max-width: 470px;
    text-wrap: balance;
}

.pricing-popup__text {
    margin: 0;
    max-width: 470px;
    color: #334340;
    font-size: clamp(1.03rem, 1.5vw, 1.14rem);
    font-weight: 600;
    line-height: 1.82;
}

.pricing-popup__chips {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 1.4rem;
}

.pricing-popup__chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: .55rem 1rem;
    border: 1px solid rgba(78, 50, 44, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .6);
    color: var(--vera-dark);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .52);
}

.pricing-popup__footer {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
    margin-top: 2rem;
}

.pricing-popup__action {
    min-width: 174px;
    padding: .92rem 1.9rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 0 18px 42px rgba(143, 91, 79, .26);
}

@media (max-width: 767.98px) {
    .pricing-popup {
        padding: 1rem;
    }

    .pricing-popup__shell {
        grid-template-columns: 1fr;
    }

    .pricing-popup__dialog {
        width: min(100%, 520px);
        border-radius: 30px;
    }

    .pricing-popup__aside {
        gap: 1rem;
        padding: 1.4rem 1.25rem 1.25rem;
    }

    /* .pricing-popup__brand {
        width: 80px;
        height: 80px;
        border-radius: 20px;
    } */

    .pricing-popup__logo {
        width: 150px;
    }

    .pricing-popup__figure {
        gap: .25rem;
    }

    .pricing-popup__percent {
        font-size: 4rem;
    }

    .pricing-popup__main {
        padding: 1.55rem 1.25rem 1.3rem;
    }

    .pricing-popup__title {
        max-width: none;
        font-size: 1.95rem;
        line-height: 1.06;
    }

    .pricing-popup__text {
        max-width: none;
        font-size: 1rem;
    }

    .pricing-popup__chips {
        gap: .6rem;
        margin-top: 1.15rem;
    }

    .pricing-popup__footer {
        justify-content: stretch;
        margin-top: 1.5rem;
    }

    .pricing-popup__action {
        width: 100%;
    }
}


/* ==========================================================
   FOOTER
   ========================================================== */
.footer-section {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
}

.footer-sub {
    font-size: .8rem;
    color: rgba(255, 255, 255, .55);
}

.footer-link {
    font-size: .82rem;
    color: rgba(255, 255, 255, .8);
    transition: color var(--transition);
}

.footer-link:hover {
    color: #fff;
}

.footer-copy {
    font-size: .75rem;
    color: rgba(255, 255, 255, .45);
    margin-top: .25rem;
}


/* ==========================================================
   9. WHATSAPP FLOATING BUTTON
   ========================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 24px rgba(37, 211, 102, .4);
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 10px 32px rgba(37, 211, 102, .55);
    color: #fff;
}

@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
    }

    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse-wa 2.5s ease-out infinite;
}


/* ==========================================================
   LANGUAGE TOGGLE BUTTON
   ========================================================== */
.lang-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9998;
    background: rgba(46, 67, 64, .85);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    padding: .32rem .95rem;
    font-family: var(--font-sans);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.lang-toggle:hover {
    background: var(--vera-brown);
    border-color: var(--vera-brown);
}

/* In RTL mode, move toggle to the left so it doesn't overlap close button */
[dir="rtl"] .lang-toggle {
    right: auto;
    left: 1rem;
}


/* ==========================================================
   RTL (Arabic) OVERRIDES
   ========================================================== */

/* Flip list bullet from left to right */
[dir="rtl"] .about-list li {
    padding-left: 0;
    padding-right: 1.4rem;
}

[dir="rtl"] .about-list li::before {
    left: auto;
    right: 0;
}

/* Project caption alignment */
[dir="rtl"] .project-caption {
    text-align: right;
}

/* Popup – force LTR internally so grid/flex layout is unchanged in Arabic mode */
[dir="rtl"] .pricing-popup__dialog,
[dir="rtl"] .pricing-popup__shell,
[dir="rtl"] .pricing-popup__aside,
[dir="rtl"] .pricing-popup__main {
    direction: ltr;
}

/* Popup text right-aligned for Arabic readability */
[dir="rtl"] .pricing-popup__content,
[dir="rtl"] .pricing-popup__eyebrow,
[dir="rtl"] .pricing-popup__title,
[dir="rtl"] .pricing-popup__text,
[dir="rtl"] .pricing-popup__figure {
    text-align: right;
    direction: rtl;
}

/* Marquee gallery – always LTR so the animation works correctly in RTL */
[dir="rtl"] .apt-marquee-wrap,
[dir="rtl"] .apt-marquee-track {
    direction: ltr;
}

/* ---- Contact form ---- */

/* Inputs & textarea: text starts from right */
[dir="rtl"] .form-control-vera {
    text-align: right;
    direction: rtl;
}

/* Labels: right-aligned */
[dir="rtl"] .form-label {
    display: block;
    text-align: right;
}

/* Checkbox row: move the tick box to the right side */
[dir="rtl"] .form-check {
    padding-left: 0;
    padding-right: 1.5em;
    text-align: right;
}

[dir="rtl"] .form-check-input {
    float: right;
    margin-right: -1.5em;
    margin-left: 0;
}

/* ---- Icons inside buttons & links ---- */
/* In RTL, icon becomes the rightmost element so margin-right goes to the edge.
   Flip to margin-left so the gap sits between icon and text. */
[dir="rtl"] i.me-1 {
    margin-right: 0 !important;
    margin-left: 0.25rem !important;
}

[dir="rtl"] i.me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

/* ---- Footer ---- */
[dir="rtl"] .col-md-4.text-md-end {
    text-align: left !important;
}


/* ==========================================================
   SCROLL REVEAL
   ========================================================== */
.reveal-init {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal-init.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================
   RESPONSIVE TWEAKS
   ========================================================== */
@media (max-width: 991.98px) {
    .units-bg {
        background-attachment: scroll;
    }

    .about-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .about-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        bottom: 1.25rem;
        right: 1.25rem;
    }
}