:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #14171a;
  --muted: #68717c;
  --line: rgba(20, 23, 26, 0.12);
  --paper: #ffffff;
  --soft: #f4f6f7;
  --yellow: #ffc928;
  --green: #4f8a54;
  --graphite: #171b1f;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(12, 16, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

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

button,
input,
select {
  font: inherit;
}

.site {
  overflow-x: hidden;
}

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

.nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(18px);
  background: rgba(15, 18, 21, 0.78);
}

.nav.light {
  color: var(--ink);
  border-bottom-color: rgba(20, 23, 26, 0.1);
  background: rgba(255, 255, 255, 0.88);
}

.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-logo {
  width: 78px;
  height: 50px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #14171a;
  background: var(--yellow);
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.1);
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: currentColor;
  font-size: 14px;
  font-weight: 700;
}

.menu a {
  opacity: 0.86;
}

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

.viber-header-button,
.viber-image-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 8px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.viber-header-button {
  width: 42px;
  height: 42px;
  box-shadow: 0 12px 30px rgba(115, 96, 242, 0.28);
}

.viber-header-button img,
.viber-image-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.viber-header-button:hover,
.viber-image-button:hover {
  transform: translateY(-2px);
}

.phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--yellow);
  color: #151515;
  font-weight: 900;
  white-space: nowrap;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 112px 0 74px;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  display: none;
  z-index: -2;
  background: #101316;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(9, 11, 13, 0.88), rgba(9, 11, 13, 0.54) 46%, rgba(9, 11, 13, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(650px, 100%);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-text {
  max-width: 590px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  line-height: 1.16;
  text-align: center;
  white-space: normal;
  text-wrap: balance;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.btn.primary {
  background: var(--yellow);
  color: #141414;
}

.btn.dark {
  background: #171b1f;
  color: #fff;
}

.btn.light {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn.ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.btn.call-button {
  min-height: 56px;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
}

.hero-strip {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 40px));
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.16);
}

.strip-item {
  min-height: 98px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.94);
}

.strip-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 21px;
}

.strip-item span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.section {
  padding: 76px 0;
}

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

.section.dark {
  background: var(--graphite);
  color: #fff;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 28px;
}

.section-head h2 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-head p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.dark .section-head p {
  color: rgba(255, 255, 255, 0.68);
}

.grid {
  display: grid;
  gap: 16px;
}

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

.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  box-sizing: border-box;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.dark .card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.material {
  min-height: 178px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 201, 40, 0.22), transparent 38%),
    #fff;
}

.material .pile {
  width: 88px;
  height: 56px;
  border-radius: 50% 50% 10px 10px;
  background: var(--pile);
  box-shadow: inset 0 -14px 26px rgba(0, 0, 0, 0.16);
}

.material h3,
.fleet-card h3,
.price-card h3,
.step-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.material p,
.fleet-card p,
.price-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.calculator {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.3fr 0.9fr auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 18, 22, 0.08);
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.field input,
.field select {
  height: 48px;
}

.field textarea {
  min-height: 104px;
  padding-top: 13px;
  resize: vertical;
  font: inherit;
}

.fleet-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.92)),
    var(--fleet-img);
  background-size: cover;
  background-position: center;
}

.price-card {
  padding: 22px;
}

.price-card .price {
  display: block;
  margin: 18px 0 8px;
  font-size: 36px;
  font-weight: 950;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
}

.index-page {
  background: #f3f5f6;
}

.index-hero {
  padding: 64px 0 34px;
  background: #14171a;
  color: #fff;
}

.index-hero h1 {
  max-width: 860px;
  margin-bottom: 16px;
}

.index-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.55;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 26px 0 70px;
}

.preview {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 8px;
  background-image: linear-gradient(180deg, transparent 10%, rgba(8, 10, 12, 0.9)), var(--preview-img);
  background-size: cover;
  background-position: center;
  color: #fff;
  box-shadow: 0 20px 48px rgba(12, 16, 20, 0.15);
}

.preview-content {
  padding: 18px;
}

.preview h2 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.12;
}

.preview p {
  min-height: 58px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.35;
}

.preview .btn {
  width: 100%;
  min-height: 44px;
}

/* Variant 1 */
.v1 {
  --hero-image: url("assets/hero-industrial.webp");
}

.v1 .services-band {
  margin-top: 32px;
  position: relative;
  z-index: 3;
}

.service-tile {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 108px;
  background: #fff;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #f0f2f3;
  color: #171b1f;
}

.service-tile h3 {
  margin: 0 0 5px;
  font-size: 17px;
}

.service-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Variant 2 */
.v2 {
  --hero-image: url("assets/hero-premium.webp");
  background: #fbfbf8;
}

.v2 .hero {
  align-items: end;
}

.v2 .hero::after {
  background: linear-gradient(90deg, rgba(252, 251, 246, 0.9), rgba(252, 251, 246, 0.64) 42%, rgba(252, 251, 246, 0.1));
}

.v2 .hero-content {
  color: var(--ink);
}

.v2 .eyebrow {
  border-color: rgba(20, 23, 26, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: #4c545c;
}

.v2 .hero-text {
  color: #4f5963;
}

.hero-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  margin-left: auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  margin-bottom: 14px;
  font-size: 25px;
}

.panel-list {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.panel-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.panel-list span {
  color: var(--muted);
}

.split-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: end;
}

.v2 .btn.light {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

/* Variant 3 */
.v3 {
  --hero-image: url("assets/hero-materials.webp");
  --yellow: #ffbc1f;
}

.v3 .hero {
  min-height: 720px;
}

.v3 .hero::after {
  background:
    linear-gradient(180deg, rgba(10, 12, 14, 0.36), rgba(10, 12, 14, 0.88)),
    linear-gradient(90deg, rgba(10, 12, 14, 0.86), rgba(10, 12, 14, 0.2));
}

.quote-dock {
  margin-top: -78px;
  position: relative;
  z-index: 5;
}

.quote-dock .calculator {
  grid-template-columns: 1fr 0.7fr 1fr auto;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 18, 22, 0.08);
}

.ticker-cell {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.ticker-cell:last-child {
  border-right: 0;
}

.ticker-cell small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 800;
}

.ticker-cell strong {
  font-size: 26px;
}

/* Variant 4 */
.v4 {
  --hero-image: url("assets/hero-fleet.webp");
  --yellow: #f8c20d;
}

.v4 .hero {
  min-height: 700px;
}

.v4 .hero::after {
  background:
    linear-gradient(90deg, rgba(8, 10, 12, 0.92), rgba(8, 10, 12, 0.42) 48%, rgba(8, 10, 12, 0.08)),
    linear-gradient(180deg, transparent 70%, rgba(8, 10, 12, 0.8));
}

.fleet-stat {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.fleet-stat div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.fleet-stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--yellow);
  font-size: 28px;
}

.fleet-stat span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.route-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 18px;
  align-items: start;
}

.route-board > * {
  min-width: 0;
}

.map-block {
  min-height: 390px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.78) 1px, transparent 1px),
    radial-gradient(circle at 64% 42%, rgba(255, 201, 40, 0.42), transparent 20%),
    linear-gradient(135deg, #dce3e4, #aeb9b9);
  background-size: 54px 54px, 54px 54px, auto, auto;
  position: relative;
  overflow: hidden;
}

.generated-map {
  width: 100%;
  max-width: 100%;
  min-height: 0;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-color: rgba(20, 23, 26, 0.18);
  background: #111417;
  box-shadow: 0 22px 60px rgba(20, 23, 26, 0.16);
}

.generated-map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.generated-map::before,
.generated-map::after {
  display: none;
}

.generated-map figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  width: fit-content;
  max-width: calc(100% - 36px);
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(17, 20, 23, 0.82);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.map-label {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(17, 20, 23, 0.84);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
  text-decoration: none;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

a.map-label:hover,
a.map-label:focus-visible {
  background: rgba(17, 20, 23, 0.94);
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
  transform: translate(-50%, -50%) translateY(-1px);
}

.map-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(248, 194, 13, 0.24);
}

.map-label.main {
  min-height: 36px;
  padding: 0 13px;
  background: var(--yellow);
  color: #111417;
  font-size: 14px;
}

a.map-label.main:hover,
a.map-label.main:focus-visible {
  background: #ffd84f;
}

.map-label.main::before {
  background: #111417;
  box-shadow: 0 0 0 4px rgba(17, 20, 23, 0.16);
}

.map-label.park {
  border: 1px solid rgba(248, 194, 13, 0.42);
  background: rgba(17, 20, 23, 0.9);
}

.map-block::before,
.map-block::after {
  content: "";
  position: absolute;
  height: 10px;
  border-radius: 20px;
  background: #2b3136;
  transform: rotate(-17deg);
}

.map-block::before {
  width: 74%;
  left: 9%;
  top: 46%;
}

.map-block::after {
  width: 58%;
  right: 5%;
  top: 61%;
  transform: rotate(22deg);
  background: #ffc928;
}

.route-list {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.route-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.area-tags a,
.area-tags span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 42px 0 14px;
  border: 1px solid rgba(20, 23, 26, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f7f9fa);
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(12, 16, 20, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.area-tags a::before,
.area-tags span::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 201, 40, 0.18);
}

.area-tags a::after {
  content: "";
  position: absolute;
  right: 15px;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0.5;
  transform: rotate(45deg);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.area-tags a:hover,
.area-tags a:focus-visible {
  border-color: rgba(255, 201, 40, 0.92);
  background: linear-gradient(180deg, #fff8dc, #fff);
  box-shadow: 0 16px 32px rgba(12, 16, 20, 0.12);
  transform: translateY(-2px);
}

.area-tags a:hover::after,
.area-tags a:focus-visible::after {
  opacity: 0.9;
  transform: translateX(2px) rotate(45deg);
}

.area-tags a:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.area-board {
  align-items: stretch;
}

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

.service-card {
  min-height: 230px;
  padding: 24px;
}

.service-card.is-featured {
  grid-row: span 2;
  background:
    linear-gradient(135deg, rgba(248, 194, 13, 0.22), transparent 46%),
    #fff;
}

.service-card h3 {
  margin: 12px 0 12px;
  font-size: 28px;
  line-height: 1.05;
}

.service-card p {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.service-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(248, 194, 13, 0.18);
  color: #775f00;
  font-size: 12px;
  font-weight: 900;
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 22px;
  color: #424a52;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.calc-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
}

.calc-card .btn,
.calc-card .check-row,
.calc-card .service-label {
  grid-column: 1 / -1;
}

.secondary-calc {
  margin-top: 18px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafb;
  color: #404850;
  font-weight: 800;
}

.check-row input {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  accent-color: var(--yellow);
}

.calc-result {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(20, 23, 26, 0.98), rgba(38, 44, 50, 0.96)),
    #15191d;
  color: #fff;
}

.calc-result .service-label {
  align-self: flex-start;
  background: rgba(248, 194, 13, 0.2);
  color: #ffd85a;
}

.result-line,
.result-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.result-line span,
.result-total span {
  color: rgba(255, 255, 255, 0.68);
}

.result-line strong {
  font-size: 22px;
}

.result-total {
  margin-top: 4px;
  padding: 16px 0 6px;
  border-bottom: 0;
}

.result-total strong {
  color: var(--yellow);
  font-size: 42px;
  line-height: 1;
}

.calc-result p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

.quick-calc-section {
  position: relative;
}

.quick-calc-head p,
.calc-section-head p {
  max-width: 680px;
}

.quick-calc-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.quick-calc-form {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 22px;
}

.quick-calc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quick-calc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.quick-calc-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.quick-calc-actions {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(220px, 0.7fr);
  gap: 10px;
  align-items: start;
}

.quick-calc-actions .btn,
.quick-result-actions .btn {
  width: 100%;
}

.quick-calc-result {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: #171b1f;
  color: #fff;
}

.quick-calc-result .service-label {
  width: fit-content;
  background: rgba(248, 194, 13, 0.18);
  color: var(--yellow);
}

.quick-result-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quick-result-lines div {
  min-height: 80px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.quick-result-lines span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 850;
}

.quick-result-lines strong {
  font-size: 20px;
}

.quick-result-actions {
  margin-top: auto;
}

.smart-calc-section {
  position: relative;
}

.smart-calc-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  gap: 20px;
  align-items: start;
  min-width: 0;
  max-width: 100%;
}

.smart-calc-form {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 0;
  overflow: hidden;
}

.calc-progress {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.calc-progress a,
.calc-progress span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fa;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.calc-progress a:hover,
.calc-progress a:focus-visible {
  border-color: rgba(255, 201, 40, 0.78);
  background: #fff9dc;
  color: var(--ink);
  transform: translateY(-1px);
}

.calc-progress a:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.calc-progress .is-active {
  border-color: rgba(255, 201, 40, 0.8);
  background: #fff6ce;
  color: var(--ink);
}

#calc-step-task,
#calc-step-sizes,
#calc-step-reserve,
#calc-step-result {
  scroll-margin-top: 96px;
}

.calc-panel {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.calc-panel:last-child {
  border-bottom: 0;
}

.calc-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.calc-panel-head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.12;
}

.calc-panel-head.compact {
  align-items: center;
  margin-bottom: 12px;
}

.calc-panel-head.compact h3 {
  font-size: 16px;
}

.task-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.task-tab {
  box-sizing: border-box;
  width: 100%;
  min-height: 118px;
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas:
    "picture title"
    "picture hint";
  column-gap: 12px;
  row-gap: 6px;
  align-items: center;
  padding: 12px 14px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f7f9fa);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.task-index {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 26px;
  border: 1px solid rgba(20, 23, 26, 0.08);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(12, 16, 20, 0.08);
}

.task-picture {
  grid-area: picture;
  width: 82px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20, 23, 26, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(150deg, #f6f7f5, #d9dfdd 58%, #c4ccc9);
  box-shadow: inset 0 -12px 18px rgba(12, 16, 20, 0.08), 0 10px 22px rgba(12, 16, 20, 0.08);
  overflow: hidden;
}

.task-picture .task-visual {
  width: 76px;
  height: 58px;
}

.task-picture .task-photo {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 7px;
  object-fit: cover;
}

.task-tab strong,
.task-tab em {
  display: block;
  min-width: 0;
}

.task-tab strong {
  grid-area: title;
  align-self: end;
  font-size: 16px;
  line-height: 1.16;
}

.task-tab em {
  grid-area: hint;
  align-self: start;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.task-tab:hover,
.task-tab:focus-visible {
  border-color: rgba(255, 201, 40, 0.9);
  background: linear-gradient(180deg, #fff8dc, #fff);
  box-shadow: 0 14px 30px rgba(12, 16, 20, 0.09);
  transform: translateY(-1px);
}

.task-tab.is-active {
  border-color: rgba(255, 201, 40, 0.9);
  background: linear-gradient(180deg, #fff8dc, #fff);
  box-shadow: 0 14px 30px rgba(12, 16, 20, 0.09);
}

.task-tab:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.task-tab.is-active .task-index {
  background: var(--yellow);
  color: var(--ink);
}

.task-tab.is-active .task-picture,
.task-tab:hover .task-picture,
.task-tab:focus-visible .task-picture {
  border-color: rgba(255, 201, 40, 0.72);
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(150deg, #fff5ca, #dce2df 55%, #bac5c0);
}

.task-visual {
  display: block;
  max-width: 100%;
  color: #171b1f;
  overflow: visible;
}

.task-visual-real {
  filter: drop-shadow(0 5px 5px rgba(12, 16, 20, 0.18));
}

.task-visual-real .rv-shadow {
  fill: rgba(12, 16, 20, 0.2);
}

.task-photo {
  display: block;
  max-width: 100%;
  background: #d7d2c7;
}

.tv-shadow {
  fill: rgba(20, 23, 26, 0.16);
}

.tv-fill {
  fill: #ffc928;
  stroke: #171b1f;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tv-side {
  fill: #e3a70f;
  stroke: #171b1f;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tv-line {
  fill: none;
  stroke: #171b1f;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tv-dark {
  fill: #30373d;
  stroke: #171b1f;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tv-cut {
  fill: #ffffff;
  stroke: #171b1f;
  stroke-width: 2;
}

.task-visual-path .tv-fill {
  fill: none;
  stroke: #ffc928;
  stroke-width: 16;
}

.calc-controls-grid,
.calc-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
  max-width: 100%;
}

.calc-controls-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.field-hint {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.calc-drawing {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 18px 0;
  padding: 0;
  border: 1px solid rgba(20, 23, 26, 0.12);
  border-radius: 8px;
  background: #171b1f;
  display: block;
  min-height: 280px;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(12, 16, 20, 0.14);
}

.calc-drawing-visual,
.calc-drawing-shape {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 32% 18%, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(150deg, #f6f7f5, #d5dedb 57%, #bac5c0);
  box-shadow: none;
  font-weight: 950;
  text-align: center;
  overflow: hidden;
}

.calc-drawing-visual .task-visual {
  width: 100%;
  height: 100%;
}

.calc-drawing-visual .task-photo {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
  image-rendering: auto;
}

.calc-drawing-photo {
  min-width: 100%;
  min-height: 100%;
}

.calc-drawing-caption {
  display: none;
  align-items: center;
  min-height: 100%;
  padding: 18px;
  color: #ffffff;
  text-align: left;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.28;
  background:
    linear-gradient(90deg, rgba(255, 201, 40, 0.16), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.custom-builder {
  margin-top: 16px;
  padding: 16px;
  border: 1px dashed rgba(20, 23, 26, 0.22);
  border-radius: 8px;
  background: #fbfcfc;
}

.custom-parts {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.custom-part {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, minmax(0, 1fr)) auto;
  gap: 8px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.custom-part .field {
  min-width: 0;
}

.part-remove {
  width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 950;
  cursor: pointer;
}

.calc-deductions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.82fr);
  gap: 14px;
  align-items: stretch;
  margin: 16px 0;
  min-width: 0;
  max-width: 100%;
}

.smart-calc-result {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  position: sticky;
  top: 92px;
  overflow: hidden;
}

.recommend-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-width: 0;
}

.recommend-card {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 104px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 201, 40, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 201, 40, 0.16), rgba(255, 255, 255, 0.075) 48%, rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 28px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.recommend-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20, 23, 26, 0.1);
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 10px 20px rgba(255, 201, 40, 0.18);
}

.recommend-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.recommend-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.recommend-grid span {
  display: block;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 900;
}

.recommend-grid strong {
  color: #fff;
  font-size: 17px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.recommend-grid em {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.formula-box {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.45;
}

.calc-actions,
.calc-viber-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
  min-width: 0;
  max-width: 100%;
}

.smart-calc-result .btn {
  min-width: 0;
  width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.calc-history {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.history-list {
  display: grid;
  gap: 8px;
}

.history-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.history-item button {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 201, 40, 0.6);
  border-radius: 8px;
  background: rgba(255, 201, 40, 0.14);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.history-title {
  display: block;
  color: #fff;
  font-weight: 900;
}

.history-meta,
.muted-note {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.35;
}

.calc-sticky-actions {
  display: none !important;
}

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

.mark-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.mark-card {
  min-height: 190px;
  padding: 18px;
}

.mark-card strong {
  display: block;
  margin-bottom: 18px;
  color: var(--yellow);
  font-size: 34px;
  line-height: 1;
}

.mark-card span {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.price-table {
  padding: 0;
}

.table-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.table-head h3 {
  margin: 0;
  font-size: 24px;
}

.table-head span {
  color: var(--muted);
  font-weight: 900;
  white-space: nowrap;
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.price-table th,
.price-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.price-table td:last-child,
.concrete-price-table td:nth-child(3) {
  font-weight: 950;
  white-space: nowrap;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-card {
  min-height: 240px;
  padding: 22px;
}

.process-card span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--yellow);
  font-size: 34px;
  font-weight: 950;
}

.process-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.process-card p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 950;
  font-size: 18px;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.55;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(20, 23, 26, 0.92), rgba(20, 23, 26, 0.74)),
    url("assets/hero-industrial.webp");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.landing-page .nav {
  background: rgba(15, 18, 21, 0.84);
}

.landing-hero {
  min-height: 640px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumb a {
  opacity: 0.92;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.44);
}

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

.landing-service-grid .service-card.is-featured {
  grid-row: auto;
}

.service-card .card-link {
  margin-top: auto;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  background: #171b1f;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.landing-copy {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-grid > li {
  min-width: 0;
}

.page-link-card {
  min-height: 150px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.page-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(15, 18, 22, 0.1);
}

.page-link-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.page-link-card strong {
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.14;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill-list a,
.pill-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
}

.highlight-band {
  padding: 28px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(248, 194, 13, 0.22), transparent 52%),
    #fff;
  border: 1px solid var(--line);
}

.highlight-band h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
}

.highlight-band p {
  max-width: 860px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.mini-table {
  overflow-x: auto;
}

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

.site-map-list .card {
  padding: 20px;
}

.site-map-list h2 {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.2;
}

.site-map-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-map-list a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-weight: 750;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 28px;
  align-items: center;
}

.contact-grid h2 {
  max-width: 660px;
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.02;
}

.contact-grid p {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
}

.dark-eyebrow {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.86);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.viber-image-button {
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.contact-viber-button {
  width: 52px;
  height: 52px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  background: #111417;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr;
  gap: 42px;
  padding: 46px 0 32px;
}

.footer-grid p {
  max-width: 440px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

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

.footer-grid a,
.footer-grid span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-settings-button {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-settings-button:hover,
.footer-settings-button:focus-visible {
  color: #fff;
}

.footer-settings-button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

.footer-viber {
  position: relative;
  margin: 2px 0 10px;
}

.footer-viber-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(115, 96, 242, 0.5);
  border-radius: 8px;
  background: rgba(115, 96, 242, 0.14);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.footer-viber-toggle::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #7360f2;
  box-shadow: 0 0 0 4px rgba(115, 96, 242, 0.2);
}

.footer-viber-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.7;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s ease;
}

.footer-viber-toggle:hover,
.footer-viber-toggle:focus-visible,
.footer-viber.is-open .footer-viber-toggle {
  border-color: rgba(115, 96, 242, 0.9);
  background: rgba(115, 96, 242, 0.24);
  transform: translateY(-1px);
}

.footer-viber-toggle:focus-visible {
  outline: 2px solid #7360f2;
  outline-offset: 3px;
}

.footer-viber.is-open .footer-viber-toggle::after {
  transform: translateY(2px) rotate(225deg);
}

.footer-viber-menu {
  display: grid;
  gap: 8px;
  width: min(270px, 100%);
  max-height: 0;
  margin-top: 0;
  padding: 0 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.22s ease, margin-top 0.22s ease, padding 0.22s ease, opacity 0.18s ease, transform 0.18s ease;
}

.footer-viber-menu[hidden] {
  display: none;
}

.footer-viber.is-open .footer-viber-menu {
  max-height: 132px;
  margin-top: 9px;
  padding: 8px;
  opacity: 1;
  transform: translateY(0);
}

.footer-grid .footer-viber-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  padding: 0 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.footer-viber-link:hover,
.footer-viber-link:focus-visible {
  background: #f2efff;
}

.footer-viber-link:focus-visible {
  outline: 2px solid #7360f2;
  outline-offset: 2px;
}

.footer-viber-link img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.footer-grid .footer-viber-link span {
  margin: 0;
  color: inherit;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
}

.privacy-hero {
  min-height: min(520px, 64vh);
}

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

.privacy-layout article {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.privacy-layout h2 {
  margin-bottom: 12px;
  font-size: 25px;
}

.privacy-layout p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.65;
}

.privacy-layout a:not(.btn) {
  color: var(--ink);
  font-weight: 800;
}

.analytics-consent-open {
  padding-bottom: 170px;
}

.consent-banner {
  position: fixed;
  z-index: 100;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: #111417;
  color: #fff;
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.24);
}

.consent-banner[hidden],
.consent-banner [hidden] {
  display: none;
}

.consent-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.consent-banner__copy strong,
.consent-banner__settings strong {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.consent-banner__copy p,
.consent-banner__settings span {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.45;
}

.consent-banner__copy a {
  color: #fff;
  font-weight: 800;
}

.consent-banner__settings label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 800;
}

.consent-banner__settings input {
  width: 20px;
  height: 20px;
  accent-color: var(--yellow);
}

.consent-banner__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.consent-button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.consent-button--primary {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #111417;
}

.consent-button--text {
  border-color: transparent;
  color: rgba(255, 255, 255, 0.72);
}

.consent-button:hover,
.consent-button:focus-visible {
  border-color: #fff;
}

.consent-button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

@media (max-width: 680px) {
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .analytics-consent-open {
    padding-bottom: 250px;
  }

  .consent-banner {
    padding: 14px 12px calc(14px + env(safe-area-inset-bottom));
  }

  .consent-banner__inner {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .consent-banner__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consent-button {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
  }

  .consent-button--text {
    grid-column: 1 / -1;
  }
}

/* Variant 5 */
.v5 {
  --hero-image: url("assets/hero-urban.webp");
  --yellow: #f4c542;
  --green: #46795a;
  background: #f7f7f1;
}

.v5 .hero::after {
  background:
    linear-gradient(90deg, rgba(247, 247, 241, 0.92), rgba(247, 247, 241, 0.56) 44%, rgba(247, 247, 241, 0.1)),
    linear-gradient(180deg, transparent 70%, rgba(247, 247, 241, 0.95));
}

.v5 .hero-content {
  color: var(--ink);
}

.v5 .hero-text {
  color: #4f5963;
}

.v5 .eyebrow {
  color: #365946;
  border-color: rgba(70, 121, 90, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

.v5 .btn.light {
  color: var(--ink);
  border-color: rgba(20, 23, 26, 0.16);
  background: rgba(255, 255, 255, 0.74);
}

.local-cards {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 16px;
  margin-top: -70px;
  position: relative;
  z-index: 4;
}

.local-card {
  padding: 24px;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(15, 18, 22, 0.09);
}

.local-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 30px;
}

.local-card p {
  color: var(--muted);
  line-height: 1.5;
}

.schedule {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.schedule div {
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.schedule strong {
  display: block;
  margin-bottom: 8px;
}

@media (max-width: 1020px) {
  .menu {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-strip,
  .ticker,
  .fleet-stat,
  .preview-grid,
  .mark-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calculator,
  .quote-dock .calculator,
  .split-hero,
  .route-board,
  .local-cards,
  .service-grid,
  .quick-calc-shell,
  .smart-calc-shell,
  .calc-layout,
  .price-tables,
  .contact-grid,
  .link-grid,
  .site-map-list {
    grid-template-columns: 1fr;
  }

  .service-card.is-featured {
    grid-row: auto;
  }

  .cols-3,
  .cols-4,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    margin-left: 0;
  }

  .quick-calc-grid,
  .calc-controls-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .smart-calc-result {
    position: static;
  }
}

@media (max-width: 1180px) {
  .route-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(1180px, calc(100% - 24px));
  }

  .nav {
    position: absolute;
  }

  .nav-inner {
    min-height: 64px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-logo {
    width: 64px;
    height: 42px;
  }

  .phone {
    min-height: 38px;
    width: 42px;
    min-width: 42px;
    padding: 0;
    gap: 0;
    font-size: 0;
  }

  .nav-actions {
    gap: 8px;
  }

  .viber-header-button {
    width: 38px;
    height: 38px;
  }

  .hero {
    display: block;
    min-height: 760px;
    padding-top: 92px;
    align-items: start;
  }

  .hero::after,
  .v2 .hero::after,
  .v5 .hero::after {
    background: linear-gradient(180deg, rgba(8, 10, 12, 0.82), rgba(8, 10, 12, 0.45) 60%, rgba(8, 10, 12, 0.88));
  }

  .v2 .hero-content,
  .v5 .hero-content {
    color: #fff;
  }

  .v2 .hero-text,
  .v5 .hero-text {
    color: rgba(255, 255, 255, 0.82);
  }

  h1 {
    font-size: 30px;
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .hero-text {
    max-width: calc(100vw - 48px);
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .hero-content {
    width: min(100%, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
  }

  .hero-content h1,
  .hero-content p {
    width: min(320px, calc(100vw - 48px));
    max-width: min(320px, calc(100vw - 48px));
    white-space: normal;
  }

  .btn {
    width: 100%;
  }

  .contact-actions {
    align-items: stretch;
  }

  .contact-viber-button {
    width: 100%;
    height: 52px;
    border-color: transparent;
    background: #7360f2;
    color: #fff;
    font-weight: 950;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  }

  .contact-viber-button img {
    display: none;
  }

  .contact-viber-button::after {
    content: "Viber";
  }

  .footer-viber-toggle,
  .footer-viber-menu {
    width: 100%;
  }

  .footer-viber-toggle {
    justify-content: space-between;
  }

  .badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }

  .badge-row {
    display: grid;
    grid-template-columns: 1fr;
    max-width: min(320px, calc(100vw - 48px));
  }

  .hero-strip {
    position: static;
    transform: none;
    margin: 28px auto 0;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }

  .section-head h2,
  .section-head p,
  .panel-list span,
  .panel-list strong {
    max-width: min(320px, calc(100vw - 48px));
    overflow-wrap: anywhere;
  }

  .panel-list li {
    display: block;
  }

  .panel-list span {
    display: block;
    margin-top: 4px;
  }

  .cols-3,
  .cols-4,
  .ticker,
  .fleet-stat,
  .preview-grid,
  .schedule,
  .process-grid,
  .calc-card,
  .footer-grid,
  .mark-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .quick-calc-shell,
  .quick-calc-grid,
  .quick-calc-actions,
  .quick-result-lines,
  .smart-calc-shell,
  .calc-progress,
  .task-tabs,
  .calc-controls-grid,
  .calc-fields-grid,
  .calc-deductions,
  .recommend-grid,
  .calc-actions,
  .calc-viber-actions,
  .calc-layout,
  .price-tables,
  .contact-grid,
  .link-grid,
  .site-map-list {
    grid-template-columns: 1fr;
  }

  .quick-calc-form,
  .quick-calc-result,
  .smart-calc-form,
  .smart-calc-result,
  .calc-panel {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .quick-calc-form,
  .quick-calc-result,
  .calc-panel {
    padding: 18px;
  }

  .quick-calc-top,
  .calc-panel-head {
    display: grid;
    align-items: start;
  }

  .quick-calc-link {
    width: 100%;
  }

  .quick-calc-result {
    min-height: 0;
  }

  .calc-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
  }

  .task-tab {
    min-height: 104px;
    grid-template-columns: 78px minmax(0, 1fr);
    padding: 12px;
  }

  .task-index {
    width: 28px;
    height: 24px;
    font-size: 10px;
  }

  .task-picture {
    width: 74px;
    height: 68px;
  }

  .task-picture .task-visual {
    width: 68px;
    height: 52px;
  }

  .task-picture .task-photo {
    width: 100%;
    height: 100%;
  }

  .calc-drawing {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .calc-drawing-visual,
  .calc-drawing-shape {
    width: 100%;
    max-width: none;
    min-height: 0;
    aspect-ratio: auto;
  }

  .calc-drawing-visual .task-visual {
    height: 100%;
  }

  .calc-drawing-visual .task-photo {
    width: 100%;
    height: 100%;
  }

  .calc-drawing-caption {
    min-height: 0;
    padding: 14px;
    text-align: center;
    justify-content: center;
  }

  .calc-actions,
  .calc-viber-actions {
    gap: 8px;
  }

  .calc-actions .btn,
  .calc-viber-actions .btn {
    min-height: 46px;
    padding-inline: 12px;
  }

  .custom-part {
    grid-template-columns: 1fr;
  }

  .part-remove {
    width: 100%;
  }

  .smart-calc-result {
    position: static;
  }

  .service-card,
  .calc-card,
  .calc-result,
  .contact-form {
    padding: 18px;
  }

  .service-card h3,
  .table-head h3 {
    font-size: 22px;
  }

  .result-line,
  .result-total,
  .table-head,
  .footer-bottom {
    display: block;
  }

  .result-line strong,
  .result-total strong {
    display: block;
    margin-top: 6px;
  }

  .result-total strong {
    font-size: 34px;
  }

  .price-table {
    overflow-x: hidden;
  }

  .price-table table {
    min-width: 0;
    font-size: 11px;
  }

  .price-table th,
  .price-table td {
    padding: 9px 6px;
  }

  .generated-map {
    aspect-ratio: 1 / 1;
  }

  .generated-map figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    font-size: 11px;
  }

  .map-label {
    min-height: 24px;
    padding: 0 7px;
    font-size: 10px;
  }

  .map-label.main {
    min-height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }

  .contact-grid h2 {
    font-size: 31px;
  }

  .footer-grid {
    gap: 22px;
  }

  .index-hero h1,
  .index-hero p,
  .preview h2,
  .preview p {
    max-width: min(320px, calc(100vw - 48px));
    overflow-wrap: anywhere;
  }

  .local-card h3,
  .local-card p,
  .material p,
  .price-card p,
  .route-item p,
  .schedule p,
  .service-card p,
  .clean-list li,
  .process-card p,
  .mark-card span,
  .faq-list p,
  .contact-grid p,
  .area-tags a,
  .area-tags span {
    max-width: min(300px, calc(100vw - 72px));
    overflow-wrap: anywhere;
  }
}
