/* ============================================================
   Lilith Land — стили
   Светлая бело-синяя корпоративная эстетика (по референсу).
   Шрифты: Manrope (заголовки) + Golos Text (текст), кириллица.
   ============================================================ */

:root {
  --bg:        #FFFFFF;
  --bg-2:      #F4F7FC;   /* светлые секции-alt */
  --surface:   #FFFFFF;
  --ink:       #0F1A33;   /* тёмно-синий текст */
  --ink-soft:  #51607A;
  --ink-faint: #8A95AC;
  --blue:      #2F62F5;
  --blue-dark: #1B45CC;
  --blue-50:   #EAF0FF;   /* фон иконок/плашек */
  --navy:      #0E1A38;   /* подвал */
  --line:      rgba(15, 26, 51, .10);
  --line-2:    rgba(15, 26, 51, .06);
  --shadow-sm: 0 2px 12px rgba(15, 26, 51, .05);
  --shadow:    0 24px 60px -28px rgba(15, 26, 51, .22);
  --shadow-lg: 0 40px 90px -30px rgba(15, 26, 51, .35);
  --shadow-blue: 0 16px 30px -12px rgba(47, 98, 245, .5);
  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1180px;
  --ease:      cubic-bezier(.22, .61, .36, 1);
  --font-disp: "Manrope", system-ui, sans-serif;
  --font-body: "Golos Text", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

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

h1, h2, h3 { font-family: var(--font-disp); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
a { color: inherit; text-decoration: none; }

/* ───────────────────────── Кнопки ───────────────────────── */
.btn {
  font-family: var(--font-disp); font-size: 15px; font-weight: 700; letter-spacing: 0;
  padding: 14px 26px; border-radius: 12px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap; display: inline-flex; align-items: center; gap: 8px;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn--solid { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn--solid:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* Светлая «призрачная» — для hero на светлом фоне */
.btn--ghost-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost-light:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

.btn--text { background: none; padding: 8px 0; color: var(--blue); font-weight: 700; align-self: flex-start; }
.btn--text:hover { color: var(--blue-dark); gap: 12px; }

.btn--sm { padding: 11px 20px; font-size: 14px; }

/* ───────────────────────── Шапка (белая) ───────────────────────── */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .3s var(--ease), border-color .3s;
}
.header.is-stuck { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 76px; }

.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-disp); font-weight: 800; font-size: 21px; color: var(--ink); }
.brand__mark { width: 42px; height: 38px; display: grid; place-items: center; transition: transform .4s var(--ease); }
.brand__img { width: 100%; height: 100%; object-fit: contain; font-size: 9px; color: var(--ink-faint); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.06); }
.brand__name { letter-spacing: -.02em; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 600; color: var(--ink-soft); padding: 9px 14px; border-radius: 10px; position: relative; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: var(--bg-2); }
.nav a.is-active { color: var(--blue); }
.nav a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--blue); border-radius: 2px; }

.header__cta { margin-left: 4px; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .25s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ───────────────────────── Hero (светлый) ───────────────────────── */
.hero {
  position: relative; padding: 150px 0 90px;
  background:
    radial-gradient(60% 70% at 85% 20%, var(--blue-50) 0%, transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-2) 100%);
  overflow: hidden;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.hero__col { max-width: 580px; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 700; color: var(--blue); margin-bottom: 20px; }
.hero__title { font-size: clamp(36px, 5.4vw, 62px); font-weight: 800; }
.hero__title em { color: var(--blue); font-style: normal; }
.hero__sub { margin: 22px 0 34px; font-size: clamp(16px, 1.5vw, 18px); color: var(--ink-soft); max-width: 500px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Иллюстрация — монитор с сайтом */
.hero__art { position: relative; display: grid; place-items: center; min-height: 380px; }

.mockup { position: relative; width: clamp(320px, 40vw, 500px); animation: floaty 8s ease-in-out infinite; }
.mockup__screen {
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -34px rgba(15,26,51,.45), 0 8px 20px -10px rgba(15,26,51,.2);
}
.mockup__neck { width: 70px; height: 26px; margin: 0 auto; background: linear-gradient(180deg, #dfe6f5, #c7d2ea); }
.mockup__base { width: 180px; height: 12px; margin: 0 auto; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #cfd9ee, #b6c4e2); }

/* Браузерная шапка */
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line-2); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d7deec; }
.browser__bar i:nth-child(1) { background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__url { margin-left: 10px; height: 16px; flex: 1; max-width: 60%; background: #fff; border: 1px solid var(--line-2); border-radius: 6px; font-size: 9px; color: var(--ink-faint); display: flex; align-items: center; padding: 0 8px; }

/* Мини-сайт внутри */
.site { padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.site__nav { display: flex; align-items: center; gap: 8px; }
.site__logo { width: 30px; height: 12px; border-radius: 4px; background: var(--blue); }
.site__menu { display: flex; gap: 6px; margin-left: auto; }
.site__menu i { width: 20px; height: 6px; border-radius: 3px; background: #e4e9f4; }
.site__cta { width: 34px; height: 14px; border-radius: 5px; background: var(--blue); }
.site__hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 12px; align-items: center; padding: 6px 0; }
.site__copy { display: flex; flex-direction: column; gap: 7px; }
.l { height: 9px; border-radius: 4px; background: #e8edf7; }
.l--h { height: 13px; width: 90%; background: #c5d0e8; }
.l--h.short { width: 60%; }
.l--t { height: 7px; }
.l--t.short { width: 70%; }
.site__btn { margin-top: 5px; width: 64px; height: 18px; border-radius: 6px; background: var(--blue); box-shadow: var(--shadow-blue); }
.site__visual { height: 92px; border-radius: 10px; background: radial-gradient(circle at 35% 30%, var(--blue-50), #dfe7fa); border: 1px solid var(--line-2); }
.site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.site__cards span { height: 40px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line-2); }
.site__cards span:nth-child(2) { background: var(--blue-50); border-color: rgba(47,98,245,.18); }
.hero__dot { position: absolute; border-radius: 50%; background: var(--blue); opacity: .9; }
.hero__dot--1 { width: 14px; height: 14px; top: 12%; left: 6%; animation: floaty 6s ease-in-out infinite; }
.hero__dot--2 { width: 9px; height: 9px; bottom: 16%; right: 4%; background: var(--blue-dark); animation: floaty 7s ease-in-out infinite reverse; }
.hero__dot--3 { width: 20px; height: 20px; bottom: 4%; left: 18%; opacity: .15; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ───────────────────────── Секции ───────────────────────── */
.section { padding: clamp(70px, 9vw, 116px) 0; position: relative; }
.section--alt { background: var(--bg-2); }

.section__head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section__kicker { display: inline-block; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; color: var(--blue); margin-bottom: 14px; padding: 6px 14px; background: var(--blue-50); border-radius: 100px; }
.section__title { font-size: clamp(28px, 4vw, 46px); }
.section__lead { margin-top: 16px; color: var(--ink-soft); font-size: 17px; }

.card { background: var(--surface); border: 1.5px solid rgba(15,26,51,.12); border-radius: var(--radius); padding: 30px; box-shadow: 0 4px 20px rgba(15,26,51,.08), 0 1px 4px rgba(15,26,51,.06); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }

/* ───────────────────────── Услуги ───────────────────────── */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { display: flex; flex-direction: column; gap: 10px; padding: 36px 32px; }
.service:hover { transform: translateY(-8px); box-shadow: 0 20px 50px -16px rgba(47,98,245,.22), 0 8px 24px -8px rgba(15,26,51,.12); border-color: rgba(47,98,245,.4); }
.service__icon { width: 64px; height: 64px; border-radius: 18px; background: var(--blue-50); display: grid; place-items: center; margin-bottom: 14px; color: var(--blue); transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.service:hover .service__icon { background: var(--blue); color: #fff; transform: scale(1.08); }
.service__icon svg { width: 30px; height: 30px; }
.service h3 { font-size: 30px; font-weight: 800; letter-spacing: -.025em; transition: color .25s; }
.service:hover h3 { color: var(--blue); }
.service p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }

/* ───────────────────────── Слайдер ───────────────────────── */
.slider { display: flex; align-items: center; gap: 14px; }
.slider__viewport { overflow: hidden; flex: 1; padding: 16px 0; margin: -16px 0; }
.slider__track { display: flex; gap: 22px; transition: transform .6s var(--ease); }
.slide { flex: 0 0 calc((100% - 44px) / 3); cursor: pointer; background: var(--surface); border: 1.5px solid rgba(15,26,51,.12); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 20px rgba(15,26,51,.08), 0 1px 4px rgba(15,26,51,.06); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.slide:hover { transform: translateY(-8px); box-shadow: 0 20px 50px -16px rgba(47,98,245,.22), 0 8px 24px -8px rgba(15,26,51,.12); border-color: rgba(47,98,245,.4); }
.slide__media { aspect-ratio: 16 / 10; position: relative; overflow: hidden; }
.slide__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.slide:hover .slide__media img { transform: scale(1.05); }
.slide__placeholder { width: 100%; height: 100%; display: grid; place-items: center; position: relative; color: #fff; }
.slide__placeholder span { font-family: var(--font-disp); font-weight: 700; font-size: 17px; padding: 0 24px; text-align: center; position: relative; z-index: 1; line-height: 1.3; }
.slide__placeholder::after { content: ""; position: absolute; inset: 0; opacity: .16; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23fff' stroke-width='.5'/%3E%3C/svg%3E"); }
.slide__body { padding: 18px 20px 22px; }
.slide__type { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }
.slide__title { font-size: 18px; margin-top: 6px; }

.slider__arrow { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .25s, color .25s, transform .25s, border-color .25s; }
.slider__arrow:hover { background: var(--blue); color: #fff; transform: scale(1.06); border-color: var(--blue); }

.slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.slider__dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; transition: background .25s, transform .25s; padding: 0; }
.slider__dots button.is-active { background: var(--blue); transform: scale(1.4); }

.portfolio__more { display: flex; justify-content: center; margin-top: 36px; }

/* ───────────────────────── Цены ───────────────────────── */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { display: flex; flex-direction: column; }
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.price__name { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.price__value { font-family: var(--font-disp); font-weight: 800; font-size: 38px; margin: 14px 0 4px; letter-spacing: -.02em; }
.price__hint { font-size: 14px; color: var(--ink-faint); margin-bottom: 22px; }
.price__features { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.price__features li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.price__features li::before { content: "✓"; color: var(--blue); font-weight: 800; flex: 0 0 auto; }
.price .btn { width: 100%; justify-content: center; }

.price--featured { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-12px); box-shadow: var(--shadow-blue); position: relative; }
.price--featured:hover { transform: translateY(-18px); }
.price--featured .price__name { color: rgba(255,255,255,.85); }
.price--featured .price__value, .price--featured h3 { color: #fff; }
.price--featured .price__hint { color: rgba(255,255,255,.7); }
.price--featured .price__features li { color: rgba(255,255,255,.92); }
.price--featured .price__features li::before { color: #fff; }
.price--featured .btn { background: #fff; color: var(--blue); box-shadow: none; }
.price--featured .btn:hover { background: var(--navy); color: #fff; }
.price__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 16px; border-radius: 100px; text-transform: uppercase; letter-spacing: .06em; }

/* Доп. услуги */
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.extra { display: flex; flex-direction: column; gap: 8px; }
.extra:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }
.extra__tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.extra h3 { font-size: 21px; }
.extra p { color: var(--ink-soft); font-size: 15.5px; }

/* ───────────────────────── Этапы ───────────────────────── */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 26px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.step { position: relative; padding-top: 4px; }
.step__num { display: inline-grid; place-items: center; width: 52px; height: 52px; font-family: var(--font-disp); font-size: 18px; font-weight: 800; background: var(--blue); color: #fff; border-radius: 50%; margin-bottom: 18px; position: relative; z-index: 1; box-shadow: var(--shadow-blue); }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* ───────────────────────── Подвал (тёмно-синий) ───────────────────────── */
.footer { background: var(--navy); color: #fff; padding: 64px 0 32px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.brand__mark--light { width: 54px; height: 54px; background: #fff; border-radius: 14px; padding: 7px; box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); }
.footer__name { font-family: var(--font-disp); font-size: 22px; font-weight: 800; }
.footer__tag { font-size: 14px; color: rgba(255,255,255,.6); }
.footer__links { display: flex; align-items: center; gap: 14px; }
.footer__social { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; transition: background .25s, transform .25s, color .25s; }
.footer__social svg { width: 20px; height: 20px; fill: currentColor; }
.footer__social:hover { transform: translateY(-3px); }
.footer__social--tg:hover { background: #229ED9; }
.footer__social--ig:hover { background: linear-gradient(135deg, #feda75, #d62976 45%, #962fbf 80%); }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 26px; font-size: 14px; color: rgba(255,255,255,.5); }

/* ───────────────────────── Модалки ───────────────────────── */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15, 26, 51, .55); backdrop-filter: blur(5px); opacity: 0; transition: opacity .35s var(--ease); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__dialog { position: relative; background: var(--surface); border-radius: 22px; width: calc(100% - 40px); max-height: calc(100vh - 60px); overflow-y: auto; margin: 30px auto; padding: 40px; box-shadow: var(--shadow-lg); transform: translateY(24px) scale(.97); opacity: 0; transition: transform .4s var(--ease), opacity .35s var(--ease); }
.modal.is-open .modal__dialog { transform: translateY(0) scale(1); opacity: 1; }
.modal__dialog--sm { max-width: 460px; text-align: center; }
.modal__dialog--lg { max-width: 1040px; }
.modal__dialog--work { max-width: 980px; padding: 0; overflow: hidden; }

.modal__close { position: absolute; top: 16px; right: 18px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink-soft); transition: background .2s, color .2s, transform .2s; }
.modal__close:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: rotate(90deg); }

.modal__cat { width: 78px; height: 60px; margin: 0 auto 10px; display: block; color: var(--ink); }
.modal__dialog--sm h2 { font-size: 27px; }
.modal__sub { color: var(--ink-soft); margin-top: 8px; }

.contacts { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.contact { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); text-align: left; transition: transform .25s var(--ease), border-color .25s, background .25s; }
.contact:hover { transform: translateY(-2px); border-color: var(--blue); background: var(--blue-50); }
.contact__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: 0 0 auto; }
.contact__ico svg { width: 24px; height: 24px; fill: currentColor; }
.contact--tg .contact__ico { background: #229ED9; }
.contact--ig .contact__ico { background: linear-gradient(135deg, #feda75, #d62976 45%, #962fbf 80%); }
.contact b { display: block; font-size: 16px; }
.contact small { color: var(--ink-faint); font-size: 14px; }

.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.works-grid .slide { flex: none; }

.work { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 460px; }
.work__media { background: var(--blue-50); position: relative; }
.work__media img { width: 100%; height: 100%; object-fit: cover; }
.work__media .slide__placeholder span { font-size: 22px; }
.work__body { padding: 48px 44px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.work__type { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); }
.work__body h2 { font-size: 28px; }
.work__link { color: var(--blue); font-weight: 600; font-size: 15px; word-break: break-all; transition: color .2s; }
.work__link:hover { color: var(--blue-dark); text-decoration: underline; }
.work__section h4 { font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); margin-bottom: 4px; }
.work__section p { color: var(--ink-soft); font-size: 15.5px; }
.work__body .btn { align-self: flex-start; margin-top: 6px; }

/* ───────────────────────── Reveal ───────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ───────────────────────── Планшет ───────────────────────── */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .slide { flex: 0 0 calc((100% - 22px) / 2); }
  .work { grid-template-columns: 1fr; }
  .work__media { aspect-ratio: 16 / 10; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ───────────────────────── Мобайл ───────────────────────── */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav, .header__cta { display: none; }
  .burger { display: flex; margin-left: auto; }
  .nav.is-open { display: flex; flex-direction: column; gap: 4px; position: absolute; top: 76px; left: 0; right: 0; background: #fff; padding: 16px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.is-open a { padding: 14px 12px; font-size: 17px; border-radius: 10px; }

  .hero { padding: 120px 0 70px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__col { margin: 0 auto; }
  .hero__eyebrow, .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__art { order: -1; min-height: 260px; }

  .section__head { margin-bottom: 40px; }
  .services { grid-template-columns: 1fr; }
  .slide { flex: 0 0 100%; }
  .prices { grid-template-columns: 1fr; gap: 26px; }
  .price--featured { transform: none; }
  .price--featured:hover { transform: translateY(-4px); }
  .extras { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { display: none; }
  .works-grid { grid-template-columns: 1fr; }

  .modal__dialog { padding: 32px 22px; margin: 16px auto; max-height: calc(100vh - 32px); }
  .work__body { padding: 32px 24px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
