:root {
  color-scheme: dark;
  --bg: #0c131d;
  --panel: rgba(12, 19, 29, 0.84);
  --panel-soft: rgba(255, 255, 255, 0.065);
  --border: rgba(255, 255, 255, 0.14);
  --text: #f7f5ed;
  --muted: rgba(247, 245, 237, 0.74);
  --gold: #ddc37d;
  --lime: #9fcb16;
  --plum: #30080d;
  --plum-deep: #1b0609;
  --plum-border: rgba(126, 42, 45, 0.62);
  --navy: #10213a;
  --shell-width: 1480px;
  --content-width: 1180px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 24px 74px rgba(0, 0, 0, 0.32), 0 10px 28px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(6, 10, 16, 0.86), rgba(12, 18, 27, 0.68)),
    url("/assets/images/premium-document-ai-background1.webp") center / cover fixed,
    var(--bg);
}

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

strong,
b {
  font-weight: 500;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.site-header,
.site-footer,
.hero,
.section {
  width: min(calc(100% - 32px), var(--content-width));
  margin-inline: auto;
}

.site-header,
.site-footer {
  width: min(calc(100% - 32px), var(--shell-width));
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(280px, 300px) minmax(640px, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  min-height: 76px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 244, 211, 0.08), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    linear-gradient(145deg, rgba(13, 21, 32, 0.94), rgba(6, 11, 18, 0.92));
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.42),
    0 10px 28px rgba(7, 12, 19, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -18px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(30px) saturate(1.12);
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 26% 12%, rgba(255, 247, 214, 0.13), transparent 28%),
    linear-gradient(112deg, transparent 26%, rgba(255, 238, 198, 0.08) 48%, transparent 72%);
  filter: blur(8px);
  opacity: 0.86;
  content: "";
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand img {
  width: 68px;
  height: 56px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-weight: 500;
  white-space: nowrap;
}

.brand small {
  margin-top: 0.25rem;
  color: var(--muted);
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  min-width: 0;
  justify-content: center;
  gap: 0.15rem;
  align-items: center;
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(6, 11, 18, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 12px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(20px) saturate(1.08);
}

.desktop-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.76rem;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.header-actions,
.footer-contact-row,
.actions,
.footer-buttons {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.footer-contact-row,
.actions,
.footer-buttons {
  flex-wrap: wrap;
}

.header-actions {
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.messenger {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.messenger:hover {
  transform: translateY(-2px);
  border-color: rgba(221, 195, 125, 0.32);
}

.messenger svg {
  display: block;
  width: 24px;
  height: 24px;
}

.messenger-telegram {
  background: #229ed9;
  color: #fff;
}

.messenger-max {
  background:
    radial-gradient(circle at 22% 82%, rgba(45, 211, 255, 0.72), transparent 34%),
    linear-gradient(135deg, #3158ff 0%, #6b35ff 48%, #a633f2 100%);
  box-shadow:
    0 14px 34px rgba(103, 54, 255, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.messenger-max svg {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.messenger-email {
  color: var(--gold);
}

.phone-pill,
.button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.52rem 0.78rem;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.phone-pill,
.button-ghost {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.07);
}

.button-lime {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--plum-border);
  background:
    linear-gradient(135deg, rgba(66, 12, 18, 0.98), rgba(24, 5, 9, 0.98)),
    var(--plum);
  box-shadow:
    0 18px 42px rgba(35, 4, 8, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -18px 32px rgba(7, 2, 4, 0.24);
  color: #fff8ee;
  backdrop-filter: blur(18px) saturate(1.12);
}

.button-lime::before {
  position: absolute;
  inset: -90% -28%;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 30% 24%, rgba(255, 226, 198, 0.46), transparent 18%),
    linear-gradient(112deg, transparent 32%, rgba(255, 224, 205, 0.3) 45%, transparent 60%);
  filter: blur(14px);
  opacity: 0.48;
  transform: translateX(-38%) rotate(-8deg);
  animation: button-red-sheen 5.8s ease-in-out infinite;
}

.button-lime:hover,
.button-lime:focus-visible {
  border-color: rgba(221, 195, 125, 0.52);
  background:
    linear-gradient(135deg, rgba(82, 16, 22, 0.98), rgba(32, 6, 10, 0.98)),
    var(--plum);
  box-shadow:
    0 24px 58px rgba(35, 4, 8, 0.52),
    0 10px 24px rgba(64, 8, 14, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -18px 34px rgba(7, 2, 4, 0.28);
  transform: translateY(-1px);
}

.button-ghost {
  position: relative;
  overflow: hidden;
  border-color: rgba(221, 195, 125, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035)),
    rgba(12, 18, 27, 0.58);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.34),
    0 8px 18px rgba(9, 15, 24, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -18px 32px rgba(5, 9, 14, 0.22);
  color: #fff8ee;
  backdrop-filter: blur(18px) saturate(1.12);
}

.button-ghost::before {
  position: absolute;
  inset: -90% -28%;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 30% 24%, rgba(255, 244, 211, 0.38), transparent 18%),
    linear-gradient(112deg, transparent 32%, rgba(255, 238, 198, 0.24) 45%, transparent 60%);
  filter: blur(14px);
  opacity: 0.36;
  transform: translateX(-38%) rotate(-8deg);
  animation: button-red-sheen 5.8s ease-in-out infinite;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(221, 195, 125, 0.5);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    rgba(13, 20, 31, 0.66);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.38),
    0 10px 22px rgba(9, 15, 24, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -18px 34px rgba(5, 9, 14, 0.24);
  transform: translateY(-1px);
}

@keyframes button-red-sheen {
  0%,
  72%,
  100% {
    opacity: 0.28;
    transform: translateX(-50%) rotate(-8deg);
  }

  38% {
    opacity: 0.58;
    transform: translateX(36%) rotate(-8deg);
  }
}

.mobile-menu {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.95rem;
  align-items: stretch;
  min-height: auto;
  padding: clamp(2rem, 3.8vw, 3.35rem) 0;
}

.hero-stack {
  width: min(calc(100% - 32px), var(--content-width));
}

.hero-inner {
  min-height: auto;
}

.hero-copy-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  --block-graphic-opacity: 0.16;
  --block-graphic-size: min(880px, 78%);
  min-height: clamp(280px, 22vw, 360px);
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.7rem, 3vw, 2.55rem);
}

.hero-copy-panel::before,
.hero-choice-panel::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 72% 16%, rgba(255, 255, 255, 0.14), transparent 26%),
    radial-gradient(circle at 22% 84%, rgba(221, 195, 125, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.025) 48%, rgba(8, 14, 23, 0.12));
  opacity: 0.9;
}

.route-graphic-panel {
  --block-graphic-opacity: 0.22;
}

.glass-panel::after,
.glass-card::after,
.section::after,
.site-footer::after,
.compact-list a::after,
.compact-list .compact-row::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background-image: url("/assets/brand/route-digital-wave.png");
  background-repeat: no-repeat;
  background-position: var(--block-graphic-position, right 50%);
  background-size: var(--block-graphic-size, min(760px, 76%)) auto;
  filter: saturate(1.08) blur(0.2px);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 24%, #000 52%, #000 100%);
  opacity: var(--block-graphic-opacity, 0.12);
  mix-blend-mode: screen;
}

.hero-copy-panel > *,
.hero-choice-panel > * {
  position: relative;
  z-index: 1;
}

.hero-copy-panel .actions {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(140px, 220px));
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1rem;
}

.hero-copy-panel .actions .button {
  width: 100%;
}

.contact-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.contact-inline .button {
  min-width: 180px;
}

.photo-hero-panel {
  display: block;
  min-height: auto;
  padding: clamp(0.78rem, 1.5vw, 1.05rem);
  --block-graphic-opacity: 0.06;
  --block-graphic-size: min(780px, 64%);
}

.hero-photo-frame {
  position: relative;
  z-index: 1;
  min-height: clamp(300px, 35vw, 450px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(221, 195, 125, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.025)),
    rgba(8, 14, 23, 0.45);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -18px 34px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px) saturate(1.08);
}

.hero-photo-frame::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 14, 23, 0.14), transparent 32%, rgba(8, 14, 23, 0.08)),
    radial-gradient(circle at 18% 18%, rgba(221, 195, 125, 0.18), transparent 34%);
  mix-blend-mode: screen;
}

.hero-photo-frame::after {
  position: absolute;
  inset: -70% -22%;
  z-index: 2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 28% 24%, rgba(255, 244, 211, 0.3), transparent 18%),
    linear-gradient(112deg, transparent 34%, rgba(255, 238, 198, 0.18) 46%, transparent 62%);
  filter: blur(18px);
  opacity: 0.24;
  transform: translateX(-46%) rotate(-8deg);
  animation: glass-slow-sheen 13s ease-in-out infinite;
}

.hero-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.03) brightness(0.88);
  transform: scale(1.012);
}

.home-hero-copy h1 {
  max-width: none;
}

.home-hero-copy .actions {
  width: 100%;
}

.hero .hero-location-badge {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  margin: 0 0 1.2rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(221, 195, 125, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(9, 15, 24, 0.42);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.2;
  backdrop-filter: blur(18px) saturate(1.1);
  animation: location-badge-float 5.4s ease-in-out infinite;
}

.hero .hero-location-badge::before {
  width: 0.52rem;
  height: 0.52rem;
  margin-right: 0.72rem;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(159, 203, 22, 0.12), 0 0 24px rgba(159, 203, 22, 0.34);
  content: "";
}

.hero .hero-location-badge span {
  display: block;
}

@keyframes location-badge-float {
  0%,
  100% {
    transform: translateY(0);
    border-color: rgba(221, 195, 125, 0.26);
  }

  50% {
    transform: translateY(-2px);
    border-color: rgba(221, 195, 125, 0.44);
  }
}

.hero-choice-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 2.2vw, 1.7rem);
}

.hero-choice-panel .compact-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0.85rem;
}

.hero-choice-panel .compact-list li {
  display: flex;
  min-width: 0;
}

.hero-choice-panel .compact-list a,
.hero-choice-panel .compact-list .compact-row {
  width: 100%;
  height: 100%;
  min-height: 82px;
  padding: 0.78rem 0.9rem;
}

.hero-choice-panel .compact-list strong {
  font-size: 0.94rem;
  line-height: 1.25;
}

.hero-choice-panel .compact-list small {
  margin-top: 0.22rem;
  line-height: 1.35;
}

.hero-choice-panel h2 {
  font-size: clamp(1.65rem, 2.15vw, 2.35rem);
}

.hero-choice-description {
  max-width: 46rem;
  margin: -0.35rem 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.service-price-note {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: baseline;
  gap: 0.45rem 0.8rem;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.2rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(221, 195, 125, 0.24);
  border-radius: 8px;
  background: rgba(8, 17, 27, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.service-price-note span {
  color: var(--muted);
  font-size: 0.78rem;
}

.service-price-note strong {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
}

.service-price-note small {
  min-width: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

@media (max-width: 680px) {
  .service-price-note {
    grid-template-columns: auto auto;
    width: 100%;
  }

  .service-price-note small {
    grid-column: 1 / -1;
  }
}

.eyebrow {
  color: var(--lime);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  opacity: 0.9;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  max-width: 960px;
  font-size: clamp(2rem, 3.35vw, 3.35rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  background: linear-gradient(110deg, #fffdf5 0%, #fff9e2 46%, var(--gold) 78%, #f5efd6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  margin-top: 0.55rem;
  font-size: clamp(1.45rem, 2vw, 2.15rem);
}

@media (min-width: 900px) {
  .home-hero-copy h1 {
    white-space: nowrap;
  }
}

.hero p,
.section p {
  max-width: 760px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.58;
}

.hero .eyebrow,
.section .eyebrow {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  margin: 0 0 1.05rem;
  padding: 0.62rem 0.9rem;
  border: 1px solid rgba(221, 195, 125, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.03)),
    rgba(9, 15, 24, 0.38);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.12em;
  opacity: 1;
  backdrop-filter: blur(16px) saturate(1.08);
}

.hero .eyebrow::before,
.section .eyebrow::before {
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.6rem;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(159, 203, 22, 0.1), 0 0 18px rgba(159, 203, 22, 0.28);
  content: "";
}

.glass-panel,
.glass-card,
.section,
.site-footer {
  position: relative;
  overflow: hidden;
  --block-graphic-opacity: 0.1;
  --block-graphic-size: min(760px, 72%);
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(18, 28, 40, 0.58), rgba(9, 15, 24, 0.46)),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(28px) saturate(1.12);
}

.glass-panel {
  padding: 1.5rem;
}

.glass-panel > *,
.section > *,
.site-footer > * {
  position: relative;
  z-index: 1;
}

.compact-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.compact-list li {
  margin: 0;
}

.compact-list a,
.compact-list .compact-row {
  position: relative;
  overflow: hidden;
  display: grid;
  --block-graphic-opacity: 0.075;
  --block-graphic-size: min(520px, 92%);
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0.72rem;
  align-items: center;
  min-height: 76px;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035)),
    rgba(12, 18, 27, 0.6);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -14px 28px rgba(5, 9, 14, 0.16);
  color: inherit;
  cursor: pointer;
  backdrop-filter: blur(18px) saturate(1.1);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.compact-list a::before,
.compact-list .compact-row::before,
.glass-card::before {
  position: absolute;
  inset: -90% -28%;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 30% 24%, rgba(255, 244, 211, 0.34), transparent 18%),
    linear-gradient(112deg, transparent 32%, rgba(255, 238, 198, 0.2) 45%, transparent 60%);
  filter: blur(18px);
  opacity: 0.24;
  transform: translateX(-48%) rotate(-8deg);
  animation: glass-slow-sheen 12.5s ease-in-out infinite;
}

.compact-list a > *,
.compact-list .compact-row > *,
.glass-card > * {
  position: relative;
  z-index: 1;
}

.compact-list a:hover,
.compact-list a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(219, 192, 124, 0.46);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    rgba(13, 20, 31, 0.66);
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -14px 30px rgba(5, 9, 14, 0.18);
}

.compact-list a:focus-visible {
  outline: 2px solid rgba(219, 192, 124, 0.72);
  outline-offset: 3px;
}

.compact-list span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: rgba(159, 203, 22, 0.16);
  color: var(--lime);
  font-weight: 500;
}

.hero-choice-panel .compact-list span {
  border: 1px solid var(--plum-border);
  background:
    linear-gradient(135deg, rgba(58, 14, 18, 0.96), rgba(27, 7, 10, 0.96)),
    var(--plum-deep);
  box-shadow:
    0 10px 26px rgba(35, 4, 8, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
  color: #ffe2df;
}

.compact-list strong {
  display: block;
  font-weight: 500;
}

.compact-list small {
  display: block;
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.section {
  width: min(calc(100% - 32px), var(--content-width));
  margin-block: clamp(1rem, 2.4vw, 2rem);
  padding: clamp(1.6rem, 3vw, 2.45rem);
  overflow: hidden;
}

.section-header {
  max-width: 980px;
}

.section-header h2 {
  max-width: none;
}

.section-header p:last-child {
  max-width: 760px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1rem);
  margin-top: 1.35rem;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
}

.glass-card {
  position: relative;
  overflow: hidden;
  --block-graphic-opacity: 0.085;
  --block-graphic-size: min(520px, 88%);
  min-height: 150px;
  padding: clamp(0.95rem, 1.55vw, 1.1rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.032)),
    rgba(12, 18, 27, 0.6);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -18px 32px rgba(5, 9, 14, 0.18);
  backdrop-filter: blur(22px) saturate(1.12);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(221, 195, 125, 0.34);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -18px 34px rgba(5, 9, 14, 0.2);
}

.glass-card span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.glass-card h3 {
  margin: 1rem 0 0.55rem;
  font-size: 1.28rem;
  font-weight: 500;
}

.glass-card p {
  font-size: 0.94rem;
  line-height: 1.5;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.6vw, 1.1rem);
  margin-top: 1.35rem;
}

.news-card,
.news-article,
.news-article-body,
.news-related {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(12, 18, 27, 0.62);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -22px 38px rgba(5, 9, 14, 0.2);
  backdrop-filter: blur(24px) saturate(1.12);
}

.news-card {
  min-height: 260px;
  padding: clamp(1.1rem, 2vw, 1.35rem);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(221, 195, 125, 0.34);
  box-shadow:
    0 28px 62px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.news-meta {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-card h3,
.news-article h1 {
  margin: 0.75rem 0 0.75rem;
}

.news-card h3 {
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  font-weight: 500;
  line-height: 1.2;
}

.news-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.news-card p,
.news-article p,
.news-article-body p,
.news-article-body li {
  color: rgba(246, 243, 233, 0.78);
  line-height: 1.58;
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.news-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(221, 195, 125, 0.22);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(30, 12, 18, 0.28);
  font-size: 0.78rem;
}

.news-more {
  display: inline-flex;
  margin-top: 1.1rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

.news-article {
  max-width: var(--content-width);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.news-article h1 {
  max-width: 980px;
}

.news-article-section {
  padding-top: 0;
}

.news-article-body {
  display: grid;
  gap: 0.9rem;
  max-width: 980px;
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
}

.news-article-body h2 {
  margin: 0.6rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
}

.news-article-body ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.25rem;
}

.news-source {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.news-source span {
  color: rgba(246, 243, 233, 0.55);
}

.news-source a,
.news-related a {
  color: var(--gold);
  text-decoration: none;
}

.news-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  padding: clamp(1rem, 2vw, 1.25rem);
}

.news-related a {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(9, 14, 22, 0.44);
}

.page-rich-section .section-header h2,
.rich-intro-section h2 {
  max-width: 980px;
}

.rich-copy {
  display: grid;
  gap: 0.85rem;
  max-width: 920px;
}

.rich-copy p,
.rich-card p {
  margin: 0;
}

.rich-card-grid,
.rich-step-grid,
.faq-grid,
.related-grid {
  align-items: stretch;
}

.rich-card {
  min-height: 172px;
}

.rich-card-grid.two > .rich-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.rich-card-grid.two > .rich-card:last-child:nth-child(odd) .rich-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.2rem, 3vw, 2.4rem);
}

.rich-card .rich-list {
  display: grid;
  gap: 0.55rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.rich-card .rich-list li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.rich-card .rich-list li::before {
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.rich-step-card,
.related-card {
  min-height: 118px;
}

.faq-card {
  min-height: 148px;
}

.contact-grid .glass-card {
  min-height: 150px;
}

@keyframes glass-slow-sheen {
  0%,
  76%,
  100% {
    opacity: 0.14;
    transform: translateX(-52%) rotate(-8deg);
  }

  42% {
    opacity: 0.36;
    transform: translateX(36%) rotate(-8deg);
  }
}

.map-section {
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
}

.map-placeholder {
  display: grid;
  min-height: 300px;
  margin-top: 1.25rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at 30% 25%, rgba(221, 195, 125, 0.12), transparent 34%),
    rgba(9, 15, 24, 0.52);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--muted);
  text-align: center;
  backdrop-filter: blur(24px) saturate(1.12);
}

.map-placeholder strong,
.map-placeholder span {
  display: block;
}

.map-placeholder strong {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 500;
}

.map-placeholder span {
  margin-top: 0.45rem;
}

.yandex-map-embed {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 42vw, 525px);
  margin-top: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(9, 15, 24, 0.54);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(26px) saturate(1.12);
}

.yandex-map-embed iframe,
.yandex-map-embed > ymaps,
.yandex-map-embed > div {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: clamp(320px, 42vw, 525px) !important;
  border: 0 !important;
}

.reviews-rating-panel {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.reviews-rating-panel iframe {
  width: min(100%, 300px);
  height: 100px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.reviews-rating-note {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.reviews-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-start;
}

.hero-copy-panel .reviews-action-row {
  display: flex;
  width: auto;
  grid-template-columns: none;
  justify-content: flex-start;
}

.hero-copy-panel .reviews-action-row .button {
  flex: 0 1 260px;
  max-width: 260px;
}

.crm-lead-form {
  display: grid;
  gap: 1rem;
}

.lead-capture-section {
  scroll-margin-top: 96px;
}

.lead-capture-form {
  width: min(calc(100% - 36px), 1180px);
  margin-inline: auto;
  padding: clamp(1.3rem, 2vw, 2.15rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(18, 29, 42, 0.82), rgba(8, 13, 21, 0.9)),
    rgba(9, 15, 24, 0.76);
  box-shadow:
    0 24px 72px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(22px) saturate(1.08);
}

.lead-capture-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 0.85rem 0.95rem;
  color: var(--text);
  font: inherit;
}

.form-file-field {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.crm-lead-form .lead-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.crm-lead-form .lead-file-picker {
  display: flex;
  min-height: 50px;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  padding: 0.45rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.lead-file-input:focus-visible + .lead-file-picker,
.lead-file-picker:hover {
  border-color: rgba(221, 195, 125, 0.48);
  background: rgba(255, 255, 255, 0.095);
  box-shadow: 0 0 0 3px rgba(221, 195, 125, 0.1);
}

.lead-file-picker-button {
  display: inline-flex;
  min-height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0.52rem 0.82rem;
  border: 1px solid rgba(221, 195, 125, 0.28);
  border-radius: 8px;
  background: rgba(159, 203, 22, 0.14);
  color: var(--text);
  font-weight: 500;
}

.lead-file-picker-status {
  min-width: 0;
  flex: 1 1 100px;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-span-2 {
  grid-column: 1 / -1;
}

.lead-form-trap {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.lead-file-list {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lead-file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 36px;
  padding: 0.48rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.86rem;
}

.lead-consent {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 0.7rem !important;
  color: var(--muted);
  line-height: 1.45;
}

.lead-consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 0.18rem;
  accent-color: var(--accent);
}

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

.lead-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lead-form-actions .button {
  min-width: 180px;
  justify-content: center;
}

.lead-capture-form.is-sending {
  cursor: wait;
}

.lead-capture-form.is-sending button[type="submit"] {
  pointer-events: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.crm-lead-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.crm-lead-form input,
.crm-lead-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 0.85rem 0.95rem;
  color: var(--text);
  font: inherit;
}

.crm-lead-form .lead-consent input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  flex: 0 0 18px;
  padding: 0;
}

.crm-lead-form input::placeholder,
.crm-lead-form textarea::placeholder {
  color: rgba(247, 245, 237, 0.42);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.crm-lead-form button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(420px, 1fr) minmax(400px, 0.9fr);
  align-items: start;
  gap: clamp(1.75rem, 2.6vw, 3rem);
  margin-block: 4rem 2rem;
  padding: clamp(2rem, 2.8vw, 2.6rem);
  --block-graphic-opacity: 0.2;
  --block-graphic-size: min(880px, 68%);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.12), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(221, 195, 125, 0.13), transparent 30%),
    linear-gradient(145deg, rgba(17, 27, 39, 0.82), rgba(7, 12, 19, 0.88)),
    rgba(7, 12, 19, 0.7);
  box-shadow:
    0 36px 92px rgba(0, 0, 0, 0.48),
    0 14px 34px rgba(5, 10, 18, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(36px) saturate(1.18);
}

.site-footer::after {
  background-size: cover;
  background-position: center center;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0%, #000 34%, #000 100%);
  opacity: 0.24;
}

.site-footer nav,
.site-footer address {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  color: var(--muted);
  font-style: normal;
}

.site-footer strong {
  color: var(--text);
  font-weight: 500;
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.footer-brand .brand {
  align-self: start;
}

.footer-brand p {
  max-width: 380px;
  margin: 0;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.48;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.footer-links a {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.2;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.footer-links a:hover {
  border-color: rgba(221, 195, 125, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transform: translateX(2px);
}

.site-footer address > span,
.site-footer address > a {
  max-width: 390px;
  color: var(--muted);
  line-height: 1.42;
  text-decoration: none;
  text-wrap: balance;
}

.site-footer address > a {
  color: var(--text);
}

.site-footer .footer-buttons {
  max-width: 390px;
  margin-top: 0.25rem;
}

.site-footer nav > .footer-policy-button {
  width: 100%;
  margin-top: 0.75rem;
  text-align: center;
  white-space: normal;
}

.quick-page-nav {
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 74;
  display: grid;
  gap: 0.48rem;
  transform: translateY(-50%);
}

.quick-page-nav button {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--plum-border);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background:
    linear-gradient(135deg, rgba(66, 12, 18, 0.97), rgba(19, 5, 8, 0.97)),
    var(--plum);
  box-shadow:
    16px 18px 42px rgba(35, 4, 8, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -16px 30px rgba(7, 2, 4, 0.24);
  color: #fff8ee;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1;
  backdrop-filter: blur(18px) saturate(1.12);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.quick-page-nav button::before {
  position: absolute;
  inset: -90% -42%;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 30% 24%, rgba(255, 226, 198, 0.38), transparent 18%),
    linear-gradient(112deg, transparent 32%, rgba(255, 224, 205, 0.24) 45%, transparent 60%);
  filter: blur(14px);
  opacity: 0.36;
  transform: translateX(-48%) rotate(-8deg);
  animation: button-red-sheen 8.8s ease-in-out infinite;
}

.quick-page-nav button:hover,
.quick-page-nav button:focus-visible {
  border-color: rgba(221, 195, 125, 0.52);
  outline: 0;
  box-shadow:
    20px 22px 52px rgba(35, 4, 8, 0.42),
    0 8px 20px rgba(64, 8, 14, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -16px 30px rgba(7, 2, 4, 0.28);
  transform: translateX(3px);
}

.ai-chat-widget {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 80;
  display: inline-flex;
  overflow: hidden;
  align-items: center;
  gap: 0.55rem;
  max-width: 192px;
  min-height: 54px;
  padding: 0.72rem 0.85rem 0.72rem 0.74rem;
  border: 1px solid var(--plum-border);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background:
    linear-gradient(135deg, rgba(66, 12, 18, 0.98), rgba(24, 5, 9, 0.98)),
    var(--plum);
  box-shadow:
    -18px 18px 46px rgba(35, 4, 8, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -18px 32px rgba(7, 2, 4, 0.24);
  color: #fff8ee;
  transform: translateY(-50%);
  backdrop-filter: blur(18px) saturate(1.12);
}

.ai-chat-widget::before {
  position: absolute;
  inset: -90% -28%;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 30% 24%, rgba(255, 226, 198, 0.42), transparent 18%),
    linear-gradient(112deg, transparent 32%, rgba(255, 224, 205, 0.26) 45%, transparent 60%);
  filter: blur(14px);
  opacity: 0.42;
  transform: translateX(-42%) rotate(-8deg);
  animation: button-red-sheen 7.2s ease-in-out infinite;
}

.ai-chat-widget span,
.ai-chat-widget strong {
  position: relative;
  z-index: 1;
}

.ai-chat-widget span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: #f5d794;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
}

.ai-chat-widget strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.18;
}

.ai-chat-widget:hover,
.ai-chat-widget:focus-visible {
  border-color: rgba(221, 195, 125, 0.52);
  outline: 0;
  transform: translateY(-50%) translateX(-4px);
}

.ai-chat-panel {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  display: grid;
  width: min(448px, calc(100vw - 2rem));
  max-height: min(740px, calc(100vh - 2rem));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(221, 195, 125, 0.38);
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 0%, rgba(221, 195, 125, 0.14), transparent 31%),
    radial-gradient(circle at 92% 28%, rgba(159, 203, 22, 0.1), transparent 24%),
    linear-gradient(145deg, rgba(14, 21, 31, 0.94), rgba(5, 11, 18, 0.96) 62%),
    var(--panel);
  box-shadow:
    -28px 28px 76px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -22px 38px rgba(0, 0, 0, 0.28);
  color: #fff8ee;
  backdrop-filter: blur(30px) saturate(1.14);
  animation: ai-chat-panel-in 0.28s ease-out both;
}

.ai-chat-panel[hidden] {
  display: none !important;
}

.ai-chat-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-height: 138px;
  overflow: hidden;
  padding: 1rem;
  border-bottom: 1px solid rgba(221, 195, 125, 0.2);
  background:
    linear-gradient(95deg, rgba(48, 8, 13, 0.9), rgba(12, 19, 29, 0.54) 56%, rgba(12, 19, 29, 0.08)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
}

.ai-chat-head::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 18% 18%, rgba(255, 247, 214, 0.2), transparent 30%),
    linear-gradient(112deg, transparent 26%, rgba(255, 238, 198, 0.12) 48%, transparent 72%);
  filter: blur(8px);
  opacity: 0.8;
}

.ai-chat-portrait {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 25%;
  opacity: 0.88;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 44%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 44%);
}

.ai-chat-head-copy {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  max-width: 72%;
  margin-left: 52px;
  gap: 0.72rem;
}

.ai-chat-head-copy div {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.ai-chat-head-copy strong {
  color: #fff8ee;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.12;
}

.ai-chat-head-copy small {
  color: rgba(247, 245, 237, 0.72);
  font-size: 0.78rem;
  line-height: 1.2;
}

.ai-chat-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid rgba(221, 195, 125, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  color: #fff8ee;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px) saturate(1.08);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.ai-chat-close:hover,
.ai-chat-close:focus-visible {
  border-color: rgba(221, 195, 125, 0.52);
  outline: 0;
  background: rgba(48, 8, 13, 0.66);
  transform: translateY(-1px);
}

.ai-chat-messages {
  display: grid;
  max-height: 268px;
  gap: 0.65rem;
  overflow: auto;
  padding: 1rem;
  background:
    radial-gradient(circle at 15% 0%, rgba(159, 203, 22, 0.055), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

.ai-chat-message {
  max-width: 88%;
  padding: 0.72rem 0.82rem;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.ai-chat-message-assistant {
  justify-self: start;
  border: 1px solid rgba(221, 195, 125, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(12, 19, 29, 0.56);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--text);
  backdrop-filter: blur(16px) saturate(1.08);
}

.ai-chat-message-user {
  justify-self: end;
  border: 1px solid rgba(159, 203, 22, 0.28);
  background:
    linear-gradient(145deg, rgba(159, 203, 22, 0.2), rgba(48, 8, 13, 0.18)),
    rgba(12, 19, 29, 0.68);
  box-shadow: 0 12px 26px rgba(34, 48, 6, 0.18);
  color: #f8ffe6;
}

.ai-chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0 1rem 0.8rem;
}

.ai-chat-quick button {
  border: 1px solid rgba(221, 195, 125, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(48, 8, 13, 0.18);
  color: #f7edda;
  cursor: pointer;
  font-size: 0.78rem;
  padding: 0.48rem 0.58rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ai-chat-quick button:hover,
.ai-chat-quick button:focus-visible {
  border-color: rgba(221, 195, 125, 0.54);
  outline: 0;
  box-shadow:
    0 10px 24px rgba(35, 4, 8, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.ai-chat-form,
.ai-chat-lead {
  display: grid;
  gap: 0.7rem;
  padding: 0 1rem 1rem;
}

.ai-chat-form label,
.ai-chat-lead label {
  display: grid;
  gap: 0.35rem;
  color: #dacfbf;
  font-size: 0.78rem;
}

.ai-chat-form textarea,
.ai-chat-lead input {
  width: 100%;
  border: 1px solid rgba(221, 195, 125, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(6, 12, 19, 0.72);
  color: #fff8ee;
  font: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -14px 24px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(16px) saturate(1.06);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ai-chat-form textarea {
  min-height: 88px;
  max-height: 148px;
  resize: vertical;
  padding: 0.72rem 0.78rem;
}

.ai-chat-lead input {
  height: 42px;
  padding: 0 0.72rem;
}

.ai-chat-form textarea::placeholder,
.ai-chat-lead input::placeholder {
  color: rgba(255, 248, 238, 0.48);
}

.ai-chat-form textarea:focus,
.ai-chat-lead input:focus {
  border-color: rgba(221, 195, 125, 0.62);
  outline: 0;
  background: rgba(8, 16, 25, 0.86);
  box-shadow:
    0 0 0 3px rgba(221, 195, 125, 0.09),
    0 0 26px rgba(159, 203, 22, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ai-chat-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.ai-chat-actions button,
.ai-chat-lead button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #c7ed35, var(--lime) 58%, #789d0c);
  color: #101821;
  cursor: pointer;
  font-weight: 700;
  box-shadow:
    0 14px 28px rgba(159, 203, 22, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -15px 28px rgba(74, 98, 4, 0.2);
  transition: box-shadow 0.18s ease, filter 0.18s ease, transform 0.18s ease;
}

.ai-chat-actions button:hover,
.ai-chat-actions button:focus-visible,
.ai-chat-lead button:hover,
.ai-chat-lead button:focus-visible {
  outline: 0;
  filter: saturate(1.08) brightness(1.04);
  box-shadow:
    0 18px 34px rgba(159, 203, 22, 0.25),
    0 0 0 3px rgba(159, 203, 22, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transform: translateY(-1px);
}

.ai-chat-actions button:disabled,
.ai-chat-lead button:disabled,
.ai-chat-form textarea:disabled,
.ai-chat-lead input:disabled {
  cursor: wait;
  filter: saturate(0.65);
  opacity: 0.72;
}

.ai-chat-actions .ai-chat-escalate {
  border: 1px solid rgba(221, 195, 125, 0.32);
  background:
    linear-gradient(135deg, rgba(66, 12, 18, 0.92), rgba(21, 7, 10, 0.92)),
    var(--plum);
  box-shadow:
    0 14px 26px rgba(35, 4, 8, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
  color: #fff8ee;
}

.ai-chat-consent {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 0.55rem !important;
  line-height: 1.35;
}

.ai-chat-consent input {
  width: 18px;
  height: 18px;
  margin-top: 0.05rem;
}

.ai-chat-status {
  min-height: 1.2rem;
  margin: -0.25rem 1rem 1rem;
  color: #d8ccbb;
  font-size: 0.78rem;
  line-height: 1.35;
}

@keyframes ai-chat-panel-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }

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

body.ai-chat-open .cookie-notice {
  display: none !important;
}

.cookie-notice {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  max-width: 560px;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(8, 14, 23, 0.94);
  box-shadow: var(--shadow);
}

.cookie-notice[hidden] {
  display: none !important;
}

.cookie-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.cookie-notice button {
  border: 0;
  border-radius: 8px;
  background: var(--lime);
  padding: 0.8rem 1rem;
  color: #111821;
  cursor: pointer;
  font-weight: 500;
}

.pricing-hero-copy h1 {
  max-width: 780px;
}

.pricing-hero-summary {
  display: grid;
  align-content: center;
  gap: 0.8rem;
}

.pricing-hero-summary h2,
.pricing-hero-summary p {
  margin: 0;
}

.pricing-hero-summary > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.pricing-hero-price {
  display: grid;
  gap: 0.22rem;
  margin-top: 0.55rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(221, 195, 125, 0.28);
}

.pricing-hero-price span,
.pricing-hero-price small {
  color: var(--muted);
  font-size: 0.78rem;
}

.pricing-hero-price strong {
  color: var(--gold);
  font-size: 2rem;
  line-height: 1.1;
}

.pricing-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.pricing-tier-card {
  display: grid;
  min-height: 520px;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 0.75rem;
  padding: 1.35rem;
}

.pricing-tier-card.is-featured {
  border-color: rgba(221, 195, 125, 0.54);
  background:
    linear-gradient(145deg, rgba(74, 15, 22, 0.82), rgba(17, 15, 23, 0.9)),
    rgba(255, 255, 255, 0.05);
  box-shadow:
    0 28px 72px rgba(30, 3, 8, 0.36),
    inset 0 1px 0 rgba(255, 248, 220, 0.15);
}

.pricing-tier-card .pricing-tier-number {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(221, 195, 125, 0.32);
  border-radius: 7px;
  background: rgba(221, 195, 125, 0.08);
  color: var(--gold);
  font-size: 0.78rem;
}

.pricing-tier-card .pricing-tier-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  line-height: 1.35;
}

.pricing-tier-card h3 {
  margin: 0;
  font-size: 1.55rem;
}

.pricing-tier-price {
  display: grid;
  gap: 0.22rem;
  min-height: 74px;
  align-content: center;
  padding: 0.85rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-tier-price strong {
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1.1;
}

.pricing-tier-price small {
  color: var(--muted);
  font-size: 0.78rem;
}

.pricing-feature-list {
  display: grid;
  gap: 0.62rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-feature-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.45;
}

.pricing-feature-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(159, 203, 22, 0.42);
  content: "";
}

.pricing-tier-card .button {
  width: 100%;
}

.pricing-factors-section {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.pricing-factor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.pricing-factor {
  display: grid;
  min-height: 150px;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0.45rem 0.75rem;
  align-content: start;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(7, 13, 21, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.pricing-factor > span {
  grid-row: 1 / span 2;
  color: var(--gold);
  font-size: 0.72rem;
}

.pricing-factor strong,
.pricing-factor small {
  display: block;
}

.pricing-factor strong {
  font-size: 0.98rem;
}

.pricing-factor small {
  color: var(--muted);
  line-height: 1.45;
}

.pricing-catalog-intro {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(221, 195, 125, 0.22);
}

.pricing-group {
  padding-top: 1.5rem;
}

.pricing-group-header {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.pricing-group-header h2,
.pricing-group-header p {
  margin: 0;
}

.pricing-group-header h2 {
  margin-top: 0.6rem;
  font-size: 1.7rem;
}

.pricing-group-header div > p:last-child {
  max-width: 780px;
  margin-top: 0.45rem;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-group-index {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--plum-border);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(76, 11, 18, 0.9), rgba(31, 6, 10, 0.9));
  color: var(--gold);
  font-size: 0.8rem;
  box-shadow: 0 12px 30px rgba(31, 4, 8, 0.24);
}

.pricing-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.pricing-service-card {
  display: grid;
  min-height: 220px;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.7rem;
  padding: 1.15rem;
}

.pricing-service-top {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  justify-content: space-between;
}

.pricing-service-card .pricing-service-label {
  color: var(--muted);
  font-size: 0.72rem;
}

.pricing-service-card .pricing-service-price {
  color: var(--gold);
  font-size: 1rem;
  white-space: nowrap;
}

.pricing-service-card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.pricing-service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.pricing-card-link {
  width: max-content;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(221, 195, 125, 0.48);
}

.pricing-card-link:hover,
.pricing-card-link:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

.pricing-final-note {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-block: 1.5rem;
  border-block: 1px solid rgba(221, 195, 125, 0.24);
}

.pricing-final-note h2,
.pricing-final-note p {
  margin: 0;
}

.pricing-final-note h2 {
  margin-top: 0.7rem;
}

.pricing-final-note div > p:last-child {
  max-width: 760px;
  margin-top: 0.5rem;
  color: var(--muted);
  line-height: 1.55;
}

.news-feed-bar {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 48px;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
  margin-top: 1.2rem;
}

.news-feed-total,
.news-feed-position {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-feed-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-left: 0.4rem;
}

.news-feed-controls[hidden] {
  display: none;
}

.news-feed-position {
  min-width: 58px;
  margin-right: 0.2rem;
  color: var(--gold);
  text-align: center;
}

.news-feed-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(221, 195, 125, 0.36);
  border-radius: 8px;
  color: var(--text);
  background: rgba(7, 13, 21, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.news-feed-controls button:hover,
.news-feed-controls button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(76, 11, 18, 0.82);
}

.news-feed-controls button:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.news-grid.news-feed {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2rem) / 3);
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  margin-top: 0.65rem;
  padding: 0.2rem 0.15rem 1rem;
  scroll-padding-inline: 0.15rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(221, 195, 125, 0.55) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.news-feed::-webkit-scrollbar {
  height: 8px;
}

.news-feed::-webkit-scrollbar-track {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.news-feed::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: rgba(221, 195, 125, 0.55);
}

.news-feed .news-card {
  display: grid;
  min-width: 0;
  min-height: 390px;
  grid-template-rows: auto auto 1fr auto auto;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.news-feed .news-more {
  align-self: end;
  width: max-content;
}

.news-meta-row {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
}

.news-fresh {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0.28rem 0.5rem;
  border: 1px solid rgba(159, 203, 22, 0.38);
  border-radius: 999px;
  color: var(--lime);
  background: rgba(159, 203, 22, 0.08);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card.is-fresh {
  border-color: rgba(221, 195, 125, 0.34);
  box-shadow:
    0 26px 58px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -24px 42px rgba(76, 11, 18, 0.1);
}

@media (max-width: 1100px) {
  .pricing-tier-grid,
  .pricing-factor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-tier-card {
    min-height: 500px;
  }

  .pricing-final-note {
    align-items: flex-start;
  }

  .news-grid.news-feed {
    grid-auto-columns: calc((100% - 1rem) / 2);
  }

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

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu summary {
    display: grid;
    width: 46px;
    height: 46px;
    cursor: pointer;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
  }

  .mobile-menu summary span {
    width: 22px;
    height: 14px;
    border-top: 2px solid var(--text);
    border-bottom: 2px solid var(--text);
    box-shadow: 0 6px 0 var(--text);
  }

  .mobile-menu nav {
    position: fixed;
    top: 94px;
    right: 16px;
    left: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    overflow: auto;
    max-height: calc(100dvh - 112px);
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(8, 14, 23, 0.98);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px) saturate(1.16);
  }

  .mobile-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .mobile-nav-grid a {
    display: grid;
    min-height: 54px;
    align-items: center;
    padding: 0.85rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
  }

  .mobile-contact-panel {
    display: grid;
    grid-template-columns: repeat(3, 52px) minmax(160px, 1fr);
    gap: 0.65rem;
    align-items: stretch;
    padding: 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
      rgba(6, 12, 21, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .mobile-menu .mobile-contact-panel .messenger {
    width: 52px;
    height: 52px;
  }

  .mobile-phone-link {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-weight: 500;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
  }

  body:has(.mobile-menu[open]) .ai-chat-widget,
  body:has(.mobile-menu[open]) .quick-page-nav {
    opacity: 0;
    pointer-events: none;
    transform: translateX(12px);
  }

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

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

@media (min-width: 1101px) and (max-width: 1520px) {
  .site-header {
    grid-template-columns: minmax(250px, 270px) minmax(560px, 1fr) auto;
    gap: 0.6rem;
    padding-inline: 0.75rem;
  }

  .brand {
    gap: 0.65rem;
  }

  .brand img {
    width: 58px;
    height: 48px;
  }

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

  .brand small {
    font-size: 0.76rem;
  }

  .desktop-nav a {
    padding-inline: 0.58rem;
    font-size: 0.8rem;
  }

  .messenger {
    width: 42px;
    height: 42px;
  }

  .phone-pill {
    padding-inline: 0.85rem;
  }
}

@media (max-width: 640px) {
  .pricing-tier-grid,
  .pricing-factor-grid,
  .pricing-service-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-tier-card {
    min-height: auto;
    padding: 1rem;
  }

  .pricing-tier-price strong,
  .pricing-hero-price strong {
    font-size: 1.55rem;
  }

  .pricing-factor {
    min-height: 132px;
  }

  .pricing-group-header {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 0.75rem;
  }

  .pricing-group-index {
    width: 44px;
    height: 44px;
  }

  .pricing-group-header h2 {
    font-size: 1.35rem;
  }

  .pricing-service-card {
    min-height: auto;
  }

  .pricing-service-top {
    align-items: center;
  }

  .pricing-final-note {
    display: grid;
  }

  .pricing-final-note .actions,
  .pricing-final-note .button {
    width: 100%;
  }

  .news-feed-bar {
    margin-top: 1rem;
  }

  .news-feed-total {
    display: none;
  }

  .news-feed-controls {
    justify-content: flex-start;
    margin-left: 0;
  }

  .news-grid.news-feed {
    grid-template-columns: none;
    grid-auto-columns: 88%;
    gap: 0.75rem;
    margin-top: 0.55rem;
  }

  .news-feed .news-card {
    min-height: 430px;
  }

  .site-header,
  .site-footer,
  .hero,
  .section {
    width: min(calc(100% - 24px), 430px);
  }

  .hero-stack {
    width: min(calc(100% - 24px), 430px);
  }

  .site-header {
    min-height: 64px;
    padding: 0.55rem 0.65rem;
  }

  .mobile-menu nav {
    top: 78px;
    right: 12px;
    left: 12px;
    gap: 0.7rem;
    max-height: calc(100dvh - 96px - env(safe-area-inset-bottom));
    padding: 0.85rem;
  }

  .mobile-nav-grid {
    gap: 0.55rem;
  }

  .mobile-nav-grid a {
    min-height: 58px;
    padding: 0.7rem 0.5rem;
    font-size: clamp(0.92rem, 4.6vw, 1.04rem);
    line-height: 1.12;
  }

  .mobile-contact-panel {
    grid-template-columns: repeat(3, 52px) minmax(0, 1fr);
    gap: 0.55rem;
    padding: 0.6rem;
  }

  .mobile-menu .mobile-contact-panel .messenger {
    width: 52px;
    height: 52px;
  }

  .mobile-phone-link {
    min-height: 52px;
    padding: 0.55rem 0.7rem;
    font-size: 0.92rem;
    white-space: normal;
  }

  .brand img {
    width: 58px;
    height: 46px;
  }

  .brand strong {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.92rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero-copy-panel {
    min-height: auto;
    padding: 1.5rem;
  }

  .glass-panel::after,
  .glass-card::after,
  .section::after,
  .compact-list a::after,
  .compact-list .compact-row::after {
    background-position: right bottom;
    background-size: var(--block-graphic-mobile-size, 145%) auto;
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.12) 28%, #000 100%);
    opacity: var(--block-graphic-mobile-opacity, 0.075);
  }

  .site-footer::after {
    background-size: cover;
    background-position: center center;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, #000 38%, #000 100%);
    opacity: 0.2;
  }

  .route-graphic-panel {
    --block-graphic-mobile-opacity: 0.14;
  }

  .glass-card,
  .compact-list a,
  .compact-list .compact-row {
    --block-graphic-mobile-opacity: 0.055;
  }

  .hero-copy-panel .actions,
  .home-hero-copy .actions {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  h1 {
    font-size: clamp(1.95rem, 9.6vw, 2.65rem);
  }

  .news-article h1 {
    font-size: 2rem;
    overflow-wrap: anywhere;
  }

  .card-grid,
  .card-grid.two,
  .news-grid,
  .news-related {
    grid-template-columns: minmax(0, 1fr);
  }

  .glass-panel,
  .glass-card,
  .section,
  .site-footer,
  .compact-list a,
  .compact-list .compact-row {
    min-width: 0;
  }

  .glass-card {
    min-height: 148px;
    padding: 1.05rem;
  }

  .glass-card h3,
  .glass-card p,
  .compact-list strong,
  .compact-list small {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

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

  .hero-choice-panel .compact-list {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .rich-card-grid.two > .rich-card:last-child:nth-child(odd) .rich-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .lead-capture-form {
    width: 100%;
    padding: 1rem;
  }

  .lead-form-actions .button {
    width: 100%;
  }

  .photo-hero-panel {
    padding: 0.65rem;
  }

  .hero-photo-frame {
    min-height: clamp(210px, 58vw, 320px);
  }

  .ai-chat-panel {
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    width: auto;
    max-height: calc(100dvh - 1.5rem - env(safe-area-inset-bottom));
  }

  .ai-chat-head {
    min-height: 112px;
    padding: 0.75rem;
  }

  .ai-chat-portrait {
    width: 46%;
    object-position: 50% 22%;
    opacity: 0.78;
  }

  .ai-chat-head-copy {
    max-width: 70%;
    margin-left: 46px;
    gap: 0.58rem;
  }

  .ai-chat-close {
    top: 0.75rem;
    left: 0.75rem;
  }

  .ai-chat-head-copy strong {
    font-size: 0.96rem;
  }

  .ai-chat-head-copy small {
    font-size: 0.72rem;
  }

  .ai-chat-messages {
    max-height: 22dvh;
    padding: 0.82rem;
  }

  .ai-chat-message {
    padding: 0.75rem 0.82rem;
  }

  .ai-chat-quick {
    gap: 0.38rem;
    padding: 0 0.82rem 0.62rem;
  }

  .ai-chat-quick,
  .ai-chat-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .ai-chat-form,
  .ai-chat-lead {
    gap: 0.56rem;
    padding: 0 0.82rem 0.82rem;
  }

  .ai-chat-form textarea {
    min-height: 76px;
    padding: 0.64rem 0.7rem;
  }

  .ai-chat-lead input {
    height: 40px;
  }

  .ai-chat-actions button,
  .ai-chat-lead button {
    min-height: 40px;
  }

  .map-placeholder {
    min-height: 220px;
  }

  .yandex-map-embed,
  .yandex-map-embed iframe,
  .yandex-map-embed > ymaps,
  .yandex-map-embed > div {
    min-height: 280px;
    height: min(64vh, 360px) !important;
  }

  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  body.cookie-open {
    padding-bottom: calc(210px + env(safe-area-inset-bottom));
  }

  .site-footer {
    padding: 1.15rem;
    margin-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .footer-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
  }

  .footer-contact-row iframe {
    max-width: 150px;
  }

  .footer-contact-row .messenger {
    width: 46px;
    height: 50px;
  }

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

  .footer-links a {
    min-height: 44px;
    padding-inline: 0.65rem;
  }

  .ai-chat-widget {
    top: auto;
    right: 10px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    max-width: 184px;
    min-height: 46px;
    padding: 0.5rem 0.62rem;
    border-right: 1px solid var(--plum-border);
    border-radius: 8px;
    transform: none;
  }

  body.cookie-open .ai-chat-widget {
    display: none;
  }

  .ai-chat-widget span {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    font-size: 0.66rem;
  }

  .ai-chat-widget strong {
    max-width: 104px;
    font-size: 0.73rem;
    line-height: 1.12;
  }

  .ai-chat-widget:hover,
  .ai-chat-widget:focus-visible {
    transform: translateY(-2px);
  }

  .quick-page-nav {
    top: auto;
    bottom: calc(86px + env(safe-area-inset-bottom));
    gap: 0.35rem;
    transform: none;
  }

  body.cookie-open .quick-page-nav {
    bottom: calc(var(--cookie-notice-offset, 136px) + 74px + env(safe-area-inset-bottom));
  }

  .quick-page-nav button {
    width: 38px;
    height: 38px;
    font-size: 0.96rem;
  }

  .compact-list a,
  .compact-list .compact-row {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .cookie-notice {
    right: 12px;
    left: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    grid-template-columns: minmax(0, 1fr);
    z-index: 90;
  }
}

/* Subtle office photography keeps every major content block tied to the real service context. */
main > .section {
  --section-photo: url("/assets/images/office-client-consultation.webp");
}

main > .section:nth-of-type(4n + 2) {
  --section-photo: url("/assets/images/about-office-meeting.webp");
}

main > .section:nth-of-type(4n + 3) {
  --section-photo: url("/assets/images/contact-office-reception.webp");
}

main > .section:nth-of-type(4n) {
  --section-photo: url("/assets/images/office-document-consultation.webp");
}

main > .section::after {
  background-image:
    linear-gradient(105deg, rgba(7, 12, 19, 0.88) 0%, rgba(7, 12, 19, 0.54) 48%, rgba(7, 12, 19, 0.3) 100%),
    var(--section-photo);
  background-position: center;
  background-size: cover;
  filter: grayscale(0.22) saturate(0.72) contrast(0.94) brightness(0.72);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.58), #000 58%, #000 100%);
  mix-blend-mode: luminosity;
  opacity: 0.14;
}

main > .hero > .glass-panel:not(.photo-hero-panel)::after {
  background-image:
    linear-gradient(105deg, rgba(7, 12, 19, 0.9) 0%, rgba(7, 12, 19, 0.52) 52%, rgba(7, 12, 19, 0.28) 100%),
    url("/assets/images/office-document-consultation.webp");
  background-position: center;
  background-size: cover;
  filter: grayscale(0.2) saturate(0.74) contrast(0.94) brightness(0.72);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.46), #000 56%, #000 100%);
  mix-blend-mode: luminosity;
  opacity: 0.16;
}

main > .hero > .glass-panel:nth-child(even):not(.photo-hero-panel)::after {
  background-image:
    linear-gradient(105deg, rgba(7, 12, 19, 0.9) 0%, rgba(7, 12, 19, 0.52) 52%, rgba(7, 12, 19, 0.28) 100%),
    url("/assets/images/about-office-meeting.webp");
}

@media (min-width: 1101px) and (max-width: 1520px) {
  .site-header .phone-pill {
    display: none;
  }

  .desktop-nav a {
    padding-inline: 0.48rem;
    font-size: 0.76rem;
  }
}

@media (max-width: 640px) {
  main > .section::after,
  main > .hero > .glass-panel:not(.photo-hero-panel)::after {
    background-position: 62% center;
    background-size: auto 100%;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), #000 72%, #000 100%);
    opacity: 0.11;
  }
}

/* The services catalog mirrors the site's real hierarchy without overloading the main menu. */
.service-tree-section {
  display: grid;
  gap: 1.25rem;
}

.service-tree-heading {
  margin-bottom: 0;
}

.service-tree-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.service-tree-group {
  position: relative;
  min-width: 0;
  padding: clamp(1rem, 1.8vw, 1.3rem);
  overflow: hidden;
  border: 1px solid rgba(221, 195, 125, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(26, 35, 46, 0.88), rgba(8, 14, 22, 0.72)),
    rgba(10, 16, 25, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.service-tree-group:last-child {
  grid-column: 1 / -1;
}

.service-tree-group:last-child .service-tree-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.2rem;
}

.service-tree-group::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), rgba(89, 4, 14, 0.86));
  content: "";
}

.service-tree-group-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
}

.service-tree-number,
.service-tree-count {
  display: grid;
  min-width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(221, 195, 125, 0.3);
  border-radius: 6px;
  background: rgba(85, 8, 18, 0.48);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
}

.service-tree-count {
  background: rgba(151, 194, 16, 0.1);
  color: #c8df72;
}

.service-tree-group-head > a {
  color: var(--cream);
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.service-tree-group > p {
  min-height: 2.9em;
  margin: 0.85rem 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.service-tree-links {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-tree-links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
  min-height: 42px;
  padding: 0.56rem 0.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(246, 243, 233, 0.88);
  font-size: 0.86rem;
  line-height: 1.32;
  text-decoration: none;
  transition: color 180ms ease, padding 180ms ease, background 180ms ease;
}

.service-tree-links a:last-child {
  border-bottom: 0;
}

.service-tree-links a b {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 500;
  transition: transform 180ms ease;
}

.service-tree-links a:hover,
.service-tree-links a:focus-visible {
  padding-left: 0.45rem;
  background: rgba(221, 195, 125, 0.06);
  color: #fff;
}

.service-tree-links a:hover b,
.service-tree-links a:focus-visible b {
  transform: translateX(3px);
}

.service-tree-links a:focus-visible,
.service-tree-group-head > a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .service-tree-group:last-child .service-tree-links {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .service-tree-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-tree-group,
  .service-tree-group:last-child {
    grid-column: 1;
  }

  .service-tree-group > p {
    min-height: 0;
  }

  .service-tree-links a {
    min-height: 44px;
    font-size: 0.9rem;
  }
}
