/* ============================================================
   Страница /delivery2 — вёрстка по макету Figma (node 2212-5700)
   Дизайн-скейл 1920, контентная колонка 1160px по центру.
   Бренд-цвета: #F07801 (оранж), #1E1808 (тёмный), #FFEDD5 (пич)
   ============================================================ */

.dlv2 {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1E1808;
    line-height: 1.5;
    overflow-x: hidden;
}
.dlv2 *, .dlv2 *::before, .dlv2 *::after { box-sizing: border-box; }

.dlv2-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Вертикальные отступы между секциями = 104px по макету */
.dlv2-sec { padding: 52px 0; }
.dlv2-sec:first-child { padding-top: 40px; }

.dlv2-h2 {
    font-weight: 700;
    font-size: 45px;
    line-height: 1.15;
    color: #1E1808;
    margin: 0;
}
.dlv2-h2--center { text-align: center; }
.dlv2-orange { color: #F07801; }
.dlv2-muted { color: rgba(30,24,8,0.5); }
.dlv2-link { color: #F07801; text-decoration: underline; }

.dlv2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 32px 26px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: filter .15s ease;
}
.dlv2-btn--primary { background: #F07801; color: #fff; }
.dlv2-btn--primary:hover { filter: brightness(1.06); color: #fff; }

/* ================= SECTION 1: HERO ================= */
.dlv2-hero__head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 28px;
}
.dlv2-hero__title {
    font-weight: 700;
    font-size: 80px;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
    color: #1E1808;
}
.dlv2-hero__script {
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    font-size: 72px;
    line-height: 1;
    color: #F07801;
}
.dlv2-hero__bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 64px;
    align-items: flex-start;
}
.dlv2-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFEDD5;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 15px;
    color: #1E1808;
}
.dlv2-chip__dot {
    width: 10px; height: 10px; min-width: 10px;
    border-radius: 50%;
    background: #F07801;
}
.dlv2-chip b { font-weight: 700; }

/* ---- Этапы работы ---- */
.dlv2-steps { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.dlv2-steps .dlv2-h2 { align-self: flex-start; }
.dlv2-steps__row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 24px;
    width: 100%;
}
.dlv2-step { display: flex; flex-direction: column; gap: 16px; }
.dlv2-step__img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #FFEDD5;
    border-radius: 10px;
    overflow: hidden;
}
.dlv2-step__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dlv2-step__badge {
    position: absolute;
    top: 10px; left: 10px;
    background: #1E1808;
    color: #fff;
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
    padding: 8px 10px;
    border-radius: 100px;
}
.dlv2-step__title { font-weight: 700; font-size: 20px; line-height: 1.2; color: #1E1808; }
.dlv2-step__desc { font-weight: 400; font-size: 16px; line-height: 1.35; color: #666666; }

/* ================= SECTION 2: ОПЛАТА ================= */
.dlv2-pay .dlv2-h2 { margin-bottom: 40px; }
.dlv2-pay__row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}
.dlv2-paycard {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fff;
    border: 1px solid rgba(48,28,8,0.1);
    border-radius: 10px;
    padding: 20px;
    padding-top: 44px;
    overflow: hidden;
}
.dlv2-paycard__tab {
    position: absolute;
    top: 11px; left: 0;
    background: #F07801;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    padding: 8px 16px;
    border-radius: 0 5px 5px 0;
}
.dlv2-paycard__title { font-weight: 700; font-size: 20px; line-height: 1.25; color: #1E1808; }
.dlv2-paycard__body { font-weight: 400; font-size: 16px; line-height: 1.5; color: #1E1808; }
.dlv2-paycard__note {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FFEDD5;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 1.4;
    margin-top: auto;
}
.dlv2-paycard__note .dlv2-shield { flex: 0 0 32px; }
.dlv2-paycard__note b { font-weight: 700; }

.dlv2-paycard--dark {
    background: #1E1808;
    border-color: #1E1808;
    color: #fff;
    padding-top: 24px;
    gap: 24px;
}
.dlv2-paycard--dark .dlv2-paycard__title { color: #fff; font-size: 28px; }
.dlv2-paycard--dark .dlv2-paycard__body { color: #fff; }
.dlv2-paylist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dlv2-paylist li {
    position: relative;
    padding-left: 24px;
    font-size: 16px;
    line-height: 1.4;
    color: #fff;
}
.dlv2-paylist li::before {
    content: "";
    position: absolute;
    left: 0; top: 6px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #F07801;
}

/* ================= SECTION 3: УПАКОВКА ================= */
.dlv2-pack .dlv2-h2 { margin-bottom: 12px; }
.dlv2-pack__sub {
    text-align: center;
    font-size: 20px;
    color: #666666;
    margin-bottom: 40px;
}
.dlv2-pack__grid {
    display: grid;
    grid-template-columns: 370px 1fr 370px;
    align-items: center;
    gap: 24px;
}
.dlv2-pack__col { display: flex; flex-direction: column; gap: 24px; }
.dlv2-pack__center { display: flex; align-items: center; justify-content: center; }
.dlv2-pack__center img {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #FEF8F2;
    border-radius: 50%;
}
.dlv2-packcard {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    border: 1px solid rgba(48,28,8,0.1);
    border-radius: 10px;
    padding: 20px;
}
.dlv2-packcard__ic { width: 64px; height: 64px; }
.dlv2-packcard__ic img { width: 100%; height: 100%; object-fit: contain; }
.dlv2-packcard__title { font-weight: 700; font-size: 20px; line-height: 1.25; }
.dlv2-packcard__desc { font-weight: 400; font-size: 16px; line-height: 1.4; color: #666666; }
.dlv2-packcard--orange { background: #F07801; border-color: #F07801; }
.dlv2-packcard--orange .dlv2-packcard__title,
.dlv2-packcard--orange .dlv2-packcard__desc { color: #fff; }
.dlv2-packcard--tabbed { padding-top: 20px; }
.dlv2-packcard--tabbed .dlv2-packcard__tab {
    position: absolute;
    top: 11px; right: 0;
    background: #F07801;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    padding: 8px 16px;
    border-radius: 5px 0 0 5px;
}

/* ================= SECTION 4: СПОСОБЫ ДОСТАВКИ ================= */
.dlv2-ship .dlv2-h2 { margin-bottom: 40px; }
.dlv2-ship__table { display: flex; flex-direction: column; gap: 24px; }
.dlv2-variant {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(48,28,8,0.1);
}
.dlv2-variant__left { flex: 0 0 300px; max-width: 300px; }
.dlv2-variant__label { font-size: 14px; color: rgba(48,28,8,0.3); margin-bottom: 12px; }
.dlv2-variant__title { font-weight: 700; font-size: 28px; line-height: 1.2; }
.dlv2-variant__cols { flex: 1 1 auto; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 24px; }
.dlv2-variant__cap { font-size: 14px; color: rgba(48,28,8,0.3); margin-bottom: 8px; }
.dlv2-variant__val { font-weight: 700; font-size: 20px; line-height: 1.2; }
.dlv2-variant__small { font-size: 14px; line-height: 1.3; color: #666666; margin-top: 4px; }
.dlv2-variant__note { font-size: 16px; line-height: 1.5; color: #1E1808; }

/* Панель адресов */
.dlv2-addr {
    background: rgba(240,120,1,0.05);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.dlv2-addr__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.dlv2-addr__title { font-weight: 700; font-size: 20px; }
.dlv2-addr__maplink {
    display: inline-flex; align-items: center; gap: 6px;
    color: #F07801; font-size: 14px; text-decoration: none;
}
.dlv2-addr__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 32px; }
.dlv2-addr__col { display: flex; flex-direction: column; gap: 20px; }
.dlv2-addr__item { display: flex; flex-direction: column; gap: 4px; }
.dlv2-addr__metro { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #666666; }
.dlv2-mdot { width: 8px; height: 8px; min-width: 8px; border-radius: 50%; display: inline-block; }
.dlv2-addr__street { font-weight: 700; font-size: 16px; line-height: 1.3; color: #1E1808; }
.dlv2-addr__map { width: 100%; border-radius: 12px; overflow: hidden; line-height: 0; }
.dlv2-addr__map iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ================= SECTION 5: ВОЗВРАТ ================= */
.dlv2-return .dlv2-h2 { margin-bottom: 12px; }
.dlv2-return__sub { text-align: center; font-size: 20px; color: #666666; margin-bottom: 40px; }
.dlv2-return__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.dlv2-retcard {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fff;
    border: 1px solid rgba(48,28,8,0.1);
    border-radius: 10px;
    padding: 24px;
    height: 100%;
}
.dlv2-retcard__ic { width: 80px; height: 80px; }
.dlv2-retcard__ic img { width: 100%; height: 100%; object-fit: contain; }
.dlv2-retcard__title { font-weight: 700; font-size: 20px; line-height: 1.25; }
.dlv2-retcard__text { font-size: 16px; line-height: 1.5; margin: 0; }
.dlv2-retcard__text b { font-weight: 700; }
.dlv2-retlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.dlv2-retlist li {
    position: relative;
    padding-left: 28px;
    font-size: 16px;
    line-height: 1.5;
}
.dlv2-retlist li b { font-weight: 700; }
.dlv2-retlist li::before {
    content: "";
    position: absolute;
    left: 0; top: 3px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #F07801 url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6.2L5 8.5L9.5 3.5' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.dlv2-retnote {
    background: #FFEDD5;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 1.4;
    margin-top: auto;
}
.dlv2-retnote b { font-weight: 700; }

/* ================= SECTION 6: ЛАК / МЕССЕНДЖЕРЫ / ФОРМА ================= */
.dlv2-cta .dlv2-h2 { margin-bottom: 12px; }
.dlv2-cta__sub { text-align: center; font-size: 20px; color: #666666; margin-bottom: 40px; }
.dlv2-cta__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.dlv2-mess {
    background: #1E1808;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.dlv2-mess__title { font-weight: 700; font-size: 28px; color: #fff; }
.dlv2-mess__btns { display: flex; flex-direction: column; gap: 16px; margin-top: auto; }
.dlv2-mess__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 32px;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    transition: filter .15s ease;
}
.dlv2-mess__btn:hover { filter: brightness(1.08); color: #fff; }
.dlv2-mess__btn svg { flex: 0 0 auto; }

.dlv2-callback {
    background: #FFEDD5;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.dlv2-callback__title { font-weight: 700; font-size: 28px; line-height: 1.2; color: #1E1808; }
.dlv2-callback__sub { font-size: 16px; line-height: 1.5; color: #1E1808; }
.dlv2-callback__form { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.dlv2-callback__label { font-size: 14px; color: #333333; }
.dlv2-callback__input {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(48,28,8,0.1);
    border-radius: 10px;
    padding: 20px;
    font-size: 16px;
    color: #1E1808;
    font-family: inherit;
}
.dlv2-callback__input::placeholder { color: #666666; }
.dlv2-callback__policy {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(99,67,11,0.8);
    cursor: pointer;
}
.dlv2-callback__policy input { margin-top: 2px; }
.dlv2-callback__policy a { color: #F07801; text-decoration: underline; }
.dlv2-callback__form .dlv2-btn { width: 100%; }

/* ============================================================
   АДАПТИВ
   ============================================================ */

/* Планшет и маки 13" (контейнер 1160 уже вписывается в 1280/1440) */
@media (max-width: 1200px) {
    .dlv2-h2 { font-size: 38px; }
    .dlv2-hero__title { font-size: 60px; }
    .dlv2-hero__script { font-size: 56px; }
    .dlv2-steps__row { grid-template-columns: repeat(4, 1fr); }
    .dlv2-pack__grid { grid-template-columns: 300px 1fr 300px; }
    .dlv2-variant__title { font-size: 24px; }
    .dlv2-mess__title, .dlv2-callback__title { font-size: 24px; }
}

/* Планшет */
@media (max-width: 992px) {
    .dlv2-sec { padding: 40px 0; }
    .dlv2-h2 { font-size: 34px; }
    .dlv2-hero__title { font-size: 48px; }
    .dlv2-hero__script { font-size: 44px; }
    .dlv2-pay__row { grid-template-columns: 1fr; }
    .dlv2-paycard { padding-top: 44px; }
    .dlv2-pack__grid { grid-template-columns: 1fr; }
    .dlv2-pack__col { flex-direction: row; }
    .dlv2-pack__col .dlv2-packcard { flex: 1 1 0; }
    .dlv2-pack__center { order: -1; }
    .dlv2-pack__center img { max-width: 360px; }
    .dlv2-return__row { grid-template-columns: 1fr; }
    .dlv2-retcard { height: auto; }
    .dlv2-cta__row { grid-template-columns: 1fr; }
    .dlv2-variant { flex-direction: column; gap: 16px; }
    .dlv2-variant__left { flex-basis: auto; max-width: none; }
    .dlv2-variant__cols { grid-template-columns: 1fr 1fr; }
    .dlv2-variant__cell--wide { grid-column: 1 / -1; }
}

/* Мобайл */
@media (max-width: 768px) {
    .dlv2-container { padding: 0 16px; }
    .dlv2-sec { padding: 32px 0; }
    .dlv2-sec:first-child { padding-top: 24px; }
    .dlv2-h2 { font-size: 26px; }
    .dlv2-hero__title { font-size: 34px; }
    .dlv2-hero__script { font-size: 34px; }
    .dlv2-hero__bullets { margin-bottom: 40px; }
    .dlv2-chip { font-size: 14px; padding: 12px 14px; }
    .dlv2-steps__row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .dlv2-step__title { font-size: 17px; }
    .dlv2-step__desc { font-size: 14px; }
    .dlv2-btn { width: 100%; font-size: 16px; padding: 20px 24px; }
    .dlv2-pack__col { flex-direction: column; }
    .dlv2-pack__sub, .dlv2-return__sub, .dlv2-cta__sub { font-size: 16px; }
    .dlv2-paycard--dark .dlv2-paycard__title,
    .dlv2-variant__title,
    .dlv2-mess__title,
    .dlv2-callback__title { font-size: 22px; }
    .dlv2-addr__list { grid-template-columns: 1fr; gap: 20px; }
    .dlv2-variant__cols { grid-template-columns: 1fr; }
    .dlv2-addr { padding: 16px; }
    .dlv2-mess, .dlv2-callback { padding: 20px; border-radius: 16px; }
    .dlv2-addr__map iframe { height: 320px; }
    .dlv2-retcard__ic { width: 64px; height: 64px; }
}

@media (max-width: 480px) {
    .dlv2-hero__title { font-size: 28px; }
    .dlv2-hero__script { font-size: 30px; }
    .dlv2-steps__row { grid-template-columns: 1fr 1fr; }
    .dlv2-mess__btn { font-size: 16px; padding: 16px 20px; }
}
