/* Homepage hero styled to match the property-page hero layout. */
.home-hero {
    --home-orange: #FE5C03;
    --home-orange-dark: #D94A00;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(520px, 64vw, 720px);
    overflow: hidden;
    background: #0b2a4a;
    padding: clamp(52px, 7vw, 96px) 0;
}
.home-hero *,
.home-hero *::before,
.home-hero *::after { box-sizing: border-box; }

.home-hero__image,
.home-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.home-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.home-hero__image--fallback {
    background:
        radial-gradient(ellipse at 75% 35%, rgba(254,92,3,.24), transparent 42%),
        linear-gradient(115deg, #071d34 0%, #0b2a4a 55%, #24425e 100%);
}
.home-hero__shade {
    z-index: -1;
    background: linear-gradient(90deg, rgba(5,19,34,.84) 0%, rgba(5,19,34,.68) 48%, rgba(5,19,34,.25) 100%);
}
.home-hero__container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}





.home-hero__card {
     position: relative;
    z-index: 3;

    width: min(555px, calc(100% - 48px));

    margin-left: max(24px, calc((100% - 1180px) / 2));
    padding: 46px 52px 38px;

    background: rgba(11, 42, 74, .93);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;

    box-shadow: 0 22px 55px rgba(0, 0, 0, .22);

    transform: translateY(45px);

}




/* Hero card — white background */
.home-hero__card {
    background: #ffffff;
    border: 1px solid rgba(11, 42, 74, 0.08);
    border-radius: 24px;
    padding: 64px 70px;
    box-shadow: 0 12px 40px rgba(11, 42, 74, 0.12);
}

/* Hero headline */
.home-hero__card h1 {
    margin: 0;
    color: #0b2a4a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.04;
}

/* Orange accent line */
.home-hero__rule {
    display: block;
    width: 68px;
    height: 4px;
    margin: 24px 0;
    border-radius: 99px;
    background: var(--home-orange);
}

/* Hero description */
.home-hero__card > p {
    max-width: 440px;
    margin: 0 0 23px;
    color: #4b5968;
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.75;
}

/* Brand eyebrow */
.home-hero__eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--home-orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}
.home-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 21px;
    border: 2px solid var(--home-orange);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.home-hero__button:hover { transform: translateY(-1px); }
.home-hero__button--primary {
    background: var(--home-orange);
    color: #fff;
}
.home-hero__button--primary:hover {
    background: var(--home-orange-dark);
    border-color: var(--home-orange-dark);
    color: #fff;
}
.home-hero__button--outline {
    background: transparent;
    color: #0b2a4a;
}
.home-hero__button--outline:hover {
    background: #0b2a4a;
    border-color: #0b2a4a;
    color: #fff;
}
.home-hero__card small {
    display: block;
    margin-top: 20px;
    color: #697586;
    font-size: 12px;
    line-height: 1.6;
}
.home-hero a:focus-visible {
    outline: 3px solid #0b2a4a;
    outline-offset: 3px;
}
@media (max-width: 640px) {
    .home-hero {
        min-height: 0;
        padding: 36px 0;
    }
    .home-hero__container { width: min(100% - 28px, 1180px); }
    .home-hero__card { padding: 27px 22px; }
    .home-hero__card h1 { font-size: clamp(35px, 10vw, 48px); }
    .home-hero__actions { flex-direction: column; }
    .home-hero__button { width: 100%; }
    .home-hero__shade {
        background: linear-gradient(90deg, rgba(5,19,34,.72), rgba(5,19,34,.5));
    }
}
