/* =========================================================
   ANCOR — OWNERS ASSOCIATION MANAGEMENT
   ========================================================= */

:root {
    --aoa-dark: #212121;
    --aoa-dark-soft: #303030;
    --aoa-primary: #b86060;
    --aoa-primary-dark: #994b4f;
    --aoa-green: #598068;
    --aoa-sand: #957a56;
    --aoa-bg: #f7f5f3;
    --aoa-soft: #f1ece9;
    --aoa-white: #ffffff;
    --aoa-muted: #6f6f6f;
    --aoa-border: rgba(33, 33, 33, 0.11);
    --aoa-shadow: 0 24px 70px rgba(33, 33, 33, 0.09);
}

html {
    scroll-behavior: smooth;
}

body.ancor-owners-page {
    margin: 0;
    color: var(--aoa-dark);
    background: var(--aoa-white);
    font-family:
        "IBM Plex Sans Arabic",
        "Noto Kufi Arabic",
        Arial,
        sans-serif;
}

body.ancor-owners-page *,
body.ancor-owners-page *::before,
body.ancor-owners-page *::after {
    box-sizing: border-box;
}

.aoa-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

/* =========================================================
   HERO
   ========================================================= */

.aoa-hero {
    position: relative;
    isolation: isolate;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 150px 0 90px;
    color: var(--aoa-white);
    background:
        radial-gradient(
            circle at 16% 15%,
            rgba(184, 96, 96, 0.33),
            transparent 30%
        ),
        radial-gradient(
            circle at 82% 80%,
            rgba(89, 128, 104, 0.22),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #181818 0%,
            #292323 55%,
            #1c1c1c 100%
        );
}

.aoa-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.14;
    pointer-events: none;
    background-image:
        repeating-radial-gradient(
            ellipse at 90% 20%,
            transparent 0,
            transparent 24px,
            rgba(255, 255, 255, 0.42) 25px,
            transparent 27px
        );
    transform: scale(1.45);
}

.aoa-hero::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: min(42vw, 560px);
    height: 5px;
    background: var(--aoa-primary);
}

.aoa-hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(340px, 0.72fr);
    gap: clamp(42px, 7vw, 92px);
    align-items: center;
}

.aoa-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    font-weight: 700;
}

.aoa-breadcrumb a {
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
}

.aoa-breadcrumb a:hover {
    color: var(--aoa-white);
}

.aoa-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 21px;
    color: #e2b8b8;
    font-size: 14px;
    font-weight: 900;
}

.aoa-eyebrow::before {
    content: "";
    width: 36px;
    height: 3px;
    border-radius: 999px;
    background: var(--aoa-primary);
}

.aoa-hero h1 {
    max-width: 760px;
    margin: 0 0 23px;
    color: var(--aoa-white);
    font-size: clamp(46px, 5.2vw, 76px);
    line-height: 1.15;
    letter-spacing: -0.045em;
    font-weight: 900;
}

.aoa-hero h1 span {
    color: #dfa9a9;
}

.aoa-hero-lead {
    max-width: 710px;
    margin: 0 0 34px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(17px, 1.45vw, 20px);
    line-height: 2;
}

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

.aoa-button {
    min-height: 53px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none !important;
    transition:
        transform 180ms ease,
        background 180ms ease,
        border-color 180ms ease;
}

.aoa-button:hover {
    transform: translateY(-2px);
}

.aoa-button-primary {
    color: var(--aoa-white) !important;
    background: var(--aoa-primary);
}

.aoa-button-primary:hover {
    background: var(--aoa-primary-dark);
}

.aoa-button-secondary {
    color: var(--aoa-white) !important;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.07);
}

.aoa-button-secondary:hover {
    border-color: var(--aoa-white);
    background: rgba(255, 255, 255, 0.13);
}

.aoa-hero-card {
    position: relative;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px);
}

.aoa-hero-card-icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    border-radius: 18px;
    color: var(--aoa-white);
    background: var(--aoa-primary);
}

.aoa-hero-card-icon svg {
    width: 37px;
    height: 37px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aoa-hero-card h2 {
    margin: 0 0 12px;
    color: var(--aoa-white);
    font-size: 24px;
    line-height: 1.45;
}

.aoa-hero-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.9;
}

.aoa-hero-points {
    display: grid;
    gap: 11px;
    margin-top: 23px;
}

.aoa-hero-point {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 700;
}

.aoa-hero-point::before {
    content: "✓";
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    flex: 0 0 25px;
    border-radius: 50%;
    color: var(--aoa-white);
    background: rgba(184, 96, 96, 0.65);
}

/* =========================================================
   COMMON SECTIONS
   ========================================================= */

.aoa-section {
    padding: clamp(78px, 9vw, 120px) 0;
}

.aoa-section-soft {
    background: var(--aoa-bg);
}

.aoa-section-dark {
    color: var(--aoa-white);
    background: var(--aoa-dark);
}

.aoa-section-head {
    max-width: 780px;
    margin-bottom: 45px;
}

.aoa-section-head-center {
    margin-inline: auto;
    text-align: center;
}

.aoa-section-kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--aoa-primary);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.aoa-section-head h2 {
    margin: 0 0 17px;
    color: inherit;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.3;
    letter-spacing: -0.035em;
}

.aoa-section-head p {
    margin: 0;
    color: var(--aoa-muted);
    font-size: 17px;
    line-height: 2;
}

.aoa-section-dark .aoa-section-head p {
    color: rgba(255, 255, 255, 0.67);
}

/* =========================================================
   INTRO
   ========================================================= */

.aoa-intro-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.92fr)
        minmax(0, 1.08fr);
    gap: clamp(48px, 8vw, 110px);
    align-items: start;
}

.aoa-intro-copy h2 {
    margin: 0 0 23px;
    font-size: clamp(35px, 4vw, 55px);
    line-height: 1.32;
    letter-spacing: -0.04em;
}

.aoa-intro-copy p {
    margin: 0 0 17px;
    color: var(--aoa-muted);
    font-size: 16px;
    line-height: 2;
}

.aoa-highlight {
    position: relative;
    padding: 34px;
    border: 1px solid var(--aoa-border);
    border-radius: 22px;
    background: var(--aoa-soft);
}

.aoa-highlight::before {
    content: "";
    position: absolute;
    inset-block: 30px;
    inset-inline-start: 0;
    width: 4px;
    border-radius: 999px;
    background: var(--aoa-primary);
}

.aoa-highlight strong {
    display: block;
    margin-bottom: 11px;
    font-size: 22px;
    line-height: 1.5;
}

.aoa-highlight p {
    margin: 0;
    color: var(--aoa-muted);
    font-size: 15px;
    line-height: 1.95;
}

/* =========================================================
   SERVICE CARDS
   ========================================================= */

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

.aoa-service-card {
    position: relative;
    min-height: 260px;
    padding: 27px;
    overflow: hidden;
    border: 1px solid var(--aoa-border);
    border-radius: 19px;
    background: var(--aoa-white);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.aoa-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 96, 96, 0.4);
    box-shadow: var(--aoa-shadow);
}

.aoa-service-number {
    display: block;
    margin-bottom: 24px;
    color: var(--aoa-primary);
    font-size: 13px;
    font-weight: 900;
}

.aoa-service-card h3 {
    margin: 0 0 11px;
    font-size: 21px;
    line-height: 1.55;
}

.aoa-service-card p {
    margin: 0;
    color: var(--aoa-muted);
    font-size: 14px;
    line-height: 1.9;
}

/* =========================================================
   PROCESS
   ========================================================= */

.aoa-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    counter-reset: process;
}

.aoa-process-card {
    counter-increment: process;
    position: relative;
    min-height: 250px;
    padding: 27px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
}

.aoa-process-card::before {
    content: "0" counter(process);
    display: block;
    margin-bottom: 38px;
    color: #d59a9a;
    font-size: 13px;
    font-weight: 900;
}

.aoa-process-card h3 {
    margin: 0 0 11px;
    color: var(--aoa-white);
    font-size: 20px;
    line-height: 1.5;
}

.aoa-process-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.63);
    font-size: 13px;
    line-height: 1.9;
}

/* =========================================================
   BENEFITS
   ========================================================= */

.aoa-benefits-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.82fr)
        minmax(0, 1.18fr);
    gap: clamp(48px, 8vw, 100px);
    align-items: center;
}

.aoa-benefits-panel {
    padding: 37px;
    border-radius: 23px;
    color: var(--aoa-white);
    background:
        linear-gradient(
            145deg,
            var(--aoa-primary),
            #8f474b
        );
    box-shadow: 0 30px 80px rgba(145, 72, 76, 0.23);
}

.aoa-benefits-panel span {
    display: block;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.73);
    font-size: 13px;
    font-weight: 800;
}

.aoa-benefits-panel strong {
    display: block;
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.4;
}

.aoa-benefits-list {
    display: grid;
    gap: 13px;
}

.aoa-benefit {
    display: grid;
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 15px;
    align-items: start;
    padding: 19px;
    border: 1px solid var(--aoa-border);
    border-radius: 15px;
    background: var(--aoa-white);
}

.aoa-benefit-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--aoa-primary);
    background: rgba(184, 96, 96, 0.1);
    font-weight: 900;
}

.aoa-benefit h3 {
    margin: 1px 0 5px;
    font-size: 17px;
}

.aoa-benefit p {
    margin: 0;
    color: var(--aoa-muted);
    font-size: 13px;
    line-height: 1.8;
}

/* =========================================================
   SIMSAR
   ========================================================= */

.aoa-simsar {
    position: relative;
    overflow: hidden;
    padding: clamp(75px, 9vw, 110px) 0;
    background: var(--aoa-soft);
}

.aoa-simsar-card {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    gap: 35px;
    align-items: center;
    padding: clamp(32px, 5vw, 58px);
    overflow: hidden;
    border: 1px solid rgba(184, 96, 96, 0.18);
    border-radius: 26px;
    background: var(--aoa-white);
    box-shadow: var(--aoa-shadow);
}

.aoa-simsar-card::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    inset-inline-end: -110px;
    top: -130px;
    border: 50px solid rgba(184, 96, 96, 0.07);
    border-radius: 50%;
}

.aoa-simsar-copy {
    position: relative;
    z-index: 1;
}

.aoa-simsar-copy span {
    display: block;
    margin-bottom: 12px;
    color: var(--aoa-primary);
    font-size: 13px;
    font-weight: 900;
}

.aoa-simsar-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.35;
}

.aoa-simsar-copy p {
    max-width: 760px;
    margin: 0;
    color: var(--aoa-muted);
    font-size: 15px;
    line-height: 1.95;
}

.aoa-simsar-action {
    position: relative;
    z-index: 1;
}

/* =========================================================
   FAQ
   ========================================================= */

.aoa-faq-list {
    max-width: 900px;
    margin-inline: auto;
    display: grid;
    gap: 12px;
}

.aoa-faq {
    border: 1px solid var(--aoa-border);
    border-radius: 15px;
    background: var(--aoa-white);
}

.aoa-faq summary {
    position: relative;
    padding: 21px 24px;
    padding-inline-end: 58px;
    cursor: pointer;
    list-style: none;
    font-size: 16px;
    font-weight: 900;
}

.aoa-faq summary::-webkit-details-marker {
    display: none;
}

.aoa-faq summary::after {
    content: "+";
    position: absolute;
    inset-inline-end: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--aoa-primary);
    font-family: Arial, sans-serif;
    font-size: 24px;
}

.aoa-faq[open] summary::after {
    content: "−";
}

.aoa-faq p {
    margin: 0;
    padding: 0 24px 22px;
    color: var(--aoa-muted);
    font-size: 14px;
    line-height: 1.95;
}

/* =========================================================
   FINAL CTA
   ========================================================= */

.aoa-final-cta {
    padding: 85px 0;
    text-align: center;
    color: var(--aoa-white);
    background:
        radial-gradient(
            circle at 15% 25%,
            rgba(184, 96, 96, 0.22),
            transparent 28%
        ),
        var(--aoa-dark);
}

.aoa-final-cta h2 {
    max-width: 780px;
    margin: 0 auto 16px;
    font-size: clamp(34px, 4.5vw, 58px);
    line-height: 1.35;
}

.aoa-final-cta p {
    max-width: 710px;
    margin: 0 auto 29px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    line-height: 1.95;
}

.aoa-final-cta .aoa-actions {
    justify-content: center;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {
    .aoa-hero-grid,
    .aoa-intro-grid,
    .aoa-benefits-grid {
        grid-template-columns: 1fr;
    }

    .aoa-hero-card {
        max-width: 650px;
    }

    .aoa-services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .aoa-process-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .aoa-simsar-card {
        grid-template-columns: 1fr;
    }

    .aoa-simsar-action {
        justify-self: start;
    }
}

@media (max-width: 680px) {
    .aoa-container {
        width: min(100% - 30px, 1180px);
    }

    .aoa-hero {
        min-height: auto;
        padding: 122px 0 70px;
    }

    .aoa-hero h1 {
        font-size: clamp(39px, 12vw, 54px);
    }

    .aoa-hero-lead {
        font-size: 16px;
    }

    .aoa-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .aoa-button {
        width: 100%;
    }

    .aoa-hero-card,
    .aoa-highlight,
    .aoa-benefits-panel,
    .aoa-simsar-card {
        padding: 25px;
    }

    .aoa-services-grid,
    .aoa-process-grid {
        grid-template-columns: 1fr;
    }

    .aoa-service-card,
    .aoa-process-card {
        min-height: auto;
    }

    .aoa-section-head h2,
    .aoa-intro-copy h2 {
        font-size: 34px;
    }

    .aoa-faq summary {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .aoa-button,
    .aoa-service-card {
        transition: none;
    }
}

/* OWNERS PAGE HEADER GAP FIX — START */

/*
 * منع أي margin أو padding عام من إنشاء
 * مساحة بيضاء أعلى الهيدر.
 */
html {
    margin: 0 !important;
    padding: 0 !important;
}

body.ancor-owners-page {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/*
 * عنصر تركيب الهيدر لا يأخذ مساحة أو خلفية إضافية.
 */
body.ancor-owners-page > #ancorGlobalHeader {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
}

/*
 * الهيدر الحقيقي يبدأ من أعلى الصفحة مباشرة.
 */
body.ancor-owners-page
#ancorGlobalHeader
.ancor-v3-header {
    top: 0 !important;
    margin: 0 !important;
}

/*
 * منع أي مسافات مضافة إلى محتوى الصفحة.
 */
body.ancor-owners-page > main {
    margin: 0 !important;
    padding: 0 !important;
}

body.ancor-owners-page .aoa-hero {
    margin-top: 0 !important;
}

/*
 * إخفاء أي هيدر قديم لو تمت إضافته من ملف عام.
 * لا يؤثر على هيدر ANCOR الجديد الموجود داخل
 * #ancorGlobalHeader.
 */
body.ancor-owners-page >
header:not(.ancor-v3-header),

body.ancor-owners-page >
.site-header,

body.ancor-owners-page >
.main-header,

body.ancor-owners-page >
.ancor-global-header {
    display: none !important;
}

/* OWNERS PAGE HEADER GAP FIX — END */
