:root {
  --ink: #211b16;
  --muted: #665c51;
  --paper: #f7f3ea;
  --paper-strong: #efe6d7;
  --white: #fffdfa;
  --line: rgba(42, 34, 27, 0.14);
  --oak: #bb7a35;
  --amber: #e5b85a;
  --amber-dark: #a76320;
  --moss: #315648;
  --moss-dark: #203b33;
  --clay: #a55236;
  --shadow: 0 18px 45px rgba(45, 33, 20, 0.12);
  --radius: 8px;
  --container: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

html.snap-active {
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.modal-open,
body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

:focus-visible {
  outline: 3px solid rgba(229, 184, 90, 0.92);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  color: var(--ink);
  background: rgba(255, 253, 250, 0.93);
  box-shadow: 0 14px 32px rgba(33, 27, 22, 0.12);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: var(--container);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(135deg, var(--amber), #f5dc9a);
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

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

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.94rem;
  font-weight: 720;
}

.nav a {
  position: relative;
  opacity: 0.9;
}

.nav a::after,
.lang a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav a:hover::after,
.lang a:hover::after,
.lang a[aria-current="page"]::after {
  transform: scaleX(1);
}

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

.lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.lang a {
  position: relative;
  opacity: 0.78;
}

.lang a[aria-current="page"] {
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 830;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

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

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn-primary {
  color: #21160c;
  background: linear-gradient(135deg, var(--amber), #f3d078);
  box-shadow: 0 13px 26px rgba(178, 108, 28, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 16px 30px rgba(178, 108, 28, 0.34);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(135deg, var(--moss), var(--moss-dark));
  box-shadow: 0 13px 26px rgba(21, 55, 43, 0.3);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #3b6857, var(--moss-dark));
  box-shadow: 0 16px 30px rgba(21, 55, 43, 0.36);
}

.btn-dark {
  color: var(--white);
  background: var(--moss);
}

.btn-dark:hover {
  background: var(--moss-dark);
}

.header-cta {
  min-height: 40px;
  padding-inline: 15px;
}

.mobile-header-call {
  display: none;
  width: 42px;
  min-height: 40px;
  padding: 0;
}

.mobile-header-call svg {
  width: 18px;
  height: 18px;
}

.nav-lang {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: currentColor;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  cursor: pointer;
}

.site-header.is-scrolled .menu-toggle,
.site-header.menu-open .menu-toggle {
  border-color: var(--line);
  background: rgba(49, 86, 72, 0.08);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.burger-line {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 180ms ease, opacity 140ms ease;
}

body.nav-open .burger-line-top {
  transform: translateY(5px) rotate(45deg);
}

body.nav-open .burger-line-middle {
  opacity: 0;
  transform: scaleX(0.4);
}

body.nav-open .burger-line-bottom {
  transform: translateY(-5px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: #120e0b;
  scroll-margin-top: 72px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -170px 0;
  z-index: -2;
  background-image: url("../parquet_header.webp");
  background-size: cover;
  background-position: center;
  transform: translate3d(0, var(--hero-image-shift, 0px), 0);
  will-change: transform;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(135deg, rgba(229, 184, 90, 0.26) 0 15px, rgba(229, 184, 90, 0) 15px 30px) bottom / 100% 72px no-repeat,
    linear-gradient(90deg, rgba(8, 6, 5, 0.62) 0%, rgba(8, 6, 5, 0.36) 42%, rgba(8, 6, 5, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 6, 5, 0.64), rgba(8, 6, 5, 0.22) 54%, rgba(8, 6, 5, 0.04));
  pointer-events: none;
}

.hero-inner {
  width: var(--container);
  margin: 0 auto;
  padding: 110px 0 56px;
  transform: translateY(-28px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #f8dfa1;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: "SF Pro Display", Inter, Manrope, system-ui, sans-serif;
  font-size: clamp(2.55rem, 5vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 900;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.hero-metrics {
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  overflow: hidden;
}

.metric {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 16px;
  background: rgba(22, 18, 15, 0.25);
}

.metric strong {
  display: block;
  color: #f8dfa1;
  font-size: clamp(1.18rem, 1.6vw, 1.55rem);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.metric > span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.section {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 88px 0;
  background: var(--paper);
}

.section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.section-white {
  background: var(--white);
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(49, 86, 72, 0.94), rgba(32, 59, 51, 0.98)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 16px, rgba(255,255,255,0) 16px 32px);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-head {
  display: block;
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 34px;
  text-align: center;
}

.section-head.compact {
  max-width: 760px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-head p {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.inlay-divider {
  height: 18px;
  margin: -9px 0;
  background:
    repeating-linear-gradient(90deg, var(--oak) 0 54px, #d5a05d 54px 108px, var(--moss) 108px 132px, var(--clay) 132px 156px);
}

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

.benefit-card {
  grid-column: span 2;
}

.benefit-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.benefit-grid:has(.benefit-card:hover) .benefit-card:not(:hover),
.service-grid:has(.service-card:hover) .service-card:not(:hover) {
  opacity: 0.54;
  filter: blur(1.5px);
  transform: scale(0.985);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: stretch;
}

.review-grid:has(.review-card:hover) .review-card:not(:hover) {
  opacity: 0.54;
  filter: blur(1.5px);
  transform: scale(0.985);
}

.review-card {
  grid-column: span 2;
}

.review-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.benefit-card,
.service-card,
.review-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 250, 0.8);
  box-shadow: 0 10px 26px rgba(45, 33, 20, 0.06);
}

.benefit-card,
.service-card {
  padding: 24px;
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  will-change: opacity, filter, transform;
}

.benefit-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(187, 122, 53, 0.45);
  box-shadow: var(--shadow);
}

.icon-box {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--moss);
  background: linear-gradient(135deg, #f7dfaa, #fff8e7);
  border: 1px solid rgba(187, 122, 53, 0.22);
  border-radius: var(--radius);
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

.benefit-card h3,
.service-card h3,
.review-card h3,
.contact-card h3 {
  margin: 18px 0 8px;
  font-size: 1.18rem;
  line-height: 1.15;
}

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

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 132px;
  height: 86px;
  transform: rotate(-14deg);
  background:
    repeating-linear-gradient(90deg, rgba(187,122,53,0.18) 0 18px, rgba(49,86,72,0.12) 18px 36px);
  border-radius: 4px;
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 28px;
  color: var(--moss);
  background: rgba(49, 86, 72, 0.08);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
}

.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.72fr);
  gap: 22px;
  align-items: stretch;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  background: rgba(255, 253, 250, 0.08);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.18);
}

.calculator-controls,
.calculator-result {
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.calculator-controls {
  padding: 26px;
}

.calculator-result {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 128px;
  gap: 18px;
  align-items: end;
}

.field-label {
  display: block;
  margin-bottom: 12px;
  font-weight: 820;
}

.range-wrap {
  display: grid;
  gap: 8px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--amber-dark);
}

.range-limits {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.84rem;
}

.number-input {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  font-weight: 850;
}

.included-box {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(247, 243, 234, 0.94), rgba(255, 253, 250, 0.94));
}

.included-box h3 {
  margin: 0 0 12px;
  color: var(--moss);
  font-size: 1.08rem;
  line-height: 1.2;
}

.included-box ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.included-box li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.35;
}

.included-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--amber-dark);
}

.option-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.check-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 243, 234, 0.7);
  cursor: pointer;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--moss);
}

.check-row span {
  font-weight: 760;
}

.check-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.88rem;
  text-align: right;
}

.note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.result-label {
  margin: 0;
  color: var(--muted);
  font-weight: 760;
}

.result-value {
  margin: 8px 0 0;
  color: var(--moss);
  font-size: clamp(1.95rem, 3.4vw, 3.15rem);
  line-height: 0.96;
  font-weight: 940;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.result-meta {
  margin: 10px 0 0;
  color: var(--muted);
}

.result-note {
  max-width: 320px;
  margin: 12px 0 0;
  color: rgba(102, 92, 81, 0.58);
  font-size: 0.76rem;
  line-height: 1.32;
}

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

.work-card {
  display: grid;
  grid-column: span 2;
  gap: 12px;
}

.work-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.work-card h3 {
  margin: 0;
  font-size: 1rem;
}

.comparison {
  --position: 52%;
  position: relative;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  border-radius: var(--radius);
  background: #15120f;
  box-shadow: var(--shadow);
  touch-action: none;
}

.comparison img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  user-select: none;
  pointer-events: none;
}

.comparison-before,
.comparison-after {
  position: absolute;
  inset: 0;
}

.comparison-before {
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
  z-index: 2;
}

.comparison-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  z-index: 4;
  width: 2px;
  transform: translateX(-1px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(33, 27, 22, 0.24);
}

.comparison-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  background: var(--white);
  border: 2px solid var(--amber);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(33, 27, 22, 0.24);
}

.comparison-handle::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--moss);
  font-weight: 900;
}

.comparison:focus-within .comparison-handle::before {
  outline: 3px solid rgba(229, 184, 90, 0.7);
  outline-offset: 4px;
}

.comparison-labels {
  position: absolute;
  inset: 14px 14px auto;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.comparison-labels span {
  padding: 5px 9px;
  color: var(--white);
  background: rgba(33, 27, 22, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 860;
  backdrop-filter: blur(8px);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-weight: 850;
  cursor: pointer;
}

.faq-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.faq-item.is-open .faq-button svg {
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 210ms ease;
}

.faq-panel p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.review-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  will-change: opacity, filter, transform;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(187, 122, 53, 0.42);
  box-shadow: 0 18px 42px rgba(45, 33, 20, 0.13);
}

.review-card p {
  flex: 0 0 auto;
}

.quote-mark {
  color: var(--amber-dark);
  font-size: 3rem;
  line-height: 0.7;
  font-weight: 900;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}

.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--moss);
  border-radius: 999px;
  font-weight: 900;
}

.review-author strong {
  display: block;
}

.review-author span {
  color: var(--muted);
  font-size: 0.88rem;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 22px;
  align-items: stretch;
}

.contact-stack {
  display: grid;
  gap: 14px;
  align-content: center;
}

.contact-stack:has(.contact-card:hover) .contact-card:not(:hover) {
  opacity: 0.54;
  filter: blur(1.5px);
  transform: scale(0.985);
}

.contact-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 18px;
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  will-change: opacity, filter, transform;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(187, 122, 53, 0.42);
  box-shadow: 0 18px 42px rgba(45, 33, 20, 0.13);
}

.contact-card h3 {
  margin: 0 0 4px;
}

.contact-card a {
  color: var(--moss);
  font-weight: 850;
}

.messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.contact-panel .messengers {
  margin-top: 4px;
}

.contact-panel {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 253, 250, 0.9), rgba(239, 230, 215, 0.88)),
    repeating-linear-gradient(135deg, rgba(187,122,53,0.16) 0 12px, rgba(49,86,72,0.08) 12px 24px);
  box-shadow: var(--shadow);
}

.panel-kicker {
  margin: 0;
  color: var(--amber-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-panel h3 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.02;
}

.contact-panel p:not(.panel-kicker) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  scroll-snap-align: end;
  scroll-snap-stop: always;
  color: rgba(255, 255, 255, 0.78);
  background: #1a1714;
  padding: 40px 0;
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-brand {
  color: var(--white);
  font-size: 1.18rem;
  font-weight: 900;
}

.footer-inner p {
  margin: 8px 0 0;
}

.footer-contacts {
  display: grid;
  gap: 6px;
  text-align: right;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(20, 16, 13, 0.68);
}

.modal[hidden] {
  display: none;
}

.modal-dialog {
  width: min(560px, 100%);
  max-height: min(760px, calc(100svh - 44px));
  overflow: auto;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.modal-head h2 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.1;
}

.modal-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(49, 86, 72, 0.08);
  border-radius: var(--radius);
  cursor: pointer;
}

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

.modal-form label {
  display: grid;
  gap: 7px;
  font-weight: 780;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--ink);
  background: #fff;
}

.modal-form textarea {
  min-height: 112px;
  resize: vertical;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.modal-status {
  margin: 2px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(49, 86, 72, 0.1);
  color: var(--moss-dark);
  font-weight: 750;
  text-align: center;
}

.modal-status[data-tone="error"] {
  background: rgba(165, 82, 54, 0.12);
  color: #8e2f1f;
  font-weight: 650;
}

.modal-status[data-tone="success"] {
  background: rgba(49, 86, 72, 0.1);
  color: var(--moss-dark);
  font-weight: 750;
}

.speed-dial {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.speed-dial-actions {
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.speed-dial-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  opacity: 0;
  transform: translateY(18px) scale(0.92);
  pointer-events: none;
}

.speed-dial.is-open .speed-dial-item {
  animation: slideUp 220ms ease forwards;
  animation-delay: var(--delay);
  pointer-events: auto;
}

.speed-dial.is-open .speed-dial-actions {
  pointer-events: auto;
}

.speed-dial-label {
  padding: 8px 11px;
  color: var(--ink);
  background: rgba(255, 253, 250, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(33, 27, 22, 0.16);
  font-size: 0.84rem;
  font-weight: 850;
  white-space: nowrap;
}

.speed-dial-icon,
.speed-dial-toggle {
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 999px;
  box-shadow: 0 16px 32px rgba(33, 27, 22, 0.24);
}

.speed-dial-icon {
  width: 48px;
  height: 48px;
}

.speed-dial-icon svg {
  width: 23px;
  height: 23px;
}

.speed-dial-call .speed-dial-icon {
  background: #4CAF50;
}

.speed-dial-telegram .speed-dial-icon {
  background: #229ED9;
}

.speed-dial-viber .speed-dial-icon {
  background: #7360F2;
}

.speed-dial-toggle {
  position: relative;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: linear-gradient(135deg, var(--moss), var(--moss-dark));
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.speed-dial.is-over-calculator .speed-dial-toggle {
  color: #21160c;
  background: linear-gradient(135deg, var(--amber), #f3d078);
}

.speed-dial-toggle::before,
.speed-dial-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid rgba(49, 86, 72, 0.82);
  border-radius: inherit;
  animation: pulse 1900ms ease-out infinite;
  box-shadow: 0 0 0 8px rgba(49, 86, 72, 0.08);
}

.speed-dial.is-over-calculator .speed-dial-toggle::before,
.speed-dial.is-over-calculator .speed-dial-toggle::after {
  border-color: rgba(229, 184, 90, 0.9);
  box-shadow: 0 0 0 8px rgba(229, 184, 90, 0.12);
}

.speed-dial-toggle::after {
  animation-delay: 850ms;
}

.speed-dial-toggle svg {
  width: 26px;
  height: 26px;
  transition: transform 180ms ease;
}

.speed-dial-chat {
  transition: opacity 150ms ease, transform 180ms ease;
}

.speed-dial-cross {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 150ms ease;
}

.speed-dial-cross::before,
.speed-dial-cross::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.speed-dial-cross::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.speed-dial.is-open .speed-dial-toggle {
  transform: rotate(45deg);
  box-shadow: 0 18px 36px rgba(33, 27, 22, 0.3);
}

.speed-dial.is-open .speed-dial-toggle::before,
.speed-dial.is-open .speed-dial-toggle::after {
  animation-play-state: paused;
  opacity: 0;
}

.speed-dial.is-open .speed-dial-chat {
  opacity: 0;
  transform: scale(0.82);
}

.speed-dial.is-open .speed-dial-cross {
  opacity: 1;
}

@keyframes pulse {
  0% {
    opacity: 0.78;
    transform: scale(1);
  }

  45% {
    opacity: 0.38;
  }

  100% {
    opacity: 0;
    transform: scale(2.05);
  }
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.92);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 980px) {
  .header-inner {
    gap: 14px;
  }

  .nav {
    gap: 13px;
    font-size: 0.88rem;
  }

  .calculator-shell,
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card:nth-child(4) {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --container: min(100% - 28px, 680px);
  }

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

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 66px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav a {
    padding: 13px 12px;
    border-radius: var(--radius);
  }

  .nav-lang {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    padding: 13px 12px;
    color: var(--moss);
    background: rgba(49, 86, 72, 0.08);
    border-radius: var(--radius);
    font-weight: 900;
  }

  .nav-lang a {
    padding: 0;
    opacity: 0.72;
  }

  .nav-lang a[aria-current="page"] {
    opacity: 1;
  }

  .nav a:hover {
    background: rgba(49, 86, 72, 0.08);
  }

  body.nav-open .nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header-actions {
    margin-left: auto;
    gap: 8px;
  }

  .header-cta {
    display: none;
  }

  .mobile-header-call {
    display: inline-flex;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    background-position: 56% center;
  }

  .hero-inner {
    padding: 96px 0 48px;
    transform: translateY(-22px);
  }

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

  .hero-metrics,
  .service-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

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

  .benefit-card,
  .benefit-card:nth-child(4),
  .review-card,
  .review-card:nth-child(4) {
    grid-column: auto;
  }

  .hero-metrics {
    margin-top: 30px;
  }

  .section {
    padding: 92px 0 64px;
  }

  html.snap-active {
    scroll-snap-type: y proximity;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .area-number-field {
    display: grid;
    grid-template-columns: auto minmax(96px, 140px);
    gap: 12px;
    align-items: center;
    justify-content: start;
  }

  .area-number-field .field-label {
    margin-bottom: 0;
  }

  .check-row {
    grid-template-columns: 22px 1fr;
  }

  .check-row em {
    grid-column: 2;
    text-align: left;
  }

  .calculator-shell {
    padding: 14px;
  }

  .calculator-controls,
  .calculator-result {
    padding: 20px;
  }

  .contacts-layout {
    gap: 16px;
  }

  .contact-panel {
    min-height: auto;
    padding: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-contacts {
    text-align: left;
  }

  .speed-dial {
    right: 18px;
    bottom: 18px;
  }
}

@media (max-width: 430px) {
  .hero-inner {
    padding-bottom: 96px;
    transform: translateY(-16px);
  }

  .hero h1 {
    font-size: clamp(2rem, 10.5vw, 2.65rem);
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 24px;
  }

  .metric {
    min-height: 92px;
    padding: 13px 12px;
  }

  .metric strong {
    font-size: 1.08rem;
  }

  .metric > span {
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .lang {
    display: none;
  }

  .logo {
    font-size: 1rem;
  }

  .modal-actions .btn,
  .messengers .btn {
    width: 100%;
  }

  .result-value {
    font-size: clamp(2rem, 12vw, 3rem);
  }
}
