/* ============ DagRemont — стили ============ */

:root {
  /* Нейтральная база */
  --bg: #faf7f2;
  --bg-alt: #f1ece3;
  --surface: #ffffff;
  --ink: #1f1c19;
  --ink-soft: #5d574f;
  --line: #e6ded3;
  --dark: #211d1a;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -22px rgba(40, 30, 20, .35);
  --shadow-soft: 0 10px 30px -18px rgba(40, 30, 20, .4);
  --container: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wa: #25d366;
}

/* Акцент — терракот (по умолчанию) */
[data-theme="terracotta"] {
  --accent: #c0573b;
  --accent-deep: #9c4026;
  --accent-soft: #f6e7df;
  --accent-tint: #fbf2ec;
}
/* Акцент — тёмно-зелёный */
[data-theme="green"] {
  --accent: #2f5d50;
  --accent-deep: #224439;
  --accent-soft: #e0ebe6;
  --accent-tint: #eef4f1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--accent); }

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

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
  white-space: nowrap;
}
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
  padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); margin-bottom: 18px;
}
.eyebrow--light { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- Переключатель темы ---------- */
.theme-switch {
  position: fixed; right: 16px; bottom: 92px; z-index: 60;
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); padding: 8px 12px; border-radius: 999px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.theme-switch__label { font-size: 12px; color: var(--ink-soft); font-weight: 600; }
.theme-dot {
  width: 22px; height: 22px; border-radius: 50%; background: var(--dot);
  border: 2px solid transparent; cursor: pointer; transition: transform .2s, border-color .2s;
}
.theme-dot:hover { transform: scale(1.12); }
.theme-dot.is-active { border-color: var(--ink); }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 18px;
}
.logo__text strong { color: var(--accent); }
.logo--light { color: #fff; }
.logo--light .logo__text strong { color: #fff; }

.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { font-size: 15px; color: var(--ink-soft); font-weight: 500; transition: color .2s; position: relative; }
.nav a:hover { color: var(--accent); }

.header__contacts { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header__phone { font-weight: 700; font-size: 15px; }
.header__socials { display: flex; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: all .2s;
}
.icon-btn--wa:hover { background: var(--wa); color: #fff; border-color: var(--wa); }
.icon-btn--tg:hover { background: #29a9eb; color: #fff; border-color: #29a9eb; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 72px; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(34px, 5vw, 58px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; margin-bottom: 22px; }
.hero__lead { font-size: 18px; color: var(--ink-soft); max-width: 520px; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__stats { display: flex; gap: 40px; }
.stat b { display: block; font-size: 20px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat span { font-size: 13px; color: var(--ink-soft); display: block; margin-top: 4px; }

.hero__media { position: relative; }
.hero__img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow);
}
.img-fallback { background: linear-gradient(135deg, var(--accent-soft), var(--bg-alt)); }
.hero__badge {
  position: absolute; left: -18px; bottom: 34px; background: var(--surface);
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); text-align: center;
}
.hero__badge-num { display: block; font-size: 30px; font-weight: 800; color: var(--accent); }
.hero__badge-text { font-size: 13px; color: var(--ink-soft); max-width: 110px; }

/* ---------- Полоса доверия ---------- */
.trust { padding: 8px 0 8px; }
.trust__inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-soft);
}
.trust__item { text-align: center; }
.trust__item b { display: block; font-size: 20px; color: var(--accent); }
.trust__item span { font-size: 14px; color: var(--ink-soft); }

/* ---------- Секции ---------- */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section__title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.section__sub { color: var(--ink-soft); font-size: 17px; margin-top: 14px; }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .3s var(--ease), box-shadow .3s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__num { font-size: 28px; font-weight: 800; color: var(--accent-soft); -webkit-text-stroke: 1px var(--accent); }
[data-theme] .step__num { color: var(--accent); opacity: .25; }
.step h3 { font-size: 17px; margin: 12px 0 8px; }
.step p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Калькулятор ---------- */
.calc {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.calc__controls { padding: 36px; }
.field { margin-bottom: 24px; }
.field > label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.field > label b { color: var(--accent); }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button {
  flex: 1; min-width: 64px; padding: 11px 14px; border-radius: var(--radius-sm); cursor: pointer;
  border: 1.5px solid var(--line); background: var(--bg); font-size: 14px; font-weight: 600; color: var(--ink-soft);
  transition: all .2s;
}
.seg button:hover { border-color: var(--accent); }
.seg button.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }

input[type="range"] {
  -webkit-appearance: none; width: 100%; height: 6px; border-radius: 6px;
  background: var(--accent-soft); outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent);
  cursor: pointer; border: 4px solid #fff; box-shadow: var(--shadow-soft);
}
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 4px solid #fff;
}

.check { display: flex; align-items: center; gap: 10px; font-weight: 500 !important; font-size: 15px; margin-bottom: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.check span { margin-left: auto; color: var(--accent); font-weight: 700; font-size: 14px; }

.calc__result {
  background: var(--dark); color: #fff; padding: 36px; display: flex; flex-direction: column;
}
.calc__result-label { font-size: 14px; opacity: .7; }
.calc__price { font-size: 40px; font-weight: 800; margin: 6px 0 22px; }
.calc__price #priceVal { color: #fff; }
.calc__meta { display: flex; gap: 28px; margin-bottom: auto; padding-bottom: 26px; }
.calc__meta span { display: block; font-size: 13px; opacity: .6; }
.calc__meta b { font-size: 18px; }
.calc__note { font-size: 12px; opacity: .5; margin-top: 14px; }

/* ---------- Пакеты ---------- */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.pack {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.pack:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pack--featured { border-color: var(--accent); box-shadow: var(--shadow); }
.pack.is-selected { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.pack__tag {
  position: absolute; top: -13px; left: 28px; background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px;
}
.pack__name { font-size: 22px; font-weight: 800; }
.pack__from { color: var(--ink-soft); margin: 6px 0 20px; }
.pack__from b { color: var(--accent); font-size: 20px; }
.pack__list { list-style: none; margin-bottom: 24px; }
.pack__list li { padding: 9px 0 9px 28px; position: relative; font-size: 15px; border-bottom: 1px solid var(--line); }
.pack__list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* ---------- Портфолио ---------- */
.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.filter {
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface);
  font-weight: 600; font-size: 14px; color: var(--ink-soft); cursor: pointer; transition: all .2s;
}
.filter:hover { border-color: var(--accent); color: var(--accent); }
.filter.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3; box-shadow: var(--shadow-soft); background: var(--bg-alt);
}
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .4s; }
.card .card__after { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__after { opacity: 1; }
.card:hover .card__before { transform: scale(1.05); }
.card__label {
  position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(0,0,0,.55); color: #fff;
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.card__hint {
  position: absolute; bottom: 12px; right: 12px; z-index: 2; background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; opacity: 0; transition: opacity .3s;
}
.card:hover .card__hint { opacity: 1; }
.card.is-hidden { display: none; }

/* ---------- Почему мы ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature__ico {
  width: 54px; height: 54px; border-radius: 14px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: 24px; margin-bottom: 18px;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
}
.review blockquote { font-size: 16px; line-height: 1.6; margin-bottom: 20px; }
.review blockquote::before { content: "“"; font-size: 50px; color: var(--accent-soft); line-height: 0; display: block; height: 24px; }
.review figcaption b { display: block; }
.review figcaption span { font-size: 14px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq__item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 22px; margin-bottom: 12px;
}
.faq__item summary {
  list-style: none; cursor: pointer; font-weight: 600; font-size: 17px; padding: 16px 30px 16px 0;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--accent);
  transition: transform .3s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 18px; color: var(--ink-soft); }

/* ---------- Форма заявки ---------- */
.lead { background: var(--dark); color: #fff; padding: 84px 0; }
.lead__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lead__title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; line-height: 1.12; margin-bottom: 16px; }
.lead__sub { color: rgba(255,255,255,.7); font-size: 17px; margin-bottom: 28px; }
.lead__contacts { display: flex; gap: 14px; flex-wrap: wrap; }
.lead__contact { background: rgba(255,255,255,.08); padding: 12px 18px; border-radius: 999px; font-weight: 600; transition: background .2s; }
.lead__contact:hover { background: rgba(255,255,255,.16); }

.lead__form { background: var(--surface); border-radius: var(--radius); padding: 32px; color: var(--ink); }
.lead__form .field { margin-bottom: 16px; }
.lead__form input, .lead__form select, .lead__form textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  font-size: 15px; font-family: inherit; background: var(--bg); transition: border-color .2s;
}
.lead__form input:focus, .lead__form select:focus, .lead__form textarea:focus { outline: none; border-color: var(--accent); }
.lead__form input.invalid { border-color: #d6453d; background: #fdf1f0; }
.lead__policy { font-size: 12px; color: var(--ink-soft); margin-top: 14px; text-align: center; }

/* ---------- Подвал ---------- */
.footer { background: #161311; color: rgba(255,255,255,.75); padding: 60px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer__col a { display: block; padding: 5px 0; color: rgba(255,255,255,.7); transition: color .2s; font-size: 15px; }
.footer__col a:hover { color: #fff; }
.footer__col--brand p { margin-top: 16px; font-size: 14px; max-width: 320px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; flex-wrap: wrap; }
.footer__dev a { color: var(--accent); font-weight: 600; }
.footer__dev a:hover { text-decoration: underline; }

/* ---------- Плавающая кнопка ---------- */
.fab {
  position: fixed; right: 20px; bottom: 24px; z-index: 55;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(37,211,102,.7);
  transition: transform .25s var(--ease);
  animation: pulse 2.4s infinite;
}
.fab:hover { transform: scale(1.08); }
@keyframes pulse { 0%,100% { box-shadow: 0 10px 30px -8px rgba(37,211,102,.7);} 50% { box-shadow: 0 10px 30px -2px rgba(37,211,102,.9);} }

/* ---------- Лайтбокс ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(15,12,10,.92);
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius); }
.lightbox__close {
  position: absolute; top: 22px; right: 28px; font-size: 40px; color: #fff; background: none; border: 0; cursor: pointer;
}

/* ---------- Анимация появления ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============ ВНУТРЕННИЕ СТРАНИЦЫ ============ */

/* Хлебные крошки + хедер страницы */
.page-hero {
  background: var(--bg-alt); padding: 56px 0 60px; border-bottom: 1px solid var(--line);
}
.crumbs { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--accent); }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; }
.page-hero p { color: var(--ink-soft); font-size: 18px; margin-top: 16px; max-width: 640px; }

/* Сетка проектов на отдельной странице */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s; display: block;
}
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work:hover .work__media img { transform: scale(1.05); }
.work__cat {
  position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(4px);
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px;
}
.work__body { padding: 20px 22px 24px; }
.work__body h3 { font-size: 18px; margin-bottom: 6px; }
.work__meta { display: flex; gap: 16px; color: var(--ink-soft); font-size: 14px; }
.work__meta b { color: var(--accent); }

/* Страница одного проекта */
.project { padding: 64px 0; }
.project__layout { display: grid; grid-template-columns: 1.4fr .9fr; gap: 48px; align-items: start; }
.ba {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 3/2; user-select: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 50%); }
.ba__divider {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; cursor: ew-resize; z-index: 3;
  box-shadow: 0 0 0 1px rgba(0,0,0,.1);
}
.ba__handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px;
  border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; font-weight: 800; color: var(--accent);
}
.ba__tag { position: absolute; top: 14px; z-index: 2; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; }
.ba__hint { text-align: center; color: var(--ink-soft); font-size: 14px; margin-top: 12px; }

.project__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.project__thumbs img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; box-shadow: var(--shadow-soft); }

.project__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-soft);
  position: sticky; top: 96px;
}
.project__card h2 { font-size: 24px; margin-bottom: 18px; }
.spec { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec span { color: var(--ink-soft); }
.spec b { color: var(--ink); }
.project__quote { background: var(--accent-tint); border-radius: var(--radius-sm); padding: 18px 20px; margin: 22px 0; font-size: 15px; }
.project__quote cite { display: block; margin-top: 10px; font-style: normal; font-weight: 700; color: var(--accent); }

/* Услуги */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service__ico { width: 54px; height: 54px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; }
.service h3 { font-size: 19px; margin-bottom: 10px; }
.service p { color: var(--ink-soft); font-size: 15px; margin-bottom: 14px; }
.service ul { list-style: none; }
.service li { padding: 6px 0 6px 24px; position: relative; font-size: 14px; }
.service li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* О компании */
.about-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-lead img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about-lead h2 { font-size: clamp(24px,3vw,34px); font-weight: 800; margin-bottom: 16px; }
.about-lead p { color: var(--ink-soft); font-size: 16px; margin-bottom: 14px; }
.values { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.value { text-align: center; padding: 28px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.value b { display: block; font-size: 22px; font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.value span { font-size: 14px; color: var(--ink-soft); }
.team { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.member { text-align: center; }
.member img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; box-shadow: var(--shadow-soft); }
.member b { display: block; }
.member span { font-size: 14px; color: var(--ink-soft); }

/* CTA-полоса для внутренних страниц */
.cta-band { background: var(--dark); color: #fff; padding: 56px 0; text-align: center; }
.cta-band h2 { font-size: clamp(24px,3vw,34px); font-weight: 800; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.7); margin-bottom: 26px; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.cta-band .btn--ghost:hover { border-color: #fff; color: #fff; }

@media (max-width: 980px) {
  .work-grid, .services-grid, .values, .team { grid-template-columns: 1fr 1fr; }
  .project__layout, .about-lead { grid-template-columns: 1fr; }
  .project__card { position: static; }
}
@media (max-width: 720px) {
  .work-grid, .services-grid, .values, .team { grid-template-columns: 1fr; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { order: -1; max-width: 460px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .packages, .features, .reviews { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
  .lead__inner, .footer__inner { grid-template-columns: 1fr; }
  .trust__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .header__contacts .header__phone, .header__contacts .btn { display: none; }
  .burger { display: flex; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--surface); padding: 20px 24px; gap: 16px; box-shadow: var(--shadow); border-bottom: 1px solid var(--line);
  }
  .gallery, .packages, .features, .reviews { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
  .section { padding: 60px 0; }
  .theme-switch { bottom: 88px; right: 12px; }
}
