/* =========================================================
   Production-ready optimized version
   ========================================================= */

/* golos-text-regular - cyrillic_latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/golos-text-v7-cyrillic_latin-regular.woff2') format('woff2'),
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    url('./fonts/golos-text-v7-cyrillic_latin-regular.ttf') format('truetype');
  /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* golos-text-500 - cyrillic_latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  src: url('./fonts/golos-text-v7-cyrillic_latin-500.woff2') format('woff2'),
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    url('./fonts/golos-text-v7-cyrillic_latin-500.ttf') format('truetype');
  /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* golos-text-600 - cyrillic_latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  src: url('./fonts/golos-text-v7-cyrillic_latin-600.woff2') format('woff2'),
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    url('./fonts/golos-text-v7-cyrillic_latin-600.ttf') format('truetype');
  /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* golos-text-700 - cyrillic_latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/golos-text-v7-cyrillic_latin-700.woff2') format('woff2'),
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    url('./fonts/golos-text-v7-cyrillic_latin-700.ttf') format('truetype');
  /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* golos-text-800 - cyrillic_latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 800;
  src: url('./fonts/golos-text-v7-cyrillic_latin-800.woff2') format('woff2'),
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    url('./fonts/golos-text-v7-cyrillic_latin-800.ttf') format('truetype');
  /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* =========================================================
   1. Design tokens
   ========================================================= */

:root {
  color-scheme: light;

  --ak-blue: #1a2744;
  --ak-blue-2: #243657;
  --ak-blue-3: #101a2e;
  --ak-blue-soft: #eef3fb;

  --ak-amber: #f59f00;
  --ak-amber-dark: #d98900;

  --ak-green: #168a4a;
  --ak-red: #c2410c;

  --ak-bg: #ffffff;
  --ak-bg-soft: #f5f7fb;
  --ak-bg-elevated: #ffffff;
  --ak-bg-dark-block: #121d33;
  --ak-bg-dark-card: #1a2744;

  --ak-text: #172033;
  --ak-text-strong: #1a2744;
  --ak-text-muted: #667085;
  --ak-text-white-muted: rgba(255, 255, 255, 0.78);
  --ak-placeholder: #8a94a6;

  --ak-border: #dfe5ef;
  --ak-border-strong: #dbe3ef;

  --ak-surface-1: #ffffff;
  --ak-surface-2: #fbfcfe;
  --ak-surface-3: #eef3fb;

  --ak-header-bg: rgba(255, 255, 255, 0.96);
  --ak-header-border: rgba(223, 229, 239, 0.9);

  --ak-gray: var(--ak-bg-soft);
  --ak-white: #ffffff;

  --ak-space: 1rem;
  --ak-gap: var(--ak-space);
  --ak-gap-lg: calc(var(--ak-space) * 1.5);
  --ak-gap-xl: calc(var(--ak-space) * 2);

  --ak-radius: 1rem;
  --ak-radius-sm: 0.75rem;
  --ak-radius-xs: 0.375rem;
  --ak-radius-pill: 999rem;

  --ak-header-height: 76px;

  --ak-shadow: 0 1.125rem 3.125rem rgba(16, 24, 40, 0.08);
  --ak-shadow-soft: 0 0.625rem 1.875rem rgba(16, 24, 40, 0.06);

  --ak-card-padding: calc(var(--ak-space) * 1.5);
  --ak-card-padding-sm: calc(var(--ak-space) * 1.25);
  --ak-section-padding: calc(var(--ak-space) * 3);
  --ak-section-padding-sm: calc(var(--ak-space) * 2);
  --ak-section-padding-tight: calc(var(--ak-space) * 2.75);

  --ak-footer-separator: rgba(255, 255, 255, 0.12);

  --ak-toast-gap: 0.75rem;
  --ak-toast-top: 1rem;
  --ak-toast-right: 1rem;
  --ak-toast-width: 360px;
  --ak-toast-z: 5000;

  /* Final nav states */
  --ak-nav-hover-bg: #e9eef8;
  --ak-nav-hover-border: #e9eef8;
  --ak-nav-hover-text: var(--ak-blue);
  --ak-nav-hover-desc: #4b5b77;

  --ak-nav-active-bg: #e9eef8;
  --ak-nav-active-border: #e9eef8;
  --ak-nav-active-text: var(--ak-blue);
  --ak-nav-active-desc: #4b5b77;
  --ak-nav-active-icon-bg: rgba(245, 159, 0, 0.14);
  --ak-nav-active-icon-color: var(--ak-amber-dark);

  /* Scrollbar */
  --ak-scrollbar-thumb: rgba(245, 159, 0, 0.92);
  --ak-scrollbar-thumb-hover: rgba(245, 159, 0, 0.92);
  --ak-scrollbar-track: rgba(26, 39, 68, 0.08);
}

/* =========================================================
   2. Dark theme tokens
   ========================================================= */

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    color-scheme: dark;

    --ak-bg: #0d1424;
    --ak-bg-soft: #111a2d;
    --ak-bg-elevated: #162033;
    --ak-bg-dark-block: #0b1220;
    --ak-bg-dark-card: #162238;

    --ak-text: #e6edf7;
    --ak-text-strong: #f3f6fb;
    --ak-text-muted: #a8b3c7;
    --ak-text-white-muted: rgba(255, 255, 255, 0.78);
    --ak-placeholder: #6f7b91;

    --ak-border: #273247;
    --ak-border-strong: #33415a;

    --ak-surface-1: #162033;
    --ak-surface-2: #1a2538;
    --ak-surface-3: #101a2e;

    --ak-header-bg: rgba(13, 20, 36, 0.88);
    --ak-header-border: rgba(39, 50, 71, 0.9);

    --ak-shadow: 0 1.125rem 3.125rem rgba(0, 0, 0, 0.35);
    --ak-shadow-soft: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.24);

    --ak-footer-separator: rgba(93, 109, 145, 0.34);
    --ak-gray: var(--ak-bg-soft);
    --ak-white: #162033;

    --ak-nav-hover-bg: rgba(126, 162, 234, 0.2);
    --ak-nav-hover-border: rgba(126, 162, 234, 0.38);
    --ak-nav-hover-text: #ffffff;
    --ak-nav-hover-desc: rgba(255, 255, 255, 0.74);

    --ak-nav-active-bg: rgba(126, 162, 234, 0.2);
    --ak-nav-active-border: rgba(126, 162, 234, 0.38);
    --ak-nav-active-text: #ffffff;
    --ak-nav-active-desc: rgba(255, 255, 255, 0.74);
    --ak-nav-active-icon-bg: rgba(126, 162, 234, 0.24);
    --ak-nav-active-icon-color: #d4e2ff;

    --ak-scrollbar-track: rgba(255, 255, 255, 0.1);
  }
}

html[data-theme="dark"] {
  color-scheme: dark;

  --ak-bg: #0d1424;
  --ak-bg-soft: #111a2d;
  --ak-bg-elevated: #162033;
  --ak-bg-dark-block: #0b1220;
  --ak-bg-dark-card: #162238;

  --ak-text: #e6edf7;
  --ak-text-strong: #f3f6fb;
  --ak-text-muted: #a8b3c7;
  --ak-text-white-muted: rgba(255, 255, 255, 0.78);
  --ak-placeholder: #6f7b91;

  --ak-border: #273247;
  --ak-border-strong: #33415a;

  --ak-surface-1: #162033;
  --ak-surface-2: #1a2538;
  --ak-surface-3: #101a2e;

  --ak-header-bg: rgba(13, 20, 36, 0.88);
  --ak-header-border: rgba(39, 50, 71, 0.9);

  --ak-shadow: 0 1.125rem 3.125rem rgba(0, 0, 0, 0.35);
  --ak-shadow-soft: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.24);

  --ak-footer-separator: rgba(93, 109, 145, 0.34);
  --ak-gray: var(--ak-bg-soft);
  --ak-white: #162033;

  --ak-nav-hover-bg: rgba(126, 162, 234, 0.2);
  --ak-nav-hover-border: rgba(126, 162, 234, 0.38);
  --ak-nav-hover-text: #ffffff;
  --ak-nav-hover-desc: rgba(255, 255, 255, 0.74);

  --ak-nav-active-bg: rgba(126, 162, 234, 0.2);
  --ak-nav-active-border: rgba(126, 162, 234, 0.38);
  --ak-nav-active-text: #ffffff;
  --ak-nav-active-desc: rgba(255, 255, 255, 0.74);
  --ak-nav-active-icon-bg: rgba(126, 162, 234, 0.24);
  --ak-nav-active-icon-color: #d4e2ff;

  --ak-scrollbar-track: rgba(255, 255, 255, 0.1);
}

html[data-theme="light"] {
  color-scheme: light;
}

/* =========================================================
   3. Base / reset
   ========================================================= */

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--ak-scrollbar-thumb) var(--ak-scrollbar-track);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  text-size-adjust: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body {
  margin: 0;
  font-family: "Golos Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ak-text);
  background: var(--ak-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a,
button {
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus,
a:active {
  color: var(--ak-amber-dark);
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: rgba(245, 159, 0, 0.28);
  color: #111827;
}

::-moz-selection {
  background: rgba(245, 159, 0, 0.28);
  color: #111827;
}

:focus-visible {
  outline: 3px solid rgba(245, 159, 0, 0.45);
  outline-offset: 3px;
  border-radius: var(--ak-radius-xs);
}

/* Chrome / Edge / Safari */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: var(--ak-scrollbar-track);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  background: var(--ak-scrollbar-thumb);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--ak-scrollbar-thumb-hover);
}

/* =========================================================
   4. Layout
   ========================================================= */

.page {
  overflow: clip;
}

.ak-container {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

.section {
  padding: var(--ak-section-padding) 0;
}

.section-sm {
  padding: var(--ak-section-padding-sm) 0;
}

.section-tight {
  padding: var(--ak-section-padding-tight) 0;
}

.section-gray {
  background: var(--ak-gray);
}

.section-blue {
  background:
    radial-gradient(circle at 12% 0%, rgba(245, 159, 0, 0.14), transparent 34%),
    linear-gradient(135deg, var(--ak-blue), var(--ak-blue-3));
  color: #ffffff;
}

/* =========================================================
   5. Typography
   ========================================================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--ak-space) * 0.5);
  margin-bottom: calc(var(--ak-space) * 0.75);
  color: #8a5523;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  line-height: 1.2;
}

.eyebrow i {
  position: relative;
  top: -0.0625rem;
  font-size: 1.1875rem;
}

.ak-header .eyebrow,
.hero .eyebrow,
.section-blue .eyebrow,
.seo-aside .eyebrow,
.sticky-aside .eyebrow,
.summary-panel.dark .eyebrow {
  color: var(--ak-amber);
}

h1,
h2,
h3 {
  margin: 0 0 calc(var(--ak-space) * 0.875);
  color: var(--ak-text-strong);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.section-blue h2,
.section-blue h3 {
  color: #ffffff;
}

h1 {
  font-size: clamp(2.15rem, 4.9vw, 3.45rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.6875rem, 3.4vw, 2.5rem);
  font-weight: 700;
}

h3 {
  font-size: 1.3125rem;
  font-weight: 700;
}

p {
  margin: 0 0 calc(var(--ak-space) * 0.875);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

.lead {
  color: var(--ak-text-muted);
  font-size: clamp(1.0625rem, 1.7vw, 1.3125rem);
  font-weight: 400;
  line-height: 1.55;
}

.section-blue .lead {
  color: rgba(255, 255, 255, 0.82);
}

.muted {
  color: var(--ak-text-muted);
}

.text-white-muted {
  color: var(--ak-text-white-muted);
}

.compact-text {
  max-width: 780px;
}

/* =========================================================
   6. Buttons
   ========================================================= */

.btn-ak {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--ak-space) * 0.5625);
  min-height: 2.875rem;
  padding: 0.75rem 1.1875rem;
  border: 2px solid transparent;
  border-radius: var(--ak-radius-pill);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
}

.btn-ak:hover,
.btn-ak:focus,
.btn-ak:active {
  text-decoration: none;
}

.btn-ak i {
  font-size: 1.25rem;
  text-decoration: none;
}

.btn-ak-primary {
  background: var(--ak-amber);
  color: #111827;
  border-color: var(--ak-amber);
  box-shadow: 0 0.75rem 1.75rem rgba(245, 159, 0, 0.26);
}

@media (hover: hover) and (pointer: fine) {
  .btn-ak-primary:hover {
    background: var(--ak-amber-dark);
    color: #111827;
    border-color: var(--ak-amber-dark);
    box-shadow: 0 1rem 2.125rem rgba(245, 159, 0, 0.32);
  }
}

.btn-ak-primary,
.btn-ak-primary:hover,
.btn-ak-primary:focus,
.btn-ak-primary:active {
  color: #111827;
}

.btn-ak-outline {
  background: transparent;
  color: var(--ak-text-strong);
  border-color: rgba(26, 39, 68, 0.24);
}

@media (hover: hover) and (pointer: fine) {

  /* Было только :hover — добавляем focus/active */
  .btn-ak-outline:hover,
  .btn-ak-outline:focus,
  .btn-ak-outline:focus-visible,
  .btn-ak-outline:active {
    background: var(--ak-blue);
    color: #ffffff;
    border-color: var(--ak-blue);
  }
}

/* Явный фокус-контур для клавиатурной навигации */
.btn-ak-outline:focus-visible {
  outline: 3px solid rgba(245, 159, 0, 0.45);
  outline-offset: 3px;
}

.btn-ak-light,
.btn-ak-light:link,
.btn-ak-light:visited {
  background: #ffffff;
  color: var(--ak-blue);
  border-color: #ffffff;
}

@media (hover: hover) and (pointer: fine) {

  .btn-ak-light:hover,
  .btn-ak-light:focus,
  .btn-ak-light:focus-visible,
  .btn-ak-light:active {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
  }

  .btn-ak-light:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
  }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(var(--ak-space) * 0.75);
}

/* =========================================================
   7. Accessibility
   ========================================================= */

.skip-link {
  position: absolute;
  top: 0.625rem;
  left: -999px;
  z-index: 3000;
  padding: 0.625rem 0.875rem;
  border-radius: var(--ak-radius-sm);
  background: var(--ak-blue);
  color: #ffffff;
  font-weight: 700;
}

.skip-link:focus {
  left: 0.625rem;
}

/* =========================================================
   8. Header / navigation
   ========================================================= */

.ak-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ak-header-bg);
  border-bottom: 1px solid var(--ak-header-border);
  backdrop-filter: blur(0.75rem);
}

.ak-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--ak-space) * 1.125);
  min-height: var(--ak-header-height);
}

.ak-logo {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--ak-space) * 0.625);
  color: var(--ak-text-strong);
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-decoration: none;
}

.ak-logo:hover,
.ak-logo:focus,
.ak-logo:active {
  color: var(--ak-text-strong);
  text-decoration: none;
}

.ak-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.625rem;
  height: 2.625rem;
  border-radius: var(--ak-radius-sm);
  background: var(--ak-blue);
  color: var(--ak-amber);
  font-size: 1.5625rem;
}

.ak-logo-accent {
  /* EE9D15 DC4C46 */
  color: #F0A32A;
}

html[data-theme="light"] .ak-navbar .ak-logo-accent {
  color: #A16207;
}

@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) .ak-navbar .ak-logo-accent {
    color: #A16207;
  }
}

.ak-nav {
  display: flex;
  align-items: center;
  gap: calc(var(--ak-space) * 0.25);
}

.ak-nav-link,
.ak-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--ak-space) * 0.375);
  min-height: 2.625rem;
  padding: 0.625rem 0.75rem;
  border: 0;
  border-radius: var(--ak-radius-sm);
  background: transparent;
  color: var(--ak-text);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition:
    color 0.08s linear,
    background-color 0.08s linear,
    border-color 0.08s linear,
    box-shadow 0.08s linear;
}

.ak-dropdown {
  position: relative;
}

.ak-dropdown::before,
.ak-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.ak-dropdown-toggle i {
  font-size: 1.125rem;
  transition: transform 0.1s ease;
}

.ak-dropdown:hover .ak-dropdown-toggle i,
.ak-dropdown:focus-within .ak-dropdown-toggle i,
.ak-dropdown.is-open .ak-dropdown-toggle i {
  transform: rotate(180deg);
}

.ak-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 22rem;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  padding: 0.5rem;
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius);
  background: var(--ak-bg-elevated);
  box-shadow: var(--ak-shadow);
  contain: layout paint style;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, -8px, 0);
  transition:
    opacity 0.2s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.2s;
  z-index: 1200;
}

.ak-dropdown:hover .ak-dropdown-menu,
.ak-dropdown:focus-within .ak-dropdown-menu,
.ak-dropdown.is-open .ak-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.2s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s;
  will-change: opacity, transform;
}

.ak-dropdown-menu::before {
  display: none;
}

.ak-dropdown.is-closing .ak-dropdown-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translate3d(0, -8px, 0) !important;
  transition:
    opacity 0.2s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.2s !important;
}

.ak-dropdown.is-closing .ak-dropdown-toggle i {
  transform: none !important;
}

.ak-dropdown.is-closing-instant .ak-dropdown-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: none !important;
}

.ak-dropdown.is-closing-instant .ak-dropdown-toggle i {
  transform: none !important;
  transition: none !important;
}

.ak-dropdown-item {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: 2.375rem minmax(0, 1fr);
  align-items: start;
  gap: calc(var(--ak-space) * 0.625);
  padding: 0.75rem;
  border-radius: var(--ak-radius-sm);
  color: var(--ak-text);
  text-decoration: none;
  transition:
    color 0.08s linear,
    background-color 0.08s linear,
    border-color 0.08s linear,
    box-shadow 0.08s linear;
}

.ak-dropdown-item+.ak-dropdown-item {
  margin-top: 0.125rem;
}

.ak-dropdown-toggle,
.ak-dropdown-toggle *,
.ak-dropdown-item,
.ak-dropdown-item * {
  -webkit-user-drag: none;
  user-select: none;
}

.ak-dropdown-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.375rem;
  height: 2.375rem;
  min-width: 2.375rem;
  min-height: 2.375rem;
  border-radius: var(--ak-radius-sm);
  background: rgba(245, 159, 0, 0.14);
  color: var(--ak-amber-dark);
  font-size: 1.375rem;
  line-height: 1;
}

.ak-dropdown-icon i {
  display: block;
  color: inherit;
  font-size: 1.375rem;
  line-height: 1;
  text-decoration: none;
}

.ak-dropdown-content {
  display: block;
  min-width: 0;
}

.ak-dropdown-content strong {
  display: block;
  margin-bottom: 0.1875rem;
  color: var(--ak-text-strong);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.ak-dropdown-content span {
  display: block;
  color: var(--ak-text-muted);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
}

.ak-header-actions {
  display: flex;
  align-items: center;
  gap: calc(var(--ak-space) * 0.625);
}

.ak-phone {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--ak-space) * 0.4375);
  color: var(--ak-text-strong);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.ak-phone:hover,
.ak-phone:focus,
.ak-phone:active {
  text-decoration: none;
}

.ak-phone i {
  color: var(--ak-amber-dark);
  font-size: 1.3125rem;
}

.ak-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.875rem;
  height: 2.875rem;
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius-sm);
  background: var(--ak-bg-elevated);
  color: var(--ak-text-strong);
  font-size: 1.625rem;
  cursor: pointer;
}

/* Final nav state system */

.ak-nav-link:hover,
.ak-nav-link:focus,
.ak-nav-link:focus-visible,
.ak-nav-link:active,
.ak-dropdown:hover .ak-dropdown-toggle,
.ak-dropdown:focus-within .ak-dropdown-toggle,
.ak-dropdown-toggle:hover,
.ak-dropdown-toggle:focus,
.ak-dropdown-toggle:focus-visible,
.ak-dropdown-toggle:active {
  background: var(--ak-nav-hover-bg);
  color: var(--ak-nav-hover-text);
  border-color: var(--ak-nav-hover-border);
  text-decoration: none;
}

.ak-nav-link.active,
.ak-nav-link[aria-current="page"],
.ak-dropdown-toggle.active,
.ak-dropdown-toggle[aria-current="page"] {
  background: var(--ak-nav-active-bg);
  color: var(--ak-nav-active-text);
  border-color: var(--ak-nav-active-border);
  text-decoration: none;
}

.ak-dropdown-item:hover,
.ak-dropdown-item:focus,
.ak-dropdown-item:active {
  background: var(--ak-nav-hover-bg);
  color: var(--ak-nav-hover-text);
  text-decoration: none;
}

.ak-dropdown-item:hover .ak-dropdown-content strong,
.ak-dropdown-item:focus .ak-dropdown-content strong,
.ak-dropdown-item:active .ak-dropdown-content strong,
.ak-dropdown-item[aria-current="page"] .ak-dropdown-content strong {
  color: var(--ak-nav-active-text);
}

.ak-dropdown-item:hover .ak-dropdown-content span,
.ak-dropdown-item:focus .ak-dropdown-content span,
.ak-dropdown-item:active .ak-dropdown-content span,
.ak-dropdown-item[aria-current="page"] .ak-dropdown-content span {
  color: var(--ak-nav-active-desc);
}

.ak-dropdown-item[aria-current="page"] {
  background: var(--ak-nav-active-bg);
  color: var(--ak-nav-active-text);
  text-decoration: none;
}

/* =========================================================
   9. Socials
   ========================================================= */

.ak-socials {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: calc(var(--ak-space) * 0.5);
}

.ak-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.625rem;
  height: 2.625rem;
  border: 1px solid rgba(26, 39, 68, 0.12);
  border-radius: 50%;
  background: var(--ak-blue-soft);
  color: var(--ak-blue);
  font-size: 1.375rem;
  text-decoration: none;
}

.ak-social-link:hover,
.ak-social-link:focus,
.ak-social-link:active {
  background: var(--ak-amber);
  color: #111827;
  border-color: var(--ak-amber);
  text-decoration: none;
}

.ak-header-socials {
  flex-wrap: nowrap;
}

.ak-header-socials .ak-social-link {
  width: 2.375rem;
  height: 2.375rem;
  font-size: 1.25rem;
}

.footer-socials {
  margin-top: 0.4rem;
}

.footer-socials .ak-social-link {
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.16);
}

.footer-socials .ak-social-link:hover,
.footer-socials .ak-social-link:focus,
.footer-socials .ak-social-link:active {
  background: var(--ak-amber);
  color: #111827;
  border-color: var(--ak-amber);
}

.ak-social-link-viber {
  background: #665ca7;
  color: #ffffff;
  border-color: rgba(102, 92, 167, 0.35);
}

.ak-social-link-viber:hover,
.ak-social-link-viber:focus,
.ak-social-link-viber:active {
  background: #574d99;
  color: #ffffff;
  border-color: #574d99;
}

.ak-icon-viber {
  display: block;
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
  color: currentColor;
}

.mobile-viber-link .ak-icon-viber {
  display: block;
  flex: 0 0 auto;
  width: 0.9rem;
  height: 0.9rem;
  fill: currentColor;
  color: currentColor;
}

/* =========================================================
   10. Mobile navigation
   ========================================================= */

.mobile-panel {
  display: none;
  padding: 0.625rem 0 1rem;
  border-top: 1px solid var(--ak-border);
}

.mobile-panel.open {
  display: block;
}

.mobile-panel a,
.mobile-services-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.8125rem 0.25rem;
  border: 0;
  border-bottom: 1px solid var(--ak-border);
  background: transparent;
  color: var(--ak-text-strong);
  font-weight: 600;
  text-align: left;
  text-decoration: none;
}

.mobile-panel a:hover,
.mobile-panel a:focus,
.mobile-panel a:active {
  text-decoration: none;
}

.mobile-panel a[aria-current="page"],
.mobile-services-toggle.active,
.mobile-services-toggle[aria-current="page"] {
  position: relative;
  background: transparent;
  color: var(--ak-nav-hover-text);
  border-bottom-color: transparent;
  z-index: 0;
}

.mobile-panel a[aria-current="page"]::before,
.mobile-services-toggle.active::before,
.mobile-services-toggle[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: -1px;
  bottom: 0;
  left: calc(-1 * max(0.75rem, env(safe-area-inset-left)) + 0.5rem);
  right: calc(-1 * max(0.75rem, env(safe-area-inset-right)) + 0.5rem);
  background: #e9eef8;
  border-radius: 0.375rem;
  z-index: -1;
}

html[data-theme="dark"] .mobile-panel a[aria-current="page"]::before,
html[data-theme="dark"] .mobile-services-toggle.active::before,
html[data-theme="dark"] .mobile-services-toggle[aria-current="page"]::before {
  background: #243149;
}

@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .mobile-panel a[aria-current="page"]::before,
  html:not([data-theme="light"]) .mobile-services-toggle.active::before,
  html:not([data-theme="light"]) .mobile-services-toggle[aria-current="page"]::before {
    background: #243149;
  }
}

.mobile-panel a[aria-current="page"]>*,
.mobile-services-toggle.active>*,
.mobile-services-toggle[aria-current="page"]>* {
  position: relative;
  z-index: 1;
}

.mobile-services-toggle i {
  transition: transform 0.18s ease;
}

.mobile-services-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: none;
  padding: 0.375rem 0 0.5rem 0.875rem;
  border-bottom: 1px solid var(--ak-border);
}

.mobile-submenu.open {
  display: block;
}

.mobile-submenu a {
  padding: 0.625rem 0.25rem;
  border-bottom: 0;
  color: var(--ak-text);
  font-weight: 500;
}

.mobile-panel a.mobile-viber-link {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  border-radius: 0;
  background: transparent;
  color: var(--ak-text-strong);
}

.mobile-panel a.mobile-viber-link:hover,
.mobile-panel a.mobile-viber-link:focus,
.mobile-panel a.mobile-viber-link:active {
  background: transparent;
  color: var(--ak-text-strong);
}

.mobile-panel a.mobile-viber-link .mobile-viber-icon {
  display: block;
  flex: 0 0 1rem;
  width: 1rem;
  min-width: 1rem;
  max-width: 1rem;
  height: 1rem;
  min-height: 1rem;
  max-height: 1rem;
  margin-left: auto;
  fill: currentColor;
  color: currentColor;
}

.mobile-panel>a:last-child {
  border-bottom: 0;
}

/* =========================================================
   11. Hero  3 4 6 8 10
   ========================================================= */

.hero {
  position: relative;
  padding: 1.75rem 0;
  color: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid var(--ak-border);
  background: url("../img/background.webp") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 46%, rgba(16, 26, 46, 0.38) 0%, rgba(16, 26, 46, 0.26) 22%, rgba(16, 26, 46, 0.14) 42%, rgba(16, 26, 46, 0.06) 58%, rgba(16, 26, 46, 0) 82%),
    radial-gradient(circle at 28% 60%, rgba(16, 26, 46, 0.30) 0%, rgba(16, 26, 46, 0.20) 24%, rgba(16, 26, 46, 0.10) 44%, rgba(16, 26, 46, 0.04) 60%, rgba(16, 26, 46, 0) 84%),
    radial-gradient(circle at 50% 50%, rgba(16, 26, 46, 0.44) 0%, rgba(16, 26, 46, 0.30) 28%, rgba(16, 26, 46, 0.16) 50%, rgba(16, 26, 46, 0.07) 66%, rgba(16, 26, 46, 0) 90%),
    radial-gradient(circle at 72% 42%, rgba(16, 26, 46, 0.24) 0%, rgba(16, 26, 46, 0.16) 22%, rgba(16, 26, 46, 0.08) 42%, rgba(16, 26, 46, 0.03) 58%, rgba(16, 26, 46, 0) 82%),
    radial-gradient(circle at 90% 56%, rgba(16, 26, 46, 0.18) 0%, rgba(16, 26, 46, 0.10) 20%, rgba(16, 26, 46, 0.05) 38%, rgba(16, 26, 46, 0.02) 54%, rgba(16, 26, 46, 0) 78%),
    linear-gradient(90deg, rgba(16, 26, 46, 0.18), rgba(16, 26, 46, 0.08));
}

.hero>.ak-container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 880px;
  color: #ffffff;
}

.hero .lead {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.86);
}

.hero .lead strong {
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.86fr);
  align-items: center;
  gap: var(--ak-gap-xl);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--ak-space) * 0.5);
  margin: calc(var(--ak-space) * 1.25) 0 var(--ak-gap-lg);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--ak-space) * 0.4375);
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--ak-radius-pill);
  background: rgba(255, 255, 255, 0.105);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-badge i {
  color: var(--ak-amber);
  font-size: 1.125rem;
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(var(--ak-space) * 0.75);
  margin-top: calc(var(--ak-space) * 1.25);
}

.hero-contact a {
  color: #ffffff;
  font-size: 1.3125rem;
  font-weight: 700;
  text-decoration: none;
}

.hero-contact a:hover,
.hero-contact a:focus,
.hero-contact a:active {
  color: var(--ak-amber-dark);
  text-decoration: none;
}

.hero-card {
  padding: var(--ak-card-padding);
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius);
  background: var(--ak-bg-elevated);
  color: var(--ak-text);
  box-shadow: var(--ak-shadow);
}

.hero-card h2 {
  margin-bottom: calc(var(--ak-space) * 0.625);
  color: var(--ak-text-strong);
  font-size: 1.5625rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18.375rem;
  margin-bottom: calc(var(--ak-space) * 1.25);
  overflow: hidden;
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius);
  color: var(--ak-blue);
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(26, 39, 68, 0.1);
  border-radius: var(--ak-radius-pill);
}

.hero-visual::before {
  top: -7.625rem;
  right: -5.9375rem;
  width: 16.25rem;
  height: 16.25rem;
}

.hero-visual::after {
  bottom: -6.25rem;
  left: -4.375rem;
  width: 12.5rem;
  height: 12.5rem;
}

.hero-visual i {
  position: relative;
  z-index: 1;
  color: var(--ak-blue);
  font-size: 6.25rem;
}

.hero-visual-image {
  min-height: 14rem;
  padding: 0;
  background: var(--ak-blue-soft);
}

.hero-visual-image::before,
.hero-visual-image::after {
  display: none;
}

.hero-visual-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
  border-radius: inherit;
}

.hero-visual-slider::before,
.hero-visual-slider::after {
  display: none;
}

.hero-visual-slider {
  padding: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
  background:
    radial-gradient(circle at 78% 16%, rgba(245, 159, 0, 0.18), transparent 30%),
    linear-gradient(180deg, #f7f9fd, #e9eef7);
}

/* Hero visual */
html[data-theme="dark"] .hero-slider {
  background:
    radial-gradient(circle at 78% 16%, rgba(245, 159, 0, 0.14), transparent 30%),
    linear-gradient(180deg, #182235, #101a2e);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .hero-slider {
    background:
      radial-gradient(circle at 78% 16%, rgba(245, 159, 0, 0.14), transparent 30%),
      linear-gradient(180deg, #182235, #101a2e);
  }
}

body[data-page-slider="hero"] .hero-slider {
  cursor: grab;
}

body[data-page-slider="hero"] .hero-slider.is-dragging {
  cursor: grabbing;
}

.hero-slider img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.55s ease,
    visibility 0.55s ease,
    transform 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 34%;
  background: linear-gradient(to top, rgba(10, 15, 28, 0.38), transparent);
  pointer-events: none;
}

.hero-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transform: translateX(-50%);
}

.hero-slide,
.hero-slide img,
.hero-slider::after,
.hero-slider-dots,
.hero-slider-dots span {
  pointer-events: none;
}

.hero-slider-dots span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.hero-slider-dots span.is-active {
  background: var(--ak-amber);
  transform: scale(1.15);
}

/* =========================================================
   12. Breadcrumbs / quick nav
   ========================================================= */

.breadcrumbs-wrap {
  padding: calc(var(--ak-space) * 0.875) 0;
  border-bottom: 1px solid var(--ak-border);
  background: var(--ak-bg);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: calc(var(--ak-space) * 0.5);
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ak-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.42rem;
  margin: -0.22rem -0.42rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  color: var(--ak-text-strong);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible,
.breadcrumbs a:active {
  color: var(--ak-amber-dark);
  text-decoration: none;
}

html[data-theme="dark"] .breadcrumbs a:hover,
html[data-theme="dark"] .breadcrumbs a:focus-visible,
html[data-theme="dark"] .breadcrumbs a:active {
  color: #ffb21a;
}

@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .breadcrumbs a:hover,
  html:not([data-theme="light"]) .breadcrumbs a:focus-visible,
  html:not([data-theme="light"]) .breadcrumbs a:active {
    color: #ffb21a;
  }
}

.quick-nav {
  position: sticky;
  top: var(--ak-header-height);
  z-index: 950;
  padding: calc(var(--ak-space) * 0.875) 0;
  border-bottom: 1px solid var(--ak-border);
  background: color-mix(in srgb, var(--ak-bg) 92%, transparent);
  backdrop-filter: blur(0.625rem);
}

.quick-nav-list {
  display: flex;
  align-items: center;
  gap: calc(var(--ak-space) * 0.5);
  overflow-x: auto;
  margin: -6px -6px;
  padding: 6px 6px;
  list-style: none;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.quick-nav-list::-webkit-scrollbar {
  display: none;
}

.quick-nav-list a {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--ak-space) * 0.4375);
  padding: 0.5625rem 0.8125rem;
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius-pill);
  background: var(--ak-bg-elevated);
  color: var(--ak-text-strong);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.quick-nav-list a i {
  color: var(--ak-amber-dark);
}

.quick-nav-list a:focus-visible {
  background: var(--ak-nav-hover-bg);
  color: var(--ak-nav-hover-text);
  border-color: var(--ak-nav-hover-border);
  text-decoration: none;
}

.quick-nav-list {
  display: flex;
  align-items: center;
  gap: calc(var(--ak-space) * 0.5);
  overflow-x: auto;
  margin: -6px -6px;
  padding: 6px 6px;
  list-style: none;

  scrollbar-width: none;
  -ms-overflow-style: none;

  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
}

.quick-nav-list::-webkit-scrollbar {
  display: none;
}

.quick-nav-list a:focus-visible {
  outline: 3px solid rgba(245, 159, 0, 0.45);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .quick-nav-list a:hover {
    background: var(--ak-nav-hover-bg);
    color: var(--ak-nav-hover-text);
    border-color: var(--ak-nav-hover-border);
    text-decoration: none;
  }
}

.quick-nav-list {
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
}

.quick-nav-list a.is-active,
.quick-nav-list a[aria-current="true"] {
  background: var(--ak-nav-active-bg);
  color: var(--ak-nav-active-text);
  border-color: var(--ak-nav-active-border);
  text-decoration: none;
}

.quick-nav-list a.is-active i,
.quick-nav-list a[aria-current="true"] i {
  color: var(--ak-amber);
}

html[data-theme="light"] .quick-nav-list a:hover,
html[data-theme="light"] .quick-nav-list a:focus-visible,
html[data-theme="light"] .quick-nav-list a:active,
html[data-theme="light"] .quick-nav-list a.is-active,
html[data-theme="light"] .quick-nav-list a[aria-current="true"] {
  border-color: rgba(26, 39, 68, 0.18);
}

@media (prefers-color-scheme: light) {

  html:not([data-theme="dark"]) .quick-nav-list a:hover,
  html:not([data-theme="dark"]) .quick-nav-list a:focus-visible,
  html:not([data-theme="dark"]) .quick-nav-list a:active,
  html:not([data-theme="dark"]) .quick-nav-list a.is-active,
  html:not([data-theme="dark"]) .quick-nav-list a[aria-current="true"] {
    border-color: rgba(26, 39, 68, 0.18);
  }
}

/* =========================================================
   13. Generic lists
   ========================================================= */

.mini-list,
.summary-list {
  display: grid;
  padding: 0;
  list-style: none;
}

.mini-list {
  gap: calc(var(--ak-space) * 0.75);
  margin: 0;
}

.summary-list {
  gap: calc(var(--ak-space) * 0.75);
  margin: var(--ak-gap) 0 0;
}

.mini-list li,
.summary-list li {
  display: flex;
  align-items: flex-start;
  gap: calc(var(--ak-space) * 0.625);
  color: var(--ak-text);
}

.summary-panel.dark .summary-list li {
  color: rgba(255, 255, 255, 0.82);
}

.mini-list i {
  flex: 0 0 auto;
  margin-top: 0.125rem;
  color: var(--ak-green);
  font-size: 1.3125rem;
}

.summary-list i {
  flex: 0 0 auto;
  margin-top: 0.125rem;
  color: var(--ak-amber-dark);
  font-size: 1.25rem;
}

.dark .summary-list i {
  color: var(--ak-amber);
}

/* =========================================================
   14. Trust / stats
   ========================================================= */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ak-gap);
}

.trust-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.trust-overlap {
  position: relative;
  z-index: 3;
  margin-top: calc(var(--ak-space) * -1.125);
}

.trust-card {
  position: relative;
  min-height: 6.8rem;
  overflow: hidden;
  isolation: isolate;
  padding: var(--ak-card-padding-sm);
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius-sm);
  background:
    linear-gradient(135deg, rgba(26, 39, 68, 0.028) 0%, rgba(26, 39, 68, 0) 42%),
    linear-gradient(225deg, rgba(245, 159, 0, 0.045) 0%, rgba(245, 159, 0, 0) 38%),
    linear-gradient(180deg, var(--ak-surface-1) 0%, var(--ak-surface-2) 100%);
  box-shadow: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.trust-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, transparent 0 72%, rgba(26, 39, 68, 0.035) 72% 100%);
  pointer-events: none;
}

.trust-card>* {
  position: relative;
  z-index: 2;
}

.trust-card strong {
  display: block;
  margin-bottom: 0.625rem;
  color: var(--ak-text-strong);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.trust-card span {
  display: block;
  max-width: 18rem;
  color: var(--ak-text);
  font-weight: 500;
  line-height: 1.45;
}

.trust-card:hover {
  background:
    linear-gradient(135deg, rgba(26, 39, 68, 0.038) 0%, rgba(26, 39, 68, 0) 42%),
    linear-gradient(225deg, rgba(245, 159, 0, 0.055) 0%, rgba(245, 159, 0, 0) 38%),
    linear-gradient(180deg, var(--ak-surface-1) 0%, var(--ak-surface-2) 100%);
}

.trust-card:nth-child(1)::before {
  background: linear-gradient(135deg, transparent 0 74%, rgba(26, 39, 68, 0.032) 74% 100%);
}

.trust-card:nth-child(2)::before {
  background: linear-gradient(225deg, transparent 0 76%, rgba(245, 159, 0, 0.05) 76% 100%);
}

.trust-card:nth-child(3)::before {
  background:
    linear-gradient(135deg, transparent 0 68%, rgba(26, 39, 68, 0.028) 68% 100%),
    linear-gradient(225deg, transparent 0 82%, rgba(245, 159, 0, 0.04) 82% 100%);
}

.trust-card:nth-child(4)::before {
  background: linear-gradient(225deg, transparent 0 72%, rgba(26, 39, 68, 0.032) 72% 100%);
}

.trust-card-cta {
  border-color: var(--ak-amber);
  background: var(--ak-amber);
  color: #111827;
  box-shadow: 0 0.75rem 1.75rem rgba(245, 159, 0, 0.26);
  text-decoration: none;
}

.trust-card-cta:hover,
.trust-card-cta:focus,
.trust-card-cta:active {
  background: var(--ak-amber-dark);
  border-color: var(--ak-amber-dark);
  color: #111827;
  text-decoration: none;
  box-shadow: 0 1rem 2.125rem rgba(245, 159, 0, 0.32);
}

.trust-card-cta::before {
  display: none;
}

.trust-card-cta strong {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: #111827;
}

.trust-card-cta strong i {
  flex: 0 0 auto;
  font-size: 1.7rem;
  line-height: 1;
  transform-origin: 50% 55%;
  animation: akPhoneWiggle 2.2s ease-in-out infinite;
}

.trust-card-cta span {
  color: rgba(17, 24, 39, 0.82);
}

@keyframes akPhoneWiggle {

  0%,
  100% {
    transform: translateY(1px) rotate(0deg) scale(1);
  }

  6% {
    transform: translateY(1px) rotate(-10deg) scale(1.04);
  }

  12% {
    transform: translateY(1px) rotate(10deg) scale(1.04);
  }

  18% {
    transform: translateY(1px) rotate(-8deg) scale(1.03);
  }

  24% {
    transform: translateY(1px) rotate(8deg) scale(1.03);
  }

  30% {
    transform: translateY(1px) rotate(0deg) scale(1);
  }
}

/* =========================================================
   15. Headings / helpers
   ========================================================= */

.section-head {
  max-width: 840px;
  margin-bottom: var(--ak-gap-xl);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head-with-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: start;
  max-width: none;
  gap: 1.5rem;
}

/* =========================================================
   16. Cards / panels
   ========================================================= */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ak-gap-lg);
}

.cards-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card-flat {
  height: 100%;
  padding: var(--ak-card-padding);
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius);
  background: var(--ak-bg-elevated);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.02);
}

.card-flat:hover {
  box-shadow: var(--ak-shadow-soft);
}

.card-flat.gray {
  background: var(--ak-gray);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: var(--ak-gap);
  border-radius: var(--ak-radius);
  background: var(--ak-blue-soft);
  color: var(--ak-blue);
  font-size: 1.875rem;
}

.icon-box.amber {
  background: rgba(245, 159, 0, 0.14);
  color: var(--ak-amber-dark);
}

.summary-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: var(--ak-gap-lg);
}

.summary-panel {
  padding: var(--ak-card-padding);
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius);
  background: var(--ak-bg-elevated);
  box-shadow: var(--ak-shadow-soft);
}

.summary-panel.dark {
  background: var(--ak-blue);
  color: #ffffff;
  border-color: transparent;
}

.summary-panel.dark h2,
.summary-panel.dark h3 {
  color: #ffffff;
}

/* =========================================================
   17. Content / SEO
   ========================================================= */

.seo-grid,
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: start;
  gap: var(--ak-gap-xl);
}

.seo-aside,
.sticky-aside {
  position: sticky;
  top: 148px;
  padding: var(--ak-card-padding);
  border-radius: var(--ak-radius);
  background: var(--ak-blue);
  color: #ffffff;
}

.seo-aside h2,
.seo-aside h3,
.sticky-aside h2,
.sticky-aside h3 {
  color: #ffffff;
}

.seo-aside ul,
.sticky-aside ul {
  display: grid;
  gap: calc(var(--ak-space) * 0.75);
  margin: var(--ak-gap) 0 0;
  padding: 0;
  list-style: none;
}

.seo-aside li,
.sticky-aside li {
  display: flex;
  align-items: flex-start;
  gap: calc(var(--ak-space) * 0.625);
  color: rgba(255, 255, 255, 0.82);
}

.seo-aside i,
.sticky-aside i {
  flex: 0 0 auto;
  margin-top: 0.125rem;
  color: var(--ak-amber);
  font-size: 1.3125rem;
}

.content-card {
  padding: var(--ak-card-padding);
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius);
  background: var(--ak-bg-elevated);
  box-shadow: var(--ak-shadow-soft);
}

.content-card+.content-card {
  margin-top: var(--ak-gap-lg);
}

.content-card p {
  color: var(--ak-text);
}

.price-rule-content a,
.ownership-case-text a,
.content-card a:not(.btn-ak),
.summary-panel a:not(.btn-ak),
.notice-card a:not(.btn-ak) {
  color: var(--ak-text-strong);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.1875rem;
}

.ownership-case-text a:active,
.ownership-case-text a:focus,
.ownership-case-text a:hover,
.content-card a:not(.btn-ak):active,
.summary-panel a:not(.btn-ak):active,
.notice-card a:not(.btn-ak):active,
.content-card a:not(.btn-ak):focus,
.summary-panel a:not(.btn-ak):focus,
.notice-card a:not(.btn-ak):focus,
.content-card a:not(.btn-ak):hover,
.summary-panel a:not(.btn-ak):hover,
.notice-card a:not(.btn-ak):hover {
  color: var(--ak-amber-dark);
  text-decoration: underline;
}

.content-card .btn-ak,
.summary-panel .btn-ak,
.notice-card .btn-ak,
.content-card .btn-ak:hover,
.summary-panel .btn-ak:hover,
.notice-card .btn-ak:hover {
  text-decoration: none;
}

/* =========================================================
   18. Services
   ========================================================= */

.service-card {
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.service-card p {
  flex: 1;
}

.service-card h3 a {
  color: inherit;
  text-decoration: none;
}

.service-card h3 a:hover,
.service-card h3 a:focus,
.service-card h3 a:active {
  color: #8a5523;
  text-decoration: none;
}

.service-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  margin-bottom: var(--ak-gap);
  overflow: hidden;
  border-radius: var(--ak-radius-sm);
  background: linear-gradient(135deg, #e9eef7 0%, #f7f9fd 45%, #e3eaf5 100%);
  box-shadow: inset 0 0 0 1px rgba(26, 39, 68, 0.06);
  text-decoration: none;
}

.service-media:hover,
.service-media:focus,
.service-media:active {
  text-decoration: none;
}

.service-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.42) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: translateX(-100%);
  animation: serviceShimmer 1.8s ease-in-out infinite;
  pointer-events: none;
}

.service-media.is-loaded::before {
  animation: none;
  opacity: 0;
  visibility: hidden;
}

.service-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 40%;
  background: linear-gradient(to top, rgba(16, 26, 46, 0.1), rgba(16, 26, 46, 0));
  pointer-events: none;
}

.service-media img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  will-change: transform;
}

.service-media.is-loaded img {
  opacity: 1;
}

.service-media:hover img,
.service-media:focus-visible img {
  transform: scale(1.04);
}

@keyframes serviceShimmer {
  100% {
    transform: translateX(100%);
  }
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--ak-space) * 0.5);
  margin: 0.25rem 0 calc(var(--ak-space) * 1.125);
}

.service-meta span {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--ak-space) * 0.3125);
  padding: 0.375rem 0.5625rem;
  border-radius: var(--ak-radius-pill);
  background: var(--ak-blue-soft);
  color: var(--ak-blue);
  font-size: 0.8125rem;
  font-weight: 600;
}

.service-meta span i {
  color: var(--ak-amber-dark);
}

.service-meta span.service-price-badge i {
  color: #d98900;
}

.service-meta span.service-price-badge {
  background: linear-gradient(180deg, #fff8e7 0%, #fff1cc 100%);
  color: #5f4300;
  border: 1px solid rgba(245, 159, 0, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.service-meta span.service-price-badge i {
  color: #d98900;
}

/* =========================================================
   19. Work items / process / timeline
   ========================================================= */

.work-list {
  display: grid;
  gap: var(--ak-gap);
  margin-top: calc(var(--ak-space) * 1.25);
}

.work-item {
  display: grid;
  grid-template-columns: 3.625rem 1fr;
  gap: var(--ak-gap);
  padding: var(--ak-card-padding-sm);
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius-sm);
  background: var(--ak-bg-elevated);
}

.work-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.625rem;
  height: 3.625rem;
  border-radius: var(--ak-radius);
  background: rgba(245, 159, 0, 0.14);
  color: var(--ak-amber-dark);
  font-size: 1.9375rem;
}

.work-item h3 {
  margin-bottom: calc(var(--ak-space) * 0.4375);
  font-size: 1.25rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ak-gap);
  counter-reset: steps;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 7.75rem;
  padding: 1.35rem 1.15rem 1.1rem;
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius-sm);
  background: var(--ak-bg-elevated);
  counter-increment: steps;
}

.step::before {
  content: counter(steps);
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--ak-amber);
  color: #1a1a1a;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}

.step h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding-right: 2.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.15;
}

.step h3 span {
  display: block;
}

.step i {
  flex: 0 0 auto;
  color: var(--ak-text-strong);
  font-size: 1.9rem;
  line-height: 1;
}

.step p {
  margin: 0;
  color: var(--ak-text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.timeline-vertical {
  display: grid;
  gap: var(--ak-gap);
  counter-reset: timeline;
}

.step-wide {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  align-items: start;
  gap: var(--ak-gap);
  padding: var(--ak-card-padding-sm);
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius-sm);
  background: var(--ak-bg-elevated);
  counter-increment: timeline;
}

.step-wide::before {
  content: counter(timeline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  width: 2.625rem;
  height: 2.625rem;
  margin-top: 0.125rem;
  border-radius: 50%;
  background: var(--ak-amber);
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 700;
}

.step-wide>div {
  grid-column: 2;
}

.step-wide h3 {
  display: flex;
  align-items: center;
  gap: calc(var(--ak-space) * 0.5);
  margin-bottom: calc(var(--ak-space) * 0.4375);
}

.step-wide h3 i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.875rem;
  height: 1.875rem;
  margin-right: 0;
  border-radius: var(--ak-radius-xs);
  background: transparent;
  color: var(--ak-text-strong);
  font-size: 1.125rem;
}

.step-wide p {
  margin: 0;
  color: var(--ak-text-muted);
}

/* =========================================================
   20. Prices
   ========================================================= */

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ak-gap);
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: calc(var(--ak-space) * 0.625);
  padding: var(--ak-card-padding-sm);
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius);
  background: var(--ak-bg-elevated);
  box-shadow: var(--ak-shadow-soft);
}

.price-card h3 {
  margin-bottom: 0;
  font-size: 1.125rem;
}

.price-value {
  color: var(--ak-text-strong);
  font-size: 1.9375rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.price-note {
  color: var(--ak-text-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.price-addon {
  display: flex;
  align-items: flex-start;
  gap: calc(var(--ak-space) * 0.625);
  margin-top: var(--ak-gap);
  padding: var(--ak-gap) var(--ak-card-padding-sm);
  border: 1px solid rgba(245, 159, 0, 0.28);
  border-radius: var(--ak-radius-sm);
  background: #fff7ed;
  color: #7c2d12;
  font-weight: 600;
}

.price-addon i {
  flex: 0 0 auto;
  margin-top: 0.0625rem;
  color: #d98900;
  font-size: 1.375rem;
}

.price-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 118px;
  margin-bottom: 0.5rem;
  padding: 0.35rem;
  overflow: hidden;
  border: 1px solid var(--ak-border);
  border-radius: 1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #eef3fb 100%);
}

.price-card-media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

html[data-theme="light"] .price-card-media {
  border-color: #aab8ca;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.52), transparent 46%),
    linear-gradient(180deg, #bcc9d7 0%, #97abc0 100%);
}

html[data-theme="light"] .price-card-media img {
  filter: drop-shadow(0 0 1px rgba(61, 71, 95, 0.45));
}

@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) .price-card-media {
    border-color: #aab8ca;
    background:
      radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.52), transparent 46%),
      linear-gradient(180deg, #bcc9d7 0%, #97abc0 100%);
  }

  html:not([data-theme="dark"]) .price-card-media img {
    filter: drop-shadow(0 0 1px rgba(61, 71, 95, 0.45));
  }
}

html[data-theme="dark"] .price-card-media img {
  filter: none;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .price-card-media img {
    filter: none;
  }
}

/* =========================================================
   21. Reviews
   ========================================================= */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ak-gap-lg);
}

.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: calc(var(--ak-space) * 0.875);
  height: 100%;
  padding: var(--ak-card-padding);
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 159, 0, 0.08), transparent 34%),
    var(--ak-bg-elevated);
  box-shadow: var(--ak-shadow-soft);
}

.review-card:hover {
  box-shadow: var(--ak-shadow);
}

.review-card .icon-box {
  margin-bottom: 0;
}

.review-text {
  flex: 1;
  margin: 0;
  color: var(--ak-text-muted);
  line-height: 1.7;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding-top: calc(var(--ak-space) * 0.75);
  border-top: 1px solid var(--ak-border);
}

.review-author strong {
  color: var(--ak-text-strong);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--ak-amber);
  font-size: 1.25rem;
  line-height: 1;
}

.review-author-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--ak-text-strong);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.review-author-link:hover,
.review-author-link:focus,
.review-author-link:active {
  color: var(--ak-amber-dark);
  text-decoration: none;
}

.review-author-link i {
  font-size: 1rem;
  transition: transform 0.18s ease;
}

.review-author-link:hover i,
.review-author-link:focus i {
  transform: translate(2px, -2px);
}

/* Yandex badge */

.review-yandex-badge {
  position: relative;
  justify-self: end;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 150px;
  min-width: 150px;
  aspect-ratio: 1 / 1;
  padding: 0.7rem;
  border: 1px solid var(--ak-amber);
  border-radius: 1rem;
  background: var(--ak-amber);
  box-shadow: 0 0.75rem 1.75rem rgba(245, 159, 0, 0.26);
  text-decoration: none;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.review-yandex-badge:hover,
.review-yandex-badge:focus,
.review-yandex-badge:active {
  background: var(--ak-amber-dark);
  border-color: var(--ak-amber-dark);
  box-shadow: 0 1rem 2.125rem rgba(245, 159, 0, 0.32);
  text-decoration: none;
}

.review-yandex-badge-star {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  background: #ffffff;
  clip-path: polygon(50% 0%,
      61% 35%,
      98% 35%,
      68% 57%,
      79% 91%,
      50% 70%,
      21% 91%,
      32% 57%,
      2% 35%,
      39% 35%);
}

.review-yandex-badge-letter {
  position: relative;
  margin-top: 0.4rem;
  color: #cf3a32;
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: normal;
  text-align: center;
}

.review-yandex-badge-title {
  color: #1a2744;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.review-yandex-badge-stars {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  color: #1a2744;
  line-height: 1;
}

.review-yandex-badge-stars i {
  font-size: 0.8rem;
  line-height: 1;
}

/* =========================================================
   22. Notice / guarantee / brands
   ========================================================= */

.notice-card {
  padding: var(--ak-card-padding);
  border: 1px solid rgba(194, 65, 12, 0.28);
  border-radius: var(--ak-radius);
  background: #fff7ed;
  color: #7c2d12;
}

.notice-card h2,
.notice-card h3,
.notice-card .summary-list li {
  color: #7c2d12;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--ak-gap-lg);
}

.guarantee-card {
  padding: var(--ak-card-padding);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--ak-radius);
  background: rgba(255, 255, 255, 0.08);
}

.guarantee-card i {
  margin-bottom: calc(var(--ak-space) * 0.875);
  color: var(--ak-amber);
  font-size: 2.25rem;
}

.guarantee-card strong {
  display: block;
  margin-bottom: calc(var(--ak-space) * 0.5);
  color: #ffffff;
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.brand-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ak-gap-lg);
  margin-top: var(--ak-gap-lg);
}

.brand-card {
  padding: var(--ak-card-padding);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--ak-radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.brand-card strong {
  display: block;
  margin-bottom: calc(var(--ak-space) * 0.375);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand-card-media {
  padding: 1.25rem;
}

.brand-card-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-card-image {
  flex: 0 0 138px;
  width: 138px;
}

.brand-card-image img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
  object-fit: contain;
  filter:
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.09)) drop-shadow(0 0 14px rgba(255, 255, 255, 0.05)) drop-shadow(0 5px 12px rgba(0, 0, 0, 0.09));
}

.brand-card-content {
  min-width: 0;
  flex: 1 1 auto;
}

/* =========================================================
   23. FAQ
   ========================================================= */

.faq {
  display: grid;
  gap: calc(var(--ak-space) * 0.75);
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius-sm);
  background: var(--ak-bg-elevated);
}

.faq-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--ak-space) * 0.875);
  width: 100%;
  padding: calc(var(--ak-space) * 1.125) calc(var(--ak-space) * 1.25);
  border: 0;
  background: transparent;
  color: var(--ak-text-strong);
  font-size: 1.0625rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-button i {
  font-size: 1.4375rem;
  transition: transform 0.18s ease;
}

.faq-item.open .faq-button i {
  transform: rotate(180deg);
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.22s ease;
}

.faq-content-inner {
  overflow: hidden;
  padding: 0 calc(var(--ak-space) * 1.25);
  color: var(--ak-text-muted);
}

.faq-item.open .faq-content {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-content-inner {
  padding-bottom: calc(var(--ak-space) * 1.25);
}

.faq-button:focus,
.faq-button:focus-visible {
  outline: none;
  box-shadow: none;
}

.faq-button::after {
  content: none;
}

.faq-button:focus-visible {
  background-color: rgba(245, 159, 0, 0.08);
}

/* =========================================================
   24. Tables
   ========================================================= */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius);
  background: var(--ak-bg-elevated);
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: var(--ak-gap);
  border-bottom: 1px solid var(--ak-border);
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: var(--ak-blue);
  color: #ffffff;
  font-weight: 700;
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table td:first-child {
  color: var(--ak-text-strong);
  font-weight: 600;
}

/* =========================================================
   25. Contacts / map / forms
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: var(--ak-gap-lg);
}

.contact-list {
  display: grid;
  gap: calc(var(--ak-space) * 0.75);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: calc(var(--ak-space) * 0.8125);
  padding: var(--ak-gap);
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius-sm);
  background: var(--ak-bg-elevated);
}

.contact-item i {
  flex: 0 0 auto;
  color: var(--ak-amber-dark);
  font-size: 1.5625rem;
}

.contact-item strong {
  display: block;
  margin-bottom: 0.125rem;
  color: var(--ak-text-strong);
  font-weight: 700;
}

.contact-item a,
.contact-item a:hover,
.contact-item a:focus,
.contact-item a:active {
  text-decoration: none;
}

.map-tabs-wrap {
  display: block;
}

.map-tabs-row {
  display: inline-flex;
  align-items: stretch;
  gap: calc(var(--ak-space) * 0.4375);
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}

.map-tabs {
  display: flex;
  align-items: stretch;
  gap: calc(var(--ak-space) * 0.4375);
  margin-bottom: 0;
  flex-wrap: wrap;
}

.map-tabs-actions {
  display: flex;
  align-items: stretch;
}

.map-nav-link {
  flex: 0 0 auto;
}



@media (max-width: 760px) {
  .map-tabs-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }

  .map-tabs {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
  }

  .map-tabs-actions {
    display: flex;
    width: 100%;
    margin: 0;
  }

  .map-tab {
    flex: 0 0 calc(50% - 0.25rem);
    width: calc(50% - 0.25rem);
    min-height: 2.75rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .map-nav-link {
    flex: 0 0 100%;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .map-box {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .map-tabs-actions {
    margin-top: -0.25rem;
    margin-bottom: 0.25rem;
  }

  .map-tabs-row {
    margin-top: 1rem;
  }
}

.map-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.625rem;
  padding: 0.625rem 0.95rem;
  border: 1px solid var(--ak-border);
  border-radius: 0.875rem;
  background: var(--ak-bg-elevated);
  color: var(--ak-text-strong);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: normal;
  cursor: pointer;
}

.map-tab:hover i,
.map-tab:focus-visible i,
.map-tab:active i,
.map-tab.is-active i,
.map-tab[aria-selected="true"] i,
.map-nav-link:hover i,
.map-nav-link:focus-visible i,
.map-nav-link:active i {
  color: var(--ak-amber-dark);
}

.map-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.625rem;
  padding: 0.625rem 0.95rem;
  border: 1px solid var(--ak-border);
  border-radius: 0.875rem;
  background: var(--ak-bg-elevated);
  color: var(--ak-text-strong);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  line-height: normal;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.map-nav-link:link,
.map-nav-link:visited,
.map-nav-link:hover,
.map-nav-link:focus,
.map-nav-link:focus-visible,
.map-nav-link:active {
  text-decoration: none;
}

.map-nav-link:link,
.map-nav-link:visited {
  color: var(--ak-text-strong);
}

.map-nav-link:hover,
.map-nav-link:focus-visible,
.map-nav-link:active {
  background: var(--ak-nav-hover-bg);
  color: var(--ak-nav-hover-text);
  border-color: var(--ak-nav-hover-border);
  box-shadow: none;
  transform: none;
}

.map-nav-link:focus,
.map-nav-link:active {
  outline: none;
}

.map-tab i,
.map-nav-link i {
  font-size: 1.1rem;
  color: var(--ak-amber-dark);
  transform: rotate(45deg);
}

.map-tab:hover,
.map-tab:focus-visible {
  background: var(--ak-nav-hover-bg);
  color: var(--ak-nav-hover-text);
  border-color: var(--ak-nav-hover-border);
}

.map-tab.is-active,
.map-tab[aria-selected="true"] {
  background: var(--ak-nav-hover-bg);
  color: var(--ak-nav-hover-text);
  border-color: var(--ak-nav-hover-border);
}

.map-tab:focus-visible,
.map-nav-link:focus-visible {
  outline: 3px solid rgba(245, 159, 0, 0.45);
  outline-offset: 3px;
}

html[data-theme="light"] .map-nav-link:hover,
html[data-theme="light"] .map-nav-link:focus-visible,
html[data-theme="light"] .map-nav-link:active {
  border-color: rgba(26, 39, 68, 0.18);
}

@media (prefers-color-scheme: light) {

  html:not([data-theme="dark"]) .map-nav-link:hover,
  html:not([data-theme="dark"]) .map-nav-link:focus-visible,
  html:not([data-theme="dark"]) .map-nav-link:active {
    border-color: rgba(26, 39, 68, 0.18);
  }
}

html[data-theme="light"] .map-tab.is-active,
html[data-theme="light"] .map-tab[aria-selected="true"] {
  background: var(--ak-nav-hover-bg) !important;
  color: var(--ak-nav-hover-text) !important;
  border-color: rgba(26, 39, 68, 0.18) !important;
}

@media (prefers-color-scheme: light) {

  html:not([data-theme="dark"]) .map-tab.is-active,
  html:not([data-theme="dark"]) .map-tab[aria-selected="true"] {
    background: var(--ak-nav-hover-bg) !important;
    color: var(--ak-nav-hover-text) !important;
    border-color: rgba(26, 39, 68, 0.18) !important;
  }
}

html[data-theme="light"] .map-tab:hover,
html[data-theme="light"] .map-tab:focus-visible,
html[data-theme="light"] .map-tab:active,
html[data-theme="light"] .map-tab.is-active,
html[data-theme="light"] .map-tab[aria-selected="true"] {
  border-color: rgba(26, 39, 68, 0.18);
}

@media (prefers-color-scheme: light) {

  html:not([data-theme="dark"]) .map-tab:hover,
  html:not([data-theme="dark"]) .map-tab:focus-visible,
  html:not([data-theme="dark"]) .map-tab:active,
  html:not([data-theme="dark"]) .map-tab.is-active,
  html:not([data-theme="dark"]) .map-tab[aria-selected="true"] {
    border-color: rgba(26, 39, 68, 0.18);
  }
}

.map-box {
  width: 100%;
  height: 396px;
  overflow: hidden;
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius);
  background: #eef3fb;
}

.map-panel {
  display: none;
  width: 100%;
  height: 100%;
}

.map-panel.is-active {
  display: block;
}

.map-box-inner,
.map-video-box {
  position: relative;
  width: 100%;
  height: 100%;
}

.map-box-inner iframe,

.map-video {
  display: block;
  border: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
  background: #000;
}

.map-video-box {
  position: relative;
  width: 100%;
  height: 100%;
}

@media (max-width: 760px) {
  .map-tabs-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .map-tabs {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0;
    overflow: visible;
    -webkit-overflow-scrolling: touch;
  }

  .map-tabs-actions {
    display: flex;
    width: 100%;
  }

  .map-tab {
    flex: 1 1 calc(50% - 0.25rem);
    width: auto;
    min-height: 2.5rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .map-nav-link {
    flex: 1 1 100%;
    width: 100%;
    min-height: 2.5rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .map-box,
  .map-panel,
  .map-box-inner,
  .map-box-inner>div,
  .map-box-inner iframe,
  .map-video-box,
  .map-video {
    height: 320px !important;
    min-height: 320px !important;
  }
}

.map-box-fallback {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 21.875rem;
  padding: 1rem;
  color: var(--ak-text);
}

.map-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  padding: 1rem;
  background:
    radial-gradient(circle at 50% 35%, rgba(245, 159, 0, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  text-align: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.map-loading.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.map-loading-pin {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background: rgba(215, 57, 57, 0.12);
  color: #d73939;
  z-index: 0;
}

.map-loading-pin::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 50%;
  border: 2px solid rgba(215, 57, 57, 0.18);
  transform: translate(-50%, -50%);
  transform-origin: center;
  animation: mapPinPulse 1.8s ease-out infinite;
}

.map-loading-pin i {
  font-size: 2rem;
  line-height: 1;
}

.map-loading-text {
  color: var(--ak-text-strong);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

@keyframes mapPinPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.7;
  }

  70% {
    transform: translate(-50%, -50%) scale(1.25);
    opacity: 0;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.25);
    opacity: 0;
  }
}

.form-card {
  padding: var(--ak-card-padding);
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius);
  background: var(--ak-bg-elevated);
  box-shadow: var(--ak-shadow);
}

.form-control,
.form-select,
textarea.form-control {
  background: var(--ak-bg-elevated);
  color: var(--ak-text);
  border-color: var(--ak-border);
  -webkit-text-fill-color: var(--ak-text);
  caret-color: var(--ak-text);
}

.form-control::placeholder,
textarea.form-control::placeholder,
input.form-control::placeholder,
input[type="text"]::placeholder,
input[type="tel"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
  color: var(--ak-placeholder) !important;
  -webkit-text-fill-color: var(--ak-placeholder) !important;
  opacity: 1 !important;
}

.form-label {
  color: var(--ak-text-strong);
}

.form-control:focus {
  background: var(--ak-bg-elevated);
  color: var(--ak-text);
  border-color: var(--ak-amber);
  box-shadow: 0 0 0 0.25rem rgba(245, 159, 0, 0.16);
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:active,
.form-select:-webkit-autofill,
.form-select:-webkit-autofill:hover,
.form-select:-webkit-autofill:active,
textarea.form-control:-webkit-autofill,
textarea.form-control:-webkit-autofill:hover,
textarea.form-control:-webkit-autofill:active {
  -webkit-text-fill-color: var(--ak-text);
  caret-color: var(--ak-text);
  border-color: var(--ak-border);
  box-shadow: 0 0 0 1000px var(--ak-bg-elevated) inset;
  -webkit-box-shadow: 0 0 0 1000px var(--ak-bg-elevated) inset;
  transition: background-color 9999s ease-out 0s, color 9999s ease-out 0s;
}

.form-control:-webkit-autofill:focus,
.form-select:-webkit-autofill:focus,
textarea.form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ak-text);
  caret-color: var(--ak-text);
  border-color: var(--ak-amber);
  box-shadow:
    0 0 0 1000px var(--ak-bg-elevated) inset,
    0 0 0 0.25rem rgba(245, 159, 0, 0.16);
  -webkit-box-shadow:
    0 0 0 1000px var(--ak-bg-elevated) inset,
    0 0 0 0.25rem rgba(245, 159, 0, 0.16);
}

.form-hint {
  color: var(--ak-text-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.age-note {
  display: flex;
  align-items: center;
  gap: calc(var(--ak-space) * 0.625);
  margin-top: calc(var(--ak-gap) * 1.72);
  padding: 0.875rem 1rem;
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius-sm);
  background: var(--ak-surface-2);
  color: var(--ak-text-strong);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.age-note-multiline {
  align-items: flex-start;
}

.age-note-multiline i {
  margin-top: 0.15rem;
}

.age-note-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.age-note-title {
  display: block;
  color: var(--ak-text-strong);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.age-note-text {
  display: block;
  color: var(--ak-text-strong);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
}

.age-note i {
  flex: 0 0 auto;
  color: inherit;
  font-size: 1.125rem;
}

/* =========================================================
   26. CTA
   ========================================================= */

.cta-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--ak-gap-lg);
  padding: var(--ak-card-padding);
  border-radius: var(--ak-radius);
  background:
    radial-gradient(circle at 90% 10%, rgba(245, 159, 0, 0.25), transparent 30%),
    var(--ak-blue);
  color: #ffffff;
}

.cta-strip h2,
.cta-strip h3 {
  margin-bottom: calc(var(--ak-space) * 0.5);
  color: #ffffff;
}

/* =========================================================
   27. Work gallery / lightbox
   ========================================================= */

.work-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ak-gap);
}

.work-gallery-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 1.25rem;
  background: transparent;
  box-shadow: var(--ak-shadow-soft);
  cursor: pointer;
}

.work-gallery-card-video {
  aspect-ratio: 9 / 16;
}

.work-gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 26, 46, 0) 35%, rgba(16, 26, 46, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.work-gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.35s ease,
    filter 0.25s ease;
}

.work-gallery-card:hover img,
.work-gallery-card:focus-visible img {
  transform: scale(1.04);
}

.work-gallery-card:hover::before,
.work-gallery-card:focus-visible::before {
  opacity: 1;
}

.work-gallery-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ak-blue);
  font-size: 1.5rem;
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.2);
  transform: translate(-50%, -50%);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
  pointer-events: none;
}

.work-gallery-card:hover .work-gallery-play,
.work-gallery-card:focus-visible .work-gallery-play {
  background: var(--ak-amber);
  color: #111827;
  transform: translate(-50%, -50%) scale(1.06);
}

.work-gallery-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.work-gallery-more-btn {
  flex: 0 0 auto;
  width: auto;
}

.work-gallery-more-btn i {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
}

.work-gallery-more-btn-instagram,
.work-gallery-more-btn-tiktok,
.work-gallery-more-btn-youtube {
  min-width: 285px;
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.1);
}

.work-gallery-more-btn-instagram {
  background: linear-gradient(90deg, #c96d3d 0%, #c13584 52%, #6c63c9 100%);
  border-color: rgba(193, 53, 132, 0.24);
}

.work-gallery-more-btn-instagram:hover,
.work-gallery-more-btn-instagram:focus,
.work-gallery-more-btn-instagram:active {
  background: linear-gradient(90deg, #b86136 0%, #ae2f78 52%, #5f57bb 100%);
  color: #ffffff;
  border-color: rgba(174, 47, 120, 0.3);
  box-shadow: 0 16px 34px rgba(72, 42, 122, 0.28);
}

.work-gallery-more-btn-tiktok {
  background: #1c1f2b;
  border-color: rgba(28, 31, 43, 0.32);
}

.work-gallery-more-btn-tiktok:hover,
.work-gallery-more-btn-tiktok:focus,
.work-gallery-more-btn-tiktok:active {
  background: #141722;
  color: #ffffff;
  border-color: rgba(20, 23, 34, 0.4);
  box-shadow: 0 16px 34px rgba(20, 23, 34, 0.32);
}

.work-gallery-more-btn-youtube {
  background: #d73939;
  border-color: rgba(215, 57, 57, 0.26);
}

.work-gallery-more-btn-youtube:hover,
.work-gallery-more-btn-youtube:focus,
.work-gallery-more-btn-youtube:active {
  background: #c92f2f;
  color: #ffffff;
  border-color: rgba(201, 47, 47, 0.34);
  box-shadow: 0 16px 34px rgba(180, 32, 32, 0.3);
}

.gallery-lightbox[hidden] {
  display: none !important;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2100;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 28, 0.82);
  backdrop-filter: blur(0.35rem);
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto;
  animation: galleryLightboxIn 0.22s ease;
}

.gallery-lightbox-dialog-video {
  width: min(100% - 2rem, 560px);
  max-height: calc(100vh - 2rem);
}

.gallery-lightbox-media {
  width: 100%;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #0b1120;
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.35);
}

.gallery-lightbox-media-video {
  aspect-ratio: 9 / 16;
}

.gallery-lightbox-media video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}

.gallery-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ak-blue);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.18);
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible {
  background: var(--ak-amber);
  color: #111827;
  transform: scale(1.04);
}

body.is-lightbox-open {
  overflow: hidden;
}

@keyframes galleryLightboxIn {
  from {
    opacity: 0;
    transform: translateY(0.75rem) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================================================
   28. Footer
   ========================================================= */

.footer {
  padding: calc(var(--ak-space) * 2.5) 0 var(--ak-card-padding);
  background: #121d33;
  color: rgba(255, 255, 255, 0.8);
}

.footer h2,
.footer h3 {
  color: #ffffff;
}

.footer a,
.footer a:hover,
.footer a:focus,
.footer a:active {
  text-decoration: none;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.1fr) minmax(260px, 0.82fr);
  align-items: start;
  gap: calc(var(--ak-space) * 2);
  margin-bottom: calc(var(--ak-space) * 1.75);
}

.footer-about {
  max-width: 520px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--ak-space) * 0.625);
  margin-bottom: calc(var(--ak-space) * 0.75);
  color: #ffffff;
  font-size: 1.375rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-logo:hover,
.footer-logo:focus,
.footer-logo:active {
  color: #ffffff;
  text-decoration: none;
}

.footer-logo .ak-logo-mark {
  background: var(--ak-amber);
  color: #111827;
}

.footer-about p {
  max-width: 470px;
}

.footer-legal-links {
  display: grid;
  gap: calc(var(--ak-space) * 0.625);
  margin-top: calc(var(--ak-space) * 1.5);
}

.footer-legal-link {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--ak-space) * 0.5);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  text-decoration: none;
}

.footer-legal-link i {
  flex: 0 0 auto;
  color: var(--ak-amber);
  font-size: 1.0625rem;
}

.footer-legal-link:hover,
.footer-legal-link:focus,
.footer-legal-link:active {
  color: var(--ak-amber);
  text-decoration: none;
}

.footer-links {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: start;
  gap: calc(var(--ak-space) * 1.375);
}

.footer-links-group h3,
.footer-contacts h3 {
  margin-bottom: calc(var(--ak-space) * 0.875);
  font-size: 1.25rem;
}

.footer-nav,
.footer-service-tags {
  display: grid;
  gap: calc(var(--ak-space) * 0.5);
}

.footer-nav a,
.footer-service-tags a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus,
.footer-nav a:active,
.footer-service-tags a:hover,
.footer-service-tags a:focus,
.footer-service-tags a:active {
  color: var(--ak-amber);
  text-decoration: none;
}

.footer-quality-note {
  display: flex;
  align-items: flex-start;
  gap: calc(var(--ak-space) * 0.625);
  margin-top: calc(var(--ak-space) * 1.125);
  padding: calc(var(--ak-space) * 0.875) var(--ak-space);
  border: 1px solid rgba(245, 159, 0, 0.32);
  border-radius: var(--ak-radius-sm);
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 159, 0, 0.18), transparent 38%),
    rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.12);
}

.footer-quality-note i {
  flex: 0 0 auto;
  margin-top: 0.0625rem;
  color: var(--ak-amber);
  font-size: 1.375rem;
  line-height: 1.2;
}

.footer-quality-note span {
  display: block;
  font-weight: 600;
  line-height: 1.45;
}

.footer-contact-list {
  display: grid;
  gap: calc(var(--ak-space) * 0.625);
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact-list li {
  display: grid;
  grid-template-columns: 1.375rem minmax(0, 1fr);
  align-items: start;
  gap: calc(var(--ak-space) * 0.5);
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-list i {
  margin-top: 0.125rem;
  color: var(--ak-amber);
  font-size: 1.125rem;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 400;
  text-decoration: none;
}

.footer-contact-list a:hover,
.footer-contact-list a:focus,
.footer-contact-list a:active {
  color: var(--ak-amber);
  text-decoration: none;
}

.footer-contact-list .ak-icon-viber {
  flex: 0 0 1.125rem;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  fill: currentColor;
  color: var(--ak-amber);
}

.footer-legal {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ak-footer-separator);
  color: rgba(255, 255, 255, 0.72);
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--ak-space) * 0.75);
}

.footer-policy-links a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  text-decoration: none;
}

.footer-policy-links a:hover,
.footer-policy-links a:focus,
.footer-policy-links a:active {
  color: var(--ak-amber);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: calc(var(--ak-space) * 0.75);
  padding-top: calc(var(--ak-space) * 1.25);
  border-top: 1px solid var(--ak-footer-separator);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.875rem;
}

.footer-offer-link {
  margin-top: 0.75rem;
}

.footer-offer-link a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
  text-decoration: none;
}

.footer-offer-link a:hover,
.footer-offer-link a:focus,
.footer-offer-link a:active {
  color: var(--ak-amber);
  text-decoration: none;
}

.footer-offer-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: calc(var(--ak-space) * 0.75);
  margin-top: calc(var(--ak-space) * 1.5);
  padding: var(--ak-space);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ak-radius-sm);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.08), transparent 38%),
    rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.12);
  text-decoration: none;
}

.footer-offer-card:hover,
.footer-offer-card:focus,
.footer-offer-card:active {
  border-color: rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.12), transparent 40%),
    rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.96);
  text-decoration: none;
}

.footer-offer-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

.footer-offer-card-icon i {
  font-size: 1.625rem;
  line-height: 1;
}

.footer-offer-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.25rem;
}

.footer-offer-card-content strong {
  display: block;
  margin: 0 0 0.4rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.footer-offer-card-content span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  line-height: 1.45;
}

/* =========================================================
   29. Floating actions
   ========================================================= */

.floating-call {
  position: fixed;
  right: calc(var(--ak-space) * 1.125);
  bottom: calc(var(--ak-space) * 1.125);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  width: 3.625rem;
  height: 3.625rem;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: var(--ak-amber);
  color: #111827;
  font-size: 1.875rem;
  box-shadow: 0 1rem 2.125rem rgba(0, 0, 0, 0.18);
  text-decoration: none;
}

.floating-call:hover,
.floating-call:focus,
.floating-call:active {
  color: #111827;
  text-decoration: none;
}

.mobile-sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1090;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--ak-space) * 0.5);
  padding: calc(var(--ak-space) * 0.625) calc(var(--ak-space) * 0.75);
  border-top: 1px solid var(--ak-border);
  background: var(--ak-header-bg);
  backdrop-filter: blur(0.625rem);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(100%);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
}

.mobile-sticky-cta.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 761px) {
  .mobile-sticky-cta {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .mobile-sticky-cta {
    display: grid;
  }
}

.mobile-sticky-cta a {
  min-height: 2.75rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
}

/* =========================================================
   30. Toasts
   ========================================================= */

.ak-toast-stack {
  position: fixed;
  top: var(--ak-toast-top);
  right: var(--ak-toast-right);
  z-index: var(--ak-toast-z);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--ak-toast-gap);
  width: min(calc(100vw - 2rem), var(--ak-toast-width));
  pointer-events: none;
}

.ak-toast-stack .toastify {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
  pointer-events: auto;
}

.ak-toast {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) 2rem;
  align-items: start;
  gap: 0.875rem;
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--ak-border);
  border-radius: 1rem;
  background: var(--ak-bg-elevated);
  color: var(--ak-text);
  box-shadow: 0 1rem 2.2rem rgba(16, 24, 40, 0.14);
}

.ak-toast-success {
  border-left: 4px solid #16a34a;
}

.ak-toast-error {
  border-left: 4px solid #dc2626;
}

.ak-toast-info {
  border-left: 4px solid #1d4ed8;
}

.ak-toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  border-radius: 0.85rem;
  font-size: 1.05rem;
  line-height: 1;
}

.ak-toast-success .ak-toast-icon {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

.ak-toast-error .ak-toast-icon {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.ak-toast-info .ak-toast-icon {
  background: rgba(29, 78, 216, 0.1);
  color: #1d4ed8;
}

.ak-toast-content {
  min-width: 0;
}

.ak-toast-title {
  display: block;
  margin: 0 0 0.18rem;
  color: var(--ak-text-strong);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.ak-toast-text {
  display: block;
  margin: 0;
  color: var(--ak-text-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.ak-toast-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ak-text-muted);
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.ak-toast-close:hover,
.ak-toast-close:focus-visible {
  background: rgba(26, 39, 68, 0.08);
  color: var(--ak-text-strong);
  transform: scale(1.04);
  outline: none;
}

.ak-toast-close i {
  font-size: 1.05rem;
  line-height: 1;
}

.ak-toast-progress {
  position: absolute;
  right: 1rem;
  bottom: 0.55rem;
  left: 1rem;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
}

.ak-toast-progress-bar {
  width: 100%;
  height: 100%;
  transform-origin: left center;
  animation: akToastProgress linear forwards;
  border-radius: 999px;
}

.ak-toast-success .ak-toast-progress-bar {
  background: #16a34a;
}

.ak-toast-error .ak-toast-progress-bar {
  background: #dc2626;
}

.ak-toast-info .ak-toast-progress-bar {
  background: #1d4ed8;
}

@keyframes akToastProgress {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

.ak-toast-enter {
  animation: akToastEnter 0.22s ease;
}

@keyframes akToastEnter {
  from {
    opacity: 0;
    transform: translateY(-0.35rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.js-lead-form button[disabled] {
  opacity: 0.72;
  pointer-events: none;
}

/* =========================================================
   31. Reveal animation (optimized for Firefox)
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity 0.44s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.44s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-delay-1 { transition-delay: 0.02s; }
.reveal-delay-2 { transition-delay: 0.04s; }
.reveal-delay-3 { transition-delay: 0.06s; }
.reveal-delay-4 { transition-delay: 0.08s; }
.reveal-delay-5 { transition-delay: 0.10s; }
.reveal-delay-6 { transition-delay: 0.12s; }

.reveal-left {
  transform: translate3d(-32px, 28px, 0);
}

.reveal-right {
  transform: translate3d(32px, 28px, 0);
}

.reveal.is-visible.reveal-left,
.reveal.is-visible.reveal-right {
  transform: translate3d(0, 0, 0);
}

/* =========================================================
   32. Utilities / notes
   ========================================================= */

.price-badge-note {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--ak-space) * 0.5);
  margin: 0.25rem 0;
  padding: 0.625rem 0.875rem;
  border: 1px solid rgba(245, 159, 0, 0.28);
  border-radius: var(--ak-radius-pill);
  background: rgba(245, 159, 0, 0.12);
  color: var(--ak-text-strong);
  font-weight: 700;
  line-height: 1.2;
}

.price-badge-note i {
  flex: 0 0 auto;
  color: var(--ak-amber-dark);
  font-size: 1rem;
}

.info-note {
  display: flex;
  align-items: flex-start;
  gap: calc(var(--ak-space) * 0.625);
  margin-top: var(--ak-space);
  padding: 0.75rem 0.9375rem;
  border: 1px solid transparent;
  border-radius: var(--ak-radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
}

.info-note i {
  flex: 0 0 auto;
  margin-top: 0.0625rem;
  font-size: 1.125rem;
}

.info-note-blue {
  background: rgba(79, 112, 184, 0.08);
  border-color: rgba(79, 112, 184, 0.2);
  color: var(--ak-text);
}

.info-note-blue i {
  color: #4f70b8;
}

.age-note-danger {
  border-color: rgba(194, 65, 12, 0.28);
  background: #fff7ed;
  color: #7c2d12;
}

.age-note-danger i {
  color: #c2410c;
}

/* =========================================================
   33. Responsive
   ========================================================= */

@media (max-width: 1120px) {

  .ak-nav,
  .ak-header-actions .ak-phone,
  .ak-header-actions .btn-ak {
    display: none;
  }

  .ak-burger {
    display: inline-flex;
  }

  .hero-grid,
  .seo-grid,
  .content-grid,
  .contact-grid,
  .summary-box,
  .cta-strip,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .seo-aside,
  .sticky-aside {
    position: static;
  }

  .trust-grid,
  .price-grid,
  .guarantee-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-grid,
  .cards-grid.two {
    grid-template-columns: 1fr;
  }

  .work-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head-with-action {
    grid-template-columns: 1fr;
  }

  .review-yandex-badge {
    justify-self: start;
  }

  .ak-header-socials {
    display: none;
  }

  .brand-row {
    grid-template-columns: 1fr;
  }

  .brand-card,
  .brand-card-inner,
  .brand-card-content {
    min-width: 0;
  }

  .brand-card-image {
    flex: 0 1 84px;
    width: clamp(72px, 18vw, 84px);
    max-width: 84px;
    min-width: 72px;
  }

  .brand-card-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .brand-card-content strong,
  .brand-card-content p {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 760px) {
  :root {
    --ak-header-height: 66px;
    --ak-card-padding: calc(var(--ak-space) * 1.25);
    --ak-card-padding-sm: calc(var(--ak-space) * 1.125);
    --ak-section-padding: calc(var(--ak-space) * 2.5);
    --ak-section-padding-sm: calc(var(--ak-space) * 1.5);
    --ak-section-padding-tight: calc(var(--ak-space) * 2);

    --ak-toast-top: 0.75rem;
    --ak-toast-right: 0.75rem;
  }

  html {
    scroll-padding-top: 78px;
  }

  .ak-container {
    width: min(100% - 1.5rem, 1180px);
  }

  h1 {
    letter-spacing: -0.03em;
  }

  h2,
  h3 {
    letter-spacing: -0.02em;
  }

  .section-head {
    margin-bottom: var(--ak-gap-lg);
  }

  .hero-visual {
    min-height: 10.375rem;
  }

  .hero-visual i {
    font-size: 5.25rem;
  }

  .trust-overlap {
    margin-top: 0;
  }

  .trust-grid,
  .cards-grid,
  .brand-row,
  .price-grid,
  .timeline,
  .guarantee-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .work-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .trust-card {
    min-height: auto;
  }

  .trust-card::after {
    height: 2px;
  }

  .btn-row {
    align-items: stretch;
  }

  .btn-ak {
    width: 100%;
    white-space: normal;
  }

  .hero-contact a {
    font-size: 1.25rem;
  }

  .quick-nav {
    top: var(--ak-header-height);
    z-index: 900;
  }

  .step-wide {
    grid-template-columns: 3rem 1fr;
    gap: calc(var(--ak-space) * 0.75);
  }

  .step-wide::before {
    width: 2.375rem;
    height: 2.375rem;
    font-size: 0.9375rem;
  }

  .step-wide h3 {
    align-items: flex-start;
    font-size: 1.125rem;
  }

  .step-wide h3 i {
    width: 1.75rem;
    height: 1.75rem;
    margin-top: -0.1875rem;
    font-size: 1.0625rem;
  }

  .work-item {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .floating-call {
    display: none;
  }

  .mobile-sticky-cta {
    display: grid;
  }

  .footer-bottom {
    padding-bottom: var(--ak-gap);
  }

  .review-card::before {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 0.25rem;
    border-radius: var(--ak-radius) var(--ak-radius) 0 0;
  }

  .review-author {
    padding-top: calc(var(--ak-space) * 0.625);
  }

  .gallery-lightbox-dialog-video {
    width: min(100% - 1rem, 560px);
    max-height: calc(100vh - 1rem);
    margin: 0.5rem auto;
  }

  .gallery-lightbox-media {
    border-radius: 1rem;
  }

  .gallery-lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 2.75rem;
    height: 2.75rem;
  }

  .work-gallery-card {
    border-radius: 1rem;
  }

  .work-gallery-play {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.35rem;
  }

  .review-yandex-badge {
    justify-self: start;
    width: 140px;
    min-width: 140px;
  }

  .footer-offer-card {
    grid-template-columns: auto 1fr;
  }

  .footer-offer-card-arrow {
    display: none;
  }

  .price-card-media {
    height: 128px;
  }

  .ak-toast-stack {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
  }

  .ak-toast {
    grid-template-columns: 2.25rem minmax(0, 1fr) 2rem;
    gap: 0.75rem;
    padding: 0.9rem 0.9rem 1rem;
    border-radius: 0.95rem;
  }

  .ak-toast-icon {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    border-radius: 0.75rem;
    font-size: 1rem;
  }

  .ak-toast-title {
    font-size: 0.92rem;
  }

  .ak-toast-text {
    font-size: 0.84rem;
  }

  .ak-toast-progress {
    right: 0.9rem;
    bottom: 0.5rem;
    left: 0.9rem;
  }

  .brand-card-inner {
    align-items: flex-start;
  }

  .brand-card-image {
    flex: 0 0 84px;
    width: 84px;
  }

  .price-badge-note {
    display: flex;
    width: 100%;
    border-radius: var(--ak-radius-sm);
  }

  .step {
    min-height: auto;
  }
}

@media (max-width: 420px) {
  .ak-logo {
    font-size: 1.125rem;
  }

  .ak-logo-mark {
    width: 2.375rem;
    height: 2.375rem;
    font-size: 1.375rem;
  }

  .hero-badge {
    justify-content: center;
    width: 100%;
  }

  .price-value {
    font-size: 1.8125rem;
  }

  .step-wide {
    grid-template-columns: 1fr;
  }

  .step-wide::before {
    grid-column: 1;
    grid-row: auto;
    margin-bottom: calc(var(--ak-space) * 0.25);
  }

  .step-wide>div {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3,
  .reveal-delay-4,
  .reveal-delay-5,
  .reveal-delay-6 {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    transition: none !important;
  }

  .trust-card-cta strong i {
    animation: none;
  }
}

/* =========================================================
   34. Dark theme overrides
   ========================================================= */

html[data-theme="dark"] ::selection {
  background: rgba(245, 159, 0, 0.42);
  color: #ffffff;
}

html[data-theme="dark"] ::-moz-selection {
  background: rgba(245, 159, 0, 0.42);
  color: #ffffff;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) ::selection {
    background: rgba(245, 159, 0, 0.42);
    color: #ffffff;
  }

  html:not([data-theme="light"]) ::-moz-selection {
    background: rgba(245, 159, 0, 0.42);
    color: #ffffff;
  }
}

/* Service media */
html[data-theme="dark"] .service-media {
  background: linear-gradient(135deg, #172235 0%, #1d2a40 45%, #152032 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .service-media {
    background: linear-gradient(135deg, #172235 0%, #1d2a40 45%, #152032 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  }
}

/* Service title hover */
html[data-theme="dark"] .service-card h3 a:hover,
html[data-theme="dark"] .service-card h3 a:focus,
html[data-theme="dark"] .service-card h3 a:active {
  color: #ffb21a;
}

@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .service-card h3 a:hover,
  html:not([data-theme="light"]) .service-card h3 a:focus,
  html:not([data-theme="light"]) .service-card h3 a:active {
    color: #ffb21a;
  }
}

/* Maps / price media */
html[data-theme="dark"] .map-box {
  background: #101a2e;
}

html[data-theme="dark"] .price-card-media {
  background: linear-gradient(180deg, #182235 0%, #101a2e 100%);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .map-box {
    background: #101a2e;
  }

  html:not([data-theme="light"]) .price-card-media {
    background: linear-gradient(180deg, #182235 0%, #101a2e 100%);
  }
}

/* Dark form controls */
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] input.form-control,
html[data-theme="dark"] input[type="text"],
html[data-theme="dark"] input[type="tel"],
html[data-theme="dark"] input[type="email"],
html[data-theme="dark"] textarea.form-control,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  background-color: var(--ak-bg-elevated) !important;
  color: var(--ak-text) !important;
  caret-color: var(--ak-text);
  border-color: var(--ak-border) !important;
  -webkit-text-fill-color: var(--ak-text) !important;
  box-shadow: none;
}

html[data-theme="dark"] .form-control:-webkit-autofill,
html[data-theme="dark"] .form-control:-webkit-autofill:hover,
html[data-theme="dark"] .form-control:-webkit-autofill:active,
html[data-theme="dark"] .form-select:-webkit-autofill,
html[data-theme="dark"] .form-select:-webkit-autofill:hover,
html[data-theme="dark"] .form-select:-webkit-autofill:active,
html[data-theme="dark"] textarea.form-control:-webkit-autofill,
html[data-theme="dark"] textarea.form-control:-webkit-autofill:hover,
html[data-theme="dark"] textarea.form-control:-webkit-autofill:active {
  background-color: var(--ak-bg-elevated) !important;
  color: var(--ak-text) !important;
  caret-color: var(--ak-text);
  border-color: var(--ak-border) !important;
  -webkit-text-fill-color: var(--ak-text) !important;
  box-shadow: 0 0 0 1000px var(--ak-bg-elevated) inset !important;
  -webkit-box-shadow: 0 0 0 1000px var(--ak-bg-elevated) inset !important;
}

html[data-theme="dark"] .form-control:-webkit-autofill:focus,
html[data-theme="dark"] .form-select:-webkit-autofill:focus,
html[data-theme="dark"] textarea.form-control:-webkit-autofill:focus {
  background-color: var(--ak-bg-elevated) !important;
  color: var(--ak-text) !important;
  caret-color: var(--ak-text);
  border-color: var(--ak-amber) !important;
  -webkit-text-fill-color: var(--ak-text) !important;
  box-shadow:
    0 0 0 1000px var(--ak-bg-elevated) inset,
    0 0 0 0.25rem rgba(245, 159, 0, 0.16) !important;
  -webkit-box-shadow:
    0 0 0 1000px var(--ak-bg-elevated) inset,
    0 0 0 0.25rem rgba(245, 159, 0, 0.16) !important;
}

html[data-theme="dark"] .form-control::placeholder,
html[data-theme="dark"] input.form-control::placeholder,
html[data-theme="dark"] input[type="text"]::placeholder,
html[data-theme="dark"] input[type="tel"]::placeholder,
html[data-theme="dark"] input[type="email"]::placeholder,
html[data-theme="dark"] textarea.form-control::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: var(--ak-placeholder) !important;
  -webkit-text-fill-color: var(--ak-placeholder) !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .form-control:focus,
html[data-theme="dark"] .form-select:focus,
html[data-theme="dark"] input:focus,
html[data-theme="dark"] textarea:focus,
html[data-theme="dark"] select:focus {
  background-color: var(--ak-bg-elevated) !important;
  color: var(--ak-text) !important;
  caret-color: var(--ak-text);
  border-color: var(--ak-amber) !important;
  -webkit-text-fill-color: var(--ak-text) !important;
  box-shadow: 0 0 0 0.25rem rgba(245, 159, 0, 0.16) !important;
}

@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .form-control,
  html:not([data-theme="light"]) .form-select,
  html:not([data-theme="light"]) input.form-control,
  html:not([data-theme="light"]) input[type="text"],
  html:not([data-theme="light"]) input[type="tel"],
  html:not([data-theme="light"]) input[type="email"],
  html:not([data-theme="light"]) textarea.form-control,
  html:not([data-theme="light"]) textarea,
  html:not([data-theme="light"]) select {
    background-color: var(--ak-bg-elevated) !important;
    color: var(--ak-text) !important;
    caret-color: var(--ak-text);
    border-color: var(--ak-border) !important;
    -webkit-text-fill-color: var(--ak-text) !important;
    box-shadow: none;
  }

  html:not([data-theme="light"]) .form-control:-webkit-autofill,
  html:not([data-theme="light"]) .form-control:-webkit-autofill:hover,
  html:not([data-theme="light"]) .form-control:-webkit-autofill:active,
  html:not([data-theme="light"]) .form-select:-webkit-autofill,
  html:not([data-theme="light"]) .form-select:-webkit-autofill:hover,
  html:not([data-theme="light"]) .form-select:-webkit-autofill:active,
  html:not([data-theme="light"]) textarea.form-control:-webkit-autofill,
  html:not([data-theme="light"]) textarea.form-control:-webkit-autofill:hover,
  html:not([data-theme="light"]) textarea.form-control:-webkit-autofill:active {
    background-color: var(--ak-bg-elevated) !important;
    color: var(--ak-text) !important;
    caret-color: var(--ak-text);
    border-color: var(--ak-border) !important;
    -webkit-text-fill-color: var(--ak-text) !important;
    box-shadow: 0 0 0 1000px var(--ak-bg-elevated) inset !important;
    -webkit-box-shadow: 0 0 0 1000px var(--ak-bg-elevated) inset !important;
  }

  html:not([data-theme="light"]) .form-control:-webkit-autofill:focus,
  html:not([data-theme="light"]) .form-select:-webkit-autofill:focus,
  html:not([data-theme="light"]) textarea.form-control:-webkit-autofill:focus {
    background-color: var(--ak-bg-elevated) !important;
    color: var(--ak-text) !important;
    caret-color: var(--ak-text);
    border-color: var(--ak-amber) !important;
    -webkit-text-fill-color: var(--ak-text) !important;
    box-shadow:
      0 0 0 1000px var(--ak-bg-elevated) inset,
      0 0 0 0.25rem rgba(245, 159, 0, 0.16) !important;
    -webkit-box-shadow:
      0 0 0 1000px var(--ak-bg-elevated) inset,
      0 0 0 0.25rem rgba(245, 159, 0, 0.16) !important;
  }

  html:not([data-theme="light"]) .form-control::placeholder,
  html:not([data-theme="light"]) input.form-control::placeholder,
  html:not([data-theme="light"]) input[type="text"]::placeholder,
  html:not([data-theme="light"]) input[type="tel"]::placeholder,
  html:not([data-theme="light"]) input[type="email"]::placeholder,
  html:not([data-theme="light"]) textarea.form-control::placeholder,
  html:not([data-theme="light"]) textarea::placeholder {
    color: var(--ak-placeholder) !important;
    -webkit-text-fill-color: var(--ak-placeholder) !important;
    opacity: 1 !important;
  }

  html:not([data-theme="light"]) .form-control:focus,
  html:not([data-theme="light"]) .form-select:focus,
  html:not([data-theme="light"]) input:focus,
  html:not([data-theme="light"]) textarea:focus,
  html:not([data-theme="light"]) select:focus {
    background-color: var(--ak-bg-elevated) !important;
    color: var(--ak-text) !important;
    caret-color: var(--ak-text);
    border-color: var(--ak-amber) !important;
    -webkit-text-fill-color: var(--ak-text) !important;
    box-shadow: 0 0 0 0.25rem rgba(245, 159, 0, 0.16) !important;
  }
}

/* Footer border */
html[data-theme="dark"] .footer {
  --tblr-border-color: rgba(74, 89, 122, 0.3);
  border-top-color: rgba(74, 89, 122, 0.3);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .footer {
    --tblr-border-color: rgba(74, 89, 122, 0.3);
    border-top-color: rgba(74, 89, 122, 0.3);
  }
}

/* Eyebrow contrast */
html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .ak-header .eyebrow,
html[data-theme="dark"] .hero .eyebrow,
html[data-theme="dark"] .section-blue .eyebrow,
html[data-theme="dark"] .seo-aside .eyebrow,
html[data-theme="dark"] .sticky-aside .eyebrow,
html[data-theme="dark"] .summary-panel.dark .eyebrow,
html[data-theme="dark"] .eyebrow i,
html[data-theme="dark"] .ak-header .eyebrow i,
html[data-theme="dark"] .hero .eyebrow i,
html[data-theme="dark"] .section-blue .eyebrow i,
html[data-theme="dark"] .seo-aside .eyebrow i,
html[data-theme="dark"] .sticky-aside .eyebrow i,
html[data-theme="dark"] .summary-panel.dark .eyebrow i {
  color: #ffb21a !important;
}

@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .eyebrow,
  html:not([data-theme="light"]) .ak-header .eyebrow,
  html:not([data-theme="light"]) .hero .eyebrow,
  html:not([data-theme="light"]) .section-blue .eyebrow,
  html:not([data-theme="light"]) .seo-aside .eyebrow,
  html:not([data-theme="light"]) .sticky-aside .eyebrow,
  html:not([data-theme="light"]) .summary-panel.dark .eyebrow,
  html:not([data-theme="light"]) .eyebrow i,
  html:not([data-theme="light"]) .ak-header .eyebrow i,
  html:not([data-theme="light"]) .hero .eyebrow i,
  html:not([data-theme="light"]) .section-blue .eyebrow i,
  html:not([data-theme="light"]) .seo-aside .eyebrow i,
  html:not([data-theme="light"]) .sticky-aside .eyebrow i,
  html:not([data-theme="light"]) .summary-panel.dark .eyebrow i {
    color: #ffb21a !important;
  }
}

/* TikTok dark */
html[data-theme="dark"] .work-gallery-more-btn-tiktok {
  background: #343b4a;
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

html[data-theme="dark"] .work-gallery-more-btn-tiktok:hover,
html[data-theme="dark"] .work-gallery-more-btn-tiktok:focus,
html[data-theme="dark"] .work-gallery-more-btn-tiktok:active {
  background: #41495b;
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(170, 185, 215, 0.22);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .work-gallery-more-btn-tiktok {
    background: #343b4a;
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }

  html:not([data-theme="light"]) .work-gallery-more-btn-tiktok:hover,
  html:not([data-theme="light"]) .work-gallery-more-btn-tiktok:focus,
  html:not([data-theme="light"]) .work-gallery-more-btn-tiktok:active {
    background: #41495b;
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    box-shadow:
      0 12px 24px rgba(0, 0, 0, 0.28),
      0 0 18px rgba(170, 185, 215, 0.22);
  }
}

/* Price note / addon dark */
html[data-theme="dark"] .price-badge-note {
  background: rgba(245, 159, 0, 0.1);
  border-color: rgba(245, 159, 0, 0.24);
  color: var(--ak-text);
}

html[data-theme="dark"] .price-badge-note i {
  color: var(--ak-amber);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .price-badge-note {
    background: rgba(245, 159, 0, 0.1);
    border-color: rgba(245, 159, 0, 0.24);
    color: var(--ak-text);
  }

  html:not([data-theme="light"]) .price-badge-note i {
    color: var(--ak-amber);
  }
}

html[data-theme="dark"] .price-addon {
  background: rgba(245, 159, 0, 0.1) !important;
  border-color: rgba(245, 159, 0, 0.24) !important;
  color: #f8ddaf !important;
}

html[data-theme="dark"] .price-addon i {
  color: #ffb21a !important;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .price-addon {
    background: rgba(245, 159, 0, 0.1) !important;
    border-color: rgba(245, 159, 0, 0.24) !important;
    color: #f8ddaf !important;
  }

  html:not([data-theme="light"]) .price-addon i {
    color: #ffb21a !important;
  }
}

/* Outline buttons in dark sections */
html[data-theme="dark"] .btn-ak-outline:not(.work-gallery-more-btn-instagram):not(.work-gallery-more-btn-tiktok):not(.work-gallery-more-btn-youtube),
html[data-theme="dark"] .summary-panel.dark .btn-ak-outline,
html[data-theme="dark"] .section-blue .btn-ak-outline,
html[data-theme="dark"] .seo-aside .btn-ak-outline,
html[data-theme="dark"] .sticky-aside .btn-ak-outline {
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] .btn-ak-outline:not(.work-gallery-more-btn-instagram):not(.work-gallery-more-btn-tiktok):not(.work-gallery-more-btn-youtube):hover,
html[data-theme="dark"] .btn-ak-outline:not(.work-gallery-more-btn-instagram):not(.work-gallery-more-btn-tiktok):not(.work-gallery-more-btn-youtube):focus,
html[data-theme="dark"] .btn-ak-outline:not(.work-gallery-more-btn-instagram):not(.work-gallery-more-btn-tiktok):not(.work-gallery-more-btn-youtube):active,
html[data-theme="dark"] .summary-panel.dark .btn-ak-outline:hover,
html[data-theme="dark"] .summary-panel.dark .btn-ak-outline:focus,
html[data-theme="dark"] .summary-panel.dark .btn-ak-outline:active,
html[data-theme="dark"] .section-blue .btn-ak-outline:hover,
html[data-theme="dark"] .section-blue .btn-ak-outline:focus,
html[data-theme="dark"] .section-blue .btn-ak-outline:active,
html[data-theme="dark"] .seo-aside .btn-ak-outline:hover,
html[data-theme="dark"] .seo-aside .btn-ak-outline:focus,
html[data-theme="dark"] .seo-aside .btn-ak-outline:active,
html[data-theme="dark"] .sticky-aside .btn-ak-outline:hover,
html[data-theme="dark"] .sticky-aside .btn-ak-outline:focus,
html[data-theme="dark"] .sticky-aside .btn-ak-outline:active {
  background: #ffffff;
  color: var(--ak-blue);
  border-color: #ffffff;
}

@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .btn-ak-outline:not(.work-gallery-more-btn-instagram):not(.work-gallery-more-btn-tiktok):not(.work-gallery-more-btn-youtube),
  html:not([data-theme="light"]) .summary-panel.dark .btn-ak-outline,
  html:not([data-theme="light"]) .section-blue .btn-ak-outline,
  html:not([data-theme="light"]) .seo-aside .btn-ak-outline,
  html:not([data-theme="light"]) .sticky-aside .btn-ak-outline {
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
  }

  html:not([data-theme="light"]) .btn-ak-outline:not(.work-gallery-more-btn-instagram):not(.work-gallery-more-btn-tiktok):not(.work-gallery-more-btn-youtube):hover,
  html:not([data-theme="light"]) .btn-ak-outline:not(.work-gallery-more-btn-instagram):not(.work-gallery-more-btn-tiktok):not(.work-gallery-more-btn-youtube):focus,
  html:not([data-theme="light"]) .btn-ak-outline:not(.work-gallery-more-btn-instagram):not(.work-gallery-more-btn-tiktok):not(.work-gallery-more-btn-youtube):active,
  html:not([data-theme="light"]) .summary-panel.dark .btn-ak-outline:hover,
  html:not([data-theme="light"]) .summary-panel.dark .btn-ak-outline:focus,
  html:not([data-theme="light"]) .summary-panel.dark .btn-ak-outline:active,
  html:not([data-theme="light"]) .section-blue .btn-ak-outline:hover,
  html:not([data-theme="light"]) .section-blue .btn-ak-outline:focus,
  html:not([data-theme="light"]) .section-blue .btn-ak-outline:active,
  html:not([data-theme="light"]) .seo-aside .btn-ak-outline:hover,
  html:not([data-theme="light"]) .seo-aside .btn-ak-outline:focus,
  html:not([data-theme="light"]) .seo-aside .btn-ak-outline:active,
  html:not([data-theme="light"]) .sticky-aside .btn-ak-outline:hover,
  html:not([data-theme="light"]) .sticky-aside .btn-ak-outline:focus,
  html:not([data-theme="light"]) .sticky-aside .btn-ak-outline:active {
    background: #ffffff;
    color: var(--ak-blue);
    border-color: #ffffff;
  }
}

/* Service badges dark */
html[data-theme="dark"] .service-meta span:not(.service-price-badge) {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .service-meta span:not(.service-price-badge) i {
  color: var(--ak-amber);
}

html[data-theme="dark"] .service-meta span.service-price-badge {
  background: rgba(245, 159, 0, 0.12);
  color: #f8e7b8;
  border: 1px solid rgba(245, 159, 0, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .service-meta span.service-price-badge i {
  color: #ffb21a;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .service-meta span:not(.service-price-badge) {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  html:not([data-theme="light"]) .service-meta span:not(.service-price-badge) i {
    color: var(--ak-amber);
  }

  html:not([data-theme="light"]) .service-meta span.service-price-badge {
    background: rgba(245, 159, 0, 0.12);
    color: #f8e7b8;
    border: 1px solid rgba(245, 159, 0, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  html:not([data-theme="light"]) .service-meta span.service-price-badge i {
    color: #ffb21a;
  }
}

/* Header socials dark */
html[data-theme="dark"] .ak-header-socials .ak-social-link {
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.16);
}

html[data-theme="dark"] .ak-header-socials .ak-social-link:hover,
html[data-theme="dark"] .ak-header-socials .ak-social-link:focus,
html[data-theme="dark"] .ak-header-socials .ak-social-link:active {
  background: var(--ak-amber);
  color: #111827;
  border-color: var(--ak-amber);
}

html[data-theme="dark"] .ak-header-socials .ak-social-link .ak-icon-viber {
  fill: currentColor;
  color: currentColor;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .ak-header-socials .ak-social-link {
    background: rgba(255, 255, 255, 0.075);
    color: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.16);
  }

  html:not([data-theme="light"]) .ak-header-socials .ak-social-link:hover,
  html:not([data-theme="light"]) .ak-header-socials .ak-social-link:focus,
  html:not([data-theme="light"]) .ak-header-socials .ak-social-link:active {
    background: var(--ak-amber);
    color: #111827;
    border-color: var(--ak-amber);
  }

  html:not([data-theme="light"]) .ak-header-socials .ak-social-link .ak-icon-viber {
    fill: currentColor;
    color: currentColor;
  }
}

/* Danger age note dark */
html[data-theme="dark"] .age-note-danger {
  background: rgba(127, 29, 29, 0.18);
  border-color: rgba(248, 113, 113, 0.28);
  color: #fecaca;
}

html[data-theme="dark"] .age-note-danger i {
  color: #f87171;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .age-note-danger {
    background: rgba(127, 29, 29, 0.18);
    border-color: rgba(248, 113, 113, 0.28);
    color: #fecaca;
  }

  html:not([data-theme="light"]) .age-note-danger i {
    color: #f87171;
  }
}

/* Map loading dark */
html[data-theme="dark"] .map-loading {
  background:
    radial-gradient(circle at 50% 35%, rgba(245, 159, 0, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

html[data-theme="dark"] .map-loading-pin {
  background: rgba(215, 57, 57, 0.14);
  color: #ff6b6b;
}

html[data-theme="dark"] .map-loading-pin::before {
  border-color: rgba(255, 107, 107, 0.2);
}

html[data-theme="dark"] .map-loading-text {
  color: #f3f6fb;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .map-loading {
    background:
      radial-gradient(circle at 50% 35%, rgba(245, 159, 0, 0.08), transparent 32%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  }

  html:not([data-theme="light"]) .map-loading-pin {
    background: rgba(215, 57, 57, 0.14);
    color: #ff6b6b;
  }

  html:not([data-theme="light"]) .map-loading-pin::before {
    border-color: rgba(255, 107, 107, 0.2);
  }

  html:not([data-theme="light"]) .map-loading-text {
    color: #f3f6fb;
  }
}

@media (max-width: 760px) {
  .hero-card {
    display: none;
  }

  #hero-slide-list {
    display: none;
  }

  #hero-slide-text {
    margin-bottom: 0;
  }

  .review-yandex-badge {
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    aspect-ratio: auto;
  }

  .map-tabs {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    overflow: visible;
    -webkit-overflow-scrolling: touch;
  }

  .map-tab,
  .map-nav-link {
    box-sizing: border-box;
    min-height: 2.75rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .map-tab {
    flex: 0 0 calc(50% - 0.25rem);
    width: calc(50% - 0.25rem);
  }

  .map-nav-link {
    flex: 0 0 100%;
    width: 100%;
  }

  .map-box,
  .map-box-inner,
  .map-video-box {
    height: 320px;
  }
}

/* =========================================================
   Mobile menu open state: lock page scroll + menu scroll + hide sticky CTA
   ========================================================= */
@media (max-width: 1120px) {

  /* Когда мобильное меню открыто — блокируем прокрутку страницы */
  html:has(.mobile-panel.open),
  body:has(.mobile-panel.open) {
    overflow: hidden !important;
    height: 100% !important;
  }

  /* Скрываем нижнюю плавающую панель с двумя кнопками */
  html:has(.mobile-panel.open) .mobile-sticky-cta,
  body:has(.mobile-panel.open) .mobile-sticky-cta {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(100%) !important;
  }

  /* Само меню */
  .mobile-panel.open {
    display: block !important;
    position: fixed !important;
    top: var(--ak-header-height);
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;

    height: calc(100dvh - var(--ak-header-height));
    min-height: calc(100vh - var(--ak-header-height));

    padding:
      0.625rem max(0.75rem, env(safe-area-inset-right)) calc(2.5rem + env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left)) !important;

    margin: 0 !important;
    border-top: 1px solid var(--ak-border);
    background: var(--ak-bg);
    backdrop-filter: none;
    z-index: 1085;

    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    box-sizing: border-box;
  }

  .mobile-panel.open::after {
    content: "";
    display: block;
    width: 100%;
    height: calc(1.75rem + env(safe-area-inset-bottom));
    pointer-events: none;
  }
}

.expert-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--ak-gap-lg);
  padding: var(--ak-card-padding);
  border: 1px solid var(--ak-border);
  border-radius: calc(var(--ak-radius) + 0.125rem);
  background:
    radial-gradient(circle at 8% 20%, rgba(245, 159, 0, 0.1), transparent 22%),
    linear-gradient(180deg, var(--ak-surface-1) 0%, var(--ak-surface-2) 100%);
}

.expert-cta-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(245, 159, 0, 0.18) 0%, rgba(245, 159, 0, 0.08) 100%),
    #fff;
  border: 1px solid rgba(245, 159, 0, 0.24);
  color: var(--ak-amber-dark);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0.75rem 1.5rem rgba(245, 159, 0, 0.08);
}

.expert-cta-avatar i {
  font-size: 2rem;
  line-height: 1;
}

.expert-cta-content {
  min-width: 0;
}

.expert-cta-label {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: #8a5523;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.expert-cta h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.35rem, 2.15vw, 1.85rem);
  line-height: 1.14;
}

.expert-cta p {
  margin: 0;
  max-width: 760px;
  color: var(--ak-text-muted);
}

.expert-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.expert-cta-actions .btn-ak {
  min-width: 220px;
}

/* dark */
html[data-theme="dark"] .expert-cta {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 8% 20%, rgba(245, 159, 0, 0.08), transparent 22%),
    linear-gradient(180deg, #162033 0%, #101a2e 100%);
}

html[data-theme="dark"] .expert-cta-avatar {
  background:
    linear-gradient(180deg, rgba(245, 159, 0, 0.16) 0%, rgba(245, 159, 0, 0.08) 100%),
    rgba(255, 255, 255, 0.02);
  border-color: rgba(245, 159, 0, 0.22);
  color: #ffb21a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0.75rem 1.5rem rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .expert-cta-label {
  color: #ffb21a;
}

html[data-theme="dark"] .expert-cta h2 {
  color: #ffffff;
}

html[data-theme="dark"] .expert-cta p {
  color: rgba(255, 255, 255, 0.74);
}

html[data-theme="dark"] .expert-cta .btn-ak-outline {
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] .expert-cta .btn-ak-outline:hover,
html[data-theme="dark"] .expert-cta .btn-ak-outline:focus,
html[data-theme="dark"] .expert-cta .btn-ak-outline:active {
  background: #ffffff;
  color: var(--ak-blue);
  border-color: #ffffff;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .expert-cta {
    border-color: rgba(255, 255, 255, 0.08);
    background:
      radial-gradient(circle at 8% 20%, rgba(245, 159, 0, 0.08), transparent 22%),
      linear-gradient(180deg, #162033 0%, #101a2e 100%);
  }

  html:not([data-theme="light"]) .expert-cta-avatar {
    background:
      linear-gradient(180deg, rgba(245, 159, 0, 0.16) 0%, rgba(245, 159, 0, 0.08) 100%),
      rgba(255, 255, 255, 0.02);
    border-color: rgba(245, 159, 0, 0.22);
    color: #ffb21a;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 0.75rem 1.5rem rgba(0, 0, 0, 0.18);
  }

  html:not([data-theme="light"]) .expert-cta-label {
    color: #ffb21a;
  }

  html:not([data-theme="light"]) .expert-cta h2 {
    color: #ffffff;
  }

  html:not([data-theme="light"]) .expert-cta .btn-ak-outline {
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
  }

  html:not([data-theme="light"]) .expert-cta .btn-ak-outline:hover,
  html:not([data-theme="light"]) .expert-cta .btn-ak-outline:focus,
  html:not([data-theme="light"]) .expert-cta .btn-ak-outline:active {
    background: #ffffff;
    color: var(--ak-blue);
    border-color: #ffffff;
  }
}

@media (max-width: 1120px) {
  .expert-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .expert-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .expert-cta-avatar {
    width: 4rem;
    height: 4rem;
  }

  .expert-cta-avatar i {
    font-size: 1.75rem;
  }

  .expert-cta-actions .btn-ak {
    width: 100%;
    min-width: 0;
  }
}

/* Disable service image zoom on touch devices */
@media (hover: none),
(pointer: coarse),
(max-width: 1024px) {

  .service-media img,
  .service-media:hover img,
  .service-media:focus img,
  .service-media:focus-visible img,
  .service-media:active img {
    transform: none !important;
    transition: none !important;
  }
}

/* Иконка в лейбле: только мобилка */
.expert-cta-label-mobile-icon {
  display: none;
}

@media (max-width: 760px) {
  .expert-cta-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: calc(var(--ak-space) * 0.75);
    /* стандартный отступ до заголовка */
  }

  .expert-cta-label-mobile-icon {
    display: inline-flex;
    font-size: 1rem;
    line-height: 1;
    color: var(--ak-amber);
  }

  .expert-cta .expert-cta-avatar,
  .expert-cta-avatar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }

  .expert-cta {
    grid-template-columns: 1fr !important;
  }
}

.price-rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ak-gap);
}

.price-rule-card {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  padding: var(--ak-card-padding-sm);
  border: 1px solid var(--ak-border);
  /* тонкая стандартная граница */
  border-radius: var(--ak-radius-sm);
  background: var(--ak-bg-elevated);
  /* плоский фон */
  box-shadow: none;
  /* без пафоса */
}

.price-rule-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--ak-border);
  /* тонко и стандартно */
  border-radius: var(--ak-radius-sm);
  background: rgba(245, 159, 0, 0.10);
  /* жёлтый акцент */
  color: var(--ak-amber-dark);
  /* жёлтая иконка */
  font-size: 1.1rem;
}

.price-rule-label {
  display: inline-block;
  margin-bottom: calc(var(--ak-space) * 0.75);
  /* стандартный отступ до заголовка */
  color: #8a5523;
  /* тёплый акцентный текст */
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.price-rule-content h3 {
  margin: 0 0 calc(var(--ak-space) * 0.875);
  color: var(--ak-text-strong);
  font-size: 1.1rem;
}

.price-rule-content p {
  margin: 0;
  color: var(--ak-text-muted);
  line-height: 1.5;
}

/* Dark theme: тоже жёлтый акцент, но без "тяжелых" эффектов */
html[data-theme="dark"] .price-rule-icon {
  background: rgba(245, 159, 0, 0.14);
  color: var(--ak-amber);
}

html[data-theme="dark"] .price-rule-label {
  color: var(--ak-amber);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .price-rule-icon {
    background: rgba(245, 159, 0, 0.14);
    color: var(--ak-amber);
  }

  html:not([data-theme="light"]) .price-rule-label {
    color: var(--ak-amber);
  }
}

@media (max-width: 760px) {
  .price-rules-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .mobile-sticky-cta {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(100%) !important;
  }
}

.ak-mobile-call-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.875rem;
  height: 2.875rem;
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius-sm);
  background: var(--ak-bg-elevated);
  color: var(--ak-text-strong);
  /* тот же цвет, что у бургера */
}

.ak-mobile-call-btn i {
  color: currentColor;
  /* берёт цвет родителя */
  font-size: 1.4rem;
}

.ak-mobile-call-btn:hover,
.ak-mobile-call-btn:focus,
.ak-mobile-call-btn:active {
  text-decoration: none;
  color: var(--ak-text-strong);
}

/* Показ на мобиле/планшете, где скрыта десктоп-навигация */
@media (max-width: 1120px) {
  .ak-mobile-call-btn {
    display: inline-flex;
  }
}

/* Полностью отключаем reveal на мобильных */
@media (max-width: 760px) {
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3,
  .reveal-delay-4,
  .reveal-delay-5,
  .reveal-delay-6 {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    transition: none !important;
    animation: none !important;
  }
}

.hero .hero-grid {
  position: relative;
}

.hero .hero-grid::before {
  content: "";
  position: absolute;
  top: -1.5rem;
  bottom: -1.5rem;
  left: -1rem;
  width: min(44rem, 52%);
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at left center,
      rgba(10, 16, 28, 0.68) 0%,
      rgba(10, 16, 28, 0.52) 30%,
      rgba(10, 16, 28, 0.34) 55%,
      rgba(10, 16, 28, 0.14) 78%,
      rgba(10, 16, 28, 0.04) 90%,
      rgba(10, 16, 28, 0) 100%);
  filter: blur(20px);
}

/* Кнопки и иконки без тени */
.hero .hero-grid>div:not(.hero-card) .btn-ak,
.hero .hero-grid>div:not(.hero-card) .btn-ak *,
.hero .hero-grid>div:not(.hero-card) i {
  text-shadow: none !important;
}

/* Подстраховка: в карточке никогда не рисуем текст-тень */
.hero .hero-card,
.hero .hero-card * {
  text-shadow: none !important;
}

@media (max-width: 760px) {

  /* Верх: текст в шапке ближе к полоске с logo/toggle */
  .hero {
    padding-top: 1.25rem;
    /* было 2.25rem */
    padding-bottom: 1rem;
    /* было 1.75rem */
  }

  .hero-badges {
    margin: 0.75rem 0 0.75rem;
  }

  .hero-contact {
    margin-top: 0.75rem;
  }

  /* Низ: последний текст ближе к нижнему краю */
  .footer {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
  }

  .footer address {
    margin-bottom: 0;
  }

  .hero-badges {
    display: none !important;
  }

  .hero .btn-row {
    margin-top: 1.25rem;
  }
}


/* =========================================================
   Mobile spacing refinement (compact vertical rhythm)
   ========================================================= */
@media (max-width: 760px) {
  :root {
    /* Секции: чуть компактнее */
    --ak-section-padding: 2rem;
    /* было 2.5rem */
    --ak-section-padding-sm: 1.25rem;
    /* было 1.5rem */
    --ak-section-padding-tight: 1.5rem;
    /* было 2rem */

    /* Глобальный внутренний ритм */
    --ak-gap: 0.875rem;
    --ak-gap-lg: 1.125rem;
    --ak-gap-xl: 1.375rem;
  }

  /* Заголовочные блоки внутри секций */
  .section-head {
    margin-bottom: 1rem;
    /* было больше */
  }

  .section-head h2 {
    margin-bottom: 0.625rem;
  }

  .section-head .lead {
    margin-bottom: 0.625rem;
    line-height: 1.5;
  }

  /* Если два lead подряд — без лишнего воздуха */
  .section-head .lead+.lead {
    margin-top: 0.375rem;
  }

  /* Гриды/карточки */
  .cards-grid,
  .price-grid,
  .reviews-grid,
  .timeline,
  .work-gallery-grid,
  .brand-row,
  .trust-grid {
    gap: 0.875rem;
  }

  .btn-row {
    gap: var(--ak-space) !important;
  }

  .cta-strip,
  .expert-cta,
  .summary-box,
  .contact-grid {
    gap: 0.875rem;
  }

  /* Утилиты Tabler на мобиле чуть мягче */
  .mt-4 {
    margin-top: 1rem !important;
  }

  /* было обычно 1.5rem */
  .mt-5 {
    margin-top: 1.25rem !important;
  }

  /* было обычно 3rem */

  /* FAQ — компактнее */
  .faq {
    gap: 0.625rem;
  }

  .faq-button {
    padding: 0.9rem 1rem;
  }

  .faq-item.open .faq-content-inner {
    padding-bottom: 1rem;
  }
}

.practice-box {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--ak-gap-lg);
  padding: var(--ak-card-padding);
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius);
  background: var(--ak-bg-elevated);
  box-shadow: var(--ak-shadow-soft);
}

.practice-box-side {
  min-width: 0;
}

.practice-box-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.35rem 0.7rem;
  border-radius: var(--ak-radius-pill);
  background: rgba(245, 159, 0, 0.12);
  color: #8a5523;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.practice-box-list {
  display: grid;
  gap: 0.875rem;
}

.practice-point {
  padding: 1rem 1rem 0.95rem;
  border-left: 4px solid var(--ak-amber);
  border-radius: 0 var(--ak-radius-sm) var(--ak-radius-sm) 0;
  background: linear-gradient(180deg, var(--ak-surface-2) 0%, var(--ak-surface-1) 100%);
}

.practice-point strong {
  display: block;
  margin-bottom: 0.375rem;
  color: var(--ak-text-strong);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.3;
}

.practice-point span {
  display: block;
  color: var(--ak-text-muted);
  line-height: 1.5;
}

html[data-theme="dark"] .practice-point {
  background: rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .practice-box-label {
  color: #ffb21a;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .practice-point {
    background: rgba(255, 255, 255, 0.03);
  }

  html:not([data-theme="light"]) .practice-box-label {
    color: #ffb21a;
  }
}

@media (max-width: 960px) {
  .practice-box {
    grid-template-columns: 1fr;
  }
}



.anti-bullshit {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius);
  background:
    linear-gradient(135deg, #1a2744 0%, #101a2e 58%, #162238 100%);
  color: #ffffff;
  box-shadow:
    0 1.5rem 3.5rem rgba(16, 24, 40, 0.18);
}

.anti-bullshit::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 14%, rgba(245, 159, 0, 0.08), transparent 14%),
    radial-gradient(circle at 94% 84%, rgba(126, 162, 234, 0.05), transparent 14%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.04), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

.anti-bullshit-top,
.anti-bullshit-bottom {
  position: relative;
  z-index: 1;
}

.anti-bullshit-top {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(240px, 0.78fr);
  gap: 0;
}

.anti-bullshit-lead {
  padding: calc(var(--ak-card-padding) * 1.1);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.anti-bullshit-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(245, 159, 0, 0.18);
  border-radius: var(--ak-radius-pill);
  background: rgba(245, 159, 0, 0.12);
  color: #ffb21a;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
}

.anti-bullshit h2 {
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  max-width: none;
}

.anti-bullshit h2 span {
  color: #ffb21a;
}

.anti-bullshit-text {
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.06rem;
  line-height: 1.7;
}

.anti-bullshit-compare {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.anti-bullshit-panel {
  padding: calc(var(--ak-card-padding) * 1.05);
}

.anti-bullshit-panel+.anti-bullshit-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.anti-bullshit-panel-label {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.anti-bullshit-panel ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.anti-bullshit-panel li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.anti-bullshit-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
}

.anti-bullshit-panel-bad {
  background: rgba(248, 113, 113, 0.05);
}

.anti-bullshit-panel-bad li::before {
  background: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}

.anti-bullshit-panel-bad .anti-bullshit-panel-label {
  color: #fff;
}

.anti-bullshit-panel-good {
  background: rgba(74, 222, 128, 0.05);
}

.anti-bullshit-panel-good li::before {
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
}

.anti-bullshit-panel-good .anti-bullshit-panel-label {
  color: #fff;
}

.anti-bullshit-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--ak-gap-lg);
  padding: calc(var(--ak-card-padding) * 1.05);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.anti-bullshit-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ak-gap);
}

.anti-bullshit-proof-item {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ak-radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.anti-bullshit-proof-item strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.anti-bullshit-proof-item span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.anti-bullshit-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 290px;
}

.anti-bullshit-actions .btn-ak {
  width: 100%;
}

.anti-bullshit .btn-ak-outline {
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.anti-bullshit .btn-ak-outline:hover,
.anti-bullshit .btn-ak-outline:focus,
.anti-bullshit .btn-ak-outline:active {
  background: #ffffff;
  color: var(--ak-blue);
  border-color: #ffffff;
}

/* light theme */
html[data-theme="light"] .anti-bullshit {
  background:
    linear-gradient(135deg, #243657 0%, #1a2744 58%, #243657 100%);
}

@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) .anti-bullshit {
    background:
      linear-gradient(135deg, #243657 0%, #1a2744 58%, #243657 100%);
  }
}

@media (max-width: 1120px) {

  .anti-bullshit-top,
  .anti-bullshit-bottom {
    grid-template-columns: 1fr;
  }

  .anti-bullshit-lead {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .anti-bullshit-proof {
    grid-template-columns: 1fr;
  }

  .anti-bullshit-actions {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .anti-bullshit h2 {
    max-width: none;
    font-size: clamp(1.75rem, 7vw, 2.35rem);
    line-height: 1.2;
  }

  .anti-bullshit-text {
    font-size: 1rem;
    line-height: 1.65;
  }

  .anti-bullshit-panel,
  .anti-bullshit-lead,
  .anti-bullshit-bottom {
    padding: var(--ak-card-padding-sm);
  }
}


.ownership-logic {
  position: relative;
  overflow: hidden;
  padding: calc(var(--ak-card-padding) * 1.15);
  border: 1px solid var(--ak-border);
  border-radius: calc(var(--ak-radius) + 0.2rem);
  background:
    radial-gradient(circle at 0% 0%, rgba(245, 159, 0, 0.08), transparent 18%),
    radial-gradient(circle at 100% 100%, rgba(79, 112, 184, 0.06), transparent 20%),
    linear-gradient(180deg, var(--ak-surface-1) 0%, var(--ak-surface-2) 100%);
  box-shadow: var(--ak-shadow);
}

.ownership-logic::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.03));
  pointer-events: none;
}

.ownership-logic-head,
.ownership-logic-grid,
.ownership-logic-footer {
  position: relative;
  z-index: 1;
}

.ownership-logic-head {
  max-width: none;
}

.ownership-logic-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.9rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(245, 159, 0, 0.2);
  border-radius: var(--ak-radius-pill);
  background: rgba(245, 159, 0, 0.1);
  color: #8a5523;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
}

.ownership-logic h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  max-width: 800px;
}

.ownership-logic h2 span {
  display: block;
  color: var(--ak-amber-dark);
}

.ownership-logic-lead {
  max-width: none;
  color: var(--ak-text-muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.ownership-logic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-left: -32px;
  margin-right: -32px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.ownership-logic-grid .ownership-case {
  position: relative;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 32px;
  height: 100%;
}

.ownership-logic-grid .ownership-case:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  right: 0;
  bottom: 32px;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.ownership-logic-grid .ownership-case:not(:last-child)::after {
  background: var(--ak-border);
}

@media (max-width: 991.98px) {
  .ownership-logic-grid .ownership-case {
    padding: 32px 0 0 0;
  }

  .ownership-logic-grid {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
  }

  .ownership-logic-grid .ownership-case:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .ownership-logic-grid .ownership-case:not(:last-child)::after {
    display: none;
  }
}

.ownership-case {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.15rem;
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius);
  background: var(--ak-bg-elevated);
  box-shadow: var(--ak-shadow-soft);
}

.ownership-case-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.875rem;
  align-items: start;
  margin-bottom: 1rem;
}

.ownership-case-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 1rem;
  background: rgba(245, 159, 0, 0.12);
  color: var(--ak-amber-dark);
}

.ownership-case-icon i {
  font-size: 1.55rem;
  line-height: 1;
}

.ownership-case-tag {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--ak-text-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  line-height: 1.2;
}

.ownership-case h3 {
  margin-bottom: 0;
  font-size: 1.22rem;
  line-height: 1.18;
}

.ownership-case-text {
  flex: 1;
  margin-bottom: 1rem;
  color: var(--ak-text);
  line-height: 1.65;
}

.ownership-case-note {
  padding-top: 0.9rem;
  border-top: 1px solid var(--ak-border);
  color: var(--ak-text);
  line-height: 1.55;
}

.ownership-case-note strong {
  color: var(--ak-text-strong);
}

.ownership-case-new {
  background:
    linear-gradient(180deg, rgba(245, 159, 0, 0.04), transparent 48%),
    var(--ak-bg-elevated);
}

.ownership-case-run {
  background:
    linear-gradient(180deg, rgba(79, 112, 184, 0.04), transparent 48%),
    var(--ak-bg-elevated);
}

.ownership-case-rust {
  background:
    linear-gradient(180deg, rgba(194, 65, 12, 0.04), transparent 48%),
    var(--ak-bg-elevated);
}

.ownership-logic-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--ak-gap-lg);
  margin-top: calc(var(--ak-gap-xl) * 0.95);
  padding-top: calc(var(--ak-gap-lg) * 1.05);
  border-top: 1px solid var(--ak-border);
}

.ownership-logic-footer-text strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ak-text-strong);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
}

.ownership-logic-footer-text span {
  display: block;
  color: var(--ak-text);
  line-height: 1.6;
}

.ownership-logic-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 300px;
}

.ownership-logic-actions .btn-ak {
  width: 100%;
}

/* dark theme */
html[data-theme="dark"] .ownership-logic {
  background:
    radial-gradient(circle at 0% 0%, rgba(245, 159, 0, 0.07), transparent 18%),
    radial-gradient(circle at 100% 100%, rgba(79, 112, 184, 0.06), transparent 20%),
    linear-gradient(180deg, #162033 0%, #101a2e 100%);
}

/* materialy.php: убрать вертикальный отступ между верхним подблоком и нижним (с кнопками) на немобиле */
@media (min-width: 761px) {
  #cases .ownership-logic-footer {
    margin-top: 0;
  }
}

html[data-theme="dark"] .ownership-logic-kicker {
  color: #ffb21a;
  background: rgba(245, 159, 0, 0.1);
  border-color: rgba(245, 159, 0, 0.18);
}

html[data-theme="dark"] .ownership-logic h2 {
  color: #ffffff;
}

html[data-theme="dark"] .ownership-logic h2 span {
  color: #ffb21a;
}

html[data-theme="dark"] .ownership-logic-lead {
  color: rgba(255, 255, 255, 0.76);
}

html[data-theme="dark"] .ownership-case {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

html[data-theme="dark"] .ownership-case-new {
  background:
    linear-gradient(180deg, rgba(245, 159, 0, 0.06), transparent 48%),
    rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .ownership-case-run {
  background:
    linear-gradient(180deg, rgba(79, 112, 184, 0.06), transparent 48%),
    rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .ownership-case-rust {
  background:
    linear-gradient(180deg, rgba(194, 65, 12, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .ownership-case-icon {
  background: rgba(245, 159, 0, 0.14);
  color: #ffb21a;
}

html[data-theme="dark"] .ownership-case-tag {
  color: rgba(255, 255, 255, 0.56);
}

html[data-theme="dark"] .ownership-case h3,
html[data-theme="dark"] .ownership-case-note strong,
html[data-theme="dark"] .ownership-logic-footer-text strong {
  color: #ffffff;
}

html[data-theme="dark"] .ownership-case-note,
html[data-theme="dark"] .ownership-logic-footer {
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .ownership-logic .btn-ak-outline {
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] .ownership-logic .btn-ak-outline:hover,
html[data-theme="dark"] .ownership-logic .btn-ak-outline:focus,
html[data-theme="dark"] .ownership-logic .btn-ak-outline:active {
  background: #ffffff;
  color: var(--ak-blue);
  border-color: #ffffff;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .ownership-logic {
    background:
      radial-gradient(circle at 0% 0%, rgba(245, 159, 0, 0.07), transparent 18%),
      radial-gradient(circle at 100% 100%, rgba(79, 112, 184, 0.06), transparent 20%),
      linear-gradient(180deg, #162033 0%, #101a2e 100%);
  }

  html:not([data-theme="light"]) .ownership-logic-kicker {
    color: #ffb21a;
    background: rgba(245, 159, 0, 0.1);
    border-color: rgba(245, 159, 0, 0.18);
  }

  html:not([data-theme="light"]) .ownership-logic h2 {
    color: #ffffff;
  }

  html:not([data-theme="light"]) .ownership-logic h2 span {
    color: #ffb21a;
  }

  html:not([data-theme="light"]) .ownership-logic-lead {
    color: rgba(255, 255, 255, 0.76);
  }

  html:not([data-theme="light"]) .ownership-case {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }

  html:not([data-theme="light"]) .ownership-case-new {
    background:
      linear-gradient(180deg, rgba(245, 159, 0, 0.06), transparent 48%),
      rgba(255, 255, 255, 0.03);
  }

  html:not([data-theme="light"]) .ownership-case-run {
    background:
      linear-gradient(180deg, rgba(79, 112, 184, 0.06), transparent 48%),
      rgba(255, 255, 255, 0.03);
  }

  html:not([data-theme="light"]) .ownership-case-rust {
    background:
      linear-gradient(180deg, rgba(194, 65, 12, 0.08), transparent 48%),
      rgba(255, 255, 255, 0.03);
  }

  html:not([data-theme="light"]) .ownership-case-icon {
    background: rgba(245, 159, 0, 0.14);
    color: #ffb21a;
  }

  html:not([data-theme="light"]) .ownership-case-tag {
    color: rgba(255, 255, 255, 0.56);
  }

  html:not([data-theme="light"]) .ownership-case h3,
  html:not([data-theme="light"]) .ownership-case-note strong,
  html:not([data-theme="light"]) .ownership-logic-footer-text strong {
    color: #ffffff;
  }

  html:not([data-theme="light"]) .ownership-case-note,
  html:not([data-theme="light"]) .ownership-logic-footer {
    border-color: rgba(255, 255, 255, 0.08);
  }

  html:not([data-theme="light"]) .ownership-logic .btn-ak-outline {
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
  }

  html:not([data-theme="light"]) .ownership-logic .btn-ak-outline:hover,
  html:not([data-theme="light"]) .ownership-logic .btn-ak-outline:focus,
  html:not([data-theme="light"]) .ownership-logic .btn-ak-outline:active {
    background: #ffffff;
    color: var(--ak-blue);
    border-color: #ffffff;
  }
}

@media (max-width: 1120px) {

  .ownership-logic-grid,
  .ownership-logic-footer {
    grid-template-columns: 1fr;
  }

  .ownership-logic-actions {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .ownership-logic {
    padding: var(--ak-card-padding-sm);
  }

  .ownership-logic h2 {
    max-width: none;
    line-height: 1.2;
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }
}


/* =========================================================
   Antikor page lead block polish
   ========================================================= */

.antikor-lead-shell {
  padding: var(--ak-card-padding);
  border: 1px solid var(--ak-border);
  border-radius: calc(var(--ak-radius) + 0.125rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 159, 0, 0.06), transparent 28%),
    linear-gradient(180deg, var(--ak-surface-1) 0%, var(--ak-surface-2) 100%);
  box-shadow: var(--ak-shadow-soft);
}

.antikor-lead-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: var(--ak-gap-lg);
  margin-bottom: calc(var(--ak-gap-lg) * 1.15);
  padding-bottom: calc(var(--ak-gap-lg) * 1.05);
  border-bottom: 1px solid var(--ak-border);
}

.antikor-lead-quickfacts {
  display: grid;
  gap: 0.75rem;
}

.antikor-lead-fact {
  padding: 1rem 1rem 0.95rem;
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius-sm);
  background: var(--ak-bg-elevated);
}

.antikor-lead-fact strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ak-text-strong);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.antikor-lead-fact span {
  display: block;
  color: var(--ak-text-muted);
  line-height: 1.5;
}

.antikor-lead-grid {
  align-items: stretch;
}

.antikor-lead-form {
  box-shadow: var(--ak-shadow);
}

.antikor-lead-form-head {
  margin-bottom: 1rem;
}

.antikor-lead-form-head h3 {
  margin-bottom: 0.5rem;
}

/* Dark */
html[data-theme="dark"] .antikor-lead-shell {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 159, 0, 0.06), transparent 28%),
    linear-gradient(180deg, #162033 0%, #101a2e 100%);
}

html[data-theme="dark"] .antikor-lead-top {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .antikor-lead-fact {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .antikor-lead-fact strong {
  color: #ffffff;
}

html[data-theme="dark"] .antikor-lead-fact span {
  color: rgba(255, 255, 255, 0.72);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .antikor-lead-shell {
    border-color: rgba(255, 255, 255, 0.08);
    background:
      radial-gradient(circle at 100% 0%, rgba(245, 159, 0, 0.06), transparent 28%),
      linear-gradient(180deg, #162033 0%, #101a2e 100%);
  }

  html:not([data-theme="light"]) .antikor-lead-top {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  html:not([data-theme="light"]) .antikor-lead-fact {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
  }

  html:not([data-theme="light"]) .antikor-lead-fact strong {
    color: #ffffff;
  }

  html:not([data-theme="light"]) .antikor-lead-fact span {
    color: rgba(255, 255, 255, 0.72);
  }
}

@media (max-width: 1120px) {
  .antikor-lead-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .antikor-lead-shell {
    padding: var(--ak-card-padding-sm);
  }

  .antikor-lead-top {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }
}

/* =========================================================
   About page final styles
   ========================================================= */

.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ak-gap);
}

.doc-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius);
  background: var(--ak-bg-elevated);
  box-shadow: var(--ak-shadow-soft);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
}

.doc-card:hover,
.doc-card:focus-visible {
  box-shadow: var(--ak-shadow);
}

.doc-card img {
  transition: transform 0.35s ease, filter 0.25s ease;
  transform-origin: center center;
}

.doc-card:hover img,
.doc-card:focus-visible img {
  transform: scale(1.04);
}

.doc-card-head {
  padding: 0.9rem 0.9rem 0.75rem;
  border-bottom: 1px solid var(--ak-border);
  background: linear-gradient(180deg, var(--ak-surface-1) 0%, var(--ak-surface-2) 100%);
}

.doc-card-head h3 {
  margin: 0;
  color: var(--ak-text-strong);
  font-size: 0.95rem;
  line-height: 1.35;
}

.doc-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 0.75rem;
  background: var(--ak-surface-2);
  overflow: hidden;
}

.doc-card-media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 1rem 2.2rem rgba(16, 24, 40, 0.12);
  position: relative;
  z-index: 1;
}

.doc-card-tint {
  position: absolute;
  inset: 0;
  background: rgba(245, 247, 251, 0.08);
  z-index: 2;
  pointer-events: none;
}

/* bank requisites helper card */
.bank-note-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* document lightbox */
.doc-lightbox[hidden] {
  display: none !important;
}

.doc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2200;
}

.doc-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 28, 0.88);
  backdrop-filter: blur(0.35rem);
}

.doc-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 1180px);
  max-height: calc(100vh - 2rem);
  margin: 1rem auto;
  animation: galleryLightboxIn 0.22s ease;
}

.doc-lightbox-content {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 2rem);
  padding: 1rem;
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.35);
}

.doc-lightbox-title {
  margin: 0 3rem 1.25rem 0;
  color: #1a2744;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.6;
}

.doc-lightbox-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: auto;
}

.doc-lightbox-media img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
}

.doc-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ak-blue);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.18);
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

.doc-lightbox-close:hover,
.doc-lightbox-close:focus-visible {
  background: var(--ak-amber);
  color: #111827;
  transform: scale(1.04);
}

body.is-doc-lightbox-open {
  overflow: hidden;
}

/* dark theme */
html[data-theme="dark"] .doc-card {
  background: var(--ak-bg-elevated);
  border-color: var(--ak-border);
  box-shadow: none;
}

html[data-theme="dark"] .doc-card:hover,
html[data-theme="dark"] .doc-card:focus-visible {
  box-shadow: var(--ak-shadow-soft);
}

html[data-theme="dark"] .doc-card-head {
  border-bottom-color: var(--ak-border);
  background: linear-gradient(180deg, var(--ak-surface-1) 0%, var(--ak-surface-2) 100%);
}

html[data-theme="dark"] .doc-card-head h3 {
  color: var(--ak-text-strong);
}

html[data-theme="dark"] .doc-card-media {
  background: linear-gradient(180deg, #182235 0%, #101a2e 100%);
}

html[data-theme="dark"] .doc-card-tint {
  background: rgba(13, 20, 36, 0.06);
}

html[data-theme="dark"] .doc-lightbox-content {
  background: #162033;
}

html[data-theme="dark"] .doc-lightbox-title {
  color: #ffffff;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .doc-card {
    background: var(--ak-bg-elevated);
    border-color: var(--ak-border);
    box-shadow: none;
  }

  html:not([data-theme="light"]) .doc-card:hover,
  html:not([data-theme="light"]) .doc-card:focus-visible {
    box-shadow: var(--ak-shadow-soft);
  }

  html:not([data-theme="light"]) .doc-card-head {
    border-bottom-color: var(--ak-border);
    background: linear-gradient(180deg, var(--ak-surface-1) 0%, var(--ak-surface-2) 100%);
  }

  html:not([data-theme="light"]) .doc-card-head h3 {
    color: var(--ak-text-strong);
  }

  html:not([data-theme="light"]) .doc-card-media {
    background: linear-gradient(180deg, #182235 0%, #101a2e 100%);
  }

  html:not([data-theme="light"]) .doc-card-tint {
    background: rgba(13, 20, 36, 0.06);
  }

  html:not([data-theme="light"]) .doc-lightbox-content {
    background: #162033;
  }

  html:not([data-theme="light"]) .doc-lightbox-title {
    color: #ffffff;
  }
}

/* =========================================================
   Documents inside blue section
   ========================================================= */

/* Documents inside blue section */

.section-blue .doc-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.section-blue .doc-card:hover,
.section-blue .doc-card:focus-visible {
  box-shadow: var(--ak-shadow-soft);
}

.section-blue .doc-card-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.section-blue .doc-card-head h3 {
  color: #ffffff;
}

.section-blue .doc-card-media {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(16, 26, 46, 0.22) 100%);
}

.section-blue .doc-card-media img {
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.22);
}

.section-blue .doc-card-tint {
  background: rgba(16, 26, 46, 0.06);
}

/* Fixed dark theme */
html[data-theme="dark"] .section-blue .doc-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

html[data-theme="dark"] .section-blue .doc-card:hover,
html[data-theme="dark"] .section-blue .doc-card:focus-visible {
  box-shadow: var(--ak-shadow-soft);
}

html[data-theme="dark"] .section-blue .doc-card-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .section-blue .doc-card-head h3 {
  color: #ffffff;
}

html[data-theme="dark"] .section-blue .doc-card-media {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(16, 26, 46, 0.22) 100%);
}

html[data-theme="dark"] .section-blue .doc-card-media img {
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .section-blue .doc-card-tint {
  background: rgba(16, 26, 46, 0.06);
}

/* Auto dark theme */
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .section-blue .doc-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
  }

  html:not([data-theme="light"]) .section-blue .doc-card:hover,
  html:not([data-theme="light"]) .section-blue .doc-card:focus-visible {
    box-shadow: var(--ak-shadow-soft);
  }

  html:not([data-theme="light"]) .section-blue .doc-card-head {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
  }

  html:not([data-theme="light"]) .section-blue .doc-card-head h3 {
    color: #ffffff;
  }

  html:not([data-theme="light"]) .section-blue .doc-card-media {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(16, 26, 46, 0.22) 100%);
  }

  html:not([data-theme="light"]) .section-blue .doc-card-media img {
    box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.22);
  }

  html:not([data-theme="light"]) .section-blue .doc-card-tint {
    background: rgba(16, 26, 46, 0.06);
  }
}

@media (max-width: 1120px) {
  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .doc-card-head {
    padding: 0.7rem 0.7rem 0.55rem;
  }

  .doc-card-head h3 {
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .doc-card-media {
    min-height: 170px;
    padding: 0.5rem;
  }


  .doc-lightbox-dialog {
    width: min(100% - 1rem, 1180px);
    max-height: calc(100vh - 1rem);
    margin: 0.5rem auto;
  }

  .doc-lightbox-content {
    max-height: calc(100vh - 1rem);
    padding: 0.875rem;
    border-radius: 1rem;
  }

  .doc-lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 2.75rem;
    height: 2.75rem;
  }

  .doc-lightbox-title {
    margin-right: 2.75rem;
    font-size: 1rem;
  }

  .doc-lightbox-media img {
    max-height: calc(100vh - 7rem);
  }
}

.card-head-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.card-head-copy h3 {
  margin: 0;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--ak-border);
  border-radius: 12px;
  background: var(--ak-bg-elevated);
  color: var(--ak-text-strong);
  font: inherit;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-copy:hover,
.btn-copy:focus-visible {
  background: var(--ak-surface-2);
  border-color: var(--ak-border-strong);
}

.btn-copy:focus-visible {
  outline: 3px solid rgba(245, 159, 0, 0.45);
  outline-offset: 3px;
}

.btn-copy.is-copied {
  background: #ecfdf3;
  border-color: #86efac;
  color: #15803d;
}

.btn-copy.is-copied i,
.btn-copy.is-copied span {
  color: #15803d;
}

html[data-theme="dark"] .btn-copy.is-copied {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(74, 222, 128, 0.45);
  color: #86efac;
}

html[data-theme="dark"] .btn-copy.is-copied i,
html[data-theme="dark"] .btn-copy.is-copied span {
  color: #86efac;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .btn-copy.is-copied {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(74, 222, 128, 0.45);
    color: #86efac;
  }

  html:not([data-theme="light"]) .btn-copy.is-copied i,
  html:not([data-theme="light"]) .btn-copy.is-copied span {
    color: #86efac;
  }
}

html[data-theme="dark"] .btn-copy {
  border-color: rgba(255, 255, 255, 0.14);
  background: transparent;
  color: inherit;
}

html[data-theme="dark"] .btn-copy:hover,
html[data-theme="dark"] .btn-copy:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .btn-copy {
    border-color: rgba(255, 255, 255, 0.14);
    background: transparent;
    color: inherit;
  }

  html:not([data-theme="light"]) .btn-copy:hover,
  html:not([data-theme="light"]) .btn-copy:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.22);
  }
}

@media (max-width: 767px) {
  .card-head-copy {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-copy {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   ANTIKOR training note + cursor lock while spraying
   ========================================================= */

html.ak-spraying-active,
html.ak-spraying-active * {
  cursor: default !important;
}

.ak-spray-ui {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 2200;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.ak-spray-note {
  position: absolute;
  right: 1.2rem;
  bottom: calc(100% + 0.9rem);
  width: 17rem;
  pointer-events: none;
  transform: rotate(-2deg);
}

.ak-spray-note-text {
  display: inline-block;
  max-width: 100%;
  color: rgba(255, 248, 235, 0.92);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-wrap: balance;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.12),
    0 2px 10px rgba(0, 0, 0, 0.18);
  opacity: 0.96;
}

.ak-spray-note-arrow {
  display: block;
  width: 11.5rem;
  height: auto;
  margin-top: 0.25rem;
  margin-left: 2rem;
  overflow: visible;
}

.ak-spray-note-arrow path {
  fill: none;
  stroke: rgba(255, 248, 235, 0.88);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 4 7;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}

.ak-spray-note-arrowhead {
  fill: none;
  stroke: rgba(255, 248, 235, 0.9) !important;
  stroke-width: 2.4 !important;
  stroke-dasharray: none !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ak-spray-gun,
.ak-spray-reset {
  border: 0;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.ak-spray-gun {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  padding: 0.4rem;
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(180deg, var(--ak-surface-1) 0%, var(--ak-surface-2) 100%);
  border: 1px solid var(--ak-border);
  box-shadow: var(--ak-shadow);
}

.ak-spray-gun:hover {
  transform: translateY(-2px);
  box-shadow: 0 1rem 2rem rgba(16, 24, 40, 0.16);
}

.ak-spray-gun.is-spraying {
  transform: scale(0.98);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.26);
}

.ak-spray-gun-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ak-spray-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 999px;
  background: var(--ak-bg-elevated);
  border: 1px solid var(--ak-border);
  color: var(--ak-text-strong);
  box-shadow: var(--ak-shadow-soft);
}

.ak-spray-reset:hover {
  transform: translateY(-1px);
  background: var(--ak-surface-2);
}

.ak-spray-reset i {
  font-size: 1.25rem;
}

.ak-spray-layer {
  position: fixed;
  inset: 0;
  z-index: 2150;
  pointer-events: none;
}

.ak-spray-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2190;
  width: 7rem;
  height: 7rem;
  pointer-events: none;
  opacity: 0;
  transform: translate(-9999px, -9999px);
  transition: opacity 0.15s ease;
}

.ak-spray-cursor.is-visible {
  opacity: 1;
}

.ak-spray-cursor::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(20, 20, 22, 0.24) 0%, rgba(20, 20, 22, 0.18) 18%, rgba(20, 20, 22, 0.08) 38%, rgba(20, 20, 22, 0) 72%);
  filter: blur(2px);
}

.ak-spray-cursor::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  box-shadow:
    -18px -10px 0 10px rgba(22, 22, 24, 0.18),
    -8px -4px 0 12px rgba(18, 18, 20, 0.22),
    4px -2px 0 14px rgba(12, 12, 14, 0.2),
    18px 0 0 10px rgba(16, 16, 18, 0.18),
    -14px 10px 0 11px rgba(10, 10, 12, 0.16),
    8px 14px 0 12px rgba(14, 14, 16, 0.16);
  filter: blur(8px);
  opacity: 0.8;
}

html[data-theme="dark"] .ak-spray-gun {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #162033 0%, #101a2e 100%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .ak-spray-reset {
  background: #162033;
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .ak-spray-gun {
    background:
      radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.08), transparent 28%),
      linear-gradient(180deg, #162033 0%, #101a2e 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.28);
  }

  html:not([data-theme="light"]) .ak-spray-reset {
    background: #162033;
    border-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }
}

@media (max-width: 760px) {
  .ak-spray-ui {
    right: 0.75rem;
    bottom: 0.75rem;
    gap: 0.5rem;
  }

  .ak-spray-gun {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1rem;
  }

  .ak-spray-reset {
    width: 2.625rem;
    height: 2.625rem;
  }

  .ak-spray-note {
    width: 13rem;
    right: 0.5rem;
    bottom: calc(100% + 0.65rem);
  }

  .ak-spray-note-text {
    font-size: 0.9rem;
    line-height: 1.18;
  }

  .ak-spray-note-arrow {
    width: 8.75rem;
    margin-left: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .ak-spray-gun,
  .ak-spray-reset,
  .ak-spray-cursor {
    transition: none !important;
  }
}

html.is-antikor-spraying,
html.is-antikor-spraying body,
html.is-antikor-spraying * {
  cursor: default !important;
}

@media (max-width: 1459px) {

  .ak-spray-ui,
  .ak-spray-layer,
  .ak-spray-cursor {
    display: none !important;
  }
}

html.is-antikor-spraying iframe {
  pointer-events: none !important;
}

.hero-photo-panel {
  width: 100%;
  min-height: 320px;
  border: 1px solid var(--ak-border);
  border-bottom: 0;
  border-radius: calc(var(--ak-radius) + 0.125rem) calc(var(--ak-radius) + 0.125rem) 0 0;
  overflow: hidden;
  background-color: var(--ak-surface-2);
  background-image: url("../img/o-nas/antikor-center.webp");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-photo-panel+.expert-cta {
  margin-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: calc(var(--ak-radius) + 0.125rem);
  border-bottom-right-radius: calc(var(--ak-radius) + 0.125rem);
}

.hero-grid>*,
.hero-card,
.hero-visual.hero-visual-slider,
.hero-slider {
  min-width: 0;
  max-width: 100%;
}

.hero-visual.hero-visual-slider {
  width: 100%;
}


.section-blue .btn-ak-outline {
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.section-blue .btn-ak-outline:hover,
.section-blue .btn-ak-outline:focus,
.section-blue .btn-ak-outline:active {
  background: #ffffff;
  color: var(--ak-blue);
  border-color: #ffffff;
}

@media print {
  @page {
    margin: 12mm;
  }

  html,
  body {
    background: #ffffff !important;
    color: #000000 !important;
    color-scheme: light !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Глобально убираем декоративщину и приводим всё к ч/б */
  *,
  *::before,
  *::after {
    background: #ffffff !important;
    background-image: none !important;
    color: #000000 !important;
    border-color: #000000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
  }

  /* Ссылки тоже чёрные */
  a,
  a:visited,
  a:hover,
  a:active {
    color: #000000 !important;
    text-decoration: underline !important;
  }

  /* Убираем лишний UI, который в печати не нужен */
  .ak-header,
  .quick-nav,
  .mobile-panel,
  .floating-call,
  .mobile-sticky-cta,
  .ak-spray-ui,
  .ak-spray-layer,
  .ak-spray-cursor,
  .gallery-lightbox,
  .doc-lightbox,
  .map-loading,
  .hero-badges,
  .btn-row,
  .ak-socials,
  .footer-socials,
  .review-yandex-badge,
  .gallery-lightbox-dialog,
  .gallery-lightbox-backdrop,
  .doc-lightbox-dialog,
  .doc-lightbox-backdrop {
    display: none !important;
  }

  /* Структура страницы */
  .page,
  .section,
  .section-sm,
  .section-tight,
  .section-gray,
  .section-blue,
  .summary-panel,
  .content-card,
  .card-flat,
  .price-card,
  .trust-card,
  .notice-card,
  .guarantee-card,
  .brand-card,
  .form-card,
  .contact-item,
  .work-item,
  .step-wide,
  .faq-item,
  .doc-card,
  .antikor-lead-shell,
  .antikor-lead-fact {
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: none !important;
  }

  /* Структура страницы */
  .summary-panel,
  .content-card,
  .card-flat,
  .price-card,
  .trust-card,
  .notice-card,
  .guarantee-card,
  .brand-card,
  .form-card,
  .contact-item,
  .work-item,
  .step-wide,
  .faq-item,
  .doc-card,
  .antikor-lead-shell,
  .antikor-lead-fact {
    border: 1px solid #000000 !important;
  }


  /* Hero без фоновой картинки */
  .hero,
  .hero::before,
  .hero .hero-grid::before,
  .hero-visual,
  .hero-visual::before,
  .hero-visual::after,
  .hero-photo-panel {
    background: #ffffff !important;
    background-image: none !important;
  }

  .hero {
    display: none !important;
  }

  .hero h1,
  .hero h2,
  .hero p,
  .hero .lead,
  .hero .muted,
  .hero .text-white-muted,
  .section-blue h2,
  .section-blue h3,
  .section-blue .lead,
  .section-blue .text-white-muted,
  .summary-panel.dark,
  .summary-panel.dark h2,
  .summary-panel.dark h3,
  .summary-panel.dark p,
  .summary-panel.dark li,
  .sticky-aside,
  .sticky-aside h2,
  .sticky-aside h3,
  .sticky-aside p,
  .sticky-aside li,
  .seo-aside,
  .seo-aside h2,
  .seo-aside h3,
  .seo-aside p,
  .seo-aside li {
    color: #000000 !important;
    background: #ffffff !important;
  }

  /* Иконки */
  i,
  .icon-box,
  .ak-logo-mark,
  .ak-dropdown-icon,
  .price-rule-icon,
  .hero-badge i,
  .summary-list i,
  .mini-list i,
  .contact-item i,
  .work-item i,
  .step-wide h3 i,
  .faq-button i {
    color: #000000 !important;
    background: #ffffff !important;
    border-color: #000000 !important;
  }

  /* Сетки делаем в одну колонку для нормальной печати */
  .hero-grid,
  .content-grid,
  .seo-grid,
  .summary-box,
  .contact-grid,
  .footer-top,
  .cards-grid,
  .cards-grid.two,
  .price-grid,
  .trust-grid,
  .trust-grid-4,
  .brand-row,
  .reviews-grid,
  .docs-grid,
  .guarantee-grid,
  .work-gallery-grid,
  .price-rules-grid,
  .antikor-lead-top,
  .antikor-lead-grid,
  .ownership-logic-grid,
  .ownership-logic-footer,
  .anti-bullshit-top,
  .anti-bullshit-bottom {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  /* Изображения печатаем нормально */
  img {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  /* Ключевой фикс для документов */
  .doc-card {
    display: block !important;
    overflow: visible !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .doc-card-head {
    display: block !important;
    background: #ffffff !important;
    border-bottom: 1px solid #000000 !important;
  }

  .doc-card-media {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: auto !important;
    padding: 8mm !important;
    background: #ffffff !important;
    overflow: visible !important;
  }

  .doc-card-media img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    box-shadow: none !important;
    filter: grayscale(100%) contrast(120%);
  }

  .doc-card-tint {
    display: none !important;
  }

  /* Если где-то документы были кнопками — печатаем как обычные блоки */
  button.doc-card,
  .js-doc-preview {
    appearance: none !important;
    -webkit-appearance: none !important;
  }

  /* Формы в печати не нужны */
  form,
  input,
  textarea,
  select,
  button {
    box-shadow: none !important;
  }

  .js-lead-form,
  .form-card {
    display: none !important;
  }

  /* Footer тоже в ч/б */
  .footer,
  .footer * {
    display: none !important;
  }

  /* Избегаем разрыва заголовка и следующего блока */
  h1,
  h2,
  h3 {
    break-after: avoid;
    page-break-after: avoid;
  }

  .content-card,
  .summary-panel,
  .doc-card,
  .trust-card,
  .price-card,
  .faq-item,
  .contact-item {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .no-print {
    display: none !important;
  }

  .print-break-before {
    break-before: page;
    page-break-before: always;
  }

  .print-break-after {
    break-after: page;
    page-break-after: always;
  }

  .print-break-avoid {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

@media print {
  .service-card {
    display: block !important;
    height: auto !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .service-card h3,
  .service-card p,
  .service-meta,
  .service-media {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .service-media {
    display: block !important;
    width: 100% !important;
    aspect-ratio: auto !important;
    min-height: 0 !important;
    margin-bottom: 0.75rem !important;
    overflow: visible !important;
    border: 1px solid #000 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .service-media::before,
  .service-media::after {
    display: none !important;
    content: none !important;
  }

  .service-media img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    opacity: 1 !important;
    transform: none !important;
    filter: grayscale(100%) contrast(115%) !important;
  }

  .service-meta {
    margin: 0.25rem 0 0.75rem !important;
    gap: 0.375rem !important;
  }

  .service-meta span {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
    box-shadow: none !important;
  }

  /* Кнопки внутри карточек услуг в печати не нужны */
  .service-card .btn-ak,
  .service-card .btn-row {
    display: none !important;
  }

  /* Сама карточка компактнее */
  .card-flat.service-card {
    padding: 0.75rem !important;
    margin: 0 0 0.75rem 0 !important;
    background: #fff !important;
    border: 1px solid #000 !important;
    box-shadow: none !important;
  }

  /* Чтобы заголовок услуги не отрывался от начала карточки */
  .service-card h3 {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
  }

  .service-card p {
    margin-bottom: 0.5rem !important;
  }

  /* Если карточка всё же не помещается, не пытаться растягивать её flex-логикой */
  .cards-grid,
  .cards-grid.two {
    display: block !important;
  }

  .cards-grid>.service-card,
  .cards-grid.two>.service-card {
    width: 100% !important;
  }

  .faq-item {
    display: block !important;
    overflow: visible !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .faq-button {
    display: block !important;
    width: 100% !important;
    padding: 0 0 0.5rem 0 !important;
    background: #fff !important;
    border: 0 !important;
    color: #000 !important;
    box-shadow: none !important;
    text-align: left !important;
  }

  .faq-button i {
    display: none !important;
  }

  .faq-content {
    display: block !important;
    grid-template-rows: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  .faq-content-inner {
    display: block !important;
    overflow: visible !important;
    padding: 0 0 0.75rem 0 !important;
    color: #000 !important;
  }
}

/* Страница оклейки: убрать тень у формы записи */
#lead-form .antikor-lead-shell form.form-card.antikor-lead-form {
  box-shadow: none !important;
}

.film-showcase {
  overflow: hidden;
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius);
  background: var(--ak-surface-2);
}

.film-showcase img {
  display: block;
  width: 100%;
  height: auto;
}

.compare-good {
  color: #15803d;
}

.compare-mid {
  color: #a16207;
}

.compare-bad {
  color: #b91c1c;
}

html[data-theme="dark"] .compare-good {
  color: #6ee7a0;
}

html[data-theme="dark"] .compare-mid {
  color: #fbbf24;
}

html[data-theme="dark"] .compare-bad {
  color: #f87171;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .compare-good {
    color: #6ee7a0;
  }

  html:not([data-theme="light"]) .compare-mid {
    color: #fbbf24;
  }

  html:not([data-theme="light"]) .compare-bad {
    color: #f87171;
  }
}

/* =========================================================
   OKLEJKA: блок "Как проходит оклейка..." в стиле карточек "Материалы"
   ========================================================= */

#steps.section-blue .timeline .step {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--ak-radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

#steps.section-blue .timeline .step:hover {
  background: rgba(255, 255, 255, 0.12);
}

#steps.section-blue .timeline .step h3 {
  color: #ffffff;
}

#steps.section-blue .timeline .step p {
  color: rgba(255, 255, 255, 0.82);
}

#steps.section-blue .timeline .step i {
  color: var(--ak-amber);
}

#steps.section-blue .timeline .step::before {
  background: var(--ak-amber);
  color: #111827;
}

.section-blue .info-note.info-note-blue,
#steps.section-blue .price-addon,
.section-blue .price-addon {
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.section-blue .info-note.info-note-blue i,
#steps.section-blue .price-addon i,
.section-blue .price-addon i {
  color: var(--ak-amber-dark) !important;
}

.section-blue .info-note.info-note-blue strong,
#steps.section-blue .price-addon strong,
.section-blue .price-addon strong {
  color: #ffffff !important;
}

/* =========================================================
   VIDEO PAGE: цветные кнопки соцсетей перед формой заявки
   Всегда выглядят как в тёмной теме (блок на синем фоне)
   ========================================================= */

.video-social-btn {
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.1);
}

.video-social-btn:hover,
.video-social-btn:focus,
.video-social-btn:active {
  color: #ffffff;
}

.video-social-btn i {
  color: #ffffff;
}

/* Instagram — фирменный градиент, одинаковый в любой теме */
.video-social-btn-instagram {
  background: linear-gradient(90deg, #c96d3d 0%, #c13584 52%, #6c63c9 100%);
  border-color: rgba(193, 53, 132, 0.24);
}

.video-social-btn-instagram:hover,
.video-social-btn-instagram:focus,
.video-social-btn-instagram:active {
  background: linear-gradient(90deg, #b86136 0%, #ae2f78 52%, #5f57bb 100%);
  border-color: rgba(174, 47, 120, 0.3);
  box-shadow: 0 16px 34px rgba(72, 42, 122, 0.28);
}

/* TikTok — принудительно "тёмная" версия цвета (светлее чёрного),
   независимо от html[data-theme] на сайте */
.video-social-btn-tiktok {
  background: #000;
  border-color: #000;
}

.video-social-btn-tiktok:hover,
.video-social-btn-tiktok:focus,
.video-social-btn-tiktok:active {
  background: #000;
  border-color: #000;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.28),
    0 12px 24px rgba(170, 185, 215, 0.22);
}

/* YouTube — фирменный красный, одинаковый в любой теме */
.video-social-btn-youtube {
  background: #d73939;
  border-color: rgba(215, 57, 57, 0.26);
}

.video-social-btn-youtube:hover,
.video-social-btn-youtube:focus,
.video-social-btn-youtube:active {
  background: #c92f2f;
  border-color: rgba(201, 47, 47, 0.34);
  box-shadow: 0 16px 34px rgba(180, 32, 32, 0.3);
}

.material-head-inline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--ak-gap);
}

.material-head-inline .icon-box {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.material-head-inline h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.15;
}

@media (max-width: 760px) {
  .material-head-inline {
    gap: 0.875rem;
  }

  .material-head-inline h3 {
    font-size: 1.3rem;
  }
}

.section-head-brand {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  max-width: none;
}

.section-head-brand-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-head-brand-media img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
  object-fit: contain;
}

.section-head-brand-content {
  min-width: 0;
}

.section-head-brand-content h2 {
  margin-bottom: 0.75rem;
}

.section-head-brand-content .lead {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .section-head-brand {
    grid-template-columns: 1fr;
  }

  .section-head-brand-media {
    display: none;
  }
}

/* =========================================================
   FIX: breadcrumbs внутри hero (например, materialy.php)
   ========================================================= */
.hero .breadcrumbs {
  color: rgba(255, 255, 255, 0.76) !important;
}

.hero .breadcrumbs li,
.hero .breadcrumbs li[aria-current="page"] {
  color: #a8b3c7 !important;
}

.hero .breadcrumbs a,
.hero .breadcrumbs a:visited {
  color: #ffffff !important;
  border-color: transparent !important;
}

.hero .breadcrumbs a:hover,
.hero .breadcrumbs a:focus-visible,
.hero .breadcrumbs a:active {
  color: #ffb21a !important;
}

/* =========================================================
   FIX: readable links inside dark summary panels
   ========================================================= */
.summary-panel.dark a:not(.btn-ak),
.summary-panel.dark a:not(.btn-ak):visited {
  color: #ffffff !important;
  text-decoration-color: rgba(255, 255, 255, 0.7) !important;
}

.summary-panel.dark a:not(.btn-ak):hover,
.summary-panel.dark a:not(.btn-ak):focus,
.summary-panel.dark a:not(.btn-ak):active {
  color: var(--ak-amber) !important;
  text-decoration-color: var(--ak-amber) !important;
}

/* Оклейка: в блоках зон на мобильных заголовок справа от иконки */
@media (max-width: 760px) {
  #zones .work-item {
    grid-template-columns: 3rem 1fr;
    grid-template-areas:
      "icon title"
      "text text";
    align-items: center;
    /* центр по вертикали в первой строке */
    column-gap: 0.75rem;
    row-gap: 0.5rem;
  }

  #zones .work-item>i {
    grid-area: icon;
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    margin: 0;
    align-self: center;
    justify-self: start;
  }

  #zones .work-item>div {
    display: contents;
  }

  #zones .work-item>div>h3 {
    grid-area: title;
    margin: 0;
    /* было смещение сверху */
    min-height: 3rem;
    /* высота как у иконки */
    display: flex;
    align-items: center;
    /* вертикальный центр */
    line-height: 1.2;
  }

  #zones .work-item>div>p {
    grid-area: text;
    margin: 0.1rem 0 0;
  }
}

/* Главная: раздел цен — увеличить иконки машин на мобилке */
@media (max-width: 760px) {
  .price-card-media {
    height: 150px;
    /* было меньше */
    padding: 0.125rem;
  }

  .price-card-media img {
    height: 100%;
    max-height: none;
    width: auto;
    object-fit: contain;
  }
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-top: 42px;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.015) 100%),
    #161d2d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: visible;
}

.package-card:hover {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  border-color: rgba(245, 158, 11, 0.32);
}

.package-card-featured {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(245, 158, 11, 0.08);
}

.package-card-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(245, 158, 11, 0.16), transparent 42%);
  pointer-events: none;
  border-radius: 24px;
}

.package-badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  color: #16110a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.package-badge::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

@media (max-width: 640px) {
  .package-badge {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }
}

.package-card-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.package-icon {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  font-size: 28px;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.08);
}

.package-title-wrap h3 {
  margin: 0 0 8px;
  font-size: 31px;
  line-height: 1.15;
  color: #ffffff;
}

.package-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.5;
}

.package-price-block {
  margin-bottom: 24px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.package-price-label {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.package-price {
  color: #ffffff;
  font-size: 48px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.package-price-note {
  margin-top: 10px;
  color: #f59e0b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.package-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.package-features li i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #f59e0b;
  font-size: 18px;
}

.package-card-bottom {
  margin-top: auto;
  padding-top: 28px;
}

.package-note {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.18);
  color: rgba(255, 255, 255, 0.84);
}

.package-note i {
  color: #f59e0b;
  font-size: 20px;
  margin-top: 1px;
}

@media (max-width: 1100px) {
  .packages-grid {
    grid-template-columns: 1fr;
  }

  .package-card {
    padding: 24px;
  }

  .package-title-wrap h3 {
    font-size: 28px;
  }

  .package-price {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .package-card-top {
    gap: 14px;
  }

  .package-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 24px;
  }

  .package-title-wrap h3 {
    font-size: 24px;
  }

  .package-price {
    font-size: 34px;
  }

  .package-features li {
    font-size: 15px;
  }
}

.important-note {
  padding: 24px 26px;
  border-radius: 20px;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.important-note-head {
  margin-bottom: 18px;
}

.important-note-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.18);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.important-note-badge i {
  font-size: 15px;
}

.important-note h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.15;
  color: #ffffff;
}

.important-note-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  max-width: 860px;
}

.important-note-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.important-note-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
}

.important-note-list li i {
  flex: 0 0 auto;
  margin-top: 5px;
  color: #f59e0b;
  font-size: 14px;
}

.important-note-list strong {
  color: #ffffff;
}

.important-note-list a {
  color: #f5b544;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 181, 68, 0.28);
}

.important-note-list a:hover {
  color: #ffd27a;
  border-color: rgba(255, 210, 122, 0.5);
}

.important-note-actions {
  margin-top: 18px;
}

/* Светлая тема */
[data-theme="light"] .important-note,
:root[data-theme="light"] .important-note,
html[data-theme="light"] .important-note,
body[data-theme="light"] .important-note {
  background: #fff8ef;
  border-color: rgba(180, 83, 9, 0.16);
  box-shadow: 0 10px 26px rgba(120, 72, 24, 0.08);
}

[data-theme="light"] .important-note h2,
:root[data-theme="light"] .important-note h2,
html[data-theme="light"] .important-note h2,
body[data-theme="light"] .important-note h2 {
  color: #6f2f13;
}

[data-theme="light"] .important-note-head p,
[data-theme="light"] .important-note-list li,
:root[data-theme="light"] .important-note-head p,
:root[data-theme="light"] .important-note-list li,
html[data-theme="light"] .important-note-head p,
html[data-theme="light"] .important-note-list li,
body[data-theme="light"] .important-note-head p,
body[data-theme="light"] .important-note-list li {
  color: rgba(95, 51, 26, 0.85);
}

[data-theme="light"] .important-note-list strong,
:root[data-theme="light"] .important-note-list strong,
html[data-theme="light"] .important-note-list strong,
body[data-theme="light"] .important-note-list strong {
  color: #6f2f13;
}

@media (max-width: 768px) {
  .important-note {
    padding: 20px;
    border-radius: 16px;
  }

  .important-note h2 {
    font-size: 22px;
  }

  .important-note-head p,
  .important-note-list li {
    font-size: 15px;
    line-height: 1.6;
  }

  .important-note-actions .btn-ak {
    width: 100%;
  }
}

.package-segmented {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.package-segment {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  padding: 12px 10px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.package-segment:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.package-segment.is-active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(245, 158, 11, 0.10));
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.28);
}

/* =========================
   LIGHT THEME FIXES
   ========================= */

[data-theme="light"] .package-card,
:root[data-theme="light"] .package-card,
html[data-theme="light"] .package-card,
body[data-theme="light"] .package-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.06),
    0 2px 8px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .package-card:hover,
:root[data-theme="light"] .package-card:hover,
html[data-theme="light"] .package-card:hover,
body[data-theme="light"] .package-card:hover {
  border-color: rgba(245, 158, 11, 0.28);
  box-shadow:
    0 18px 36px rgba(15, 23, 42, 0.10),
    0 4px 14px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .package-card-featured,
:root[data-theme="light"] .package-card-featured,
html[data-theme="light"] .package-card-featured,
body[data-theme="light"] .package-card-featured {
  border-color: rgba(245, 158, 11, 0.36);
  box-shadow:
    0 18px 38px rgba(15, 23, 42, 0.10),
    0 0 0 1px rgba(245, 158, 11, 0.08);
}

[data-theme="light"] .package-card-featured::before,
:root[data-theme="light"] .package-card-featured::before,
html[data-theme="light"] .package-card-featured::before,
body[data-theme="light"] .package-card-featured::before {
  background:
    radial-gradient(circle at top center, rgba(245, 158, 11, 0.10), transparent 42%);
}

[data-theme="light"] .package-title-wrap h3,
[data-theme="light"] .package-price,
[data-theme="light"] .package-features li,
:root[data-theme="light"] .package-title-wrap h3,
:root[data-theme="light"] .package-price,
:root[data-theme="light"] .package-features li,
html[data-theme="light"] .package-title-wrap h3,
html[data-theme="light"] .package-price,
html[data-theme="light"] .package-features li,
body[data-theme="light"] .package-title-wrap h3,
body[data-theme="light"] .package-price,
body[data-theme="light"] .package-features li {
  color: #0f172a;
}

[data-theme="light"] .package-subtitle,
[data-theme="light"] .package-price-label,
:root[data-theme="light"] .package-subtitle,
:root[data-theme="light"] .package-price-label,
html[data-theme="light"] .package-subtitle,
html[data-theme="light"] .package-price-label,
body[data-theme="light"] .package-subtitle,
body[data-theme="light"] .package-price-label {
  color: rgba(15, 23, 42, 0.62);
}

[data-theme="light"] .package-price-block,
:root[data-theme="light"] .package-price-block,
html[data-theme="light"] .package-price-block,
body[data-theme="light"] .package-price-block {
  background: rgba(248, 250, 252, 0.95);
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .package-price-note,
:root[data-theme="light"] .package-price-note,
html[data-theme="light"] .package-price-note,
body[data-theme="light"] .package-price-note {
  color: #b45309;
}

[data-theme="light"] .package-icon,
:root[data-theme="light"] .package-icon,
html[data-theme="light"] .package-icon,
body[data-theme="light"] .package-icon {
  background: rgba(245, 158, 11, 0.10);
  color: #d97706;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.14);
}

[data-theme="light"] .package-segmented,
:root[data-theme="light"] .package-segmented,
html[data-theme="light"] .package-segmented,
body[data-theme="light"] .package-segmented {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .package-segment,
:root[data-theme="light"] .package-segment,
html[data-theme="light"] .package-segment,
body[data-theme="light"] .package-segment {
  color: rgba(15, 23, 42, 0.68);
}

[data-theme="light"] .package-segment:hover,
:root[data-theme="light"] .package-segment:hover,
html[data-theme="light"] .package-segment:hover,
body[data-theme="light"] .package-segment:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .package-segment.is-active,
:root[data-theme="light"] .package-segment.is-active,
html[data-theme="light"] .package-segment.is-active,
body[data-theme="light"] .package-segment.is-active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(245, 158, 11, 0.10));
  color: #92400e;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.24);
}

/* ВАЖНО: кнопки в карточках на светлой теме */
[data-theme="light"] .package-card .btn-ak-outline,
:root[data-theme="light"] .package-card .btn-ak-outline,
html[data-theme="light"] .package-card .btn-ak-outline,
body[data-theme="light"] .package-card .btn-ak-outline {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .package-card .btn-ak-outline:hover,
:root[data-theme="light"] .package-card .btn-ak-outline:hover,
html[data-theme="light"] .package-card .btn-ak-outline:hover,
body[data-theme="light"] .package-card .btn-ak-outline:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.22);
}

[data-theme="light"] .package-card .btn-ak-primary,
:root[data-theme="light"] .package-card .btn-ak-primary,
html[data-theme="light"] .package-card .btn-ak-primary,
body[data-theme="light"] .package-card .btn-ak-primary {
  color: #111827;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.24);
}

[data-theme="light"] .package-card .btn-ak-primary:hover,
:root[data-theme="light"] .package-card .btn-ak-primary:hover,
html[data-theme="light"] .package-card .btn-ak-primary:hover,
body[data-theme="light"] .package-card .btn-ak-primary:hover {
  color: #111827;
  box-shadow: 0 14px 28px rgba(245, 158, 11, 0.28);
}

[data-theme="light"] .important-note,
:root[data-theme="light"] .important-note,
html[data-theme="light"] .important-note,
body[data-theme="light"] .important-note {
  background: #ffffff;
  border: 1px solid rgba(180, 83, 9, 0.14);
  border-left: 4px solid #f59e0b;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .important-note h2,
:root[data-theme="light"] .important-note h2,
html[data-theme="light"] .important-note h2,
body[data-theme="light"] .important-note h2 {
  color: #7c2d12;
}

[data-theme="light"] .important-note-head p,
:root[data-theme="light"] .important-note-head p,
html[data-theme="light"] .important-note-head p,
body[data-theme="light"] .important-note-head p {
  color: rgba(120, 53, 15, 0.78);
}

[data-theme="light"] .important-note-badge,
:root[data-theme="light"] .important-note-badge,
html[data-theme="light"] .important-note-badge,
body[data-theme="light"] .important-note-badge {
  background: rgba(245, 158, 11, 0.08);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.16);
}

[data-theme="light"] .important-note-list li,
:root[data-theme="light"] .important-note-list li,
html[data-theme="light"] .important-note-list li,
body[data-theme="light"] .important-note-list li {
  color: rgba(92, 45, 18, 0.86);
}

[data-theme="light"] .important-note-list li i,
:root[data-theme="light"] .important-note-list li i,
html[data-theme="light"] .important-note-list li i,
body[data-theme="light"] .important-note-list li i {
  color: #f59e0b;
}

[data-theme="light"] .important-note-list strong,
:root[data-theme="light"] .important-note-list strong,
html[data-theme="light"] .important-note-list strong,
body[data-theme="light"] .important-note-list strong {
  color: #7c2d12;
}

[data-theme="light"] .important-note-list a,
:root[data-theme="light"] .important-note-list a,
html[data-theme="light"] .important-note-list a,
body[data-theme="light"] .important-note-list a {
  color: #c2410c;
  border-bottom: 1px solid rgba(194, 65, 12, 0.24);
}

[data-theme="light"] .important-note-list a:hover,
:root[data-theme="light"] .important-note-list a:hover,
html[data-theme="light"] .important-note-list a:hover,
body[data-theme="light"] .important-note-list a:hover {
  color: #9a3412;
  border-color: rgba(154, 52, 18, 0.38);
}

[data-theme="light"] .important-note-actions .btn-ak-primary,
:root[data-theme="light"] .important-note-actions .btn-ak-primary,
html[data-theme="light"] .important-note-actions .btn-ak-primary,
body[data-theme="light"] .important-note-actions .btn-ak-primary {
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.18);
}

/* Плавный переход свечения и рамки при наведении */
.package-card-featured {
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

.package-card-featured::before {
  transition: background 0.28s ease;
}

.package-card-featured .package-vehicle-media {
  transition: background 0.28s ease, border-color 0.28s ease;
}

/* ===== Явная светлая тема ===== */
[data-theme="light"] .package-card-featured:hover,
:root[data-theme="light"] .package-card-featured:hover,
html[data-theme="light"] .package-card-featured:hover,
body[data-theme="light"] .package-card-featured:hover {
  border-color: rgba(245, 158, 11, 0.64);
  box-shadow:
    0 18px 36px rgba(15, 23, 42, 0.10),
    0 4px 14px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .package-card-featured:hover::before,
:root[data-theme="light"] .package-card-featured:hover::before,
html[data-theme="light"] .package-card-featured:hover::before,
body[data-theme="light"] .package-card-featured:hover::before {
  background: radial-gradient(circle at top center, rgba(245, 158, 11, 0.13), transparent 42%);
}

/* ===== Авто-тема, когда системная светлая ===== */
@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) .package-card-featured:hover {
    border-color: rgba(245, 158, 11, 0.64);
    box-shadow:
      0 18px 36px rgba(15, 23, 42, 0.10),
      0 4px 14px rgba(15, 23, 42, 0.06);
  }

  html:not([data-theme="dark"]) .package-card-featured:hover::before {
    background: radial-gradient(circle at top center, rgba(245, 158, 11, 0.13), transparent 42%);
  }
}

/* ===== Дефолт / тёмная тема: hover должен быть ЯРЧЕ базового 0.5, а не темнее ===== */
.package-card-featured:hover {
  border-color: rgba(245, 158, 11, 0.68);
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(245, 158, 11, 0.1);
}

.package-card-featured:hover::before {
  background: radial-gradient(circle at top center, rgba(245, 158, 11, 0.2), transparent 42%);
}

.package-vehicle-media {
  position: relative;
  margin-bottom: 14px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 18% 22%, rgba(245, 158, 11, 0.14), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(255, 255, 255, 0.06), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%),
    linear-gradient(135deg, #1d2435 0%, #171e2d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 24px rgba(0, 0, 0, 0.16);
  aspect-ratio: 2.2 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.package-vehicle-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 34%);
  pointer-events: none;
}

.package-vehicle-media::after {
  content: "";
  position: absolute;
  inset: auto 10% 8% 10%;
  height: 18%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0) 72%);
  filter: blur(12px);
  pointer-events: none;
}

.package-vehicle-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  transform: scale(1.08);
  transition: opacity .22s ease, transform .22s ease;
}

.package-vehicle-media.is-switching img {
  opacity: .18;
  transform: scale(1.03);
}

.package-vehicle-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  transform: scale(1.06);
  transition: opacity .22s ease, transform .22s ease;
}

.package-vehicle-media.is-switching img {
  opacity: .18;
  transform: scale(.985);
}

/* Светлая тема */
[data-theme="light"] .package-vehicle-media,
:root[data-theme="light"] .package-vehicle-media,
html[data-theme="light"] .package-vehicle-media,
body[data-theme="light"] .package-vehicle-media {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96));
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .package-card-featured .package-vehicle-media,
:root[data-theme="light"] .package-card-featured .package-vehicle-media,
html[data-theme="light"] .package-card-featured .package-vehicle-media,
body[data-theme="light"] .package-card-featured .package-vehicle-media {
  background: linear-gradient(180deg, #fffcf8 0%, rgba(248, 250, 252, 0.96) 100%);
  border-color: rgba(245, 158, 11, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 6px 14px rgba(15, 23, 42, 0.04);
}

/* =========================================================
   FIX: авто-тема (auto) — те же светлые стили для package-* 
   и important-note, когда системная тема light, но атрибут
   data-theme не выставлен (AK_SITE_THEME === 'auto')
   ========================================================= */
@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) .package-card {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow:
      0 12px 30px rgba(15, 23, 42, 0.06),
      0 2px 8px rgba(15, 23, 42, 0.04);
  }

  html:not([data-theme="dark"]) .package-card:hover {
    box-shadow:
      0 18px 36px rgba(15, 23, 42, 0.10),
      0 4px 14px rgba(15, 23, 42, 0.06);
  }

  html:not([data-theme="dark"]) .package-card-featured {
    border-color: rgba(245, 158, 11, 0.36);
    box-shadow:
      0 18px 38px rgba(15, 23, 42, 0.10),
      0 0 0 1px rgba(245, 158, 11, 0.08);
  }

  html:not([data-theme="dark"]) .package-card-featured::before {
    background:
      radial-gradient(circle at top center, rgba(245, 158, 11, 0.10), transparent 42%);
  }

  html:not([data-theme="dark"]) .package-title-wrap h3,
  html:not([data-theme="dark"]) .package-price,
  html:not([data-theme="dark"]) .package-features li {
    color: #0f172a;
  }

  html:not([data-theme="dark"]) .package-subtitle,
  html:not([data-theme="dark"]) .package-price-label {
    color: rgba(15, 23, 42, 0.62);
  }

  html:not([data-theme="dark"]) .package-price-block {
    background: rgba(248, 250, 252, 0.95);
    border-color: rgba(15, 23, 42, 0.08);
  }

  html:not([data-theme="dark"]) .package-price-note {
    color: #b45309;
  }

  html:not([data-theme="dark"]) .package-icon {
    background: rgba(245, 158, 11, 0.10);
    color: #d97706;
    box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.14);
  }

  html:not([data-theme="dark"]) .package-segmented {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.08);
  }

  html:not([data-theme="dark"]) .package-segment {
    color: rgba(15, 23, 42, 0.68);
  }

  html:not([data-theme="dark"]) .package-segment:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.05);
  }

  html:not([data-theme="dark"]) .package-segment.is-active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(245, 158, 11, 0.10));
    color: #92400e;
    box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.24);
  }

  html:not([data-theme="dark"]) .package-card .btn-ak-outline {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.14);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  }

  html:not([data-theme="dark"]) .package-card .btn-ak-outline:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.22);
  }

  html:not([data-theme="dark"]) .package-card .btn-ak-primary {
    color: #111827;
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.24);
  }

  html:not([data-theme="dark"]) .package-card .btn-ak-primary:hover {
    color: #111827;
    box-shadow: 0 14px 28px rgba(245, 158, 11, 0.28);
  }

  html:not([data-theme="dark"]) .package-vehicle-media {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96));
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }

  html:not([data-theme="dark"]) .package-card-featured .package-vehicle-media {
    background: linear-gradient(180deg, #fffcf8 0%, rgba(248, 250, 252, 0.96) 100%);
    border-color: rgba(245, 158, 11, 0.22);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.96),
      0 6px 14px rgba(15, 23, 42, 0.04);
  }

  /* important-note */
  html:not([data-theme="dark"]) .important-note {
    background: #ffffff;
    border: 1px solid rgba(180, 83, 9, 0.14);
    border-left: 4px solid #f59e0b;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  }

  html:not([data-theme="dark"]) .important-note h2 {
    color: #7c2d12;
  }

  html:not([data-theme="dark"]) .important-note-head p {
    color: rgba(120, 53, 15, 0.78);
  }

  html:not([data-theme="dark"]) .important-note-badge {
    background: rgba(245, 158, 11, 0.08);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.16);
  }

  html:not([data-theme="dark"]) .important-note-list li {
    color: rgba(92, 45, 18, 0.86);
  }

  html:not([data-theme="dark"]) .important-note-list li i {
    color: #f59e0b;
  }

  html:not([data-theme="dark"]) .important-note-list strong {
    color: #7c2d12;
  }

  html:not([data-theme="dark"]) .important-note-list a {
    color: #c2410c;
    border-bottom: 1px solid rgba(194, 65, 12, 0.24);
  }

  html:not([data-theme="dark"]) .important-note-list a:hover {
    color: #9a3412;
    border-color: rgba(154, 52, 18, 0.38);
  }

  html:not([data-theme="dark"]) .important-note-actions .btn-ak-primary {
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.18);
  }
}

.guarantee-card-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: calc(var(--ak-space) * 0.75);
}

.guarantee-card-head i {
  flex: 0 0 auto;
  margin-bottom: 0;
  color: var(--ak-amber);
  font-size: 2.25rem;
  line-height: 1;
}

.guarantee-card-head strong {
  display: block;
  margin-bottom: 0;
  color: #ffffff;
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ak-gap-lg);
}

.before-after-card {
  --ba-position: 50%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ak-border);
  border-radius: calc(var(--ak-radius) + 0.125rem);
  background:
    linear-gradient(180deg, var(--ak-surface-1) 0%, var(--ak-surface-2) 100%);
  box-shadow: var(--ak-shadow-soft);
  aspect-ratio: 16 / 9;
}

.before-after-stage {
  position: absolute;
  inset: 0;
}

.before-after-stage-after {
  z-index: 1;
}

.before-after-stage-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--ba-position)) 0 0);
}

.before-after-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  padding: 0.75rem;
  box-sizing: border-box;
}

.before-after-collage-item {
  overflow: hidden;
  border-radius: 1rem;
  background: var(--ak-surface-2);
  position: relative;
}

.before-after-collage-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-position);
  width: 0;
  z-index: 3;
  pointer-events: none;
}

.before-after-divider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.before-after-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  width: 3.5rem;
  height: 3.5rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ak-blue);
  box-shadow:
    0 0.75rem 1.75rem rgba(16, 24, 40, 0.18),
    0 0 0 1px rgba(15, 23, 42, 0.08);
}

.before-after-handle i {
  font-size: 1.125rem;
  line-height: 1;
}

.before-after-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: ew-resize;
}

/* hover */
.before-after-card:hover {
  box-shadow: var(--ak-shadow);
}

/* dark theme */
html[data-theme="dark"] .before-after-card {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, #162033 0%, #101a2e 100%);
}

html[data-theme="dark"] .before-after-collage-item {
  background: rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .before-after-divider::before {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .before-after-handle {
  background: #ffffff;
  color: var(--ak-blue);
}


@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .before-after-card {
    border-color: rgba(255, 255, 255, 0.08);
    background:
      linear-gradient(180deg, #162033 0%, #101a2e 100%);
  }

  html:not([data-theme="light"]) .before-after-collage-item {
    background: rgba(255, 255, 255, 0.03);
  }

  html:not([data-theme="light"]) .before-after-divider::before {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  }

  html:not([data-theme="light"]) .before-after-handle {
    background: #ffffff;
    color: var(--ak-blue);
  }
}

@media (max-width: 760px) {
  .before-after-card {
    aspect-ratio: 4 / 5;
  }

  .before-after-collage {
    gap: 0.375rem;
    padding: 0.5rem;
  }

  .before-after-collage-item {
    border-radius: 0.75rem;
  }

  .before-after-handle {
    width: 3rem;
    height: 3rem;
  }

  .before-after-range {
    touch-action: pan-y;
  }
}

/* Ссылки внутри step и work-item — всегда с underline */
.step a:not(.btn-ak),
.work-item a:not(.btn-ak) {
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
  text-decoration-thickness: 1px;
  font-weight: 600;
}

.step a:not(.btn-ak):hover,
.step a:not(.btn-ak):focus,
.step a:not(.btn-ak):active,
.work-item a:not(.btn-ak):hover,
.work-item a:not(.btn-ak):focus,
.work-item a:not(.btn-ak):active {
  font-weight: 600;
  text-decoration: underline;
}

.gallery-lightbox-error {
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 8px;
  color: #dc3545;
  font-size: 14px;
  text-align: center;
}

.form-hint a,
.form-hint a:visited,
.form-hint a:hover,
.form-hint a:active {
  text-decoration: underline !important;
}

.h-big {
  font-size: clamp(1.6875rem, 3.4vw, 2.5rem);
  font-weight: 700;
}

.doc-card-head,
.doc-card-title,
.doc-card-media {
  display: block;
  color: #fff;
  font-size: 1rem;
}