/* =========================================================
   Self-hosted шрифты (Manrope + Unbounded) — для устранения
   зависимости от fonts.googleapis.com / fonts.gstatic.com.
   Файлы лежат в /fonts/.
   ========================================================= */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-400-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;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/manrope-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/manrope-600-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;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/manrope-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/manrope-700-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;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/unbounded-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/unbounded-700-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 {
  --bg: #f7f6f3;
  --bg-alt: #efece6;
  --ink: #14181f;
  --ink-2: #2b313c;
  --muted: #6b7280;
  --line: #e3dfd6;
  --white: #ffffff;
  --dark: #0e1218;
  --dark-2: #161b23;
  --accent: #c89a4b;        /* медно-золотой */
  --accent-2: #b58639;
  --accent-soft: #f3e6cf;
  --danger: #d4452c;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 6px rgba(20, 24, 31, .06);
  --shadow-md: 0 10px 30px rgba(20, 24, 31, .08);
  --shadow-lg: 0 24px 60px rgba(20, 24, 31, .15);
  --max: 1240px;
  --header-h: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;                    /* модерн-вариант без слома sticky */
}
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; padding: 0; }

/* iOS Safari — текстовые поля не должны зумить при focus */
input[type="text"], input[type="tel"], input[type="email"], input[type="number"],
select, textarea {
  -webkit-appearance: none;
  appearance: none;
  font-size: 16px;                     /* критично: iOS зумит, если меньше 16 */
  font-family: inherit;
}

/* Honeypot — невидимый */
input[name="_honey"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  left: -1px !important;
  top: -1px !important;
}

h1, h2, h3, h4 {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  line-height: 1.15;
}
h1 { font-size: clamp(34px, 4.6vw, 60px); }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
h3 { font-size: 20px; }
p  { margin: 0 0 .9em; color: var(--ink-2); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* =================== Buttons =================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn--accent {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 22px rgba(200, 154, 75, .35);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(200, 154, 75, .5); }
.btn--ghost {
  background: transparent;
  border-color: rgba(20, 24, 31, .15);
  color: var(--ink);
}
.btn--ghost:hover { background: rgba(20, 24, 31, .05); }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* =================== TopBar =================== */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 24px;
  flex-wrap: wrap;
}
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.75); }
.topbar__item svg { color: var(--accent); flex-shrink: 0; }
.topbar__link:hover { color: var(--accent); }

/* =================== Header =================== */
.header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.logo__mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(200, 154, 75, .35);
}
.logo__text { font-family: 'Unbounded', sans-serif; font-size: 18px; }
.logo__text span { color: var(--accent); }
.logo--light { color: #fff; }
.logo--light .logo__text span { color: var(--accent); }

.nav { display: flex; gap: 28px; }
.nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width .25s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.header__cta { display: flex; align-items: center; gap: 14px; }
.phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px;
  color: var(--ink);
}
.phone svg { color: var(--accent); }
.phone:hover { color: var(--accent); }

.burger {
  display: none;
  background: transparent;
  border: 0;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* =================== Hero =================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f6f3 0%, #efece6 100%);
  padding: 60px 0 80px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 85% 20%, rgba(200, 154, 75, .14), transparent 60%),
    radial-gradient(600px 300px at 10% 90%, rgba(20, 24, 31, .06), transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(20, 24, 31, .04);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 4px rgba(46, 204, 113, .2);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(46, 204, 113, .2); }
  50% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
}
.hero__title { margin: 0 0 18px; }
.hero__title span {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead { font-size: 17px; color: var(--ink-2); max-width: 560px; margin-bottom: 30px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  list-style: none;
  padding: 0; margin: 0;
}
.hero__stats li {
  display: flex; flex-direction: column; gap: 4px;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
}
.hero__stats strong { font-family: 'Unbounded', sans-serif; font-size: 22px; color: var(--ink); }
.hero__stats span { font-size: 13px; color: var(--muted); }

.hero__card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero__card-head { display: flex; gap: 8px; margin-bottom: 16px; }
.pill {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-weight: 700; font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
}
.pill--ghost { background: rgba(20, 24, 31, .06); color: var(--ink-2); }
.hero__card h3 { font-size: 22px; margin-bottom: 8px; }
.hero__card p { color: var(--muted); margin-bottom: 20px; }
.quick-form { display: flex; flex-direction: column; gap: 10px; }
.quick-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 16px;                      /* >= 16px чтобы iOS не зумил */
  font-family: inherit;
  background: var(--bg);
  color: var(--ink);
  transition: border-color .2s, background .2s;
}
.quick-form input:focus { outline: none; border-color: var(--accent); background: #fff; }
.form-note { font-size: 12px; color: var(--muted); margin: 0; text-align: center; }

/* =================== Trust strip =================== */
.trust { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 28px 24px;
  gap: 24px;
}
.trust__item {
  display: flex; align-items: center; gap: 14px;
  font-weight: 600; color: var(--ink);
}
.trust__item svg {
  color: var(--accent);
  background: var(--accent-soft);
  padding: 10px; box-sizing: content-box;
  border-radius: 12px;
}

/* =================== Sections =================== */
.section { padding: 90px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark p { color: rgba(255,255,255,.7); }

.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head--light h2,
.section__head--light .eyebrow { color: #fff; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section__head p { font-size: 17px; color: var(--muted); }
.section--dark .section__head p { color: rgba(255,255,255,.6); }

/* =================== Services =================== */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all .25s ease;
  display: flex; flex-direction: column;
}
.service:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.service__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--accent-soft), #ebd9b9);
  color: var(--accent-2);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service h3 { margin-bottom: 10px; }
.service p { color: var(--muted); margin-bottom: 18px; flex-grow: 1; }
.service__cta {
  display: inline-flex; align-items: center;
  font-weight: 700; font-size: 14px;
  color: var(--accent-2);
}

/* =================== Advantages =================== */
.advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.adv {
  background: var(--dark);
  padding: 38px 32px;
  transition: background .25s;
}
.adv:hover { background: var(--dark-2); }
.adv__num {
  display: inline-block;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700; font-size: 14px;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: .08em;
}
.adv h3 { color: #fff; margin-bottom: 10px; }
.adv p { color: rgba(255,255,255,.65); margin: 0; }

/* =================== Prices =================== */
.prices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}
.price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 22px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all .2s;
}
.price:hover { border-color: var(--accent); transform: translateX(4px); }
.price span { font-weight: 500; color: var(--ink-2); }
.price b {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: 17px;
  white-space: nowrap;
}
.price--highlight {
  background: linear-gradient(135deg, #fff, var(--accent-soft));
  border-color: var(--accent);
}
.prices__cta { text-align: center; }
.prices__cta p { color: var(--muted); margin-bottom: 20px; }

/* =================== Works =================== */
.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all .25s;
}
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.work__img {
  height: 220px;
  background-size: cover; background-position: center;
}
.work__img--1 { background-image: linear-gradient(135deg, #4a5568 0%, #2d3748 100%), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect width="100" height="100" fill="%234a5568"/></svg>'); }
.work__img--2 { background-image: linear-gradient(135deg, #8b6914 0%, #4a3810 100%); }
.work__img--3 { background-image: linear-gradient(135deg, #2c5282 0%, #1a365d 100%); }
.work__body { padding: 24px 26px; }
.tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-weight: 700; font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.work h3 { font-size: 19px; margin-bottom: 8px; }
.work p { color: var(--muted); margin: 0; font-size: 15px; }

/* =================== About =================== */
.about {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.about__text p { font-size: 16px; line-height: 1.7; }
.about__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.about__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.about__card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: var(--radius-lg);
  text-align: center;
}
.about__card strong {
  display: block;
  font-family: 'Unbounded', sans-serif;
  font-size: 32px;
  color: var(--accent-2);
  margin-bottom: 6px;
}
.about__card span { font-size: 14px; color: var(--muted); }

/* =================== Partners =================== */
.partners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 880px;
  margin: 0 auto;
}
.partners__col {
  background: var(--dark-2);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.06);
}
.partners__col h3 {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.partners__col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.partners__col li {
  color: #fff;
  font-weight: 500;
  padding-left: 18px;
  position: relative;
}
.partners__col li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* =================== Blog =================== */
.blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all .25s;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
a.post { display: block; color: inherit; text-decoration: none; }
.post__img {
  height: 180px;
  width: 100%;
  object-fit: cover;
  display: block;
  background: var(--bg);
}
.post__art {
  width: 100%;
  height: 100%;
  display: block;
}
.post__body { padding: 24px 26px; }
.post h3 { margin-bottom: 10px; }
.post p { color: var(--muted); font-size: 15px; }
.post__link {
  font-weight: 700; font-size: 14px;
  color: var(--accent-2);
}
.post__link:hover { color: var(--accent); }

/* =================== Contacts =================== */
.contacts__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contacts__info p { color: var(--muted); font-size: 16px; max-width: 460px; }
.contacts__list { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 22px; }
.contacts__list li { display: flex; gap: 16px; align-items: flex-start; }
.contacts__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-2);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contacts__list a { font-weight: 700; color: var(--ink); }
.contacts__list a:hover { color: var(--accent); }
.contacts__list small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; font-weight: 400; }

.contacts__form {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 14px;
}
.contacts__form h3 { margin-bottom: 8px; }
.contacts__form label { display: flex; flex-direction: column; gap: 6px; }
.contacts__form label span { font-size: 13px; color: var(--muted); font-weight: 600; }
.contacts__form .label-hint { font-style: normal; font-weight: 400; font-size: 12px; color: var(--muted); opacity: .75; margin-left: 4px; }
.contacts__form input,
.contacts__form select,
.contacts__form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 16px;                      /* >= 16px чтобы iOS не зумил */
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  resize: vertical;
  transition: border-color .2s, background .2s;
}
.contacts__form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236b7280' stroke-width='2' d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.contacts__form input:focus,
.contacts__form select:focus,
.contacts__form textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
}

/* =================== Footer =================== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 70px 0 24px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 {
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer__col a, .footer__col span { color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.7; }
.footer__col a:hover { color: var(--accent); }
.footer__col p { color: rgba(255,255,255,.55); font-size: 14px; margin-top: 8px; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap; gap: 10px;
}

/* =================== Article page =================== */
.article-hero {
  background: linear-gradient(180deg, #f7f6f3 0%, #efece6 100%);
  padding: 50px 0 40px;
  border-bottom: 1px solid var(--line);
}
.article-hero .breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.article-hero .breadcrumbs a { color: var(--accent-2); font-weight: 600; }
.article-hero .breadcrumbs a:hover { color: var(--accent); }
.article-hero h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; }
.article-hero p { color: var(--muted); font-size: 17px; max-width: 720px; }

.article {
  padding: 60px 0 90px;
}
.article__body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
}
.article__body h2 {
  font-size: 26px;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--ink);
}
.article__body h3 {
  font-size: 20px;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--ink);
}
.article__body p { margin-bottom: 1em; }
.article__body ul {
  padding-left: 0;
  list-style: none;
  margin: 16px 0;
}
.article__body ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
.article__body ul li::before {
  content: '';
  position: absolute; left: 0; top: 11px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.article__body blockquote {
  margin: 24px 0;
  padding: 20px 28px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--ink);
}
.article__cta {
  margin-top: 40px;
  padding: 32px;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.article__cta h3 { color: #fff; margin: 0 0 6px; font-size: 22px; }
.article__cta p { color: rgba(255,255,255,.7); margin: 0; }

/* =================== Form success / спиннер / тосты =================== */
.form-success {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  animation: fadeUp .4s ease;
}
.form-success--lg { padding: 48px 36px; }
.form-success__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2ecc71, #27ae60);
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 22px rgba(46, 204, 113, .35);
  animation: popIn .4s ease;
}
.form-success h3, .form-success h4 { margin: 0 0 8px; }
.form-success p { margin: 0; color: var(--muted); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  vertical-align: -3px;
  margin-right: 6px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%) translateY(20px);
  background: var(--dark);
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 1000;
  max-width: calc(100% - 40px);
  text-align: center;
}
.toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast--error { background: #c0392b; }
.toast--success { background: #27ae60; }

/* =================== Floating call button =================== */
.fab {
  position: fixed;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  width: 60px; height: 60px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(200, 154, 75, .5);
  z-index: 99;
  transition: transform .2s;
  animation: ringRing 2.5s ease-in-out infinite;
}

/* Утилиты: переносы только на десктопе */
@media (max-width: 900px) {
  .br-md { display: none; }
}
.fab:hover { transform: scale(1.08); }
@keyframes ringRing {
  0%, 100% { transform: scale(1); }
  6% { transform: scale(1.08) rotate(-8deg); }
  12% { transform: scale(1.08) rotate(8deg); }
  18%, 24% { transform: scale(1.08) rotate(-8deg); }
  30% { transform: scale(1) rotate(0); }
}

/* =================== Responsive =================== */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr !important; gap: 40px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .advantages { grid-template-columns: repeat(2, 1fr); }
  .works { grid-template-columns: repeat(2, 1fr); }
  .blog { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .contacts__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Mobile (planshet и меньше) ===== */
@media (max-width: 900px) {
  .container { padding: 0 18px !important; }
  .topbar { display: none !important; }

  /* Бургер-меню */
  .nav {
    position: fixed !important;
    top: var(--header-h); right: 0;
    width: min(320px, 80vw);
    height: calc(100vh - var(--header-h));
    background: #fff;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 24px;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    display: flex !important;
  }
  .nav.open { transform: translateX(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a::after { display: none; }
  .burger { display: inline-flex !important; }

  /* Шапка */
  .header__inner { gap: 12px; }
  .header__cta { gap: 8px; }
  .header__cta .phone { display: none !important; }
  .header__cta .btn { padding: 10px 14px; font-size: 13px; }
  .logo__text { font-size: 16px; }
  .logo__mark { width: 36px; height: 36px; }

  /* Секции */
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 36px; }
  .section__head p { font-size: 15px; }
  h1 { font-size: clamp(28px, 8vw, 38px); }
  h2 { font-size: clamp(24px, 6vw, 32px); }

  /* Hero */
  .hero { padding: 32px 0 56px; }
  .hero__title { line-height: 1.18; margin-bottom: 14px; }
  .hero__lead { font-size: 15px; margin-bottom: 24px; }
  .hero__badge { font-size: 12px; padding: 7px 12px; margin-bottom: 18px; }
  .hero__ctas .btn { flex: 1; justify-content: center; min-width: 0; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px; }
  .hero__stats strong { font-size: 18px; }
  .hero__stats span { font-size: 12px; }
  .hero__stats li { padding-left: 10px; }
  .hero__card { padding: 22px; }
  .hero__card h3 { font-size: 18px; margin-bottom: 6px; }
  .hero__card p { font-size: 14px; margin-bottom: 16px; }
  .quick-form input { padding: 13px 14px; font-size: 16px; }

  /* На мобильном backdrop-filter может тормозить sticky на iOS Safari */
  .header { background: rgba(255,255,255,.98); -webkit-backdrop-filter: none; backdrop-filter: none; }

  /* Сетки → одна колонка */
  .services, .advantages, .works, .blog { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr; gap: 10px; }
  .partners { grid-template-columns: 1fr; gap: 16px; }
  .about__cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 36px; }
  .trust__inner { grid-template-columns: 1fr 1fr; padding: 22px 18px; gap: 18px; }
  .trust__item { font-size: 14px; gap: 12px; }

  /* Карточки услуг */
  .service { padding: 24px 22px; }
  .service__icon { width: 50px; height: 50px; margin-bottom: 16px; }
  .service h3 { font-size: 18px; }

  /* Преимущества */
  .adv { padding: 28px 24px; }
  .adv h3 { font-size: 18px; }

  /* Прайс */
  .price { padding: 16px 18px; gap: 12px; }
  .price span { font-size: 14px; line-height: 1.35; }
  .price b { font-size: 15px; }

  /* Работы / блог */
  .work__img, .post__img { height: 180px; }
  .work__body, .post__body { padding: 20px 22px; }
  .work h3, .post h3 { font-size: 17px; }

  /* О компании */
  .about__text p { font-size: 15px; }
  .about__card { padding: 18px 14px; }
  .about__card strong { font-size: 24px; }
  .about__card span { font-size: 12px; }

  /* Партнёры */
  .partners__col { padding: 24px 22px; }
  .partners__col ul { grid-template-columns: 1fr 1fr; gap: 8px 14px; }
  .partners__col li { font-size: 14px; }

  /* Контакты */
  .contacts__form { padding: 22px 20px; }
  .contacts__form h3 { font-size: 20px; }
  .contacts__list { gap: 18px; }
  .contacts__icon { width: 40px; height: 40px; }

  /* Footer */
  .footer { padding: 50px 0 20px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 8px; padding-top: 20px; }

  /* Form success — компактнее на мобилке */
  .form-success { padding: 22px 18px; }
  .form-success--lg { padding: 30px 22px; }
  .form-success__icon { width: 56px; height: 56px; font-size: 28px; margin-bottom: 14px; }
  /* Внутри hero-card — без рамки и фона (чтобы не было «карточка в карточке») */
  .hero__card .form-success {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 12px 0;
  }

  /* Статейные страницы */
  .article-hero { padding: 36px 0 30px; }
  .article-hero h1 { font-size: clamp(26px, 7vw, 36px); margin-bottom: 10px; }
  .article-hero p { font-size: 15px; }
  .breadcrumbs { font-size: 12px; margin-bottom: 12px; }
  .article { padding: 40px 0 56px; }
  .article__body { font-size: 16px; line-height: 1.7; }
  .article__body h2 { font-size: 22px; margin-top: 32px; }
  .article__body h3 { font-size: 18px; margin-top: 22px; }
  .article__body ul li { padding-left: 22px; }
  .article__body blockquote { padding: 16px 20px; margin: 20px 0; }
  .article__cta {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 22px;
    text-align: center;
    gap: 16px;
    margin-top: 32px;
  }
  .article__cta h3 { font-size: 20px; }
  .article__cta .btn { width: 100%; }

  /* FAB поменьше */
  .fab { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* ===== Small mobile ===== */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .footer__inner { grid-template-columns: 1fr; gap: 22px; }
  .hero__stats { gap: 10px; }
  .hero__ctas { gap: 8px; }
  .hero__ctas .btn { padding: 13px 14px; font-size: 14px; }
  .hero__ctas .btn svg { display: none; }
  .partners__col ul { grid-template-columns: 1fr; }
  .about__cards { grid-template-columns: 1fr 1fr; }
  .header__cta .btn { padding: 9px 12px; font-size: 13px; }
  .page-lead { padding: 24px 18px; }
  .form-channels { flex-direction: column; }
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.45;
}
.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  appearance: auto;
  -webkit-appearance: checkbox;
}
.consent a { color: var(--accent-2); text-decoration: underline; }
.form-channels {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.form-channels .btn { flex: 1; text-align: center; }
.page-lead {
  margin: 0 auto 48px;
  max-width: 640px;
}
.header-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 50%;
}
.header-wa:hover { color: #fff; background: #25a56a; border-color: #25a56a; }
.fab--wa {
  bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
  background: #25a56a !important;
  animation: none !important;
}
.hero-lead {
  padding: 0 0 28px;
}
.hero-lead .quick-form {
  max-width: 520px;
  margin: 8px 0 0;
}
.faq { margin-top: 36px; }
.faq h2 { margin-bottom: 16px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
  background: #fff;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.contacts-map {
  margin-top: 22px;
  border: 0;
  border-radius: 16px;
  width: 100%;
  height: 220px;
  background: var(--bg);
}
.geo-links, .intent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 8px;
}
.geo-links a, .intent-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
}
.prices-note { text-align: center; color: var(--muted); font-size: 14px; margin: 16px 0 0; }
@media (max-width: 900px) {
  .header__cta .header-wa { display: inline-flex !important; }
  .fab--wa { bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important; }
}
.quick-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  background: var(--bg);
}
.hero-lead .quick-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 640px;
}
.hero-lead .quick-form select,
.hero-lead .quick-form button,
.hero-lead .quick-form .form-note,
.hero-lead .form-success { grid-column: 1 / -1; }
.faq { max-width: 760px; }
.article__body .faq { max-width: none; }
@media (max-width: 640px) {
  .hero-lead .quick-form { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .section.contacts, #lead-form { padding-bottom: 96px; }
}

a.work { display: block; color: inherit; text-decoration: none; }
a.work img.work__img, .work__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: var(--bg);
}
.work__more {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-2);
}
.works__all { text-align: center; margin: 28px 0 0; }
.works__all a { font-weight: 700; color: var(--accent-2); }
.case-lead { max-width: 720px; color: var(--muted); font-size: 17px; margin: 0 0 18px; }
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.case-meta li {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 140px;
  background: #fff;
}
.case-meta span { display: block; font-size: 12px; color: var(--muted); }
.case-meta b { font-size: 16px; }
.case-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 16px;
}
.case-gallery figure { margin: 0; }
.case-gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.case-gallery figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.related-title { margin: 36px 0 16px; font-size: 22px; }
.works--related { margin-bottom: 24px; }
@media (max-width: 800px) {
  .case-gallery { grid-template-columns: 1fr; }
  .case-gallery img { height: 220px; }
}
