/* =====================================
   Dar Arabia Homepage Hero
   ===================================== */

.dar-home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 680px;
    padding: 78px 0 70px;
    background:
        radial-gradient(
            circle at 85% 18%,
            rgba(219, 91, 43, .21),
            transparent 29%
        ),
        radial-gradient(
            circle at 10% 88%,
            rgba(40, 20, 111, .30),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #1b0d4e 0%,
            #28146f 48%,
            #38208b 100%
        );
    color: #ffffff;
}

.dar-home-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -120px;
    left: -130px;
    width: 390px;
    height: 390px;
    border: 70px solid rgba(255, 255, 255, .035);
    border-radius: 50%;
}

.dar-home-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -130px;
    bottom: -180px;
    width: 460px;
    height: 460px;
    border: 82px solid rgba(219, 91, 43, .10);
    border-radius: 50%;
}

.dar-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
    align-items: center;
    gap: 64px;
}

.dar-hero-copy {
    position: relative;
    z-index: 2;
}

.dar-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.dar-hero-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dar-secondary);
    box-shadow: 0 0 0 5px rgba(219, 91, 43, .17);
}

.dar-hero-copy h1 {
    max-width: 760px;
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(42px, 5.3vw, 76px);
    font-weight: 900;
    line-height: 1.16;
    letter-spacing: -.8px;
}

.dar-hero-copy h1 span {
    color: #f29067;
}

.dar-hero-copy > p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: clamp(16px, 1.7vw, 19px);
    line-height: 2;
}

.dar-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 29px;
}

.dar-hero-primary,
.dar-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 12px 21px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.dar-hero-primary {
    border: 1px solid var(--dar-secondary);
    background: var(--dar-secondary);
    color: #ffffff;
    box-shadow: 0 13px 32px rgba(219, 91, 43, .27);
}

.dar-hero-primary:hover {
    background: var(--dar-secondary-dark);
    box-shadow: 0 17px 36px rgba(219, 91, 43, .35);
    transform: translateY(-2px);
}

.dar-hero-secondary {
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.dar-hero-secondary:hover {
    background: rgba(255, 255, 255, .14);
    transform: translateY(-2px);
}

.dar-hero-actions svg {
    width: 18px;
    height: 18px;
}

.dar-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    margin: 34px 0 0;
    list-style: none;
}

.dar-hero-features li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 700;
}

.dar-hero-features li::before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(219, 91, 43, .18);
    color: #ff9b70;
    font-size: 12px;
}

/* =====================================
   Hero visual
   ===================================== */

.dar-hero-visual {
    position: relative;
    min-height: 470px;
}

.dar-hero-building {
    position: absolute;
    inset: 20px 30px 25px 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 35px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, .10),
            rgba(255, 255, 255, .03)
        );
    box-shadow:
        0 35px 80px rgba(7, 3, 24, .34);
    backdrop-filter: blur(12px);
}

.dar-building-sky {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, .05),
            rgba(11, 5, 36, .30)
        );
}

.dar-tower {
    position: absolute;
    bottom: 0;
    border-radius: 15px 15px 0 0;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, .18),
            rgba(255, 255, 255, .07)
        );
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: inset 0 1px rgba(255, 255, 255, .16);
}

.dar-tower::before {
    content: "";
    position: absolute;
    inset: 16px 13px;
    background:
        repeating-linear-gradient(
            180deg,
            rgba(255, 255, 255, .22) 0 5px,
            transparent 5px 18px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, .13) 0 6px,
            transparent 6px 18px
        );
    opacity: .78;
}

.dar-tower-one {
    right: 8%;
    width: 29%;
    height: 70%;
}

.dar-tower-two {
    right: 39%;
    width: 24%;
    height: 87%;
    background:
        linear-gradient(
            180deg,
            rgba(219, 91, 43, .35),
            rgba(219, 91, 43, .10)
        );
}

.dar-tower-three {
    left: 7%;
    width: 25%;
    height: 56%;
}

.dar-property-mini-card {
    position: absolute;
    z-index: 3;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 225px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 17px;
    background: rgba(255, 255, 255, .91);
    color: var(--dar-text);
    box-shadow: 0 18px 45px rgba(9, 4, 31, .22);
    backdrop-filter: blur(16px);
}

.dar-property-mini-card:first-of-type {
    top: 5px;
    right: -10px;
}

.dar-property-mini-card:last-of-type {
    bottom: 0;
    left: -16px;
}

.dar-property-mini-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(40, 20, 111, .10);
    color: var(--dar-primary);
}

.dar-property-mini-card:last-of-type
.dar-property-mini-icon {
    background: rgba(219, 91, 43, .12);
    color: var(--dar-secondary);
}

.dar-property-mini-icon svg {
    width: 25px;
    height: 25px;
}

.dar-property-mini-card small {
    display: block;
    margin-bottom: 3px;
    color: var(--dar-muted);
    font-size: 11px;
}

.dar-property-mini-card strong {
    display: block;
    color: var(--dar-primary);
    font-size: 14px;
}

/* =====================================
   Search panel
   ===================================== */

.dar-quick-search-wrap {
    position: relative;
    z-index: 10;
    margin-top: -52px;
    padding-bottom: 32px;
}

.dar-quick-search {
    padding: 25px;
    border: 1px solid rgba(40, 20, 111, .08);
    border-radius: 24px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 26px 70px rgba(30, 15, 79, .15);
}

.dar-search-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.dar-search-tabs {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(105px, 1fr));
    gap: 4px;
    padding: 4px;
    border-radius: 13px;
    background: #f1eef7;
}

.dar-search-tab {
    min-height: 42px;
    padding: 8px 22px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--dar-primary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition:
        background .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}

.dar-search-tab.is-active {
    background: var(--dar-primary);
    color: #ffffff;
    box-shadow: 0 8px 19px rgba(40, 20, 111, .22);
}

.dar-search-heading {
    text-align: left;
}

.dar-search-heading strong {
    display: block;
    color: var(--dar-primary);
    font-size: 17px;
}

.dar-search-heading span {
    display: block;
    margin-top: 3px;
    color: var(--dar-muted);
    font-size: 12px;
}

.dar-search-grid {
    display: grid;
    grid-template-columns:
        1.2fr
        1fr
        1fr
        1fr
        .85fr
        auto;
    align-items: end;
    gap: 12px;
}

.dar-search-field {
    min-width: 0;
}

.dar-search-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--dar-text);
    font-size: 12px;
    font-weight: 800;
}

.dar-search-control {
    width: 100%;
    height: 49px;
    padding: 0 13px;
    border: 1px solid #e7e2ed;
    border-radius: 12px;
    outline: none;
    background: #ffffff;
    color: var(--dar-text);
    font-family: inherit;
    font-size: 13px;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.dar-search-control:focus {
    border-color: rgba(40, 20, 111, .55);
    box-shadow: 0 0 0 4px rgba(40, 20, 111, .08);
}

.dar-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 132px;
    height: 49px;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background:
        linear-gradient(
            135deg,
            var(--dar-secondary),
            #e66a39
        );
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 11px 25px rgba(219, 91, 43, .22);
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.dar-search-submit:hover {
    box-shadow: 0 15px 31px rgba(219, 91, 43, .30);
    transform: translateY(-2px);
}

.dar-search-submit svg {
    width: 18px;
    height: 18px;
}

.dar-search-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 15px;
}

.dar-search-hint {
    color: var(--dar-muted);
    font-size: 12px;
}

.dar-advanced-search {
    color: var(--dar-primary);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.dar-advanced-search:hover {
    color: var(--dar-secondary);
}

/* =====================================
   Responsive
   ===================================== */

@media (max-width: 1120px) {
    .dar-hero-grid {
        gap: 35px;
    }

    .dar-search-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .dar-search-submit {
        width: 100%;
    }
}

@media (max-width: 880px) {
    .dar-home-hero {
        min-height: auto;
        padding: 65px 0 95px;
    }

    .dar-hero-grid {
        grid-template-columns: 1fr;
    }

    .dar-hero-copy {
        text-align: center;
    }

    .dar-hero-copy h1,
    .dar-hero-copy > p {
        margin-inline: auto;
    }

    .dar-hero-kicker {
        justify-content: center;
    }

    .dar-hero-actions,
    .dar-hero-features {
        justify-content: center;
    }

    .dar-hero-visual {
        width: min(540px, 100%);
        min-height: 390px;
        margin-inline: auto;
    }

    .dar-quick-search-wrap {
        margin-top: -62px;
    }

    .dar-search-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .dar-search-heading {
        text-align: right;
    }
}

@media (max-width: 700px) {
    .dar-home-hero {
        padding-top: 50px;
    }

    .dar-hero-copy h1 {
        font-size: 43px;
    }

    .dar-hero-features {
        gap: 12px;
    }

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

    .dar-search-submit {
        grid-column: span 2;
    }

    .dar-property-mini-card {
        min-width: 205px;
    }
}

@media (max-width: 520px) {
    .dar-home-hero {
        padding-bottom: 82px;
    }

    .dar-hero-copy h1 {
        font-size: 36px;
    }

    .dar-hero-copy > p {
        font-size: 15px;
    }

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

    .dar-hero-primary,
    .dar-hero-secondary {
        width: 100%;
    }

    .dar-hero-visual {
        min-height: 315px;
    }

    .dar-hero-building {
        inset: 12px 5px 20px;
        border-radius: 25px;
    }

    .dar-property-mini-card {
        grid-template-columns: 42px minmax(0, 1fr);
        min-width: 174px;
        padding: 10px;
    }

    .dar-property-mini-icon {
        width: 42px;
        height: 42px;
    }

    .dar-property-mini-card:first-of-type {
        right: -4px;
    }

    .dar-property-mini-card:last-of-type {
        left: -4px;
    }

    .dar-quick-search {
        padding: 18px 15px;
        border-radius: 19px;
    }

    .dar-search-tabs {
        width: 100%;
    }

    .dar-search-grid {
        grid-template-columns: 1fr;
    }

    .dar-search-submit {
        grid-column: auto;
    }

    .dar-search-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =====================================
   Homepage Typography
   ===================================== */

.dar-hero-kicker {
    font-weight: 600;
}

.dar-hero-copy h1 {
    font-family:
        "Alexandria",
        Arial,
        sans-serif;
    font-weight: 800;
    letter-spacing: -.8px;
    line-height: 1.35;
}

.dar-hero-copy > p {
    font-weight: 400;
    line-height: 2;
}

.dar-hero-primary,
.dar-hero-secondary {
    font-family: inherit;
    font-weight: 700;
}

.dar-search-heading strong {
    font-weight: 700;
}

.dar-search-heading span,
.dar-search-field label,
.dar-search-hint {
    font-weight: 400;
}

.dar-search-tab,
.dar-search-submit,
.dar-advanced-search {
    font-family: inherit;
    font-weight: 700;
}

.dar-search-control {
    font-family: inherit;
    font-weight: 400;
}
