/* =========================================================
   НАСТРОЙКА → РАСЧЁТ → ЗАЯВКА → СПАСИБО, КОНТАКТЫ
========================================================= */

.flow {
    padding: 30px 0 90px;
    background:
        radial-gradient(1200px 500px at 85% -10%, rgba(234, 184, 79, 0.07), transparent 60%),
        var(--bg);
}

.flow .breadcrumbs {
    margin-bottom: 22px;
}

/* Шаги */

.steps {
    list-style: none;
    display: flex;
    gap: 8px;
    margin-bottom: 26px;
    counter-reset: step;
    overflow-x: auto;
    scrollbar-width: none;
}

.steps li {
    counter-increment: step;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px 9px 9px;
    border: 1px solid var(--line);
    border-radius: 30px;
    font-size: 14px;
    color: var(--muted);
    white-space: nowrap;
}

.steps li::before {
    content: counter(step);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--line-strong);
}

.steps li.done {
    color: #fff;
}

.steps li.done::before {
    content: "✓";
    border-color: var(--gold);
    color: var(--gold);
}

.steps li.current {
    color: #111;
    background: var(--gold-grad);
    border-color: var(--gold);
    font-weight: 700;
}

.steps li.current::before {
    border-color: rgba(0, 0, 0, 0.3);
}

.swatch {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    vertical-align: -4px;
    margin-right: 8px;
}


/* =========================================================
   4. ДЕТАЛЬНАЯ НАСТРОЙКА
========================================================= */

.config {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 24px;
    align-items: start;
}

.config-preview {
    position: sticky;
    top: 20px;
    display: grid;
    gap: 16px;
}

.preview-photo {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.preview-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
}

/* Фото ворот открывается крупно по нажатию (как на «Наших работах») */
.preview-zoom {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.preview-zoom img {
    display: block;
    transition: transform 0.4s ease;
}

.preview-zoom:hover img {
    transform: scale(1.03);
}

.preview-zoom-icon {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(5, 11, 15, 0.7);
    color: var(--gold);
    font-size: 18px;
}

.preview-caption {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    padding: 8px 14px 8px 10px;
    border-radius: 22px;
    background: rgba(5, 11, 15, 0.82);
    backdrop-filter: blur(6px);
    font-size: 14px;
}

.preview-summary {
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.preview-summary h1 {
    font-size: 24px;
    line-height: 1.15;
    margin-bottom: 6px;
}

.preview-summary p {
    font-size: 14px;
}

.live-total {
    text-align: right;
    flex-shrink: 0;
}

.live-total span {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

.live-total strong {
    font-size: 26px;
    color: var(--gold);
    white-space: nowrap;
}

.gate-desc {
    font-size: 14px;
    line-height: 1.5;
}

.config-panel {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
}

.config-menu {
    border-right: 1px solid var(--line);
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: sticky;
    top: 20px;
    align-self: start;
}

.config-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 9px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s, color 0.2s;
}

.config-menu a span {
    width: 22px;
    text-align: center;
    color: var(--gold);
}

.config-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
}

.config-menu a.active {
    background: #fff;
    color: #111;
    font-weight: 700;
}

.config-menu a.active span {
    color: #111;
}

.config-body {
    padding: 22px 24px 26px;
    min-width: 0;
}

.config-section {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
    border-radius: 6px;
    transition: box-shadow 0.4s;
}

.config-section.flash,
.extra.flash {
    box-shadow: 0 0 0 2px var(--gold-soft);
}

.config-section h2 {
    font-size: 19px;
    margin-bottom: 4px;
}

.config-section > p {
    font-size: 13px;
    margin-bottom: 16px;
}

/* Размеры */

.size-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-option {
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: 0.2s;
}

.size-option:hover {
    border-color: var(--gold-soft);
}

.size-option.active {
    border-color: var(--gold);
    background: rgba(234, 184, 79, 0.12);
    color: var(--gold);
}

/* Ещё ворота и калитки: строки «ширина × высота» */

.more-sizes {
    margin-top: 16px;
}

.more-sizes [data-list]:not(:empty) {
    margin-bottom: 12px;
}

.size-row {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 10px 50px 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.03);
}

.size-row + .size-row {
    margin-top: 8px;
}

.size-row-name {
    min-width: 82px;
    font-weight: 700;
    font-size: 14px;
}

.size-row-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.size-row-inputs input {
    width: 78px;
    padding: 9px 10px;
    border-radius: 8px;
    border: 1px solid var(--line-strong);
    background: #050b0f;
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-align: center;
    color-scheme: dark;
}

.size-row-inputs input::-webkit-inner-spin-button,
.size-row-inputs input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.size-row-inputs input {
    -moz-appearance: textfield;
}

.size-row-inputs input:focus {
    outline: none;
    border-color: var(--gold);
}

.size-row-inputs input:invalid {
    border-color: var(--error, #e5534b);
}

/* × — в правом верхнем углу строки, не переносится вниз */
.size-row-del {
    position: absolute;
    top: 9px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: none;
    color: var(--muted);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.size-row-del:hover {
    border-color: var(--error, #e5534b);
    color: var(--error, #e5534b);
}

.size-row-del[hidden] {
    display: none;
}

.more-add:disabled {
    opacity: 0.4;
    cursor: default;
}

/* Калитки: открываются под отмеченной «Калиткой» на всю ширину */

.wicket-box {
    grid-column: 1 / -1;
    padding: 16px;
    border-radius: 11px;
    border: 1px solid var(--gold-soft);
    background: rgba(234, 184, 79, 0.05);
}

.wicket-box[hidden] {
    display: none;
}

.wicket-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.wicket-box > p {
    margin-bottom: 12px;
    font-size: 13px;
}

.stepper {
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    padding: 3px;
}

.stepper button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.stepper button:hover:not(:disabled) {
    background: var(--gold-grad);
    color: #111;
}

.stepper button:disabled {
    opacity: 0.35;
    cursor: default;
}

.stepper b {
    min-width: 28px;
    text-align: center;
    font-size: 17px;
}

.color-option input,
.extra input,
.method input,
.agree input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.color-option input:focus-visible + .color-dot,
.extra input:focus-visible + .check {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* Исполнение и краска — выбор одного из двух */

.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.choice {
    position: relative;
    cursor: pointer;
}

.choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 11px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s, background 0.2s;
}

.choice small {
    color: var(--muted);
    font-size: 13px;
}

.choice:hover span {
    border-color: var(--gold-soft);
}

.choice input:checked + span {
    border-color: var(--gold);
    background: rgba(234, 184, 79, 0.12);
}

.choice input:checked + span small {
    color: var(--gold);
}

.choice input:focus-visible + span {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* Цвета */

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 14px;
}

.color-option {
    position: relative;
    cursor: pointer;
    text-align: center;
}

.color-dot {
    display: block;
    width: 54px;
    height: 54px;
    margin: 0 auto 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.18);
    transition: 0.2s;
}

.color-option input:checked + .color-dot {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(234, 184, 79, 0.22);
}

.color-option strong {
    display: block;
    font-size: 13px;
}

.color-option small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--muted);
}

/* Доп. элементы */

.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    grid-auto-flow: dense;  /* блок калиток на всю ширину не оставляет пустых мест */
    gap: 12px;
}

.extra {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 11px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.extra:hover {
    border-color: var(--gold-soft);
}

.extra:has(input:checked) {
    border-color: var(--gold);
    background: rgba(234, 184, 79, 0.10);
}

.check {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 6px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

input:checked + .check {
    background: var(--gold-grad);
    border-color: var(--gold);
}

input:checked + .check::after {
    content: "✓";
    color: #111;
    font-weight: 800;
    font-size: 14px;
}

.extra-text strong {
    display: block;
    font-size: 15px;
}

.extra-text small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.config-actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}


/* =========================================================
   5. РАСЧЁТ
========================================================= */

.estimate {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 24px;
    align-items: start;
}

.estimate-gate,
.estimate-price {
    padding: 26px;
}

.estimate h1,
.estimate h2 {
    font-size: 26px;
    margin-bottom: 18px;
}

.estimate-photo {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 22px;
}

.spec {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 12px 18px;
    font-size: 15px;
}

.spec dt {
    color: var(--muted);
}

.ticks {
    list-style: none;
    display: grid;
    gap: 8px;
}

.ticks li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
}

.ticks li::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.ticks li.on {
    color: #fff;
}

.ticks li.on::before {
    content: "✓";
    border-color: var(--ok);
    color: var(--ok);
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-back {
    display: inline-block;
    margin-top: 22px;
    color: var(--gold);
    text-decoration: none;
    font-size: 15px;
}

.link-back:hover {
    text-decoration: underline;
}

.price-lines {
    display: grid;
    gap: 2px;
}

.price-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}

.price-line strong {
    white-space: nowrap;
}

.price-line.info {
    color: var(--muted);
}

.price-line.info strong {
    font-weight: 400;
}

.price-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin: 22px 0 20px;
}

.price-total span {
    font-size: 24px;
    font-weight: 700;
}

.price-total strong {
    font-size: clamp(28px, 3vw, 36px);
    color: var(--gold);
    white-space: nowrap;
}

.note {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 11px;
    border: 1px solid var(--line);
    margin-bottom: 20px;
}

.note .icon-box {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.note p {
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted);
}


/* =========================================================
   6–7. ЗАЯВКА И СПАСИБО
========================================================= */

.order-hero {
    position: relative;
    min-height: 100vh;
    padding: 130px 0 70px;
    background:
        linear-gradient(90deg, rgba(4, 9, 12, 0.96) 0%, rgba(4, 9, 12, 0.85) 50%, rgba(4, 9, 12, 0.55) 100%),
        url("../images/homepage-bg.webp") center / cover no-repeat fixed;
    display: flex;
    align-items: center;
}

.order-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: center;
}

.order-main {
    max-width: 680px;
}

.order-main .link-back {
    margin: 0 0 18px;
}

.order-main h1 {
    font-size: clamp(34px, 4vw, 48px);
    letter-spacing: -1.5px;
    margin-bottom: 10px;
}

.lead {
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    margin-bottom: 26px;
}

.order-gate {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    background: rgba(5, 11, 15, 0.7);
    margin-bottom: 24px;
}

.order-gate img {
    width: 74px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
}

.order-gate div {
    flex: 1;
    min-width: 0;
}

.order-gate div strong,
.order-gate div span {
    display: block;
}

.order-gate div span {
    font-size: 13px;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-gate > strong {
    font-size: 18px;
    white-space: nowrap;
}

.order-form {
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    display: grid;
    gap: 8px;
}

.field > span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.field b {
    color: var(--gold);
}

.field input,
.field textarea {
    width: 100%;
    padding: 15px 16px;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    background: rgba(5, 11, 15, 0.75);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.field input:focus,
.field textarea:focus {
    border-color: var(--gold);
}

.field.has-error input {
    border-color: var(--error);
}

.field em,
.error-text {
    color: var(--error);
    font-size: 13px;
    font-style: normal;
}

.methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.method {
    position: relative;  /* скрытый кружок radio остаётся внутри кнопки, а не вылезает за экран */
    cursor: pointer;
}

.method span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 52px;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    background: rgba(5, 11, 15, 0.75);
    font-weight: 600;
    font-size: 15px;
    transition: 0.2s;
}

.method input:checked + span {
    border-color: var(--gold);
    background: rgba(234, 184, 79, 0.14);
}

.method input:focus-visible + span {
    outline: 2px solid var(--gold);
}

.dot {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot.wa { background: #25d366; }
.dot.tg { background: #2aa3e0; }

.agree {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
}

.agree.has-error .check {
    border-color: var(--error);
}

.submit {
    margin-top: 6px;
    min-height: 60px;
    font-size: 17px;
}

.promises {
    padding: 22px;
    display: grid;
    gap: 18px;
    background: rgba(7, 15, 20, 0.82);
    backdrop-filter: blur(8px);
}

.promise {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    line-height: 1.35;
}

/* Спасибо */

.sent {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}

.sent-check {
    width: 92px;
    height: 92px;
    margin: 0 auto 26px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(234, 184, 79, 0.25);
    animation: pop 0.5s ease;
}

@keyframes pop {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.sent h1 {
    font-size: clamp(40px, 5vw, 60px);
    margin-bottom: 10px;
}

.sent h2 {
    font-size: clamp(22px, 2.6vw, 30px);
    margin-bottom: 14px;
}

.sent-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}


/* =========================================================
   О КОМПАНИИ И КОНТАКТЫ
========================================================= */

.contacts-about,
.contacts-list {
    padding: 28px;
}

.contacts-about h2,
.contacts-list h2 {
    font-size: 24px;
    margin-bottom: 16px;
}

.contacts-about p {
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 26px;
}

.about-stats strong {
    display: block;
    font-size: 28px;
    margin-bottom: 4px;
}

.about-stats span {
    font-size: 13px;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 0;
    text-decoration: none;
    font-size: 16px;
}

a.contact-line:hover {
    color: var(--gold);
}

/* Контакты: слева текст и кнопка, справа контакты столбиком */

.contacts-list {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 440px);
    gap: 40px;
    align-items: center;
    padding: 36px;
}

.contacts-intro p {
    max-width: 480px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.contacts-col {
    border-left: 1px solid var(--line);
    padding-left: 40px;
}


/* Блоки страниц «О компании» и «Контакты» */

.block {
    margin-top: 70px;
}


/* Как мы работаем */

.work-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.work-step {
    position: relative;
    padding: 24px 22px 26px;
}

.work-step-num {
    display: block;
    color: var(--gold);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.work-step h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.work-step p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}


/* Частые вопросы */

.faq {
    display: grid;
    gap: 12px;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 60px 20px 24px;
    position: relative;
    font-size: 17px;
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 26px;
    font-weight: 400;
    transition: transform 0.25s;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
    padding: 0 24px 22px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    white-space: pre-line;
}

.faq-more {
    margin-top: 22px;
}

.faq-more a {
    text-decoration: none;
    font-weight: 700;
}



/* Отзывы */

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-head h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.05;
    letter-spacing: -1px;
    font-weight: 800;
}

.section-head h2 span {
    color: var(--gold);
}

.reviews-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: start;
}

.review-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.review-photo {
    display: block;
    margin: -24px -24px 20px;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}

.review-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.review-photo:hover img {
    transform: scale(1.04);
}

.review-stars {
    color: var(--gold);
    font-size: 18px;
    letter-spacing: 2px;
}

.review-stars span {
    color: rgba(255, 255, 255, 0.18);
}

.review-text {
    margin: 14px 0 20px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 16px;
    line-height: 1.55;
    white-space: pre-line;
}

.review-author {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.review-author strong {
    display: block;
    font-size: 16px;
}

.review-author span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}


/* =========================================================
   АДАПТИВ
========================================================= */

@media (max-width: 1100px) {

    .config,
    .estimate {
        grid-template-columns: 1fr;
    }

    .config-preview {
        position: static;
    }

    .order-wrap {
        grid-template-columns: 1fr;
    }

    .promises {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {

    .flow {
        padding-top: 22px;
    }

    .config-panel {
        grid-template-columns: 1fr;
    }

    .config-menu {
        position: sticky;
        top: 0;
        z-index: 5;
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--line);
        background: #081116;
        border-radius: var(--radius) var(--radius) 0 0;
        scrollbar-width: none;
    }

    .config-menu a {
        white-space: nowrap;
        padding: 10px 12px;
        font-size: 14px;
    }

    .config-body {
        padding: 18px 16px;
    }

    .preview-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .live-total {
        text-align: left;
    }

    .config-actions .btn {
        flex: 1;
    }

    .estimate-gate,
    .estimate-price {
        padding: 18px;
    }

    .spec {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .spec dd {
        margin-bottom: 10px;
    }

    .order-hero {
        padding: 100px 0 40px;
        background-attachment: scroll;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .methods {
        grid-template-columns: 1fr;
    }

    .promises {
        grid-template-columns: 1fr;
    }

    .order-gate > strong {
        display: none;
    }

    .about-stats strong {
        font-size: 22px;
    }

    .block {
        margin-top: 50px;
    }

    .work-steps {
        grid-template-columns: 1fr;
    }

    .contacts-list {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 26px 22px;
    }

    .contacts-list .btn {
        width: 100%;
    }

    .contacts-col {
        border-left: 0;
        padding-left: 0;
        border-top: 1px solid var(--line);
        padding-top: 14px;
    }

    .faq-item summary {
        padding: 18px 52px 18px 18px;
        font-size: 16px;
    }

    .faq-item p {
        padding: 0 18px 18px;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    /* отзывы листаются пальцем вбок */
    .reviews-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 14px;
        margin: 0 -20px;
        padding: 0 20px 8px;
        scrollbar-width: none;
    }

    .reviews-track::-webkit-scrollbar {
        display: none;
    }

    .review-card {
        flex: 0 0 86%;
        scroll-snap-align: center;
    }
}
