@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(/fonts/montserrat-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(/fonts/montserrat-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --orange: #ff6a21;
  --orange-text: #f75506;
  --black: #000;
  --ink: #000;
  --qa: #333;
  --footer: #1e1d24;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font: 400 18px/1.8 "Montserrat", "MS Sans Serif", Geneva, sans-serif;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-text); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; }
.ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { position: relative; }
.title { font-size: 48px; font-weight: 700; line-height: 1.1; text-transform: uppercase; text-align: center; margin-bottom: 30px; }

/* Кнопки: оранжевые, почти квадратные, мелкий текст ЗАГЛАВНЫМИ */
.btn {
  display: inline-block; padding: 16px 34px; border-radius: 4px;
  background: var(--orange); color: #fff; text-decoration: none;
  font-size: 18px; font-weight: 600; line-height: 1.17; letter-spacing: .04em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.btn:hover { background: #fff; color: var(--orange); box-shadow: inset 0 0 0 2px var(--orange); }
.btn-row { text-align: center; margin-top: 28px; }

/* Разделитель «мазок кистью»: цвет = цвет следующей секции */
.brush {
  position: absolute; left: 0; right: 0; top: -42px; height: 43px; background: var(--c, #000);
  -webkit-mask: url(/img/brush.svg) center / 100% 100% no-repeat;
          mask: url(/img/brush.svg) center / 100% 100% no-repeat;
}

/* Шапка */
.topbar { background: #000; color: #9a9a9a; font-size: 13px; border-bottom: 1px solid #323232; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 42px; }
.topbar a { color: #bdbdbd; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .icons { display: flex; gap: 14px; font-size: 17px; }
.topbar .icons a { display: flex; }
.head { position: sticky; top: 0; z-index: 20; background: #000; }
.head .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 106px; }
.logo { color: #fff; text-decoration: none; font-size: 21px; font-weight: 400; line-height: 1.1; }
.nav { display: flex; gap: 46px; }
.nav a { color: #fff; text-decoration: none; font-size: 16px; font-weight: 700; text-transform: uppercase; }
.nav a:hover { color: var(--orange); }
.burger { display: none; color: #fff; font-size: 26px; cursor: pointer; }
#menu { display: none; }

/* Первый экран */
.hero { background: #000 url(/img/wall.webp) left center repeat; color: #fff; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 715px; }
.hero-photo { align-self: end; justify-self: center; height: 665px; width: auto; }
.hero h1 { font-size: 48px; font-weight: 600; line-height: 1; margin-bottom: 60px; }
.hero .creds { font-size: 22px; font-weight: 400; line-height: 1.8; margin-bottom: 55px; }

/* Принципы: белый фон с чёрным полукругом снизу (как в оригинале) */
.principles { background: #fff radial-gradient(circle at center bottom, #000 50%, rgba(255,255,255,0) 0%) center / 100% 100% no-repeat; padding-top: 30px; }
.card {
  background: #fff; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.09);
  padding: 40px;
}
.help { text-align: center; }
.help h3 { font-size: 28px; font-weight: 600; line-height: 1.8; color: #1e1d24; margin-bottom: 20px; }
.help .ticks { display: inline-block; text-align: left; padding: 0; margin: 0 auto 0 0; width: 100%; }
.help .ticks li { color: var(--orange-text); font-weight: 700; font-size: 16px; line-height: 1.7; }
.help p { font-size: 22px; color: #1e1d24; margin-top: 4px; }
.iconlist { list-style: none; padding: 0; }
.iconlist li { display: flex; gap: 12px; margin-bottom: 9px; line-height: 1.55; }
.iconlist .ico { margin-top: .28em; font-size: 15px; }
.ticks .ico { color: var(--orange-text); }

.princ { display: grid; grid-template-columns: 45% 55%; align-items: end; margin-top: 70px; color: #fff; }
.princ-text { padding: 260px 0 60px 30px; }
.princ h2 { font-size: 40px; line-height: 1.1; margin-bottom: 26px; }
.princ ul { list-style: none; padding: 0; }
.princ li { display: flex; gap: 18px; margin-bottom: 10px; font-size: 18px; font-weight: 300; line-height: 2.08; color: #fff; }
.princ li b { color: #fff; font-size: 22px; font-weight: 700; line-height: 1.7; }
.princ li .ico { font-size: 26px; margin-top: .3em; color: #fff; stroke-width: 2; }
.princ-photo { justify-self: center; height: 818px; width: auto; }

/* Вопрос-ответ */
.faq { background: #000; color: #fff; padding: 20px 0 150px; }
.faq .title { margin-bottom: 18px; }
.faq-list { width: 88.5%; }
.faq details { margin-bottom: 12px; background: var(--qa); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; gap: 18px; align-items: baseline;
  padding: 14px 30px; font-size: 28px; font-weight: 600; line-height: 1.1;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; font-weight: 700; }
.faq details[open] summary::before { content: "−"; }
.faq details > :not(summary) { margin: 0; padding: 0 30px 0 70px; font-size: 18px; }
.faq details > :last-child { padding-bottom: 20px; }
.faq ol { padding-left: 90px !important; }
.faq a { color: var(--orange); }
.triangle {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 95px; background: #fff;
  clip-path: polygon(0 100%, 25% 0, 100% 72%, 100% 100%);
}

/* Услуги */
.price { padding: 30px 0 110px; }
.price .title { margin-bottom: 50px; }
.price h3 { color: var(--orange-text); font-size: 32px; font-weight: 500; line-height: 1.1; margin-bottom: 20px; }
.cost { font-size: 22px; font-weight: 400; }
.wide { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; font-size: 18px; }
.wide ul { padding-left: 1.3em; margin-bottom: 20px; }
.wide .btn-row { margin-top: 0; }
.four {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px; align-items: start;
  margin: 60px -20px;
}
.four .card { padding: 30px 20px; font-size: 18px; }
.four h3 { text-align: center; }
.four ul { padding-left: 1.4em; margin-bottom: 1em; }
.four .btn-row { margin-top: 36px; }

/* Кейсы */
.cases { background: #000; padding: 55px 0 120px; }
.cases .title { color: #fff; margin-bottom: 30px; }
.case { border-radius: 6px; padding: 20px 20px 34px; margin-bottom: 60px; font-size: 16px; font-weight: 500; line-height: 1.49; }
.case:last-child { margin-bottom: 0; }
.case h3 { font-size: 38px; font-weight: 500; line-height: 1.1; text-align: center; margin: 4px 0 22px; }
.case h4 { font-size: 28px; font-weight: 500; line-height: 1.1; margin: 28px 0 12px; }
.case h4:first-of-type { margin-top: 0; }
.case .iconlist { columns: 2; column-gap: 60px; padding-left: 10px; }
.case .iconlist li { break-inside: avoid; margin-bottom: 12px; }
.case .iconlist .ico { font-size: 13px; }
.case .warn { color: var(--orange); font-size: 28px; line-height: 1.1; margin: 28px 0 0; }
.case b { font-weight: 600; }
.g1 { background: linear-gradient(92deg, #eff9f9 9%, #b6c7e2 90%); }
.g2 { background: linear-gradient(92deg, #b6c7e2 9%, #fcfbe0 90%); }
.g3 { background: linear-gradient(92deg, #fcfbe0 9%, #f7cac9 90%); }
.g4 { background: linear-gradient(92deg, #f7cac9 9%, #92a8d1 90%); }
.g5 { background: linear-gradient(92deg, #92a8d1 9%, #eff9f9 90%); }

/* Сертификаты */
.certs { padding: 95px 0 150px; }
.certs .title { margin-bottom: 40px; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cert-grid figure { margin: 0; }
.cert-grid img { width: 100%; max-width: 368px; }
.cert-grid figcaption { font-size: 16px; font-weight: 400; margin-top: 8px; }
.cert-grid figcaption span { display: block; margin-top: 18px; }

/* Контакты */
.contacts { background: var(--orange); padding: 20px 0 110px; }
.contact-card { display: grid; grid-template-columns: 190px 1fr 330px; gap: 20px; align-items: center; padding: 40px 30px; }
.avatar { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; object-position: top; box-shadow: 0 6px 18px rgba(0,0,0,.3); justify-self: center; }
.contact-card h2 { font-size: 40px; font-weight: 800; margin-bottom: 14px; }
.contact-card .strong { font-weight: 600; font-size: 18px; }
.messengers { list-style: none; padding: 0; margin: 0; }
.messengers a { display: flex; align-items: center; gap: 22px; padding: 16px 0; color: #000; text-decoration: none; font-size: 30px; font-weight: 700; }
.messengers a:hover { color: var(--orange); }
.messengers svg { width: 46px; height: 46px; flex: none; }
.grass { position: absolute; left: 0; right: 0; bottom: -1px; height: 62px; width: 100%; }

/* Подвал */
.foot { background: var(--footer); color: rgba(255,255,255,.7); font-size: 14px; padding: 60px 0 0; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.foot-cols a { display: block; color: var(--orange); text-decoration: none; line-height: 2.6; }
.foot-cols .muted a { color: rgba(255,255,255,.6); line-height: 1.8; }
.foot-cols a:hover { color: #fff; }
.copy { background: #17161b; padding: 30px 20px; font-size: 12px; text-align: center; color: #b2b2b2; }
.copy b { color: #fff; font-weight: 500; }

/* Планшеты */
@media (max-width: 1100px) {
  .four { grid-template-columns: repeat(2, 1fr); gap: 30px; margin: 40px 0; }
  .contact-card { grid-template-columns: 150px 1fr; }
  .messengers { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
}

/* Телефоны */
@media (max-width: 800px) {
  .wrap { padding: 0 30px; }
  .title { font-size: 34px; }
  .topbar .wrap { min-height: 36px; }
  .head .wrap { min-height: 76px; }
  .logo { font-size: 28.7px; line-height: 1.1; max-width: 9em; }
  .burger { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #000; border-top: 1px solid #323232;
  }
  .nav a { padding: 14px 20px; border-bottom: 1px solid #222; }
  #menu:checked ~ .nav { display: flex; }

  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 50px; padding-bottom: 60px; text-align: center; }
  .hero-photo, .princ-photo { display: none; }
  .hero h1 { font-size: 48px; margin-bottom: 40px; }
  .hero .creds { font-size: 22px; margin-bottom: 40px; }
  .hero .btn { display: block; }

  .card { padding: 30px 20px; }
  .help h3 { font-size: 28px; }
  .help p { font-size: 18px; }
  .help .btn { display: block; }
  .principles { background: #fff linear-gradient(#fff, #fff); padding-bottom: 0; }
  .princ { display: block; background: #000; color: #fff; margin: 0 -30px; padding: 0 30px; border-radius: 50% 50% 0 0 / 40px 40px 0 0; margin-top: 40px; }
  .princ-text { padding: 70px 0 30px; }
  .princ h2 { font-size: 31.5px; text-align: center; }

  .faq { padding: 30px 0 110px; }
  .faq-list { width: 100%; }
  .faq summary { font-size: 22px; padding: 14px 20px; gap: 14px; }
  .faq details > :not(summary) { padding: 0 20px; }
  .faq ol { padding-left: 40px !important; }
  .triangle { height: 50px; }

  .price h3 { font-size: 28.7px; }
  .wide { grid-template-columns: 1fr; gap: 0; }
  .four { grid-template-columns: 1fr; gap: 24px; margin: 24px 0; }
  .four .card { padding: 30px 24px; }

  .case { padding: 20px 16px 30px; margin-bottom: 40px; }
  .case h3 { font-size: 30.8px; }
  .case h4, .case .warn { font-size: 27.3px; }
  .case .iconlist { columns: 1; padding-left: 0; }

  .certs { padding: 70px 0 110px; }
  .certs .title { font-size: 22px; }
  .cert-grid { grid-template-columns: 1fr; gap: 30px; }
  .cert-grid img { margin: 0 auto; max-width: 100%; }

  .contact-card { grid-template-columns: 1fr; text-align: center; padding: 30px 20px; }
  .contact-card h2 { font-size: 31.5px; }
  .messengers { display: block; grid-column: auto; text-align: left; max-width: 260px; margin: 0 auto; }
  .messengers a { font-size: 24px; padding: 10px 0; }
  .grass { height: 40px; }
  .foot-cols { grid-template-columns: 1fr; gap: 10px; }
}

/* Баннер cookies: внизу экрана, кнопки равные */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 760px; margin: 0 auto; padding: 18px 22px;
  display: flex; align-items: center; gap: 20px;
  background: #1e1d24; color: #fff; border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,.35);
  font-size: 15px; line-height: 1.5;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1; }
.cookie a { color: var(--orange); }
.cookie-btns { display: flex; gap: 10px; flex: none; }
.cookie button {
  min-width: 145px; padding: 11px 18px; border-radius: 4px; cursor: pointer;
  font: 600 14px/1.2 "Montserrat", sans-serif; text-transform: uppercase; letter-spacing: .04em;
  color: #fff; border: 0;
}
.cookie .no { background: #5f5e66; }
.cookie .no:hover { background: #75747c; }
.cookie .yes { background: var(--orange); }
.cookie .yes:hover { background: #ff7f40; }
@media (max-width: 640px) {
  .cookie { flex-direction: column; align-items: stretch; gap: 14px; left: 10px; right: 10px; bottom: 10px; }
  .cookie-btns button { flex: 1; min-width: 0; }
}

/* Страницы политики */
.doc { max-width: 860px; margin: 0 auto; padding: 60px 20px 80px; font-size: 17px; line-height: 1.7; }
.doc h1 { font-size: 36px; font-weight: 700; margin-bottom: 10px; }
.doc h2 { font-size: 24px; font-weight: 600; margin: 40px 0 12px; }
.doc .date { color: #666; margin-bottom: 30px; }
.doc ul { padding-left: 1.3em; margin-bottom: 1em; }
.doc .attr { margin-top: 40px; font-size: 12px; color: #999; }
.doc .attr a { color: #999; }
.doc-head { background: #000; }
.doc-head .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 70px; gap: 20px; }
.doc-head a { color: #fff; text-decoration: none; }
.doc-head .lang a { font-size: 14px; font-weight: 600; text-transform: uppercase; margin-left: 14px; }
.doc-head .lang a[aria-current] { color: var(--orange); }
.btn-plain { background: none; border: 0; padding: 0; color: var(--orange-text); font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) {
  .doc { padding: 40px 20px 60px; }
  .doc h1 { font-size: 28px; hyphens: auto; overflow-wrap: break-word; }
  .doc-head .logo { font-size: 20px; }
}

/* Кнопка и форма заявки */
.contact-card .btn { margin-top: 10px; border: 0; cursor: pointer; font-family: inherit; }
.lead { width: min(520px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lead::backdrop { background: rgba(0,0,0,.6); }
.lead-form, .lead-done { position: relative; padding: 34px 30px 26px; }
.lead h2 { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.lead-note { color: #555; font-size: 16px; }
.lead label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.lead .opt { font-weight: 400; color: #777; }
.lead input, .lead textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px;
  font: 400 16px/1.4 "Montserrat", sans-serif; color: #000;
  border: 1px solid #ccc; border-radius: 4px; background: #fff;
}
.lead input:focus, .lead textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
.lead textarea { resize: vertical; }
.lead .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.lead .btn { border: 0; cursor: pointer; font-family: inherit; width: 100%; }
.lead .btn:disabled { opacity: .6; cursor: default; }
.lead-error { color: #c62828; font-size: 15px; }
.lead-error a { color: inherit; }
.lead-legal { font-size: 12px; color: #777; margin: 12px 0 0; }
.lead-legal a { color: #777; }
.lead-close { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 30px; line-height: 1; color: #777; cursor: pointer; }
.lead-close:hover { color: #000; }
