:root {
    --yellow: #FFCC00;
    --yellow-dark: #F5B800;
    --black: #21201F;
    --grey: #6C6B69;
    --bg: #FFFFFF;
    --bg-soft: #FAF7F0;
    --radius: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'YS Text', 'Helvetica Neue', Arial, sans-serif;
    color: var(--black);
    background: var(--bg);
    line-height: 1.55;
}

section {
    scroll-margin-top: 80px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- MENU ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #F0EDE4;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--black);
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 3px 10px rgba(255, 204, 0, .45);
}

.logo-text {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -.3px;
}

.logo-text span {
    color: var(--grey);
    font-weight: 500;
}

nav ul {
    display: flex;
    gap: 6px;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: var(--black);
    font-size: 14.5px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 14px;
    transition: background .2s;
}

nav a:hover {
    background: #FFF6D6;
}

.nav-cta {
    background: var(--yellow);
    padding: 10px 22px;
    border-radius: 16px;
    font-weight: 700;
    text-decoration: none;
    color: var(--black);
    transition: transform .15s, box-shadow .15s;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 204, 0, .5);
}

#burger {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
}

@media (max-width: 920px) {
    nav ul {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 12px;
        border-bottom: 1px solid #eee;
    }

    nav ul.open {
        display: flex;
    }

    #burger {
        display: block;
    }

    .nav-cta {
        display: none;
    }
}

/* ---------- HERO ---------- */
.hero {
    background: linear-gradient(135deg, #FFDE59 0%, #FFCC00 45%, #F5A623 100%);
    overflow: hidden;
    position: relative;
}

.hero-inner {
    display: grid;
    grid-template-columns:1.1fr .9fr;
    gap: 40px;
    align-items: center;
    padding: 70px 20px 90px;
    max-width: 1140px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.08;
}

.hero p {
    font-size: 19px;
    margin: 18px 0 30px;
    max-width: 480px;
}

.btn {
    display: inline-block;
    background: var(--black);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    padding: 16px 34px;
    border-radius: 16px;
    transition: transform .15s, box-shadow .15s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}

.btn-yellow {
    background: var(--yellow);
    color: var(--black);
}

.btn-yellow:hover {
    box-shadow: 0 8px 24px rgba(245, 184, 0, .45);
}

.hero-note {
    font-size: 13.5px;
    opacity: .75;
    margin-top: 14px;
}

.hero-cards {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-card {
    background: rgba(255, 255, 255, .65);
    border-radius: 16px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
}

/* курьер — SVG-иллюстрация */
.hero-art {
    display: flex;
    justify-content: center;
}

.hero-art svg {
    width: 100%;
    max-width: 460px;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .18));
}

@media (max-width: 920px) {
    .hero-inner {
        grid-template-columns:1fr;
        padding: 48px 20px 60px;
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cards {
        justify-content: center;
    }
}

/* ---------- SECTION BASE ---------- */
.section {
    padding: 76px 0;
}

.section.soft {
    background: var(--bg-soft);
}

.section-title {
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 900;
    letter-spacing: -.5px;
    margin-bottom: 14px;
}

.section-sub {
    color: var(--grey);
    font-size: 17px;
    max-width: 640px;
    margin-bottom: 40px;
}

/* ---------- ADVANTAGES ---------- */
.adv-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 20px;
}

.adv {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid #F0EDE4;
    transition: transform .2s, box-shadow .2s;
}

.adv:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(33, 32, 31, .08);
}

.adv-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #FFF3C4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}

.adv h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
}

.adv p {
    font-size: 15px;
    color: var(--grey);
}

@media (max-width: 920px) {
    .adv-grid {
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width: 640px) {
    .adv-grid {
        grid-template-columns:1fr;
    }
}

/* ---------- CALCULATOR ---------- */
.calc {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(33, 32, 31, .10);
    padding: 36px;
    display: grid;
    grid-template-columns:1.15fr .85fr;
    gap: 40px;
}

.calc h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 22px 0 6px;
}

.calc h3:first-of-type {
    margin-top: 0;
}

.chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chip {
    padding: 10px 18px;
    border-radius: 14px;
    border: 2px solid #EEE9DD;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.chip.active {
    background: var(--black);
    color: #fff;
    border-color: var(--black);
}

select {
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    border: 2px solid #EEE9DD;
    font-size: 15.5px;
    font-weight: 600;
    background: #fff;
    cursor: pointer;
}

.slider-row {
    margin-top: 20px;
}

.slider-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.slider-head b {
    font-size: 16px;
}

.slider-val {
    font-weight: 800;
    color: var(--yellow-dark);
    font-size: 17px;
}

input[type=range] {
    width: 100%;
    accent-color: var(--yellow-dark);
    height: 30px;
    cursor: pointer;
}

.result {
    background: linear-gradient(150deg, #21201F, #3A3835);
    color: #fff;
    border-radius: 22px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.result .big {
    font-size: clamp(38px, 5vw, 52px);
    font-weight: 900;
    color: var(--yellow);
    letter-spacing: -1px;
}

.result .cap {
    font-size: 14px;
    opacity: .7;
    margin-top: 4px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-size: 15px;
}

.result-row span:last-child {
    font-weight: 700;
}

.result .btn {
    margin-top: 26px;
}

.calc-note {
    font-size: 12.5px;
    color: var(--grey);
    margin-top: 16px;
}

@media (max-width: 920px) {
    .calc {
        grid-template-columns:1fr;
        padding: 24px;
    }
}

/* ---------- STEPS ---------- */
.steps {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 20px;
}

.step {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid #F0EDE4;
    position: relative;
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--yellow);
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: 14.5px;
    color: var(--grey);
}

.steps-cta {
    text-align: center;
    margin-top: 44px;
}

@media (max-width: 920px) {
    .steps {
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width: 640px) {
    .steps {
        grid-template-columns:1fr;
    }
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 780px;
}

details {
    background: #fff;
    border: 1px solid #F0EDE4;
    border-radius: 18px;
    margin-bottom: 14px;
    overflow: hidden;
}

summary {
    padding: 20px 24px;
    font-weight: 700;
    font-size: 16.5px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 24px;
    color: var(--yellow-dark);
    font-weight: 700;
    transition: transform .2s;
}

details[open] summary::after {
    transform: rotate(45deg);
}

details p {
    padding: 0 24px 20px;
    color: var(--grey);
    font-size: 15px;
}

.faq-cta {
    margin-top: 36px;
}

/* ---------- FINAL CTA + FOOTER ---------- */
.final {
    background: linear-gradient(135deg, #FFDE59, #FFCC00 60%, #F5A623);
    text-align: center;
    padding: 80px 20px;
}

.final h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    letter-spacing: -.5px;
    margin-bottom: 14px;
}

.final p {
    font-size: 18px;
    margin-bottom: 30px;
}

footer {
    background: var(--black);
    color: #B9B7B3;
    padding: 52px 0 40px;
}

.foot-grid {
    display: grid;
    grid-template-columns:1.4fr 1fr 1fr;
    gap: 40px;
}

.foot-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 19px;
    margin-bottom: 14px;
}

.foot-logo .logo-mark {
    box-shadow: none;
}

footer h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 14px;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 9px;
}

footer a {
    color: #B9B7B3;
    text-decoration: none;
    font-size: 14.5px;
}

footer a:hover {
    color: var(--yellow);
}

.foot-note {
    font-size: 12.5px;
    margin-top: 34px;
    opacity: .6;
}

@media (max-width: 720px) {
    .foot-grid {
        grid-template-columns:1fr;
        gap: 30px;
    }
}

/* Фото в баннере */
.hero-photo {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(33, 32, 31, .28);
    background: #fff;
    max-width: 560px;
}

.hero-photo img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.hero-photo figcaption {
    padding: 10px 14px;
    font-size: 12.5px;
    color: #6B6B68;
    background: #fff;
}

/* Галерея */
.gallery {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 14px;
}

.gallery figure {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(33, 32, 31, .08);
    transition: transform .25s;
}

.gallery figure:hover {
    transform: translateY(-4px);
}

.gallery img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.gallery figcaption {
    padding: 10px 12px;
    font-size: 13px;
    color: #6B6B68;
}

.photo-credit {
    font-size: 12px;
    color: #9A9893;
    margin-top: 12px;
    text-align: center;
}

@media (max-width: 900px) {
    .gallery {
        grid-template-columns:repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .gallery img {
        height: 170px;
    }
}
