/* ============================================================
   Строим Вместе — стили сайта
   Бренд: графитово-синий + золотисто-жёлтый (с визитки)
   ============================================================ */

@font-face {
    font-family: 'TildaSans';
    src: url('../fonts/TildaSans-VF.woff2') format('woff2-variations');
    font-weight: 300 900;
    font-display: swap;
    font-style: normal;
}

:root {
    /* Фирменные цвета */
    --bg:            #232a34;   /* основной фон, тёмный графит-синий */
    --panel:         #2e3642;   /* панели/карточки (фон визитки)     */
    --panel-2:       #363f4d;   /* карточка на ховере               */
    --line:          #3d4757;   /* границы                           */
    --accent:        #f2c230;   /* жёлтый с логотипа                 */
    --accent-hi:     #ffd447;   /* жёлтый ярче — ховер               */
    --accent-ink:    #23272e;   /* текст на жёлтом                   */
    --text:          #ffffff;
    --text-dim:      #9aa4b2;   /* приглушённый текст                */
    --text-dim-2:    #6c7688;

    --maxw: 1200px;
    --radius: 18px;
    --radius-sm: 12px;

    --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'TildaSans', -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

/* ------------------------------------------------------------
   Кнопки
   ------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    padding: 17px 30px;
    border-radius: 100px;
    transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
    white-space: nowrap;
}
.btn--accent {
    background: var(--accent);
    color: var(--accent-ink);
}
.btn--accent:hover { background: var(--accent-hi); transform: translateY(-2px); }
.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 12px 22px; font-size: 14px; }

/* ------------------------------------------------------------
   Шапка
   ------------------------------------------------------------ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(35, 42, 52, .82);
    backdrop-filter: saturate(150%) blur(14px);
    -webkit-backdrop-filter: saturate(150%) blur(14px);
    border-bottom: 1px solid rgba(61, 71, 87, .55);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 82px;
    gap: 28px;
}
.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}
.nav a {
    font-size: 15px;
    color: var(--text-dim);
    font-weight: 500;
    transition: color .2s var(--ease);
}
.nav a:hover { color: var(--text); }
.header__contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header__phone {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .2px;
}
.header__phone:hover { color: var(--accent); }

/* Лого */
.logo { display: flex; align-items: center; gap: 13px; }
.logo__mark { width: 52px; height: auto; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name {
    font-weight: 800;
    font-size: 19px;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.logo__sub {
    font-size: 10.5px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
    position: relative;
    padding: 90px 0 70px;
    overflow: hidden;
}
.hero::before {
    /* декоративное свечение бренда */
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 780px;
    height: 780px;
    background: radial-gradient(circle, rgba(242,194,48,.14) 0%, rgba(242,194,48,0) 62%);
    pointer-events: none;
}
.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 22px;
}
.hero__eyebrow::before {
    content: '';
    width: 26px; height: 2px;
    background: var(--accent);
}
.hero h1 {
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.5px;
    text-transform: uppercase;
}
.hero h1 .accent { color: var(--accent); }
.typed-line { display: block; min-height: 1.08em; }
.typed-cursor {
    display: inline-block;
    width: .06em;
    color: var(--accent);
    animation: blink 1s step-end infinite;
    font-weight: 400;
}
@keyframes blink { 50% { opacity: 0; } }

.hero__lead {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 480px;
    margin: 26px 0 34px;
    line-height: 1.55;
}
.hero__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero__note { font-size: 13px; color: var(--text-dim-2); }

/* Медиа-карточка справа */
.hero__media {
    position: relative;
    aspect-ratio: 4 / 3.4;
    border-radius: var(--radius);
    overflow: hidden;
    background:
        linear-gradient(150deg, rgba(46,54,66,.2), rgba(35,42,52,.85)),
        repeating-linear-gradient(-45deg, #2b3341 0 22px, #2e3745 22px 44px);
    border: 1px solid var(--line);
    display: flex;
    align-items: flex-end;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.hero__media-badge {
    position: absolute;
    top: 20px; left: 20px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 700;
    font-size: 13px;
    padding: 9px 15px;
    border-radius: 100px;
}
.hero__media-tag {
    margin: 20px;
    font-size: 13px;
    color: var(--text-dim);
    background: rgba(35,42,52,.7);
    backdrop-filter: blur(6px);
    padding: 8px 14px;
    border-radius: 100px;
    border: 1px solid var(--line);
}

/* Статы */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 64px;
    padding-top: 44px;
    border-top: 1px solid var(--line);
}
.stat__num {
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}
.stat__num .u { color: var(--accent); }
.stat__label {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.4;
}

/* ------------------------------------------------------------
   Секция (общее)
   ------------------------------------------------------------ */
.section { padding: 96px 0; }
.section__head { max-width: 720px; margin-bottom: 54px; }
.section__eyebrow {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 9px;
}
.section__eyebrow::before { content:''; width: 26px; height: 2px; background: var(--accent); }
.section h2 {
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.5px;
}
.section__sub { margin-top: 18px; font-size: 18px; color: var(--text-dim); line-height: 1.5; }

/* ------------------------------------------------------------
   Направления
   ------------------------------------------------------------ */
.dirs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.dir {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 32px 32px;
    transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
    overflow: hidden;
}
.dir::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(120% 120% at 100% 0, rgba(242,194,48,.10), transparent 55%);
    opacity: 0;
    transition: opacity .3s var(--ease);
    pointer-events: none;
}
.dir:hover {
    transform: translateY(-5px);
    background: var(--panel-2);
    border-color: rgba(242,194,48,.4);
}
.dir:hover::after { opacity: 1; }
.dir__icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: rgba(242,194,48,.12);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
}
.dir__icon svg { width: 28px; height: 28px; }
.dir__num {
    position: absolute;
    top: 30px; right: 32px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dim-2);
}
.dir h3 {
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -.2px;
}
.dir__desc {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.55;
    margin: -4px 0 16px;
}
.dir__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.dir__list li {
    font-size: 13.5px;
    color: var(--text-dim);
    background: rgba(255,255,255,.035);
    border: 1px solid var(--line);
    padding: 6px 12px;
    border-radius: 100px;
}
.dir__foot {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
}

/* Плашка «дизайн-проект в подарок» */
.gift {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    background: linear-gradient(100deg, rgba(242,194,48,.14), rgba(242,194,48,.03));
    border: 1px solid rgba(242,194,48,.32);
    border-radius: var(--radius);
    padding: 26px 34px;
}
.gift__text b { color: var(--accent); }
.gift__text {
    font-size: 18px;
    font-weight: 600;
}
.gift__text span { display: block; font-size: 14px; color: var(--text-dim); font-weight: 400; margin-top: 4px; }

/* Фоновая заливка для чередования секций */
.section--alt { background: #1e242d; }

/* ------------------------------------------------------------
   Цены / тарифы
   ------------------------------------------------------------ */
.prices {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.price {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px 28px;
    display: flex;
    flex-direction: column;
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.price:hover { transform: translateY(-5px); }
.price--feat {
    background: linear-gradient(180deg, rgba(242,194,48,.10), rgba(46,54,66,.4));
    border-color: rgba(242,194,48,.45);
}
.price__badge {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--accent);
    background: rgba(242,194,48,.12);
    padding: 5px 11px;
    border-radius: 100px;
    margin-bottom: 18px;
}
.price__name { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.price__for { font-size: 13.5px; color: var(--text-dim); line-height: 1.45; margin: -2px 0 12px; }
.price__from { font-size: 13px; color: var(--text-dim-2); }
.price__num {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 8px 0 2px;
    line-height: 1;
}
.price__num .cur { color: var(--accent); font-size: 22px; }
.price__unit { font-size: 13px; color: var(--text-dim); margin-bottom: 22px; }
.price__desc { font-size: 14px; color: var(--text-dim); line-height: 1.5; margin: -8px 0 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.price__feats { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 16px; }
.price__inc {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: var(--text-dim-2);
    font-weight: 700;
    margin-bottom: 12px;
}
.price__all { margin: 0 0 18px; }
.price__all summary {
    list-style: none;
    cursor: pointer;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 2px 0;
}
.price__all summary::-webkit-details-marker { display: none; }
.price__all summary::after { content: '+'; font-size: 18px; font-weight: 400; transition: transform .25s var(--ease); }
.price__all[open] summary::after { transform: rotate(45deg); }
.price__all .price__feats { margin: 14px 0 0; }
.price__extra {
    font-size: 13px;
    color: var(--text-dim-2);
    line-height: 1.45;
    margin: 0 0 16px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
}
.price__feats li { font-size: 14px; color: var(--text-dim); display: flex; gap: 9px; align-items: flex-start; }
.price__feats li::before { content: ''; width: 16px; height: 16px; flex: none; margin-top: 2px; background: var(--accent); -webkit-mask: var(--check) center/contain no-repeat; mask: var(--check) center/contain no-repeat; }
.price .btn { margin-top: auto; }
:root { --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* Сравнение классов ремонта */
.compare {
    margin-top: 26px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
}
.compare > h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.compare__sub { font-size: 14.5px; color: var(--text-dim); margin-bottom: 22px; }
.compare__scroll { overflow-x: auto; }
.compare__table { width: 100%; min-width: 880px; border-collapse: collapse; }
.compare__table th,
.compare__table td {
    text-align: left;
    vertical-align: top;
    padding: 15px 18px 15px 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-dim);
    font-weight: 400;
}
.compare__table thead th {
    border-top: none;
    padding-top: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}
.compare__table thead th small { display: block; font-weight: 500; font-size: 12px; color: var(--accent); margin-top: 3px; }
.compare__table tbody th { color: var(--text); font-weight: 600; white-space: nowrap; padding-right: 26px; }
.compare__note { margin-top: 20px; font-size: 14.5px; color: var(--text-dim); }
.compare__note b { color: var(--text); }

/* Разбивка полного бюджета */
.budget-title { font-size: 22px; font-weight: 700; margin-top: 34px; }
.budget {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 18px;
}
.budget__item {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 22px;
}
.budget__name { font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.budget__val { font-size: 14px; color: var(--text-dim); line-height: 1.5; }

/* Подсказка «листайте» для мобильных каруселей */
.swipe-hint { display: none; }
@keyframes swipe-nudge { 50% { transform: translateX(6px); } }

.prices-note {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
    padding: 20px 26px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--text-dim);
}
.prices-note b { color: var(--text); font-weight: 700; }
.prices-note .sep { color: var(--accent); }

/* ------------------------------------------------------------
   Процесс / Как работаем
   ------------------------------------------------------------ */
.process { position: relative; display: flex; flex-direction: column; gap: 0; }
.step {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 28px;
    padding: 30px 0;
    border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
    font-size: 44px;
    font-weight: 800;
    color: var(--text-dim-2);
    line-height: 1;
    letter-spacing: -1px;
    transition: color .3s var(--ease);
}
.step:hover .step__num { color: var(--accent); }
.step__body { max-width: 760px; }
.step__title { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.step__title .tag {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: var(--accent);
    background: rgba(242,194,48,.10);
    padding: 4px 10px;
    border-radius: 100px;
    margin-left: 10px;
    vertical-align: 3px;
}
.step__text { font-size: 16px; color: var(--text-dim); line-height: 1.55; }
.step__text b { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------------
   О компании (видео)
   ------------------------------------------------------------ */
.about__grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 56px;
    align-items: center;
}
.about__video {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
}
.about__video video { display: block; width: 100%; height: auto; }

/* ------------------------------------------------------------
   Калькулятор
   ------------------------------------------------------------ */
.calc {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 0;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.calc__form { padding: 42px 44px; }
.calc__group { margin-bottom: 30px; }
.calc__group:last-child { margin-bottom: 0; }
.calc__label { font-size: 14px; color: var(--text-dim); margin-bottom: 13px; font-weight: 500; }
.calc__opts { display: flex; gap: 10px; flex-wrap: wrap; }
.calc__opt {
    flex: 1 1 auto;
    min-width: 90px;
    padding: 13px 16px;
    background: rgba(255,255,255,.03);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--text-dim);
    font-size: 14.5px;
    font-weight: 600;
    text-align: center;
    transition: all .2s var(--ease);
}
.calc__opt:hover { color: var(--text); border-color: var(--text-dim-2); }
.calc__opt.is-active {
    background: rgba(242,194,48,.12);
    border-color: var(--accent);
    color: var(--accent);
}
.calc__area-val { color: var(--accent); font-weight: 800; }
.calc__range {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 6px; border-radius: 100px;
    background: var(--line); outline: none;
}
.calc__range::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--accent); cursor: pointer;
    border: 4px solid #23272e; box-shadow: 0 0 0 1px var(--accent);
}
.calc__range::-moz-range-thumb {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--accent); cursor: pointer; border: 4px solid #23272e;
}
.calc__ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim-2); margin-top: 8px; }

.calc__result {
    background: linear-gradient(165deg, #2b333f, #23272e);
    padding: 42px 40px;
    display: flex; flex-direction: column;
    border-left: 1px solid var(--line);
}
.calc__result-label { font-size: 14px; color: var(--text-dim); margin-bottom: 8px; }
.calc__price { font-size: 42px; font-weight: 800; letter-spacing: -1px; line-height: 1; color: var(--accent); }
.calc__price-sub { font-size: 13px; color: var(--text-dim-2); margin-top: 8px; }
.calc__meta { margin: 26px 0; display: flex; flex-direction: column; gap: 14px; }
.calc__meta-row { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.calc__meta-row span { color: var(--text-dim); }
.calc__meta-row b { font-weight: 700; }
.calc__result .btn { width: 100%; margin-top: auto; }
.calc__disclaimer { font-size: 12px; color: var(--text-dim-2); margin-top: 14px; text-align: center; line-height: 1.4; }

/* ------------------------------------------------------------
   Кейсы
   ------------------------------------------------------------ */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 3 / 3.6;
    background:
        linear-gradient(180deg, rgba(35,42,52,.1) 40%, rgba(30,36,45,.92)),
        repeating-linear-gradient(-45deg, #2b3341 0 20px, #2e3745 20px 40px);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 24px;
    transition: transform .3s var(--ease);
}
.case:hover { transform: translateY(-5px); }
.case__badge {
    position: absolute; top: 18px; left: 18px;
    font-size: 12px; font-weight: 700;
    background: var(--accent); color: var(--accent-ink);
    padding: 6px 12px; border-radius: 100px;
}
.case__ph {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    font-size: 13px; color: var(--text-dim-2); text-align: center; width: 80%;
}
.case__title { font-size: 20px; font-weight: 700; position: relative; z-index: 1; }
.case__meta { font-size: 14px; color: var(--text-dim); margin-top: 6px; position: relative; z-index: 1; }

/* ------------------------------------------------------------
   Отзывы
   ------------------------------------------------------------ */
.reviews {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    align-items: flex-start;
    padding: 4px 4px 14px;
    scrollbar-width: none;
}
.reviews::-webkit-scrollbar { display: none; }
.rev-col { flex: 0 0 360px; display: flex; flex-direction: column; gap: 18px; }
.reviews-nav { display: flex; gap: 10px; justify-content: flex-end; margin-bottom: 16px; }
.rnav {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--panel);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.rnav:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.review.review--shot { padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: block; }
.review--shot img { width: 100%; height: auto; display: block; }
.review {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 28px;
    display: flex; flex-direction: column;
}
.review__stars { color: var(--accent); font-size: 16px; letter-spacing: 3px; margin-bottom: 16px; }
.review__text { font-size: 15.5px; color: var(--text-dim); line-height: 1.6; flex: 1; }
.review__author { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.review__ava { width: 46px; height: 46px; border-radius: 50%; background: rgba(242,194,48,.12); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
.review__name { font-weight: 700; font-size: 15px; }
.review__role { font-size: 13px; color: var(--text-dim-2); }

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.faq { width: 100%; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
    width: 100%;
    background: none;
    text-align: left;
    padding: 26px 44px 26px 0;
    font-size: 19px;
    font-weight: 600;
    color: var(--text);
    position: relative;
    transition: color .2s var(--ease);
}
.faq__q:hover { color: var(--accent); }
.faq__q::after {
    content: '+';
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    font-size: 28px; font-weight: 300; color: var(--accent);
    transition: transform .3s var(--ease);
}
.faq__item.is-open .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a-inner { padding: 0 40px 28px 0; font-size: 16px; color: var(--text-dim); line-height: 1.6; }
.faq__a-inner b { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------------
   География (полоса)
   ------------------------------------------------------------ */
.geo-section { padding: 76px 0; }   /* симметрично сверху и снизу */
.geo {
    display: flex; align-items: center; justify-content: space-between;
    gap: 30px; flex-wrap: wrap;
    background: linear-gradient(100deg, rgba(242,194,48,.1), rgba(242,194,48,.02));
    border: 1px solid rgba(242,194,48,.28);
    border-radius: var(--radius);
    padding: 34px 40px;
}
.geo__title { font-size: 26px; font-weight: 800; }
.geo__title .accent { color: var(--accent); }
.geo__text { font-size: 15px; color: var(--text-dim); margin-top: 8px; max-width: 560px; }

/* ------------------------------------------------------------
   Контакты
   ------------------------------------------------------------ */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contacts__info {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px;
}
.contacts__person { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.contacts__ava--photo { padding: 0; overflow: hidden; }
.contacts__ava--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contacts__ava { width: 66px; height: 66px; border-radius: 18px; background: rgba(242,194,48,.12); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 24px; }
.contacts__name { font-size: 22px; font-weight: 700; }
.contacts__post { font-size: 14px; color: var(--text-dim); }
.contacts__list { display: flex; flex-direction: column; gap: 4px; }
.contacts__row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.contacts__row-ico { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.04); display: flex; align-items: center; justify-content: center; color: var(--accent); flex: none; }
.contacts__row-ico svg { width: 20px; height: 20px; }
.contacts__row-lbl { font-size: 12px; color: var(--text-dim-2); }
.contacts__row-val { font-size: 17px; font-weight: 600; }
.contacts__row-val:hover { color: var(--accent); }

.form {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px;
}
.form h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.form p { font-size: 15px; color: var(--text-dim); margin-bottom: 26px; }
.form__field { margin-bottom: 14px; }
.form__input {
    width: 100%;
    background: rgba(255,255,255,.03);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 15px 18px;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: border-color .2s var(--ease);
}
.form__input::placeholder { color: var(--text-dim-2); }
.form__input:focus { outline: none; border-color: var(--accent); }
textarea.form__input { resize: vertical; min-height: 100px; }
.form .btn { width: 100%; margin-top: 8px; }
.form__hp { position: absolute; left: -5000px; opacity: 0; pointer-events: none; }
.form__policy { font-size: 12px; color: var(--text-dim-2); margin-top: 14px; text-align: center; line-height: 1.4; }
.form__success {
    display: none;
    text-align: center;
    padding: 30px 0;
}
.form__success.is-shown { display: block; }
.form__success-ico { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: rgba(242,194,48,.14); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.form__success h3 { color: var(--accent); }

/* ------------------------------------------------------------
   Футер
   ------------------------------------------------------------ */
.footer { background: #1a1f27; border-top: 1px solid var(--line); padding: 56px 0 34px; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer__col-title { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-dim-2); margin-bottom: 16px; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a { font-size: 15px; color: var(--text-dim); }
.footer__nav a:hover { color: var(--accent); }
.footer__about { max-width: 320px; font-size: 14px; color: var(--text-dim); line-height: 1.5; margin-top: 16px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-dim-2); }

/* ------------------------------------------------------------
   Мобильное меню (бургер)
   ------------------------------------------------------------ */
.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; background: none; }
.burger span { display: block; height: 2px; width: 24px; background: var(--text); margin: 0 auto; transition: transform .3s var(--ease), opacity .2s; }
.mobile-menu {
    position: fixed; inset: 0; z-index: 200;
    background: var(--bg);
    padding: 100px 30px 40px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    display: flex; flex-direction: column; gap: 6px;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a { font-size: 22px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 24px; }
.mobile-close { position: absolute; top: 26px; right: 24px; width: 44px; height: 44px; background: none; color: var(--text); font-size: 34px; font-weight: 300; }

/* ------------------------------------------------------------
   Адаптив
   ------------------------------------------------------------ */
@media (max-width: 1080px) {
    .prices { grid-template-columns: repeat(2, 1fr); }
    .budget { grid-template-columns: repeat(2, 1fr); }
    .calc { grid-template-columns: 1fr; }
    .calc__result { border-left: none; border-top: 1px solid var(--line); }
}
@media (max-width: 960px) {
    .hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .hero__media { aspect-ratio: 16/10; }
    .nav { display: none; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
    .cases { grid-template-columns: repeat(2, 1fr); }
    .contacts { grid-template-columns: 1fr; }
    .about__grid { grid-template-columns: 1fr; gap: 34px; }
    .burger { display: flex; }
}
@media (max-width: 720px) {
    .dirs { grid-template-columns: 1fr; }
    .section { padding: 70px 0; }
    .hero { padding: 56px 0 50px; }
    .header__contacts .btn { display: none; }
    .header__phone { font-size: 15px; }
    .gift { padding: 24px; }
    /* Тарифы и статьи бюджета → свайп-карусель со снапом */
    .swipe-hint {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        font-size: 13px;
        color: var(--text-dim);
        margin: -30px 0 14px;
    }
    .swipe-hint span { color: var(--accent); font-size: 16px; animation: swipe-nudge 1.2s ease-in-out infinite; }
    .budget-title + .swipe-hint { margin: 8px 0 6px; }
    .prices, .budget, .reviews {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin-left: -24px;
        margin-right: -24px;
        padding: 4px 24px 10px;
        scrollbar-width: none;
    }
    .prices::-webkit-scrollbar, .budget::-webkit-scrollbar, .reviews::-webkit-scrollbar { display: none; }
    .price { flex: 0 0 84%; scroll-snap-align: start; scroll-margin-left: 24px; }
    .budget__item { flex: 0 0 76%; scroll-snap-align: start; scroll-margin-left: 24px; }
    .rev-col { flex: 0 0 84%; scroll-snap-align: start; scroll-margin-left: 24px; }
    .reviews { align-items: flex-start; }
    .reviews-nav { display: none; }
    /* Таблица классов → свайп-карусель карточек-критериев */
    .compare { padding: 24px 20px; }
    .compare .swipe-hint { margin: -8px 0 12px; }
    .compare__scroll { overflow: visible; }
    .compare__table { display: block; min-width: 0; }
    .compare__table thead { display: none; }
    .compare__table tbody {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin: 0 -20px;
        padding: 4px 20px 10px;
        scrollbar-width: none;
    }
    .compare__table tbody::-webkit-scrollbar { display: none; }
    .compare__table tbody tr {
        display: block;
        flex: 0 0 82%;
        scroll-snap-align: start;
        scroll-margin-left: 20px;
        background: rgba(255,255,255,.02);
        border: 1px solid var(--line);
        border-radius: var(--radius-sm);
        padding: 20px 18px 8px;
    }
    .compare__table tbody th {
        display: block;
        border-top: none;
        padding: 0 0 14px;
        white-space: normal;
        font-size: 17px;
    }
    .compare__table td { display: block; border-top: none; padding: 0 0 14px; }
    .compare__table td::before {
        content: attr(data-label);
        display: block;
        font-size: 11.5px;
        font-weight: 700;
        letter-spacing: .5px;
        text-transform: uppercase;
        color: var(--accent);
        margin-bottom: 3px;
    }
    .cases { grid-template-columns: 1fr; }
    .step { grid-template-columns: 56px 1fr; gap: 18px; padding: 24px 0; }
    .step__num { font-size: 30px; }
    .calc__form, .calc__result { padding: 30px 24px; }
    .contacts__info, .form { padding: 28px 24px; }
    .geo { padding: 26px 24px; }
    .geo__title { font-size: 22px; }
}
@media (max-width: 460px) {
    .wrap { padding: 0 18px; }
    .prices, .budget, .reviews { margin-left: -18px; margin-right: -18px; padding: 4px 18px 10px; }
    .price, .budget__item, .rev-col { scroll-margin-left: 18px; }
    .stats { grid-template-columns: 1fr 1fr; }
    .logo__name { font-size: 17px; }
    .logo__mark { width: 44px; }
    .header__inner { gap: 14px; }
    .faq__q { font-size: 17px; }
}
