/* -------------------------------------------------- */
/* ------------- override `_basic.css` -------------- */
/* -------------------------------------------------- */

.template-hero {
    max-width: 920px;
}

#top.hero {
    margin-top: 14px;
    margin-bottom: 32px;
    padding-top: 0;
    padding-bottom: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

.hero-card {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 14px 0 10px;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.hero-card-inner {
    width: min(100%, 1100px);
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

#top h1 {
    margin: 0 0 8px;
}

#top .lead {
    margin: 0 0 8px;
}

#top .actions {
    margin-top: 14px;
}

#video {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0;
}

#video .video-box {
    max-width: none;
    border: 0;
    border-radius: 30px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}

#video .video-box video {
    width: min(100vw, 2200px);
    max-width: 100%;
    max-height: none;
    height: auto;
    margin: 0 auto;
    display: block;
    object-fit: cover;
    background: transparent;
    border-radius: 30px;
}

.accent-stat {
    margin-top: 18px;
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.accent-stat .num {
    font-family: "Sora", sans-serif;
    font-size: 34px;
    line-height: 1.15;
    color: #ffffff;
}

.result-banner {
    margin-top: 18px;
    padding: 16px 20px;
    border-radius: 14px;
    background: linear-gradient(180deg, #3f7fcf 0%, #316dbe 100%);
    border: 1px solid #2c63ab;
    box-shadow: 0 10px 24px rgba(20, 61, 120, 0.28);
    font-family: "Sora", sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.25;
    color: #ffffff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
    text-align: center;
}

.compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.step-card .tag {
    margin-bottom: 10px;
}

#benefits .cards-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

#benefits .cards-2 .card {
    margin: 0;
}

#how .cards-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

#how .cards-2 .card {
    margin: 0;
}

.pathology-nav-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
    align-items: center;
}

.pathology-nav-copy {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.pathology-nav-copy h2 {
    margin-top: 0;
}

.pathology-nav-video {
    width: 90%;
    justify-self: end;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #000;
    box-shadow: var(--shadow);
}

.pathology-nav-video video {
    display: block;
    width: 100%;
    height: auto;
}

#cta .actions {
    justify-content: center;
}

#more-products .cards-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

#more-products .card {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

#more-products .card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: #3f7fcf;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(32, 82, 150, 0.28);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#more-products .card a:hover {
    background: #346eb7;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(32, 82, 150, 0.34);
}

#more-products .card a:active {
    transform: translateY(0);
}

.partner.bottom-partner {
    margin-top: 20px;
}

@media (max-width: 960px) {
    .hero-card {
        padding: 10px 0 8px;
        border-radius: 22px;
    }

    .hero-card-inner {
        padding: 0 16px;
    }

    .pathology-nav-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #benefits .cards-2 {
        grid-template-columns: 1fr;
    }

    #how .cards-2 {
        grid-template-columns: 1fr;
    }

    .compare-grid {
        grid-template-columns: 1fr;
    }

    #more-products .cards-3 {
        grid-template-columns: 1fr;
    }
}
