*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height-scrolled) + 16px);
    overflow-x: hidden;
    overflow-x: clip;
}

:where(section, div, form)[id] {
    scroll-margin-top: calc(var(--header-height-scrolled) + 16px);
}

body {
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    color: var(--color-text);
    background: var(--color-white);
    font-family: var(--font-family);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.navigation-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid rgb(17 135 233 / 42%);
    outline-offset: 3px;
}

button,
[type="button"],
[type="submit"],
a {
    -webkit-tap-highlight-color: rgb(17 135 233 / 16%);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--color-primary-dark);
    font-weight: 700;
    line-height: 1.15;
}

.container {
    width: min(100% - 40px, var(--container-width));
    max-width: var(--container-width);
    margin-inline: auto;
}

main {
    display: block;
}

section {
    position: relative;
    padding: 100px 0;
}

.bg-light,
.properties-section {
    background: var(--color-light);
}

.skip-link {
    position: fixed;
    top: -70px;
    left: 20px;
    z-index: 9999;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    color: #fff;
    background: var(--color-primary-dark);
    transition: top var(--transition);
}

.skip-link:focus {
    top: 18px;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading--horizontal {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    max-width: none;
    text-align: left;
}

.section-heading__eyebrow,
.page-hero__eyebrow,
.cta-card__eyebrow {
    margin-bottom: 14px;
    color: var(--color-primary);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.section-heading__title {
    margin-bottom: 18px;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-heading__text {
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: 1.08rem;
}

.page-hero {
    padding: 90px 0;
    color: #fff;
    background: linear-gradient(125deg, var(--color-primary-dark), #0b5d7a);
}

.page-hero--image {
    display: flex;
    min-height: 460px;
    padding: 95px 0 70px;
    align-items: end;
    background-image:
        linear-gradient(
            90deg,
            rgb(1 24 44 / 10%) 0%,
            rgb(1 24 44 / 3%) 48%,
            transparent 100%
        ),
        var(--page-hero-image);
    background-position: center;
    background-size: cover;
}

.page-hero .page-hero__content {
    --page-hero-entry-x: -140px;

    position: relative;
    isolation: isolate;
    width: min(calc(100% - 40px), 980px);
    max-width: 980px;
    padding: clamp(28px, 4vw, 46px) clamp(34px, 5vw, 62px);
    animation: page-hero-frame-enter 950ms cubic-bezier(.62, 0, 1, .55) both;
}

@keyframes page-hero-frame-enter {
    from {
        opacity: 0;
        transform: translate3d(var(--page-hero-entry-x), 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.page-hero .page-hero__content::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-left: 5px solid #26a9f4;
    content: "";
    background:
        linear-gradient(
            105deg,
            rgb(1 24 44 / 82%) 0%,
            rgb(1 24 44 / 65%) 58%,
            rgb(1 24 44 / 32%) 100%
        );
    box-shadow: 0 24px 60px rgb(1 24 44 / 22%);
    clip-path: polygon(0 0, calc(100% - 55px) 0, 100% 55px, 100% 100%, 0 100%);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.page-hero .page-hero__content::after {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 120px;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, #8bd8ff, transparent);
}

.page-hero--image h1 {
    white-space: normal;
}

.page-hero--image .page-hero__content > p:last-child {
    max-width: 760px;
    font-size: clamp(1.08rem, 1.7vw, 1.4rem);
    line-height: 1.5;
}

.page-hero__content {
    max-width: 780px;
}

@media (max-width: 767px) {
    .page-hero--image {
        min-height: 390px;
        padding: 75px 0 55px;
        background-position: center;
    }

    .page-hero--image .page-hero__content {
        width: min(100% - 28px, 920px);
        padding: 26px 24px 28px 27px;
    }

    .page-hero .page-hero__content {
        --page-hero-entry-x: -72px;
    }

    .page-hero .page-hero__content::before {
        border-left-width: 4px;
        clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
    }

    .page-hero--image h1 {
        white-space: normal;
    }
}

@media (min-width: 700px) and (max-width: 1050px) and (max-height: 600px) and (orientation: landscape) {
    .page-hero--image {
        min-height: calc(100dvh - var(--header-height-scrolled));
        padding: 20px 0;
        align-items: center;
    }

    .page-hero .page-hero__content {
        padding-block: 24px;
    }
}

.page-hero__eyebrow {
    color: #9dd6e7;
}

.page-hero h1 {
    max-width: 100%;
    margin-bottom: 22px;
    color: #fff;
    font-size: clamp(2.25rem, 5.4vw, 4.5rem);
    line-height: 1.04;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.page-hero p:last-child {
    max-width: 700px;
    margin-bottom: 0;
    color: rgb(255 255 255 / 82%);
    font-size: 1.15rem;
}

.content-section {
    padding: 85px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: start;
}

.content-copy h2 {
    margin-bottom: 24px;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.content-copy p {
    color: var(--color-muted);
}

.feature-list {
    display: grid;
    gap: 16px;
    padding: 0;
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: 13px;
    align-items: flex-start;
}

.feature-list i {
    margin-top: 5px;
    color: var(--color-primary);
}

.info-panel {
    padding: 38px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-light);
}

.info-panel h2,
.info-panel h3 {
    margin-bottom: 18px;
}

.empty-state {
    padding: 65px 30px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.empty-state__icon {
    display: grid;
    width: 86px;
    height: 86px;
    margin: 0 auto 26px;
    place-items: center;
    border-radius: 50%;
    color: var(--color-primary);
    background: #e9f4f7;
    font-size: 1.9rem;
}

.empty-state__title {
    margin-bottom: 15px;
}

.empty-state__text {
    margin-bottom: 0;
    color: var(--color-muted);
}

.legal-content {
    max-width: 850px;
}

.legal-content h2 {
    margin-top: 42px;
    font-size: 1.45rem;
}

.legal-content p,
.legal-content li {
    color: var(--color-muted);
}

.reveal-enabled .reveal-on-scroll {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 650ms ease var(--reveal-delay, 0ms),
        transform 650ms cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-enabled .reveal-on-scroll.reveal-from-left {
    transform: translate3d(-48px, 18px, 0);
}

.reveal-enabled .reveal-on-scroll.reveal-from-right {
    transform: translate3d(48px, 18px, 0);
}

.reveal-enabled .reveal-on-scroll.reveal-scale {
    transform: scale(.94);
}

.reveal-enabled .services-section .reveal-on-scroll {
    transition-duration: 780ms;
}

.reveal-enabled .reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

@media (min-width: 1800px) {
    :root {
        --container-width: 1280px;
    }
}

@media (max-width: 420px) {
    .page-hero--image {
        min-height: min(430px, calc(100svh - var(--header-height-scrolled)));
    }

    .page-hero h1 {
        display: block;
        width: 100%;
        max-width: 13ch;
        font-size: clamp(1.85rem, 9.4vw, 2.35rem);
        line-height: 1.08;
        overflow-wrap: anywhere;
        text-wrap: wrap;
        white-space: normal !important;
    }

    .page-hero--image .page-hero__content > p:last-child {
        font-size: 1rem;
        line-height: 1.5;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-hero .page-hero__content {
        opacity: 1;
        animation: none;
        transform: none;
    }

    .reveal-enabled .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
