.web-home {
    --web-home-shell-width: min(1320px, calc(100% - 24px));
    --web-home-hero-width: min(1700px, calc(100% - 24px));
    display: grid;
    gap: 1.25rem;
    padding-bottom: 1.75rem;
}

.web-home__hero {
    position: relative;
    width: var(--web-home-hero-width);
    margin: 0 auto;
    min-height: 680px;
    overflow: hidden;
    border-bottom: 1px solid rgba(121, 183, 255, 0.12);
}

.web-home__hero-media,
.web-home__hero-media img,
.web-home__hero-overlay {
    position: absolute;
    inset: 0;
}

.web-home__hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.web-home__hero-overlay {
    background:
        linear-gradient(90deg, rgba(8, 12, 17, 0.84), rgba(8, 12, 17, 0.48) 48%, rgba(8, 12, 17, 0.74)),
        radial-gradient(circle at top right, rgba(225, 162, 98, 0.22), transparent 26%);
}

.web-home__hero-inner,
.web-home__section {
    width: var(--web-home-shell-width);
    margin: 0 auto;
}

.web-home__hero-inner {
    position: relative;
    z-index: 1;
    width: var(--web-home-shell-width);
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 420px);
    gap: 1.25rem;
    align-items: end;
    padding: 5.5rem 0 3rem;
}

.web-home__hero-copy {
    display: grid;
    gap: 0.8rem;
    max-width: 760px;
}

.web-home__eyebrow,
.web-home__metric span,
.web-home__feature-body span {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a8c2dc;
}

.web-home__hero-copy h1,
.web-home__section-heading h2,
.web-home__cta-panel h2,
.web-home__testimonial-card h3,
.web-home__benefit-card h3,
.web-home__feature-body h3 {
    margin: 0;
    color: #eef6ff;
}

.web-home__hero-copy h1 {
    font-size: clamp(2.6rem, 4vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    max-width: 11.5ch;
}

.web-home__hero-copy p,
.web-home__section-heading p,
.web-home__benefit-card p,
.web-home__feature-body p,
.web-home__testimonial-card p,
.web-home__cta-panel p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #cad9e8;
}

.web-home__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.web-home__button {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.web-home__button--warm {
    background: linear-gradient(180deg, #e1a262, #c77e39);
    border: 1px solid rgba(185, 116, 52, 0.48);
    color: #1b0f04;
}

.web-home__button--secondary {
    background: rgba(7, 12, 17, 0.44);
    border: 1px solid rgba(121, 183, 255, 0.18);
    color: #eef6ff;
}

.web-home__hero-metrics {
    display: grid;
    gap: 0.8rem;
    margin-left: auto;
}

.web-home__metric,
.web-home__benefit-card,
.web-home__feature-card,
.web-home__testimonial-card,
.web-home__cta-panel,
.web-home__section--intro,
.web-home__section:not(.web-home__section--cta) {
    border-radius: 20px;
}

.web-home__metric {
    padding: 0.95rem 1rem;
    border: 1px solid rgba(121, 183, 255, 0.18);
    background: rgba(11, 18, 26, 0.62);
    backdrop-filter: blur(12px);
}

.web-home__metric strong {
    display: block;
    margin-top: 0.3rem;
    color: #eef6ff;
    font-size: 1.15rem;
}

.web-home__section {
    display: grid;
    gap: 1rem;
}

.web-home__section--intro,
.web-home__section > .web-home__section-heading,
.web-home__feature-grid,
.web-home__testimonial-slider,
.web-home__cta-panel {
    width: 100%;
}

.web-home__section--intro,
.web-home__feature-grid,
.web-home__testimonial-slider,
.web-home__cta-panel {
    box-sizing: border-box;
}

.web-home__section--intro,
.web-home__feature-grid,
.web-home__testimonial-slider,
.web-home__cta-panel {
    padding: 0;
}

.web-home__section-heading {
    display: grid;
    width: 100%;
    gap: 0.35rem;
}

.web-home__section-heading h2,
.web-home__cta-panel h2 {
    font-size: clamp(1.8rem, 2.8vw, 2.7rem);
}

.web-home__benefits {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.web-home__benefit-card,
.web-home__feature-card,
.web-home__testimonial-card,
.web-home__cta-panel {
    padding: 1rem;
    border: 1px solid rgba(182, 196, 209, 0.26);
    background: linear-gradient(180deg, rgba(103, 150, 123, 0.98), rgba(83, 130, 130, 0.65));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 14px 26px rgba(3, 7, 12, 0.2);
}

.web-home__feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.web-home__feature-card {
    display: grid;
    gap: 0.8rem;
    text-decoration: none;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.web-home__feature-card:hover,
.web-home__feature-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(219, 231, 242, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 30px rgba(3, 7, 12, 0.24);
    outline: none;
}

.web-home__feature-card--wide {
    grid-column: span 2;
}

.web-home__feature-media {
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(242, 244, 246, 0.98), rgba(228, 232, 236, 0.98));
    border: 1px solid rgba(97, 112, 128, 0.14);
}

.web-home__feature-media--wide {
    aspect-ratio: 2.08 / 1;
}

.web-home__feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.web-home__feature-body {
    display: grid;
    gap: 0.35rem;
}

.web-home__feature-body h3 {
    font-size: 1.22rem;
}

.web-home__testimonial-slider {
    overflow: hidden;
}

.web-home__testimonial-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.web-home__testimonial-card {
    display: grid;
    gap: 0.7rem;
}

.web-home__testimonial-rating {
    color: #e1a262;
    letter-spacing: 0.12em;
}

.web-home__testimonial-dots {
    display: none;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 0.8rem;
}

.web-home__testimonial-dots > button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(157, 181, 203, 0.45);
}

.web-home__testimonial-dots > button.is-active {
    background: #e1a262;
}

.web-home__cta-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 1400px) {
    .web-home__feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .web-home__feature-card--wide {
        grid-column: span 2;
    }
}

@media (max-width: 1180px) {
    .web-home__hero-inner {
        grid-template-columns: 1fr;
        align-items: end;
    }

    .web-home__hero-metrics,
    .web-home__benefits,
    .web-home__feature-grid,
    .web-home__testimonial-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .web-home__cta-panel {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 980px) {
    .web-home__hero {
        min-height: 620px;
    }

    .web-home__hero-inner {
        min-height: 620px;
        padding-top: 4.75rem;
    }

    .web-home__feature-grid,
    .web-home__benefits,
    .web-home__testimonial-track {
        grid-template-columns: 1fr;
    }

    .web-home__feature-card--wide {
        grid-column: auto;
    }

    .web-home__feature-media,
    .web-home__feature-media--wide {
        aspect-ratio: 1.35 / 1;
    }

    .web-home__testimonial-slider {
        overflow: hidden;
    }

    .web-home__testimonial-track {
        display: flex;
        gap: 0;
        transition: transform 0.24s ease;
    }

    .web-home__testimonial-card {
        flex: 0 0 100%;
    }

    .web-home__testimonial-dots {
        display: flex;
    }
}