:root {
  --color-black: #070707;
  --color-graphite: #151515;
  --color-graphite-2: #202020;
  --color-steel: #6e7277;
  --color-line: #e5e1d8;
  --color-light: #f5f2eb;
  --color-white: #ffffff;
  --color-yellow: #f6c400;
  --color-yellow-dark: #d9a900;
  --shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.14);
  --shadow-dark: 0 26px 70px rgba(0, 0, 0, 0.36);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1240px;
  --font-display: "Bahnschrift", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  --font-body: "Segoe UI Variable Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--color-graphite);
  background: var(--color-light);
  font-family: var(--font-body);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(246, 196, 0, 0.9);
  outline-offset: 4px;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 7, 7, 0.76);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-white);
}

.brand span {
  padding: 6px 10px;
  border: 1px solid rgba(246, 196, 0, 0.34);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.main-nav a,
.footer-links a,
.contacts-card a {
  transition: color 0.2s ease;
}

.main-nav a {
  white-space: nowrap;
}

.main-nav a:hover,
.footer-links a:hover,
.contacts-card a:hover {
  color: var(--color-yellow);
}

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

.icon-link {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: var(--color-white);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.icon-whatsapp {
  color: #ffffff;
  border-color: rgba(37, 211, 102, 0.34);
  background: rgba(37, 211, 102, 0.12);
}

.icon-telegram {
  color: #ffffff;
  border-color: rgba(42, 171, 238, 0.34);
  background: rgba(42, 171, 238, 0.12);
}

.icon-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.icon-link:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 196, 0, 0.55);
  background: rgba(246, 196, 0, 0.1);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: transparent;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--color-white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.btn-yellow {
  color: var(--color-black);
  background: linear-gradient(135deg, var(--color-yellow), #ffd94a);
  box-shadow: 0 14px 34px rgba(246, 196, 0, 0.24);
}

.btn-yellow:hover {
  box-shadow: 0 18px 44px rgba(246, 196, 0, 0.34);
}

.btn-outline-dark {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-light {
  color: var(--color-graphite);
  border-color: rgba(0, 0, 0, 0.14);
  background: var(--color-white);
}

.btn-card {
  min-height: 44px;
  color: var(--color-graphite);
  border-color: rgba(246, 196, 0, 0.5);
  background: rgba(246, 196, 0, 0.14);
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 790px;
  padding: 180px 0 110px;
  overflow: hidden;
  color: var(--color-white);
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.88) 30%, rgba(0, 0, 0, 0.38) 62%, rgba(0, 0, 0, 0.1) 100%),
    url("assets/hero-bg.jpg");
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 210px;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent, var(--color-black));
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 650px;
  font-size: clamp(48px, 6vw, 82px);
}

h2 {
  font-size: clamp(36px, 5vw, 64px);
}

h3 {
  font-size: 28px;
}

.hero-subtitle {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 20px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 42px;
}

.hero-points span {
  min-height: 86px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
}

.category-strip {
  margin-top: -58px;
  position: relative;
  z-index: 3;
}

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

.category-card {
  min-height: 170px;
  padding: 20px;
  border: 1px solid rgba(246, 196, 0, 0.16);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #101010, #1d1d1d);
  color: var(--color-white);
  box-shadow: var(--shadow-dark);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: rgba(246, 196, 0, 0.75);
  box-shadow: 0 24px 70px rgba(246, 196, 0, 0.18);
}

.category-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid rgba(246, 196, 0, 0.58);
  border-radius: 50%;
  color: var(--color-yellow);
  font-weight: 900;
}

.category-card strong {
  display: block;
  font-size: 19px;
}

.category-card small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.35;
}

.section {
  padding: 112px 0;
}

.section-light {
  background: var(--color-light);
}

.split,
.lead-layout,
.contacts-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.image-frame {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--color-graphite);
  box-shadow: var(--shadow-soft);
}

.image-frame::after {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(246, 196, 0, 0.28);
  border-radius: 22px;
  content: "";
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.section-copy p:not(.eyebrow),
.section-heading p,
.lead-copy p,
.warranty-box p,
.contacts-cta {
  color: var(--color-steel);
  font-size: 18px;
}

.mini-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 34px;
}

.mini-benefits span {
  padding: 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-white);
  font-weight: 800;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading-left {
  margin-inline: 0;
  text-align: left;
}

.tools {
  background:
    radial-gradient(circle at 20% 10%, rgba(246, 196, 0, 0.14), transparent 24%),
    #ffffff;
}

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

.tool-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #ffffff, #f8f5ee);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tool-card:hover {
  transform: translateY(-8px);
  border-color: rgba(246, 196, 0, 0.7);
  box-shadow: var(--shadow-soft);
}

.tool-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 405 / 266;
  margin: 0;
  object-fit: contain;
  background: #f2efe7;
}

.tool-card h3 {
  margin: 26px 26px 0;
}

.tool-card p {
  flex: 1;
  margin: 14px 26px 24px;
  color: var(--color-steel);
}

.tool-card .btn-card {
  width: calc(100% - 52px);
  margin: 0 26px 26px;
}

.section-dark {
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(246, 196, 0, 0.08), transparent 34%),
    linear-gradient(180deg, #090909, #171717);
}

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

.benefits-grid div {
  min-height: 150px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.benefits-grid div::before {
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--color-yellow);
  content: "";
}

.lead-section {
  background: var(--color-light);
}

.lead-layout {
  align-items: start;
}

.lead-copy {
  position: sticky;
  top: 120px;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--color-graphite);
  font-size: 14px;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid #d9d4ca;
  border-radius: 14px;
  background: #fbfaf7;
  color: var(--color-graphite);
  font-weight: 500;
}

.lead-form input,
.lead-form select {
  height: 54px;
  padding: 0 16px;
}

.custom-select {
  position: relative;
}

.custom-select-trigger {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid #d9d4ca;
  border-radius: 14px;
  background: #fbfaf7;
  color: var(--color-graphite);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.custom-select-trigger:focus-visible {
  outline: 3px solid rgba(246, 196, 0, 0.9);
  outline-offset: 2px;
}

.custom-select.open .custom-select-trigger {
  border-color: rgba(246, 196, 0, 0.58);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(246, 196, 0, 0.12);
}

.custom-select-trigger.error {
  border-color: #c62828;
}

.custom-select-value {
  overflow: hidden;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select:not(.has-value) .custom-select-value {
  color: var(--color-steel);
}

.custom-select-arrow {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.custom-select.open .custom-select-arrow {
  transform: rotate(-135deg) translateY(-1px);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 6px;
  max-height: min(320px, calc(100vh - 140px));
  padding: 8px;
  overflow: auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: var(--color-white);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.custom-select.open .custom-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.custom-select-option {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--color-graphite);
  cursor: pointer;
  font-weight: 600;
  text-align: left;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.custom-select-option:hover,
.custom-select-option:focus-visible,
.custom-select-option.is-active {
  border-color: var(--color-line);
  background: #f7f3ea;
}

.custom-select-option.is-placeholder {
  color: var(--color-steel);
}

.custom-select-native {
  display: none;
}

.lead-form textarea {
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
}

.lead-form input.error,
.lead-form select.error,
.lead-form textarea.error {
  border-color: #c62828;
}

.form-wide {
  grid-column: 1 / -1;
}

.checkbox {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 12px !important;
  color: var(--color-steel) !important;
  font-weight: 500 !important;
}

.checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--color-yellow);
}

.checkbox a {
  color: var(--color-black);
  font-weight: 800;
  text-decoration: underline;
}

.form-message {
  margin: 0;
  color: #1b6f32;
  font-weight: 800;
}

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

.service-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 243, 235, 0.82)),
    var(--color-white);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 96px;
  height: 96px;
  border-radius: 0 0 0 100%;
  background: linear-gradient(135deg, rgba(246, 196, 0, 0.34), rgba(246, 196, 0, 0));
  content: "";
}

.service-card::after {
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: var(--color-yellow);
  content: "";
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(246, 196, 0, 0.54);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
}

.service-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  place-items: center;
  border: 1px solid rgba(246, 196, 0, 0.62);
  border-radius: 50%;
  color: var(--color-yellow-dark);
  font-size: 13px;
  font-weight: 900;
}

.service-card strong {
  display: block;
  color: var(--color-black);
  font-size: 18px;
  line-height: 1.25;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--color-steel);
  font-size: 15px;
  line-height: 1.5;
}

.warranty {
  padding-top: 0;
}

.warranty-box {
  padding: 54px;
  border-radius: var(--radius-xl);
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(246, 196, 0, 0.22), transparent 42%),
    var(--color-graphite);
  box-shadow: var(--shadow-dark);
}

.warranty-box p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.72);
}

.maps {
  background: #ffffff;
}

.map-panel {
  display: grid;
  padding: 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  background: var(--color-light);
  gap: 16px;
}

.map-preview-link {
  position: relative;
  display: grid;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(246, 196, 0, 0.14), transparent 35%),
    #ece7dc;
  isolation: isolate;
}

.map-preview-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.16) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1;
}

.map-preview-link:hover::after {
  opacity: 1;
}

.map-preview-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease, filter 0.25s ease;
  z-index: 1;
}

.map-preview-link:hover .map-preview-image {
  transform: scale(1.01);
  filter: brightness(0.96);
}

.map-preview-fallback {
  align-self: center;
  justify-self: center;
  max-width: 320px;
  padding: 0 20px;
  color: var(--color-steel);
  font-weight: 900;
  text-align: center;
  z-index: 0;
}

.map-preview-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  max-width: calc(100% - 40px);
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.78);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  backdrop-filter: blur(10px);
  z-index: 2;
}

.map-preview-link.is-fallback .map-preview-badge {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--color-graphite);
}

.map-panel .btn {
  justify-self: center;
}

.contacts {
  background: var(--color-light);
}

.contacts-card {
  display: grid;
  gap: 12px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: var(--color-graphite);
  color: var(--color-white);
  box-shadow: var(--shadow-dark);
}

.contacts-card .contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--color-white);
}

.contacts-card .contact-row:hover {
  color: var(--color-white);
  border-color: rgba(246, 196, 0, 0.42);
  background: rgba(246, 196, 0, 0.08);
  transform: translateY(-2px);
}

.contact-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  padding: 0 !important;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-icon-phone {
  background: linear-gradient(135deg, #2b2f35, #111111);
}

.contact-icon-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c4a);
}

.contact-icon-telegram {
  background: linear-gradient(135deg, #2aabee, #1684c5);
}

.contact-icon-email {
  background: linear-gradient(135deg, #f6c400, #b98500);
}

.contact-icon-time {
  background: linear-gradient(135deg, #49505a, #1b1f25);
}

.contact-icon-address {
  background: linear-gradient(135deg, #f6c400, #111111);
}

.contact-row strong,
.contact-row small {
  display: block;
}

.contact-row strong {
  font-size: 16px;
}

.contact-row small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.site-footer {
  padding: 58px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--color-black);
}

.footer-grid {
  align-items: start;
  grid-template-columns: 1.2fr 1fr 0.8fr;
}

.site-footer p {
  max-width: 520px;
}

.legal,
.footer-links {
  display: grid;
  gap: 8px;
}

.legal strong {
  color: var(--color-white);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.legal-page {
  background:
    radial-gradient(circle at 10% 0%, rgba(246, 196, 0, 0.18), transparent 28%),
    var(--color-light);
}

.legal-document {
  max-width: 920px;
  padding: 52px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.legal-document h1 {
  margin-bottom: 34px;
  color: var(--color-black);
  font-size: clamp(38px, 6vw, 66px);
}

.legal-document h2 {
  margin: 30px 0 10px;
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -0.035em;
}

.legal-document p {
  margin: 0;
  color: var(--color-steel);
}

.back-link {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--color-graphite);
  font-weight: 900;
}

.reveal {
  animation: fadeUp 0.7s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .burger {
    display: block;
  }

  .main-nav,
  .header-actions {
    position: fixed;
    right: 20px;
    left: 20px;
    display: none;
    background: #101010;
  }

  .main-nav {
    top: 92px;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    border-radius: 24px 24px 0 0;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header-actions {
    top: 423px;
    justify-content: flex-start;
    padding: 18px 20px 22px;
    border-radius: 0 0 24px 24px;
  }

  .main-nav.active,
  .header-actions.active {
    display: flex;
  }

  .category-grid,
  .tools-grid,
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .split,
  .lead-layout,
  .contacts-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .lead-copy {
    position: static;
  }

  .map-preview-link {
    min-height: 400px;
  }
}

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

  .brand span {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 132px 0 72px;
    background-image:
      linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.92) 48%, rgba(0, 0, 0, 0.72) 100%),
      url("assets/hero-bg.jpg");
    background-position: 72% center;
  }

  .hero-copy {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(5px);
  }

  .hero-points,
  .category-grid,
  .tools-grid,
  .benefits-grid,
  .service-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .category-strip {
    margin-top: 0;
    padding: 20px 0;
    background: var(--color-black);
  }

  .section {
    padding: 72px 0;
  }

  .image-frame,
  .image-frame img {
    min-height: 360px;
  }

  .mini-benefits {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: auto;
  }

  .lead-form,
  .warranty-box,
  .contacts-card {
    padding: 24px;
  }

  .custom-select-menu {
    max-height: min(280px, calc(100vh - 100px));
  }

  .custom-select-option {
    min-height: 50px;
  }

  .map-preview-link {
    min-height: 300px;
  }

  .map-preview-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
    text-align: center;
  }

  .footer-grid {
    gap: 34px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .map-preview-link {
    min-height: 280px;
  }

  .map-preview-badge {
    font-size: 13px;
  }
}
