/* =========================================================
   Ask Property Pro
   Premium Home Hero
   ========================================================= */

.home-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 18%,
            rgba(199, 167, 91, 0.18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #061426 0%,
            #0a2542 55%,
            #07182d 100%
        );
    color: #ffffff;
}

.home-hero::before {
    content: "";
    position: absolute;
    top: -260px;
    right: -220px;
    width: 650px;
    height: 650px;
    border: 1px solid rgba(199, 167, 91, 0.15);
    border-radius: 50%;
}

.home-hero::after {
    content: "";
    position: absolute;
    bottom: -340px;
    left: -230px;
    width: 700px;
    height: 700px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.home-hero__overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 46px 46px;
    pointer-events: none;
}

.home-hero__container {
    position: relative;
    z-index: 2;
}

.home-hero__main {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
    min-height: 720px;
    padding: 90px 0 65px;
}

.home-hero__content {
    max-width: 700px;
}

.home-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 22px;
    color: #d9bd78;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-hero__eyebrow::before {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    flex-shrink: 0;
    background: #c7a75b;
}

.home-hero__title {
    max-width: 680px;
    margin: 0 0 24px;
    color: #ffffff;
    font-size: 68px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.home-hero__description {
    max-width: 650px;
    margin: 0 0 34px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
    line-height: 1.8;
}

.home-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}

.home-hero__actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 54px;
}

.home-hero__actions .btn-primary {
    border-color: #c7a75b;
    background: #c7a75b;
    color: #07182d;
}

.home-hero__actions .btn-primary:hover {
    border-color: #d9bd78;
    background: #d9bd78;
    color: #07182d;
}

.home-hero__actions .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.48);
    background: transparent;
    color: #ffffff;
}

.home-hero__actions .btn-outline-light:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: #07182d;
}

.home-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
}

.home-hero__trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    border-radius: 50%;
    background: rgba(199, 167, 91, 0.17);
    color: #d9bd78;
    font-size: 12px;
    font-weight: 700;
}

/* =========================================================
   Property Dashboard
   ========================================================= */

.home-hero__visual {
    position: relative;
    width: 100%;
    max-width: 530px;
    margin-left: auto;
    padding: 30px 18px;
}

.property-dashboard {
    position: relative;
    z-index: 3;
    padding: 27px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background: rgba(9, 30, 53, 0.96);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.32);
}

.property-dashboard::before {
    content: "";
    position: absolute;
    top: -12px;
    right: -12px;
    bottom: 12px;
    left: 12px;
    z-index: -1;
    border: 1px solid rgba(199, 167, 91, 0.15);
    border-radius: 22px;
}

.property-dashboard__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 24px;
}

.property-dashboard__label {
    display: block;
    margin-bottom: 6px;
    color: #c7a75b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.property-dashboard__title {
    margin: 0;
    color: #ffffff;
    font-size: 23px;
    font-weight: 700;
}

.property-dashboard__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 20px;
    background: rgba(71, 190, 133, 0.1);
    color: #70d7a5;
    font-size: 11px;
    white-space: nowrap;
}

.property-dashboard__status-dot {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #70d7a5;
    box-shadow: 0 0 0 4px rgba(112, 215, 165, 0.1);
}

.property-dashboard__metrics {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 22px;
}

.property-metric {
    min-height: 94px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.035);
}

.property-metric__label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 11px;
}

.property-metric__value {
    display: block;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.2;
}

.property-metric__value--positive {
    color: #70d7a5;
}

.property-metric__value--gold {
    color: #d9bd78;
}

.property-metric__bar {
    width: 100%;
    height: 4px;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.property-metric__bar span {
    display: block;
    height: 100%;
    border-radius: 8px;
    background: #c7a75b;
}

.property-dashboard__chart {
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.property-dashboard__chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 17px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 600;
}

.property-dashboard__chart-period {
    color: #c7a75b;
}

.property-chart {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 105px;
    padding: 0 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.property-chart__bar {
    display: block;
    width: 10%;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(
        180deg,
        rgba(199, 167, 91, 0.92),
        rgba(199, 167, 91, 0.18)
    );
}

.property-chart__bar--1 {
    height: 32%;
}

.property-chart__bar--2 {
    height: 45%;
}

.property-chart__bar--3 {
    height: 42%;
}

.property-chart__bar--4 {
    height: 63%;
}

.property-chart__bar--5 {
    height: 72%;
}

.property-chart__bar--6 {
    height: 88%;
}

.property-chart__line {
    position: absolute;
    right: 3%;
    bottom: 54%;
    width: 94%;
    height: 1px;
    transform: rotate(-7deg);
    transform-origin: center;
    background: rgba(112, 215, 165, 0.7);
}

.property-dashboard__comparison {
    display: grid;
    gap: 12px;
}

.property-comparison-row {
    display: grid;
    grid-template-columns: 105px 1fr 38px;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
}

.property-comparison-row strong {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    text-align: right;
}

.property-comparison-row__track {
    height: 5px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
}

.property-comparison-row__track span {
    display: block;
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, #806b39, #c7a75b);
}

.property-floating-card {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 160px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: #0d2c4e;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.property-floating-card--top {
    top: 0;
    right: -28px;
}

.property-floating-card--bottom {
    bottom: 4px;
    left: -26px;
}

.property-floating-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    background: rgba(199, 167, 91, 0.15);
    color: #d9bd78;
    font-size: 16px;
    font-weight: 700;
}

.property-floating-card strong {
    display: block;
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 13px;
}

.property-floating-card div span {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
}

/* =========================================================
   Hero Statistics
   ========================================================= */

.home-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.home-hero__stat {
    position: relative;
    padding: 25px 30px;
    text-align: center;
}

.home-hero__stat:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 23px;
    right: 0;
    width: 1px;
    height: 44px;
    background: rgba(255, 255, 255, 0.09);
}

.home-hero__stat strong {
    display: block;
    margin-bottom: 5px;
    color: #d9bd78;
    font-size: 27px;
    font-weight: 700;
}

.home-hero__stat span {
    display: block;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
}

/* =========================================================
   Arabic
   ========================================================= */

html[dir="rtl"] .home-hero {
    background:
        radial-gradient(
            circle at 15% 18%,
            rgba(199, 167, 91, 0.18),
            transparent 30%
        ),
        linear-gradient(
            225deg,
            #061426 0%,
            #0a2542 55%,
            #07182d 100%
        );
}

html[dir="rtl"] .home-hero::before {
    right: auto;
    left: -220px;
}

html[dir="rtl"] .home-hero::after {
    right: -230px;
    left: auto;
}

html[dir="rtl"] .home-hero__eyebrow {
    letter-spacing: 0;
    text-transform: none;
}

html[dir="rtl"] .home-hero__title {
    letter-spacing: 0;
}

html[dir="rtl"] .home-hero__visual {
    margin-right: auto;
    margin-left: 0;
}

html[dir="rtl"] .property-dashboard__label {
    letter-spacing: 0;
    text-transform: none;
}

html[dir="rtl"] .property-comparison-row strong {
    text-align: left;
}

html[dir="rtl"] .property-floating-card--top {
    right: auto;
    left: -28px;
}

html[dir="rtl"] .property-floating-card--bottom {
    right: -26px;
    left: auto;
}

html[dir="rtl"] .home-hero__stat:not(:last-child)::after {
    right: auto;
    left: 0;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1200px) {
    .home-hero__main {
        gap: 40px;
    }

    .home-hero__title {
        font-size: 58px;
    }

    .property-floating-card--top {
        right: -10px;
    }

    .property-floating-card--bottom {
        left: -10px;
    }

    html[dir="rtl"] .property-floating-card--top {
        left: -10px;
    }

    html[dir="rtl"] .property-floating-card--bottom {
        right: -10px;
    }
}

@media (max-width: 991px) {
    .home-hero__main {
        grid-template-columns: 1fr;
        gap: 55px;
        padding: 85px 0 70px;
    }

    .home-hero__content {
        max-width: 760px;
    }

    .home-hero__title {
        max-width: 750px;
        font-size: 54px;
    }

    .home-hero__visual {
        max-width: 600px;
        margin-right: auto;
        margin-left: auto;
    }

    html[dir="rtl"] .home-hero__visual {
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 767px) {
    .home-hero__main {
        gap: 42px;
        min-height: 1px;
        padding: 70px 0 55px;
    }

    .home-hero__eyebrow {
        font-size: 12px;
    }

    .home-hero__title {
        font-size: 43px;
        line-height: 1.15;
    }

    .home-hero__description {
        font-size: 16px;
        line-height: 1.7;
    }

    .home-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-hero__actions .btn {
        width: 100%;
        min-width: 0;
    }

    .home-hero__trust {
        flex-direction: column;
    }

    .home-hero__trust-item {
        width: 100%;
    }

    .home-hero__visual {
        padding: 20px 0 55px;
    }

    .property-dashboard {
        padding: 20px;
        border-radius: 17px;
    }

    .property-dashboard::before {
        display: none;
    }

    .property-dashboard__metrics {
        grid-template-columns: 1fr 1fr;
    }

    .property-metric--score {
        grid-column: 1 / 3;
    }

    .property-floating-card--top {
        top: 0;
        right: 8px;
    }

    .property-floating-card--bottom {
        bottom: 0;
        left: 8px;
    }

    html[dir="rtl"] .property-floating-card--top {
        right: auto;
        left: 8px;
    }

    html[dir="rtl"] .property-floating-card--bottom {
        right: 8px;
        left: auto;
    }

    .home-hero__stats {
        grid-template-columns: 1fr 1fr;
    }

    .home-hero__stat {
        padding: 22px 12px;
    }

    .home-hero__stat:nth-child(2)::after {
        display: none;
    }

    .home-hero__stat:nth-child(1),
    .home-hero__stat:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    }
}

@media (max-width: 480px) {
    .home-hero__title {
        font-size: 36px;
    }

    .property-dashboard__header {
        flex-direction: column;
    }

    .property-dashboard__status {
        align-self: flex-start;
    }

    .property-dashboard__metrics {
        grid-template-columns: 1fr;
    }

    .property-metric--score {
        grid-column: auto;
    }

    .property-comparison-row {
        grid-template-columns: 90px 1fr 34px;
        gap: 7px;
    }

    .property-floating-card {
        min-width: 145px;
    }

    .home-hero__stat strong {
        font-size: 23px;
    }

    .home-hero__stat span {
        font-size: 11px;
    }
}