.pv-rastochka,
.pv-rastochka * {
    box-sizing: border-box;
}

.pv-rastochka {
    --pv-blue: #001d36;
    --pv-blue-deep: #000d1d;
    --pv-text: #071426;
    --pv-muted: #566575;
    --pv-line: #dce4ec;
    --pv-soft: #f5f7fa;
    --pv-yellow: #ffb400;
    --pv-yellow-hover: #e8a300;
    --pv-white: #ffffff;
    color: var(--pv-text);
    background: var(--pv-white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.42;
    letter-spacing: 0;
}

.pv-rastochka a {
    color: inherit;
    text-decoration: none;
}

.pv-rastochka img {
    display: block;
    max-width: 100%;
}

.pv-rastochka h1,
.pv-rastochka h2,
.pv-rastochka h3,
.pv-rastochka p {
    margin-top: 0;
}

.pv-rastochka h1 {
    max-width: 690px;
    margin-bottom: 18px;
    color: var(--pv-white);
    font-size: clamp(34px, 4.9vw, 66px);
    font-weight: 900;
    line-height: 0.99;
    text-transform: uppercase;
}

.pv-rastochka h2 {
    margin-bottom: 18px;
    color: var(--pv-text);
    font-size: clamp(23px, 2.4vw, 34px);
    font-weight: 900;
    line-height: 1.12;
    text-align: center;
    text-transform: uppercase;
}

.pv-rastochka h3 {
    font-size: 17px;
    font-weight: 900;
    line-height: 1.18;
}

.pv-rastochka__hero {
    color: var(--pv-white);
    background:
        linear-gradient(90deg, rgba(0, 17, 34, 0.98) 0%, rgba(0, 23, 42, 0.95) 38%, rgba(0, 20, 36, 0.64) 66%, rgba(0, 12, 22, 0.2) 100%),
        url("../img/hero-machine.jpg") right center / auto 100% no-repeat,
        var(--pv-blue-deep);
}

.pv-rastochka__top {
    display: grid;
    grid-template-columns: minmax(190px, 250px) 1fr minmax(190px, 250px);
    gap: 28px;
    align-items: center;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 18px 0 10px;
}

.pv-rastochka__logo {
    display: inline-flex;
    flex-direction: column;
    color: var(--pv-white);
    font-weight: 900;
    line-height: 1;
}

.pv-rastochka__logo strong {
    font-size: 22px;
}

.pv-rastochka__logo strong span {
    color: var(--pv-yellow);
}

.pv-rastochka__logo small {
    margin-top: 4px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.pv-rastochka__menu {
    display: flex;
    justify-content: center;
    gap: 34px;
    color: rgba(255, 255, 255, 0.96);
    font-size: 14px;
    font-weight: 800;
}

.pv-rastochka__menu a:hover,
.pv-rastochka__menu a:focus-visible {
    color: var(--pv-yellow);
}

.pv-rastochka__phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: var(--pv-white);
    line-height: 1.15;
}

.pv-rastochka__phone strong {
    font-size: 22px;
    font-weight: 900;
}

.pv-rastochka__phone span {
    font-size: 11px;
    font-weight: 700;
}

.pv-rastochka__hero-inner {
    display: flex;
    align-items: center;
    min-height: 505px;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 44px 0 54px;
}

.pv-rastochka__hero-copy {
    width: min(650px, 100%);
}

.pv-rastochka__lead {
    max-width: 610px;
    margin-bottom: 12px;
    color: var(--pv-white);
    font-size: 20px;
    font-weight: 800;
}

.pv-rastochka__hero-copy p:not(.pv-rastochka__lead) {
    max-width: 620px;
    margin-bottom: 17px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    font-weight: 600;
}

.pv-rastochka__checks,
.pv-rastochka__data-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pv-rastochka__checks {
    display: grid;
    gap: 8px;
    margin-bottom: 26px;
    color: var(--pv-white);
    font-size: 15px;
    font-weight: 800;
}

.pv-rastochka__checks li,
.pv-rastochka__data-list li {
    position: relative;
    padding-left: 27px;
}

.pv-rastochka__checks li::before,
.pv-rastochka__data-list li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    color: var(--pv-blue);
    background: var(--pv-yellow);
    content: "✓";
    font-size: 12px;
    font-weight: 900;
}

.pv-rastochka__actions,
.pv-rastochka__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.pv-rastochka__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 2px solid transparent;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.pv-rastochka__btn:hover,
.pv-rastochka__btn:focus-visible {
    transform: translateY(-1px);
}

.pv-rastochka__btn--primary {
    color: var(--pv-text);
    background: var(--pv-yellow);
    border-color: var(--pv-yellow);
}

.pv-rastochka__btn--primary:hover,
.pv-rastochka__btn--primary:focus-visible {
    background: var(--pv-yellow-hover);
    border-color: var(--pv-yellow-hover);
}

.pv-rastochka__btn--ghost {
    color: var(--pv-white);
    background: rgba(0, 15, 29, 0.55);
    border-color: rgba(255, 255, 255, 0.7);
}

.pv-rastochka__section,
.pv-rastochka__split {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.pv-rastochka__section {
    padding: 28px 0 0;
}

.pv-rastochka__need-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.pv-rastochka__need-card {
    min-height: 178px;
    padding: 18px 14px 16px;
    border: 1px solid var(--pv-line);
    border-radius: 8px;
    background: var(--pv-white);
    box-shadow: 0 8px 22px rgba(5, 18, 34, 0.05);
    text-align: center;
}

.pv-rastochka__need-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    color: var(--pv-blue);
    font-size: 40px;
    line-height: 1;
}

.pv-rastochka__need-card h3 {
    margin-bottom: 8px;
    font-size: 14px;
}

.pv-rastochka__need-card p {
    margin-bottom: 0;
    color: var(--pv-muted);
    font-size: 12px;
    font-weight: 700;
}

.pv-rastochka__work-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.pv-rastochka__work-card {
    overflow: hidden;
    border-radius: 8px;
    color: var(--pv-white);
    background: var(--pv-blue-deep);
    box-shadow: 0 10px 24px rgba(5, 18, 34, 0.14);
}

.pv-rastochka__work-img {
    width: 100%;
    height: 86px;
    object-fit: cover;
}

.pv-rastochka__work-body {
    min-height: 88px;
    padding: 15px 18px 17px;
    background: linear-gradient(180deg, #06243e 0%, #001427 100%);
}

.pv-rastochka__work-body h3 {
    margin-bottom: 5px;
    color: var(--pv-white);
    font-size: 18px;
}

.pv-rastochka__work-body p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 700;
}

.pv-rastochka__process {
    padding-top: 34px;
}

.pv-rastochka__process-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--pv-line);
    border-radius: 8px;
    background: var(--pv-white);
    box-shadow: 0 8px 26px rgba(5, 18, 34, 0.06);
}

.pv-rastochka__step {
    min-height: 190px;
}

.pv-rastochka__step-number {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
    border-radius: 50%;
    color: var(--pv-white);
    background: var(--pv-blue);
    font-size: 14px;
    font-weight: 900;
}

.pv-rastochka__step-icon {
    display: block;
    margin-bottom: 12px;
    color: var(--pv-yellow);
    font-size: 48px;
    line-height: 1;
}

.pv-rastochka__step h3 {
    margin-bottom: 8px;
    font-size: 14px;
}

.pv-rastochka__step p {
    margin-bottom: 0;
    color: var(--pv-muted);
    font-size: 12px;
    font-weight: 700;
}

.pv-rastochka__split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    padding-top: 24px;
}

.pv-rastochka__panel {
    padding: 22px;
    border: 1px solid var(--pv-line);
    border-radius: 8px;
    background: var(--pv-white);
    box-shadow: 0 8px 28px rgba(5, 18, 34, 0.06);
}

.pv-rastochka__panel h2 {
    margin-bottom: 16px;
    font-size: 25px;
    text-align: left;
}

.pv-rastochka__specs {
    margin: 0;
    border: 1px solid var(--pv-line);
    border-radius: 6px;
    overflow: hidden;
}

.pv-rastochka__specs div {
    display: grid;
    grid-template-columns: 36% 1fr;
    min-height: 42px;
    border-bottom: 1px solid var(--pv-line);
}

.pv-rastochka__specs div:last-child {
    border-bottom: 0;
}

.pv-rastochka__specs dt,
.pv-rastochka__specs dd {
    margin: 0;
    padding: 11px 14px;
    font-size: 14px;
}

.pv-rastochka__specs dt {
    font-weight: 900;
}

.pv-rastochka__specs dd {
    color: var(--pv-muted);
    border-left: 1px solid var(--pv-line);
    font-weight: 700;
}

.pv-rastochka__note {
    margin: 16px 0 0;
    padding: 16px 18px;
    border-radius: 6px;
    color: #3a5268;
    background: var(--pv-soft);
    font-size: 13px;
    font-weight: 700;
}

.pv-rastochka__case-list {
    display: grid;
    gap: 14px;
}

.pv-rastochka__case {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 15px;
    align-items: start;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--pv-line);
}

.pv-rastochka__case:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.pv-rastochka__case img {
    width: 150px;
    height: 102px;
    border-radius: 6px;
    object-fit: cover;
}

.pv-rastochka__case h3 {
    margin-bottom: 8px;
    font-size: 16px;
}

.pv-rastochka__case p {
    margin-bottom: 3px;
    color: var(--pv-muted);
    font-size: 13px;
    font-weight: 700;
}

.pv-rastochka__case strong {
    color: var(--pv-text);
}

.pv-rastochka__data-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 24px;
    font-size: 14px;
    font-weight: 800;
}

.pv-rastochka__form-placeholder {
    display: grid;
    gap: 11px;
}

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

.pv-rastochka__field,
.pv-rastochka__textarea {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 11px;
    border: 1px solid #cbd5df;
    border-radius: 4px;
    color: #7b8794;
    background: #fbfcfd;
    font-size: 14px;
    font-weight: 700;
}

.pv-rastochka__textarea {
    min-height: 82px;
    align-items: flex-start;
}

.pv-rastochka__todo {
    padding: 14px 16px;
    border: 1px dashed #9ca9b5;
    border-radius: 6px;
    color: #3a5268;
    background: #f8fafc;
    font-size: 13px;
    font-weight: 800;
}

.pv-rastochka__faq {
    padding-top: 26px;
    padding-bottom: 20px;
}

.pv-rastochka__faq-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.pv-rastochka__faq-item {
    min-height: 76px;
    border: 1px solid var(--pv-line);
    border-radius: 8px;
    background: var(--pv-white);
    box-shadow: 0 8px 24px rgba(5, 18, 34, 0.05);
}

.pv-rastochka__faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 76px;
    padding: 14px 42px 14px 18px;
    cursor: pointer;
    color: var(--pv-text);
    font-size: 13px;
    font-weight: 900;
    list-style: none;
}

.pv-rastochka__faq-item summary::-webkit-details-marker {
    display: none;
}

.pv-rastochka__faq-item summary::after {
    position: absolute;
    right: 17px;
    color: var(--pv-blue);
    content: "+";
    font-size: 22px;
    font-weight: 900;
}

.pv-rastochka__faq-item[open] summary::after {
    content: "-";
}

.pv-rastochka__faq-item p {
    margin: -2px 18px 16px;
    color: var(--pv-muted);
    font-size: 13px;
    font-weight: 700;
}

.pv-rastochka__cta {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    width: 100%;
    margin-top: 12px;
    padding: 34px max(24px, calc((100vw - 1180px) / 2));
    color: var(--pv-white);
    background: linear-gradient(90deg, var(--pv-blue-deep), var(--pv-blue));
}

.pv-rastochka__cta h2 {
    max-width: 700px;
    margin-bottom: 8px;
    color: var(--pv-white);
    font-size: clamp(26px, 3vw, 38px);
    text-align: left;
}

.pv-rastochka__cta p {
    max-width: 740px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .pv-rastochka__top {
        grid-template-columns: 1fr auto;
    }

    .pv-rastochka__menu {
        display: none;
    }

    .pv-rastochka__need-grid,
    .pv-rastochka__faq-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pv-rastochka__work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pv-rastochka__process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .pv-rastochka__hero {
        background:
            linear-gradient(90deg, rgba(0, 17, 34, 0.98), rgba(0, 23, 42, 0.9)),
            url("../img/hero-machine.jpg") center / cover no-repeat,
            var(--pv-blue-deep);
    }

    .pv-rastochka__split,
    .pv-rastochka__cta {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .pv-rastochka h1 {
        font-size: clamp(31px, 9vw, 45px);
    }

    .pv-rastochka h2 {
        font-size: 22px;
    }

    .pv-rastochka__top,
    .pv-rastochka__hero-inner,
    .pv-rastochka__section,
    .pv-rastochka__split {
        width: min(100% - 28px, 1180px);
    }

    .pv-rastochka__top {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        padding-top: 14px;
    }

    .pv-rastochka__phone strong {
        font-size: 16px;
    }

    .pv-rastochka__phone span {
        display: none;
    }

    .pv-rastochka__hero-inner {
        min-height: auto;
        padding: 46px 0 48px;
    }

    .pv-rastochka__lead {
        font-size: 17px;
    }

    .pv-rastochka__actions,
    .pv-rastochka__cta-actions {
        display: grid;
    }

    .pv-rastochka__btn {
        width: 100%;
    }

    .pv-rastochka__need-grid,
    .pv-rastochka__work-grid,
    .pv-rastochka__process-grid,
    .pv-rastochka__faq-grid {
        grid-template-columns: 1fr;
    }

    .pv-rastochka__need-card {
        min-height: auto;
    }

    .pv-rastochka__work-img {
        height: 118px;
    }

    .pv-rastochka__process-grid {
        padding: 16px;
    }

    .pv-rastochka__step {
        min-height: auto;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--pv-line);
    }

    .pv-rastochka__step:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .pv-rastochka__specs div,
    .pv-rastochka__data-list,
    .pv-rastochka__form-grid,
    .pv-rastochka__case {
        grid-template-columns: 1fr;
    }

    .pv-rastochka__specs dd {
        border-top: 1px solid var(--pv-line);
        border-left: 0;
    }

    .pv-rastochka__case img {
        width: 100%;
        height: 170px;
    }

    .pv-rastochka__panel {
        padding: 18px;
    }

    .pv-rastochka__panel h2 {
        font-size: 22px;
    }

    .pv-rastochka__cta {
        padding: 28px 14px;
    }
}

@media (max-width: 420px) {
    .pv-rastochka__logo strong {
        font-size: 18px;
    }

    .pv-rastochka__phone strong {
        font-size: 14px;
    }
}
