/* =========================================
   OCEAN SKY 007 HOMEPAGE HERO BLOCK
========================================= */

.os-home-hero-block {
    position: relative;
    width: 100%;
    background: #ffffff;
}

/* =========================================
   HERO
========================================= */

.os-home-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: clamp(700px, 52vw, 835px);
    overflow: hidden;
    background: #dcecf5;
}

.os-home-hero__media,
.os-home-hero__overlay {
    position: absolute;
    inset: 0;
}

.os-home-hero__media {
    z-index: -2;
}

.os-home-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
}

.os-home-hero__overlay {
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.72) 0%,
            rgba(255, 255, 255, 0.56) 29%,
            rgba(255, 255, 255, 0.28) 49%,
            rgba(255, 255, 255, 0.04) 72%
        );
}

.os-home-hero__content {
    min-height: clamp(700px, 52vw, 835px);
    padding-top: 158px;
    padding-bottom: 76px;

    display: flex;
    align-items: center;
}

.os-home-hero__copy {
    width: min(760px, 58%);
}

.os-home-hero__kicker {
    margin: 0 0 22px;

    display: flex;
    flex-direction: column;

    color: var(--os-text);
    font-family: var(--os-font-primary);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.24;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.os-home-hero__kicker span {
    display: block;
}

.os-home-hero h1 {
    max-width: 760px;
    margin: 0;

    color: #121b20;
    font-family: var(--os-font-primary);
    font-size: clamp(50px, 4.15vw, 68px);
    font-weight: 300;
    line-height: 1.06;
    letter-spacing: -0.018em;
}

.os-home-hero h1 span {
    display: block;
}

.os-home-hero__description {
    max-width: 610px;
    margin: 31px 0 0;

    color: rgba(31, 46, 54, 0.8);
    font-family: var(--os-font-light);
    font-size: clamp(17px, 1.2vw, 20px);
    font-weight: 300;
    line-height: 1.68;
}

.os-home-hero__actions {
    margin-top: 42px;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.os-home-hero__actions .os-button {
    min-width: 230px;
    min-height: 59px;

    font-family: var(--os-font-primary);
    font-size: 16px;
}

.os-home-hero__button--primary {
    color: #ffffff;
    background: var(--os-blue);
    border-color: var(--os-blue);
}

.os-home-hero__button--primary:hover,
.os-home-hero__button--primary:focus-visible {
    color: #ffffff;
    background: #176b90;
    border-color: #176b90;
}

.os-home-hero__button--outline {
    color: var(--os-text);
    background: rgba(255, 255, 255, 0.32);
    border: 2px solid rgba(23, 36, 43, 0.78);
    box-shadow: none;
}

.os-home-hero__button--outline:hover,
.os-home-hero__button--outline:focus-visible {
    color: #ffffff;
    background: var(--os-text);
    border-color: var(--os-text);
}

/* =========================================
   HERO PROPERTY FACTS
========================================= */

.os-home-facts {
    position: relative;
    z-index: 2;

    width: 100%;
    padding: 0;

    background: rgba(252, 250, 247, 0.98);
    border-top: 1px solid rgba(91, 78, 68, 0.11);
    border-bottom: 1px solid rgba(91, 78, 68, 0.11);
}

.os-home-facts__inner {
    width: min(100%, 1920px);
    min-height: 188px;
    margin-inline: auto;
    padding: 30px 42px;

    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    align-items: stretch;
}

.os-home-fact {
    position: relative;

    min-width: 0;
    padding: 8px 22px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;

    text-align: center;
}

.os-home-fact:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 0;
    bottom: 10%;

    width: 1px;
    background: rgba(114, 97, 84, 0.2);
}

.os-home-fact__icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #968b82;
}

.os-home-fact__icon svg {
    display: block;
    width: 100%;
    height: 100%;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.os-home-fact__title {
    margin: 0;

    color: #3b3734;
    font-family: var(--os-font-primary);
    font-size: clamp(12px, 0.9vw, 16px);
    font-weight: 700;
    line-height: 1.52;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.os-home-fact__title span {
    display: block;
}

/* =========================================
   MEDIUM DESKTOP
========================================= */

@media (max-width: 1280px) {
    .os-home-facts__inner {
        padding-inline: 24px;
    }

    .os-home-fact {
        padding-inline: 14px;
    }

    .os-home-fact__title {
        font-size: 12px;
        letter-spacing: 0.055em;
    }
}

/* =========================================
   HERO TABLET
========================================= */

@media (max-width: 1120px) {
    .os-home-hero__media img {
        object-position: 57% center;
    }

    .os-home-hero__copy {
        width: min(700px, 64%);
    }

    .os-home-hero h1 {
        font-size: clamp(46px, 5.2vw, 62px);
    }

    .os-home-facts__inner {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 0 24px;
    }

    .os-home-fact {
        min-height: 160px;
        padding: 24px 18px;
        border-bottom: 1px solid rgba(114, 97, 84, 0.16);
    }

    .os-home-fact:nth-child(4n)::after {
        display: none;
    }

    .os-home-fact:nth-child(n + 5) {
        border-bottom: 0;
    }

    .os-home-fact__title {
        font-size: 13px;
    }
}

/* =========================================
   HERO SMALL TABLET
========================================= */

@media (max-width: 860px) {
    .os-home-hero,
    .os-home-hero__content {
        min-height: 760px;
    }

    .os-home-hero__media img {
        object-position: 66% center;
    }

    .os-home-hero__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.86) 0%,
                rgba(255, 255, 255, 0.7) 54%,
                rgba(255, 255, 255, 0.26) 100%
            );
    }

    .os-home-hero__content {
        padding-top: 122px;
        padding-bottom: 56px;
        align-items: center;
    }

    .os-home-hero__copy {
        width: min(620px, 88%);
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 620px) {
    .os-home-hero,
    .os-home-hero__content {
        min-height: 720px;
    }

    .os-home-hero__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.9) 0%,
                rgba(255, 255, 255, 0.74) 58%,
                rgba(255, 255, 255, 0.2) 100%
            );
    }

    .os-home-hero__content {
        padding-top: 118px;
        padding-bottom: 54px;
        align-items: flex-start;
    }

    .os-home-hero__copy {
        width: 100%;
    }

    .os-home-hero__kicker {
        margin-bottom: 18px;
        font-size: 12px;
    }

    .os-home-hero h1 {
        font-size: clamp(39px, 11vw, 54px);
    }

    .os-home-hero h1 span {
        display: inline;
    }

    .os-home-hero__description {
        margin-top: 24px;
        font-size: 16px;
        line-height: 1.58;
    }

    .os-home-hero__actions {
        max-width: 340px;
        margin-top: 32px;

        flex-direction: column;
        align-items: stretch;
        gap: 13px;
    }

    .os-home-hero__actions .os-button {
        width: 100%;
        min-width: 0;
        min-height: 56px;
    }

    .os-home-facts__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0 14px;
    }

    .os-home-fact {
        min-height: 145px;
        padding: 22px 12px;
    }

    .os-home-fact:nth-child(4n)::after {
        display: block;
    }

    .os-home-fact:nth-child(2n)::after {
        display: none;
    }

    .os-home-fact:nth-child(n + 5) {
        border-bottom: 1px solid rgba(114, 97, 84, 0.16);
    }

    .os-home-fact:nth-child(n + 7) {
        border-bottom: 0;
    }

    .os-home-fact__icon {
        width: 39px;
        height: 39px;
    }

    .os-home-fact__title {
        font-size: 11px;
        line-height: 1.48;
        letter-spacing: 0.055em;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 390px) {
    .os-home-facts__inner {
        padding-inline: 8px;
    }

    .os-home-fact {
        min-height: 138px;
        padding-inline: 8px;
    }

    .os-home-fact__title {
        font-size: 10px;
    }
}