/* Zen Real Estate — Hero V3 / Istanbul Signature */

.zen3-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(640px, 80vh, 820px);
    overflow: hidden;
    background: #142d3d;
    color: #fff;
}

.zen3-hero__media,
.zen3-hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.zen3-hero__media {
    z-index: -2;
    display: block;
}

.zen3-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
}

.zen3-hero__overlay {
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(9, 25, 36, .82) 0%,
            rgba(9, 25, 36, .62) 34%,
            rgba(9, 25, 36, .19) 72%,
            rgba(9, 25, 36, .08) 100%
        ),
        linear-gradient(
            0deg,
            rgba(9, 25, 36, .24),
            transparent 48%
        );
}

.zen3-hero[dir="rtl"] .zen3-hero__overlay {
    transform: scaleX(-1);
}

.zen3-hero__container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 105px;
    padding-bottom: 105px;
}

.zen3-hero__content {
    max-width: 690px;
    text-align: start;
}

.zen3-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 27px;
    color: #e2d5b7;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .23em;
    line-height: 1.5;
}

.zen3-hero__eyebrow::before {
    content: "";
    display: block;
    flex: 0 0 36px;
    height: 1px;
    background: currentColor;
}

.zen3-hero__title {
    max-width: 690px;
    margin: 0;
    color: #fff;
    font-size: clamp(40px, 4.4vw, 70px);
    font-weight: 600;
    line-height: 1.13;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.zen3-hero[dir="rtl"] .zen3-hero__title {
    font-size: clamp(37px, 4vw, 62px);
    line-height: 1.35;
    letter-spacing: 0;
}

.zen3-hero__description {
    max-width: 550px;
    margin: 25px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(16px, 1.3vw, 19px);
    font-weight: 400;
    line-height: 1.85;
}

.zen3-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.zen3-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 27px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.zen3-hero__button--primary {
    background: #d94745;
    color: #fff;
}

.zen3-hero__button--primary:hover,
.zen3-hero__button--primary:focus-visible {
    background: #bb3434;
    color: #fff;
}

.zen3-hero__button--secondary {
    border-color: rgba(255, 255, 255, .65);
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.zen3-hero__button--secondary:hover,
.zen3-hero__button--secondary:focus-visible {
    border-color: #fff;
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.zen3-hero__button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* ZEN HERO V3.1 - UNIFIED MOBILE LAYOUT */
@media (max-width: 767px) {
    .zen3-hero {
        height: auto;
        min-height: 590px;
        align-items: center;
    }

    .zen3-hero__image {
        object-position: center center;
    }

    .zen3-hero__overlay,
    .zen3-hero[dir="rtl"] .zen3-hero__overlay {
        transform: none;
        background: linear-gradient(
            0deg,
            rgba(9, 25, 36, .86) 0%,
            rgba(9, 25, 36, .60) 48%,
            rgba(9, 25, 36, .18) 100%
        );
    }

    .zen3-hero__container {
        width: 100%;
        padding: 95px 24px 70px;
    }

    .zen3-hero__content {
        width: 100%;
        max-width: 520px;
        margin-inline: auto;
        text-align: start;
    }

    .zen3-hero__eyebrow {
        margin-bottom: 15px;
        font-size: 10px;
    }

    .zen3-hero__title {
        font-size: clamp(29px, 7.2vw, 39px);
        line-height: 1.22;
        letter-spacing: -.025em;
    }

    .zen3-hero[dir="rtl"] .zen3-hero__title {
        font-size: clamp(28px, 7vw, 37px);
        line-height: 1.4;
        letter-spacing: 0;
    }

    .zen3-hero__description {
        margin-top: 17px;
        font-size: 14px;
        line-height: 1.7;
    }

    .zen3-hero__actions {
        gap: 10px;
        margin-top: 24px;
    }

    .zen3-hero__button {
        min-height: 48px;
        padding: 12px 16px;
        font-size: 12px;
    }

    /* Preview-only mobile header */
    body:has(.zen3-hero) .ltn__header-5 .ltn__header-middle-area {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    body:has(.zen3-hero) .ltn__header-5 .ltn__header-middle-area > .container > .row {
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
    }

    body:has(.zen3-hero) .ltn__header-5 .ltn__header-middle-area > .container > .row > .col {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
    }

    body:has(.zen3-hero) .ltn__header-5 .site-logo-wrap {
        flex: 0 1 auto;
        justify-content: flex-start;
        margin: 0;
    }

    body:has(.zen3-hero) .ltn__header-5 .site-logo {
        min-width: 0;
    }

    body:has(.zen3-hero) .ltn__header-5 .site-logo-wrap .site-logo img {
        display: block;
        width: 155px;
        max-width: 100%;
        height: auto;
    }

    body:has(.zen3-hero) .ltn__header-5 .ltn__header-options {
        flex: 0 0 auto;
        width: auto;
        margin: 0;
        justify-content: flex-end;
    }
}

@media (max-width: 390px) {
    .zen3-hero {
        min-height: 620px;
    }

    .zen3-hero__container {
        padding: 90px 22px 65px;
    }

    .zen3-hero__actions {
        flex-direction: column;
    }

    .zen3-hero__button {
        width: 100%;
    }
}

@media (max-width: 360px) {
    body:has(.zen3-hero) .ltn__header-5 .site-logo-wrap .site-logo img {
        width: 135px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zen3-hero__button {
        transition: none;
    }
}
