/*
 * Geokad-PMK legacy compatibility theme.
 *
 * This stylesheet is deliberately additive and body-scoped. The protected
 * legacy HTML, page content, forms and scripts stay in place while the public
 * shell and visual tokens match the current Geokad-PMK site.
 */

@font-face {
  font-family: "Onest Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/onest/onest-cyrillic-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Onest Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/onest/onest-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/onest/onest-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Onest Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/onest/onest-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body[data-geokad-unified="true"] {
  color-scheme: light !important;
  --color-canvas: #f3f1eb;
  --color-surface: #fbfaf6;
  --color-surface-raised: #fff;
  --color-surface-warm: #ebe7dc;
  --color-surface-success: #edf3eb;
  --color-text: #171915;
  --color-text-secondary: #333630;
  --color-text-muted: #60645d;
  --color-text-subtle: #73766f;
  --color-brand: #255c38;
  --color-brand-hover: #19472b;
  --color-border: #d8d4c9;
  --color-border-strong: #c6c1b5;
  --color-error: #a33f31;
  --color-focus: rgba(37, 92, 56, 0.2);
  --color-bg: var(--color-canvas);
  --color-surface-strong: var(--color-surface-raised);
  --color-stroke: var(--color-border);
  --color-muted: var(--color-text-muted);
  --color-accent: var(--color-brand);
  --color-accent-soft: var(--color-surface-success);
  --bg: var(--color-canvas);
  --bg-primary: var(--color-canvas);
  --bg-secondary: var(--color-surface);
  --surface-1: var(--color-surface-raised);
  --surface-2: var(--color-surface);
  --text: var(--color-text);
  --text-primary: var(--color-text);
  --text-secondary: var(--color-text-muted);
  --muted: var(--color-text-muted);
  --border: var(--color-border);
  --accent: var(--color-brand);
  --accent-hover: var(--color-brand-hover);
  --shadow-soft: 0 12px 42px rgba(37, 38, 33, 0.07);
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --layout-max-width: 1344px;
  --layout-padding: 32px;
  --header-height: 94px;
  min-width: 320px;
  margin: 0;
  background: var(--color-canvas) !important;
  color: var(--color-text) !important;
  font-family: "Onest Variable", Onest, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 16px;
  font-synthesis: none;
  font-optical-sizing: auto;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body[data-geokad-unified="true"] *,
body[data-geokad-unified="true"] *::before,
body[data-geokad-unified="true"] *::after {
  box-sizing: border-box;
}

body[data-geokad-unified="true"] :where(h1, h2, h3, h4, button, input, select, textarea) {
  font-family: inherit;
}

body[data-geokad-unified="true"] :where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--color-brand) !important;
  outline-offset: 3px;
}

body[data-geokad-unified="true"] ::selection {
  background: #cbd9c8;
  color: var(--color-text);
}

body[data-geokad-unified="true"] > main,
body[data-geokad-unified="true"] .page-wrapper,
body[data-geokad-unified="true"] .landing-main {
  background-color: var(--color-canvas);
}

body[data-geokad-unified="true"] .container {
  width: min(100%, 1344px);
  max-width: 1344px;
  margin-inline: auto;
  padding-inline: 32px;
}

body[data-geokad-unified="true"] :where(h1, h2, h3, h4) {
  color: var(--color-text);
  text-wrap: balance;
}

body[data-geokad-unified="true"] :where(p, li) {
  text-wrap: pretty;
}

body[data-geokad-unified="true"] :where(.button, .btn) {
  min-height: 44px;
  border-radius: 6px !important;
  font-weight: 700;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

body[data-geokad-unified="true"] :where(.button--primary, .btn--primary) {
  border-color: var(--color-brand) !important;
  background: var(--color-brand) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] :where(.button--primary, .btn--primary):hover {
  border-color: var(--color-brand-hover) !important;
  background: var(--color-brand-hover) !important;
  transform: translateY(-1px);
}

body[data-geokad-unified="true"] :where(.button--ghost, .btn--ghost, .button--secondary, .btn--secondary) {
  border-color: var(--color-border-strong) !important;
  background: transparent !important;
  color: var(--color-text) !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] :where(.button--ghost, .btn--ghost, .button--secondary, .btn--secondary):hover {
  border-color: var(--color-brand) !important;
  color: var(--color-brand) !important;
}

/* Shared header: the only intentionally glass-like surface. */
body[data-geokad-unified="true"] .gpk-header {
  position: fixed !important;
  z-index: 2500 !important;
  inset: 0 0 auto !important;
  display: block !important;
  width: 100% !important;
  height: 94px !important;
  padding: 10px 32px !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body[data-geokad-unified="true"] .gpk-header::after {
  content: none !important;
}

body[data-geokad-unified="true"] .gpk-header__inner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 28px;
  width: min(100%, 1344px);
  min-height: 74px;
  align-items: center;
  margin-inline: auto;
  padding: 0 14px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(249, 248, 243, 0.69) 48%, rgba(235, 241, 233, 0.74));
  box-shadow: 0 15px 42px rgba(23, 25, 21, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.96), inset 0 -1px 0 rgba(37, 92, 56, 0.07);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
  backdrop-filter: blur(24px) saturate(155%);
}

body[data-geokad-unified="true"] .gpk-header__inner::before {
  position: absolute;
  z-index: 0;
  inset: 1px;
  border-radius: 17px;
  background: radial-gradient(circle at 18% -70%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.3) 38%, transparent 62%), linear-gradient(108deg, rgba(255, 255, 255, 0.28), transparent 38%, rgba(255, 255, 255, 0.18) 68%, transparent);
  content: "";
  pointer-events: none;
}

body[data-geokad-unified="true"] .gpk-header__inner > * {
  position: relative;
  z-index: 1;
}

body[data-geokad-unified="true"] .gpk-header__brand {
  display: flex !important;
  width: 220px !important;
  height: 52px !important;
  align-items: center;
  padding: 0 !important;
  color: var(--color-text) !important;
}

body[data-geokad-unified="true"] .gpk-header__wordmark {
  display: block !important;
  width: 220px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
}

body[data-geokad-unified="true"] .gpk-header__mark {
  display: none !important;
  width: 44px !important;
  height: 44px !important;
  max-height: none !important;
  object-fit: contain;
}

body[data-geokad-unified="true"] .gpk-header__nav {
  position: static !important;
  display: flex !important;
  min-width: 0;
  height: 74px !important;
  align-items: stretch !important;
  justify-content: flex-end !important;
  gap: clamp(14px, 1.55vw, 25px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

body[data-geokad-unified="true"] .gpk-header__link {
  position: relative;
  display: inline-flex !important;
  min-height: 44px;
  align-items: center;
  gap: 5px;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  color: var(--color-text-muted) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  white-space: nowrap;
}

body[data-geokad-unified="true"] .gpk-header__link::after {
  content: none !important;
}

body[data-geokad-unified="true"] .gpk-header__link:hover,
body[data-geokad-unified="true"][data-page="articles"] .gpk-header__link[data-nav="articles"],
body[data-geokad-unified="true"][data-page="about"] .gpk-header__link[data-nav="about"],
body[data-geokad-unified="true"][data-page="contacts"] .gpk-header__link[data-nav="contacts"],
body[data-geokad-unified="true"] .gpk-header__link.nav__link--active {
  border-bottom-color: var(--color-brand) !important;
  color: var(--color-text) !important;
}

body[data-geokad-unified="true"] .gpk-header__caret {
  position: relative;
  top: -1px;
  color: var(--color-text-subtle);
  font-size: 12px;
}

body[data-geokad-unified="true"] .gpk-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

body[data-geokad-unified="true"] .gpk-header__cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding-inline: 18px;
  border: 1px solid var(--color-brand);
  border-radius: 6px;
  background: var(--color-brand);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

body[data-geokad-unified="true"] .gpk-header__cta:hover {
  background: var(--color-brand-hover);
  transform: translateY(-1px);
}

body[data-geokad-unified="true"] .gpk-header__cta-short,
body[data-geokad-unified="true"] .gpk-header__menu {
  display: none;
}

/* Existing legacy JavaScript creates this backdrop for the compatible menu. */
body[data-geokad-unified="true"] .menu-overlay {
  z-index: 2350 !important;
  background: rgba(23, 25, 21, 0.34) !important;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

body[data-geokad-unified="true"] .telegram-fab {
  right: 20px !important;
  bottom: 20px !important;
  min-height: 44px;
  padding: 10px 16px !important;
  border: 1px solid var(--color-brand) !important;
  border-radius: 6px !important;
  background: var(--color-surface-raised) !important;
  color: var(--color-brand) !important;
  box-shadow: 0 10px 30px rgba(23, 25, 21, 0.12) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body[data-geokad-unified="true"] .telegram-fab:hover {
  background: var(--color-brand) !important;
  color: #fff !important;
}

body[data-geokad-unified="true"] .cookie-banner__card {
  width: min(560px, 100%) !important;
  padding: 18px !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 12px !important;
  background: var(--color-surface-raised) !important;
  color: var(--color-text) !important;
  box-shadow: 0 18px 46px rgba(23, 25, 21, 0.16) !important;
}

body[data-geokad-unified="true"] .cookie-banner__title {
  color: var(--color-text) !important;
  font-size: 19px !important;
  font-weight: 650 !important;
}

body[data-geokad-unified="true"] .cookie-banner p {
  color: var(--color-text-muted) !important;
  line-height: 1.5 !important;
}

body[data-geokad-unified="true"] .cookie-banner a {
  color: var(--color-brand) !important;
}

body[data-geokad-unified="true"] .cookie-banner__button {
  min-height: 42px;
  border-radius: 6px !important;
  font-weight: 700 !important;
}

body[data-geokad-unified="true"] .cookie-banner__allow {
  border-color: var(--color-brand) !important;
  background: var(--color-brand) !important;
  color: #fff !important;
}

body[data-geokad-unified="true"] .cookie-banner__decline {
  border-color: var(--color-border-strong) !important;
  background: transparent !important;
  color: var(--color-text) !important;
}

body[data-geokad-unified="true"]:has(.cookie-banner) .telegram-fab {
  display: none !important;
}

/* Shared footer. */
body[data-geokad-unified="true"] .gpk-footer {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 74px max(32px, calc((100vw - 1344px) / 2)) 30px !important;
  border: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.13) !important;
  border-radius: 0 !important;
  background: #171915 !important;
  color: #f4f2eb !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] .gpk-footer__top {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.42fr);
  gap: 56px;
  align-items: start;
  padding: 0 0 62px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

body[data-geokad-unified="true"] .gpk-footer__statement p,
body[data-geokad-unified="true"] .gpk-footer__contacts > span,
body[data-geokad-unified="true"] .gpk-footer__navigation nav > span {
  margin: 0;
  color: #9eb09e !important;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

body[data-geokad-unified="true"] .gpk-footer__statement h2 {
  max-width: 760px;
  margin: 16px 0 0;
  color: #f4f2eb !important;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
}

body[data-geokad-unified="true"] .gpk-footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

body[data-geokad-unified="true"] .gpk-footer__contacts a {
  color: #fff !important;
  font-size: 17px;
}

body[data-geokad-unified="true"] .gpk-footer__navigation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

body[data-geokad-unified="true"] .gpk-footer__navigation nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

body[data-geokad-unified="true"] .gpk-footer__navigation nav > span {
  margin-bottom: 5px;
}

body[data-geokad-unified="true"] .gpk-footer__navigation a {
  color: #b9beb7 !important;
  font-size: 13px;
}

body[data-geokad-unified="true"] .gpk-footer__navigation a:hover {
  color: #fff !important;
}

body[data-geokad-unified="true"] .gpk-footer__bottom {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 50px;
  align-items: end;
  padding: 28px 0 0 !important;
  border: 0 !important;
}

body[data-geokad-unified="true"] .gpk-footer__bottom > div {
  display: grid;
  gap: 7px;
}

body[data-geokad-unified="true"] .gpk-footer__bottom :where(strong, span, p) {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

body[data-geokad-unified="true"] .gpk-footer__bottom strong {
  color: #f4f2eb;
}

body[data-geokad-unified="true"] .gpk-footer__bottom :where(span, p) {
  color: #92978f !important;
}

body[data-geokad-unified="true"] .gpk-footer__bottom p {
  max-width: 540px;
}

/* Duplicate legal link bars remain byte-identical but are no longer visual. */
body[data-geokad-unified="true"] > .legal-links {
  display: none !important;
}

/* Shared content primitives. */
body[data-geokad-unified="true"] .breadcrumbs {
  margin: 0 0 20px !important;
  padding: 10px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--color-text-subtle) !important;
  font-size: 13px;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body[data-geokad-unified="true"] .breadcrumbs a {
  color: var(--color-brand) !important;
}

body[data-geokad-unified="true"] .breadcrumbs li::after {
  color: var(--color-border-strong) !important;
}

/* Legacy service landing pages use one restrained architectural hero rhythm. */
body[data-geokad-unified="true"] .landing-hero {
  padding: clamp(54px, 6vw, 86px) 0 clamp(50px, 6vw, 78px) !important;
  background: var(--color-canvas) !important;
  color: var(--color-text) !important;
}

body[data-geokad-unified="true"] .landing-hero::before {
  transform: none !important;
  opacity: 0.12 !important;
  filter: grayscale(0.18) saturate(0.78) contrast(0.92) !important;
}

body[data-geokad-unified="true"] .landing-hero::after {
  background: linear-gradient(90deg, rgba(243, 241, 235, 0.99) 0%, rgba(243, 241, 235, 0.93) 58%, rgba(243, 241, 235, 0.78) 100%) !important;
}

body[data-geokad-unified="true"] .landing-hero__inner,
body[data-geokad-unified="true"] .landing-hero__content {
  align-items: flex-start !important;
  text-align: left !important;
}

body[data-geokad-unified="true"] .landing-hero__inner {
  gap: 34px !important;
}

body[data-geokad-unified="true"] .landing-hero__content {
  max-width: 1000px !important;
  gap: 22px !important;
}

body[data-geokad-unified="true"] .landing-hero__title {
  max-width: 980px;
  color: var(--color-text) !important;
  font-size: clamp(44px, 5vw, 72px) !important;
  font-weight: 430 !important;
  line-height: 1 !important;
  letter-spacing: -0.048em !important;
}

body[data-geokad-unified="true"] .landing-hero__subtitle {
  max-width: 850px !important;
  color: var(--color-text-secondary) !important;
  font-size: clamp(17px, 1.6vw, 21px) !important;
  line-height: 1.55 !important;
}

body[data-geokad-unified="true"] .landing-hero__cta,
body[data-geokad-unified="true"] .landing-hero__stats {
  justify-content: flex-start !important;
}

body[data-geokad-unified="true"] .landing-hero__stats {
  gap: 12px !important;
  margin-top: 6px !important;
}

body[data-geokad-unified="true"] .landing-hero__stats li {
  min-width: 190px !important;
  padding: 16px 18px !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.76) !important;
  text-align: left !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] .landing-hero__stats strong {
  color: var(--color-brand) !important;
}

body[data-geokad-unified="true"] .landing-hero__stats span {
  color: var(--color-text-muted) !important;
}

body[data-geokad-unified="true"] :where(.card, .form-card, .cta-banner, .lead-banner, .faq-item, .article-content, .article-sidebar__card, .article-sidebar__list, .article-faq__inner, .article-related__card) {
  border-color: var(--color-border) !important;
  border-radius: 12px !important;
  background: var(--color-surface) !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  border-color: var(--color-border-strong) !important;
  border-radius: 6px !important;
  background: var(--color-surface-raised) !important;
  color: var(--color-text) !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus {
  border-color: var(--color-brand) !important;
  box-shadow: 0 0 0 3px var(--color-focus) !important;
}

body[data-geokad-unified="true"] :where(.badge, .tag, .article-hero__tag, .article-card__tag, .landing-badge) {
  border-color: #bfd0bd !important;
  border-radius: 6px !important;
  background: var(--color-surface-success) !important;
  color: var(--color-brand) !important;
  box-shadow: none !important;
}

/* Article archive. */
body[data-geokad-unified="true"][data-page="articles"] main > section,
body[data-geokad-unified="true"][data-page="articles"] .articles-hero,
body[data-geokad-unified="true"][data-page="articles"] .articles-filter {
  background: transparent !important;
}

body[data-geokad-unified="true"] .articles-hero {
  position: relative;
  padding: 78px 0 70px !important;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(118deg, #f8f6f0 0 64%, #edf3eb 64% 100%) !important;
}

body[data-geokad-unified="true"] .articles-hero::after {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(36vw, 560px);
  background-image: linear-gradient(rgba(37, 92, 56, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 92, 56, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 42%);
  pointer-events: none;
}

body[data-geokad-unified="true"] .articles-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 980px !important;
}

body[data-geokad-unified="true"] .articles-hero__title {
  max-width: 980px;
  margin: 18px 0 !important;
  color: var(--color-text) !important;
  font-size: clamp(44px, 5vw, 72px) !important;
  font-weight: 430 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.052em !important;
}

body[data-geokad-unified="true"] .articles-hero__description {
  max-width: 800px !important;
  margin-bottom: 24px !important;
  color: var(--color-text-muted) !important;
  font-size: clamp(17px, 1.45vw, 20px) !important;
  line-height: 1.55 !important;
}

body[data-geokad-unified="true"] .articles-hero__actions {
  margin-top: 22px;
}

body[data-geokad-unified="true"] .articles-filter {
  padding: 38px 0 8px !important;
}

body[data-geokad-unified="true"] .articles-filter__list {
  gap: 8px !important;
}

body[data-geokad-unified="true"] .articles-filter__button {
  padding: 9px 13px !important;
  border: 1px solid var(--color-border-strong) !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: var(--color-text-muted) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] .articles-filter__button:hover,
body[data-geokad-unified="true"] .articles-filter__button.is-active {
  border-color: var(--color-brand) !important;
  background: var(--color-brand) !important;
  color: #fff !important;
}

body[data-geokad-unified="true"] .articles-list-header {
  align-items: start !important;
  padding-top: 48px !important;
  border-top: 1px solid var(--color-border);
}

body[data-geokad-unified="true"] .articles-list-header h2 {
  color: var(--color-text) !important;
  font-size: clamp(30px, 3vw, 42px) !important;
  font-weight: 450;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

body[data-geokad-unified="true"] .articles-list-header p {
  color: var(--color-text-muted) !important;
}

body[data-geokad-unified="true"] .articles-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  padding: 28px 0 72px !important;
  border-top: 1px solid var(--color-border);
}

body[data-geokad-unified="true"] .article-card {
  min-height: 260px !important;
  padding: 26px 28px !important;
  border: 0 !important;
  border-right: 1px solid var(--color-border) !important;
  border-bottom: 1px solid var(--color-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

body[data-geokad-unified="true"] .article-card:nth-child(2n) {
  border-right: 0 !important;
}

body[data-geokad-unified="true"] .article-card:hover {
  background: var(--color-surface) !important;
}

body[data-geokad-unified="true"] .article-card__tag {
  margin-bottom: 22px !important;
  padding: 5px 9px !important;
  font-size: 12px !important;
}

body[data-geokad-unified="true"] .article-card__title {
  color: var(--color-text) !important;
  font-size: clamp(20px, 1.7vw, 25px) !important;
  font-weight: 560 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.025em;
}

body[data-geokad-unified="true"] .article-card__excerpt,
body[data-geokad-unified="true"] .article-card__meta,
body[data-geokad-unified="true"] .article-card__footer {
  color: var(--color-text-muted) !important;
}

body[data-geokad-unified="true"] .article-card__more {
  color: var(--color-brand) !important;
}

/* Standard article template. */
body[data-geokad-unified="true"] .article-hero {
  padding: 62px 0 58px !important;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(115deg, var(--color-canvas), #edf3eb) !important;
}

body[data-geokad-unified="true"] .article-hero__inner {
  max-width: 1040px !important;
}

body[data-geokad-unified="true"] .article-hero h1 {
  max-width: 1020px;
  margin: 0 0 20px !important;
  color: var(--color-text) !important;
  font-size: clamp(43px, 5.2vw, 72px) !important;
  font-weight: 430 !important;
  line-height: 1 !important;
  letter-spacing: -0.052em !important;
}

body[data-geokad-unified="true"] .article-hero__lead {
  max-width: 920px !important;
  color: var(--color-text-muted) !important;
  font-size: clamp(17px, 1.4vw, 20px) !important;
  line-height: 1.58 !important;
}

body[data-geokad-unified="true"] .article-hero__tags {
  gap: 8px;
  margin-bottom: 24px !important;
}

body[data-geokad-unified="true"] .article-hero__tag,
body[data-geokad-unified="true"] .article-hero__meta span {
  padding: 7px 10px !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.45) !important;
  color: var(--color-text-muted) !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] .article-layout {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 320px) !important;
  gap: 32px !important;
  padding-top: 48px;
  padding-bottom: 64px !important;
}

body[data-geokad-unified="true"] .article-content {
  max-width: 860px;
  padding: clamp(24px, 3.2vw, 44px) !important;
  color: var(--color-text-secondary) !important;
}

body[data-geokad-unified="true"] .article-content h2 {
  margin: 44px 0 14px !important;
  color: var(--color-text) !important;
  font-size: clamp(26px, 2.5vw, 36px) !important;
  font-weight: 520;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

body[data-geokad-unified="true"] .article-content h3 {
  margin-top: 30px;
  font-size: 21px;
  font-weight: 590;
}

body[data-geokad-unified="true"] .article-content :where(p, li) {
  color: var(--color-text-secondary) !important;
  line-height: 1.72;
}

body[data-geokad-unified="true"] .article-content a {
  color: var(--color-brand) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body[data-geokad-unified="true"] .article-cta {
  margin: 32px 0 !important;
  padding: 22px !important;
  border: 1px solid #bfd0bd !important;
  border-radius: 8px !important;
  background: var(--color-surface-success) !important;
}

body[data-geokad-unified="true"] .article-sidebar {
  top: calc(var(--header-height) + 20px) !important;
}

body[data-geokad-unified="true"] .article-sidebar__card,
body[data-geokad-unified="true"] .article-sidebar__list {
  padding: 20px !important;
}

body[data-geokad-unified="true"] .article-sidebar a {
  color: var(--color-brand) !important;
}

body[data-geokad-unified="true"] .article-faq__inner {
  padding: clamp(24px, 3vw, 40px) !important;
}

body[data-geokad-unified="true"] .article-faq__list li {
  border: 0 !important;
  border-top: 1px solid var(--color-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 18px 0 !important;
}

body[data-geokad-unified="true"] .article-related__inner {
  gap: 0 !important;
  border-top: 1px solid var(--color-border);
}

body[data-geokad-unified="true"] .article-related__card {
  border: 0 !important;
  border-right: 1px solid var(--color-border) !important;
  border-bottom: 1px solid var(--color-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 20px !important;
  transform: none !important;
}

/* Alternate article template: body/page header lives inside the preserved main. */
body[data-geokad-unified="true"].page main > .container:first-child {
  padding-top: 20px;
}

body[data-geokad-unified="true"].page .article-header {
  border-bottom: 1px solid var(--color-border) !important;
  background: linear-gradient(115deg, var(--color-canvas), #edf3eb) !important;
}

body[data-geokad-unified="true"].page .article-header h1,
body[data-geokad-unified="true"].page .article-header__title {
  color: var(--color-text) !important;
  font-size: clamp(43px, 5.2vw, 72px) !important;
  font-weight: 430 !important;
  line-height: 1 !important;
  letter-spacing: -0.052em !important;
}

body[data-geokad-unified="true"].page :where(.article-header__lead, .article-lead, .article-meta) {
  color: var(--color-text-muted) !important;
}

body[data-geokad-unified="true"].page .article-body {
  color: var(--color-text-secondary) !important;
}

body[data-geokad-unified="true"].page .article-body :where(h2, h3, h4) {
  color: var(--color-text) !important;
}

body[data-geokad-unified="true"].page .article-body a {
  color: var(--color-brand) !important;
}

/* Inserted shell on noindex campaign pages. Keep the preserved topbar in the
   DOM for attribution scripts, while the shared header becomes the visible UI. */
body[data-geokad-unified="true"][data-page="search-lp"] main .topbar,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] main .topbar {
  display: none !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] main,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] main {
  padding-top: var(--header-height) !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] {
  --bg: var(--color-canvas) !important;
  --bg-2: var(--color-surface) !important;
  --panel: rgba(255, 255, 255, 0.92) !important;
  --panel-strong: #fff !important;
  --line: var(--color-border) !important;
  --line-strong: var(--color-border-strong) !important;
  --text: var(--color-text) !important;
  --muted: var(--color-text-muted) !important;
  --soft: var(--color-text-secondary) !important;
  --teal: var(--color-brand) !important;
  --teal-2: var(--color-brand-hover) !important;
  --amber: var(--color-brand) !important;
  --ok: var(--color-brand) !important;
  --shadow: 0 12px 42px rgba(37, 38, 33, 0.09) !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] :where(.hero, .section, .bottom-cta, .page),
body[data-geokad-unified="true"][data-page="rsya-kadastr"] :where(.hero, .section, .bottom-cta, .page) {
  color: var(--color-text) !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] .hero,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] .hero {
  min-height: auto !important;
  background: var(--color-canvas) !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] .hero::before,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] .hero::before {
  background: linear-gradient(90deg, rgba(243, 241, 235, 0.99) 0%, rgba(243, 241, 235, 0.96) 48%, rgba(243, 241, 235, 0.58) 74%, rgba(243, 241, 235, 0.84) 100%), url("/assets/img/rsya-kadastr/hero-geodesy.webp") center right / cover no-repeat !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] .hero::after,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] .hero::after {
  background: linear-gradient(180deg, transparent 60%, var(--color-canvas) 100%), repeating-linear-gradient(90deg, transparent 0 84px, rgba(37, 92, 56, 0.045) 84px 85px) !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] .hero__grid,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] .hero__grid {
  min-height: 0 !important;
  padding-top: 58px !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] .eyebrow,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] .eyebrow {
  border-color: #bfd0bd !important;
  background: var(--color-surface-success) !important;
  color: var(--color-brand) !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] .eyebrow::before,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] .eyebrow::before {
  background: var(--color-brand) !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] .hero h1,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] .hero h1 {
  max-width: 800px;
  color: var(--color-text) !important;
  font-size: clamp(44px, 5vw, 68px) !important;
  font-weight: 430 !important;
  line-height: 1 !important;
  letter-spacing: -0.045em !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] .hero .lead,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] .hero .lead {
  color: var(--color-text-secondary) !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] .proof,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] .proof {
  min-height: 82px;
  border-color: var(--color-border) !important;
  background: rgba(255, 255, 255, 0.76) !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] .proof strong,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] .proof strong {
  color: var(--color-text) !important;
  font-weight: 650 !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] .proof span,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] .proof span {
  color: var(--color-text-muted) !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] .lead-panel,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] .lead-panel {
  border-color: var(--color-border-strong) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 18px 48px rgba(23, 25, 21, 0.1) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] .lead-panel h2,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] .lead-panel h2 {
  color: var(--color-text) !important;
  font-weight: 520 !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] :where(.lead-panel__text, .field, .consent, .status, .form__consent, .form__policy-note),
body[data-geokad-unified="true"][data-page="rsya-kadastr"] :where(.lead-panel__text, .field, .consent, .status, .form__consent, .form__policy-note) {
  color: var(--color-text-muted) !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] :where(.field input, .field textarea),
body[data-geokad-unified="true"][data-page="rsya-kadastr"] :where(.field input, .field textarea) {
  border-color: var(--color-border-strong) !important;
  background: var(--color-surface-raised) !important;
  color: var(--color-text) !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] :where(.field input, .field textarea)::placeholder,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] :where(.field input, .field textarea)::placeholder {
  color: var(--color-text-subtle) !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] .choice,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] .choice {
  border-color: var(--color-border) !important;
  background: var(--color-surface) !important;
  color: var(--color-text-secondary) !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] .choice.is-active,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] .choice.is-active {
  border-color: var(--color-brand) !important;
  background: var(--color-surface-success) !important;
  color: var(--color-brand) !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] .section,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] .section {
  border-top: 1px solid var(--color-border) !important;
  background: var(--color-canvas) !important;
  color: var(--color-text) !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] .section:nth-of-type(even),
body[data-geokad-unified="true"][data-page="rsya-kadastr"] .section:nth-of-type(even) {
  background: var(--color-surface) !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] .section h2,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] .section h2 {
  color: var(--color-text) !important;
  font-weight: 480 !important;
  letter-spacing: -0.03em !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] :where(.situation, .process-step, .trust-card, .trust-review-note, .team-person),
body[data-geokad-unified="true"][data-page="rsya-kadastr"] :where(.situation, .process-step, .trust-card, .trust-review-note, .team-person) {
  border-color: var(--color-border) !important;
  border-radius: 8px !important;
  background: var(--color-surface-raised) !important;
  color: var(--color-text) !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] :where(.situation, .process-step) > span,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] :where(.situation, .process-step) > span {
  border-radius: 6px !important;
  background: var(--color-brand) !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] :where(.situation, .process-step, .trust-card, .trust-review-note, .team-person) :where(strong, h3),
body[data-geokad-unified="true"][data-page="rsya-kadastr"] :where(.situation, .process-step, .trust-card, .trust-review-note, .team-person) :where(strong, h3) {
  color: var(--color-text) !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] :where(.situation, .process-step, .trust-card, .trust-review-note, .team-person) :where(p, span),
body[data-geokad-unified="true"][data-page="rsya-kadastr"] :where(.situation, .process-step, .trust-card, .trust-review-note, .team-person) :where(p, span) {
  color: var(--color-text-muted) !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] .sticky,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] .sticky {
  border-color: var(--color-border) !important;
  background: rgba(251, 250, 246, 0.96) !important;
  box-shadow: 0 14px 38px rgba(23, 25, 21, 0.14) !important;
  backdrop-filter: blur(14px) !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] .sticky .btn--ghost,
body[data-geokad-unified="true"][data-page="rsya-kadastr"] .sticky .btn--ghost {
  color: var(--color-brand) !important;
}

body[data-geokad-unified="true"][data-page="search-lp"] :where(.lead-panel, .proof, .situation, .process-card, .trust-card, .choice, .field input, .field textarea),
body[data-geokad-unified="true"][data-page="rsya-kadastr"] :where(.lead-panel, .proof, .situation, .process-card, .trust-card, .choice, .field input, .field textarea) {
  border-color: var(--color-border) !important;
  border-radius: 8px !important;
  background: var(--color-surface-raised) !important;
  color: var(--color-text) !important;
  box-shadow: none !important;
}

/* The internal noindex LP index keeps its content but uses the shared shell. */
body[data-geokad-unified="true"] > header:not(.gpk-header) {
  margin-top: var(--header-height) !important;
  color: var(--color-text) !important;
}

/* Legacy page-specific accents use the shared black-and-green palette. */
body[data-geokad-unified="true"][data-page="prices"] .prices-page-hero,
body[data-geokad-unified="true"][data-page="reviews"] .reviews-hero {
  background:
    radial-gradient(920px 360px at 10% 0%, rgba(37, 92, 56, 0.12), transparent 64%),
    radial-gradient(760px 300px at 100% 95%, rgba(96, 100, 93, 0.08), transparent 66%),
    var(--color-canvas) !important;
}

body[data-geokad-unified="true"][data-page="prices"] .price-highlights {
  background: linear-gradient(180deg, rgba(37, 92, 56, 0.07), transparent 100%) !important;
}

body[data-geokad-unified="true"][data-page="prices"] .price-highlight,
body[data-geokad-unified="true"][data-page="prices"] .price-note,
body[data-geokad-unified="true"][data-page="prices"] .prices-cta__inner,
body[data-geokad-unified="true"][data-page="reviews"] .review-source-card--yandex,
body[data-geokad-unified="true"][data-page="reviews"] .reviews-cta__inner {
  border-color: var(--color-border) !important;
  background:
    radial-gradient(circle at 88% 0%, rgba(37, 92, 56, 0.12), transparent 34%),
    var(--color-surface-raised) !important;
  box-shadow: var(--shadow-soft) !important;
}

body[data-geokad-unified="true"][data-page="reviews"] .review-source-card--yandex::after {
  background: rgba(37, 92, 56, 0.1) !important;
}

body[data-geokad-unified="true"][data-page="reviews"] .review-source-card--yandex .review-source-card__tag,
body[data-geokad-unified="true"][data-page="contacts"] .contacts-eyebrow,
body[data-geokad-unified="true"] .contact-menu__eyebrow,
body[data-geokad-unified="true"] .landing-quiz-cta__badge {
  background: var(--color-surface-success) !important;
  color: var(--color-brand) !important;
}

body[data-geokad-unified="true"][data-page="prices"] .price-table {
  border: 1px solid var(--color-border-strong) !important;
  border-radius: 12px !important;
  background: var(--color-surface-raised) !important;
  box-shadow: var(--shadow-soft) !important;
}

body[data-geokad-unified="true"][data-page="prices"] .price-table thead {
  background: var(--color-brand) !important;
}

body[data-geokad-unified="true"][data-page="prices"] .price-table th {
  border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}

body[data-geokad-unified="true"][data-page="prices"] .price-table th:last-child {
  border-right: 0 !important;
}

body[data-geokad-unified="true"][data-page="prices"] .price-table td {
  border-right: 1px solid var(--color-border) !important;
  border-bottom: 1px solid var(--color-border) !important;
  color: var(--color-text-secondary) !important;
}

body[data-geokad-unified="true"][data-page="prices"] .price-table td:last-child {
  border-right: 0 !important;
}

body[data-geokad-unified="true"][data-page="prices"] .price-table :where(td:first-child, td:last-child),
body[data-geokad-unified="true"][data-page="prices"] .price-section-title {
  color: var(--color-brand) !important;
}

body[data-geokad-unified="true"][data-page="prices"] .price-table strong {
  color: var(--color-text) !important;
}

body[data-geokad-unified="true"][data-page="prices"] .price-table tbody tr:hover,
body[data-geokad-unified="true"][data-page="prices"] .price-table tbody tr.subrow td {
  background: var(--color-surface-success) !important;
}

body[data-geokad-unified="true"] .calc-mobile-sticky__amount,
body[data-geokad-unified="true"] .landing-calculator__form .calc-checkbox__price > span[style]:last-child {
  color: var(--color-brand) !important;
}

body[data-geokad-unified="true"] .calc-mobile-sticky {
  border-top: 1px solid var(--color-border) !important;
  background: var(--color-surface-raised) !important;
  box-shadow: 0 -10px 30px rgba(37, 38, 33, 0.1) !important;
}

body[data-geokad-unified="true"] .calc-mobile-sticky__label {
  color: var(--color-text-muted) !important;
}

body[data-geokad-unified="true"] .landing-calculator__form .calc-radio__price {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal !important;
}

body[data-geokad-unified="true"] .calc-mobile-sticky__button {
  border-color: var(--color-brand) !important;
  background: var(--color-brand) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] .calc-mobile-sticky__button:hover,
body[data-geokad-unified="true"] .calc-mobile-sticky__button:focus,
body[data-geokad-unified="true"] .calc-mobile-sticky__button:focus-visible {
  border-color: var(--color-brand-hover) !important;
  background: var(--color-brand-hover) !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] .landing-calculator__form :where(input[type="radio"], input[type="checkbox"], input[type="range"]) {
  accent-color: var(--color-brand) !important;
}

body[data-geokad-unified="true"] .landing-calculator__form :where(.calc-radio, .calc-checkbox):has(input:checked) {
  border-color: var(--color-brand) !important;
  background: var(--color-surface-success) !important;
}

body[data-geokad-unified="true"] .landing-calculator__form :where(.calc-range, .calc-slider) {
  background: linear-gradient(90deg, rgba(37, 92, 56, 0.18), rgba(37, 92, 56, 0.32)) !important;
}

body[data-geokad-unified="true"] .landing-calculator__form :where(.calc-range, .calc-slider)::-webkit-slider-thumb {
  background: var(--color-brand) !important;
  box-shadow: 0 2px 8px rgba(37, 92, 56, 0.28) !important;
}

body[data-geokad-unified="true"] .landing-calculator__form :where(.calc-range, .calc-slider)::-moz-range-thumb {
  border-color: var(--color-brand) !important;
  background: var(--color-brand) !important;
  box-shadow: 0 2px 8px rgba(37, 92, 56, 0.28) !important;
}

body[data-geokad-unified="true"] .landing-calculator__form .calc-checkbox__title > span[style] {
  background: var(--color-brand) !important;
  color: #fff !important;
}

body[data-geokad-unified="true"] .faq details,
body[data-geokad-unified="true"] .faq-card {
  border-color: var(--color-border) !important;
  background: var(--color-surface-raised) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body[data-geokad-unified="true"] .faq details[open] {
  border-color: var(--color-brand) !important;
  background: var(--color-surface-success) !important;
}

/*
 * Shared legacy overlays.
 *
 * Legacy JavaScript still owns the contact chooser, onsite chat, delayed lead
 * form and image lightbox. Keep that proven behaviour, but make every visible
 * state part of the black-and-green Geokad-PMK system. The scoped selectors
 * deliberately outrank styles injected by legacy JavaScript after page load.
 */
body[data-geokad-unified="true"] .contact-menu {
  color: var(--color-text) !important;
}

/* Legacy author styles set the chat form to display:grid, which otherwise
 * overrides the native hidden attribute and exposes two interface states at
 * once. Hidden remains authoritative for every injected legacy overlay. */
body[data-geokad-unified="true"] :where(
  .contact-menu__chat,
  .contact-menu__status,
  .contact-menu__error,
  .contact-menu__response,
  .lead-catcher__response
)[hidden] {
  display: none !important;
}

body[data-geokad-unified="true"] .contact-menu__dialog {
  width: min(390px, calc(100vw - 32px));
  min-width: 0;
  max-width: min(390px, calc(100vw - 32px));
  max-height: min(82dvh, 520px);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--color-border) !important;
  border-radius: 12px !important;
  background: var(--color-surface-raised) !important;
  color: var(--color-text) !important;
  box-shadow: 0 24px 64px rgba(23, 25, 21, 0.18) !important;
}

body[data-geokad-unified="true"] .contact-menu__close,
body[data-geokad-unified="true"] .contact-menu__chat-back {
  border: 1px solid var(--color-border) !important;
  border-radius: 6px !important;
  background: var(--color-surface) !important;
  color: var(--color-text-secondary) !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] .contact-menu__close:hover,
body[data-geokad-unified="true"] .contact-menu__close:focus,
body[data-geokad-unified="true"] .contact-menu__chat-back:hover,
body[data-geokad-unified="true"] .contact-menu__chat-back:focus {
  border-color: var(--color-brand) !important;
  background: var(--color-surface-success) !important;
  color: var(--color-brand) !important;
}

body[data-geokad-unified="true"] .contact-menu__header {
  gap: 8px;
}

body[data-geokad-unified="true"] .contact-menu__eyebrow {
  width: fit-content;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--color-brand) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

body[data-geokad-unified="true"] .contact-menu__title {
  color: var(--color-text) !important;
  font-size: 24px;
  line-height: 1.2;
}

body[data-geokad-unified="true"] .contact-menu__options {
  gap: 8px;
}

body[data-geokad-unified="true"] .contact-menu__option {
  min-height: 74px;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid var(--color-border) !important;
  border-radius: 8px !important;
  background: var(--color-surface) !important;
  color: var(--color-text) !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] .contact-menu__option:hover,
body[data-geokad-unified="true"] .contact-menu__option:focus {
  border-color: var(--color-brand) !important;
  background: var(--color-surface-success) !important;
  color: var(--color-text) !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

body[data-geokad-unified="true"] .contact-menu__option-icon,
body[data-geokad-unified="true"] .contact-menu__option--max .contact-menu__option-icon,
body[data-geokad-unified="true"] .contact-menu__option--telegram .contact-menu__option-icon,
body[data-geokad-unified="true"] .contact-menu__option--onsite .contact-menu__option-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(37, 92, 56, 0.16);
  border-radius: 8px !important;
  background: var(--color-surface-success) !important;
  color: var(--color-brand) !important;
}

body[data-geokad-unified="true"] .contact-menu__option-content strong {
  color: var(--color-text) !important;
  font-size: 15px;
  font-weight: 750;
}

body[data-geokad-unified="true"] .contact-menu__option-content span {
  color: var(--color-text-muted) !important;
  font-size: 13px;
  line-height: 1.35;
}

body[data-geokad-unified="true"] .contact-menu__label,
body[data-geokad-unified="true"] .contact-menu__hint,
body[data-geokad-unified="true"] .contact-menu__consent {
  color: var(--color-text-muted) !important;
}

body[data-geokad-unified="true"] .contact-menu__hint a,
body[data-geokad-unified="true"] .contact-menu__consent a {
  color: var(--color-brand) !important;
  text-decoration-color: rgba(37, 92, 56, 0.38);
  text-underline-offset: 3px;
}

body[data-geokad-unified="true"] .contact-menu__consent input {
  accent-color: var(--color-brand);
}

body[data-geokad-unified="true"] .contact-menu__input,
body[data-geokad-unified="true"] .contact-menu__textarea,
body[data-geokad-unified="true"] .contact-menu__composer .contact-menu__textarea--chat {
  border: 1px solid var(--color-border-strong) !important;
  border-radius: 6px !important;
  background: var(--color-surface-raised) !important;
  color: var(--color-text) !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] .contact-menu__input::placeholder,
body[data-geokad-unified="true"] .contact-menu__textarea::placeholder,
body[data-geokad-unified="true"] .contact-menu__composer .contact-menu__textarea--chat::placeholder {
  color: var(--color-text-subtle) !important;
}

body[data-geokad-unified="true"] .contact-menu__input:focus,
body[data-geokad-unified="true"] .contact-menu__textarea:focus,
body[data-geokad-unified="true"] .contact-menu__composer .contact-menu__textarea--chat:focus {
  border-color: var(--color-brand) !important;
  box-shadow: 0 0 0 3px var(--color-focus) !important;
}

body[data-geokad-unified="true"] .contact-menu__back {
  border: 1px solid var(--color-border-strong) !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: var(--color-text) !important;
}

body[data-geokad-unified="true"] .contact-menu__back:hover,
body[data-geokad-unified="true"] .contact-menu__back:focus {
  border-color: var(--color-brand) !important;
  background: var(--color-surface-success) !important;
  color: var(--color-brand) !important;
}

body[data-geokad-unified="true"] .contact-menu__error {
  border: 1px solid rgba(163, 63, 49, 0.28) !important;
  border-radius: 6px !important;
  background: rgba(163, 63, 49, 0.08) !important;
  color: var(--color-error) !important;
}

body[data-geokad-unified="true"] .contact-menu__response {
  border: 1px solid rgba(37, 92, 56, 0.28) !important;
  border-radius: 6px !important;
  background: var(--color-surface-success) !important;
  color: var(--color-brand-hover) !important;
}

body[data-geokad-unified="true"] .contact-menu--chat .contact-menu__dialog {
  border: 1px solid var(--color-border) !important;
  border-radius: 12px !important;
  background: var(--color-surface-raised) !important;
  box-shadow: 0 24px 64px rgba(23, 25, 21, 0.18) !important;
}

body[data-geokad-unified="true"] .contact-menu__chat-head,
body[data-geokad-unified="true"] .contact-menu__chat-footer {
  border-color: var(--color-border) !important;
  background: var(--color-surface-raised) !important;
}

body[data-geokad-unified="true"] .contact-menu__chat-avatar {
  background: var(--color-brand) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] .contact-menu__chat-meta strong {
  color: var(--color-text) !important;
}

body[data-geokad-unified="true"] .contact-menu__chat-meta span {
  color: var(--color-text-muted) !important;
}

body[data-geokad-unified="true"] .contact-menu__messages {
  border: 0 !important;
  background: var(--color-canvas) !important;
}

body[data-geokad-unified="true"] .contact-menu__chat-empty,
body[data-geokad-unified="true"] .contact-menu__message--manager {
  border: 1px solid var(--color-border) !important;
  border-radius: 10px 10px 10px 3px !important;
  background: var(--color-surface-raised) !important;
  color: var(--color-text-secondary) !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] .contact-menu__message--visitor {
  border-radius: 10px 10px 3px 10px !important;
  background: var(--color-brand) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] .contact-menu__message-time {
  color: rgba(255, 255, 255, 0.72) !important;
}

body[data-geokad-unified="true"] .contact-menu__message--manager .contact-menu__message-time {
  color: var(--color-text-subtle) !important;
}

body[data-geokad-unified="true"] .contact-menu__status {
  color: var(--color-text-muted) !important;
}

body[data-geokad-unified="true"] .contact-menu__status[data-kind="ok"] {
  color: var(--color-brand) !important;
}

body[data-geokad-unified="true"] .contact-menu__status[data-kind="error"] {
  color: var(--color-error) !important;
}

body[data-geokad-unified="true"] .contact-menu--chat .contact-menu__submit {
  border: 1px solid var(--color-brand) !important;
  border-radius: 6px !important;
  background: var(--color-brand) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] .contact-menu--chat .contact-menu__submit:hover,
body[data-geokad-unified="true"] .contact-menu--chat .contact-menu__submit:focus {
  border-color: var(--color-brand-hover) !important;
  background: var(--color-brand-hover) !important;
}

body[data-geokad-unified="true"] .contact-menu--chat .contact-menu__close {
  background: var(--color-surface) !important;
  color: var(--color-text-secondary) !important;
}

/* Calculator request dialogs exist on a small legacy subset. */
body[data-geokad-unified="true"] .calc-modal__overlay {
  background: rgba(23, 25, 21, 0.52) !important;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

body[data-geokad-unified="true"] .calc-modal__content {
  width: min(520px, calc(100vw - 40px));
  max-width: 520px;
  max-height: min(88dvh, 760px);
  padding: 28px !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 12px !important;
  background: var(--color-surface-raised) !important;
  color: var(--color-text) !important;
  box-shadow: 0 24px 64px rgba(23, 25, 21, 0.2) !important;
  overflow-y: auto;
}

body[data-geokad-unified="true"] .calc-modal__close {
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--color-border) !important;
  border-radius: 6px !important;
  background: var(--color-surface) !important;
  color: var(--color-text-secondary) !important;
  font-size: 24px;
  opacity: 1 !important;
}

body[data-geokad-unified="true"] .calc-modal__close:hover,
body[data-geokad-unified="true"] .calc-modal__close:focus {
  border-color: var(--color-brand) !important;
  background: var(--color-surface-success) !important;
  color: var(--color-brand) !important;
}

body[data-geokad-unified="true"] .calc-modal__header {
  margin: 0 44px 20px 0;
}

body[data-geokad-unified="true"] .calc-modal__title {
  margin: 0 0 7px;
  color: var(--color-text) !important;
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

body[data-geokad-unified="true"] .calc-modal__subtitle,
body[data-geokad-unified="true"] .calc-modal__note {
  margin: 0;
  color: var(--color-text-muted) !important;
  line-height: 1.5;
}

body[data-geokad-unified="true"] .calc-modal__summary {
  margin: 0 0 20px;
  padding: 10px 15px;
  border: 1px solid var(--color-border) !important;
  border-radius: 8px !important;
  background: var(--color-surface-success) !important;
}

body[data-geokad-unified="true"] .calc-modal__summary-item {
  gap: 18px;
  padding: 9px 0;
}

body[data-geokad-unified="true"] .calc-modal__summary-label {
  color: var(--color-text-secondary) !important;
}

body[data-geokad-unified="true"] .calc-modal__summary-value {
  color: var(--color-text) !important;
  text-align: right;
}

body[data-geokad-unified="true"] .calc-modal__summary-item:not(:last-child) {
  border-bottom-color: rgba(37, 92, 56, 0.16) !important;
}

body[data-geokad-unified="true"] .calc-modal__summary-total,
body[data-geokad-unified="true"] .calc-modal__note a {
  color: var(--color-brand) !important;
}

body[data-geokad-unified="true"] .calc-modal__form {
  display: grid;
  gap: 14px;
}

body[data-geokad-unified="true"] .calc-modal__label {
  gap: 7px;
  margin: 0;
}

body[data-geokad-unified="true"] .calc-modal__label-text {
  color: var(--color-text-secondary) !important;
  font-size: 14px;
  font-weight: 650;
}

body[data-geokad-unified="true"] .calc-modal__input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--color-border-strong) !important;
  border-radius: 6px !important;
  background: var(--color-surface-raised) !important;
  color: var(--color-text) !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] .calc-modal__input:focus {
  border-color: var(--color-brand) !important;
  box-shadow: 0 0 0 3px var(--color-focus) !important;
}

body[data-geokad-unified="true"] .calc-modal__submit {
  gap: 6px;
}

body[data-geokad-unified="true"] .calc-modal__submit .button {
  min-height: 50px;
  border: 1px solid var(--color-brand) !important;
  border-radius: 6px !important;
  background: var(--color-brand) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] .calc-modal__submit .button:hover,
body[data-geokad-unified="true"] .calc-modal__submit .button:focus {
  border-color: var(--color-brand-hover) !important;
  background: var(--color-brand-hover) !important;
}

body[data-geokad-unified="true"] .calc-modal :where(.form__consent, .form__policy-note) {
  margin: 0 !important;
  color: var(--color-text-muted) !important;
  font-size: 12px !important;
  line-height: 1.45;
}

body[data-geokad-unified="true"] .calc-modal :where(.form__consent, .form__policy-note) a {
  color: var(--color-brand) !important;
  text-decoration-color: rgba(37, 92, 56, 0.38);
  text-underline-offset: 3px;
}

body[data-geokad-unified="true"] .calc-modal .form__consent input {
  accent-color: var(--color-brand);
}

/* Delayed callback form; its base rules are injected by legacy JavaScript. */
body[data-geokad-unified="true"] .lead-catcher {
  background: rgba(23, 25, 21, 0.46) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  backdrop-filter: blur(6px) !important;
}

body[data-geokad-unified="true"] .lead-catcher__dialog {
  max-height: min(90dvh, 680px);
  border: 1px solid var(--color-border) !important;
  border-radius: 12px !important;
  background: var(--color-surface-raised) !important;
  color: var(--color-text) !important;
  box-shadow: 0 26px 72px rgba(23, 25, 21, 0.22) !important;
}

body[data-geokad-unified="true"] .lead-catcher__content {
  max-height: min(90dvh, 680px);
  overflow-y: auto;
  padding: 28px !important;
}

body[data-geokad-unified="true"] .lead-catcher__badge {
  margin-bottom: 10px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--color-brand) !important;
  font-size: 11px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body[data-geokad-unified="true"] .lead-catcher__title {
  color: var(--color-text) !important;
  font-size: 25px !important;
  letter-spacing: -0.02em;
}

body[data-geokad-unified="true"] .lead-catcher__text,
body[data-geokad-unified="true"] .lead-catcher__consent,
body[data-geokad-unified="true"] .lead-catcher .form__policy-note {
  color: var(--color-text-muted) !important;
}

body[data-geokad-unified="true"] .lead-catcher__consent a,
body[data-geokad-unified="true"] .lead-catcher .form__policy-note a {
  color: var(--color-brand) !important;
  text-decoration-color: rgba(37, 92, 56, 0.38);
  text-underline-offset: 3px;
}

body[data-geokad-unified="true"] .lead-catcher__consent input {
  accent-color: var(--color-brand);
}

body[data-geokad-unified="true"] .lead-catcher__form input[type="text"],
body[data-geokad-unified="true"] .lead-catcher__form input[type="tel"] {
  border: 1px solid var(--color-border-strong) !important;
  border-radius: 6px !important;
  background: var(--color-surface-raised) !important;
  color: var(--color-text) !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] .lead-catcher__form input::placeholder {
  color: var(--color-text-subtle) !important;
}

body[data-geokad-unified="true"] .lead-catcher__form input:focus {
  border-color: var(--color-brand) !important;
  outline: 0;
  box-shadow: 0 0 0 3px var(--color-focus) !important;
}

body[data-geokad-unified="true"] .lead-catcher__submit {
  border: 1px solid var(--color-brand) !important;
  border-radius: 6px !important;
  background: var(--color-brand) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body[data-geokad-unified="true"] .lead-catcher__submit:hover,
body[data-geokad-unified="true"] .lead-catcher__submit:focus {
  border-color: var(--color-brand-hover) !important;
  background: var(--color-brand-hover) !important;
}

body[data-geokad-unified="true"] .lead-catcher__close {
  border: 1px solid var(--color-border) !important;
  border-radius: 6px !important;
  background: var(--color-surface) !important;
  color: var(--color-text-secondary) !important;
}

body[data-geokad-unified="true"] .lead-catcher__close:hover,
body[data-geokad-unified="true"] .lead-catcher__close:focus {
  border-color: var(--color-brand) !important;
  background: var(--color-surface-success) !important;
  color: var(--color-brand) !important;
}

/* Image viewer keeps a dark photographic surround, without the old red CTA. */
body[data-geokad-unified="true"] #image-lightbox {
  font-family: inherit !important;
}

body[data-geokad-unified="true"] #image-lightbox .image-lightbox__overlay {
  background: rgba(15, 16, 14, 0.88) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

body[data-geokad-unified="true"] #image-lightbox .image-lightbox__content {
  animation: none !important;
}

body[data-geokad-unified="true"] #image-lightbox .image-lightbox__image {
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 8px !important;
  background: var(--color-surface-raised);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.42) !important;
}

body[data-geokad-unified="true"] #image-lightbox .image-lightbox__caption {
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: inherit !important;
}

body[data-geokad-unified="true"] #image-lightbox .image-lightbox__close {
  top: 18px !important;
  right: 18px !important;
  min-width: 104px !important;
  height: 44px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 6px !important;
  background: rgba(251, 250, 246, 0.96) !important;
  color: var(--color-text) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28) !important;
  animation: none !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 750 !important;
}

body[data-geokad-unified="true"] #image-lightbox .image-lightbox__close:hover,
body[data-geokad-unified="true"] #image-lightbox .image-lightbox__close:focus {
  border-color: rgba(255, 255, 255, 0.82) !important;
  background: #fff !important;
  color: var(--color-brand) !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.34) !important;
  transform: translateY(-1px) !important;
}

body[data-geokad-unified="true"] #image-lightbox .image-lightbox__hint {
  padding: 9px 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px !important;
  background: rgba(15, 16, 14, 0.72) !important;
  color: rgba(255, 255, 255, 0.74) !important;
  font-family: inherit !important;
  animation: none !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* Tablet and mobile shell. */
@media (max-width: 1180px) {
  body[data-geokad-unified="true"] {
    --layout-padding: 20px;
  }

  body[data-geokad-unified="true"] .container {
    padding-inline: 20px;
  }

  body[data-geokad-unified="true"] .gpk-header {
    padding-inline: 20px !important;
  }

  body[data-geokad-unified="true"] .gpk-footer {
    padding-inline: 20px !important;
  }
}

@media (max-width: 1120px) {
  body[data-geokad-unified="true"].menu-open {
    overflow: hidden;
  }

  body[data-geokad-unified="true"].menu-open .cookie-banner,
  body[data-geokad-unified="true"].menu-open .cookie-backdrop {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  body[data-geokad-unified="true"] .gpk-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  body[data-geokad-unified="true"] .gpk-header__brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  body[data-geokad-unified="true"] .gpk-header__actions {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  body[data-geokad-unified="true"] .gpk-header__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    position: fixed !important;
    inset: 92px 20px auto !important;
    z-index: 2450;
    display: grid !important;
    height: auto !important;
    max-height: 0;
    align-content: start;
    justify-content: stretch !important;
    gap: 0 !important;
    overflow: hidden;
    padding: 0 16px !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    background: rgba(251, 250, 246, 0.97) !important;
    box-shadow: 0 22px 58px rgba(23, 25, 21, 0.16) !important;
    opacity: 0;
    pointer-events: none;
    transition: max-height 220ms ease, opacity 180ms ease, padding 220ms ease, border-color 180ms ease !important;
  }

  body[data-geokad-unified="true"] .gpk-header__nav.open {
    max-height: min(620px, calc(100dvh - 110px));
    padding-block: 10px 18px !important;
    border-color: rgba(255, 255, 255, 0.82) !important;
    opacity: 1;
    pointer-events: auto;
  }

  body[data-geokad-unified="true"] .gpk-header__link {
    min-height: 48px;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border) !important;
    font-size: 15px !important;
  }

  body[data-geokad-unified="true"] .gpk-header__link:hover,
  body[data-geokad-unified="true"] .gpk-header__link.nav__link--active,
  body[data-geokad-unified="true"][data-page="articles"] .gpk-header__link[data-nav="articles"] {
    border-bottom-color: var(--color-border) !important;
    color: var(--color-brand) !important;
  }

  body[data-geokad-unified="true"] .gpk-header__menu {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    width: 44px !important;
    height: 44px !important;
    place-content: center;
    gap: 5px;
    padding: 0 !important;
    border: 1px solid var(--color-border-strong) !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: var(--color-text) !important;
  }

  body[data-geokad-unified="true"] .gpk-header__menu span {
    display: block;
    width: 17px;
    height: 1px;
    margin: 0 !important;
    background: currentColor !important;
  }

  body[data-geokad-unified="true"] .gpk-header__menu::before,
  body[data-geokad-unified="true"] .gpk-header__menu::after {
    content: none !important;
  }

  body[data-geokad-unified="true"] .gpk-header__menu.active span:first-child {
    opacity: 1 !important;
    transform: translateY(6px) rotate(45deg);
  }

  body[data-geokad-unified="true"] .gpk-header__menu.active span:nth-child(2) {
    opacity: 0;
  }

  body[data-geokad-unified="true"] .gpk-header__menu.active span:last-child {
    opacity: 1 !important;
    transform: translateY(-6px) rotate(-45deg);
  }

  body[data-geokad-unified="true"] .menu-overlay {
    position: fixed !important;
    z-index: 2350 !important;
    inset: 0 !important;
    display: block !important;
    background: rgba(23, 25, 21, 0.34) !important;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  body[data-geokad-unified="true"] .menu-overlay.show {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  body[data-geokad-unified="true"] .gpk-footer__navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-geokad-unified="true"] .article-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body[data-geokad-unified="true"] .article-sidebar {
    position: static !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body[data-geokad-unified="true"][data-page="prices"] .price-table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: var(--color-brand) var(--color-surface-warm);
    scrollbar-width: thin;
  }

  body[data-geokad-unified="true"][data-page="prices"] .price-table::-webkit-scrollbar {
    height: 10px;
  }

  body[data-geokad-unified="true"][data-page="prices"] .price-table::-webkit-scrollbar-track {
    background: var(--color-surface-warm);
  }

  body[data-geokad-unified="true"][data-page="prices"] .price-table::-webkit-scrollbar-thumb {
    border: 2px solid var(--color-surface-warm);
    border-radius: 999px;
    background: var(--color-brand);
  }

  body[data-geokad-unified="true"][data-page="prices"] .price-table :where(th, td):first-child {
    width: 68px !important;
    min-width: 68px;
  }

  body[data-geokad-unified="true"][data-page="prices"] .price-table :where(th, td):nth-child(2) {
    width: 270px !important;
    min-width: 270px;
  }

  body[data-geokad-unified="true"][data-page="prices"] .price-table :where(th, td):nth-child(3) {
    width: 142px !important;
    min-width: 142px;
  }

  body[data-geokad-unified="true"][data-page="prices"] .price-table :where(th, td):last-child {
    width: 142px !important;
    min-width: 142px;
  }

  body[data-geokad-unified="true"] .articles-grid {
    grid-template-columns: 1fr !important;
  }

  body[data-geokad-unified="true"] .article-card,
  body[data-geokad-unified="true"] .article-card:nth-child(2n) {
    min-height: 0 !important;
    padding: 22px 4px !important;
    border-right: 0 !important;
  }

  body[data-geokad-unified="true"] .articles-list-header {
    display: block !important;
  }

  body[data-geokad-unified="true"] .article-related__inner {
    grid-template-columns: 1fr !important;
  }

  body[data-geokad-unified="true"] .article-related__card {
    border-right: 0 !important;
  }

  body[data-geokad-unified="true"] .article-sidebar {
    grid-template-columns: 1fr;
  }

  body[data-geokad-unified="true"] .landing-calculator__form > .calc-fieldset {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-inline-size: 0;
  }

  body[data-geokad-unified="true"] .landing-calculator__form > .calc-fieldset > :not(legend),
  body[data-geokad-unified="true"] .landing-calculator__form :where(.calc-field, .calc-area-inputs, .calc-urgency, .calc-radio, .calc-checkbox) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
  }
}

@media (max-width: 680px) {
  body[data-geokad-unified="true"] .contact-menu__dialog,
  body[data-geokad-unified="true"] .contact-menu--chat .contact-menu__dialog {
    width: calc(100vw - 20px) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 20px) !important;
    border-radius: 10px !important;
  }

  body[data-geokad-unified="true"] .contact-menu__dialog {
    padding: 18px;
  }

  body[data-geokad-unified="true"] .contact-menu--chat .contact-menu__dialog {
    height: min(76dvh, calc(100dvh - 104px));
    max-height: calc(100dvh - 104px);
    padding: 0;
  }

  body[data-geokad-unified="true"] .contact-menu__option {
    min-height: 68px;
    padding: 11px 12px;
  }

  body[data-geokad-unified="true"] .contact-menu__chat-head {
    padding-right: 50px;
  }

  body[data-geokad-unified="true"] .lead-catcher {
    padding: 12px !important;
  }

  body[data-geokad-unified="true"] .lead-catcher__dialog {
    border-radius: 10px !important;
  }

  body[data-geokad-unified="true"] .lead-catcher__content {
    padding: 22px 18px 18px !important;
  }

  body[data-geokad-unified="true"] .lead-catcher__title {
    font-size: 22px !important;
  }

  body[data-geokad-unified="true"] .calc-modal {
    padding: 12px;
  }

  body[data-geokad-unified="true"] .calc-modal__content {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    padding: 22px 18px !important;
    border-radius: 10px !important;
  }

  body[data-geokad-unified="true"] .calc-modal__header {
    margin-right: 38px;
  }

  body[data-geokad-unified="true"] .calc-modal__title {
    font-size: 22px;
  }

  body[data-geokad-unified="true"] .calc-modal__summary-item {
    align-items: flex-start;
    gap: 12px;
  }

  body[data-geokad-unified="true"] .calc-modal__summary-value {
    max-width: 58%;
  }

  body[data-geokad-unified="true"] #image-lightbox .image-lightbox__close {
    top: 10px !important;
    right: 10px !important;
    min-width: 44px !important;
    width: 44px !important;
    padding: 0 !important;
  }

  body[data-geokad-unified="true"] #image-lightbox .image-lightbox__close-text {
    display: none !important;
  }

  body[data-geokad-unified="true"] #image-lightbox .image-lightbox__hint {
    bottom: 12px !important;
    width: max-content;
    max-width: calc(100vw - 24px) !important;
    font-size: 11px !important;
  }

  body[data-geokad-unified="true"] {
    --layout-padding: 14px;
    --header-height: 80px;
  }

  body[data-geokad-unified="true"] .container {
    padding-inline: 14px;
  }

  body[data-geokad-unified="true"] .gpk-header {
    height: 80px !important;
    padding: 8px 14px !important;
  }

  body[data-geokad-unified="true"] .gpk-header__inner {
    min-height: 64px;
    padding-inline: 12px 8px;
    border-radius: 16px;
  }

  body[data-geokad-unified="true"] .gpk-header__inner::before {
    border-radius: 15px;
  }

  body[data-geokad-unified="true"] .gpk-header__brand {
    width: 44px !important;
    height: 44px !important;
  }

  body[data-geokad-unified="true"] .gpk-header__wordmark {
    display: none !important;
  }

  body[data-geokad-unified="true"] .gpk-header__mark {
    display: block !important;
  }

  body[data-geokad-unified="true"] .gpk-header__cta {
    min-height: 42px;
    padding-inline: 13px;
  }

  body[data-geokad-unified="true"] .gpk-header__cta-full {
    display: none;
  }

  body[data-geokad-unified="true"] .gpk-header__cta-short {
    display: inline;
  }

  body[data-geokad-unified="true"] .gpk-header__nav {
    inset: 78px 14px auto !important;
  }

  body[data-geokad-unified="true"] .gpk-footer {
    padding: 52px 14px 28px !important;
  }

  body[data-geokad-unified="true"] .gpk-footer__top,
  body[data-geokad-unified="true"] .gpk-footer__bottom {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  body[data-geokad-unified="true"] .gpk-footer__top {
    padding-bottom: 38px !important;
  }

  body[data-geokad-unified="true"] .gpk-footer__statement h2 {
    font-size: 36px;
  }

  body[data-geokad-unified="true"] .gpk-footer__navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
    padding: 28px 0;
  }

  body[data-geokad-unified="true"] .gpk-footer__navigation nav:last-child {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-geokad-unified="true"] .gpk-footer__navigation nav:last-child > span {
    grid-column: 1 / -1;
  }

  body[data-geokad-unified="true"] .cookie-banner {
    right: 10px !important;
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    left: 10px !important;
  }

  body[data-geokad-unified="true"] .cookie-banner__card {
    padding: 14px !important;
  }

  body[data-geokad-unified="true"] .cookie-banner__title {
    margin-bottom: 5px !important;
    font-size: 16px !important;
  }

  body[data-geokad-unified="true"] .cookie-banner p {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  body[data-geokad-unified="true"] .cookie-banner__btns {
    gap: 7px !important;
    margin-top: 10px !important;
  }

  body[data-geokad-unified="true"] .cookie-banner__button {
    min-height: 40px;
    min-width: 0;
    padding: 8px !important;
    font-size: 12px !important;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  body[data-geokad-unified="true"] .cookie-banner__btns {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  body[data-geokad-unified="true"][data-page="search-lp"] .hero::before,
  body[data-geokad-unified="true"][data-page="rsya-kadastr"] .hero::before {
    background: linear-gradient(180deg, rgba(243, 241, 235, 0.96), rgba(243, 241, 235, 0.9)), url("/assets/img/rsya-kadastr/hero-geodesy.webp") center top / cover no-repeat !important;
  }

  body[data-geokad-unified="true"][data-page="search-lp"] .hero__grid,
  body[data-geokad-unified="true"][data-page="rsya-kadastr"] .hero__grid {
    padding-top: 28px !important;
  }

  body[data-geokad-unified="true"][data-page="search-lp"] .hero h1,
  body[data-geokad-unified="true"][data-page="rsya-kadastr"] .hero h1 {
    font-size: clamp(38px, 11vw, 48px) !important;
  }

  body[data-geokad-unified="true"] .articles-hero {
    padding: 54px 0 44px !important;
    background: linear-gradient(145deg, #f8f6f0, #edf3eb) !important;
  }

  body[data-geokad-unified="true"] .articles-hero::after {
    content: none;
  }

  body[data-geokad-unified="true"] .articles-hero__title,
  body[data-geokad-unified="true"] .article-hero h1,
  body[data-geokad-unified="true"].page .article-header h1,
  body[data-geokad-unified="true"].page .article-header__title {
    max-width: 100% !important;
    font-size: clamp(36px, 10vw, 44px) !important;
    overflow-wrap: break-word;
  }

  body[data-geokad-unified="true"][data-page="articles"] main ul[style*="column-count:3"] {
    column-count: 1 !important;
    column-gap: 0 !important;
  }

  body[data-geokad-unified="true"] .article-hero {
    padding: 44px 0 !important;
  }

  body[data-geokad-unified="true"] .article-layout {
    padding-top: 28px;
  }

  body[data-geokad-unified="true"] .article-content {
    padding: 22px 18px !important;
  }

  body[data-geokad-unified="true"] .landing-hero {
    padding: 42px 0 48px !important;
  }

  body[data-geokad-unified="true"] .landing-hero__title {
    font-size: clamp(38px, 11vw, 48px) !important;
  }

  body[data-geokad-unified="true"] .landing-hero__stats li {
    width: 100% !important;
  }

  body[data-geokad-unified="true"] .landing-calculator__grid,
  body[data-geokad-unified="true"] .landing-calculator__form,
  body[data-geokad-unified="true"] .landing-calculator__form > .calc-fieldset {
    min-width: 0;
  }

  body[data-geokad-unified="true"] .landing-calculator__form {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-geokad-unified="true"] *,
  body[data-geokad-unified="true"] *::before,
  body[data-geokad-unified="true"] *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
