/* DomFix v2 — «фирменный» лендинг мелких ремонтов. Один CSS на SK и RU версии.
   Ребрендинг: --accent здесь, «DomFix» в HTML, README §Ребрендинг. */
:root {
  --ink: #131a22;
  --ink-2: #222d3a;
  --muted: #5b6572;
  --paper: #faf8f5;
  --panel: #ffffff;
  --accent: #e8630a;
  --accent-dark: #c65204;
  --accent-soft: #fdeee1;
  --line: #e8e3da;
  --line-dark: #2c3947;
  --ok: #1e7a4d;
  --r: 16px;
  --max: 1140px;
  --shadow: 0 1px 2px rgba(19, 26, 34, .05), 0 8px 28px rgba(19, 26, 34, .07);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font: 16px/1.65 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { font-family: 'Manrope', 'Inter', sans-serif; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(27px, 3.6vw, 38px); }
section { padding: 72px 0; }
a { color: var(--accent-dark); }
.sec-head { max-width: 620px; margin-bottom: 40px; }
.sec-head .kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 10px; }
.sec-head p { color: var(--muted); margin-top: 12px; font-size: 16.5px; }

/* Иконки */
.ico { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.chip { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 26px; border-radius: 12px; font-weight: 700; font-size: 15.5px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: background .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(232, 99, 10, .28); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid #c9c2b6; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: 14px; border-radius: 10px; }
.btn--wa { background: #128c5f; color: #fff; }
.btn--wa:hover { background: #0d6e4a; }

/* Верхняя полоска */
.topbar { background: var(--ink); color: #b9c3cf; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; gap: 18px; height: 38px; }
.topbar__spacer { flex: 1; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--accent); }
.topbar .ico { width: 15px; height: 15px; }

/* Шапка */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(250, 248, 245, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 26px; height: 72px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.logo__mark { width: 40px; height: 40px; border-radius: 11px; background: var(--ink); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.logo__mark .ico { width: 22px; height: 22px; stroke-width: 2; }
.logo__text { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -.02em; line-height: 1.1; }
.logo__text b { color: var(--accent); font-weight: 800; }
.logo__text small { display: block; font-family: 'Inter', sans-serif; font-size: 10.5px; font-weight: 500; color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--accent-dark); }
.hdr__spacer { flex: 1; }
.hdr__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.hdr__phone .ico { width: 17px; height: 17px; color: var(--accent-dark); }
.langs { display: inline-flex; gap: 5px; }
.lang { font-size: 12.5px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.lang:hover { border-color: var(--accent); color: var(--accent-dark); }

/* Hero */
.hero { padding: 64px 0 68px; background:
  radial-gradient(1100px 500px at 85% -10%, rgba(232, 99, 10, .07), transparent 60%),
  linear-gradient(#faf8f5, #faf8f5);
  border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--accent-dark); background: var(--accent-soft); border-radius: 999px; padding: 7px 14px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 18px; }
.hero__sub { font-size: clamp(16.5px, 1.9vw, 19px); color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__checks { display: grid; gap: 9px; }
.hero__checks span { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.hero__checks .ico { width: 19px; height: 19px; color: var(--ok); }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.hero__card { position: absolute; left: -26px; bottom: 30px; background: var(--panel); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px; max-width: 270px; }
.hero__card .chip { width: 40px; height: 40px; border-radius: 10px; }
.hero__card b { display: block; font-size: 14.5px; line-height: 1.3; }
.hero__card small { color: var(--muted); font-size: 12.5px; }

/* Полоса доверия */
.trust { background: var(--panel); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust__item { display: flex; align-items: center; gap: 13px; }
.trust__item .ico { color: var(--accent-dark); width: 26px; height: 26px; }
.trust__item b { display: block; font-size: 14.5px; line-height: 1.3; }
.trust__item small { color: var(--muted); font-size: 12.5px; }

/* Услуги */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 24px; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .chip { margin-bottom: 16px; }
.card h3 { font-size: 17.5px; margin-bottom: 7px; }
.card p { font-size: 14.5px; color: var(--muted); }

.grid-cta { margin-top: 22px; background: var(--panel); border: 1px dashed #cfc7ba; border-radius: var(--r); padding: 20px 26px; display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; }
.grid-cta b { font-family: 'Manrope', sans-serif; font-size: 16.5px; }
.grid-cta span { color: var(--muted); font-size: 14.5px; flex: 1; min-width: 240px; }

/* Фото-полоса */
.band .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.band figure { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.band img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.band figure:hover img { transform: scale(1.03); }
.band figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 18px 14px; font-size: 14px; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(19, 26, 34, .78)); }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px 24px; position: relative; }
.step::before { counter-increment: s; content: '0' counter(s); font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 800; color: var(--accent); letter-spacing: .06em; display: block; margin-bottom: 12px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* Границы (čo nerobíme) */
.limits { padding: 0 0 72px; }
.limits .box { display: flex; gap: 20px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r); padding: 26px 30px; }
.limits .chip { flex: none; }
.limits h2 { font-size: 20px; margin-bottom: 8px; }
.limits p { color: var(--muted); font-size: 15px; max-width: 760px; }

/* Почему мы */
.why { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.why__media img { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 4 / 4.2; object-fit: cover; width: 100%; }
.why__list { display: grid; gap: 22px; margin-top: 28px; }
.why__item { display: flex; gap: 16px; }
.why__item .chip { flex: none; }
.why__item b { display: block; font-size: 16.5px; margin-bottom: 3px; font-family: 'Manrope', sans-serif; font-weight: 800; }
.why__item p { font-size: 14.5px; color: var(--muted); }

/* FAQ */
.faq__list { max-width: 780px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16px; padding: 18px 34px 18px 0; list-style: none; position: relative; font-family: 'Manrope', sans-serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 2px; top: 50%; width: 11px; height: 11px; border-right: 2.2px solid var(--accent); border-bottom: 2.2px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); font-size: 15px; }

/* Контакт + форма */
.contact { background: linear-gradient(165deg, #131a22, #1d2938 65%, #24344a); color: #fff; }
.contact .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact h2 { color: #fff; }
.contact__sub { color: #aeb9c6; margin: 14px 0 30px; max-width: 460px; }
.contact__ways { display: grid; gap: 14px; margin-bottom: 30px; }
.contact__way { display: flex; align-items: center; gap: 15px; background: #ffffff10; border: 1px solid #ffffff24; border-radius: 14px; padding: 15px 18px; text-decoration: none; color: #fff; transition: border-color .15s; }
.contact__way:hover { border-color: var(--accent); }
.contact__way .chip { background: #ffffff14; color: var(--accent); width: 42px; height: 42px; border-radius: 11px; }
.contact__way b { display: block; font-size: 16px; }
.contact__way small { color: #aeb9c6; font-size: 12.5px; }
.contact__note { font-size: 13.5px; color: #8fa0b3; max-width: 420px; }

.form-card { background: var(--panel); color: var(--ink); border-radius: 20px; padding: 32px 30px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.form-card h3 { font-size: 20px; margin-bottom: 4px; }
.form-card > p { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.form { display: grid; gap: 14px; }
.form label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: block; margin-bottom: 5px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--paper); color: var(--ink); font: inherit; font-size: 15px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form textarea { min-height: 92px; resize: vertical; }
.form .btn { width: 100%; }
.form__note { font-size: 12px; color: var(--muted); }
.form__msg { display: none; padding: 12px 15px; border-radius: 10px; font-size: 14.5px; }
.form__msg.ok { display: block; background: #e3f5ea; color: #14532d; }
.form__msg.err { display: block; background: #fdeaea; color: #7f1d1d; }
.hp { position: absolute; left: -5000px; opacity: 0; }

/* Футер */
.ftr { background: #0e141b; color: #97a3b1; padding: 52px 0 34px; font-size: 14px; }
.ftr .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.ftr h4 { color: #fff; font-family: 'Manrope', sans-serif; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.ftr a { color: #97a3b1; text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr ul { list-style: none; display: grid; gap: 9px; }
.ftr .logo { margin-bottom: 14px; }
.ftr .logo__text { color: #fff; }
.ftr .logo__text small { color: #97a3b1; }
.ftr__about { max-width: 300px; font-size: 13.5px; }
.ftr__bottom { border-top: 1px solid #ffffff14; margin-top: 40px; padding-top: 22px; font-size: 12.5px; color: #6b7683; line-height: 1.9; }
.ftr__bottom .wrap { display: block; }

/* Мобильный */
@media (max-width: 960px) {
  .nav { display: none; }
  .hero .wrap, .why .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 16 / 10; }
  .hero__card { left: 12px; bottom: 12px; }
  .grid, .steps, .band .wrap { grid-template-columns: repeat(2, 1fr); }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why__media { order: 2; }
  .why__media img { aspect-ratio: 16 / 10; }
  .ftr .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  section { padding: 52px 0; }
  .topbar .topbar__loc { display: none; }
  .hdr .wrap { height: 64px; gap: 8px; }
  /* телефон остаётся в topbar сверху — в шапке на узком экране не дублируем */
  .hdr__phone { display: none; }
  .logo__text small { display: none; }
  .hdr .btn--sm { padding: 9px 11px; font-size: 12.5px; }
  .langs { gap: 4px; }
  .lang { padding: 6px 8px; font-size: 12px; }
  .hero { padding: 40px 0 52px; }
  .hero__cta .btn { width: 100%; }
  .grid, .steps, .band .wrap { grid-template-columns: 1fr; }
  .limits .box { flex-direction: column; gap: 14px; padding: 22px; }
  .form-card { padding: 26px 20px; }
  .ftr .wrap { grid-template-columns: 1fr; gap: 30px; }
}
