@import url("fonts.css");

:root {
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Noto Serif", Georgia, "Times New Roman", serif;

  --bg: #fbfcfe;
  --bg-soft: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #f4f7fb;
  --ink: #0c1622;
  --ink-2: #2e3b4d;
  --muted: #56616f;
  --border: #e2e8f1;
  --border-strong: #cdd8e6;
  --brand: #0176fb;
  --link: #0b57d0;
  --link-hover: #0a4bb4;
  --soft: #eaf2ff;
  --soft-ink: #0b57d0;
  --btn-bg: #0b57d0;
  --btn-bg-hover: #0a4bb4;
  --btn-ink: #ffffff;
  --btn-ghost-bg: #ffffff;
  --btn-ghost-ink: #0c1622;
  --nav-bg: rgba(255, 255, 255, 0.86);
  --shadow-xs: 0 1px 2px rgba(12, 22, 34, 0.06);
  --shadow-sm: 0 2px 6px rgba(12, 22, 34, 0.06), 0 1px 2px rgba(12, 22, 34, 0.04);
  --shadow-md: 0 18px 40px -24px rgba(12, 22, 34, 0.42), 0 2px 6px rgba(12, 22, 34, 0.05);
  --shadow-lg: 0 36px 70px -40px rgba(12, 22, 34, 0.5), 0 4px 12px rgba(12, 22, 34, 0.05);
  --ring: rgba(11, 87, 208, 0.35);
  --ok: #0f7a4d;
  --grid-line: rgba(12, 22, 34, 0.055);

  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --container: 1160px;
  --gutter: clamp(18px, 4vw, 32px);
  --section: clamp(62px, 7.5vw, 108px);

  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #080b11;
  --bg-soft: #0b111a;
  --surface: #0f151f;
  --surface-2: #131b27;
  --ink: #eaf0f7;
  --ink-2: #c3d0e0;
  --muted: #9aa7b6;
  --border: #1d2734;
  --border-strong: #2b394c;
  --brand: #3b8cff;
  --link: #7cbcff;
  --link-hover: #a3d0ff;
  --soft: #12233a;
  --soft-ink: #a8cdff;
  --btn-bg: #2563eb;
  --btn-bg-hover: #3b7cf5;
  --btn-ink: #ffffff;
  --btn-ghost-bg: #0f151f;
  --btn-ghost-ink: #eaf0f7;
  --nav-bg: rgba(13, 18, 27, 0.84);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 20px 44px -26px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 40px 80px -44px rgba(0, 0, 0, 0.95), 0 4px 14px rgba(0, 0, 0, 0.55);
  --ring: rgba(124, 188, 255, 0.4);
  --ok: #5ad39b;
  --grid-line: rgba(255, 255, 255, 0.055);

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.62;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.3rem, 1.15rem + 3.4vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.7rem, 1.15rem + 1.7vw, 2.55rem);
  line-height: 1.12;
}

h3 {
  font-size: 1.14rem;
  line-height: 1.32;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.005em;
}

p {
  margin: 0;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--link-hover);
}

img {
  max-width: 100%;
  height: auto;
}

svg {
  display: block;
}

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

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--soft);
  color: var(--soft-ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 200;
  transform: translate(-50%, -160%);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.18s ease;
}

.skip-link:focus-visible {
  transform: translate(-50%, 0);
  color: var(--btn-ink);
}

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow--soft {
  color: var(--soft-ink);
}

.lede {
  font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.15rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
}

.section {
  padding-block: var(--section);
  scroll-margin-top: 104px;
}

.section--tight {
  padding-block: clamp(44px, 5vw, 72px);
}

.section--soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 3.4vw, 44px);
}

.section-head__text {
  max-width: 62ch;
}

.section-head h2 {
  margin-bottom: 12px;
}

.section-sub {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 60ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease,
    transform 0.16s ease, box-shadow 0.16s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.btn--primary {
  background: var(--btn-bg);
  color: var(--btn-ink);
  box-shadow: var(--shadow-xs);
}

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

.btn--primary:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: var(--btn-ghost-bg);
  border-color: var(--border-strong);
  color: var(--btn-ghost-ink);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--link);
}

.btn--link {
  padding: 0;
  min-height: 0;
  border: 0;
  background: none;
  color: var(--link);
  font-weight: 600;
}

.btn--link:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.btn--sm {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn--block {
  width: 100%;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-2);
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.icon-btn:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0 0;
  pointer-events: none;
}

.nav-shell {
  pointer-events: auto;
  position: relative;
  width: min(1180px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 9px 12px 9px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.site-header.is-stuck .nav-shell {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

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

.brand img {
  display: block;
  width: auto;
}

.brand .only-light,
.brand .only-dark {
  display: none;
}

html[data-theme="light"] .brand .only-light {
  display: block;
}

html[data-theme="dark"] .brand .only-dark {
  display: block;
}

.brand__word img {
  height: 27px;
}

.brand__mark img {
  width: 36px;
  height: 36px;
}

.brand__mark {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.nav-link[aria-current="page"] {
  color: var(--link);
  background: var(--soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid var(--border);
}

.theme-toggle [data-icon="sun"] {
  display: none;
}

html[data-theme="dark"] .theme-toggle [data-icon="sun"] {
  display: block;
}

html[data-theme="dark"] .theme-toggle [data-icon="moon"] {
  display: none;
}

.nav-burger {
  display: none;
}

.mobile-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

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

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 500;
  text-decoration: none;
}

.mobile-menu__link:hover {
  background: var(--surface-2);
}

.mobile-menu__link span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.mobile-menu__foot {
  margin-top: 8px;
  padding: 12px 8px 6px;
  border-top: 1px solid var(--border);
}

.hero {
  position: relative;
  padding: clamp(120px, 15vw, 168px) 0 clamp(52px, 6vw, 82px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, var(--grid-line) 1px, transparent 0);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}

.hero > .container {
  position: relative;
}

.hero__grid {
  display: grid;
  gap: clamp(26px, 3.4vw, 40px);
  align-items: start;
}

.hero h1 {
  max-width: 26ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--link);
}

.hero .lede {
  margin-top: 22px;
  font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.18rem);
  max-width: 58ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.hero__checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero__checks svg {
  width: 16px;
  height: 16px;
  color: var(--ok);
  flex: none;
}

.carousel-wrap {
  position: relative;
}

.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(258px, 29%, 348px);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 18px 28px;
  margin-inline: -18px;
  scroll-padding-inline: 18px;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel > * {
  scroll-snap-align: start;
}

.carousel__nav {
  display: flex;
  gap: 8px;
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.carousel-btn:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--link);
}

.carousel-btn:disabled {
  opacity: 0.38;
  cursor: default;
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
}

.card-service {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.card-service:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.card-service__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.card-service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card-service:hover .card-service__media img {
  transform: scale(1.03);
}

.card-service__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 20px;
}

.card-service__title {
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.card-service__text {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.card-service__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.card-service__price {
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.card-service__arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--link);
  font-size: 0.85rem;
  font-weight: 600;
}

.card-service__arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.18s ease;
}

.card-service:hover .card-service__arrow svg {
  transform: translateX(3px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
}

.step {
  padding: 26px 26px 8px 0;
  border-right: 1px solid var(--border);
}

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

.step__num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.price-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}

.price-list__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.price-list__row:last-child {
  border-bottom: 0;
}

.price-list__row:hover {
  background: var(--surface-2);
}

.price-list__name {
  font-size: 0.94rem;
  font-weight: 500;
}

.price-list__price {
  font-size: 0.94rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.note-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.note-card--accent {
  background: var(--soft);
  border-color: transparent;
}

.split .note-card + .note-card {
  margin-top: 16px;
}

.note-card h3 {
  margin-bottom: 10px;
}

.note-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

.note-card--accent p {
  color: var(--soft-ink);
}

.fine-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.fine-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 0.93rem;
}

.fine-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 1px;
  background: var(--brand);
}

.icon-list {
  display: grid;
  gap: 14px;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--ink-2);
}

.icon-list svg {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  color: var(--brand);
  flex: none;
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(26px, 3.5vw, 48px);
  align-items: start;
}

.contact-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.contact-card + .contact-card {
  margin-top: 16px;
}

.contact-card__label {
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.mail-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.32rem);
  font-weight: 600;
  color: var(--link);
  text-decoration: none;
  word-break: break-word;
}

.mail-link:hover {
  text-decoration: underline;
}

.mail-link svg {
  width: 19px;
  height: 19px;
  flex: none;
}

.copy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.copy-feedback {
  color: var(--ok);
  font-size: 0.85rem;
  font-weight: 600;
}

.map-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.map-frame {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--surface-2);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: none;
}

html[data-theme="dark"] .map-frame iframe {
  filter: invert(0.9) hue-rotate(180deg) saturate(0.85) contrast(0.95);
}

.map-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--muted);
}

.map-fallback {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.metro {
  margin-top: 22px;
}

.metro__line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-2);
}

.metro__line i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8d9092;
  flex: none;
}

.metro-steps {
  display: grid;
  gap: 0;
  margin-top: 16px;
  border-left: 1px solid var(--border);
  padding-left: 18px;
}

.metro-steps li {
  position: relative;
  padding: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.metro-steps li::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  background: var(--bg);
}

.metro-steps li:last-child {
  padding-bottom: 0;
}

.metro-steps strong {
  color: var(--ink);
  font-weight: 600;
}

.faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.faq details[open] summary::after {
  transform: rotate(225deg);
}

.faq details[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq__body {
  padding: 14px 18px 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.cta-band {
  padding: clamp(30px, 4vw, 48px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-band h2 {
  max-width: 20ch;
}

.cta-band p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 52ch;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 108px;
  font-size: 0.85rem;
  color: var(--muted);
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--link);
  text-decoration: underline;
}

.crumbs span[aria-current] {
  color: var(--ink-2);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--soft-ink);
  font-size: 0.8rem;
  font-weight: 600;
}

.page-hero {
  padding: clamp(28px, 3.4vw, 44px) 0 clamp(34px, 4vw, 52px);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.page-hero h1 {
  font-size: clamp(1.95rem, 1.2rem + 2.5vw, 3.05rem);
  max-width: 22ch;
}

.page-hero .lede {
  margin-top: 18px;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.price-panel {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.price-panel__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-panel__value {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.price-panel__note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.price-panel__rows {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 9px;
}

.price-panel__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.87rem;
  color: var(--muted);
}

.price-panel__row strong {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.prose h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.8rem);
}

.prose h2:not(:first-child) {
  margin-top: 42px;
}

.prose p {
  color: var(--muted);
  margin-bottom: 14px;
  max-width: 72ch;
}

.prose p:last-child {
  margin-bottom: 0;
}

.bullet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 24px;
  margin-top: 18px;
}

.bullet-grid li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--ink-2);
}

.bullet-grid svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: none;
  color: var(--brand);
}

.aside-sticky {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
}

.calc {
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.calc__head h2 {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
  margin-bottom: 8px;
}

.calc__head p {
  color: var(--muted);
  font-size: 0.9rem;
}

.calc__body {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: 26px;
  align-items: start;
}

.calc__fields {
  display: grid;
  gap: 10px;
}

.calc-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.calc-legend {
  display: block;
  padding: 0;
  margin-bottom: 9px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.calc-options {
  display: grid;
  gap: 8px;
}

.calc-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.calc-option:hover {
  border-color: var(--border-strong);
}

.calc-option.is-checked {
  border-color: var(--brand);
  background: var(--soft);
}

.calc-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.calc-option__box {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
  border: 1.5px solid var(--border-strong);
  border-radius: 5px;
  background: var(--surface);
}

.calc-option--radio .calc-option__box {
  border-radius: 50%;
}

.calc-option.is-checked .calc-option__box {
  border-color: var(--btn-bg);
  background: var(--btn-bg);
}

.calc-option.is-checked .calc-option__box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--btn-ink);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  mask-size: 13px 13px;
  mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  -webkit-mask-size: 13px 13px;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
}

.calc-option--radio.is-checked .calc-option__box::after {
  inset: 4px;
  border-radius: 50%;
  background: var(--btn-ink);
  mask-image: none;
  -webkit-mask-image: none;
}

.calc-option__text {
  display: grid;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.calc-option__label {
  font-size: 0.91rem;
  font-weight: 500;
  line-height: 1.4;
}

.calc-option__hint {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.calc-option__price {
  flex: none;
  padding-top: 1px;
  font-size: 0.87rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}

.calc-option.is-checked .calc-option__price {
  color: var(--soft-ink);
}

.counter {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}

.counter button {
  width: 42px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1;
  transition: background-color 0.15s ease;
}

.counter button:hover:not(:disabled) {
  background: var(--surface-2);
}

.counter button:disabled {
  opacity: 0.35;
  cursor: default;
}

.counter input {
  width: 52px;
  height: 44px;
  padding: 0;
  border: 0;
  border-inline: 1px solid var(--border);
  background: transparent;
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}

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

.counter input:focus-visible {
  outline-offset: -2px;
}

.calc-counter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.calc-counter-row__hint {
  color: var(--muted);
  font-size: 0.84rem;
}

.calc-summary {
  position: sticky;
  top: 104px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}

html[data-theme="dark"] .calc-summary {
  background: var(--surface-2);
}

.calc-summary__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.calc-total {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
}

.calc-total__prefix {
  font-size: 0.95rem;
  color: var(--muted);
}

.calc-total__value {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.2rem);
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.calc-breakdown {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
}

.calc-breakdown__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.calc-breakdown__row strong {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.calc-summary__note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.calc-summary__actions {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.calc-fallback {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.88rem;
}

.calc-loading {
  padding: 14px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.related__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.related__link:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.related__name {
  font-size: 0.94rem;
  font-weight: 500;
}

.related__price {
  color: var(--muted);
  font-size: 0.84rem;
  white-space: nowrap;
}

.related__link svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--link);
}

.site-footer {
  margin-top: clamp(48px, 6vw, 84px);
  padding: clamp(40px, 5vw, 64px) 0 28px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 3.4vw, 48px);
}

.footer-brand p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 32ch;
}

.footer-col h3 {
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col ul {
  display: grid;
  gap: 9px;
}

.footer-col a {
  color: var(--ink-2);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--link);
  text-decoration: underline;
}

.footer-col address {
  font-style: normal;
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-staff {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
}

.footer-staff:hover {
  border-color: var(--brand);
  color: var(--link);
}

.footer-staff svg {
  width: 15px;
  height: 15px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(30px, 4vw, 46px);
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: inherit;
}

.footer-legal {
  display: grid;
  gap: 4px;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}

@media (max-width: 1020px) {
  .hero__grid,
  .split,
  .contacts-grid,
  .page-hero__grid,
  .service-layout,
  .calc__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .fat-footer-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aside-sticky {
    position: static;
  }

  .calc-summary {
    position: static;
  }

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

  .step:nth-child(2n) {
    border-right: 0;
  }

  .step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .board {
    max-width: 520px;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-burger {
    display: inline-flex;
  }

  .nav-actions {
    margin-left: auto;
    padding-left: 0;
    border-left: 0;
  }

  .nav-shell {
    padding-left: 14px;
  }
}

@media (max-width: 720px) {
  .carousel {
    grid-auto-columns: minmax(250px, 82%);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }

  .carousel__nav {
    display: none;
  }

  .hero {
    padding-top: 108px;
  }

  .hero__checks {
    gap: 10px 18px;
  }

  .steps,
  .bullet-grid,
  .related,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .step {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
  }

  .step:last-child {
    border-bottom: 0;
  }

  .step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band .btn {
    width: 100%;
  }

  .section-head {
    align-items: flex-start;
  }

  .crumbs {
    padding-top: 96px;
  }
}

@media (max-width: 480px) {
  .nav-shell {
    min-height: 58px;
  }

  .brand__mark img {
    width: 32px;
    height: 32px;
  }

  .brand__word img {
    height: 24px;
  }

  .nav-actions > .btn--primary {
    display: none;
  }

  .price-list__row {
    padding: 13px 14px;
  }

  .calc {
    padding: 18px;
  }
}

@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;
    scroll-behavior: auto !important;
  }

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

@media print {
  .site-header,
  .site-footer,
  .calc-summary__actions,
  .carousel__nav {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

.only-light,
.only-dark {
  display: none;
}

html[data-theme="light"] .only-light,
html[data-theme="dark"] .only-dark {
  display: block;
}

.board__head-text {
  min-width: 0;
}

.board__name,
.board__meta {
  display: block;
}

.footer-col address + ul {
  margin-top: 10px;
}

.hero__note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.page-hero .badge {
  margin-bottom: 16px;
}

.contact-card address {
  font-style: normal;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.6;
}

.related__name {
  flex: 1;
}
