:root {
  --blue: #f97316;
  --blue-dark: #1f2933;
  --blue-soft: #fff1e8;
  --orange: #f97316;
  --orange-dark: #c2410c;
  --graphite: #1f2933;
  --graphite-2: #111827;
  --text: #111827;
  --muted: #667085;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f7f5f2;
  --sand: #f6f0e8;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.10);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229,231,235,0.9);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.logo-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 14px;
}

.logo-mark svg { width: 30px; height: 30px; }

.logo strong {
  display: block;
  font-size: 21px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.logo small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.15;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 650;
}

.nav a { transition: color .2s ease; }
.nav a:hover { color: var(--blue); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.phone span {
  font-size: 17px;
  font-weight: 800;
}

.phone small {
  color: var(--muted);
  font-size: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(20,84,166,.18);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--blue);
  border-color: rgba(20,84,166,.35);
}

.btn-whatsapp {
  background: #10b981;
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--blue);
  width: 100%;
}

.burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--blue-soft);
  border-radius: 12px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue);
  margin: 5px auto;
}

.mobile-menu {
  display: none;
  padding: 0 20px 20px;
  border-top: 1px solid var(--line);
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-weight: 750;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(20,84,166,.10), transparent 26%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 44px;
  padding: 62px 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 850;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--blue);
}

.light { color: #cfe0ff; }
.light::before { background: #fff; }

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin: 18px 0 18px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: .98;
  letter-spacing: -0.06em;
}

.lead {
  max-width: 570px;
  color: #344054;
  font-size: 20px;
  line-height: 1.55;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 28px;
}

.trust-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #344054;
  font-weight: 700;
  font-size: 14px;
}

.trust-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #fff;
  border: 1px solid rgba(20,84,166,.18);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(17,24,39,.06);
}

.hero-image {
  min-height: 510px;
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,0)),
    url("images/hero-main.jpg") center/cover;
  box-shadow: var(--shadow);
  position: relative;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: auto 24px 24px auto;
  width: 170px;
  height: 88px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 20px 50px rgba(0,0,0,.14);
}

.hero-image::before {
  content: "Замер и смета бесплатно";
  position: absolute;
  right: 43px;
  bottom: 54px;
  z-index: 2;
  font-weight: 850;
  color: var(--blue-dark);
}

.section {
  padding: 78px 0;
}

.section-muted {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  max-width: 730px;
  margin: 0 auto 38px;
}

.section-head h2 {
  margin: 10px 0 10px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.benefit-card,
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(17, 24, 39, .05);
}

.service-card {
  min-height: 154px;
  padding: 24px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}

.card-icon,
.benefit-card span {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 900;
}

.service-card h3,
.benefit-card h3,
.step h3 {
  margin-bottom: 8px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.service-card p,
.benefit-card p,
.step p {
  margin-bottom: 0;
  color: var(--muted);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.benefit-card {
  padding: 22px;
  text-align: center;
}

.benefit-card span {
  margin: 0 auto 14px;
  border-radius: 99px;
  font-size: 22px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.works-grid figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(17,24,39,.06);
}

.works-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.works-grid figcaption {
  padding: 14px 16px 16px;
  font-weight: 800;
}

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

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  padding: 28px;
  position: relative;
}

.step span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  color: #fff;
  background: var(--blue);
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 18px;
}

.cta-section {
  padding: 76px 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,.18), transparent 26%),
    linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.cta-box {
  display: grid;
  grid-template-columns: .86fr 1fr;
  gap: 38px;
  align-items: center;
  color: #fff;
}

.cta-content h2 {
  margin: 12px 0 16px;
  max-width: 560px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.cta-content p {
  max-width: 560px;
  color: rgba(255,255,255,.82);
  font-size: 18px;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 26px;
  padding: 24px;
  backdrop-filter: blur(10px);
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form label span {
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 800;
}

.lead-form .full,
.lead-form button,
.form-note,
.form-status {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 14px;
  padding: 15px 16px;
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.14);
}

textarea { resize: vertical; }

.form-note,
.form-status {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,.75);
}

.form-status {
  min-height: 18px;
  font-weight: 800;
}

.footer {
  padding: 48px 0;
  background: #071b37;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr 1fr;
  gap: 32px;
}

.footer a,
.footer p {
  display: block;
  color: rgba(255,255,255,.76);
  margin: 0 0 10px;
}

.footer h3 {
  margin-bottom: 16px;
}

.footer-logo {
  margin-bottom: 18px;
}

.footer .logo-mark {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.footer .logo small {
  color: rgba(255,255,255,.7);
}

@media (max-width: 1040px) {
  .nav,
  .header-actions { display: none; }

  .burger { display: block; }

  .mobile-menu.is-open { display: block; }

  .hero-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-image {
    min-height: 420px;
  }

  .services-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 68px;
  }

  .logo strong { font-size: 18px; }
  .logo small { display: none; }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-buttons,
  .trust-row {
    display: grid;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-image {
    min-height: 300px;
    border-radius: 24px;
  }

  .section {
    padding: 58px 0;
  }

  .services-grid,
  .benefits-grid,
  .works-grid,
  .process-grid,
  .footer-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 48px 1fr;
    padding: 20px;
  }

  .card-icon {
    width: 48px;
    height: 48px;
    font-size: 23px;
  }

  .cta-section {
    padding: 54px 0;
  }
}


/* ===== Правки: услуги, широкие плашки, карусель работ ===== */

.services-grid-clean {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-grid-clean .service-card {
  min-height: 126px;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 20px;
  align-items: center;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--blue);
  background: var(--blue-soft);
  flex: 0 0 auto;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-grid-clean .service-card h3 {
  margin: 0 0 5px;
  font-size: 18px;
}

.services-grid-clean .service-card p {
  font-size: 14px;
  line-height: 1.35;
}

.section-head-compact {
  margin-bottom: 28px;
}

.benefits-grid-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.benefits-grid-wide .benefit-card {
  min-height: 190px;
  padding: 28px 24px;
  text-align: left;
}

.benefits-grid-wide .benefit-card span {
  margin: 0 0 18px;
  width: 44px;
  height: 44px;
  font-size: 18px;
  color: #fff;
  background: var(--blue);
}

.benefits-grid-wide .benefit-card h3 {
  font-size: 20px;
}

.works-carousel {
  position: relative;
}

.works-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 54px) / 3);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 18px;
  scrollbar-width: none;
}

.works-track::-webkit-scrollbar {
  display: none;
}

.works-track figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(17,24,39,.06);
  scroll-snap-align: start;
}

.works-track img {
  width: 100%;
  height: 285px;
  object-fit: cover;
}

.works-track figcaption {
  padding: 16px 18px 18px;
  font-weight: 850;
}

.carousel-btn {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(20,84,166,.16);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(17,24,39,.14);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.carousel-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(17,24,39,.18);
}

.carousel-prev {
  left: -20px;
}

.carousel-next {
  right: -20px;
}

.footer-logo {
  gap: 18px;
  align-items: center;
}

.footer-logo .logo-mark {
  flex: 0 0 46px;
}

@media (max-width: 1040px) {
  .services-grid-clean,
  .benefits-grid-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works-track {
    grid-auto-columns: calc((100% - 18px) / 2);
  }
}

@media (max-width: 640px) {
  .services-grid-clean,
  .benefits-grid-wide {
    grid-template-columns: 1fr;
  }

  .works-track {
    grid-auto-columns: 86%;
  }

  .works-track img {
    height: 230px;
  }

  .carousel-btn {
    display: none;
  }

  .footer-logo {
    gap: 14px;
  }
}


/* ===== SEO-блок FAQ ===== */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-item {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 24, 39, .05);
}

.faq-item h3 {
  margin-bottom: 10px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.privacy-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Попап расчёта стоимости и кнопка на hero-фото ===== */

.hero-image::before,
.hero-image::after {
  content: none !important;
  display: none !important;
}

.hero-float-btn {
  position: absolute;
  right: 24px;
  bottom: 24px;
  min-height: 56px;
  padding: 0 26px;
  border: 0;
  border-radius: 16px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(20, 84, 166, .34);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.hero-float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(20, 84, 166, .42);
  background: var(--blue-dark);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 27, 55, .62);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  width: min(100%, 520px);
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .24);
  overflow: hidden;
  animation: modalIn .18s ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-content {
  padding: 38px;
}

.modal-content h2 {
  margin: 12px 0 12px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.modal-content p {
  color: var(--muted);
}

.modal-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.modal-form label {
  display: grid;
  gap: 8px;
}

.modal-form label span {
  font-size: 13px;
  font-weight: 850;
  color: #344054;
}

.modal-form input {
  background: var(--bg-soft);
  border-color: var(--line);
}

.modal-note {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.modal-note a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.modal-form .form-status {
  color: var(--blue);
  min-height: 18px;
}

body.modal-lock {
  overflow: hidden;
}

@media (max-width: 640px) {
  .hero-float-btn {
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: auto;
  }

  .modal-content {
    padding: 30px 22px 24px;
  }
}


/* ===== Цветовая схема: графит + оранжевый ===== */

body {
  background: #fffdfb;
}

.site-header {
  background: rgba(255, 253, 251, 0.94);
}

.logo-mark,
.card-icon,
.service-icon,
.benefit-card span,
.trust-icon {
  background: #fff1e8;
  color: var(--orange);
}

.btn-primary,
.step span {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover,
.hero-float-btn:hover {
  background: var(--orange-dark);
}

.btn-outline {
  color: var(--graphite);
  border-color: rgba(249, 115, 22, .35);
}

.btn-outline:hover {
  color: var(--orange);
}

.hero {
  background:
    radial-gradient(circle at 14% 24%, rgba(249,115,22,.13), transparent 26%),
    linear-gradient(180deg, #fffdfb 0%, #f7f5f2 100%);
}

.hero-image {
  box-shadow: 0 24px 70px rgba(31, 41, 51, .18);
}

.hero-float-btn {
  display: none !important;
}

.section-muted {
  background: var(--bg-soft);
}

.cta-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(249,115,22,.28), transparent 28%),
    linear-gradient(135deg, #111827, #1f2933);
}

.footer {
  background: #111827;
}

.btn-whatsapp {
  background: #22c55e;
}

/* ===== Новый блок преимуществ ===== */

.benefit-showcase {
  padding: 88px 0;
  overflow: hidden;
  position: relative;
}

.benefit-showcase::before {
  content: "";
  position: absolute;
  left: -120px;
  top: 40px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(249,115,22,.12), transparent 64%);
  border-radius: 50%;
}

.benefit-showcase::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: 30px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(31,41,51,.10), transparent 64%);
  border-radius: 50%;
}

.benefit-showcase-inner {
  position: relative;
  z-index: 1;
}

.benefit-panel {
  position: relative;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 42px;
  align-items: center;
  padding: 52px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.88)),
    url("images/hero-main.jpg") center/cover;
  border: 1px solid rgba(229,231,235,.9);
  box-shadow: 0 30px 90px rgba(31,41,51,.14);
}

.benefit-copy h2 {
  margin: 14px 0 16px;
  max-width: 480px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.benefit-copy p {
  max-width: 470px;
  color: #4b5563;
  font-size: 18px;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}

.benefit-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(229,231,235,.75);
}

.benefit-line-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #fff1e8;
  color: var(--orange);
}

.benefit-line-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-list h3 {
  margin: 2px 0 6px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.benefit-list p {
  margin: 0;
  color: #667085;
}

.benefit-stat {
  position: absolute;
  right: 52px;
  bottom: -34px;
  width: 230px;
  min-height: 150px;
  padding: 28px;
  border-radius: 24px;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 24px 55px rgba(249,115,22,.35);
}

.benefit-stat strong {
  display: block;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.benefit-stat span {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 750;
}

@media (max-width: 1040px) {
  .benefit-panel {
    grid-template-columns: 1fr;
    padding: 36px;
  }

  .benefit-stat {
    position: static;
    width: auto;
    margin-top: 4px;
  }
}

@media (max-width: 640px) {
  .benefit-showcase {
    padding: 58px 0;
  }

  .benefit-panel {
    padding: 24px;
    border-radius: 26px;
  }

  .benefit-list {
    grid-template-columns: 1fr;
  }

  .benefit-list article {
    grid-template-columns: 50px 1fr;
    padding: 15px;
  }

  .benefit-line-icon {
    width: 50px;
    height: 50px;
  }
}

/* ===== Внутренние страницы ===== */

.page-hero {
  padding: 72px 0 46px;
  background:
    radial-gradient(circle at 15% 20%, rgba(249,115,22,.12), transparent 28%),
    linear-gradient(180deg, #fffdfb 0%, #f7f5f2 100%);
}

.page-hero h1 {
  max-width: 860px;
  margin: 14px 0 16px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: .98;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 780px;
  color: #4b5563;
  font-size: 20px;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.page-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(17,24,39,.05);
}

.page-card h2,
.page-card h3 {
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.page-card p,
.page-card li {
  color: var(--muted);
}

.page-card ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.service-detail-grid {
  display: grid;
  gap: 18px;
}

.service-detail {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(17,24,39,.05);
}

.service-detail .service-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
}

.service-detail .service-icon svg {
  width: 42px;
  height: 42px;
}

.work-gallery-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.work-gallery-page figure {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(17,24,39,.06);
}

.work-gallery-page img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.work-gallery-page figcaption {
  padding: 16px 18px;
  font-weight: 850;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-item {
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(17,24,39,.05);
}

.contact-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.contact-item a {
  color: var(--orange);
  font-weight: 850;
}

@media (max-width: 1040px) {
  .page-grid,
  .work-gallery-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-grid,
  .work-gallery-page,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }
}


/* ===== Точечные правки: кнопка вверх, карусель, блок преимуществ, кнопки форм ===== */

/* Кнопка наверх */
.scroll-top-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 160;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--graphite);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(17,24,39,.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--orange);
}

/* Стрелки карусели — ровно по центру изображения, а не всей карточки с подписью */
.carousel-btn {
  top: 146px;
  transform: translateY(-50%);
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.04);
}

/* Чтобы правая оранжевая плашка не перекрывала текст в блоке преимуществ */
.benefit-panel {
  padding-bottom: 126px;
}

.benefit-list {
  padding-bottom: 20px;
}

.benefit-stat {
  bottom: 34px;
}

/* Чуть компактнее карточки преимуществ */
.benefit-list article {
  min-height: 128px;
}

/* Другой шрифт/вид у кнопок отправки заявки */
.lead-form button,
.modal-form button,
button[type="submit"].btn {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 900;
}

/* Чтобы кнопка вверх не конфликтовала с мобильным экраном */
@media (max-width: 640px) {
  .scroll-top-btn {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
    font-size: 21px;
  }

  .carousel-btn {
    top: 115px;
  }

  .benefit-panel {
    padding-bottom: 24px;
  }
}


/* ===== Нормальные иконки в шапке ===== */

.logo-mark svg,
.header-icon svg,
.btn-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-mark {
  background: #1f2933;
  color: var(--orange);
  border: 1px solid rgba(249,115,22,.22);
  box-shadow: 0 10px 24px rgba(31,41,51,.10);
}

.logo-mark svg {
  width: 31px;
  height: 31px;
}

.header-actions {
  gap: 16px;
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-direction: row;
  padding: 7px 10px 7px 7px;
  border-radius: 16px;
  transition: background .2s ease, transform .2s ease;
}

.phone:hover {
  background: #fff1e8;
  transform: translateY(-1px);
}

.header-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--orange);
  background: #fff1e8;
  border-radius: 12px;
}

.header-icon svg {
  width: 22px;
  height: 22px;
}

.phone-text {
  display: grid;
  gap: 1px;
  text-align: left;
}

.phone-text strong {
  font-size: 16px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.phone-text small {
  font-size: 12px;
  color: var(--muted);
}

.btn-icon {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  margin-right: 8px;
  flex: 0 0 auto;
}

.btn-whatsapp .btn-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.mobile-menu .btn-whatsapp {
  width: fit-content;
  padding-left: 18px;
  padding-right: 18px;
}

@media (max-width: 1120px) {
  .phone {
    padding-right: 6px;
  }

  .phone-text small {
    display: none;
  }
}

@media (max-width: 1040px) {
  .mobile-menu .btn-icon {
    margin-right: 8px;
  }
}


/* ===== Финальные правки: шапка, иконки преимуществ, карусель ===== */

/* Чуть больше воздуха между иконкой и текстом логотипа */
.logo {
  gap: 16px;
}

.logo strong {
  font-size: 20px;
}

.logo small {
  margin-top: 6px;
  line-height: 1.2;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  flex: 0 0 auto;
}

.logo > span:last-child {
  display: block;
}

/* Главный экран: плашки преимуществ сделать аккуратнее */
.trust-row {
  gap: 14px;
}

.trust-item {
  gap: 12px;
  align-items: center;
  padding: 10px 14px 10px 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(249,115,22,.16);
  box-shadow: 0 10px 24px rgba(17,24,39,.04);
  color: #1f2933;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.trust-text {
  display: block;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.trust-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--orange);
  background: #fff7f1;
  border: 1px solid rgba(249,115,22,.18);
  box-shadow: none;
  flex: 0 0 auto;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Стрелки карусели ровно по центру фото */
.works-carousel {
  --work-image-height: 285px;
}

.works-track img {
  height: var(--work-image-height);
}

.carousel-btn {
  top: calc((var(--work-image-height) / 2) + 4px) !important;
  transform: translateY(-50%) !important;
  display: grid;
  place-items: center;
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.04) !important;
}

/* Чуть больше отступ между иконкой и текстом телефона/кнопок */
.phone {
  gap: 12px;
}

.btn-icon {
  margin-right: 10px;
}

.btn-whatsapp {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 800;
}

/* Адаптив */
@media (max-width: 640px) {
  .trust-item {
    width: 100%;
  }

  .works-carousel {
    --work-image-height: 230px;
  }
}


/* ===== Последние правки по замечаниям ===== */

/* На всякий случай дожимаем шапку и логотип на всех страницах */
.logo {
  gap: 18px !important;
}

.logo-mark {
  width: 50px !important;
  height: 50px !important;
}

.logo small {
  margin-top: 7px !important;
}

/* Красивые иконки в первом экране */
.trust-row {
  gap: 14px !important;
}

.trust-item {
  gap: 12px !important;
  padding: 10px 14px 10px 10px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.95) !important;
  border: 1px solid rgba(249,115,22,.16) !important;
  box-shadow: 0 10px 24px rgba(17,24,39,.04) !important;
  color: #1f2933 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.01em !important;
}

.trust-text {
  display: block;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.trust-icon {
  width: 46px !important;
  height: 46px !important;
  border-radius: 14px !important;
  color: var(--orange) !important;
  background: #fff7f1 !important;
  border: 1px solid rgba(249,115,22,.18) !important;
  box-shadow: none !important;
  flex: 0 0 auto !important;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Стрелки карусели строго по центру фото */
.works-carousel {
  --work-image-height: 285px;
}

.works-track img {
  height: var(--work-image-height) !important;
}

.carousel-btn {
  top: calc((var(--work-image-height) / 2) + 4px) !important;
  transform: translateY(-50%) !important;
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.04) !important;
}

/* Небольшой апдейт отступов в иконках шапки */
.phone {
  gap: 12px !important;
}

.btn-icon {
  margin-right: 10px !important;
}

@media (max-width: 640px) {
  .trust-item {
    width: 100%;
  }

  .works-carousel {
    --work-image-height: 230px;
  }
}


/* ===== Финальная боевая версия: типографика, фотки, квиз ===== */
body {
  font-family: "Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
}

h1, h2, h3, h4, .logo strong {
  font-family: "Manrope", Inter, system-ui, sans-serif;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 { font-size: clamp(38px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.3vw, 42px); }
h3 { font-size: clamp(20px, 2vw, 26px); }

body {
  background: linear-gradient(180deg, #fff 0%, #f7f5f2 100%);
}

.site-header {
  box-shadow: 0 10px 30px rgba(17,24,39,.04);
}

.hero {
  background: radial-gradient(circle at 12% 12%, rgba(249,115,22,.10), transparent 24%), linear-gradient(180deg, #fff 0%, #f7f5f2 100%);
}

.hero-image {
  background: linear-gradient(120deg, rgba(17,24,39,.16), rgba(17,24,39,.06)), url("images/hero-main.jpg") center/cover !important;
  overflow: hidden;
}

.hero-image::after {
  background: rgba(255,255,255,.94);
}

.hero-image::before {
  content: "Монтаж под ключ • Ставрополь" !important;
  right: 34px !important;
  bottom: 56px !important;
  font-weight: 800;
}

.lead, .section-head p, .cta-content p, .page-hero p {
  font-size: 18px;
  line-height: 1.65;
  color: #465467;
}

.service-card, .benefit-card, .step, .work-gallery-page figure, .works-track figure {
  box-shadow: 0 18px 45px rgba(17,24,39,.06);
}

.service-card h3, .benefit-card h3, .step h3 {
  letter-spacing: -0.03em;
}

.page-hero {
  padding: 72px 0 42px;
  background: linear-gradient(180deg, #fff 0%, #f8f6f3 100%);
}

.page-hero-actions, .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.cta-actions .btn {
  min-width: 240px;
}

.cta-box {
  align-items: start;
}

/* Works photos slightly more rugged */
.works-track img, .work-gallery-page img {
  filter: saturate(.96) contrast(1.02);
}

/* Quiz page */
.quiz-body {
  background: radial-gradient(circle at 10% 10%, rgba(249,115,22,.08), transparent 18%), linear-gradient(180deg, #fcfbf9 0%, #f1eee9 100%);
}

.quiz-page {
  padding: 42px 0 78px;
}

.quiz-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 345px;
  gap: 24px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(17,24,39,.06);
  border-radius: 34px;
  box-shadow: 0 24px 60px rgba(17,24,39,.10);
  padding: 28px;
}

.quiz-left {
  min-height: 620px;
  padding: 12px 12px 8px 6px;
}

.quiz-left h1 {
  margin: 0 0 18px;
  max-width: 650px;
}

.quiz-subtitle {
  max-width: 540px;
  margin: 0 0 32px;
  color: #7b8794;
  font-size: 18px;
  line-height: 1.5;
}

.quiz-progress {
  color: #16a34a;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
}

.quiz-question h2, .quiz-success h2 {
  margin: 0 0 22px;
  max-width: 760px;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  margin-bottom: 34px;
  max-width: 760px;
}

.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  color: #243142;
  cursor: pointer;
}

.quiz-option input {
  margin-top: 4px;
  accent-color: var(--orange);
}

.quiz-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-ghost {
  background: #fff;
  color: var(--graphite);
  border-color: rgba(17,24,39,.08);
  box-shadow: 0 12px 30px rgba(17,24,39,.06);
}

.quiz-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--orange-dark);
  font-weight: 700;
}

.quiz-side {
  background: linear-gradient(180deg, #26b05e 0%, #26a455 100%);
  color: #fff;
  border-radius: 28px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.quiz-side::before, .quiz-side::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
}

.quiz-side::before { top: -70px; right: -40px; }
.quiz-side::after { bottom: -70px; left: -50px; }

.quiz-badge {
  width: 120px;
  height: 120px;
  margin: 16px auto 10px;
  display: grid;
  place-items: center;
}

.quiz-badge svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quiz-badge .quiz-dot {
  fill: #f43f5e;
  stroke: none;
}

.quiz-side-kicker {
  text-align: center;
  font-size: 18px;
  margin-bottom: 16px;
  opacity: .94;
}

.quiz-side h2 {
  text-align: center;
  font-size: 28px;
  margin: 0 0 18px;
}

.quiz-side p {
  text-align: center;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,.9);
}

.quiz-side ul {
  margin: 26px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,.94);
  display: grid;
  gap: 12px;
}

.quiz-final-form {
  max-width: 520px;
}

.quiz-final-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 700;
  color: #1f2933;
}

.quiz-final-form input {
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid #d6dce3;
  padding: 0 18px;
  font: inherit;
}

.quiz-final-text {
  margin-top: -4px;
  margin-bottom: 20px;
}

.quiz-success {
  max-width: 620px;
  padding-top: 10px;
}

.quiz-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #16a34a;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 18px;
}

@media (max-width: 980px) {
  .quiz-shell {
    grid-template-columns: 1fr;
  }
  .quiz-left { min-height: auto; }
  .quiz-side { order: -1; }
}

@media (max-width: 760px) {
  .quiz-page { padding-top: 24px; }
  .quiz-shell { padding: 18px; border-radius: 24px; }
  .quiz-options { grid-template-columns: 1fr; gap: 14px; }
  .quiz-side h2 { font-size: 24px; }
  .page-hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { min-width: 0; }
}


/* ===== Финальный фикс: кнопки, оранжевые акценты, калькулятор ===== */
.btn,
button,
input,
textarea,
select {
  font-family: "Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.btn {
  font-weight: 700 !important;
  font-size: 16px !important;
  letter-spacing: -0.02em !important;
  line-height: 1 !important;
  border-radius: 14px !important;
}

.btn:hover {
  box-shadow: 0 14px 30px rgba(249,115,22,.22) !important;
}

.btn-primary {
  background: linear-gradient(180deg, #fb923c 0%, #f97316 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.btn-outline {
  background: #fff !important;
  color: #f97316 !important;
  border-color: rgba(249,115,22,.28) !important;
}

.btn-light {
  color: #f97316 !important;
}

.btn-whatsapp {
  background: linear-gradient(180deg, #fb923c 0%, #f97316 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.btn-icon {
  width: 18px !important;
  height: 18px !important;
  margin-right: 8px !important;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quiz-progress,
.quiz-status {
  color: #ea580c !important;
}

.quiz-side {
  background: linear-gradient(180deg, #fb923c 0%, #f97316 55%, #ea580c 100%) !important;
}

.quiz-badge .quiz-dot {
  fill: #fff !important;
  stroke: rgba(249,115,22,.22) !important;
}

.quiz-success-icon {
  background: #f97316 !important;
}

.quiz-options {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 18px !important;
  max-width: 860px !important;
}

.quiz-option {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 16px 18px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 18px !important;
  background: #fff !important;
  min-height: 76px;
  box-shadow: 0 8px 24px rgba(17,24,39,.04);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
}

.quiz-option:hover {
  border-color: rgba(249,115,22,.35) !important;
  transform: translateY(-1px);
}

.quiz-option input {
  width: 18px !important;
  height: 18px !important;
  margin: 2px 0 0 0 !important;
  accent-color: #f97316 !important;
  flex: 0 0 auto;
}

.quiz-option span {
  display: block !important;
  flex: 1 1 auto !important;
  font-size: 16px !important;
  line-height: 1.42 !important;
  color: #1f2933 !important;
  text-align: left !important;
}

.quiz-option:has(input:checked) {
  border-color: #f97316 !important;
  background: #fff7f1 !important;
  box-shadow: 0 12px 28px rgba(249,115,22,.12) !important;
}

.quiz-question h2 {
  margin-bottom: 20px !important;
}

.quiz-side-kicker {
  opacity: 1 !important;
}

.quiz-side h2 {
  line-height: 1.04 !important;
}

@media (max-width: 760px) {
  .quiz-options {
    grid-template-columns: 1fr !important;
  }

  .quiz-option {
    min-height: 64px;
    padding: 14px 16px !important;
  }

  .quiz-actions {
    justify-content: flex-start;
  }
}


/* ===== FULL SERVICES FINAL FIX ===== */

body {
  font-family: "Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  background: linear-gradient(180deg, #fff 0%, #f7f5f2 100%) !important;
}

h1, h2, h3, h4, .logo strong {
  font-family: "Manrope", Inter, system-ui, sans-serif !important;
  letter-spacing: -0.045em;
}

/* header */
.site-header {
  background: rgba(255, 253, 251, .96) !important;
  border-bottom: 1px solid rgba(229,231,235,.85) !important;
  box-shadow: 0 10px 30px rgba(17,24,39,.04) !important;
}

.header-inner {
  gap: 24px !important;
}

.logo {
  gap: 16px !important;
}

.logo-mark {
  width: 48px !important;
  height: 48px !important;
  border-radius: 15px !important;
  background: #1f2933 !important;
  color: #f97316 !important;
  border: 1px solid rgba(249,115,22,.25) !important;
  box-shadow: 0 10px 26px rgba(17,24,39,.10) !important;
  flex: 0 0 auto !important;
}

.logo-mark svg,
.header-icon svg,
.btn-icon svg,
.service-icon svg,
.trust-icon svg {
  fill: none !important;
  stroke: currentColor !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.logo-mark svg {
  width: 30px !important;
  height: 30px !important;
  stroke-width: 2.7 !important;
}

.logo strong {
  font-size: 20px !important;
  letter-spacing: -0.045em !important;
}

.logo small {
  margin-top: 6px !important;
  line-height: 1.18 !important;
}

.nav {
  gap: 22px !important;
  font-size: 14px !important;
  font-weight: 750 !important;
}

.header-actions {
  gap: 12px !important;
}

.phone {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 6px 10px 6px 6px !important;
  border-radius: 16px !important;
  background: rgba(255,241,232,.65) !important;
}

.header-icon {
  width: 38px !important;
  height: 38px !important;
  display: grid !important;
  place-items: center !important;
  color: #f97316 !important;
  background: #fff !important;
  border-radius: 12px !important;
  flex: 0 0 auto !important;
}

.header-icon svg {
  width: 21px !important;
  height: 21px !important;
  stroke-width: 2.1 !important;
}

.phone-text {
  display: grid !important;
  gap: 1px !important;
  text-align: left !important;
}

.phone-text strong {
  font-size: 15px !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em !important;
}

.phone-text small {
  font-size: 11px !important;
}

/* buttons */
.btn,
button {
  font-family: "Manrope", Inter, system-ui, sans-serif !important;
  text-transform: none !important;
  letter-spacing: -0.02em !important;
  font-weight: 800 !important;
}

.btn {
  font-size: 16px !important;
  border-radius: 14px !important;
}

.btn-primary,
.btn-whatsapp {
  background: linear-gradient(180deg, #fb923c 0%, #f97316 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.btn-outline {
  background: #fff !important;
  color: #f97316 !important;
  border-color: rgba(249,115,22,.30) !important;
}

.btn-light {
  color: #f97316 !important;
}

.btn-icon {
  width: 19px !important;
  height: 19px !important;
  margin-right: 8px !important;
}

.btn-icon svg {
  width: 100% !important;
  height: 100% !important;
  stroke-width: 2.2 !important;
}

/* services */
.services-grid-full {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.service-card {
  min-height: 132px;
}

.service-detail-grid {
  gap: 20px !important;
}

.service-detail {
  grid-template-columns: 74px 1fr !important;
  padding: 28px !important;
}

.service-detail h2 {
  margin: 0 0 10px !important;
}

.service-detail ul {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

/* calculator */
.quiz-progress,
.quiz-status {
  color: #ea580c !important;
}

.quiz-side {
  background: linear-gradient(180deg, #fb923c 0%, #f97316 55%, #ea580c 100%) !important;
}

.quiz-badge .quiz-dot {
  fill: #fff !important;
  stroke: rgba(249,115,22,.22) !important;
}

.quiz-success-icon {
  background: #f97316 !important;
}

.quiz-options,
.calculator-options {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 18px !important;
  max-width: 890px !important;
}

.quiz-option,
.calculator-option {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 16px 18px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 18px !important;
  background: #fff !important;
  min-height: 76px;
  box-shadow: 0 8px 24px rgba(17,24,39,.04);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
  cursor: pointer !important;
}

.quiz-option:hover,
.calculator-option:hover {
  border-color: rgba(249,115,22,.35) !important;
  transform: translateY(-1px);
}

.quiz-option input,
.calculator-option input {
  width: 18px !important;
  height: 18px !important;
  margin: 2px 0 0 0 !important;
  accent-color: #f97316 !important;
  flex: 0 0 auto;
}

.quiz-option span,
.calculator-option span {
  display: block !important;
  flex: 1 1 auto !important;
  font-size: 16px !important;
  line-height: 1.42 !important;
  color: #1f2933 !important;
  text-align: left !important;
  word-break: normal !important;
}

.quiz-option:has(input:checked),
.calculator-option:has(input:checked) {
  border-color: #f97316 !important;
  background: #fff7f1 !important;
  box-shadow: 0 12px 28px rgba(249,115,22,.12) !important;
}

.quiz-question h2 {
  margin-bottom: 20px !important;
}

/* works photos */
.hero-image {
  background: linear-gradient(120deg, rgba(17,24,39,.16), rgba(17,24,39,.06)), url("images/hero-main.jpg") center/cover !important;
}

.hero-image::before {
  content: "Монтаж под ключ • Ставрополь" !important;
}

.works-track img,
.work-gallery-page img {
  filter: saturate(.96) contrast(1.02);
}

/* mobile */
@media (max-width: 1180px) {
  .nav {
    gap: 16px !important;
    font-size: 13px !important;
  }

  .phone-text small {
    display: none !important;
  }
}

@media (max-width: 1040px) {
  .services-grid-full {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .mobile-menu .btn-whatsapp {
    display: inline-flex !important;
    align-items: center !important;
    margin-top: 8px !important;
  }
}

@media (max-width: 760px) {
  .quiz-options,
  .calculator-options,
  .services-grid-full {
    grid-template-columns: 1fr !important;
  }

  .quiz-option,
  .calculator-option {
    min-height: 64px;
    padding: 14px 16px !important;
  }

  .quiz-actions {
    justify-content: flex-start;
  }

  .service-detail {
    grid-template-columns: 1fr !important;
  }
}

/* === 2026-06-16: реальные фото + правка типографики === */
.btn,
button {
  font-family: "Manrope", Inter, system-ui, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

.trust-item {
  font-weight: 700 !important;
}

.trust-text {
  font-family: "Manrope", Inter, system-ui, sans-serif !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
}

.hero-image {
  background:
    linear-gradient(120deg, rgba(17,24,39,.22), rgba(17,24,39,.06)),
    url("images/front-yard-final-4.jpg") center center / cover no-repeat !important;
}

.hero-image::before {
  content: "Реальные фото работ • Ставрополь" !important;
}

.service-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-photo-card {
  margin: 0;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.service-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-photo-card figcaption {
  padding: 14px 16px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
}

@media (max-width: 1040px) {
  .service-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .service-photo-grid {
    grid-template-columns: 1fr;
  }

  .trust-text {
    font-size: 14px !important;
  }
}


/* === FIX: калькулятор + единая иконка WhatsApp === */
.btn-whatsapp .btn-icon,
.btn-outline .btn-icon,
.contact-item .btn-icon {
  width: 18px !important;
  height: 18px !important;
  margin-right: 8px !important;
  flex: 0 0 auto !important;
  display: inline-grid !important;
  place-items: center !important;
}

.btn-whatsapp .btn-icon svg,
.btn-outline .btn-icon svg,
.contact-item .btn-icon svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.btn-whatsapp,
.btn-outline[href*="wa.me"],
.contact-item a[href*="wa.me"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
}

.quiz-shell[data-calculator] {
  align-items: stretch !important;
}

.quiz-content,
[data-calculator-content] {
  min-height: 300px;
}

.calculator-options .calculator-option,
.quiz-options .quiz-option {
  box-sizing: border-box !important;
}

.quiz-actions > span:empty {
  display: none !important;
}

@media (max-width: 980px) {
  .quiz-shell[data-calculator] {
    grid-template-columns: 1fr !important;
  }
}


/* === FINAL FIX: hero photo, calculator, WhatsApp icon, trust font === */

.hero-image {
  background:
    linear-gradient(120deg, rgba(17,24,39,.18), rgba(17,24,39,.04)),
    url("images/front-yard-final-4.jpg") center center / cover no-repeat !important;
}

.hero-image::before {
  content: "Реальные фото работ • Ставрополь" !important;
}

.btn,
button {
  font-family: "Manrope", Inter, system-ui, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

.trust-item {
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1.28 !important;
}

.trust-text {
  font-family: "Manrope", Inter, system-ui, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
}

.btn-icon svg,
.btn-whatsapp .btn-icon svg {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.btn-whatsapp,
.btn-primary {
  background: linear-gradient(180deg, #fb923c 0%, #f97316 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.btn-whatsapp .btn-icon,
.btn-outline .btn-icon {
  width: 19px !important;
  height: 19px !important;
  margin-right: 8px !important;
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
}

.quiz-shell[data-calculator] {
  align-items: stretch;
}

.quiz-options,
.calculator-options {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 18px !important;
}

.quiz-option,
.calculator-option {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 16px 18px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(17,24,39,.04) !important;
}

.quiz-option span,
.calculator-option span {
  text-align: left !important;
  line-height: 1.4 !important;
}

.quiz-option input,
.calculator-option input {
  width: 18px !important;
  height: 18px !important;
  margin: 2px 0 0 !important;
  accent-color: #f97316 !important;
  flex: 0 0 auto !important;
}

.quiz-option:has(input:checked),
.calculator-option:has(input:checked) {
  border-color: #f97316 !important;
  background: #fff7f1 !important;
}

.quiz-progress,
.quiz-status {
  color: #ea580c !important;
}

.quiz-side {
  background: linear-gradient(180deg, #fb923c 0%, #f97316 55%, #ea580c 100%) !important;
}

.service-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-photo-card {
  margin: 0;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.service-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-photo-card figcaption {
  padding: 14px 16px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
}

@media (max-width: 1040px) {
  .service-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .quiz-options,
  .calculator-options,
  .service-photo-grid {
    grid-template-columns: 1fr !important;
  }

  .trust-text {
    font-size: 14px !important;
  }
}


/* === FINAL HERO HEADER OVERRIDES === */
.site-header-overlay {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(5, 12, 24, 0.78), rgba(5, 12, 24, 0.18));
  border-bottom: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
}

.site-header-overlay .header-inner {
  min-height: 88px;
}

.site-header-overlay .logo,
.site-header-overlay .nav a,
.site-header-overlay .phone,
.site-header-overlay .phone strong,
.site-header-overlay .burger {
  color: #ffffff;
}

.site-header-overlay .logo small,
.site-header-overlay .phone small {
  color: rgba(255,255,255,0.78);
}

.site-header-overlay .logo-mark {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
}

.site-header-overlay .header-icon {
  background: rgba(255,255,255,0.08);
  color: #ff8a1e;
  border-color: rgba(255,255,255,0.14);
}

.site-header-overlay .nav a:hover,
.site-header-overlay .nav a:focus-visible,
.site-header-overlay .phone:hover {
  color: #ffd0a4;
}

.hero.hero-cover {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  padding: 150px 0 84px;
  background:
    linear-gradient(90deg, rgba(5, 11, 22, 0.82) 0%, rgba(5, 11, 22, 0.72) 34%, rgba(5, 11, 22, 0.38) 62%, rgba(5, 11, 22, 0.55) 100%),
    url('images/hero-main.jpg') center center / cover no-repeat;
}

.hero.hero-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 11, 22, 0.16) 0%, rgba(5, 11, 22, 0.1) 45%, rgba(5, 11, 22, 0.52) 100%);
  z-index: -1;
}

.hero-cover .hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.72fr);
  gap: 40px;
  align-items: stretch;
}

.hero-cover .hero-content {
  max-width: 700px;
  color: #ffffff;
}

.hero-cover .eyebrow {
  color: #ffd4b0;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
}

.hero-cover h1,
.hero-cover .lead,
.hero-cover .trust-text {
  color: #ffffff;
}

.hero-cover h1 {
  max-width: 12ch;
  text-shadow: 0 10px 30px rgba(0,0,0,0.28);
}

.hero-cover .lead {
  max-width: 62ch;
  color: rgba(255,255,255,0.92);
}

.hero-cover .btn-outline {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.26);
  color: #ffffff;
}

.hero-cover .btn-outline:hover,
.hero-cover .btn-outline:focus-visible {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.4);
}

.hero-cover .trust-row {
  margin-top: 26px;
  gap: 14px;
}

.hero-cover .trust-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
}

.hero-cover .trust-icon {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
  color: #ff8a1e;
}

.hero-cover .hero-image.hero-side-card {
  min-height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  background: rgba(9, 18, 32, 0.62);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 30px;
  box-shadow: 0 28px 60px rgba(0,0,0,0.28);
  backdrop-filter: blur(12px);
  padding: 0;
  overflow: hidden;
}

.hero-cover .hero-image::before,
.hero-cover .hero-image::after {
  display: none !important;
  content: none !important;
}

.hero-side-card-inner {
  padding: 34px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero-card-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd5b4;
  margin-bottom: 18px;
}

.hero-side-card h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.hero-side-card p {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.92);
  line-height: 1.7;
}

.hero-card-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.hero-card-list li {
  position: relative;
  padding-left: 28px;
  color: #ffffff;
  font-weight: 500;
  line-height: 1.55;
}

.hero-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff8a1e;
  box-shadow: 0 0 0 6px rgba(255,138,30,0.16);
}

.hero-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.btn.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn.btn-ghost-light:hover,
.btn.btn-ghost-light:focus-visible {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.36);
}

.cta-content p,
.cta-box .form-note,
.cta-box .form-note a,
.cta-box .form-status {
  color: rgba(255,255,255,0.92) !important;
}

.footer-logo {
  align-items: flex-start;
}

.footer-logo .logo-mark {
  transform: translateY(-8px);
  margin-top: -4px;
}

@media (max-width: 1100px) {
  .hero.hero-cover {
    min-height: auto;
    padding: 132px 0 64px;
  }

  .hero-cover .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-cover .hero-content {
    max-width: none;
  }

  .hero-cover .hero-image.hero-side-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .site-header-overlay {
    background: rgba(6, 12, 24, 0.88);
  }

  .hero.hero-cover {
    padding: 112px 0 42px;
    background-position: center center;
  }

  .hero-cover .trust-row {
    grid-template-columns: 1fr;
  }

  .hero-side-card-inner {
    padding: 24px;
  }

  .hero-side-card h2 {
    font-size: 1.8rem;
  }

  .hero-card-actions {
    flex-direction: column;
  }

  .hero-card-actions .btn,
  .hero-buttons .btn {
    width: 100%;
  }
}


/* === FINAL REFERENCE-LIKE HERO / FOOTER FIXES === */
.site-header-overlay {
  position: absolute !important;
  top: 0; left: 0; right: 0;
  z-index: 60 !important;
  background: linear-gradient(180deg, rgba(7,14,28,.78), rgba(7,14,28,.28)) !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  backdrop-filter: blur(10px);
}
.site-header-overlay .header-inner { min-height: 90px !important; }
.site-header-overlay .logo,
.site-header-overlay .nav a,
.site-header-overlay .phone,
.site-header-overlay .phone strong,
.site-header-overlay .burger { color: #fff !important; }
.site-header-overlay .logo small,
.site-header-overlay .phone small { color: rgba(255,255,255,.82) !important; }
.site-header-overlay .header-icon,
.site-header-overlay .logo-mark { background: rgba(255,255,255,.08) !important; border-color: rgba(255,255,255,.14) !important; }
.site-header-overlay .nav a:hover,
.site-header-overlay .phone:hover { color: #ffd6b0 !important; }

.hero.hero-cover {
  position: relative !important;
  isolation: isolate !important;
  min-height: 760px !important;
  padding: 150px 0 88px !important;
  background:
    linear-gradient(90deg, rgba(6,12,24,.82) 0%, rgba(6,12,24,.74) 35%, rgba(6,12,24,.34) 63%, rgba(6,12,24,.58) 100%),
    url('images/hero-main.jpg') center center / cover no-repeat !important;
}
.hero.hero-cover::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,12,24,.12), rgba(6,12,24,.08) 45%, rgba(6,12,24,.56));
  z-index: -1;
}
.hero-cover .hero-grid {
  grid-template-columns: minmax(0,1.08fr) minmax(360px,.72fr) !important;
  gap: 44px !important;
  align-items: center !important;
  min-height: 560px !important;
}
.hero-cover .hero-content { max-width: 720px !important; color: #fff !important; }
.hero-cover .eyebrow {
  color: #ffe0c3 !important;
  background: rgba(255,255,255,.09) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  backdrop-filter: blur(8px);
}
.hero-cover h1,
.hero-cover .lead,
.hero-cover .trust-text { color: #fff !important; }
.hero-cover h1 {
  max-width: 12ch !important;
  font-size: clamp(44px, 6vw, 76px) !important;
  line-height: .98 !important;
  text-shadow: 0 12px 34px rgba(0,0,0,.30);
}
.hero-cover .lead {
  max-width: 58ch !important;
  color: rgba(255,255,255,.94) !important;
  font-size: 19px !important;
}
.hero-cover .btn-outline {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.26) !important;
}
.hero-cover .btn-outline:hover,
.hero-cover .btn-outline:focus-visible {
  background: rgba(255,255,255,.16) !important;
  border-color: rgba(255,255,255,.38) !important;
}
.hero-cover .trust-row { margin-top: 28px !important; gap: 14px !important; }
.hero-cover .trust-item {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  backdrop-filter: blur(8px);
}
.hero-cover .trust-icon {
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.16) !important;
  color: #ff8a1e !important;
}
.hero-cover .hero-image.hero-side-card {
  display: flex !important;
  min-height: 510px !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  background: rgba(10,18,32,.60) !important;
  border-radius: 28px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: 0 26px 60px rgba(0,0,0,.28) !important;
  backdrop-filter: blur(12px) !important;
  overflow: hidden !important;
  padding: 0 !important;
}
.hero-cover .hero-image.hero-side-card::before,
.hero-cover .hero-image.hero-side-card::after { content: none !important; display: none !important; }
.hero-side-card-inner {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  padding: 34px !important;
}
.hero-card-kicker {
  display: inline-flex !important;
  align-self: flex-start !important;
  margin-bottom: 16px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  color: #ffd8b8 !important;
  background: rgba(255,255,255,.09) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}
.hero-side-card h2 {
  color: #fff !important;
  margin: 0 0 14px !important;
  font-size: clamp(34px, 3vw, 46px) !important;
  line-height: 1.02 !important;
}
.hero-side-card p {
  color: rgba(255,255,255,.94) !important;
  margin: 0 0 18px !important;
  font-size: 17px !important;
  line-height: 1.7 !important;
}
.hero-card-list { list-style: none !important; margin: 0 0 28px !important; padding: 0 !important; display: grid !important; gap: 12px !important; }
.hero-card-list li {
  position: relative !important;
  padding-left: 28px !important;
  color: #fff !important;
  line-height: 1.58 !important;
  font-weight: 500 !important;
}
.hero-card-list li::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important; top: .6em !important;
  width: 10px !important; height: 10px !important;
  border-radius: 50% !important;
  background: #ff8a1e !important;
  box-shadow: 0 0 0 6px rgba(255,138,30,.16) !important;
}
.hero-card-actions {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  margin-top: auto !important;
}
.btn.btn-ghost-light {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.2) !important;
}
.btn.btn-ghost-light:hover,
.btn.btn-ghost-light:focus-visible {
  background: rgba(255,255,255,.16) !important;
  border-color: rgba(255,255,255,.36) !important;
}

#request .cta-content p,
#request .cta-content h2,
#request .cta-box .form-note,
#request .cta-box .form-note a,
#request .cta-box .form-status {
  color: #ffffff !important;
}

.footer .footer-logo {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 12px !important;
}
.footer .footer-logo .logo-mark {
  display: inline-flex !important;
  transform: translateY(-14px) !important;
  margin: 0 0 -8px 0 !important;
}
.footer .footer-logo > span:last-child {
  display: block !important;
}

@media (max-width: 1100px) {
  .hero.hero-cover { min-height: auto !important; padding: 132px 0 64px !important; }
  .hero-cover .hero-grid { grid-template-columns: 1fr !important; }
  .hero-cover .hero-image.hero-side-card { min-height: auto !important; }
}
@media (max-width: 768px) {
  .site-header-overlay { background: rgba(6,12,24,.88) !important; }
  .hero.hero-cover { padding: 112px 0 42px !important; }
  .hero-side-card-inner { padding: 24px !important; }
  .hero-side-card h2 { font-size: 30px !important; }
  .hero-card-actions, .hero-buttons { flex-direction: column !important; }
  .hero-card-actions .btn, .hero-buttons .btn { width: 100% !important; }
}


/* === FINAL POLISH V3: clickable buttons + official WhatsApp icon + footer logo === */

/* не даём псевдо-оверлеям перехватывать клики */
.hero.hero-cover::before,
.hero-image::before,
.hero-image::after,
.hero-cover .hero-image.hero-side-card::before,
.hero-cover .hero-image.hero-side-card::after {
  pointer-events: none !important;
}

.hero-cover .hero-content,
.hero-cover .hero-buttons,
.hero-cover .trust-row,
.hero-cover .hero-image.hero-side-card,
.hero-side-card-inner,
.hero-card-actions,
.site-header-overlay .header-inner,
.mobile-menu,
.footer {
  position: relative !important;
  z-index: 5 !important;
}

a,
button,
.btn,
.hero-cover a,
.hero-card-actions a,
.header-actions a,
.mobile-menu a,
.footer a {
  pointer-events: auto !important;
}

/* официальный WhatsApp svg, который приложил пользователь */
.btn-icon-wa {
  width: 22px !important;
  height: 22px !important;
  margin-right: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 22px !important;
}

.btn-icon-wa img,
.footer-wa-icon img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.btn-whatsapp .btn-icon-wa {
  width: 24px !important;
  height: 24px !important;
  flex-basis: 24px !important;
}

/* ссылки WhatsApp не должны наследовать старые stroke-настройки для svg */
.btn-icon-wa svg {
  display: none !important;
}

.footer-whatsapp,
.contact-item a[href*="wa.me"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.footer-wa-icon {
  width: 20px !important;
  height: 20px !important;
  display: inline-flex !important;
  flex: 0 0 20px !important;
}

/* футер: иконка строго над “ЗаборСтав”, не рядом и не криво */
.footer .footer-logo,
.footer a.footer-logo.logo {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  margin-bottom: 18px !important;
}

.footer .footer-logo .logo-mark,
.footer a.footer-logo.logo .logo-mark {
  display: inline-flex !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  transform: none !important;
  order: 0 !important;
}

.footer .footer-logo > span:last-child,
.footer a.footer-logo.logo > span:last-child {
  display: block !important;
  order: 1 !important;
}

.footer .footer-logo strong {
  display: block !important;
  margin-top: 0 !important;
}

/* текст заявки — белый, без перебития старым глобальным .cta-content p */
#request .cta-content p,
#request .cta-content h2,
#request .cta-content .section-kicker,
#request .form-note,
#request .form-note a,
#request .form-status {
  color: #fff !important;
}

#request .cta-content p {
  opacity: 1 !important;
}

/* главная: кнопки ведут нормально и визуально не перекрываются */
.hero.hero-cover {
  z-index: 1 !important;
}

.hero-cover .hero-grid {
  position: relative !important;
  z-index: 2 !important;
}

@media (max-width: 760px) {
  .footer .footer-logo,
  .footer a.footer-logo.logo {
    align-items: flex-start !important;
  }
}


/* === HOTFIX V4: footer/logo, real works, hero label, phone colors, WhatsApp === */

.footer .footer-grid > div:first-child {
  max-width: 280px !important;
}
.footer .footer-logo,
.footer a.footer-logo.logo {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  margin-bottom: 20px !important;
}
.footer .footer-logo .logo-mark,
.footer a.footer-logo.logo .logo-mark {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  margin: 0 0 2px 0 !important;
  transform: none !important;
}
.footer .footer-logo strong,
.footer a.footer-logo.logo strong {
  display: block !important;
  margin-bottom: 6px !important;
  line-height: 1.05 !important;
}
.footer .footer-logo small,
.footer a.footer-logo.logo small {
  display: block !important;
  line-height: 1.35 !important;
}

.hero-cover .eyebrow {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  color: #ffffff !important;
  text-shadow: 0 4px 18px rgba(0,0,0,.28) !important;
}
.hero-cover .eyebrow::before {
  background: #f97316 !important;
  box-shadow: none !important;
}

.site-header-overlay .phone {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 16px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.14) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  box-shadow: none !important;
}
.site-header-overlay .phone .header-icon {
  background: rgba(249,115,22,.16) !important;
  border: 1px solid rgba(249,115,22,.28) !important;
  color: #f97316 !important;
}
.site-header-overlay .phone strong {
  color: #ffffff !important;
}
.site-header-overlay .phone small {
  color: rgba(255,255,255,.86) !important;
}
.site-header-overlay .phone:hover {
  background: rgba(255,255,255,.18) !important;
  color: #ffffff !important;
}

.btn-whatsapp,
a.btn.btn-whatsapp,
.hero-cover .btn-outline {
  color: #ffffff !important;
}
.btn-icon-wa {
  width: 22px !important;
  height: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 8px !important;
  flex: 0 0 22px !important;
}
.btn-icon-wa img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.hero-buttons .btn-outline {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.20) !important;
}
.hero-buttons .btn-outline:hover,
.hero-buttons .btn-outline:focus-visible {
  background: rgba(255,255,255,.14) !important;
  border-color: rgba(255,255,255,.30) !important;
}

.section-head p {
  max-width: 820px;
}
.works-track figure img,
.work-gallery-page figure img {
  width: 100% !important;
  height: 285px !important;
  object-fit: cover !important;
  display: block !important;
}
.work-gallery-page {
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
}
@media (max-width: 980px) {
  .work-gallery-page { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width: 640px) {
  .work-gallery-page { grid-template-columns: 1fr !important; }
  .works-track figure img,
  .work-gallery-page figure img { height: 230px !important; }
  .site-header-overlay .phone {
    background: rgba(255,255,255,.12) !important;
  }
}


/* === RELEASE V5 LOCK: калькулятор, клики, футер, цвета === */
/* Шапка: иконка логотипа остаётся оранжевой */
.site-header .logo-mark {
  display: inline-grid !important;
  place-items: center !important;
  color: #f97316 !important;
}
.site-header .logo-mark svg {
  width: 26px !important;
  height: 26px !important;
  display: block !important;
  margin: 0 !important;
  transform: none !important;
}
.site-header .logo-mark svg path {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.7 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

/* Футер: значок чёрный и ровно по центру квадрата */
.footer .footer-logo,
.footer a.footer-logo.logo {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin-bottom: 18px !important;
}
.footer .footer-logo .logo-mark,
.footer .footer-logo .footer-logo-mark,
.footer a.footer-logo.logo .logo-mark,
.footer a.footer-logo.logo .footer-logo-mark {
  display: grid !important;
  place-items: center !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  background: #ffffff !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 16px !important;
  color: #111827 !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.22) !important;
}
.footer .footer-logo .logo-mark svg,
.footer .footer-logo .footer-logo-mark svg,
.footer a.footer-logo.logo .logo-mark svg,
.footer a.footer-logo.logo .footer-logo-mark svg {
  width: 28px !important;
  height: 28px !important;
  display: block !important;
  margin: 0 !important;
  transform: none !important;
}
.footer .footer-logo .logo-mark svg path,
.footer .footer-logo .footer-logo-mark svg path,
.footer a.footer-logo.logo .logo-mark svg path,
.footer a.footer-logo.logo .footer-logo-mark svg path {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.7 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
.footer .footer-logo > span:last-child,
.footer a.footer-logo.logo > span:last-child {
  display: block !important;
}
.footer .footer-logo strong,
.footer a.footer-logo.logo strong {
  display: block !important;
  line-height: 1.05 !important;
}

/* Кнопки и ссылки в hero точно кликабельны */
.hero.hero-cover,
.hero-cover .hero-grid,
.hero-cover .hero-content,
.hero-cover .hero-buttons,
.hero-cover .hero-image.hero-side-card,
.hero-side-card-inner,
.hero-card-actions,
.site-header-overlay,
.site-header-overlay .header-inner {
  position: relative !important;
}
.hero.hero-cover::before,
.hero-image::before,
.hero-image::after {
  pointer-events: none !important;
}
.hero-cover a,
.hero-card-actions a,
.site-header-overlay a,
.header-actions a,
.mobile-menu a,
.footer a,
.btn,
button {
  pointer-events: auto !important;
}
.hero-cover .hero-grid { z-index: 3 !important; }
.site-header-overlay { z-index: 80 !important; }

/* Плашка бесплатного замера — без рамки, белый текст */
.hero-cover .eyebrow {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #ffffff !important;
  text-shadow: 0 4px 18px rgba(0,0,0,.35) !important;
}
.hero-cover .eyebrow::before {
  background: #f97316 !important;
  box-shadow: none !important;
}

/* Телефон в шапке — без серой каши */
.site-header-overlay .phone {
  background: rgba(10,18,32,.46) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: 0 14px 32px rgba(0,0,0,.16) !important;
  color: #ffffff !important;
}
.site-header-overlay .phone .header-icon {
  background: rgba(249,115,22,.16) !important;
  border: 1px solid rgba(249,115,22,.35) !important;
  color: #f97316 !important;
}
.site-header-overlay .phone strong { color: #ffffff !important; }
.site-header-overlay .phone small { color: rgba(255,255,255,.84) !important; }

/* WhatsApp: оранжевая иконка в кнопках */
.btn-icon-wa img,
.footer-wa-icon img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
.btn-icon-wa {
  display: inline-flex !important;
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  margin-right: 8px !important;
}
.btn-whatsapp .btn-icon-wa { width: 23px !important; height: 23px !important; flex-basis: 23px !important; }

/* Калькулятор: радио-карточки не разъезжаются */
.quiz-shell[data-calculator] .quiz-options,
.quiz-shell[data-calculator] .calculator-options {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 18px !important;
}
.quiz-shell[data-calculator] .quiz-option,
.quiz-shell[data-calculator] .calculator-option {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 15px 16px !important;
  border: 1px solid rgba(15,23,42,.12) !important;
  border-radius: 16px !important;
  background: #fff !important;
  cursor: pointer !important;
}
.quiz-shell[data-calculator] .quiz-option span,
.quiz-shell[data-calculator] .calculator-option span {
  display: block !important;
  text-align: left !important;
  line-height: 1.35 !important;
}
.quiz-shell[data-calculator] .quiz-option input,
.quiz-shell[data-calculator] .calculator-option input {
  width: 18px !important;
  height: 18px !important;
  margin: 2px 0 0 !important;
  flex: 0 0 18px !important;
  accent-color: #f97316 !important;
}
.quiz-shell[data-calculator] .quiz-option:has(input:checked),
.quiz-shell[data-calculator] .calculator-option:has(input:checked) {
  border-color: #f97316 !important;
  background: #fff7ed !important;
}
@media (max-width: 720px) {
  .quiz-shell[data-calculator] .quiz-options,
  .quiz-shell[data-calculator] .calculator-options {
    grid-template-columns: 1fr !important;
  }
}


/* === RELEASE FINAL LOCK: dark menu, header WhatsApp icon, hero title line break === */
:root {
  --release-final: "2026-06-16";
}

/* Фиксируем тёмную подложку меню/шапки */
.site-header-overlay {
  background: rgba(8, 15, 29, 0.94) !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 18px 48px rgba(0,0,0,.20) !important;
  backdrop-filter: blur(12px) !important;
}
.site-header-overlay .header-inner {
  background: transparent !important;
}
.mobile-menu,
.mobile-menu.is-open {
  background: rgba(8, 15, 29, 0.98) !important;
  border-top: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 24px 50px rgba(0,0,0,.30) !important;
}
.mobile-menu a {
  color: #ffffff !important;
}
.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  color: #ffd7b8 !important;
}

/* В меню/шапке WhatsApp-иконка не чёрная: белая на оранжевой кнопке */
.site-header .btn-whatsapp .btn-icon-wa img,
.site-header-overlay .btn-whatsapp .btn-icon-wa img,
.mobile-menu .btn-whatsapp .btn-icon-wa img,
.hero-buttons .btn-outline .btn-icon-wa img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

/* Footer не трогаем: значок логотипа остаётся чёрным внутри квадрата */
.footer .footer-logo .logo-mark,
.footer a.footer-logo.logo .logo-mark {
  color: #111827 !important;
}
.footer .footer-logo .logo-mark svg,
.footer a.footer-logo.logo .logo-mark svg {
  display: block !important;
  margin: auto !important;
}

/* Hero-заголовок: убираем одиночную "и" на отдельной строке */
.hero-cover h1 {
  max-width: 900px !important;
  width: 100% !important;
  font-size: clamp(42px, 5.15vw, 70px) !important;
  line-height: 1.02 !important;
}
.hero-cover h1 br {
  display: block !important;
}
@media (max-width: 760px) {
  .hero-cover h1 {
    font-size: clamp(34px, 10vw, 48px) !important;
    max-width: 100% !important;
  }
}


/* ===== Правки под финальный клиентский список услуг и портфолио ===== */
.works-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 34px;
}

.works-category-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid rgba(249, 115, 22, .22);
  color: #c2410c;
  font-weight: 850;
  font-size: 14px;
}

.works-category {
  scroll-margin-top: 104px;
  margin-bottom: 54px;
}

.works-category:last-child {
  margin-bottom: 0;
}

.works-category-head {
  max-width: 780px;
  margin-bottom: 18px;
}

.works-category-head h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.works-category-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.inline-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--orange);
  font-weight: 850;
}

.contact-item a[href^="mailto:"] {
  word-break: break-word;
}

@media (max-width: 640px) {
  .works-category-nav {
    gap: 8px;
  }

  .works-category-nav a {
    width: 100%;
    justify-content: center;
  }
}

/* === CLIENT EDITS V7: desktop/browser layout hotfix === */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  width: min(1180px, calc(100% - 48px)) !important;
}

.site-header-overlay .header-inner,
.site-header .header-inner {
  min-width: 0 !important;
  flex-wrap: nowrap !important;
}

.site-header .logo {
  min-width: 0 !important;
  flex-shrink: 0 !important;
}

.site-header .nav {
  min-width: 0 !important;
  flex-shrink: 1 !important;
  gap: 22px !important;
}

.site-header .nav a {
  white-space: nowrap !important;
}

.site-header .header-actions {
  min-width: 0 !important;
  flex-shrink: 0 !important;
  gap: 12px !important;
}

.site-header .phone {
  white-space: nowrap !important;
}

.site-header .phone-text strong {
  white-space: nowrap !important;
}

.site-header .btn-whatsapp {
  white-space: nowrap !important;
  min-width: max-content !important;
}

.hero.hero-cover {
  display: flex !important;
  align-items: center !important;
  min-height: 760px !important;
}

.hero-cover .hero-grid {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px) !important;
  gap: 42px !important;
  align-items: center !important;
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.hero-cover .hero-content {
  min-width: 0 !important;
  max-width: 720px !important;
}

.hero-cover h1 {
  max-width: 720px !important;
  font-size: clamp(42px, 4.6vw, 68px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.055em !important;
}

.hero-cover .lead {
  max-width: 640px !important;
}

.hero-cover .trust-row {
  display: flex !important;
  flex-wrap: wrap !important;
}

.hero-cover .trust-item {
  max-width: 230px !important;
}

.hero-cover .hero-image.hero-side-card {
  width: 100% !important;
  max-width: 420px !important;
  min-width: 0 !important;
  justify-self: end !important;
}

.hero-side-card-inner {
  min-width: 0 !important;
}

.works-carousel,
.works-track,
.work-gallery-page,
.page-grid,
.services-grid,
.services-grid-clean,
.benefits-grid-wide,
.footer-grid {
  max-width: 100% !important;
}

.works-track figure,
.work-gallery-page figure {
  min-width: 0 !important;
}

.work-gallery-page img,
.works-track img,
.works-grid img {
  max-width: 100% !important;
}

@media (max-width: 1280px) {
  .container {
    width: min(1120px, calc(100% - 40px)) !important;
  }

  .site-header .nav {
    gap: 16px !important;
    font-size: 14px !important;
  }

  .site-header .logo strong {
    font-size: 18px !important;
  }

  .site-header .logo small {
    font-size: 11px !important;
  }

  .site-header .phone {
    padding: 8px 10px !important;
  }

  .site-header .phone-text small {
    display: none !important;
  }

  .site-header .btn {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .hero-cover .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px) !important;
    gap: 32px !important;
  }

  .hero-cover h1 {
    font-size: clamp(40px, 4.25vw, 60px) !important;
  }
}

@media (max-width: 1160px) {
  .site-header .nav,
  .site-header .header-actions {
    display: none !important;
  }

  .site-header .burger {
    display: block !important;
  }

  .hero.hero-cover {
    min-height: auto !important;
    padding-top: 132px !important;
    padding-bottom: 64px !important;
  }

  .hero-cover .hero-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-cover .hero-image.hero-side-card {
    max-width: 100% !important;
    justify-self: stretch !important;
    min-height: auto !important;
  }

  .hero-cover h1,
  .hero-cover .lead,
  .hero-cover .hero-content {
    max-width: 100% !important;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px) !important;
  }

  .site-header-overlay {
    position: absolute !important;
  }

  .hero.hero-cover {
    padding-top: 112px !important;
    padding-bottom: 42px !important;
  }

  .hero-cover h1 {
    font-size: clamp(34px, 10vw, 46px) !important;
    letter-spacing: -0.045em !important;
  }

  .hero-cover .trust-item {
    max-width: 100% !important;
  }
}

/* === CLIENT EDITS V8: нормальные поля в шапке и hero, не липнет к краям === */
.site-header-overlay .container.header-inner,
.site-header .container.header-inner {
  width: min(1500px, calc(100% - 96px)) !important;
  max-width: 1500px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  min-height: 88px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.site-header-overlay .logo,
.site-header .logo {
  align-items: center !important;
}

.site-header-overlay .logo-mark,
.site-header .logo-mark {
  flex: 0 0 54px !important;
  width: 54px !important;
  height: 54px !important;
}

.site-header-overlay .nav,
.site-header .nav {
  margin-left: auto !important;
  margin-right: 16px !important;
}

.site-header-overlay .header-actions,
.site-header .header-actions {
  margin-left: 0 !important;
}

.hero-cover .container.hero-grid {
  width: min(1500px, calc(100% - 96px)) !important;
  max-width: 1500px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.hero-cover .hero-content {
  padding-left: 0 !important;
}

.hero-cover .hero-image.hero-side-card {
  margin-right: 0 !important;
}

@media (max-width: 1440px) {
  .site-header-overlay .container.header-inner,
  .site-header .container.header-inner,
  .hero-cover .container.hero-grid {
    width: min(1320px, calc(100% - 72px)) !important;
  }
}

@media (max-width: 1280px) {
  .site-header-overlay .container.header-inner,
  .site-header .container.header-inner,
  .hero-cover .container.hero-grid {
    width: min(1180px, calc(100% - 56px)) !important;
  }
}

@media (max-width: 760px) {
  .site-header-overlay .container.header-inner,
  .site-header .container.header-inner,
  .hero-cover .container.hero-grid {
    width: min(100% - 28px, 1180px) !important;
  }

  .site-header-overlay .container.header-inner,
  .site-header .container.header-inner {
    min-height: 76px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}

/* === CLIENT EDITS V11: телефон в шапке выделен заметнее === */
.site-header-overlay .header-actions,
.site-header .header-actions {
  gap: 14px !important;
}

.site-header-overlay .phone,
.site-header .phone {
  min-width: 270px !important;
  padding: 10px 18px 10px 12px !important;
  border: 1.5px solid rgba(255, 122, 31, 0.95) !important;
  background: linear-gradient(135deg, rgba(255, 122, 31, 0.24), rgba(255, 255, 255, 0.08)) !important;
  box-shadow: 0 18px 42px rgba(255, 106, 0, 0.18), inset 0 1px 0 rgba(255,255,255,.18) !important;
  border-radius: 18px !important;
  color: #fff !important;
  transform: translateZ(0) !important;
}

.site-header-overlay .phone .header-icon,
.site-header .phone .header-icon {
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px !important;
  border-radius: 14px !important;
  background: #ff6a13 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  box-shadow: 0 10px 22px rgba(255,106,19,.34) !important;
}

.site-header-overlay .phone .header-icon svg,
.site-header .phone .header-icon svg {
  width: 21px !important;
  height: 21px !important;
  fill: currentColor !important;
}

.site-header-overlay .phone-text strong,
.site-header .phone-text strong {
  display: block !important;
  color: #ffffff !important;
  font-size: clamp(17px, 1.05vw, 20px) !important;
  line-height: 1.05 !important;
  letter-spacing: .01em !important;
  font-weight: 950 !important;
  text-shadow: 0 1px 12px rgba(0,0,0,.28) !important;
}

.site-header-overlay .phone-text small,
.site-header .phone-text small {
  display: block !important;
  margin-top: 3px !important;
  color: rgba(255,255,255,.88) !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  font-weight: 750 !important;
}

.site-header-overlay .phone:hover,
.site-header .phone:hover {
  background: linear-gradient(135deg, rgba(255, 122, 31, 0.34), rgba(255, 255, 255, 0.12)) !important;
  border-color: #ff8a34 !important;
  box-shadow: 0 22px 52px rgba(255, 106, 0, 0.25), inset 0 1px 0 rgba(255,255,255,.22) !important;
  transform: translateY(-1px) !important;
}

@media (max-width: 1420px) {
  .site-header-overlay .phone,
  .site-header .phone {
    min-width: 236px !important;
    padding-right: 14px !important;
  }

  .site-header-overlay .phone-text strong,
  .site-header .phone-text strong {
    font-size: 16px !important;
  }

  .site-header-overlay .phone-text small,
  .site-header .phone-text small {
    font-size: 11px !important;
  }
}

@media (max-width: 760px) {
  .site-header-overlay .phone,
  .site-header .phone {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
  }
}

/* === CLIENT EDITS V12: номер дополнительно выделен в мобильной версии === */
.mobile-phone-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 122, 31, .55) !important;
  background: linear-gradient(135deg, rgba(255,122,31,.18), rgba(255,255,255,.06)) !important;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.22) !important;
}

.mobile-phone-icon {
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 14px !important;
  color: #fff !important;
  background: #ff6a13 !important;
  box-shadow: 0 12px 24px rgba(255,106,19,.28) !important;
}

.mobile-phone-icon svg {
  width: 21px !important;
  height: 21px !important;
  fill: currentColor !important;
}

.mobile-phone-link strong {
  display: block !important;
  font-size: 20px !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
  letter-spacing: .01em !important;
}

.mobile-phone-link small {
  display: block !important;
  margin-top: 4px !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.hero-phone-plate {
  display: none;
}

@media (max-width: 760px) {
  .hero-phone-plate {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 18px 0 14px !important;
    padding: 15px 16px !important;
    border-radius: 18px !important;
    color: #fff !important;
    text-decoration: none !important;
    background: rgba(9, 15, 27, .82) !important;
    border: 1px solid rgba(255, 122, 31, .72) !important;
    box-shadow: 0 18px 44px rgba(0,0,0,.26) !important;
    backdrop-filter: blur(12px) !important;
  }

  .hero-phone-plate__icon {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 15px !important;
    background: #ff6a13 !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(255,106,19,.35) !important;
  }

  .hero-phone-plate__icon svg {
    width: 22px !important;
    height: 22px !important;
    fill: currentColor !important;
  }

  .hero-phone-plate small {
    display: block !important;
    margin-bottom: 4px !important;
    color: rgba(255,255,255,.76) !important;
    font-size: 12px !important;
    font-weight: 760 !important;
  }

  .hero-phone-plate strong {
    display: block !important;
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1.05 !important;
    font-weight: 950 !important;
    letter-spacing: .01em !important;
  }

  .hero-cover .hero-buttons {
    margin-top: 10px !important;
  }
}


/* === CLIENT EDITS V13: desktop cleanup + mobile phone only where needed + brand rename === */
/* случайно добавленная мобильная плашка телефона не должна появляться в десктопной шапке */
.header-actions .mobile-phone-link,
.site-header .header-actions > .mobile-phone-link {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* hero-плашка телефона нужна только на мобильной версии, на ПК полностью скрываем */
.hero-phone-plate,
.hero-phone-plate * {
  display: none !important;
}

@media (max-width: 760px) {
  .hero-phone-plate {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 18px 0 14px !important;
    padding: 15px 16px !important;
    border-radius: 18px !important;
    color: #fff !important;
    text-decoration: none !important;
    background: rgba(9, 15, 27, .82) !important;
    border: 1px solid rgba(255, 122, 31, .72) !important;
    box-shadow: 0 18px 44px rgba(0,0,0,.26) !important;
    backdrop-filter: blur(12px) !important;
  }

  .hero-phone-plate * {
    display: initial !important;
  }

  .hero-phone-plate__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    border-radius: 15px !important;
    background: #ff6a13 !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(255,106,19,.35) !important;
  }

  .hero-phone-plate__icon svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    fill: currentColor !important;
  }

  .hero-phone-plate span:not(.hero-phone-plate__icon) {
    display: block !important;
  }

  .hero-phone-plate small {
    display: block !important;
    margin-bottom: 4px !important;
    color: rgba(255,255,255,.76) !important;
    font-size: 12px !important;
    font-weight: 760 !important;
  }

  .hero-phone-plate strong {
    display: block !important;
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1.05 !important;
    font-weight: 950 !important;
    letter-spacing: .01em !important;
  }
}

/* заметный телефон в мобильном меню */
.mobile-menu-phone {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 16px !important;
  margin-bottom: 8px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 122, 31, .62) !important;
  background: linear-gradient(135deg, rgba(255,122,31,.20), rgba(255,255,255,.06)) !important;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.22) !important;
}

.mobile-menu-phone__icon {
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 14px !important;
  color: #fff !important;
  background: #ff6a13 !important;
  box-shadow: 0 12px 24px rgba(255,106,19,.28) !important;
}

.mobile-menu-phone__icon svg {
  width: 21px !important;
  height: 21px !important;
  fill: currentColor !important;
}

.mobile-menu-phone strong {
  display: block !important;
  font-size: 20px !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
  letter-spacing: .01em !important;
}

.mobile-menu-phone small {
  display: block !important;
  margin-top: 4px !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

@media (min-width: 981px) {
  .mobile-menu-phone { display: none !important; }
}

/* === V14: carousel arrow centering + thicker scroll-top arrow === */
.carousel-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.carousel-btn::before {
  display: block;
  color: var(--orange) !important;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
  font-size: 38px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-align: center !important;
}

.carousel-prev::before {
  content: "‹";
  transform: translateX(-1px);
}

.carousel-next::before {
  content: "›";
  transform: translateX(1px);
}

.scroll-top-btn {
  font-size: 0 !important;
  line-height: 0 !important;
}

.scroll-top-btn::before {
  content: "↑";
  display: block;
  color: #fff;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  -webkit-text-stroke: 0.6px currentColor;
  transform: translateY(-1px) scaleX(1.03);
}


/* === V15: аккуратные стрелки карусели и усиленная SEO-секция === */
.carousel-btn {
  width: 56px !important;
  height: 56px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}

.carousel-btn::before {
  content: "" !important;
  display: block !important;
  width: 13px !important;
  height: 13px !important;
  border-top: 4px solid var(--orange) !important;
  border-right: 4px solid var(--orange) !important;
  border-radius: 1px !important;
}

.carousel-prev::before {
  transform: rotate(-135deg) translate(-1px, -1px) !important;
}

.carousel-next::before {
  transform: rotate(45deg) translate(-1px, 1px) !important;
}

.scroll-top-btn {
  font-size: 0 !important;
  line-height: 0 !important;
  position: fixed !important;
}

.scroll-top-btn::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 17px !important;
  width: 14px !important;
  height: 14px !important;
  border-left: 3px solid #fff !important;
  border-top: 3px solid #fff !important;
  transform: translateX(-50%) rotate(45deg) !important;
  border-radius: 1px !important;
}

.scroll-top-btn::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 18px !important;
  width: 3px !important;
  height: 22px !important;
  background: #fff !important;
  border-radius: 999px !important;
  transform: translateX(-50%) !important;
}

.seo-local-block {
  background: #fff;
}

.seo-local-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 28px;
  align-items: start;
}

.seo-copy-card,
.seo-query-card {
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(15,23,42,.06);
  padding: 34px;
}

.seo-copy-card h2,
.seo-query-card h3 {
  margin-top: 0;
}

.seo-copy-card p,
.seo-query-card p {
  color: var(--muted);
}

.seo-query-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.seo-query-list a,
.seo-query-list span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(249,115,22,.09);
  color: #9a3f08;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
}

.service-seo-hero {
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #fff;
  padding: 82px 0 64px;
}

.service-seo-hero .section-kicker,
.service-seo-hero p {
  color: rgba(255,255,255,.78);
}

.service-seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 28px;
  align-items: start;
}

.service-seo-card {
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 26px;
  background: #fff;
  padding: 30px;
  box-shadow: 0 18px 46px rgba(15,23,42,.06);
}

.service-seo-card h2,
.service-seo-card h3 {
  margin-top: 0;
}

.service-seo-card li {
  margin-bottom: 10px;
  color: var(--muted);
}

.related-service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.related-service-links a {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(249,115,22,.10);
  color: #9a3f08;
  text-decoration: none;
  font-weight: 850;
}

@media (max-width: 860px) {
  .seo-local-grid,
  .service-seo-layout {
    grid-template-columns: 1fr;
  }
  .carousel-btn {
    width: 48px !important;
    height: 48px !important;
  }
}

/* === V16: читаемый телефон на внутренних страницах + аккуратные стрелки === */
.site-header:not(.site-header-overlay) .phone {
  color: #111827 !important;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%) !important;
  border: 1px solid rgba(249,115,22,.52) !important;
  box-shadow: 0 14px 34px rgba(249,115,22,.14) !important;
}

.site-header:not(.site-header-overlay) .phone,
.site-header:not(.site-header-overlay) .phone:hover,
.site-header:not(.site-header-overlay) .phone:focus-visible {
  color: #111827 !important;
}

.site-header:not(.site-header-overlay) .phone .phone-text,
.site-header:not(.site-header-overlay) .phone .phone-text strong,
.site-header:not(.site-header-overlay) .phone strong {
  color: #111827 !important;
  text-shadow: none !important;
}

.site-header:not(.site-header-overlay) .phone .phone-text small,
.site-header:not(.site-header-overlay) .phone small {
  color: #4b5563 !important;
  text-shadow: none !important;
}

.site-header:not(.site-header-overlay) .phone .header-icon {
  background: #ff6a13 !important;
  border-color: #ff6a13 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(255,106,19,.26) !important;
}

/* Карусель: убираем кривые текстовые стрелки, рисуем ровный chevron двумя линиями */
.carousel-btn {
  position: absolute !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 56px !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  border-color: rgba(249,115,22,.18) !important;
}

.carousel-btn::before,
.carousel-btn::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 17px !important;
  height: 4px !important;
  display: block !important;
  background: var(--orange) !important;
  border: 0 !important;
  border-radius: 999px !important;
  transform-origin: center !important;
}

.carousel-next::before { transform: translate(-50%, -6px) rotate(45deg) !important; }
.carousel-next::after  { transform: translate(-50%,  6px) rotate(-45deg) !important; }
.carousel-prev::before { transform: translate(-50%, -6px) rotate(-45deg) !important; }
.carousel-prev::after  { transform: translate(-50%,  6px) rotate(45deg) !important; }

.scroll-top-btn::before {
  width: 15px !important;
  height: 15px !important;
  border-left-width: 4px !important;
  border-top-width: 4px !important;
}

.scroll-top-btn::after {
  width: 4px !important;
  height: 24px !important;
}


/* === V20: дополнительные каналы связи — Telegram и MAX === */
.btn-messenger {
  color: #fff !important;
  gap: 8px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.btn-telegram {
  background: #2AABEE !important;
  border-color: rgba(42,171,238,.55) !important;
  box-shadow: 0 12px 28px rgba(42,171,238,.16) !important;
}

.btn-max {
  background: #1478FF !important;
  border-color: rgba(20,120,255,.55) !important;
  box-shadow: 0 12px 28px rgba(20,120,255,.16) !important;
}

.btn-telegram:hover,
.btn-telegram:focus-visible {
  box-shadow: 0 16px 34px rgba(42,171,238,.26) !important;
}

.btn-max:hover,
.btn-max:focus-visible {
  box-shadow: 0 16px 34px rgba(20,120,255,.26) !important;
}

.btn-icon-social,
.footer-social-icon {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.btn-icon-social img,
.footer-social-icon img,
.contact-item .btn-icon-social img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: contain !important;
}

.site-header .btn-social-header,
.site-header-overlay .btn-social-header {
  width: 56px !important;
  min-width: 56px !important;
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 !important;
  border-radius: 18px !important;
}

.site-header .btn-social-header .btn-label,
.site-header-overlay .btn-social-header .btn-label {
  display: none !important;
}

.site-header .btn-social-header .btn-icon-social,
.site-header-overlay .btn-social-header .btn-icon-social {
  width: 26px !important;
  height: 26px !important;
  flex-basis: 26px !important;
}

.hero-buttons .btn-messenger,
.cta-actions .btn-messenger,
.mobile-menu .btn-messenger {
  min-height: 54px !important;
}

.mobile-menu .btn-messenger {
  width: 100% !important;
  justify-content: center !important;
}

.footer-messenger,
.contact-item a[href^="tg://"],
.contact-item a[href*="max.ru"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: inherit;
  text-decoration: none;
}

.footer-messenger {
  margin-top: 8px !important;
}

.contact-box .contact-item a .btn-icon-social {
  margin-right: 2px !important;
}

@media (max-width: 760px) {
  .hero-buttons .btn-messenger {
    width: 100% !important;
  }
}


/* === V20 fix: компактные иконки мессенджеров в шапке, чтобы не ломать меню === */
.header-actions .btn-messenger {
  width: 56px !important;
  min-width: 56px !important;
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 !important;
  border-radius: 18px !important;
  flex: 0 0 56px !important;
}

.header-actions .btn-messenger .btn-label {
  display: none !important;
}

.header-actions .btn-messenger .btn-icon-social {
  width: 26px !important;
  height: 26px !important;
  flex-basis: 26px !important;
}

.hero-buttons .btn-messenger .btn-label,
.mobile-menu .btn-messenger .btn-label,
.cta-actions .btn-messenger .btn-label {
  display: inline !important;
}


/* === V21: контрастные иконки Telegram / MAX + аккуратная шапка и мобильная адаптация === */
.btn-icon-social,
.footer-social-icon {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px !important;
}

.btn-icon-social img,
.footer-social-icon img,
.contact-item .btn-icon-social img {
  filter: none !important;
}

.btn-telegram,
.btn-max {
  color: #ffffff !important;
}

.btn-telegram .btn-icon-social,
.btn-max .btn-icon-social,
.footer-telegram .footer-social-icon,
.footer-max .footer-social-icon,
.contact-item a[href^="tg://"] .btn-icon-social,
.contact-item a[href*="max.ru"] .btn-icon-social {
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.18) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18) !important;
  padding: 5px !important;
}

.footer-telegram .footer-social-icon,
.footer-max .footer-social-icon {
  background: rgba(255,255,255,.14) !important;
}

.site-header .header-actions,
.site-header-overlay .header-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
}

.site-header .header-actions .phone,
.site-header-overlay .header-actions .phone {
  flex: 0 1 310px !important;
  min-width: 270px !important;
}

.site-header .header-actions .btn-whatsapp,
.site-header-overlay .header-actions .btn-whatsapp,
.site-header .header-actions .btn-messenger,
.site-header-overlay .header-actions .btn-messenger {
  flex: 0 0 auto !important;
}

/* На обычном десктопе не даём кнопкам наезжать друг на друга: WhatsApp компактнее, Telegram/MAX иконками */
@media (max-width: 1660px) {
  .site-header .header-actions .btn-whatsapp,
  .site-header-overlay .header-actions .btn-whatsapp {
    min-width: 64px !important;
    width: 64px !important;
    height: 56px !important;
    padding: 0 !important;
    border-radius: 18px !important;
  }

  .site-header .header-actions .btn-whatsapp .btn-label,
  .site-header-overlay .header-actions .btn-whatsapp .btn-label,
  .site-header .header-actions .btn-messenger .btn-label,
  .site-header-overlay .header-actions .btn-messenger .btn-label {
    display: none !important;
  }

  .site-header .header-actions .btn-whatsapp .btn-icon-wa,
  .site-header-overlay .header-actions .btn-whatsapp .btn-icon-wa,
  .site-header .header-actions .btn-messenger .btn-icon-social,
  .site-header-overlay .header-actions .btn-messenger .btn-icon-social {
    margin: 0 !important;
  }

  .site-header .header-actions .btn-messenger,
  .site-header-overlay .header-actions .btn-messenger {
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 !important;
    border-radius: 18px !important;
  }
}

@media (max-width: 1480px) {
  .site-header .container.header-inner,
  .site-header-overlay .container.header-inner {
    gap: 14px !important;
  }

  .site-header .nav,
  .site-header-overlay .nav {
    gap: 18px !important;
    margin-right: 8px !important;
  }

  .site-header .header-actions .phone,
  .site-header-overlay .header-actions .phone {
    min-width: 250px !important;
    padding-right: 14px !important;
  }
}

@media (max-width: 1260px) {
  .site-header .nav,
  .site-header-overlay .nav {
    gap: 14px !important;
    font-size: 13px !important;
  }

  .site-header .header-actions .phone,
  .site-header-overlay .header-actions .phone {
    min-width: 232px !important;
  }
}

/* В мобильном меню возвращаем текст и нормальную ширину */
.mobile-menu .btn-whatsapp,
.mobile-menu .btn-messenger,
.hero-buttons .btn-messenger,
.cta-actions .btn-messenger {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 54px !important;
  padding: 0 18px !important;
  justify-content: center !important;
  border-radius: 16px !important;
}

.mobile-menu .btn-whatsapp .btn-label,
.mobile-menu .btn-messenger .btn-label,
.hero-buttons .btn-messenger .btn-label,
.cta-actions .btn-messenger .btn-label,
.hero-buttons .btn-whatsapp .btn-label,
.cta-actions .btn-whatsapp .btn-label {
  display: inline !important;
}

.mobile-menu .btn-whatsapp .btn-icon-wa,
.mobile-menu .btn-messenger .btn-icon-social,
.hero-buttons .btn-messenger .btn-icon-social,
.cta-actions .btn-messenger .btn-icon-social,
.hero-buttons .btn-whatsapp .btn-icon-wa,
.cta-actions .btn-whatsapp .btn-icon-wa {
  width: 24px !important;
  height: 24px !important;
  flex: 0 0 24px !important;
}

@media (max-width: 760px) {
  .mobile-menu .btn-whatsapp,
  .mobile-menu .btn-messenger,
  .hero-buttons .btn-whatsapp,
  .hero-buttons .btn-messenger,
  .cta-actions .btn-whatsapp,
  .cta-actions .btn-messenger {
    width: 100% !important;
  }
}


/* === V22: новые иконки TG/MAX + чистая шапка + футер оранжевый === */
:root { --v22-messenger-fix: "2026-06-21"; }

/* Точные иконки из рефов */
.btn-telegram .btn-icon-social img,
.mobile-menu .btn-telegram .btn-icon-social img,
.hero-buttons .btn-telegram .btn-icon-social img,
.cta-actions .btn-telegram .btn-icon-social img,
.footer-telegram .footer-social-icon img,
.contact-item a[href^="tg://"] .btn-icon-social img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.btn-max .btn-icon-social img,
.mobile-menu .btn-max .btn-icon-social img,
.hero-buttons .btn-max .btn-icon-social img,
.cta-actions .btn-max .btn-icon-social img,
.footer-max .footer-social-icon img,
.contact-item a[href*="max.ru"] .btn-icon-social img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Шапка: строго в одну линию и без наложений */
.site-header-overlay .container.header-inner,
.site-header .container.header-inner {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  flex-wrap: nowrap !important;
}

.site-header-overlay .nav,
.site-header .nav {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  gap: 18px !important;
  justify-content: center !important;
}

.site-header-overlay .header-actions,
.site-header .header-actions {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-left: auto !important;
  position: relative !important;
  z-index: 5 !important;
}

.site-header-overlay .header-actions .phone,
.site-header .header-actions .phone {
  flex: 0 0 auto !important;
  min-width: 290px !important;
  padding-right: 16px !important;
}

.site-header-overlay .header-actions .btn-whatsapp,
.site-header .header-actions .btn-whatsapp {
  flex: 0 0 auto !important;
  min-width: 150px !important;
  padding: 0 18px !important;
}

.site-header-overlay .header-actions .btn-messenger,
.site-header .header-actions .btn-messenger {
  flex: 0 0 56px !important;
  width: 56px !important;
  min-width: 56px !important;
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
}

.site-header-overlay .header-actions .btn-messenger .btn-label,
.site-header .header-actions .btn-messenger .btn-label {
  display: none !important;
}

.site-header-overlay .header-actions .btn-messenger .btn-icon-social,
.site-header .header-actions .btn-messenger .btn-icon-social {
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  background: rgba(255,255,255,.16) !important;
  border-radius: 999px !important;
  padding: 5px !important;
}

/* Чтобы WhatsApp не наезжал на кнопку телефона */
@media (max-width: 1700px) {
  .site-header-overlay .header-actions .btn-whatsapp,
  .site-header .header-actions .btn-whatsapp {
    min-width: 132px !important;
    padding: 0 16px !important;
  }
}

@media (max-width: 1540px) {
  .site-header-overlay .nav,
  .site-header .nav {
    gap: 14px !important;
  }

  .site-header-overlay .header-actions .phone,
  .site-header .header-actions .phone {
    min-width: 276px !important;
  }

  .site-header-overlay .header-actions .btn-whatsapp,
  .site-header .header-actions .btn-whatsapp {
    min-width: 60px !important;
    width: 60px !important;
    padding: 0 !important;
    font-size: 0 !important;
  }

  .site-header-overlay .header-actions .btn-whatsapp .btn-icon-wa,
  .site-header .header-actions .btn-whatsapp .btn-icon-wa {
    margin-right: 0 !important;
  }
}

@media (max-width: 1320px) {
  .site-header-overlay .nav,
  .site-header .nav {
    gap: 12px !important;
    font-size: 14px !important;
  }

  .site-header-overlay .header-actions .phone,
  .site-header .header-actions .phone {
    min-width: 250px !important;
  }
}

/* Мобильный брейкпоинт: в шапке только логотип + бургер, всё остальное внутри меню */
@media (max-width: 1160px) {
  .site-header-overlay .nav,
  .site-header .nav,
  .site-header-overlay .header-actions,
  .site-header .header-actions {
    display: none !important;
  }

  .site-header-overlay .burger,
  .site-header .burger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    flex: 0 0 46px !important;
  }

  .mobile-menu,
  .mobile-menu.is-open {
    position: relative !important;
    z-index: 25 !important;
  }
}

/* Мобильное меню: кнопки в столбик, ничего не загораживает */
.mobile-menu {
  padding-top: 14px !important;
}

.mobile-menu .btn-whatsapp,
.mobile-menu .btn-messenger {
  width: 100% !important;
  min-width: 0 !important;
  justify-content: center !important;
  padding: 0 18px !important;
  margin-top: 10px !important;
}

.mobile-menu .btn-whatsapp {
  order: 20 !important;
}

.mobile-menu .btn-messenger {
  order: 21 !important;
}

.mobile-menu .btn-messenger .btn-label,
.mobile-menu .btn-whatsapp {
  font-size: 15px !important;
}

.mobile-menu .btn-messenger .btn-icon-social,
.mobile-menu .btn-whatsapp .btn-icon-wa {
  margin-right: 8px !important;
}

/* Футер: иконки TG/MAX оранжевые */
.footer-telegram,
.footer-max {
  color: rgba(255,255,255,.92) !important;
}

.footer-telegram .footer-social-icon,
.footer-max .footer-social-icon {
  width: 30px !important;
  height: 30px !important;
  flex: 0 0 30px !important;
  padding: 5px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #fb923c 0%, #f97316 100%) !important;
  box-shadow: 0 10px 24px rgba(249,115,22,.22) !important;
}

.footer-telegram .footer-social-icon img,
.footer-max .footer-social-icon img {
  filter: brightness(0) invert(1) !important;
}

/* Контакты: тоже аккуратно */
.contact-item a[href^="tg://"],
.contact-item a[href*="max.ru"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.contact-item a[href^="tg://"] .btn-icon-social,
.contact-item a[href*="max.ru"] .btn-icon-social {
  background: rgba(249,115,22,.12) !important;
}


/* === V23: уменьшение кнопок в шапке + унификация футера + контраст TG/MAX === */
:root { --v23-messenger-ui-fix: "2026-06-21"; }

/* Десктопная шапка: компактнее */
.site-header .header-actions,
.site-header-overlay .header-actions {
  gap: 8px !important;
}

.site-header .phone,
.site-header-overlay .phone {
  min-width: 258px !important;
  padding: 8px 14px 8px 10px !important;
  border-radius: 16px !important;
}

.site-header .phone .header-icon,
.site-header-overlay .phone .header-icon {
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px !important;
  border-radius: 12px !important;
}

.site-header .phone-text strong,
.site-header-overlay .phone-text strong {
  font-size: 15px !important;
}

.site-header .phone-text small,
.site-header-overlay .phone-text small {
  font-size: 11px !important;
}

.site-header .header-actions .btn-whatsapp,
.site-header-overlay .header-actions .btn-whatsapp {
  min-width: 134px !important;
  height: 52px !important;
  border-radius: 16px !important;
  padding: 0 16px !important;
}

.site-header .header-actions .btn-messenger,
.site-header-overlay .header-actions .btn-messenger {
  width: 52px !important;
  min-width: 52px !important;
  height: 52px !important;
  min-height: 52px !important;
  border-radius: 16px !important;
}

.site-header .header-actions .btn-messenger .btn-icon-social,
.site-header-overlay .header-actions .btn-messenger .btn-icon-social {
  width: 26px !important;
  height: 26px !important;
  flex: 0 0 26px !important;
}

/* Telegram / MAX — контрастнее и заметнее в hero, меню и шапке */
.btn-telegram,
.btn-max {
  color: #ffffff !important;
  border-width: 1.5px !important;
}

.btn-telegram {
  background: linear-gradient(180deg, #1994ea 0%, #1579d8 100%) !important;
  border-color: rgba(116, 212, 255, .55) !important;
  box-shadow: 0 14px 28px rgba(24, 121, 216, .22) !important;
}

.btn-max {
  background: linear-gradient(180deg, #2c84ff 0%, #175de6 100%) !important;
  border-color: rgba(122, 171, 255, .5) !important;
  box-shadow: 0 14px 28px rgba(23, 93, 230, .22) !important;
}

.btn-telegram .btn-icon-social,
.btn-max .btn-icon-social,
.mobile-menu .btn-telegram .btn-icon-social,
.mobile-menu .btn-max .btn-icon-social,
.hero-buttons .btn-telegram .btn-icon-social,
.hero-buttons .btn-max .btn-icon-social,
.cta-actions .btn-telegram .btn-icon-social,
.cta-actions .btn-max .btn-icon-social {
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.85) !important;
}

/* В hero не делать TG/MAX огромными полосами на десктопе */
.hero-buttons {
  align-items: flex-start !important;
}

.hero-buttons .btn-messenger {
  width: auto !important;
  min-width: 210px !important;
  max-width: 280px !important;
  flex: 0 0 calc(50% - 7px) !important;
}

.hero-buttons .btn-messenger .btn-label {
  font-size: 16px !important;
}

@media (max-width: 980px) {
  .hero-buttons .btn-messenger {
    width: 100% !important;
    max-width: none !important;
    flex: 1 1 100% !important;
  }
}

/* Футер: все три мессенджера одинаковые по стилю */
.footer-whatsapp,
.footer-telegram,
.footer-max {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: rgba(255,255,255,.92) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  margin-top: 10px !important;
}

.footer-whatsapp .footer-wa-icon,
.footer-telegram .footer-social-icon,
.footer-max .footer-social-icon {
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #fb923c 0%, #f97316 100%) !important;
  box-shadow: 0 10px 24px rgba(249,115,22,.22) !important;
}

.footer-whatsapp .footer-wa-icon img,
.footer-telegram .footer-social-icon img,
.footer-max .footer-social-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
}

/* Контактные ссылки в блоках — тоже единый стиль */
.contact-item a[href*="wa.me"],
.contact-item a[href^="tg://"],
.contact-item a[href*="max.ru"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: rgba(255,255,255,.94) !important;
  text-decoration: none !important;
}

.contact-item a[href*="wa.me"] .btn-icon-wa,
.contact-item a[href^="tg://"] .btn-icon-social,
.contact-item a[href*="max.ru"] .btn-icon-social {
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
  margin-right: 0 !important;
  padding: 6px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #fb923c 0%, #f97316 100%) !important;
  box-shadow: 0 8px 20px rgba(249,115,22,.18) !important;
}

.contact-item a[href*="wa.me"] .btn-icon-wa img,
.contact-item a[href^="tg://"] .btn-icon-social img,
.contact-item a[href*="max.ru"] .btn-icon-social img {
  filter: brightness(0) invert(1) !important;
}

/* Мобильная шапка: не даём кнопкам заезжать под бургер / меню */
@media (max-width: 1160px) {
  .site-header .header-actions,
  .site-header-overlay .header-actions {
    display: none !important;
  }

  .mobile-menu .btn-whatsapp,
  .mobile-menu .btn-messenger {
    min-height: 52px !important;
    border-radius: 16px !important;
  }
}


/* === V24: финальная подстройка MAX/TG цветов === */
:root { --v24-messenger-color-tune: "2026-06-21"; }

/* MAX: в шапке иконка в синем круге, а не белом */
.site-header .header-actions .btn-max .btn-icon-social,
.site-header-overlay .header-actions .btn-max .btn-icon-social {
  background: linear-gradient(180deg, #4c97ff 0%, #2f6dff 100%) !important;
  box-shadow: 0 8px 18px rgba(47, 109, 255, .32) !important;
}

.site-header .header-actions .btn-max .btn-icon-social img,
.site-header-overlay .header-actions .btn-max .btn-icon-social img {
  filter: brightness(0) invert(1) !important;
}

/* Telegram в мобильном меню — такой же по цвету, как в шапке */
.mobile-menu .btn-telegram {
  background: linear-gradient(180deg, #1994ea 0%, #1579d8 100%) !important;
  border-color: rgba(116, 212, 255, .55) !important;
  box-shadow: 0 14px 28px rgba(24, 121, 216, .22) !important;
  color: #fff !important;
}

.mobile-menu .btn-telegram .btn-icon-social {
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.85) !important;
}


/* === V25: мобильная доводка меню и иконок TG/MAX === */
:root { --v25-mobile-social-fix: "2026-06-21"; }

/* Бургер в мобильной шапке — в стиле сайта */
@media (max-width: 1160px) {
  .site-header .burger,
  .site-header-overlay .burger {
    width: 48px !important;
    height: 48px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(249, 115, 22, .32) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,244,235,.96) 100%) !important;
    box-shadow: 0 10px 24px rgba(10, 22, 45, .18) !important;
  }

  .site-header .burger span,
  .site-header-overlay .burger span {
    width: 20px !important;
    height: 2px !important;
    margin: 4px auto !important;
    border-radius: 999px !important;
    background: #f97316 !important;
  }

  .mobile-menu {
    padding-top: 16px !important;
    padding-bottom: 18px !important;
  }

  .mobile-menu .btn-whatsapp,
  .mobile-menu .btn-messenger,
  .mobile-menu-phone {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 54px !important;
    border-radius: 18px !important;
  }

  .mobile-menu .btn-whatsapp,
  .mobile-menu .btn-messenger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 0 18px !important;
  }

  .mobile-menu .btn-messenger .btn-label,
  .mobile-menu .btn-whatsapp {
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }
}

/* Telegram в мобильном меню — такой же оттенок, как в шапке */
.mobile-menu .btn.btn-messenger.btn-telegram {
  background: linear-gradient(180deg, #1ea1f1 0%, #1686df 100%) !important;
  border-color: rgba(126, 214, 255, .58) !important;
  box-shadow: 0 14px 28px rgba(22, 134, 223, .24) !important;
}

/* MAX: синяя иконка-плашка внутри кнопки в шапке, hero и мобильном меню */
.btn.btn-messenger.btn-max .btn-icon-social {
  background: linear-gradient(180deg, #4c97ff 0%, #2f6dff 100%) !important;
  box-shadow: 0 8px 18px rgba(47, 109, 255, .30) !important;
}

.btn.btn-messenger.btn-max .btn-icon-social img {
  filter: brightness(0) invert(1) !important;
}

/* Контактный блок на мобильной — ровная геометрия кнопок */
@media (max-width: 640px) {
  .contact-item a[href*="wa.me"],
  .contact-item a[href^="tg://"],
  .contact-item a[href*="max.ru"] {
    width: 100% !important;
    min-height: 54px !important;
    border-radius: 18px !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    box-sizing: border-box !important;
  }

  .contact-item a[href*="wa.me"] .btn-icon-wa,
  .contact-item a[href^="tg://"] .btn-icon-social,
  .contact-item a[href*="max.ru"] .btn-icon-social {
    flex: 0 0 32px !important;
    margin-right: 0 !important;
  }
}


/* === V26: контраст Telegram в шапке + более симпатичный тёмный бургер === */
:root { --v26-header-telegram-burger-fix: "2026-06-21"; }

/* Telegram в шапке должен читаться на тёмном фоне */
.site-header .header-actions .btn-telegram,
.site-header-overlay .header-actions .btn-telegram {
  background: linear-gradient(180deg, #33b7ff 0%, #1494ef 100%) !important;
  border: 1px solid rgba(183, 233, 255, .72) !important;
  box-shadow:
    0 12px 28px rgba(20, 148, 239, .30),
    inset 0 1px 0 rgba(255,255,255,.18) !important;
}

.site-header .header-actions .btn-telegram:hover,
.site-header .header-actions .btn-telegram:focus-visible,
.site-header-overlay .header-actions .btn-telegram:hover,
.site-header-overlay .header-actions .btn-telegram:focus-visible {
  transform: translateY(-1px) !important;
  box-shadow:
    0 16px 34px rgba(20, 148, 239, .36),
    inset 0 1px 0 rgba(255,255,255,.22) !important;
}

.site-header .header-actions .btn-telegram .btn-icon-social,
.site-header-overlay .header-actions .btn-telegram .btn-icon-social {
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.88) !important;
}

/* В мобильном меню тоже сделать Telegram поярче, чтобы не сливался */
.mobile-menu .btn-telegram {
  background: linear-gradient(180deg, #33b7ff 0%, #1494ef 100%) !important;
  border-color: rgba(183, 233, 255, .72) !important;
  box-shadow: 0 14px 28px rgba(20, 148, 239, .26) !important;
}

/* Бургер — снова тёмный, но аккуратнее и дороже по виду */
@media (max-width: 1160px) {
  .site-header .burger,
  .site-header-overlay .burger {
    width: 50px !important;
    height: 50px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(249, 115, 22, .34) !important;
    background:
      linear-gradient(180deg, rgba(16, 27, 50, .98) 0%, rgba(12, 22, 43, .96) 100%) !important;
    box-shadow:
      0 12px 28px rgba(0, 0, 0, .34),
      inset 0 1px 0 rgba(255,255,255,.06) !important;
  }

  .site-header .burger span,
  .site-header-overlay .burger span {
    width: 20px !important;
    height: 2.5px !important;
    margin: 4px auto !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #ffb15a 0%, #f97316 100%) !important;
    box-shadow: 0 1px 4px rgba(249, 115, 22, .35) !important;
  }

  .site-header .burger:hover,
  .site-header-overlay .burger:hover,
  .site-header .burger:focus-visible,
  .site-header-overlay .burger:focus-visible {
    border-color: rgba(255, 146, 64, .5) !important;
    box-shadow:
      0 16px 32px rgba(0, 0, 0, .38),
      0 0 0 4px rgba(249, 115, 22, .10),
      inset 0 1px 0 rgba(255,255,255,.08) !important;
  }
}
