@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-cyrillic.woff2?v=2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-latin.woff2?v=2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-cyrillic.woff2?v=2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-latin.woff2?v=2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-cyrillic.woff2?v=2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-latin.woff2?v=2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-latin-ext.woff2?v=2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+20BD;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-latin-ext.woff2?v=2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+20BD;
}

:root {
  --paper: #e8e8df;
  --paper-2: #deded2;
  --paper-3: #f1f1e8;
  --ink: #101413;
  --ink-2: #2b302e;
  --ink-3: #4b504c;
  --muted: #5c615b;
  --line: rgba(16, 20, 19, 0.18);
  --line-strong: rgba(16, 20, 19, 0.55);
  --vermilion: #c03014;
  --vermilion-deep: #b62c12;
  --paper-tint: #f2d9ce;
  --petrol: #123b3a;
  --petrol-2: #0c2b2a;
  --green: #2e6b4f;
  --white: #f7f7f0;
  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Golos Text", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;
  --pad: clamp(18px, 3.4vw, 52px);
  --gutter: clamp(16px, 2vw, 28px);
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --header-h: 108px;
  --header-main-h: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html {
  scrollbar-color: var(--ink-3) var(--paper);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
}

::-webkit-scrollbar-thumb {
  background: var(--ink-3);
  border: 2px solid var(--paper);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  font-feature-settings: "ss01" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  caret-color: var(--vermilion);
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--vermilion);
  color: var(--paper);
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(1440px, 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 500;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--ink);
  background: var(--paper);
  transition: background 0.3s var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.site-header.is-stuck {
  background: var(--paper);
}

.site-header.is-stuck::after {
  transform: scaleX(1);
}

.header-strip {
  border-bottom: 1px solid var(--line);
  max-height: 34px;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), opacity 0.2s;
}

.site-header.is-stuck .header-strip {
  max-height: 0;
  opacity: 0;
}

.header-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 33px;
  padding-bottom: 3px;
  color: var(--ink-3);
}

.header-strip-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-estimate {
  color: var(--vermilion);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-main-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.monogram {
  width: 40px;
  height: 40px;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: transparent;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brand-text small {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
  padding: 4px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

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

.main-nav a[aria-current="true"] {
  color: var(--vermilion);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-phone {
  font-family: var(--font-mono);
  font-size: 11px;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.header-mobile-total {
  display: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.header-mobile-total small {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0;
}

.header-phone:hover {
  color: var(--vermilion);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 0;
  position: relative;
}

.burger span {
  position: absolute;
  left: 11px;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.burger span:first-child {
  top: 17px;
}

.burger span:last-child {
  top: 22px;
}

/* ---------- mobile menu ---------- */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  padding: 20px var(--pad) 28px;
  overflow-y: auto;
  animation: menu-in 0.32s var(--ease);
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.menu-overlay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
}

.menu-close {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 0;
  background: none;
  padding: 4px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  margin-bottom: auto;
  padding: 28px 0;
}

.menu-nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(28px, 8vw, 44px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}

.menu-nav a span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--vermilion);
  font-weight: 400;
}

.menu-nav a:active,
.menu-nav a:hover {
  color: var(--vermilion);
}

.menu-overlay-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}

.menu-overlay-foot a {
  text-decoration: none;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.1;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s;
}

.btn svg {
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-small {
  padding: 9px 13px;
  font-size: 11px;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary {
  background: var(--vermilion);
  color: var(--paper);
  border-color: var(--vermilion);
}

.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn-dark:hover {
  background: var(--vermilion);
  border-color: var(--vermilion);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn:disabled:hover svg {
  transform: none;
}

.text-action {
  display: inline-block;
  border: 0;
  background: none;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
}

.text-action:hover {
  color: var(--vermilion);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(36px, 7vh, 90px));
  overflow: hidden;
}

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

.hero-art {
  position: absolute;
  top: 32px;
  right: 0;
  z-index: -1;
  width: clamp(440px, 35vw, 520px);
  height: auto;
  aspect-ratio: 2 / 1;
  pointer-events: none;
}

.hero-art picture,
.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-art img {
  object-fit: contain;
}

.hero-folio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-3);
  margin-bottom: clamp(26px, 4vw, 56px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 11.2vw, 164px);
  font-weight: 700;
  line-height: 0.87;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-title-line {
  display: inline-block;
  white-space: nowrap;
}

.hero-title-strong {
  display: inline-block;
}

.hero-dot {
  color: var(--vermilion);
  display: inline-block;
}

.hero-cols {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--gutter);
  align-items: end;
  margin-top: clamp(30px, 4.5vw, 62px);
}

.hero-lead {
  font-size: clamp(19px, 1.65vw, 24px);
  line-height: 1.32;
  max-width: 34ch;
  letter-spacing: -0.012em;
}

.hero-side {
  justify-self: end;
  max-width: 38ch;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 107, 79, 0.16);
  flex-shrink: 0;
}

.status-dot.is-off {
  background: var(--muted);
  box-shadow: 0 0 0 3px rgba(108, 113, 107, 0.14);
}

.hero-mobile-cta {
  display: none;
}

.hero-mobile-call {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-underline-offset: 4px;
}

.estimate-strip {
  --strip-pad-y: 16px;
  --strip-pad-x: clamp(16px, 1.5vw, 22px);
  margin-top: clamp(34px, 5vw, 70px);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 0.95fr 1.15fr 1.2fr 1.15fr;
  align-items: stretch;
  min-height: 108px;
}

.estimate-strip > * {
  position: relative;
  min-width: 0;
  padding: var(--strip-pad-y) var(--strip-pad-x);
}

.estimate-strip > :not(.strip-cta) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
}

.estimate-strip > :not(:last-child)::after {
  content: "";
  position: absolute;
  top: var(--strip-pad-y);
  right: 0;
  bottom: var(--strip-pad-y);
  width: 1px;
  background: var(--line);
  pointer-events: none;
}

.strip-intro {
  gap: 3px;
}

.strip-hint {
  font-size: 11px;
  color: var(--muted);
}

.strip-qty {
  gap: 8px;
}

.strip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-3);
}

.qty {
  display: flex;
  align-items: center;
  gap: 4px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.qty-btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.qty-input {
  width: 3ch;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 500;
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-input:focus {
  outline: 2px solid var(--vermilion-deep);
  outline-offset: 2px;
}

.strip-sla {
  gap: 8px;
}

.sla-options {
  display: flex;
  width: 100%;
  gap: 4px;
}

.sla-options label {
  position: relative;
  cursor: pointer;
  flex: 1;
}

.sla-options input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.sla-options span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 4px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.2;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.sla-options input:focus-visible + span {
  outline: 2px solid var(--vermilion);
  outline-offset: 2px;
}

.sla-options-invert input:focus-visible + span {
  outline-color: var(--paper);
}

.calc-controls :focus-visible,
.contacts-info :focus-visible,
.strip-cta:focus-visible {
  outline-color: var(--paper);
}

.estimate-sheet :focus-visible,
.contact-form :focus-visible {
  outline-color: var(--vermilion-deep);
}

.calc .check input:focus-visible + .check-box {
  outline-color: var(--paper);
}

.qty-invert .qty-btn:focus-visible {
  outline-color: var(--paper);
}

.sla-options input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.strip-total {
  gap: 8px;
}

.strip-total-value {
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.strip-total-value small {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

.strip-note {
  display: block;
  margin-top: -4px;
  font-size: 11px;
  line-height: 1.3;
  color: var(--muted);
}

.strip-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--vermilion);
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background 0.22s var(--ease);
}

.strip-cta:hover {
  background: var(--ink);
}

.strip-cta svg {
  transition: transform 0.25s var(--ease);
}

.strip-cta:hover svg {
  transform: translateX(4px);
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 26px;
}

.hero-stats {
  display: flex;
  align-items: stretch;
}

.hero-stats > div {
  padding-right: clamp(18px, 2.4vw, 34px);
  margin-right: clamp(18px, 2.4vw, 34px);
  border-right: 1px solid var(--line);
}

.hero-stats > div:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.hero-stats dt {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.hero-stats dd {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.hero-down {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink-3);
}

.hero-down svg {
  animation: down-nudge 2.4s infinite;
}

@keyframes down-nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* ---------- sections ---------- */

.section {
  padding: clamp(72px, 9vw, 140px) 0;
  /* Align anchors to the bottom edge of the collapsed header */
  scroll-margin-top: calc(var(--header-main-h) + 1px);
}

.section-head {
  position: relative;
  border-top: 1px solid var(--ink);
  padding-top: 12px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--vermilion);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease);
}

.section-head.is-visible::before {
  transform: scaleX(1);
}

.section-head-invert::before {
  background: var(--paper);
}

.section-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-3);
  margin-bottom: clamp(28px, 4vw, 50px);
}

.section-head-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--gutter);
  align-items: end;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.6vw, 76px);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-note {
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-3);
  justify-self: end;
}

.section-head-invert {
  border-color: rgba(232, 232, 223, 0.45);
}

.section-head-invert .section-meta,
.section-head-invert .section-note {
  color: rgba(232, 232, 223, 0.8);
}

/* ---------- services ---------- */

.service-groups {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 68px);
}

.group-head {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--gutter);
  margin-bottom: 14px;
}

.group-head h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.group-head p {
  font-size: 13px;
  color: var(--muted);
  justify-self: end;
  max-width: 40ch;
}

.service {
  border-top: 1px solid var(--line);
}

.service-group .service:last-child {
  border-bottom: 1px solid var(--line);
}

.service-head {
  width: 100%;
  display: grid;
  grid-template-columns: 50px minmax(170px, 1.05fr) minmax(0, 1.9fr) 150px 24px;
  gap: clamp(12px, 1.8vw, 26px);
  align-items: center;
  padding: 17px 10px;
  border: 0;
  background: none;
  text-align: left;
  color: var(--ink);
  transition: background 0.22s var(--ease), color 0.22s var(--ease), padding 0.22s var(--ease);
}

.service-head:hover {
  background: var(--ink);
  color: var(--paper);
  padding-inline: 16px;
}

.service-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.service-name {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.service-brief {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-3);
  transition: color 0.2s;
}

.service-price {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.service-price small {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.service-head:hover .service-code,
.service-head:hover .service-brief,
.service-head:hover .service-price small {
  color: rgba(232, 232, 223, 0.65);
}

.toggle-icon {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.toggle-icon-v {
  transform-box: view-box;
  transform-origin: 9px 9px;
  transition: transform 0.3s var(--ease);
}

.service-toggle {
  width: 18px;
  height: 18px;
  justify-self: end;
}

.service.is-open .toggle-icon-v {
  transform: scaleY(0);
}

.service-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease);
}

.service.is-open .service-body {
  grid-template-rows: 1fr;
}

.service-body-inner {
  overflow: hidden;
}

.service-body p {
  max-width: 68ch;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  padding: 4px 10px 0 86px;
}

.service-body-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 10px 22px 86px;
}

.service-body-meta .mono-label {
  color: var(--muted);
}

/* ---------- calculator ---------- */

.calc {
  background: var(--petrol);
  color: var(--paper);
  scroll-margin-top: 0;
  padding-bottom: clamp(80px, 10vw, 150px);
}

.calc-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
}

.calc-block {
  border-top: 1px solid rgba(232, 232, 223, 0.3);
  padding-top: 16px;
  margin-bottom: clamp(34px, 4vw, 50px);
}

.calc-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.calc-block-head h3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.calc-block-head .mono-label {
  color: rgba(232, 232, 223, 0.76);
}

.calc-block-note {
  margin-top: 6px;
  max-width: 56ch;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(232, 232, 223, 0.8);
}

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

.calc-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: clamp(10px, 2vw, 26px);
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid rgba(232, 232, 223, 0.16);
}

.calc-row-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.calc-row-label span {
  font-size: 14px;
  font-weight: 500;
}

.calc-row-label small {
  font-size: 11px;
  color: rgba(232, 232, 223, 0.72);
}

.calc-row-price {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(232, 232, 223, 0.84);
  white-space: nowrap;
  text-align: right;
}

.calc-row-price small {
  font-size: 11px;
  color: rgba(232, 232, 223, 0.68);
}

.qty-invert .qty-btn {
  border-color: rgba(232, 232, 223, 0.4);
  color: var(--paper);
}

.qty-invert .qty-btn:hover {
  background: var(--paper);
  color: var(--petrol);
  border-color: var(--paper);
}

.qty-invert .qty-input {
  color: var(--paper);
}

.qty-invert .qty-input:focus {
  outline: 2px solid var(--paper);
  outline-offset: 2px;
  caret-color: var(--paper);
}

.calc-sla {
  border: 0;
  padding: 0;
  margin: 22px 0 0;
}

.calc-sla legend {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(232, 232, 223, 0.78);
  margin-bottom: 9px;
}

.sla-options-invert {
  gap: 6px;
}

.sla-options-invert span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 6px;
  border-color: rgba(232, 232, 223, 0.4);
  color: var(--paper);
  font-size: 11px;
}

.sla-options-invert span small {
  font-size: 11px;
  color: rgba(232, 232, 223, 0.74);
}

.sla-options-invert input:checked + span {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--petrol);
}

.sla-options-invert input:checked + span small {
  color: var(--petrol);
}

.calc-minimum {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: rgba(232, 232, 223, 0.74);
}

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

.calc-hourly-note {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: rgba(232, 232, 223, 0.64);
}

.calc-checks {
  margin-top: 16px;
}

.check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid rgba(232, 232, 223, 0.16);
  cursor: pointer;
}

.check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.check-box {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(232, 232, 223, 0.5);
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  transition: background 0.18s, border-color 0.18s;
}

.check input:focus-visible + .check-box {
  outline: 2px solid var(--vermilion);
  outline-offset: 2px;
}

.check input:checked + .check-box {
  background: var(--vermilion);
  border-color: var(--vermilion);
}

.check input:checked + .check-box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border-right: 1.5px solid var(--paper);
  border-bottom: 1.5px solid var(--paper);
  transform: rotate(40deg);
}

.check-label {
  font-size: 14px;
}

.check-price {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(232, 232, 223, 0.7);
  white-space: nowrap;
}

.estimate-wrap {
  position: sticky;
  top: 104px;
}

.estimate-sheet {
  scroll-margin-top: 100px;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(20px, 2.6vw, 34px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.22);
  position: relative;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.estimate-sheet.is-flashing {
  box-shadow: 0 0 0 3px var(--vermilion), 0 28px 60px rgba(0, 0, 0, 0.22);
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.sheet-head h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 3px;
}

.sheet-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.stamp {
  display: inline-block;
  border: 2px solid var(--vermilion);
  color: var(--vermilion);
  padding: 4px 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: rotate(-6deg);
}

.sheet-section {
  margin-top: 20px;
}

.sheet-section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-3);
}

.sheet-lines {
  display: flex;
  flex-direction: column;
}

.sheet-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  font-size: 13px;
  line-height: 1.3;
}

.sheet-line-name {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.sheet-line-name::after {
  content: "";
  flex: 1;
  min-width: 12px;
  border-bottom: 1px dotted var(--line-strong);
  transform: translateY(-3px);
}

.sheet-line-qty {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.sheet-line-amount {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.sheet-line-sla,
.sheet-line-min {
  color: var(--vermilion);
}

.sheet-line-sla .sheet-line-name::after,
.sheet-line-min .sheet-line-name::after {
  border-color: rgba(217, 58, 28, 0.4);
}

.sheet-line-sla.is-included {
  color: var(--ink-3);
}

.sheet-line-sla.is-included .sheet-line-name::after {
  border-color: var(--line-strong);
}

.sheet-empty {
  font-size: 12px;
  color: var(--muted);
  padding: 9px 0;
}

.sheet-totals {
  border-top: 2px solid var(--ink);
  margin-top: 18px;
  padding-top: 12px;
}

.sheet-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 4px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sheet-total-row strong {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.sheet-total-first {
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 10px;
}

.sheet-total-first strong {
  font-size: 24px;
  color: var(--vermilion);
}

.sheet-note {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
}

.sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 16px;
}

.sheet-actions .btn {
  padding: 11px 10px;
  font-size: 11px;
  justify-content: space-between;
}

.sheet-reset {
  display: inline-block;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sheet-reset:hover {
  color: var(--vermilion);
}

/* ---------- process ---------- */

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}

.process-step {
  padding: 16px var(--gutter) 22px var(--gutter);
  border-right: 1px solid var(--line);
  min-height: 230px;
  display: flex;
  flex-direction: column;
}

.process-step:first-child {
  padding-left: 0;
}

.process-step:last-child {
  border-right: 0;
  padding-right: 0;
}

.process-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--vermilion);
  letter-spacing: 0.06em;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 22px 0 8px;
}

.process-step p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 30ch;
}

.process-step .mono-label {
  margin-top: auto;
  padding-top: 24px;
  color: var(--muted);
}

/* ---------- results ---------- */

.compare {
  border-top: 1px solid var(--ink);
}

.compare-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  padding: 9px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.compare-row > span:first-child {
  color: var(--muted);
  position: relative;
  padding-left: 18px;
}

.compare-row > span:first-child::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--line-strong);
}

.compare-row > span:last-child {
  position: relative;
  padding-left: 18px;
}

.compare-row > span:last-child::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--vermilion);
  border-right: 1px solid var(--vermilion);
  transform: rotate(45deg);
}

.cases-head {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--gutter);
  align-items: end;
  margin: clamp(44px, 6vw, 80px) 0 18px;
}

.cases-head h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.case {
  --case-bleed: 12px;
  display: grid;
  grid-template-columns: 1fr 1.35fr 1.35fr 1.35fr;
  gap: clamp(16px, 2.2vw, 32px);
  border-top: 1px solid var(--line);
  margin-left: calc(var(--case-bleed) * -1);
  padding: 22px 0 22px var(--case-bleed);
  transition: background 0.2s;
}

.case:last-child {
  border-bottom: 1px solid var(--line);
}

.case:hover {
  background: var(--paper-2);
}

.case-sector h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.case-sector .mono-label {
  color: var(--muted);
}

.case-cell .mono-label {
  color: var(--muted);
  display: block;
  margin-bottom: 5px;
}

.case-cell p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
}

/* ---------- about ---------- */

.about {
  background: var(--paper-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}

.portrait {
  margin: 0;
  position: sticky;
  top: 120px;
  max-width: 420px;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #d6d6c9;
  border: 1px solid var(--ink);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at 50% 42%, transparent 32%, rgba(18, 59, 58, 0.52) 100%);
  pointer-events: none;
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--petrol);
  mix-blend-mode: color;
  opacity: 0.7;
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(1.04);
  mix-blend-mode: multiply;
  opacity: 1;
}

.portrait-stamp {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  border: 2px solid var(--vermilion);
  background: rgba(232, 232, 223, 0.9);
  color: var(--vermilion);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.25;
  padding: 5px 7px;
  transform: rotate(-7deg);
}

.portrait figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--ink);
  margin-top: 8px;
  color: var(--ink-3);
}

.about-text {
  padding-top: 6px;
}

.about-lead {
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.about-text > p:not(.about-lead) {
  margin-top: 20px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}

.about-text blockquote {
  margin: 30px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.03em;
  max-width: 26ch;
  position: relative;
}

.about-text blockquote::before {
  content: "«";
  color: var(--vermilion);
  font-size: 1.4em;
  line-height: 0;
  position: relative;
  top: 0.1em;
}

.fact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(24px, 4vw, 56px);
  margin-top: 28px;
}

.fact-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.fact-list dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.fact-list dd {
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: right;
}

.principles {
  margin-top: 30px;
}

.principles li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.4;
}

.principles li:last-child {
  border-bottom: 1px solid var(--line);
}

.principles span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--vermilion-deep);
  padding-top: 2px;
}

/* ---------- faq ---------- */

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr 24px;
  gap: 12px;
  align-items: center;
  padding: 17px 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 500;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--vermilion);
}

.faq-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.faq-toggle {
  width: 18px;
  height: 18px;
  justify-self: end;
}

.faq-question[aria-expanded="true"] .toggle-icon-v {
  transform: scaleY(0);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease);
}

.faq-answer > div {
  overflow: hidden;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  max-width: 68ch;
  padding: 0 24px 20px 56px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
}

/* ---------- contacts ---------- */

.contacts {
  background: var(--vermilion-deep);
  color: var(--paper);
  padding: clamp(72px, 9vw, 130px) 0;
  position: relative;
  overflow: hidden;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.section-meta-invert {
  border-top: 1px solid rgba(232, 232, 223, 0.5);
  padding-top: 12px;
  color: var(--paper-tint);
  margin-bottom: clamp(28px, 4vw, 44px);
}

.contacts h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8.4vw, 118px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.04em;
}

.contacts-lead {
  margin-top: 22px;
  max-width: 40ch;
  font-size: 17px;
  line-height: 1.45;
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(20px, 3vw, 40px);
  margin-top: 34px;
}

.contact-list > div {
  border-top: 1px solid rgba(232, 232, 223, 0.3);
  padding: 10px 0 12px;
}

.contact-list dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--paper-tint);
  margin-bottom: 3px;
}

.contact-list dd {
  font-size: 14px;
  line-height: 1.4;
}

.contact-list a {
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 232, 223, 0.35);
  transition: border-color 0.2s;
}

.contact-list a:hover {
  border-color: var(--paper);
}

.contact-note {
  font-size: 12px;
  color: var(--paper-tint);
}

.contact-form-wrap {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(20px, 3vw, 34px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.24);
  position: relative;
}

.form-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 18px;
  color: var(--ink-3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.field > span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color 0.2s;
}

.field > span small {
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  padding: 7px 0 9px;
  font-size: 15px;
  line-height: 1.4;
  border-radius: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  resize: vertical;
  min-height: 92px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid transparent;
  outline-offset: 0;
  border-bottom-color: var(--vermilion-deep);
  box-shadow: inset 0 -1px 0 var(--vermilion-deep);
  caret-color: var(--vermilion-deep);
}

.field:focus-within > span {
  color: var(--vermilion-deep);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-bottom-color: var(--vermilion);
}

.field input:focus:user-invalid,
.field textarea:focus:user-invalid {
  box-shadow: inset 0 -1px 0 var(--vermilion);
}

.consent {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 11px;
  line-height: 1.45;
  color: var(--ink-3);
  cursor: pointer;
  margin: 4px 0 18px;
}

.consent input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.consent .check-box {
  border-color: var(--line-strong);
  margin-top: 1px;
}

.consent input:checked + .check-box {
  background: var(--ink);
  border-color: var(--ink);
}

.consent input:checked + .check-box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border-right: 1.5px solid var(--paper);
  border-bottom: 1.5px solid var(--paper);
  transform: rotate(40deg);
}

.consent input:focus-visible + .check-box {
  outline: 2px solid var(--vermilion);
  outline-offset: 2px;
}

.consent a {
  color: var(--ink);
}

.consent.is-invalid .check-box {
  border-color: var(--vermilion);
  box-shadow: 0 0 0 1px var(--vermilion);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.form-note {
  font-size: 11px;
  color: var(--muted);
}

.form-note a {
  color: var(--ink);
}

.form-error {
  margin-top: 12px;
  padding: 9px 11px;
  border: 1px solid var(--vermilion);
  color: var(--vermilion-deep);
  font-size: 12px;
  line-height: 1.4;
}

.form-success {
  border: 1px solid var(--ink);
  padding: 18px;
  background: var(--paper-3);
}

.form-success p {
  margin: 8px 0 12px;
  font-size: 15px;
  line-height: 1.45;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--ink);
  padding: clamp(30px, 4vw, 48px) 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 3fr 5fr 2fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-brand .mono-label {
  color: var(--muted);
}

.footer-legal {
  max-width: 54ch;
}

.footer-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 20px;
  border-top: 1px solid var(--line-strong);
}

.footer-facts > div {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.footer-facts dt {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-facts dd {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-3);
  overflow-wrap: break-word;
}

.footer-inn {
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.footer-note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--vermilion);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 12px;
  color: var(--muted);
}

/* ---------- legal page ---------- */

.legal-header {
  border-bottom: 1px solid var(--ink);
  padding: 16px 0;
}

.legal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-back {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.legal-back:hover {
  color: var(--vermilion);
  border-color: var(--vermilion);
}

.legal {
  padding: clamp(56px, 7vw, 100px) 0 clamp(64px, 8vw, 120px);
}

.legal-inner {
  max-width: 920px;
}

.legal-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--ink);
  padding-top: 12px;
  margin-bottom: clamp(30px, 4vw, 52px);
  color: var(--ink-3);
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 16ch;
}

.legal-lead {
  margin-top: 24px;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.45;
  max-width: 66ch;
  color: var(--ink-2);
}

.legal section {
  margin-top: clamp(28px, 4vw, 44px);
}

.legal h2 {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.legal p,
.legal li {
  max-width: 72ch;
  font-size: 14px;
  line-height: 1.62;
  color: var(--ink-2);
}

.legal p + p {
  margin-top: 10px;
}

.legal ul {
  margin: 8px 0 10px;
}

.legal li {
  position: relative;
  padding-left: 18px;
  margin-top: 5px;
}

.legal li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--vermilion);
}

.legal a {
  text-decoration-color: var(--line-strong);
}

.legal a:hover {
  color: var(--vermilion);
  text-decoration-color: var(--vermilion);
}

.legal-signature {
  margin-top: clamp(36px, 5vw, 60px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px !important;
  line-height: 1.6 !important;
  color: var(--muted) !important;
}

/* ---------- cookie consent ---------- */

.cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 150;
  padding: clamp(14px, 2vw, 20px) 0;
  background: var(--paper-3);
  border-top: 1px solid var(--ink);
  animation: cookie-in 0.32s var(--ease);
}

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

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 48px);
}

.cookie-banner-copy {
  max-width: 72ch;
}

.cookie-banner-label {
  display: block;
  margin-bottom: 6px;
  color: var(--vermilion);
}

.cookie-banner-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
}

.cookie-banner-copy a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cookie-banner-copy a:hover {
  color: var(--vermilion);
}

.cookie-banner-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.cookie-banner-actions .btn {
  white-space: nowrap;
}

@keyframes cookie-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@media (max-width: 860px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-banner-actions .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .cookie-banner {
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }

  .cookie-banner-actions {
    grid-template-columns: 1fr;
  }
}

/* ---------- toast / dock ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 300;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--paper);
  padding: 11px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  text-align: center;
  max-width: min(90vw, 420px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

html:not(.js) .service-body,
html:not(.js) .faq-answer {
  grid-template-rows: 1fr;
}

html:not(.js) .service-toggle,
html:not(.js) .faq-toggle {
  display: none;
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .header-estimate {
    display: none;
  }

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

  .calc-controls,
  .estimate-wrap {
    min-width: 0;
  }

  .estimate-wrap {
    position: static;
    max-width: 620px;
  }

  .header-mobile-total {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
  }
}

@media (max-width: 1120px) {
  .estimate-strip {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .estimate-strip > * {
    border-bottom: 1px solid var(--line);
  }

  .strip-intro {
    grid-column: 1 / -1;
  }

  .strip-intro::after,
  .strip-sla::after,
  .strip-total::after {
    display: none;
  }

  .strip-total {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .strip-cta {
    grid-column: 1 / -1;
    min-height: 52px;
    border-bottom: 0;
  }
}

@media (min-width: 981px) and (max-width: 1024px) {
  .brand {
    gap: 10px;
  }

  .main-nav {
    gap: 16px;
  }

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

@media (min-width: 981px) and (max-width: 1180px) {
  .hero-art {
    top: 20px;
    width: 400px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 104px;
  }

  .main-nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .header-phone {
    display: none;
  }

  .hero-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-side {
    justify-self: start;
    max-width: 48ch;
  }

  .hero {
    --hero-art-h: clamp(260px, 34vw, 340px);
    padding-bottom: var(--hero-art-h);
  }

  .hero-art {
    top: auto;
    right: 0;
    bottom: calc(var(--hero-art-h) * -1);
    left: calc(var(--pad) * -1);
    width: auto;
    height: var(--hero-art-h);
    aspect-ratio: auto;
  }

  .hero-art img {
    object-fit: cover;
    object-position: 72% 50%;
  }

  .section-head-grid,
  .group-head,
  .cases-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-note,
  .group-head p {
    justify-self: start;
  }

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

  .process-step {
    border-bottom: 1px solid var(--line);
    min-height: 0;
    padding-bottom: 26px;
  }

  .process-step:nth-child(odd) {
    padding-left: 0;
  }

  .process-step:nth-child(even) {
    border-right: 0;
    padding-right: 0;
  }

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

  .case-sector {
    grid-column: 1 / -1;
  }

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

  .portrait {
    position: static;
    max-width: 340px;
  }

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

  .contact-form-wrap {
    max-width: 620px;
  }

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

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .footer-legal {
    grid-column: 1 / -1;
    order: 3;
  }

  .footer-bottom {
    order: 4;
  }
}

@media (max-width: 520px) {
  .hero-art img {
    object-position: 100% 50%;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 96px;
    --header-main-h: 66px;
  }

  .header-strip {
    max-height: 30px;
  }

  .header-strip-inner {
    height: 29px;
  }

  .header-strip-inner > .mono-label {
    display: none;
  }

  .header-strip-right {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .header-estimate {
    display: none;
  }

  .brand-text small {
    display: block;
    font-size: 9px;
  }

  .btn-small {
    padding: 8px 10px;
  }

  .hero-title {
    font-size: clamp(34px, 11.6vw, 92px);
  }

  .hero-mobile-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
  }

  .qty-btn {
    width: 36px;
    height: 36px;
  }

  .calc-row .qty {
    gap: 6px;
  }

  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    width: 100%;
  }

  .hero-stats > div {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
  }

  .estimate-strip {
    grid-template-columns: 1fr 1fr;
  }

  .strip-sla,
  .strip-total {
    grid-column: 1 / -1;
  }

  .estimate-strip > *::after {
    display: none;
  }

  .hero-down {
    display: none;
  }

  .services .service-head {
    grid-template-columns: 30px minmax(0, 1fr) auto 20px;
    grid-template-areas:
      "code name price toggle"
      "code brief brief brief";
    gap: 6px 8px;
    padding: 14px 4px;
  }

  .service-name {
    font-size: 14px;
  }

  .service-brief {
    font-size: 11px;
  }

  .service-price {
    font-size: 11px;
  }

  .service-price small {
    font-size: 11px;
  }

  .service-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
  }

  .service-code {
    font-size: 11px;
  }

  .service-code {
    grid-area: code;
  }

  .service-name {
    grid-area: name;
  }

  .service-brief {
    grid-area: brief;
    font-size: 12px;
  }

  .service-price {
    grid-area: price;
  }

  .service-toggle {
    grid-area: toggle;
  }

  .service-head:hover {
    padding-inline: 8px;
  }

  .service-body p {
    padding-left: 44px;
  }

  .service-body-meta {
    padding-left: 44px;
    padding-right: 4px;
  }

  .calc-row {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 8px;
  }

  .calc-row-price {
    grid-column: 2;
    grid-row: 1;
  }

  .calc-row .qty {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }

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

  .process-step {
    border-right: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .compare-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }

  .compare-head {
    display: none;
  }

  .case {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-sector {
    grid-column: auto;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contacts h2 {
    font-size: clamp(40px, 13.8vw, 64px);
  }

  .legal h1 {
    font-size: clamp(20px, 6.2vw, 34px);
  }

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

  .footer-legal {
    order: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }

  .header-actions .btn-small {
    display: none;
  }
}

@media (min-width: 761px) and (max-height: 920px) {
  .hero {
    padding-top: calc(var(--header-h) + 22px);
  }

  .hero-folio {
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: clamp(48px, 9.2vw, 140px);
  }

  .hero-cols {
    margin-top: 24px;
  }

  .estimate-strip {
    --strip-pad-y: 10px;
    --strip-pad-x: 14px;
    margin-top: 28px;
  }

  .hero-foot {
    padding: 14px 0 16px;
  }
}

@media (max-width: 430px) {
  .footer-facts > div {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 8px 0;
  }

  .faq-question {
    grid-template-columns: 30px 1fr 18px;
    gap: 8px;
  }

  .faq-answer p {
    padding-left: 38px;
    padding-right: 0;
  }

  .sheet-head {
    flex-wrap: wrap;
  }

  .sheet-meta {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .sheet-actions {
    grid-template-columns: 1fr;
  }

  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .header-mobile-total {
    display: none;
  }
}

@media (max-width: 360px) {
  .brand-text small {
    display: none;
  }

  .header-actions {
    gap: 10px;
  }
}

/* ---------- zammad request form ---------- */

body.zammad-modal-open {
  overflow: hidden;
}

.zammad-form-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px) var(--pad);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: transparent;
  animation: zammad-fade-in 0.2s var(--ease);
}

.zammad-form-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 20, 19, 0.64);
}

.zammad-form-modal-body {
  position: relative;
  width: min(100%, 560px);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 36px);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.24);
  text-align: left;
  animation: zammad-sheet-in 0.26s var(--ease);
}

@keyframes zammad-fade-in {
  from {
    opacity: 0;
  }
}

@keyframes zammad-sheet-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.zammad-form-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: -10px -10px 8px 0;
}

.zammad-form-close {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 10px;
  border: 0;
  background: none;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.zammad-form-close:hover {
  color: var(--vermilion-deep);
}

.zammad-form h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(24px, 4.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.zammad-form h2:focus {
  outline: none;
}

.zammad-form-intro {
  max-width: 46ch;
  margin: 0 0 24px;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.5;
}

.zammad-form-intro a {
  color: var(--ink);
}

.zammad-form .zammad-form-group {
  margin: 0 0 18px;
}

.zammad-form .zammad-form-group label {
  display: block;
  margin-bottom: 1px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
  transition: color 0.2s;
}

.zammad-form .zammad-form-control {
  display: block;
  width: 100%;
  padding: 7px 0 9px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.zammad-form textarea.zammad-form-control {
  height: 132px;
  min-height: 132px;
  resize: vertical;
}

.zammad-form .zammad-form-control::placeholder {
  color: var(--muted);
  opacity: 1;
}

.zammad-form .zammad-form-control:focus {
  outline: 2px solid transparent;
  outline-offset: 0;
  border-bottom-color: var(--vermilion-deep);
  box-shadow: inset 0 -1px 0 var(--vermilion-deep);
  caret-color: var(--vermilion-deep);
}

.zammad-form .zammad-form-group:focus-within > label[for] {
  color: var(--vermilion-deep);
}

.zammad-form .zammad-form-group--has-error label {
  color: var(--vermilion-deep);
}

.zammad-form .zammad-form-group--has-error .zammad-form-control {
  border-bottom-color: var(--vermilion);
}

.zammad-form .zammad-form-group--has-error .zammad-form-control:focus {
  box-shadow: inset 0 -1px 0 var(--vermilion);
}

.zammad-form .zammad-form-group .zammad-form-consent {
  position: relative;
  display: block;
  margin: 2px 0 0;
  padding-left: 26px;
  color: var(--ink-3);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
  cursor: pointer;
}

.zammad-form .zammad-form-checkbox {
  appearance: none;
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.zammad-form .zammad-form-checkbox:checked {
  border-color: var(--ink);
  background: var(--ink);
}

.zammad-form .zammad-form-checkbox:checked::after {
  content: "";
  width: 6px;
  height: 10px;
  border-right: 1.5px solid var(--paper);
  border-bottom: 1.5px solid var(--paper);
  transform: rotate(40deg) translate(-1px, -1px);
}

.zammad-form .zammad-form-checkbox:focus-visible {
  outline: 2px solid var(--vermilion);
  outline-offset: 2px;
}

.zammad-form .zammad-form-consent a {
  color: var(--ink);
}

.zammad-form > .btn {
  width: 100%;
  margin-top: 4px;
  padding: 13px 18px;
  border: 1px solid var(--vermilion);
  background: var(--vermilion);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.1;
  text-transform: uppercase;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease);
}

.zammad-form > .btn:hover {
  border-color: var(--ink);
  background: var(--ink);
}

.zammad-form > .btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.zammad-form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.zammad-form-status {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--vermilion);
  color: var(--vermilion-deep);
  font-size: 13px;
  line-height: 1.45;
}

.zammad-form-status a {
  color: inherit;
}

.zammad-form-status.is-success {
  border-color: var(--green);
  background: var(--paper-3);
  color: var(--ink);
}

.zammad-form-thankyou {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}

.zammad-form-thankyou:focus {
  outline: none;
}

.zammad-form-thankyou-text {
  max-width: 46ch;
  margin: 0;
  color: var(--ink-3);
}

.zammad-form-thankyou-meta {
  margin: 26px 0 24px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.zammad-form-thankyou-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.zammad-form-thankyou-row dt {
  flex: none;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
}

.zammad-form-thankyou-leader {
  flex: 1 1 auto;
  align-self: center;
  border-bottom: 1px dotted var(--line-strong);
}

.zammad-form-thankyou-row dd {
  flex: none;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.zammad-form-thankyou-done {
  width: 100%;
}

.zammad-form .js-noConfig {
  padding: 16px;
  border: 1px solid var(--vermilion);
  color: var(--vermilion-deep);
  font-size: 14px;
  line-height: 1.5;
}

.menu-overlay-foot .menu-request {
  flex: 1 0 100%;
  margin-bottom: 4px;
}

@media (max-width: 520px) {
  .zammad-form-modal {
    padding: 12px;
  }

  .zammad-form-modal-body {
    padding: 22px 18px;
  }

  .zammad-form-toolbar {
    margin: -8px -6px 6px 0;
  }

  .zammad-form h2 {
    font-size: 24px;
  }

  .zammad-form textarea.zammad-form-control {
    height: 112px;
    min-height: 112px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  body * {
    visibility: hidden;
  }

  .estimate-sheet,
  .estimate-sheet * {
    visibility: visible;
  }

  .estimate-sheet {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    max-width: none;
    box-shadow: none;
    padding: 0;
    background: #fff;
    color: #000;
  }

  .sheet-actions,
  .sheet-reset {
    display: none !important;
  }

  @page {
    margin: 16mm;
  }
}
