/* ===== Neo Vita — блок «Комплексный check-up» ===== */
.checkup {
    --cu-dark: #590f24;
    --cu-rose: #d57877;
    --cu-rose-dark: #a55150;
    --cu-rose-light: #fbd1c9;
    --cu-bg: #fbf1f0;
    --cu-gray: #82888f;
    --cu-text: #4b4b4b;
    padding: 60px 0;
    background: #fff;
    font-family: var(--font-family);
}

.checkup h2,
.checkup p {
    font-family: inherit;
}

/* --- 1. Интро --- */
.checkup-intro {
    display: flex;
    align-items: center;
    gap: 30px;
}

.checkup-intro-img {
    flex: 0 0 248px;
    width: 248px;
    height: 276px;
    border-radius: 20px;
    overflow: hidden;
}

.checkup-intro-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkup-intro-body {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    padding: 20px 0;
}

.checkup-kicker {
    margin: 0;
    font-size: 24px;
    line-height: 33.6px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--cu-dark);
}

.checkup-title {
    margin: 0 0 20px;
    font-size: 24px;
    line-height: 33.6px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--cu-dark);
}

.checkup-lead {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    color: var(--cu-gray);
}

.checkup-text {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: var(--cu-text);
}

.checkup-text:last-child {
    margin-bottom: 0;
}

.checkup-badge {
    position: absolute;
    top: 30px;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 13px;
    max-width: 383px;
    padding: 13px 20px;
    border-radius: 128px;
    background: var(--cu-bg);
    box-shadow: 0 5px 8px rgba(0, 0, 0, .18);
    transform: rotate(-4.4deg);
}

.checkup-badge span {
    font-size: 18px;
    line-height: 1.2;
    color: var(--cu-text);
}

.checkup-badge-switch {
    position: relative;
    flex: 0 0 60px;
    width: 60px;
    height: 36px;
    border-radius: 999px;
    background: var(--cu-rose);
}

.checkup-badge-switch::after {
    content: "";
    position: absolute;
    top: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
}

/* --- Общие заголовки блоков --- */
.checkup-block {
    margin-top: 60px;
}

.checkup-subtitle {
    margin: 0 0 20px;
    font-size: 24px;
    line-height: 33.6px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: var(--cu-dark);
}

/* --- 2. Что входит --- */
.checkup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.checkup-card {
    display: flex;
    flex-direction: column;
    min-height: 169px;
    padding: 17px 16px;
    border-radius: 10px;
    background: var(--cu-bg);
}

.checkup-card-icon {
    display: flex;
    flex: 0 0 45px;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--cu-rose);
}

.checkup-card-icon img {
    display: block;
    width: 43px;
    height: 39px;
    object-fit: contain;
}

.checkup-card p {
    margin: 24px 0 0;
    margin-top: auto;
    padding-top: 24px;
    font-size: 16px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--cu-dark);
}

.checkup-note {
    max-width: 880px;
    margin: 20px auto 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    text-align: center;
    color: var(--cu-text);
}

/* --- 3. Вы получаете --- */
.checkup-result {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.checkup-result-img {
    position: relative;
    flex: 0 0 357px;
    width: 357px;
    height: 316px;
}

.checkup-result-img::before,
.checkup-result-img::after {
    content: "";
    position: absolute;
    top: 58px;
    height: 258px;
    border-radius: 8px;
}

.checkup-result-img::before {
    left: 0;
    width: 291px;
    background: var(--cu-rose);
}

.checkup-result-img::after {
    left: 24px;
    width: 333px;
    background: var(--cu-rose-light);
}

.checkup-result-img img {
    position: absolute;
    left: 79px;
    top: 0;
    z-index: 1;
    display: block;
    width: 223px;
    height: 316px;
    object-fit: cover;
}

.checkup-result-list {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.checkup-result-list li {
    display: flex;
    align-items: center;
    gap: 20px;
}

.checkup-check {
    flex: 0 0 35px;
}

.checkup-result-list p {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: var(--cu-text);
}

.checkup-result-list b {
    font-weight: 700;
}

/* --- 4. CTA --- */
.checkup-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 361px;
    margin-top: 60px;
    padding: 40px;
    border-radius: 10px;
    background: var(--cu-bg);
    text-align: center;
}

.checkup-cta-tree {
    display: block;
    width: 95px;
    height: auto;
}

.checkup-cta-text {
    max-width: 880px;
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: var(--cu-text);
}

.checkup-cta-button,
.checkup-cta-button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 204px;
    min-height: 51px;
    padding: 14px 18px;
    border: 1px solid var(--cu-text);
    border-radius: 16px;
    background: linear-gradient(90deg, var(--cu-rose-dark) 0%, var(--cu-rose) 100%);
    font-size: 14px;
    line-height: 21px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    transition: filter .2s ease, transform .2s ease;
}

.checkup-cta-button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

/* ===== Карточка «С чего начать?» в первом экране ===== */
.header-main {
    position: relative;
}

.hero-start {
    position: absolute;
    left: 360px;
    top: 187px;
    z-index: 3;
    display: block;
    width: 272px;
    height: 155px;
    border-radius: 50px 50px 50px 0;
    background:
        linear-gradient(41.54deg, rgba(255, 255, 255, 0) 23.04%, rgba(255, 255, 255, 1) 131.68%),
        #d57877;
    box-shadow: 0 10px 22px rgba(89, 15, 36, .13);
    text-decoration: none;
    transition: box-shadow .3s ease;
    animation:
        heroStartIn .7s cubic-bezier(.2, .7, .3, 1) both,
        heroStartFloat 7s ease-in-out .7s infinite;
}

.hero-start:hover {
    box-shadow: 0 16px 32px rgba(89, 15, 36, .26);
    text-decoration: none;
    animation-play-state: paused;
}

.hero-start-title {
    position: absolute;
    left: 35px;
    top: 19px;
    margin: 0;
    font-size: 36px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

.hero-start-dots {
    position: absolute;
    left: 35px;
    top: 118px;
    display: flex;
    gap: 3px;
}

.hero-start-dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    opacity: .4;
    animation: heroStartDot 3.6s ease-in-out infinite;
}

.hero-start-dots i:nth-child(2) {
    animation-delay: 1.2s;
}

.hero-start-dots i:nth-child(3) {
    animation-delay: 2.4s;
}

.hero-start-arrow {
    position: absolute;
    left: 205px;
    top: 101px;
    width: 43px;
    height: 43px;
    animation: heroStartArrow 2.4s ease-in-out infinite;
}

.hero-start:hover .hero-start-arrow {
    animation: none;
    transform: translateX(10px);
    transition: transform .3s ease;
}

@keyframes heroStartIn {
    from {
        opacity: 0;
        transform: translate3d(-14px, 12px, 0) scale(.96);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes heroStartFloat {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    50% {
        transform: translate3d(3px, -7px, 0) rotate(-.6deg);
    }

    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
}

@keyframes heroStartArrow {
    0% {
        transform: translateX(0);
        opacity: .85;
    }

    50% {
        transform: translateX(8px);
        opacity: 1;
    }

    100% {
        transform: translateX(0);
        opacity: .85;
    }
}

@keyframes heroStartDot {
    0%,
    100% {
        opacity: .4;
        transform: scale(1);
    }

    12% {
        opacity: 1;
        transform: scale(1.3);
    }

    33% {
        opacity: .4;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero-start,
    .hero-start-arrow,
    .hero-start-dots i {
        animation: none !important;
    }

    .hero-start-dots i:nth-child(1) {
        opacity: 1;
    }
}

/* ===== Адаптив ===== */
@media (max-width: 1279px) {
    .hero-start {
        display: none;
    }
}

@media (max-width: 1023px) {
    .checkup {
        padding: 40px 0;
    }

    .checkup-intro {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .checkup-intro-img {
        flex: 0 0 auto;
        width: 248px;
    }

    .checkup-intro-body {
        padding: 0;
        width: 100%;
    }

    .checkup-badge {
        position: static;
        max-width: 100%;
        margin-bottom: 20px;
        transform: none;
    }

    .checkup-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .checkup-block,
    .checkup-cta {
        margin-top: 40px;
    }

    .checkup-result {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .checkup-result-img {
        flex: 0 0 auto;
    }

    .checkup-cta {
        min-height: 0;
        padding: 32px 24px;
    }
}

@media (max-width: 767px) {
    .checkup-kicker,
    .checkup-title,
    .checkup-subtitle {
        font-size: 20px;
        line-height: 28px;
    }

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

    .checkup-card {
        min-height: 0;
    }

    .checkup-card p {
        padding-top: 16px;
    }

    .checkup-badge span {
        font-size: 16px;
    }

    .checkup-intro-img {
        width: 100%;
        max-width: 280px;
        height: 240px;
    }

    .checkup-result-img {
        width: 100%;
        max-width: 357px;
        transform: scale(.88);
        transform-origin: top center;
    }

    .checkup-result-list li {
        align-items: flex-start;
        gap: 14px;
    }
}
