/* ---------- Hero ---------- */
.hero {
    background:
        linear-gradient(90deg, rgba(10, 31, 58, .85) 0%, rgba(10, 31, 58, .55) 40%, rgba(10, 31, 58, 0) 70%),
        linear-gradient(0deg, rgba(10, 31, 58, .35) 0%, rgba(10, 31, 58, 0) 35%),
        var(--hero-image, none) center 70% / cover no-repeat,
        var(--navy);
    isolation: isolate;
}

.hero__inner {
    padding-block: clamp(4.5rem, 11vw, 8.5rem);
}

.hero__title {
    font-size: clamp(2.3rem, 4.6vw, 3.6rem);
    letter-spacing: -.015em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
}

.hero__title span {
    font-size: .8em;
}

.hero__tagline {
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    line-height: 1.35;
}

.hero__intro {
    max-width: 34rem;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, .92);
}

@media (max-width: 991.98px) {
    .hero {
        background:
            linear-gradient(180deg, rgba(10, 31, 58, .85), rgba(10, 31, 58, .7)),
            var(--hero-image, none) center 70% / cover no-repeat,
            var(--navy);
    }
}

/* ---------- Search card ---------- */
.search-card {
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 24px 60px rgba(10, 31, 58, .25);
}

.search-card .form-control,
.search-card .form-select {
    font-size: .95rem;
    border-color: #c9d2dc;
}

.search-row .form-control {
    padding: .85rem 1rem;
}

.search-row .form-control:focus {
    border-color: var(--navy-700);
    box-shadow: 0 0 0 3px rgba(27, 61, 102, .15);
}

.more-toggle::after {
    content: "";
    width: .45rem;
    height: .45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s ease;
}

.more-toggle[aria-expanded="true"]::after {
    transform: translateY(1px) rotate(-135deg);
}

.field-label {
    letter-spacing: .04em;
}

/* ---------- Quick links ---------- */
.quick-link__icon {
    width: 56px;
    height: 56px;
    background: var(--sky);
    transition: background-color .2s ease, transform .2s ease;
}

.quick-link__icon .icon {
    width: 28px;
    height: 28px;
}

.quick-link:hover .quick-link__icon {
    color: #fff;
    background: var(--navy);
    transform: translateY(-3px);
}

.quick-link__label {
    font-size: 1.1rem;
    line-height: 1.25;
}

@media (min-width: 992px) {
    .quick-links li + li {
        border-left: 1px solid var(--bs-border-color);
    }
}

/* ---------- Feature cards ---------- */
.feature-card {
    --card-padding: clamp(1.5rem, 3vw, 2.25rem);
    --bs-card-bg: var(--cream);
    --bs-card-border-color: #efe6da;
    padding: var(--card-padding);
}

.feature-card .card-text {
    font-size: 1.08rem;
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    background: var(--red);
    box-shadow: 0 8px 18px rgba(193, 18, 31, .25);
}

.feature-card__icon .icon {
    width: 36px;
    height: 36px;
}

.checklist li::before {
    content: "";
    position: absolute;
    left: .3rem;
    top: .45rem;
    width: .45rem;
    height: .85rem;
    border-right: 3px solid var(--red);
    border-bottom: 3px solid var(--red);
    transform: rotate(40deg);
}

.feature-card__art {
    width: calc(100% + 2 * var(--card-padding));
    max-width: none;
    height: 220px;
    margin: 1rem calc(-1 * var(--card-padding)) calc(-1 * var(--card-padding));
    object-fit: cover;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
}

@media (min-width: 576px) {
    .feature-card__content p {
        max-width: 58%;
    }

    .feature-card__art {
        position: absolute;
        inset: 0 0 0 auto;
        width: 55%;
        height: 100%;
        margin: 0;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 50%);
        mask-image: linear-gradient(90deg, transparent 0%, #000 50%);
    }
}

/* ---------- Benefits ---------- */
.benefits {
    background: var(--sky);
}

.benefit .icon {
    width: 44px;
    height: 44px;
    stroke-width: 1.7;
}

@media (min-width: 992px) {
    .benefit + .benefit {
        border-left: 1px solid #c8d6e5;
    }
}

@media (max-width: 991.98px) {
    .benefit + .benefit {
        border-top: 1px solid #c8d6e5;
    }
}
