* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: #f4f6f9;
    color: #172033;
}

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

.container {
    max-width: 1380px;
    margin: auto;
    padding: 0 22px;
}

/* ================= HEADER ================= */

.header {
    background: #101827;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-in {
    height: 76px;
    display: flex;
    align-items: center;
    gap: 35px;
}

.logo {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span {
    color: #54c7a8;
}

.header nav {
    display: flex;
    gap: 25px;
    font-size: 24px;
    color: #54c7a8;
    flex: 1;
}

.header nav a:hover {
    color: #fff;
}

.head-btn,
.btn {
    background: #54c7a8;
    color: #092019;
    border: 0;
    border-radius: 10px;
    padding: 13px 19px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

/* ================= LAYOUT ================= */

.layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 30px;
    padding-top: 25px;
    align-items: start;
}

.sidebar.left {
    grid-column: 1;
}

.content {
    grid-column: 2;
    min-width: 0;
    width: 100%;
}

/* ================= SIDEBAR ================= */

.sidebar {
    background: #fff;
    border: 1px solid #e3e7ee;
    border-radius: 16px;
    padding: 18px;
    height: max-content;
    position: sticky;
    top: 100px;
}

.side-title {
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8b95a5;
    margin-bottom: 12px;
}

.sidebar > a {
    display: block;
    padding: 10px 8px;
    border-radius: 8px;
    font-size: 14px;
}

.sidebar > a:hover {
    background: #eef8f5;
    color: #087b62;
}

.mt {
    margin-top: 25px;
}

.quick {
    background: #101827;
    color: #fff;
    margin: -18px -18px 18px;
    padding: 18px;
    border-radius: 16px;
}

.quick .side-title {
    color: #9ba8bb;
}

.quick p {
    font-size: 14px;
    line-height: 1.5;
}

.full {
    width: 100%;
    text-align: center;
}

.note {
    font-size: 12px;
    line-height: 1.55;
    background: #f3f6f8;
    padding: 12px;
    border-radius: 10px;
    margin-top: 20px;
    color: #667085;
}

/* ================= HERO ================= */

.hero {
    background: #101827;
    color: #fff;
    border-radius: 20px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 35px;
    min-height: 390px;
    align-items: center;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 1.7px;
    font-weight: 900;
    color: #54c7a8;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.03;
    letter-spacing: -2px;
    margin: 0 0 18px;
    max-width: 680px;
}

.hero p {
    color: #b8c2d1;
    max-width: 650px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.ghost {
    background: transparent;
    color: #fff;
    border: 1px solid #465267;
}

.hero-card {
    background: #1b2638;
    border: 1px solid #2e3b50;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-card span {
    font-size: 13px;
    line-height: 1.5;
    color: #aeb9c9;
}

.shield {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #54c7a8;
    color: #092019;
    display: grid;
    place-items: center;
    font-size: 24px;
    font-weight: 900;
}

/* ================= SECTIONS ================= */

.section {
    padding: 55px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 24px;
}

.section h2,
.info-grid h2,
.order h2 {
    font-size: 32px;
    letter-spacing: -1px;
    margin: 5px 0 0;
}

.section-head > a {
    color: #087b62;
    font-weight: 800;
    font-size: 14px;
}

/* ================= PRODUCTS ================= */

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

.products article {
    background: #fff;
    border: 1px solid #e3e7ee;
    border-radius: 15px;
    padding: 14px;
}

.pic {
    height: 145px;
    border-radius: 11px;
    background: #e9eef4;
    display: grid;
    place-items: center;
    font-size: 42px;
    font-weight: 900;
    color: #c2cad5;
}

.p2 {
    background: #e7f5f0;
}

.p3 {
    background: #eef0f8;
}

.p4 {
    background: #f3eee7;
}

.products h3 {
    margin: 17px 5px 8px;
    font-size: 18px;
}

.products p {
    font-size: 13px;
    line-height: 1.55;
    color: #6b7483;
    margin: 0 5px 15px;
}

.products button {
    border: 0;
    background: #edf2f4;
    border-radius: 8px;
    padding: 10px 13px;
    font-weight: 800;
    cursor: pointer;
}

/* ================= INFO ================= */

.info-grid {
    background: #fff;
    border-radius: 18px;
    padding: 38px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    border: 1px solid #e3e7ee;
}

.info-grid p {
    color: #687385;
    line-height: 1.65;
}

.checks {
    display: grid;
    gap: 12px;
}

.checks div {
    padding: 17px;
    background: #f5f8f9;
    border-radius: 10px;
    font-weight: 700;
}

/* ================= STEPS ================= */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 25px;
}

.steps div {
    background: #fff;
    border: 1px solid #e3e7ee;
    border-radius: 13px;
    padding: 22px;
}

.steps b {
    display: block;
    color: #54a88f;
    font-size: 24px;
    margin-bottom: 30px;
}

.steps span {
    font-weight: 800;
    font-size: 14px;
}

/* ================= ORDER ================= */

.order {
    background: #101827;
    color: #fff;
    border-radius: 18px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 55px;
}

.order p {
    color: #b9c2d0;
    line-height: 1.6;
}

.order form {
    display: grid;
    gap: 10px;
}

.order input,
.order textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #344155;
    background: #182234;
    color: #fff;
    border-radius: 9px;
    font: inherit;
}

.order textarea {
    min-height: 95px;
    resize: vertical;
}

.order small {
    color: #8490a2;
}

/* ================= FAQ ================= */

.faq details {
    background: #fff;
    border: 1px solid #e3e7ee;
    border-radius: 11px;
    padding: 18px;
    margin: 10px 0;
}

.faq summary {
    font-weight: 800;
    cursor: pointer;
}

.faq p {
    color: #687385;
    line-height: 1.6;
}

/* ================= FOOTER ================= */

footer {
    border-top: 1px solid #e1e5eb;
}

.foot {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #7d8796;
    font-size: 12px;
}

/* ================= MODAL ================= */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: #101827aa;
    z-index: 50;
    place-items: center;
    padding: 20px;
}

.modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    max-width: 450px;
    width: 100%;
    position: relative;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    border: 0;
    background: none;
    font-size: 28px;
    cursor: pointer;
}

/* ================= CONTENT ================= */

.content h1,
.content h2,
.content h3,
.content p,
.content ul,
.content ol {
    max-width: 100%;
}

/* ================= TABLET ================= */

@media (max-width: 1050px) {

    .layout {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 20px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero {
        padding: 35px;
        grid-template-columns: 1fr 220px;
    }
}

/* ================= MOBILE ================= */

@media (max-width: 760px) {

    .header nav {
        display: none;
    }

    .header-in {
        justify-content: space-between;
    }

    .layout {
        display: block;
        padding-top: 18px;
    }

    .sidebar.left {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3px;
        position: static;
        margin-bottom: 18px;
    }

    .sidebar.left .side-title {
        grid-column: 1 / -1;
        margin-top: 0;
    }

    .content {
        width: 100%;
    }

    .hero {
        padding: 30px 22px;
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 35px;
    }

    .hero-card {
        display: none;
    }

    .products,
    .info-grid,
    .order {
        grid-template-columns: 1fr;
    }

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

    .section {
        padding: 38px 0;
    }

    .order {
        padding: 28px;
        gap: 25px;
    }

    .foot {
        height: auto;
        padding: 25px 22px;
        display: grid;
        gap: 12px;
    }
}

/* ================= SMALL MOBILE ================= */

@media (max-width: 480px) {

    .container {
        padding: 0 14px;
    }

    .sidebar.left {
        grid-template-columns: 1fr;
    }

    .sidebar.left .side-title {
        grid-column: 1;
    }

    .hero {
        border-radius: 15px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

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

    .info-grid {
        padding: 25px;
    }
}

.steps-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.step-card {
    position: relative;
    min-height: 260px;
    padding: 26px;
    background: #101827;
    border: 1px solid #273244;
    border-radius: 16px;
    overflow: hidden;
    transition: transform .25s ease,
                border-color .25s ease,
                box-shadow .25s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: #54c7a8;
    box-shadow: 0 15px 35px rgba(0,0,0,.18);
}

.step-number {
    position: absolute;
    top: 18px;
    right: 22px;
    color: #54c7a8;
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
}

.step-line {
    width: 45px;
    height: 2px;
    background: #54c7a8;
    margin-bottom: 25px;
}

.step-icon {
    width: 52px;
    height: 52px;
    border: 1px solid #54c7a8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #54c7a8;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 24px;
}

.step-card h3 {
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 10px;
}

.step-card p {
    color: #9ba8bb;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    max-width: 270px;
}

/* Декоративный мятный элемент */

.step-card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -75px;
    bottom: -75px;
    border: 1px solid #54c7a8;
    border-radius: 50%;
    opacity: .12;
}

/* Планшет */

@media (max-width: 900px) {
    .steps-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Телефон */

@media (max-width: 520px) {
    .steps-6 {
        grid-template-columns: 1fr;
    }

    .step-card {
        min-height: 220px;
    }

    .step-number {
        font-size: 32px;
    }
}

/* =========================================================
   CATALOG / PRODUCT LIST
   ========================================================= */

.product-list {
    width: 100%;
    margin: 25px 0 45px;
}

.product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 68px;

    margin: 0 0 12px;
    padding: 12px 14px 12px 20px;

    box-sizing: border-box;

    background: #fff;
    border: 1px solid #e4e8ec;
    border-radius: 8px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.product-row:hover {
    border-color: #54c7a8;
    box-shadow: 0 6px 20px rgba(16, 24, 39, .07);
    transform: translateY(-1px);
}


/* Название документа */

.product-row-name {
    flex: 1;
    min-width: 0;

    padding-right: 25px;

    color: #101827;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
}


/* Кнопка */

.product-row-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    min-width: 125px;
    height: 42px;

    padding: 0 20px;

    box-sizing: border-box;

    background: #54c7a8;
    color: #101827;

    border: 1px solid #54c7a8;
    border-radius: 6px;

    text-decoration: none;
    text-align: center;

    font-size: 14px;
    line-height: 1;
    font-weight: 700;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.product-row-btn:hover {
    background: #101827;
    border-color: #101827;
    color: #fff;
    text-decoration: none;
}


/* =========================================================
   CATALOG MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .product-list {
        margin-top: 20px;
        margin-bottom: 35px;
    }

.product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 68px;
    margin-bottom: 12px;
    padding: 12px 14px 12px 20px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e4e8ec;
    border-radius: 8px;
}

.product-row-name {
    flex: 1;
    min-width: 0;
    padding-right: 25px;
    color: #101827;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
}

.product-row-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 125px;
    height: 42px;
    padding: 0 20px;
    box-sizing: border-box;
    background: #54c7a8;
    color: #101827;
    border: 1px solid #54c7a8;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.product-row-btn:hover {
    background: #101827;
    border-color: #101827;
    color: #fff;
}