/* ===== Переменные: цвета и шрифты в одном месте ===== */
:root {
  --bg: #f7f5f0;          /* тёплый светлый фон */
  --soft: #eef2ef;        /* фон «мягких» секций */
  --ink: #1d2a35;         /* основной текст — тёмно-графитовый */
  --muted: #55606b;       /* второстепенный текст (контраст достаточный для чтения) */
  --line: #e1ddd3;
  --accent: #1f6b66;      /* спокойный глубокий бирюзовый */
  --accent-dark: #17524e;
  --accent-soft: #e2efec;
  --gold: #c99a52;        /* тёплый акцент для деталей */
  --radius: 20px;
  --head: "Prata", Georgia, serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); background: var(--bg); color: var(--ink); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.15; }
h3 { font-family: var(--body); font-weight: 700; line-height: 1.3; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 48px); margin: 0 auto; }
.container--narrow { width: min(820px, 100% - 48px); }

/* ===== Прогресс прокрутки ===== */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 100; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--gold)); }

/* ===== Шапка ===== */
.header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 0; transition: background .3s, box-shadow .3s, padding .3s; }
.header.is-scrolled { background: rgba(247, 245, 240, .98); box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(29, 42, 53, .06); padding: 8px 0; }
.header__inner { width: min(1180px, 100% - 48px); margin: 0 auto; display: flex; align-items: center; gap: 28px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; }
.logo em { font-style: normal; font-weight: 500; color: var(--accent); }
.logo__mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); overflow: hidden; transition: background .3s; }
.logo__mark svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* Наведение на логотип: стрелка «улетает» вверх и возвращается снизу */
.logo:hover .logo__mark { background: var(--accent-dark); }
.logo:hover .logo__mark svg { animation: arrowUp .6s var(--ease); }
@keyframes arrowUp { 45% { transform: translateY(-140%); } 46% { transform: translateY(140%); } 100% { transform: none; } }

.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a { position: relative; padding: 8px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 16px; color: var(--muted); transition: color .25s, background .25s; }
/* Наведение на пункт меню: линия «вырастает» слева направо, текст темнеет */
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--ink); background: rgba(31, 107, 102, .06); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--ink); }
.nav__cta { display: none; }

.burger { display: none; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); position: relative; flex: none; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s, opacity .2s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== Кнопки ===== */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; border-radius: 14px;
  background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; font-size: 17px; transition: background .25s, transform .25s, box-shadow .25s; }
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(31, 107, 102, .28); }
.btn:active { transform: none; }
.btn__arrow { transition: transform .25s; }
.btn:hover .btn__arrow { transform: translateX(4px); }
/* Блик, пробегающий по кнопке при наведении */
.btn::before { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-20deg); transition: left .6s var(--ease); pointer-events: none; }
.btn:hover::before { left: 120%; }
.btn--small { min-height: 46px; padding: 0 22px; font-size: 15px; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn--ghost::before { display: none; }
.btn--full { width: 100%; }
.btn:disabled { opacity: .6; pointer-events: none; }

/* ===== Главный экран ===== */
.hero { position: relative; padding: 150px 0 80px; overflow: hidden;
  background: radial-gradient(900px 500px at 85% 10%, var(--accent-soft), transparent 70%), radial-gradient(600px 400px at 5% 90%, #f3e9d8, transparent 70%); }
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.pill i { width: 9px; height: 9px; border-radius: 50%; background: #2e9e6a; animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(46, 158, 106, .45); } 60% { box-shadow: 0 0 0 8px rgba(46, 158, 106, 0); } }
.hero__title { font-size: clamp(38px, 5.2vw, 68px); margin: 24px 0 24px; letter-spacing: -0.01em; }
.hl { position: relative; color: var(--accent); white-space: nowrap; }
.hl svg { position: absolute; left: 0; bottom: -0.04em; width: 100%; height: .2em; overflow: visible; }
.hl path { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; }
.hero__title.is-visible .hl path { animation: draw 1.1s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* --- Иллюстрация справа: телефон с сайтом и карточки вокруг --- */
.hero__visual { position: relative; height: 540px; display: grid; place-items: center; }
.hero__visual::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, #d7ebe6 0%, rgba(215, 235, 230, 0) 70%); }

.phone { position: relative; width: 260px; padding: 10px; border-radius: 40px; background: var(--ink); box-shadow: 0 40px 70px rgba(29, 42, 53, .25); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 10px; background: var(--ink); z-index: 2; }
.phone__screen { border-radius: 31px; background: #fbfaf6; padding: 46px 18px 22px; overflow: hidden; }
.ms-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.ms-logo { width: 54px; height: 9px; border-radius: 5px; background: var(--ink); opacity: .8; }
.ms-menu { display: grid; gap: 4px; } .ms-menu i { display: block; width: 18px; height: 2px; background: var(--ink); }
.ms-photo { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 12px; background: linear-gradient(160deg, #cfe5e0, #e9dcc4); display: grid; place-items: end center; overflow: hidden; }
.ms-photo svg { width: 64px; height: 64px; fill: #fff; opacity: .9; }
.ms-tag { text-align: center; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.ms-name { text-align: center; font-family: var(--head); font-size: 21px; line-height: 1.2; margin: 4px 0 6px; }
.ms-text { text-align: center; font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.ms-btn { margin: 14px auto 16px; padding: 10px 0; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700; text-align: center; }
.ms-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.ms-cards span { display: grid; gap: 5px; padding: 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.ms-cards b { font-size: 11px; }
.ms-cards i { display: block; height: 5px; border-radius: 3px; background: #e7e3da; }
.ms-cards i + i { width: 65%; }
.ms-lines { display: grid; gap: 6px; } .ms-lines i { display: block; height: 6px; border-radius: 3px; background: #ebe7de; } .ms-lines i:last-child { width: 55%; }

.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: #fff; box-shadow: 0 16px 40px rgba(29, 42, 53, .14); font-size: 13.5px; line-height: 1.35; color: var(--muted); max-width: 270px; }
.float b { display: block; color: var(--ink); font-size: 14.5px; }
.float__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); }
.float__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.float__icon--tg { background: #229ed9; } .float__icon--tg svg { fill: #fff; stroke: none; }
.float__icon--ok { background: var(--accent); } .float__icon--ok svg { stroke: #fff; stroke-width: 2.6; }
.float--notify { top: 64px; right: -6px; }
.float--domain { left: -4px; top: 46%; }
.float--check { right: 6px; bottom: 54px; }
/* Бейдж «1» на уведомлении — как в мессенджере */
.float--notify::after { content: "1"; position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; background: #e5484d; color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }

/* Анимация: телефон поднимается, карточки появляются по очереди, потом мягко «плавают» */
.js .hero__visual .phone, .js .hero__visual .float { opacity: 0; }
.hero__visual.is-visible .phone { animation: phoneIn .9s var(--ease) both; }
.hero__visual.is-visible .float { animation: floatIn .6s var(--ease) both, bob 6s ease-in-out infinite; }
.hero__visual.is-visible .float--domain { animation-delay: .5s, 1.1s; }
.hero__visual.is-visible .float--check { animation-delay: .8s, 1.4s; }
.hero__visual.is-visible .float--notify { animation: floatIn .6s var(--ease) 1.2s both, bob 6s ease-in-out 1.8s infinite; }
.hero__visual.is-visible .float--notify::after { animation: badge .4s var(--ease) 1.7s both; }
@keyframes phoneIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes floatIn { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { transform: translateY(-6px); } }
@keyframes badge { from { transform: scale(0); } }

.hero__facts { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; border-top: 1px solid var(--line); }
.hero__facts li { padding: 24px 24px 0 0; }
.hero__facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.hero__facts b { display: block; font-family: var(--head); font-weight: 400; font-size: clamp(26px, 3vw, 38px); color: var(--accent); line-height: 1.2; }
.hero__facts li > span { font-size: 15px; color: var(--muted); }

/* ===== Для кого ===== */
.audience { background: var(--ink); color: #fff; padding: 34px 0; }
.audience__title { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9fb3b0; margin-bottom: 16px; }
.audience__list { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.audience__list li { display: flex; flex-direction: column; gap: 10px; font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.audience__list svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Секции ===== */
.section { padding: 110px 0; }
.section--soft { background: var(--soft); }
.section__head { margin-bottom: 52px; max-width: 720px; }
.section__head h2 { font-size: clamp(32px, 4.4vw, 52px); }
.section__sub { margin-top: 16px; color: var(--muted); font-size: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.eyebrow--light { color: #bfe3dd; }

/* ===== Услуги ===== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.service:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(29, 42, 53, .09); border-color: transparent; }
.service__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); margin-bottom: 22px; transition: background .35s, transform .35s var(--ease); }
.service__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.service:hover .service__icon { background: var(--accent); transform: rotate(-6deg); }
.service:hover .service__icon svg { stroke: #fff; }
.service h3 { font-size: 22px; margin-bottom: 6px; }
.service__price { font-weight: 700; color: var(--accent); font-size: 16px; margin-bottom: 14px; }
.service p:not(.service__price) { color: var(--muted); font-size: 16.5px; }
.service ul { list-style: none; margin: 18px 0 24px; display: grid; gap: 8px; font-size: 16px; font-weight: 600; }
.service li { display: flex; gap: 10px; align-items: flex-start; }
.service li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='%231f6b66' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.service__btn { margin-top: auto; display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700; font-size: 16px; color: var(--accent); text-align: left; }
.service__btn span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); transition: background .25s, color .25s, transform .25s; }
.service__btn:hover span { background: var(--accent); color: #fff; transform: translateX(4px); }

/* ===== Работы ===== */
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #fff; color: var(--ink); border: 1px solid var(--line); vertical-align: 2px; }
.tag--client { background: var(--accent); color: #fff; border-color: var(--accent); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter { min-height: 46px; padding: 0 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 16px; color: var(--muted); transition: .2s; }
.filter:hover { border-color: var(--accent); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); cursor: zoom-in; animation: workIn .5s var(--ease) both; transition: box-shadow .3s, transform .3s var(--ease); }
.work:hover { box-shadow: 0 18px 40px rgba(29, 42, 53, .1); transform: translateY(-4px); }
@keyframes workIn { from { opacity: 0; transform: translateY(16px); } }
.work__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #e9e6df; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work:hover .work__img img { transform: scale(1.04); }
.work__img .tag { position: absolute; top: 12px; left: 12px; }
.work__info { padding: 16px 18px 18px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.work__title { font-weight: 700; font-size: 16.5px; line-height: 1.35; }
.work__cat { display: block; font-size: 14.5px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.work__link { flex: none; font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: none; padding: 6px 12px; border-radius: 10px; background: var(--accent-soft); white-space: nowrap; transition: background .2s, color .2s; }
.work__link:hover { background: var(--accent); color: #fff; }
.works__more { display: flex; margin: 40px auto 0; }
.works__more[hidden] { display: none; }

/* ===== Процесс ===== */
.steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
/* Линия, которая «прорисовывается» через все шаги при появлении блока */
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 12%; height: 2px; background: linear-gradient(90deg, var(--accent), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.steps.is-drawn::before { transform: scaleX(1); }
.step { position: relative; }
.step__n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); color: var(--accent); font-family: var(--head); font-size: 22px; margin-bottom: 20px; transition: background .3s, color .3s; }
.step:hover .step__n { background: var(--accent); color: #fff; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16.5px; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 72px; }
.why__item { padding: 28px; border-radius: var(--radius); background: var(--soft); }
.why__item svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.why__item b { display: block; font-size: 19px; margin-bottom: 6px; }
.why__item span { color: var(--muted); font-size: 16.5px; }

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 16px; border: 1px solid var(--line); transition: border-color .25s; }
.faq details[open] { border-color: var(--accent); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; font-weight: 700; font-size: 18px; position: relative; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 22px; font-weight: 500; transition: transform .3s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--accent); color: #fff; }
.faq__body { padding: 0 24px 22px; color: var(--muted); }
.faq details[open] .faq__body { animation: faqIn .35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ===== Заявка ===== */
.order { background: linear-gradient(150deg, #17524e 0%, #1f6b66 60%, #2a7d6f 100%); color: #fff; }
.order__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.order__text { position: sticky; top: 110px; }
.order__text h2 { font-size: clamp(32px, 4.2vw, 50px); margin-bottom: 18px; }
.order__text > p { font-size: 18px; color: #d3ebe7; max-width: 440px; }
.order__direct { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.order__direct > span { width: 100%; font-size: 15px; color: #bfe3dd; font-weight: 600; }
.msg { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 14px; font-weight: 700; text-decoration: none; color: #fff; transition: transform .25s, filter .25s; }
.msg:hover { transform: translateY(-2px); filter: brightness(1.08); }
.msg svg { width: 20px; height: 20px; fill: currentColor; }
.msg--tg { background: #229ed9; }
.msg--max { background: linear-gradient(135deg, #3d7bff, #8b4dff); }

.form { background: #fff; color: var(--ink); border-radius: 24px; padding: 36px; display: grid; gap: 22px; box-shadow: 0 30px 70px rgba(6, 30, 28, .3); }
.field { display: grid; gap: 8px; }
.field > span { font-weight: 700; font-size: 16px; }
.field > span i { font-style: normal; color: #c2453b; }
.field > span small { font-weight: 500; color: var(--muted); font-size: 14px; margin-left: 4px; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 17px; min-height: 54px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid #d4cfc4; background: #fbfaf7; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical; }
.field textarea { min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; background: #fbfaf7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%2355606b' stroke-width='2' fill='none'/%3E%3C/svg%3E") right 14px center/20px no-repeat; padding-right: 44px; }
.field input::placeholder, .field textarea::placeholder { color: #8a929a; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(31, 107, 102, .15); background: #fff; }
.field.is-error input, .field.is-error .chips { border-color: #c2453b; }
.field.is-error > span { color: #c2453b; }
.field.is-error { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chips, .seg { display: flex; flex-wrap: wrap; gap: 8px; border-radius: 14px; border: 1.5px solid transparent; }
.chips label, .seg label { position: relative; }
.chips input, .seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips i, .seg i { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; font-style: normal; padding: 0 16px; border-radius: 12px; border: 1.5px solid #d4cfc4; font-size: 16px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s, color .15s; user-select: none; -webkit-tap-highlight-color: transparent; }
.chips i:hover, .seg i:hover { border-color: var(--accent); }
.chips input:checked + i, .seg input:checked + i { background: var(--accent); border-color: var(--accent); color: #fff; }
.chips input:checked + i::before { content: "✓"; font-size: 14px; }
.chips input:focus-visible + i, .seg input:focus-visible + i { box-shadow: 0 0 0 4px rgba(31, 107, 102, .25); }
.seg { display: grid; grid-template-columns: 1fr 1fr; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--muted); align-items: flex-start; cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--accent); }
.consent a { color: var(--accent); }
.consent.is-error span { color: #c2453b; }
.form__msg { font-weight: 600; font-size: 16px; text-align: center; min-height: 1em; }
.form__msg.is-err { color: #c2453b; }
.form.is-sent > *:not(.form__done) { display: none; }
.form__done { text-align: center; padding: 30px 0; animation: faqIn .5s var(--ease); }
.form__done b { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 36px; }
.form__done h3 { font-family: var(--head); font-weight: 400; font-size: 30px; margin-bottom: 10px; }
.form__done p { color: var(--muted); }

/* ===== Подвал ===== */
.footer { background: var(--ink); color: #aab4bc; padding: 40px 0; font-size: 14.5px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__legal { text-align: right; display: grid; gap: 4px; }
.footer__legal span { white-space: nowrap; }
.logo--light { color: #fff; }
.logo--light em { color: #8fd0c6; }
.footer a:not(.logo) { color: #d6dde2; }

/* ===== Кнопка заявки внизу экрана (только телефон) ===== */
.mobile-cta { display: none; }

/* ===== Всплывающая подсказка (например, «номер скопирован») ===== */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 300; width: max-content; max-width: calc(100% - 32px);
  padding: 14px 20px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 16px; font-weight: 600; line-height: 1.45; text-align: center;
  box-shadow: 0 16px 40px rgba(15, 22, 28, .3); opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 860px) { .toast { bottom: calc(86px + env(safe-area-inset-bottom)); } }

/* ===== Просмотр работы и окна ===== */
.lightbox, .modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(15, 22, 28, .9); animation: fade .25s; }
.lightbox[hidden], .modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { max-width: min(1200px, 100%); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 14px; font-weight: 600; }
.lightbox__close, .modal__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 28px; line-height: 1; }
.modal__box { position: relative; background: #fff; border-radius: 22px; padding: 34px; max-width: 520px; width: 100%; max-height: calc(100vh - 40px); overflow: auto; }
.modal__box h3 { font-family: var(--head); font-weight: 400; font-size: 28px; margin-bottom: 10px; padding-right: 40px; }
.modal__box p { color: var(--muted); }
.modal__box pre { margin: 18px 0; padding: 16px; border-radius: 12px; background: #f4f2ec; font: 15px/1.5 var(--body); white-space: pre-wrap; max-height: 200px; overflow: auto; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.modal__close { top: 12px; right: 12px; width: 42px; height: 42px; font-size: 24px; background: #f4f2ec; }

/* ===== Появление при прокрутке =====
   Анимируем только opacity и transform: их браузер считает на видеокарте, поэтому на телефоне не лагает */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ===== Планшеты ===== */
@media (max-width: 1060px) {
  .nav a { padding: 8px 10px; }
  .services, .works { grid-template-columns: repeat(2, 1fr); }
  .audience__list { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .order__inner { grid-template-columns: 1fr; gap: 40px; }
  .order__text { position: static; }
}

/* ===== Телефоны ===== */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .container, .container--narrow, .header__inner { width: calc(100% - 32px); }
  .header { padding: 10px 0; background: rgba(247, 245, 240, .96); box-shadow: 0 1px 0 var(--line); }
  .header__cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .nav { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px;
    background: var(--bg); box-shadow: 0 20px 30px rgba(29, 42, 53, .12); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 12px; font-size: 19px; color: var(--ink); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a::after { display: none; }
  .nav .nav__cta { display: flex; justify-content: center; margin-top: 14px; border: 0; border-radius: 14px; background: var(--accent); color: #fff; font-weight: 700; }

  .hero { padding: 100px 0 56px; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__title { font-size: clamp(34px, 9.4vw, 46px); margin: 18px 0; }
  .hl { white-space: normal; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__visual { height: 470px; width: 100%; max-width: 420px; margin: 0 auto; }
  .hero__visual::before { width: 320px; height: 320px; }
  .phone { width: 220px; border-radius: 34px; padding: 8px; }
  .phone__screen { border-radius: 27px; padding: 40px 14px 18px; }
  .ms-name { font-size: 18px; }
  .float { max-width: 210px; padding: 10px 12px 10px 10px; gap: 10px; font-size: 12px; border-radius: 14px; }
  .float b { font-size: 13px; }
  .float__icon { width: 34px; height: 34px; border-radius: 10px; }
  .float__icon svg { width: 17px; height: 17px; }
  .float--notify { top: 34px; right: 0; }
  .float--domain { left: 0; top: 47%; }
  .float--check { right: 0; bottom: 30px; }
  .hero__facts { margin-top: 0; }
  .hero__facts li { padding: 18px 10px 0 0; }
  .hero__facts li + li { padding-left: 12px; }
  .hero__facts b { font-size: 24px; white-space: nowrap; }
  .hero__facts li > span { font-size: 13.5px; display: block; line-height: 1.35; margin-top: 2px; }

  .audience { padding: 28px 0; }
  .audience__list { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .audience__list li { flex-direction: row; align-items: center; font-size: 15px; }
  .audience__list svg { width: 26px; height: 26px; flex: none; }

  .section { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .section__sub { font-size: 17px; }
  .services, .works, .why { grid-template-columns: 1fr; }
  .service { padding: 24px; }

  /* Фильтры работ — одна строка с прокруткой пальцем */
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 24px; padding: 0 16px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }

  /* Шаги — вертикально, линия слева */
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent), var(--gold)); transform: scaleY(0); transform-origin: top; }
  .steps.is-drawn::before { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; }
  .step__n { margin-bottom: 0; }
  .why { margin-top: 48px; gap: 14px; }
  .why__item { padding: 22px; }

  .faq summary { font-size: 17px; padding: 18px 60px 18px 20px; }
  .faq__body { padding: 0 20px 20px; }

  .form { padding: 24px 18px; border-radius: 20px; gap: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .chips i { padding: 0 14px; font-size: 15.5px; }
  .msg { flex: 1 1 140px; justify-content: center; }

  .footer { padding: 32px 0 110px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__legal { text-align: left; }

  /* Нижняя панель с кнопкой заявки */
  .mobile-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(247, 245, 240, .97); box-shadow: 0 -1px 0 var(--line), 0 -10px 24px rgba(29, 42, 53, .08); transform: translateY(110%); transition: transform .35s var(--ease); }
  .mobile-cta.is-shown { transform: none; }
  .mobile-cta .btn { min-height: 52px; }
  .mobile-cta__tg { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #229ed9; }
  .mobile-cta__tg svg { width: 24px; height: 24px; fill: #fff; }

  .lightbox img { max-height: 70vh; }
}

/* На сенсорных экранах нет наведения — отключаем «подпрыгивания», чтобы карточки не залипали после касания */
@media (hover: none) {
  .service:hover, .work:hover, .btn:hover, .msg:hover { transform: none; box-shadow: none; }
  .work:hover .work__img img { transform: none; }
  .service:hover .service__icon { transform: none; background: var(--accent-soft); }
  .service:hover .service__icon svg { stroke: var(--accent); }
}

/* Если в системе включено «Уменьшить движение» — убираем анимации */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero__visual .phone, .js .hero__visual .float { opacity: 1; transform: none; }
  .hl path { stroke-dashoffset: 0; }
  .steps::before { transform: none; }
}
