/* =========================================================
   DARREM REAL ESTATE — CLEAN FINAL CSS
========================================================= */

:root {
    --black: #090909;
    --dark: #10100f;
    --gold: #c5a064;
    --gold-light: #d4b477;
    --cream: #f6f2ea;
    --white: #ffffff;
    --text: #24211d;
    --muted: #6c665e;
    --border: #ded6ca;
}

/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    direction: rtl;
    background: var(--cream);
    color: var(--text);
    font-family: Tahoma, Arial, "Segoe UI", sans-serif;
}

#home,
#about,
#services,
#contact {
    scroll-margin-top: 95px;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    font-family: inherit;
}

img {
    display: block;
    max-width: 100%;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 5000;

    min-height: 82px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    gap: 35px;

    padding: 8px 10%;

    background: rgba(8, 8, 8, 0.99);
    border-bottom: 1px solid rgba(197, 160, 100, 0.18);
}

.site-header .logo {
    justify-self: start;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    background: transparent;
    border: none;
}

.site-header .logo img {
    display: block;

    width: 220px;
    height: auto;
    max-height: 72px;

    object-fit: contain;
    background: transparent;
}

/* اللوقو جهة اليمين */
html[dir="rtl"] .site-header .logo {
    transform: translateX(70px);
}

.site-header nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 42px;
}

.site-header nav a {
    position: relative;

    padding: 8px 0;

    color: #e8e4dc;

    font-size: 15px;
    font-weight: 600;

    white-space: nowrap;

    transition: color 0.25s ease;
}

.site-header nav a::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: 1px;

    width: 0;
    height: 1px;

    background: var(--gold);

    transition: width 0.25s ease;
}

.site-header nav a:hover {
    color: var(--gold-light);
}

.site-header nav a:hover::after {
    width: 100%;
}

.language-btn {
    justify-self: end;

    min-width: 120px;
    height: 42px;

    padding: 0 24px;

    border: 1px solid var(--gold);
    border-radius: 24px;

    background: transparent;
    color: #e4bd70;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.language-btn:hover {
    background: var(--gold);
    color: #0b0b0b;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 440px;

    display: flex;
    align-items: center;

    padding: 55px 10%;

    overflow: hidden;

    color: #fff;
}

/* النسخة العربية */
html[dir="rtl"] .hero {
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.10) 0%,
            rgba(0, 0, 0, 0.12) 40%,
            rgba(0, 0, 0, 0.20) 72%,
            rgba(0, 0, 0, 0.28) 100%
        ),
        url("images/hero.png") center center / cover no-repeat;
}

.hero::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;
    background: transparent;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 580px;
}

/* العربي */
html[dir="rtl"] .hero-content {
    width: 520px;
    max-width: 520px;

    transform: translate(-75px, -10px);

    text-align: right;
}

html[dir="rtl"] .hero-label {
    display: none;
}

html[dir="rtl"] .hero h1 {
    display: block;

    width: fit-content;

    margin: 0;
    padding: 0;

    color: #fff;

    font-size: 40px;
    font-weight: 600;
    line-height: 1.25;

    white-space: nowrap;

    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.62);
}

html[dir="rtl"] .hero h1 strong {
    display: block;

    width: fit-content;

    margin-top: 16px;
    margin-right: 32px;

    color: #f2c66d;

    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;

    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.68);
}

/* العناصر القديمة بالهيرو ما نعرضها */
.hero-description,
.hero-buttons {
    display: none;
}


/* =========================================================
   ABOUT — من نحن
========================================================= */

.about-section {
    position: relative;

    padding: 70px 10% 55px;

    background: var(--cream);

    overflow: hidden;
}

/*
   التخطيط:
   يمين = من نحن + الوصف
   يسار = الصورة
*/

.about-inner {
    width: 100%;

    display: grid;

    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;

    column-gap: 80px;
    row-gap: 12px;

    align-items: center;
}

/* العنوان جهة اليمين */
.about-title {
    grid-column: 1;
    grid-row: 1;

    align-self: end;

    text-align: right;
}

.about-title h2 {
    color: #171511;

    font-size: clamp(38px, 3.4vw, 48px);
    font-weight: 700;
    line-height: 1.25;
}

.about-title h2::after {
    content: "";

    display: block;

    width: 52px;
    height: 2px;

    margin-top: 14px;

    background: var(--gold);
}

/* الوصف تحت من نحن مباشرة */
.about-copy {
    grid-column: 1;
    grid-row: 2;

    align-self: start;
}

.about-copy p {
    max-width: 560px;

    margin-top: 4px;

    color: #625d56;

    font-size: 15px;
    line-height: 2.1;

    text-align: right;
}

/* الصورة جهة اليسار */
.about-visual {
    position: relative;

    grid-column: 2;
    grid-row: 1 / 3;

    width: 100%;
    max-width: 510px;
    height: 310px;

    justify-self: end;

    overflow: hidden;

    background: #e8e0d4;

    box-shadow: 0 22px 55px rgba(24, 20, 15, 0.12);
}

/* نخفي الزخرفة والصورة الصغيرة القديمة */
.about-gold-shape,
.about-image-small {
    display: none;
}

.about-image-main {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
}

.about-image-main img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.about-visual:hover .about-image-main img {
    transform: scale(1.035);
}

/* خط ذهبي بسيط */
.about-visual::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: 0;

    width: 95px;
    height: 4px;

    background: var(--gold);
}


/* =========================================================
   ABOUT CARDS
========================================================= */

.about-features {
    width: min(100%, 1050px);

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 16px;

    margin: 42px auto 0;
}

.about-feature {
    position: relative;

    min-height: 88px;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 17px 18px;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.72);

    border: 1px solid #ddd5c8;

    box-shadow: 0 8px 24px rgba(31, 26, 20, 0.025);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

/* الخط الذهبي المتحرك */
.about-feature::before {
    content: "";

    position: absolute;

    right: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: width 0.4s ease;
}

.about-feature:hover {
    transform: translateY(-7px);

    background: #fff;

    border-color: rgba(197, 160, 100, 0.72);

    box-shadow: 0 18px 38px rgba(31, 26, 20, 0.09);
}

.about-feature:hover::before {
    width: 100%;
}

.feature-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border: 1px solid rgba(197, 160, 100, 0.40);

    background: rgba(197, 160, 100, 0.06);

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease;
}

.feature-icon svg {
    width: 24px;
    height: 24px;

    fill: none;
    stroke: var(--gold);

    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform 0.35s ease;
}

.about-feature:hover .feature-icon {
    transform: translateY(-2px);

    border-color: var(--gold);

    background: rgba(197, 160, 100, 0.11);
}

.about-feature:hover .feature-icon svg {
    transform: scale(1.10);
}

.feature-content {
    display: flex;
    align-items: center;
}

.feature-content strong {
    color: #29251f;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    padding: 55px 10% 62px;

    background: #f8f5ef;

    border-top: 1px solid #e5ded3;
}

.services-heading {
    max-width: 720px;

    margin-bottom: 30px;
}

.section-label {
    display: flex;
    align-items: center;

    gap: 11px;

    margin-bottom: 9px;

    color: var(--gold);

    font-size: 14px;
    font-weight: 700;
}

.section-label span {
    display: inline-block;

    width: 42px;
    height: 1px;

    background: var(--gold);
}

.services-heading h2 {
    margin-bottom: 9px;

    color: #171511;

    font-size: clamp(34px, 3.2vw, 44px);
    font-weight: 500;
    line-height: 1.3;
}

.services-heading h2 strong {
    color: var(--gold);
}

.services-heading > p:last-child {
    max-width: 610px;

    color: var(--muted);

    font-size: 14px;
    line-height: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 13px;
}

.service-card {
    min-height: 140px;

    display: flex;
    align-items: flex-start;

    gap: 15px;

    padding: 20px;

    background: #fff;

    border: 1px solid #e2dbd0;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);

    border-color: rgba(197, 160, 100, 0.8);

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.065);
}

.service-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border: 1px solid rgba(197, 160, 100, 0.35);

    background: rgba(197, 160, 100, 0.06);

    transition:
        border-color 0.3s ease,
        background 0.3s ease;
}

.service-icon svg {
    width: 27px;
    height: 27px;

    fill: none;
    stroke: var(--gold);

    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    border-color: rgba(197, 160, 100, 0.7);

    background: rgba(197, 160, 100, 0.1);
}

.service-card:hover .service-icon svg {
    transform: scale(1.08);
}

.service-content {
    min-width: 0;
}

.service-card h3 {
    margin-bottom: 6px;

    color: #26221c;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}

.service-card p {
    color: #6d675f;

    font-size: 13.5px;
    line-height: 1.9;

    text-align: right;
}


/* =========================================================
   WHY DARREM
========================================================= */

.why-section {
    min-height: 300px;

    display: grid;
    grid-template-columns: 29% 71%;

    direction: ltr;

    background: #0d0d0c;

    color: #fff;
}

.why-image {
    min-height: 300px;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.10),
            rgba(0, 0, 0, 0.30)
        ),
        url("images/hero.png") center / cover no-repeat;
}

.why-content {
    direction: rtl;

    padding: 38px 10% 36px 5%;
}

.why-heading {
    margin-bottom: 18px;
}

.why-heading h2 {
    color: #fff;

    font-size: clamp(32px, 3vw, 42px);
    font-weight: 400;
    line-height: 1.3;
}

.why-heading h2 strong {
    color: var(--gold-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.why-item {
    min-height: 88px;

    padding: 17px 20px;

    border-top: 1px solid #292824;
}

.why-item:nth-child(odd) {
    border-left: 1px solid #292824;
}

.why-item h3 {
    margin-bottom: 5px;

    color: #fff;

    font-size: 16px;
    font-weight: 700;
}

.why-item p {
    max-width: 360px;

    color: #b9b3ab;

    font-size: 13.5px;
    line-height: 1.9;

    text-align: right;
}


/* =========================================================
   CTA
========================================================= */

.cta-strip {
    min-height: 115px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 22px 10%;

    background: var(--gold);

    text-align: center;
}

.cta-text {
    width: 100%;
}

.cta-text h2 {
    margin-bottom: 4px;

    color: #14120f;

    font-size: 25px;
    font-weight: 700;

    text-align: center;
}

.cta-text p {
    color: #4c3d29;

    font-size: 15px;
    line-height: 1.9;

    text-align: center;
}

.cta-button {
    display: none;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 42px 10% 16px;

    background: #080808;

    color: #fff;
}

.footer-content {
    display: grid;

    grid-template-columns: 1fr 1.35fr 0.8fr;

    gap: 55px;

    align-items: start;

    direction: rtl;
}

/* تواصل معنا — يمين */
.contact-info {
    grid-column: 1;
    grid-row: 1;

    width: 100%;
    max-width: 300px;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 7px;

    justify-self: start;

    text-align: right;
}

.contact-info h3,
.footer-social h3 {
    margin-bottom: 8px;

    color: #fff;

    font-size: 19px;
    font-weight: 700;
}

.contact-info a,
.contact-info p {
    display: block;

    width: 100%;

    color: #aaa49b;

    font-size: 15px;
    line-height: 1.8;

    text-align: right;
}

.contact-info a {
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: var(--gold-light);
}

.contact-info .contact-ltr {
    direction: ltr;
    unicode-bidi: isolate;

    text-align: right;
}

/* دارم — الوسط */
.footer-company {
    grid-column: 2;
    grid-row: 1;

    width: 100%;
    max-width: 390px;

    justify-self: center;

    text-align: right;
}

.footer-brand {
    display: inline-flex;

    margin-bottom: 15px;
}

.footer-brand img {
    width: 190px;
    height: auto;

    object-fit: contain;

    background: transparent;
}

.footer-company > p {
    max-width: 370px;

    color: #aaa49b;

    font-size: 14px;
    line-height: 2;

    text-align: right;
}

/* تابع دارم — يسار */
.footer-social {
    grid-column: 3;
    grid-row: 1;

    width: 100%;

    justify-self: start;

    text-align: right;
}

.social-links {
    display: flex;
    justify-content: flex-start;

    gap: 10px;
}

.social-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(197, 160, 100, 0.5);
    border-radius: 50%;

    color: var(--gold-light);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.social-icon svg {
    width: 18px;
    height: 18px;

    fill: currentColor;
}

.social-icon:hover {
    transform: translateY(-3px);

    background: var(--gold);

    color: #111;
}


/* =========================================================
   FAL FOOTER
========================================================= */

.footer-license {
    margin-top: 28px;

    padding: 14px 0;

    border-top: 1px solid #25231f;
    border-bottom: 1px solid #25231f;
}

.fal-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;
}

.fal-info > span {
    color: #8f8a82;

    font-size: 13px;
}

.fal-license-line {
    color: var(--gold);

    font-size: 14px;
}

.fal-number {
    margin: 0 3px;
    padding: 0;

    background: transparent;

    color: var(--gold);

    font-size: inherit;
    font-weight: 700;

    direction: ltr;

    cursor: pointer;

    text-decoration: underline;
    text-underline-offset: 3px;
}

.fal-number:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 11px;
}

.footer-bottom p {
    color: #69645d;

    font-size: 12px;
}


/* =========================================================
   FLOATING WHATSAPP
========================================================= */

.whatsapp-float {
    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 4500;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #25d366;
    color: #fff;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.whatsapp-float svg {
    width: 27px;
    height: 27px;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.03);

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}


/* =========================================================
   FAL MODAL
========================================================= */

.fal-modal {
    position: fixed;
    inset: 0;

    z-index: 10000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;
}

.fal-modal.active {
    display: flex;
}

.fal-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.78);

    backdrop-filter: blur(5px);
}

.fal-modal-card {
    position: relative;
    z-index: 2;

    width: min(500px, 100%);
    max-height: 90vh;

    overflow-y: auto;

    padding: 30px;

    background: #f8f5ef;
    color: #24211c;

    border: 1px solid rgba(197, 160, 100, 0.75);

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

.fal-close {
    position: absolute;

    top: 12px;
    left: 14px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;

    color: #25211b;

    font-size: 28px;

    cursor: pointer;
}

.fal-close:hover {
    color: var(--gold);
}

.fal-modal-header {
    padding-bottom: 18px;

    border-bottom: 1px solid #ddd5c9;
}

.fal-modal-header > span {
    display: block;

    margin-bottom: 5px;

    color: var(--gold);

    font-size: 13px;
    font-weight: 700;
}

.fal-modal-header h2 {
    margin-bottom: 4px;

    color: #181511;

    font-size: 30px;
}

.fal-modal-header p {
    color: #777067;

    font-size: 13px;
}

.fal-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 10px;

    padding: 19px 0;
}

.fal-detail {
    min-height: 80px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 5px;

    padding: 13px;

    background: #fff;

    border: 1px solid #e2dbd0;
}

.fal-detail span {
    color: #8b8378;

    font-size: 12px;
}

.fal-detail strong {
    color: #28231d;

    font-size: 14px;
    line-height: 1.6;
}

.fal-verification {
    display: flex;
    align-items: center;

    gap: 15px;

    padding-top: 18px;

    border-top: 1px solid #ddd5c9;
}

.fal-qr-link {
    flex: 0 0 auto;

    display: block;

    padding: 5px;

    background: #fff;

    border: 1px solid #ddd4c7;
}

.fal-qr-link img {
    width: 88px;
    height: 88px;

    object-fit: contain;
}

.fal-verification > div {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.fal-verification strong {
    color: #26221c;

    font-size: 15px;
}

.fal-verification span {
    color: #756f66;

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   ENGLISH / LTR
========================================================= */

html[dir="ltr"] body {
    direction: ltr;
}

html[dir="ltr"] p,
html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3 {
    text-align: left;
}

html[dir="ltr"] .site-header .logo {
    justify-self: end;
    transform: none;
}

html[dir="ltr"] .language-btn {
    justify-self: start;
}

html[dir="ltr"] .site-header nav a::after {
    right: auto;
    left: 0;
}

html[dir="ltr"] .hero {
    background:
        linear-gradient(
            270deg,
            rgba(7, 7, 7, 0.88) 0%,
            rgba(7, 7, 7, 0.70) 30%,
            rgba(7, 7, 7, 0.34) 65%,
            rgba(7, 7, 7, 0.15) 100%
        ),
        url("images/hero.png") center / cover no-repeat;
}

html[dir="ltr"] .hero-content {
    margin-left: auto;

    text-align: left;
}

html[dir="ltr"] .hero-label {
    display: flex;

    margin-bottom: 10px;

    color: var(--gold-light);

    font-size: 15px;
    font-weight: 700;
}

html[dir="ltr"] .hero h1 {
    color: #fff;

    font-size: 42px;
    line-height: 1.25;

    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.62);
}

html[dir="ltr"] .hero h1 strong {
    display: block;

    margin-top: 10px;

    color: #f2c66d;
}

/* About English */
html[dir="ltr"] .about-title {
    grid-column: 1;
    text-align: left;
}

html[dir="ltr"] .about-copy {
    grid-column: 1;
}

html[dir="ltr"] .about-visual {
    grid-column: 2;
}

html[dir="ltr"] .about-title h2::after {
    margin-left: 0;
    margin-right: auto;
}

html[dir="ltr"] .about-copy p,
html[dir="ltr"] .service-card p,
html[dir="ltr"] .why-item p {
    text-align: left;
}

html[dir="ltr"] .about-feature,
html[dir="ltr"] .service-card {
    text-align: left;
}

html[dir="ltr"] .why-section {
    direction: rtl;
}

html[dir="ltr"] .why-content {
    direction: ltr;
}

html[dir="ltr"] footer,
html[dir="ltr"] .footer-content {
    direction: ltr;
}

html[dir="ltr"] .footer-company,
html[dir="ltr"] .contact-info,
html[dir="ltr"] .footer-social {
    text-align: left;
}

html[dir="ltr"] .contact-info {
    align-items: stretch;
}

html[dir="ltr"] .contact-info h3,
html[dir="ltr"] .contact-info a,
html[dir="ltr"] .contact-info p,
html[dir="ltr"] .footer-company > p,
html[dir="ltr"] .footer-social h3 {
    text-align: left;
}

html[dir="ltr"] .social-links {
    justify-content: flex-start;
}

html[dir="ltr"] .fal-info {
    direction: ltr;
}

html[dir="ltr"] .fal-modal-card {
    direction: ltr;

    text-align: left;
}

html[dir="ltr"] .fal-close {
    left: auto;
    right: 14px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .site-header {
        padding-right: 6%;
        padding-left: 6%;
    }

    html[dir="rtl"] .site-header .logo {
        transform: none;
    }

    .site-header nav {
        gap: 22px;
    }

    .site-header nav a {
        font-size: 14px;
    }

    .hero,
    .about-section,
    .services-section,
    .cta-strip,
    footer {
        padding-right: 6%;
        padding-left: 6%;
    }

    html[dir="rtl"] .hero-content {
        transform: translate(-20px, -10px);
    }

    .about-inner {
        column-gap: 45px;
    }

    .about-visual {
        height: 280px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-section {
        grid-template-columns: 32% 68%;
    }

    .why-content {
        padding-right: 7%;
        padding-left: 5%;
    }

    .footer-content {
        gap: 35px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    html {
        scroll-padding-top: 120px;
    }

    /* HEADER */

    .site-header {
        min-height: auto;

        grid-template-columns: 1fr auto;

        gap: 10px 15px;

        padding: 9px 5%;
    }

    .site-header .logo img {
        width: 155px;
        max-height: 55px;
    }

    .language-btn {
        min-width: 88px;
        height: 37px;

        padding: 0 15px;

        font-size: 12px;
    }

    .site-header nav {
        grid-column: 1 / -1;

        width: 100%;

        justify-content: space-between;

        gap: 8px;

        padding-top: 5px;

        border-top: 1px solid #25231f;
    }

    .site-header nav a {
        font-size: 11.5px;
    }


    /* HERO */

    .hero {
        min-height: 430px;

        align-items: flex-end;

        padding: 55px 6% 55px;
    }

    html[dir="rtl"] .hero {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.08) 0%,
                rgba(0, 0, 0, 0.22) 48%,
                rgba(0, 0, 0, 0.62) 100%
            ),
            url("images/hero.png") center / cover no-repeat;
    }

    html[dir="rtl"] .hero-content {
        width: 100%;
        max-width: 100%;

        transform: none;
    }

    html[dir="rtl"] .hero h1 {
        font-size: 34px;

        white-space: normal;
    }

    html[dir="rtl"] .hero h1 strong {
        margin-top: 10px;
        margin-right: 20px;

        font-size: 32px;
    }


    /* ABOUT */

    .about-section {
        padding: 48px 6% 42px;
    }

    .about-inner {
        display: flex;
        flex-direction: column;

        gap: 20px;
    }

    .about-title {
        width: 100%;

        order: 1;
    }

    .about-copy {
        width: 100%;

        order: 2;
    }

    .about-visual {
        width: 100%;
        max-width: 100%;
        height: 245px;

        order: 3;

        margin-top: 5px;
    }

    .about-title h2 {
        font-size: 36px;
    }

    .about-copy p {
        max-width: 100%;

        font-size: 14px;
    }

    .about-features {
        grid-template-columns: 1fr;

        gap: 11px;

        margin-top: 28px;
    }

    .about-feature {
        min-height: 78px;
    }

    /* بالجوال نخلي الحركة أخف */
    .about-feature:hover {
        transform: translateY(-3px);
    }


    /* SERVICES */

    .services-section {
        padding: 45px 6%;
    }

    .services-heading h2 {
        font-size: 34px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }


    /* WHY */

    .why-section {
        grid-template-columns: 1fr;
    }

    .why-image {
        min-height: 210px;
    }

    .why-content {
        padding: 35px 6%;
    }

    .why-heading h2 {
        font-size: 34px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-item,
    .why-item:nth-child(odd) {
        border-left: 0;
    }


    /* CTA */

    .cta-strip {
        min-height: 120px;

        padding: 25px 6%;
    }

    .cta-text h2 {
        font-size: 22px;
    }

    .cta-text p {
        font-size: 14px;
    }


    /* FOOTER */

    footer {
        padding: 35px 6% 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .contact-info,
    .footer-company,
    .footer-social {
        grid-column: 1;

        width: 100%;
        max-width: 100%;

        justify-self: stretch;
    }

    .contact-info {
        grid-row: 1;
    }

    .footer-company {
        grid-row: 2;
    }

    .footer-social {
        grid-row: 3;
    }

    .fal-info {
        flex-direction: column;
        align-items: flex-start;
    }


    /* MODAL */

    .fal-modal-card {
        padding: 25px 18px 20px;
    }

    .fal-details {
        grid-template-columns: 1fr;
    }

    .fal-verification {
        align-items: flex-start;
    }


    /* ENGLISH MOBILE */

    html[dir="ltr"] .hero {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.08) 0%,
                rgba(0, 0, 0, 0.22) 48%,
                rgba(0, 0, 0, 0.62) 100%
            ),
            url("images/hero.png") center / cover no-repeat;
    }

    html[dir="ltr"] .hero-content {
        margin: 0;
    }

    html[dir="ltr"] .hero h1 {
        font-size: 34px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .site-header .logo img {
        width: 140px;
    }

    .site-header nav a {
        font-size: 10.5px;
    }

    .about-visual {
        height: 220px;
    }

    .services-heading h2,
    .why-heading h2 {
        font-size: 31px;
    }

    .fal-verification {
        flex-direction: column;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;

        width: 49px;
        height: 49px;
    }
}

/* =========================================
   OWNERS ASSOCIATION - ABOUT
========================================= */

.owners-association {
    max-width: 1180px;
    margin: 38px auto 28px;
    padding: 26px 30px;

    display: flex;
    align-items: center;
    gap: 22px;

    background: #fff;
    border: 1px solid rgba(197, 160, 100, 0.28);
    border-right: 4px solid #c5a064;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.owners-association:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    border-color: rgba(197, 160, 100, 0.55);
}


/* الأيقونة */

.owners-association-icon {
    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(197, 160, 100, 0.10);
    border: 1px solid rgba(197, 160, 100, 0.25);
}

.owners-association-icon svg {
    width: 28px;
    height: 28px;

    fill: none;
    stroke: #c5a064;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform 0.3s ease;
}

.owners-association:hover .owners-association-icon svg {
    transform: scale(1.08);
}


/* النص */

.owners-association-content {
    flex: 1;
}

.owners-association-content h3 {
    margin: 0 0 8px;

    color: #171717;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.owners-association-content p {
    max-width: 850px;
    margin: 0;

    color: #686868;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
}


/* English */

html[dir="ltr"] .owners-association {
    border-right: 1px solid rgba(197, 160, 100, 0.28);
    border-left: 4px solid #c5a064;
}


/* الجوال */

@media (max-width: 700px) {

    .owners-association {
        margin: 28px 20px 22px;
        padding: 22px 20px;

        align-items: flex-start;
        gap: 16px;
    }

    .owners-association-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .owners-association-icon svg {
        width: 24px;
        height: 24px;
    }

    .owners-association-content h3 {
        font-size: 18px;
    }

    .owners-association-content p {
        font-size: 14px;
        line-height: 1.8;
    }
}
/* =========================================
   ABOUT FEATURES - DARK LUXURY STYLE
========================================= */

.about-feature {
    background: #625a50;
    border: 1px solid rgba(197, 160, 100, 0.30);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-7px);
    border-color: #c5a064;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.about-feature .feature-icon {
    background: rgba(197, 160, 100, 0.10);
    border-color: rgba(197, 160, 100, 0.35);
}

.about-feature .feature-icon svg {
    stroke: #d4b477;
}

.about-feature .feature-content strong {
    color: #ffffff;
}

/* تثبيت ألوان بطاقات من نحن */
.about-feature,
.about-feature:hover,
.about-feature:active,
.about-feature:focus,
.about-feature:focus-within {
    background: #625a50;
    border-color: rgba(197, 160, 100, 0.55);
}

.about-feature .feature-content strong,
.about-feature:hover .feature-content strong,
.about-feature:active .feature-content strong,
.about-feature:focus .feature-content strong,
.about-feature:focus-within .feature-content strong {
    color: #ffffff;
}

.about-feature .feature-icon svg,
.about-feature:hover .feature-icon svg,
.about-feature:active .feature-icon svg {
    stroke: #d4b477;
}

/* توحيد الشريط العلوي والفوتر مع لون البطاقات */
.site-header {
    background: #625a50;
}

footer {
    background: #625a50;
}
/* =========================================
   FOOTER - FINAL COLOR & SOCIAL FIX
========================================= */

/* جميع النصوص الثانوية في الفوتر */
footer p,
footer a,
.footer-company p,
.contact-info p,
.contact-info a,
.footer-license,
.footer-license span {
    color: rgba(255, 255, 255, 0.88);
}

/* العناوين */
footer h3 {
    color: #ffffff;
}

/* رقم رخصة فال يبقى ذهبي */
footer .fal-number {
    color: #d4b477;
}

/* تابع دارم - نعطي مسافة تحت العنوان */
.footer-social h3 {
    margin-bottom: 22px;
}

/* مسافة بين دوائر السوشيال */
.social-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* تكبير الدوائر */
.social-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(212, 180, 119, 0.65);
    border-radius: 50%;

    color: #d4b477;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

/* تكبير الأيقونة نفسها */
.social-icon svg {
    width: 23px;
    height: 23px;
}

/* حركة بسيطة */
.social-icon:hover {
    transform: translateY(-4px);
    background: #d4b477;
    color: #625a50;
}

/* أسفل الفوتر */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    margin-top: 22px;
    padding-top: 18px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
}

.footer-license {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

/* ===== إصلاح عنوان الهيرو ===== */

html[dir="rtl"] .hero h1 {
    line-height: 1.25;
}

html[dir="rtl"] .hero h1 strong {
    display: block;
    margin-top: 6px;
    margin-right: 0;
    line-height: 1.25;
}


/* ===== زر English أغمق ===== */

.language-btn {
    background: rgba(35, 31, 27, 0.32);
    border: 1px solid #d4b477;
    color: #f2c66d;
}

.language-btn:hover {
    background: #403a33;
    border-color: #f2c66d;
    color: #ffffff;
}

html[dir="rtl"] .hero-content {
    transform: translate(-75px, -85px);
}

/* =========================================
   FOOTER DETAILS - FINAL
========================================= */

/* دوائر السوشيال */
.social-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(45, 40, 35, 0.28);
    border: 1.5px solid #d4b477;
    border-radius: 50%;

    color: #f2c66d;

    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.10);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

/* حجم الأيقونات */
.social-icon svg {
    width: 24px;
    height: 24px;
}

/* عند تمرير الماوس */
.social-icon:hover {
    transform: translateY(-4px);
    background: #403a33;
    border-color: #f2c66d;
    color: #f2c66d;
}


/* مسافة بين عنوان تابع دارم والدوائر */
.footer-social h3 {
    margin-bottom: 24px;
}

/* مسافة بين الدوائر */
.social-links {
    display: flex;
    align-items: center;
    gap: 16px;
}


/* خط الفصل عند رخصة فال */
.footer-license {
    border-top: 1px solid rgba(45, 40, 35, 0.45);
    border-bottom: 1px solid rgba(45, 40, 35, 0.45);
}


/* النصوص داخل الفوتر */
.footer-company p,
.contact-info p,
.contact-info a,
.footer-license span {
    color: #ffffff;
    opacity: 0.92;
}


/* حقوق النشر */
.footer-bottom {
    border-top: none;
    margin-top: 0;
    padding-top: 18px;
}

.footer-bottom p {
    margin: 0;
    color: #ffffff !important;
    opacity: 0.92;
}

/* =========================================
   FAL LICENSE - CLEAR STYLE
========================================= */

.footer-license {
    border-top: 1px solid rgba(45, 40, 35, 0.45);
    border-bottom: 1px solid rgba(45, 40, 35, 0.45);
}

/* مرخصون من الهيئة العامة للعقار */
.footer-license .fal-info > span {
    color: #ffffff !important;
    opacity: 1;
}

/* سطر رخصة فال */
.fal-license-line {
    color: #d4b477 !important;
    opacity: 1;
}

/* رقم الرخصة */
.fal-number {
    color: #f2c66d !important;
    font-weight: 700;
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* عند المرور على الرقم */
.fal-number:hover {
    color: #ffffff !important;
}

/* تكبير سطر رخصة فال كامل */
.footer-license .fal-info {
    font-size: 17px;
}

.footer-license .fal-info > span {
    font-size: 17px;
    font-weight: 500;
}

.fal-license-line {
    font-size: 17px;
    font-weight: 500;
}

.fal-number {
    font-size: 18px;
    font-weight: 700;
}

/* تكبير وصف دارم في الفوتر */
.footer-company p {
    font-size: 17px;
    line-height: 2;
    color: #ffffff;
    opacity: 0.92;
}

/* =========================================
   FAL MODAL - CLEAN FINAL
========================================= */

.fal-modal-card {
    color: #3f3933;
}

/* رأس النافذة */
.fal-modal-header > span,
.fal-modal-header h2,
.fal-modal-header p {
    color: #3f3933;
}

.fal-modal-header > span {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.fal-modal-header h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 4px;
}

.fal-modal-header p {
    font-size: 16px;
    font-weight: 400;
}

/* البطاقات الأربع */
.fal-detail {
    min-height: 100px;
    padding: 16px 18px;
}

/* اسم الحقل */
.fal-detail span {
    color: #625a50;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 7px;
}

/* قيمة الحقل */
.fal-detail strong,
.fal-detail strong[dir="ltr"] {
    color: #3f3933;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6;
}

/* منطقة التحقق */
.fal-verification {
    display: flex;
    align-items: center;
    gap: 20px;

    padding: 20px;
    margin-top: 2px;

    background: #ffffff;
    border: 1px solid #ddd4c7;
}

/* رابط الباركود */
.fal-qr-link {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 112px;
    height: 112px;
    padding: 8px;

    background: #ffffff;
    border: 1px solid #cfc5b7;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.fal-qr-link:hover {
    transform: translateY(-3px);
    border-color: #625a50;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.fal-qr-link img {
    width: 94px;
    height: 94px;
    object-fit: contain;
}

/* كلام التحقق */
.fal-verification > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fal-verification strong {
    color: #3f3933;
    font-size: 17px;
    font-weight: 600;
}

.fal-verification span {
    color: #625a50;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
}

/* زر الإغلاق */
.fal-close {
    color: #3f3933;
}

/* الجوال */
@media (max-width: 600px) {

    .fal-modal-header h2 {
        font-size: 27px;
    }

    .fal-detail span {
        font-size: 14px;
    }

    .fal-detail strong,
    .fal-detail strong[dir="ltr"] {
        font-size: 16px;
    }

    .fal-verification {
        align-items: center;
        gap: 14px;
        padding: 15px;
    }

    .fal-qr-link {
        width: 90px;
        height: 90px;
    }

    .fal-qr-link img {
        width: 74px;
        height: 74px;
    }

    .fal-verification strong {
        font-size: 16px;
    }

    .fal-verification span {
        font-size: 14px;
    }
}

/* =========================================
   FAL MODAL - CLEAN FINAL
========================================= */

/* الكود السابق موجود هنا */


/* تصغير أحجام نافذة فال */
.fal-detail {
    min-height: 80px;
    padding: 13px;
}

.fal-detail span {
    font-size: 14px;
}

.fal-detail strong,
.fal-detail strong[dir="ltr"] {
    font-size: 16px;
}

.fal-verification {
    padding: 18px 0 0;
    background: transparent;
    border: 0;
    border-top: 1px solid #ddd5c9;
}

.fal-qr-link {
    width: auto;
    height: auto;
    padding: 5px;
}

.fal-qr-link img {
    width: 88px;
    height: 88px;
}

/* تصغير نافذة رخصة فال */
.fal-modal-card {
    width: min(430px, 92vw);
    padding: 24px;
}

.fal-modal-header h2 {
    font-size: 26px;
}

.fal-modal-header > span,
.fal-modal-header p {
    font-size: 14px;
}

.fal-detail {
    min-height: 72px;
    padding: 11px 13px;
}

.fal-detail span {
    font-size: 13px;
}

.fal-detail strong,
.fal-detail strong[dir="ltr"] {
    font-size: 15px;
}

.fal-verification strong {
    font-size: 15px;
}

.fal-verification span {
    font-size: 13px;
}

.fal-qr-link img {
    width: 75px;
    height: 75px;
}

/* =========================================
   SERVICES - REFINED LAYOUT
========================================= */

.services-section {
    padding-top: 48px;
    padding-bottom: 58px;
}

.services-heading {
    margin-bottom: 24px;
}

.services-grid {
    gap: 14px;
}

.service-card {
    min-height: 125px;
    padding: 18px 20px;
    gap: 17px;

    align-items: flex-start;

    background: #ffffff;
    border: 1px solid #ded6ca;

    box-shadow: 0 5px 18px rgba(40, 34, 28, 0.025);
}

.service-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
}

.service-icon svg {
    width: 25px;
    height: 25px;
}

.service-card h3 {
    margin-bottom: 7px;

    color: #29251f;

    font-size: 16px;
    font-weight: 700;
}

.service-card p {
    color: #625d56;

    font-size: 13.5px;
    line-height: 1.85;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: #c5a064;

    box-shadow: 0 12px 28px rgba(40, 34, 28, 0.07);
}

/* تحسين عنوان قسم الخدمات */
.services-heading h2 {
    font-size: 38px;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 10px;
}

.services-heading h2 strong {
    color: #c5a064;
    font-size: inherit;
    font-weight: 700;
}

.services-heading > p:last-child {
    font-size: 14px;
    line-height: 1.9;
    color: #625d56;
}

/* =========================================
   SERVICES - OPEN LUXURY STYLE
========================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 32px;
}

/* نشيل شكل الكروت */
.service-card {
    position: relative;

    min-height: 175px;
    padding: 30px 34px;

    display: flex;
    align-items: flex-start;
    gap: 18px;

    background: transparent;
    border: 0;
    box-shadow: none;

    transition: background 0.3s ease;
}

/* خطوط بين الأعمدة */
.service-card:not(:nth-child(3n)) {
    border-left: 1px solid rgba(98, 90, 80, 0.18);
}

/* خطوط بين الصفوف */
.service-card:nth-child(-n + 6) {
    border-bottom: 1px solid rgba(98, 90, 80, 0.18);
}

/* الأيقونة بدون مربع */
.service-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: 0;
}

.service-icon svg {
    width: 30px;
    height: 30px;

    stroke: #c5a064;
    stroke-width: 1.5;
}

/* النص */
.service-content {
    flex: 1;
}

.service-card h3 {
    margin: 0 0 9px;

    color: #29251f;

    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
}

.service-card p {
    margin: 0;

    color: #625d56;

    font-size: 14px;
    line-height: 1.9;
}

/* حركة هادئة */
.service-card:hover {
    transform: none;
    background: rgba(197, 160, 100, 0.055);
    box-shadow: none;
    border-color: rgba(98, 90, 80, 0.18);
}

.service-card:hover .service-icon {
    background: transparent;
    border: 0;
}

.service-card:hover .service-icon svg {
    transform: translateY(-2px) scale(1.08);
}

/* الجوال */
@media (max-width: 760px) {

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
        padding: 24px 10px;
        border-left: 0 !important;
        border-bottom: 1px solid rgba(98, 90, 80, 0.18);
    }

    .service-card:last-child {
        border-bottom: 0;
    }
}

/* =========================================
   SERVICES HEADING - SIZE CONTROL
========================================= */

/* العنوان */
.services-heading h2 {
    font-size: 36px;
    line-height: 1.3;
    font-weight: 500;
    margin-bottom: 12px;
}

/* كلمة متكاملة */
.services-heading h2 strong {
    font-size: inherit;
    font-weight: 700;
}

/* الوصف */
.services-heading > p:last-child {
    max-width: 680px;

    font-size: 15px;
    line-height: 1.9;
    font-weight: 400;

    color: #625d56;
}

/* الجوال */
@media (max-width: 760px) {
    .services-heading h2 {
        font-size: 30px;
    }

    .services-heading > p:last-child {
        font-size: 14px;
        line-height: 1.8;
    }
}

/* ===== التحكم النهائي بأحجام عنوان الخدمات ===== */

.services-section .services-heading h2 {
    font-size: 32px !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
}

.services-section .services-heading h2 strong {
    font-size: 32px !important;
    font-weight: 700 !important;
}

.services-section .services-heading > p:last-child {
    max-width: 750px !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
}

/* ===== تكبير النصوص التعريفية في الخدمات فقط ===== */

/* التعريف تحت عنوان خدمات عقارية متكاملة */
.services-section .services-heading > p:last-child {
    font-size: 16px !important;
    line-height: 2 !important;
    max-width: 900px !important;
}

/* التعريف تحت كل خدمة */
.services-section .service-card p {
    font-size: 16px !important;
    line-height: 2 !important;
    font-weight: 400 !important;
}

/* أسماء الخدمات */
.services-section .service-card h3 {
    font-size: 18px !important;
}

/* =========================================
   TEXT READABILITY - FINAL
========================================= */

/* وصف قسم الخدمات الرئيسي */
.services-section .services-heading > p:last-child {
    color: #403a33 !important;
    font-size: 16px !important;
    line-height: 2 !important;
}

/* وصف كل خدمة */
.services-section .service-card p {
    color: #403a33 !important;
    font-size: 16px !important;
    line-height: 2 !important;
}

/* وصف إدارة جمعيات الملاك */
.owners-association-content p {
    color: #403a33 !important;
    font-size: 16px !important;
    line-height: 2 !important;
}

/* وصف من نحن */
.about-copy p {
    color: #403a33 !important;
    font-size: 16px !important;
    line-height: 2 !important;
}

/* ===== ضبط أحجام عناوين الأقسام ===== */

/* كلمة خدماتنا الصغيرة فوق العنوان */
.services-section .section-label {
    font-size: 23px !important;
    font-weight: 700 !important;
}

/* الخط الذهبي جنب خدماتنا */
.services-section .section-label span {
    width: 48px !important;
}

/* تصغير عنوان من نحن شوي */
.about-title h2 {
    font-size: 40px !important;
}

/* الوصف الرئيسي تحت حلول عقارية متكاملة */
.services-section .services-heading > p:last-child {
    font-size: 18px !important;
    line-height: 2 !important;
    color: #403a33 !important;
}

/* وصف الخدمات */
.services-section .service-card p {
    font-size: 16px !important;
    line-height: 2 !important;
    color: #403a33 !important;
}

/* =========================================
   WHY DARREM - PREMIUM VERSION
========================================= */

.why-section {
    position: relative;
    display: block !important;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(197, 160, 100, 0.11),
            transparent 32%
        ),
        #0c0c0b !important;

    padding: 78px 10% 82px !important;
}

/* لمسة ذهبية أعلى القسم */
.why-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 10%;
    width: 110px;
    height: 3px;
    background: #c5a064;
}

/* إخفاء الصورة */
.why-image {
    display: none !important;
}

.why-content {
    width: 100% !important;
    max-width: 1250px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* لماذا دارم؟ */
.why-content .section-label {
    margin-bottom: 18px !important;
    color: #d4b477 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* العنوان */
.why-content h2 {
    max-width: 850px;
    margin: 0 0 48px !important;

    color: #ffffff !important;
    font-size: 43px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

.why-content h2 strong {
    color: #d4b477 !important;
}

/* الأربع ميزات */
.why-grid {
    counter-reset: why-counter;

    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0 !important;

    border-top: 1px solid rgba(212, 180, 119, 0.28);
}

/* كل ميزة */
.why-item {
    counter-increment: why-counter;
    position: relative;

    min-height: 190px;
    padding: 38px 30px 24px !important;

    border: 0 !important;
    background: transparent !important;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

/* الفواصل */
.why-item:not(:last-child) {
    border-left: 1px solid rgba(255, 255, 255, 0.10) !important;
}

/* 01 / 02 / 03 / 04 */
.why-item::before {
    content: "0" counter(why-counter);

    display: block;
    margin-bottom: 24px;

    color: #c5a064;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* الخط الذهبي الصغير */
.why-item::after {
    content: "";
    position: absolute;

    top: 67px;
    right: 30px;

    width: 32px;
    height: 1px;

    background: rgba(197, 160, 100, 0.75);
}

/* عنوان الميزة */
.why-item h3 {
    margin: 0 0 12px !important;

    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

/* الوصف */
.why-item p {
    margin: 0 !important;

    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 15px !important;
    line-height: 2 !important;
}

/* حركة بسيطة وفخمة */
.why-item:hover {
    transform: translateY(-5px);
    background: rgba(197, 160, 100, 0.055) !important;
}

/* الجوال */
@media (max-width: 760px) {

    .why-section {
        padding: 58px 7% !important;
    }

    .why-content h2 {
        font-size: 31px !important;
        margin-bottom: 32px !important;
    }

    .why-grid {
        grid-template-columns: 1fr !important;
    }

    .why-item {
        min-height: auto;
        padding: 28px 5px !important;
        border-left: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.10) !important;
    }

    .why-item:last-child {
        border-bottom: 0 !important;
    }

    .why-item::after {
        right: 5px;
    }
}

/* =========================================
   WHY DARREM - COLOR & SIZE TUNING
========================================= */

/* لون القسم: بني فحمي دافئ */
.why-section {
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(212, 180, 119, 0.12),
            transparent 34%
        ),
        #292621 !important;
}

/* تكبير "لماذا دارم؟" */
.why-content .section-label {
    font-size: 23px !important;
    font-weight: 700 !important;
    color: #d4b477 !important;
    margin-bottom: 16px !important;
}

/* تصغير "قيمة عقارية تبدأ من التفاصيل" */
.why-content h2 {
    font-size: 34px !important;
    line-height: 1.4 !important;
    margin-bottom: 42px !important;
}

/* الكلمة الذهبية داخل العنوان */
.why-content h2 strong {
    color: #d4b477 !important;
}

/* الأرقام */
.why-item::before {
    color: #d4b477 !important;
}

/* الفواصل */
.why-grid {
    border-top-color: rgba(212, 180, 119, 0.30) !important;
}

.why-item:not(:last-child) {
    border-left-color: rgba(212, 180, 119, 0.16) !important;
}

/* تأثير المرور */
.why-item:hover {
    background: rgba(212, 180, 119, 0.07) !important;
}

/* ===== لماذا دارم - التعديل النهائي ===== */

/* فتح اللون + تصغير ارتفاع القسم */
.why-section {
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(212, 180, 119, 0.13),
            transparent 34%
        ),
        #35312b !important;

    padding-top: 55px !important;
    padding-bottom: 48px !important;
}

/* تصغير العنوان تحت "لماذا دارم؟" */
.why-content h2 {
    font-size: 29px !important;
    line-height: 1.35 !important;
    margin-bottom: 30px !important;
}

/* تقليل ارتفاع الأربع نقاط */
.why-item {
    min-height: 150px !important;
    padding-top: 27px !important;
    padding-bottom: 15px !important;
}

/* تقليل المسافة بين الرقم والعنوان */
.why-item::before {
    margin-bottom: 17px !important;
}

/* ===== ضبط قسم لماذا دارم ===== */

.why-section {
    padding-top: 38px !important;
    padding-bottom: 42px !important;
}

/* الأرقام */
.why-item::before {
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 13px !important;
    color: #d4b477 !important;
}

.why-section {
    padding-top: 38px !important;
    padding-bottom: 42px !important;
}
/* إزالة الخط الذهبي الصغير تحت الأرقام */
.why-item::after {
    display: none !important;
}

/* تقريب العنوان من الرقم */
.why-item h3 {
    margin-top: 0 !important;
    margin-bottom: 9px !important;
}

/* =========================================
   GOLD STRIP - CONNECTED WITH FOOTER
========================================= */

.cta-section {
    position: relative;
    background: #caa563 !important;

    padding: 28px 10% 30px !important;
    text-align: center;

    /* بدون فواصل عشان يرتبط بالجزء اللي تحته */
    border: 0 !important;
    box-shadow: none !important;
}

/* إلغاء أي زخرفة سابقة */
.cta-section::before,
.cta-section::after,
.cta-content::before,
.cta-content::after {
    display: none !important;
}

/* العنوان */
.cta-section h2 {
    margin: 0 0 5px !important;

    color: #292621 !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

/* النص تحته */
.cta-section p {
    margin: 0 !important;

    color: #4a4238 !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
}

/* إزالة أي فراغ بينه وبين الجزء اللي تحته */
.cta-section + footer {
    margin-top: 0 !important;
    border-top: 0 !important;
}

/* =========================================
   CTA STRIP - FINAL
========================================= */

.cta-strip {
    background: #c5a064 !important;
    padding: 24px 10% 26px !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.cta-text {
    text-align: center !important;
    margin: 0 auto !important;
}

/* رحلتك العقارية تبدأ من هنا */
.cta-text h2 {
    margin: 0 0 5px !important;
    color: #292621 !important;
    font-size: 25px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

/* النص الصغير */
.cta-text p {
    margin: 0 !important;
    color: #4a433a !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
}

/* إلغاء أي زخارف قديمة */
.cta-strip::before,
.cta-strip::after,
.cta-text::before,
.cta-text::after {
    display: none !important;
}

/* ===== الشريط الذهبي - ضبط نهائي ===== */

.cta-strip {
    min-height: 0 !important;
    height: auto !important;

    padding: 18px 10% 20px !important;

    background: #c5a064 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
}

.cta-text {
    width: 100% !important;
    margin: 0 !important;
}

/* رحلتك العقارية تبدأ من هنا */
.cta-text h2 {
    margin: 0 0 3px !important;
    font-size: 24px !important;
    line-height: 1.4 !important;
    color: #292621 !important;
}

/* النص تحته */
.cta-text p {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #4a4033 !important;
}

.cta-strip {
    background: #b99558 !important;
}

/* ===== CTA STRIP - LUXURY COLORS ===== */

.cta-strip {
    background: linear-gradient(
        105deg,
        #9f7b43 0%,
        #b89255 45%,
        #a98249 100%
    ) !important;

    border-top: 1px solid rgba(242, 198, 109, 0.28) !important;
    border-bottom: 1px solid rgba(55, 48, 39, 0.30) !important;
}

/* العنوان */
.cta-text h2 {
    color: #211e1a !important;
    font-weight: 700 !important;
}

/* الوصف */
.cta-text p {
    color: #3f372d !important;
    opacity: 0.95 !important;
}

/* =========================================
   CTA STRIP - LUXURY CREAM FINAL
========================================= */

.cta-strip {
    min-height: 0 !important;
    height: auto !important;

    padding: 18px 10% 20px !important;

    background: #eee5d6 !important;
    background-image: none !important;

    border-top: 2px solid #c5a064 !important;
    border-bottom: 0 !important;

    box-shadow: none !important;
}

/* العنوان */
.cta-strip .cta-text h2 {
    margin: 0 0 4px !important;

    color: #332e28 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}

/* الوصف */
.cta-strip .cta-text p {
    margin: 0 !important;

    color: #625a50 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

/* ===== ألوان نص الشريط ===== */

/* ابدأ خطوتك العقارية معنا */
.cta-strip .cta-text h2 {
    color: #2b2722 !important;
}

/* تواصل مع فريق دارم... */
.cta-strip .cta-text p {
    color: #574c3f !important;
}

/* نخلي كلمة "دارم" لو كانت strong ذهبية */
.cta-strip .cta-text h2 strong {
    color: #8f6b35 !important;
}

/* ===== ألوان نص الشريط - فخم وواضح ===== */

.cta-strip .cta-text h2 {
    color: #1f2933 !important;
}

.cta-strip .cta-text p {
    color: #35424d !important;
    opacity: 1 !important;
}

/* ===== CTA - ألوان متناسقة مع هوية دارم ===== */

.cta-strip {
    background: #eee5d6 !important;
    background-image: none !important;

    border-top: 2px solid #c5a064 !important;
    border-bottom: 1px solid rgba(98, 90, 80, 0.18) !important;
}

/* ابدأ خطوتك العقارية معنا */
.cta-strip .cta-text h2 {
    color: #35312b !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}

/* تواصل مع فريق دارم... */
.cta-strip .cta-text p {
    color: #625a50 !important;
    font-size: 15px !important;
    opacity: 1 !important;
}

/* ===== CTA - FINAL LUXURY ===== */

.cta-strip {
    background: #4b453e !important;
    background-image: none !important;
    border-top: 2px solid #c5a064 !important;
    border-bottom: 1px solid rgba(212, 180, 119, 0.25) !important;
}

/* العنوان */
.cta-strip .cta-text h2 {
    color: #f2c66d !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}

/* الوصف */
.cta-strip .cta-text p {
    color: #f4efe7 !important;
    font-size: 15px !important;
    opacity: 0.92 !important;
}

.cta-strip .cta-text h2 {
    color: #d4b477 !important;
}

.cta-strip .cta-text p {
    color: #eee8df !important;
    opacity: 0.88 !important;
}

.cta-strip .cta-text h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
}

.cta-strip .cta-text p {
    font-size: 14px !important;
}

.cta-strip .cta-text p {
    font-size: 17px !important;
    line-height: 1.7 !important;
}

/* ===== SERVICES TEXT SPACING FIX ===== */

.services-section .services-heading > p:last-child {
    margin-top: 16px !important;
    max-width: 680px !important;
    font-size: 18px !important;
    line-height: 2 !important;
    color: #403a33 !important;
}

/* ===== RTL SECTION LABEL FIX ===== */

html[dir="rtl"] .section-label {
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
}

/* ===== SERVICES HEADING SPACING - FINAL ===== */

.services-section .section-label {
    margin-bottom: 14px !important;
}

.services-section .services-heading h2 {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    line-height: 1.25 !important;
}

.services-section .services-heading > p:last-child {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    max-width: 680px !important;

    font-size: 18px !important;
    line-height: 2 !important;
    color: #403a33 !important;
}

/* ===== FIX TITLE WORD SPACING ===== */

/* حلول عقارية متكاملة */
html[dir="rtl"] .services-heading h2 strong {
    margin-right: 8px !important;
}

/* ===== WHY TITLE WORD SPACING FIX ===== */

html[dir="rtl"] .why-content h2 strong::before {
    content: "\00a0";
}

/* =========================================
   MOBILE HEADER - FINAL
========================================= */

@media (max-width: 760px) {

    .site-header {
        min-height: auto !important;
        padding: 10px 5% 9px !important;

        display: grid !important;
        grid-template-columns: 1fr auto !important;
        align-items: center !important;
        gap: 8px 12px !important;
    }

    html[dir="rtl"] .site-header .logo {
        grid-column: 2 !important;
        grid-row: 1 !important;

        justify-self: end !important;
        transform: none !important;
    }

    .site-header .logo img {
        width: 145px !important;
        max-height: 52px !important;
    }

    .language-btn {
        grid-column: 1 !important;
        grid-row: 1 !important;

        justify-self: start !important;

        min-width: 88px !important;
        height: 36px !important;
        padding: 0 14px !important;

        font-size: 12px !important;
    }

    .site-header nav {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;

        width: 100% !important;

        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;

        gap: 8px !important;
        padding-top: 9px !important;

        border-top: 1px solid rgba(212, 180, 119, 0.22) !important;
    }

    .site-header nav a {
        padding: 5px 0 !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }
}


/* =========================================
   DARREM MOBILE RESPONSIVE - FINAL
========================================= */

@media (max-width: 760px) {

    /* ---------- ABOUT ---------- */

    .about-section {
        padding: 42px 6% !important;
    }

    .about-copy {
        text-align: right !important;
    }

    .about-copy h2 {
        font-size: 32px !important;
        line-height: 1.3 !important;
        margin-bottom: 22px !important;
    }

    .about-copy p {
        font-size: 15px !important;
        line-height: 2 !important;
    }

    .about-image {
        margin-top: 28px !important;
    }

    .about-image img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }

    /* بطاقات مميزات دارم */
    .about-features {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-top: 26px !important;
    }

    .about-feature {
        min-height: 92px !important;
        padding: 16px 18px !important;
        gap: 14px !important;
    }

    .about-feature .feature-icon {
        width: 48px !important;
        height: 48px !important;
        flex: 0 0 48px !important;
    }

    .about-feature .feature-content strong {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    /* جمعيات الملاك */
    .owners-association {
        width: 100% !important;
        max-width: none !important;
        margin: 24px 0 0 !important;
        padding: 22px 20px !important;

        display: flex !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }

    .owners-association-icon {
        width: 50px !important;
        height: 50px !important;
        flex: 0 0 50px !important;
    }

    .owners-association-content {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .owners-association-content h3 {
        font-size: 17px !important;
        line-height: 1.6 !important;
        margin-bottom: 10px !important;
    }

    .owners-association-content p {
        font-size: 14px !important;
        line-height: 2 !important;
    }


    /* ---------- WHY DARREM ---------- */

    .why-section {
        padding: 46px 7% 40px !important;
    }

    .why-content .section-label {
        font-size: 20px !important;
        margin-bottom: 14px !important;
    }

    .why-content h2 {
        max-width: 100% !important;
        font-size: 27px !important;
        line-height: 1.55 !important;
        margin-bottom: 28px !important;
    }

    .why-grid {
        grid-template-columns: 1fr !important;
    }

    .why-item {
        min-height: auto !important;
        padding: 24px 4px !important;
        border-left: 0 !important;
        border-bottom: 1px solid rgba(212,180,119,.16) !important;
    }

    .why-item:last-child {
        border-bottom: 0 !important;
    }

    .why-item::before {
        font-size: 15px !important;
        margin-bottom: 8px !important;
    }

    .why-item h3 {
        font-size: 19px !important;
        margin-bottom: 7px !important;
    }

    .why-item p {
        font-size: 14px !important;
        line-height: 1.9 !important;
    }


    /* ---------- CTA ---------- */

    .cta-strip {
        padding: 20px 7% !important;
    }

    .cta-strip .cta-text h2 {
        font-size: 21px !important;
        line-height: 1.5 !important;
    }

    .cta-strip .cta-text p {
        font-size: 14px !important;
        line-height: 1.9 !important;
        margin-top: 6px !important;
    }


    /* ---------- FOOTER ---------- */

    footer {
        padding-left: 6% !important;
        padding-right: 6% !important;
    }

    .footer-content {
        gap: 28px !important;
    }

    .footer-company p,
    .contact-info p,
    .contact-info a {
        font-size: 14px !important;
        line-height: 1.9 !important;
    }

    .social-icon {
        width: 50px !important;
        height: 50px !important;
    }

    .social-icon svg {
        width: 21px !important;
        height: 21px !important;
    }

    .footer-license {
        margin-top: 24px !important;
        padding: 18px 0 !important;
    }


    /* ---------- FLOATING WHATSAPP ---------- */

    .whatsapp-float {
        width: 54px !important;
        height: 54px !important;
        right: 16px !important;
        bottom: 16px !important;
    }
}

/* ===== WHY TITLE MOBILE FINAL ===== */

@media (max-width: 760px) {

    .why-content h2 {
        font-size: 23px !important;
        line-height: 1.4 !important;
        white-space: nowrap !important;
        margin-bottom: 28px !important;
    }

    html[dir="rtl"] .why-content h2 strong {
        margin-right: 0 !important;
    }

    html[dir="rtl"] .why-content h2 strong::before {
        content: "\00a0";
    }
}

/* ===== MOBILE HERO DARK OVERLAY ===== */

@media (max-width: 760px) {

    html[dir="rtl"] .hero {
        background:
            linear-gradient(
                rgba(0, 0, 0, 0.25),
                rgba(0, 0, 0, 0.25)
            ),
            url("images/hero.png") center center / cover no-repeat !important;
    }
}

/* ===== MOBILE HERO OVERLAY ===== */

@media (max-width: 760px) {

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.32) !important;
        z-index: 1;
        pointer-events: none;
    }

    .hero-content {
        position: relative;
        z-index: 2;
    }
}

@media (max-width: 760px) {
    .whatsapp-float {
        width: 48px !important;
        height: 48px !important;
        right: 12px !important;
        bottom: 12px !important;
    }

    .whatsapp-float svg {
        width: 24px !important;
        height: 24px !important;
    }
}

/* ===== MOBILE LOGO SAME IN AR + EN ===== */

@media (max-width: 760px) {

    .site-header .logo {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        transform: none !important;
    }

    .site-header .logo img {
        width: 145px !important;
        height: auto !important;
        max-height: 52px !important;
        object-fit: contain !important;
    }

    .site-header .language-btn {
        grid-column: 1 !important;
        grid-row: 1 !important;
        justify-self: start !important;
    }
}

/* ===== ENGLISH MOBILE SERVICES ===== */

@media (max-width: 760px) {

    html[dir="ltr"] .services-section {
        padding: 38px 6% !important;
    }

    html[dir="ltr"] .services-heading {
        text-align: left !important;
    }

    html[dir="ltr"] .services-heading h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
        margin-bottom: 14px !important;
    }

    html[dir="ltr"] .services-heading > p:last-child {
        font-size: 15px !important;
        line-height: 1.8 !important;
        max-width: 100% !important;
    }

    html[dir="ltr"] .service-card {
        padding: 22px 10px !important;
        gap: 16px !important;
        align-items: flex-start !important;
    }

    html[dir="ltr"] .service-card h3 {
        font-size: 17px !important;
        line-height: 1.4 !important;
        margin-bottom: 7px !important;
    }

    html[dir="ltr"] .service-card p {
        font-size: 14px !important;
        line-height: 1.75 !important;
    }

    html[dir="ltr"] .service-icon {
        width: 40px !important;
        height: 40px !important;
        flex: 0 0 40px !important;
    }

    html[dir="ltr"] .service-icon svg {
        width: 27px !important;
        height: 27px !important;
    }
}

/* ===== ENGLISH MOBILE WHY TITLE ===== */

@media (max-width: 760px) {

    html[dir="ltr"] .why-content h2 {
        font-size: 24px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        max-width: 100% !important;
        overflow-wrap: normal !important;
    }

    html[dir="ltr"] .why-content h2 strong::before {
        content: " " !important;
    }
}

/* ===== WHY TOP GOLD BAR - MOBILE ===== */

@media (max-width: 760px) {

    html[dir="ltr"] body .why-section::before {
        left: 0 !important;
        right: auto !important;
    }

    html[dir="rtl"] body .why-section::before {
        right: 0 !important;
        left: auto !important;
    }
}

@media (max-width: 760px) {

    html[dir="ltr"] .why-content .section-label {
        flex-direction: row-reverse !important;
        justify-content: flex-end !important;
    }
}

@media (max-width: 760px) {

    html[dir="ltr"] .services-heading h2 strong::before {
        content: "\00a0" !important;
    }

}

@media (max-width: 760px) {

    html[dir="ltr"] .services-section .section-label {
        flex-direction: row-reverse !important;
        justify-content: flex-end !important;
    }

}

@media (max-width: 760px) {

     .about-copy h2 {
        font-size: 30px !important;
        line-height: 1.25 !important;
        margin-bottom: 18px !important;
    }

}

/* ===== ABOUT TITLE MOBILE FINAL ===== */
@media (max-width: 760px) {

    .about-title h2,
    html[dir="rtl"] .about-title h2,
    html[dir="ltr"] .about-title h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
}

/* ===== CTA TITLE MOBILE FINAL ===== */
@media (max-width: 760px) {

    .cta-strip .cta-text h2 {
        font-size: 19px !important;
        line-height: 1.45 !important;
    }
}


/* =========================================================
   SMALL PHONE FINAL — 390 / 430
========================================================= */

@media (max-width: 430px) {

    /* ---------- HEADER ---------- */

    .site-header {
        padding: 9px 5% !important;
    }

    .site-header .logo img {
        width: 140px !important;
        height: auto !important;
    }

    .language-btn {
        min-width: 86px !important;
        height: 35px !important;
        padding: 0 13px !important;
        font-size: 11px !important;
    }

    .site-header nav a {
        font-size: 11px !important;
    }

    /* تثبيت الهيدر على الجوال: الزر يسار والشعار يمين */
@media (max-width: 430px) {

    .site-header {
        direction: ltr !important;
    }

    .site-header .language-btn {
        grid-column: 1 !important;
        grid-row: 1 !important;
        justify-self: start !important;
    }

    .site-header .logo {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-self: end !important;
    }

    .site-header nav {
        direction: inherit;
    }

    html[dir="rtl"] .site-header nav {
        direction: rtl !important;
    }

    html[dir="ltr"] .site-header nav {
        direction: ltr !important;
    }
}

    /* ---------- HERO ---------- */

    .hero {
        height: 440px !important;
        min-height: 440px !important;
    }

    html[dir="ltr"] .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 24px !important;
    }

    html[dir="ltr"] .hero-label {
        font-size: 13px !important;
        margin-bottom: 8px !important;
    }

    html[dir="ltr"] .hero h1 {
        font-size: 30px !important;
        line-height: 1.28 !important;
    }

    html[dir="ltr"] .hero h1 strong {
        margin-top: 6px !important;
    }

    html[dir="rtl"] .hero h1 {
        font-size: 32px !important;
        line-height: 1.3 !important;
    }

    html[dir="rtl"] .hero h1 strong {
        font-size: 30px !important;
    }


    /* ---------- ABOUT ---------- */

    .about-section {
        padding: 38px 6% !important;
    }

    .about-title h2,
    html[dir="rtl"] .about-title h2,
    html[dir="ltr"] .about-title h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }

    .about-copy p {
        font-size: 14px !important;
        line-height: 1.9 !important;
    }

    .about-features {
        margin-top: 24px !important;
        gap: 10px !important;
    }

    .about-feature {
        min-height: 78px !important;
        padding: 15px 16px !important;
    }


    /* ---------- OWNERS ASSOCIATION ---------- */

    .owners-association {
        margin: 22px 0 0 !important;
        padding: 19px 16px !important;
        gap: 14px !important;
    }

    .owners-association-icon {
        width: 46px !important;
        height: 46px !important;
        flex: 0 0 46px !important;
    }

    .owners-association-content h3 {
        font-size: 16px !important;
        line-height: 1.55 !important;
    }

    .owners-association-content p {
        font-size: 13.5px !important;
        line-height: 1.85 !important;
    }


    /* ---------- SERVICES ---------- */

    .services-section {
        padding: 38px 6% 42px !important;
    }

    .services-section .section-label {
        font-size: 18px !important;
        margin-bottom: 13px !important;
    }

    .services-section .section-label span {
        width: 38px !important;
    }

    .services-heading h2,
    html[dir="ltr"] .services-heading h2 {
        font-size: 27px !important;
        line-height: 1.3 !important;
        margin-bottom: 14px !important;
    }

    .services-section .services-heading > p:last-child {
        font-size: 14px !important;
        line-height: 1.85 !important;
    }

    .service-card {
        padding: 20px 6px !important;
        gap: 14px !important;
    }

    .services-section .service-card h3 {
        font-size: 16px !important;
    }

    .services-section .service-card p {
        font-size: 14px !important;
        line-height: 1.8 !important;
    }

    .service-icon {
        width: 38px !important;
        height: 38px !important;
        flex: 0 0 38px !important;
    }

    .service-icon svg {
        width: 26px !important;
        height: 26px !important;
    }


    /* ---------- WHY DARREM ---------- */

    .why-section {
        padding: 38px 7% 34px !important;
    }

    .why-content .section-label {
        font-size: 18px !important;
        margin-bottom: 13px !important;
    }

    html[dir="ltr"] .why-content h2 {
        font-size: 22px !important;
        line-height: 1.45 !important;
        white-space: normal !important;
        margin-bottom: 24px !important;
    }

    html[dir="rtl"] .why-content h2 {
        font-size: 21px !important;
        line-height: 1.45 !important;
        white-space: normal !important;
        margin-bottom: 24px !important;
    }

    .why-item {
        padding: 20px 4px !important;
    }

    .why-item::before {
        font-size: 14px !important;
        margin-bottom: 7px !important;
    }

    .why-item h3 {
        font-size: 18px !important;
    }

    .why-item p {
        font-size: 13.5px !important;
        line-height: 1.85 !important;
    }


    /* ---------- CTA ---------- */

    .cta-strip {
        padding: 19px 7% !important;
    }

    .cta-strip .cta-text h2 {
        font-size: 19px !important;
        line-height: 1.45 !important;
    }

    .cta-strip .cta-text p {
        font-size: 13.5px !important;
        line-height: 1.8 !important;
    }


    /* ---------- FOOTER ---------- */

    footer {
        padding: 32px 6% 15px !important;
    }

    .footer-content {
        gap: 25px !important;
    }

    .contact-info h3,
    .footer-social h3 {
        font-size: 18px !important;
    }

    .footer-company p,
    .contact-info p,
    .contact-info a {
        font-size: 14px !important;
        line-height: 1.85 !important;
    }

    .footer-brand img {
        width: 175px !important;
    }

    .social-icon {
        width: 48px !important;
        height: 48px !important;
    }

    .social-icon svg {
        width: 20px !important;
        height: 20px !important;
    }

    .footer-license .fal-info > span,
    .fal-license-line {
        font-size: 14px !important;
    }

    .fal-number {
        font-size: 15px !important;
    }

    .footer-bottom p {
        font-size: 12px !important;
        line-height: 1.6 !important;
    }


    /* ---------- WHATSAPP ---------- */

    .whatsapp-float {
        width: 46px !important;
        height: 46px !important;
        right: 11px !important;
        bottom: 11px !important;
    }

    .whatsapp-float svg {
        width: 23px !important;
        height: 23px !important;
    }
}

/* ===== ENGLISH DESKTOP WORD SPACING FIX ===== */
@media (min-width: 761px) {

    html[dir="ltr"] .services-heading h2 strong::before {
        content: "\00a0" !important;
    }

    html[dir="ltr"] .why-content h2 strong::before {
        content: "\00a0" !important;
    }
}

/* =========================================================
   ENGLISH DESKTOP FINAL FIXES
========================================================= */

@media (min-width: 761px) {

    /* ---------- HEADER ---------- */

    html[dir="ltr"] .site-header {
        direction: ltr !important;
    }

    html[dir="ltr"] .site-header .logo {
        order: 1 !important;
    }

    html[dir="ltr"] .site-header nav {
        order: 2 !important;
        direction: ltr !important;
    }

    html[dir="ltr"] .site-header .language-btn {
        order: 3 !important;
    }


    /* ---------- SMALL GOLD LINE: SERVICES ---------- */

    html[dir="ltr"] .services-section .section-label {
        flex-direction: row-reverse !important;
        justify-content: flex-end !important;
    }


    /* ---------- SMALL GOLD LINE: WHY DARREM ---------- */

    html[dir="ltr"] .why-content .section-label {
        flex-direction: row-reverse !important;
        justify-content: flex-end !important;
    }


    /* ---------- TOP GOLD ACCENT: WHY SECTION ---------- */

    html[dir="ltr"] .why-section::before {
        left: 10% !important;
        right: auto !important;
    }
}

/* ===== ENGLISH DESKTOP HEADER + HERO FINAL ===== */
@media (min-width: 1025px) {

    /* HEADER */
    html[dir="ltr"] .site-header {
        padding-left: 10% !important;
        padding-right: 10% !important;
    }

    html[dir="ltr"] .site-header .logo {
        margin-right: 45px !important;
    }

    html[dir="ltr"] .site-header nav {
        flex: 1 !important;
        justify-content: center !important;
        gap: 52px !important;
    }

    html[dir="ltr"] .site-header .language-btn {
        margin-left: 45px !important;
    }


    /* HERO */
    html[dir="ltr"] .hero-content {
        transform: translate(-85px, -35px) !important;
    }
}

/* ===== DESKTOP HEADER FIXED POSITION ===== */
@media (min-width: 761px) {

    .site-header {
        direction: ltr !important;
        grid-template-columns: 1fr auto 1fr !important;
    }

    /* زر اللغة ثابت يسار */
    .site-header .language-btn {
        grid-column: 1 !important;
        grid-row: 1 !important;
        justify-self: start !important;
        order: initial !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* القائمة ثابتة بالنص */
    .site-header nav {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-self: center !important;
        order: initial !important;
    }

    /* الشعار ثابت يمين */
    .site-header .logo {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        order: initial !important;
        transform: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ===== DESKTOP HEADER - MOVE EDGES OUT ===== */
@media (min-width: 1001px) {

    .site-header {
        padding-left: 6% !important;
        padding-right: 6% !important;
    }

    .site-header .logo {
        justify-self: end !important;
        transform: translateX(25px) !important;
    }

    .site-header .language-btn {
        justify-self: start !important;
        transform: translateX(-25px) !important;
    }
}

/* ===== DARREM DESKTOP HEADER — FINAL OVERRIDE ===== */

@media (min-width: 761px) {

    /* نفس التوزيع بالعربي والإنجليزي */
    html[dir="rtl"] .site-header,
    html[dir="ltr"] .site-header {
        direction: ltr !important;
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        align-items: center !important;

        padding-left: 6% !important;
        padding-right: 6% !important;
    }

    /* زر اللغة = أقصى اليسار */
    html[dir="rtl"] .site-header .language-btn,
    html[dir="ltr"] .site-header .language-btn {
        grid-column: 1 !important;
        grid-row: 1 !important;

        justify-self: start !important;

        margin: 0 !important;
        transform: translateX(-25px) !important;
        order: initial !important;
    }

    /* القائمة = الوسط */
    html[dir="rtl"] .site-header nav,
    html[dir="ltr"] .site-header nav {
        grid-column: 2 !important;
        grid-row: 1 !important;

        justify-self: center !important;
        margin: 0 !important;
        transform: none !important;
        order: initial !important;
    }

    /* الشعار = أقصى اليمين */
    html[dir="rtl"] .site-header .logo,
    html[dir="ltr"] .site-header .logo {
        grid-column: 3 !important;
        grid-row: 1 !important;

        justify-self: end !important;

        margin: 0 !important;
        transform: translateX(25px) !important;
        order: initial !important;
    }
}

/* ===== DESKTOP HERO - SOFT DARK OVERLAY ===== */
@media (min-width: 761px) {

    html[dir="rtl"] .hero,
    html[dir="ltr"] .hero {
        background:
            linear-gradient(
                rgba(0, 0, 0, 0.32),
                rgba(0, 0, 0, 0.32)
            ),
            url("images/hero.png") center center / cover no-repeat !important;
    }
}

/* ===== FAL SEPARATOR LINES ===== */
.footer-license {
    border-top: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35) !important;
}

/* =========================================================
   MOBILE FINAL FIX
   ========================================================= */

@media (max-width: 760px) {

    /* يمنع الهيدر من تغطية بداية الأقسام عند الضغط على القائمة */
    html {
        scroll-padding-top: 145px !important;
    }

    #home,
    #about,
    #services,
    #contact,
    .why-section {
        scroll-margin-top: 145px !important;
    }


    /* =========================================
       ARABIC — GOLD SMALL LINES
       الشريط الذهبي يكون يمين العنوان
       ========================================= */

    html[dir="rtl"] .services-section .section-label,
    html[dir="rtl"] .why-content .section-label {
        direction: rtl !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        text-align: right !important;
    }


    /* =========================================
       ENGLISH
       نخليه مثل ما ضبطناه سابقًا
       الشريط يكون يسار العنوان
       ========================================= */

    html[dir="ltr"] .services-section .section-label,
    html[dir="ltr"] .why-content .section-label {
        direction: ltr !important;
        flex-direction: row-reverse !important;
        justify-content: flex-end !important;
        text-align: left !important;
    }
}

/* ===== MOBILE ABOUT — ARABIC & ENGLISH MATCH ===== */
@media (max-width: 760px) {

    /* نفس المسافات في اللغتين */
    .about-section {
        padding: 52px 6% 46px !important;
    }

    /* العربي */
    html[dir="rtl"] .about-copy {
        text-align: right !important;
    }

    html[dir="rtl"] .about-copy h2 {
        font-size: 30px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        margin: 0 0 26px !important;
    }

    html[dir="rtl"] .about-copy p {
        font-size: 15px !important;
        line-height: 2 !important;
        margin-top: 0 !important;
    }

    /* الإنجليزي */
    html[dir="ltr"] .about-copy {
        text-align: left !important;
    }

    html[dir="ltr"] .about-copy h2 {
        font-size: 30px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        margin: 0 0 26px !important;
    }

    html[dir="ltr"] .about-copy p {
        font-size: 15px !important;
        line-height: 2 !important;
        margin-top: 0 !important;
    }
}