:root {
  /* Colors */
  --color-primary: #cca965; /* Gold */
  --color-text: #666666; /* Gray */
  --color-background: #ffffff;

  /* Типографика как на /uslugi/ (внутренние страницы) */
  --font-giant: "Antonio", sans-serif;
  --font-ui: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;
  --gold: #cca965;
  --gold-light: #e8c97b;
  --dark: #0f0c09;

  /* Typography */
  --font-main: "DM Sans", sans-serif;

  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.inner-page main {
  margin-top: 0 !important;
}

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

/* Кнопки (главная, цены, CTA) */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gold);
  color: #111;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.85rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-gold:hover {
  opacity: 0.92;
  color: #111;
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-outline-white:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #a8884d;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.main-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 1.5rem 0;
  background: transparent;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
  display: inline-block;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  letter-spacing: 1px;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.main-nav a {
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  letter-spacing: 0.5px;
}

.main-nav a:hover {
  color: #e0e0e0;
}

.header-right {
    display: flex;
    align-items: center;
}

/* Burger Menu */
.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.burger-menu span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #fff;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .burger-menu {
    display: none;
  }
}

/* Inner pages: читаемая шапка на светлом фоне */
body.inner-page .main-header {
  position: sticky;
  top: 0;
  background: rgba(15, 12, 9, 0.97);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.logo-with-img {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

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

/* Кнопки контактов в шапке: телефон + WhatsApp + Telegram */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 12px;
}
.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-ui, "Montserrat"), sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.header-action:hover {
  background: rgba(204, 169, 101, 0.16);
  border-color: rgba(204, 169, 101, 0.4);
  transform: translateY(-1px);
}
.header-action__icon {
  flex-shrink: 0;
}
.header-action__text {
  margin-left: 0.5rem;
}
.header-action--phone .header-action__icon {
  color: #cca965;
}
.header-action--whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
  width: 40px;
  padding: 0;
}
.header-action--whatsapp:hover {
  background: #1faa52;
  border-color: #1faa52;
}
.header-action--telegram {
  background: #2aabee;
  border-color: #2aabee;
  color: #fff;
  width: 40px;
  padding: 0;
}
.header-action--telegram:hover {
  background: #1a8ec7;
  border-color: #1a8ec7;
}

/* Мобильный: телефон превращается в круглую иконку, текст скрывается */
@media (max-width: 768px) {
  .header-actions {
    gap: 0.4rem;
    margin-right: 8px;
  }
  .header-action {
    width: 38px;
    height: 38px;
    padding: 0;
  }
  .header-action__text {
    display: none;
  }
  .header-action--phone {
    background: #cca965;
    border-color: #cca965;
    color: #0f0c09;
  }
  .header-action--phone .header-action__icon {
    color: #0f0c09;
  }
  .header-action--phone:hover {
    background: #e8c97b;
    border-color: #e8c97b;
  }
}

@media (max-width: 380px) {
  .header-actions {
    gap: 0.3rem;
  }
  .header-action {
    width: 36px;
    height: 36px;
  }
}

/* Footer — горизонтальная сетка: блоки ссылок + строка документов */
.main-footer {
  margin-top: 0;
  background: #0c0a08;
  color: #c8c8c8;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'Montserrat', 'Inter', sans-serif;
}

.footer-topline {
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(204, 169, 101, 0.35) 25%,
    #CCA965 50%,
    rgba(204, 169, 101, 0.35) 75%,
    transparent 100%
  );
}

.footer-main {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 2rem 20px 1.75rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.75rem 2.5rem;
}

.footer-brand {
  flex: 0 1 200px;
  min-width: 160px;
}

.footer-brand-link {
  display: inline-block;
  line-height: 0;
}

.footer-logo {
  height: 40px;
  width: auto;
  display: block;
  opacity: 0.95;
}

.footer-tagline {
  font-size: 0.76rem;
  line-height: 1.45;
  color: #7d7d7d;
  margin: 0.75rem 0 0;
}

.footer-block {
  flex: 1 1 120px;
  min-width: min(100%, 140px);
}

.footer-block-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #CCA965;
  margin: 0 0 0.55rem;
  white-space: nowrap;
}

.footer-link-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.35rem;
}

.footer-link-row a {
  font-size: 0.8rem;
  font-weight: 500;
  color: #dcdcdc;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.footer-link-row a:hover {
  color: #fff;
  border-bottom-color: rgba(204, 169, 101, 0.55);
}

.footer-block--contacts .footer-link-row {
  column-gap: 0.85rem;
}

.footer-address {
  font-size: 0.72rem;
  line-height: 1.45;
  color: #9a9a9a;
  margin: 0.55rem 0 0;
  max-width: 16rem;
}

.footer-docs-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.28);
}

.footer-docs-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0.75rem 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.footer-docs-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.footer-docs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.15rem;
}

.footer-docs-list li {
  display: inline-flex;
  align-items: center;
}

.footer-docs-list li + li::before {
  content: '·';
  color: #4a4a4a;
  margin: 0 0.55rem 0 0.4rem;
  font-weight: 700;
  user-select: none;
}

.footer-docs-list a {
  font-size: 0.76rem;
  font-weight: 500;
  color: #c4b89a;
  text-decoration: none;
  white-space: nowrap;
}

.footer-docs-list a:hover {
  color: #f0e6d2;
  text-decoration: underline;
}

.footer-offer-note {
  margin: 0;
  font-size: 0.7rem;
  color: #8f8f8f;
  white-space: nowrap;
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #080706;
}

.footer-meta-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0.9rem 20px 1.35rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}

.footer-meta-text {
  flex: 1 1 240px;
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.55;
  color: #8f8f8f;
  max-width: 48rem;
}

.footer-meta-text a {
  color: #8a7b63;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-meta-text a:hover {
  color: #CCA965;
}

.footer-copy {
  margin: 0;
  font-size: 0.68rem;
  color: #8a8a8a;
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-requisites {
  padding: 0.55rem 20px 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.footer-requisites p {
  margin: 0;
  font-size: 0.66rem;
  line-height: 1.55;
  color: #8f8f8f;
  letter-spacing: 0.02em;
}
.footer-requisites a {
  color: #8a7b63;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-requisites a:hover {
  color: #cca965;
}

/* Строка под реквизитами: документы слева, кредит разработчика справа */
.footer-requisites-row {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
}
.footer-requisites-row a {
  font-size: 0.66rem;
  letter-spacing: 0.02em;
}
.footer-dev-credit {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .footer-requisites p {
    font-size: 0.64rem;
  }
  .footer-requisites-row {
    flex-direction: column;
    gap: 0.3rem;
  }
}

/* Карта в подвале — на всю ширину экрана */
.footer-map-section {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #1a1816;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-map-iframe {
  display: block;
  width: 100%;
  height: min(52vh, 520px);
  min-height: 280px;
  border: 0;
}

.footer-map-section .lazy-embed--map {
  position: relative;
  display: block;
  width: 100%;
  height: min(52vh, 520px);
  min-height: 280px;
  background: #1a1816;
  overflow: hidden;
}

.footer-map-section .lazy-embed--map .footer-map-iframe {
  height: 100%;
  min-height: 0;
}

.footer-map-section .lazy-embed__spinner {
  border-color: rgba(204, 169, 101, 0.18);
  border-top-color: #cca965;
}

.footer-map-note {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0.55rem 20px 0.85rem;
  font-size: 0.68rem;
  line-height: 1.4;
  color: #6a6a6a;
  text-align: center;
}

@media (min-width: 900px) {
  .footer-map-iframe {
    height: min(42vh, 480px);
    min-height: 360px;
  }
  .footer-map-section .lazy-embed--map {
    height: min(42vh, 480px);
    min-height: 360px;
  }
}

/* Нижнее меню — liquid glass, только мобильные; появляется при прокрутке вниз */
.mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 170;
  display: none;
  justify-content: space-around;
  align-items: stretch;
  padding: 0.2rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
  padding-left: max(0.35rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.35rem, env(safe-area-inset-right, 0px));
  background: rgba(252, 248, 242, 0.78);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 -6px 28px rgba(35, 28, 22, 0.12);
  transform: translate3d(0, 110%, 0);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}

.mobile-dock.mobile-dock--visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-dock__item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
  padding: 0.35rem 0.15rem 0.2rem;
  text-decoration: none;
  color: #9a8f86;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  -webkit-tap-highlight-color: transparent;
}

.mobile-dock__item[aria-current='page'] {
  color: #6b4f2a;
}

.mobile-dock__item[aria-current='page']::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #8b6239, #c49a5c);
}

.mobile-dock__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.mobile-dock__label {
  line-height: 1.15;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-dock__item--whatsapp .mobile-dock__icon {
  color: #cca965;
}
.mobile-dock__item--whatsapp .mobile-dock__label {
  color: #cca965;
  font-weight: 700;
}

@media (max-width: 900px) {
  .mobile-dock__item {
    padding: 0.32rem 0.06rem 0.18rem;
  }

  .mobile-dock__label {
    font-size: 0.56rem;
  }

  .mobile-dock__icon svg {
    width: 20px;
    height: 20px;
  }
}

.mobile-dock__item:active {
  opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-dock {
    transition-duration: 0.01ms;
  }
}

body.has-scroll-dock {
  padding-bottom: calc(3.35rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 901px) {
  body.has-scroll-dock {
    padding-bottom: 0;
  }
}

@media (max-width: 900px) {
  .mobile-dock {
    display: flex;
  }

  .footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
  }

  .footer-brand {
    grid-column: 1 / -1;
    flex: none;
    max-width: 100%;
  }

  .footer-block {
    flex: none;
  }
}

@media (max-width: 520px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-docs-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-offer-note {
    white-space: normal;
  }

  .footer-docs-list a {
    white-space: normal;
  }

  .footer-meta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 20px 0.85rem;
    gap: 0.45rem;
  }

  .footer-meta-text {
    margin: 0;
  }

  .footer-copy {
    white-space: normal;
    margin: 0;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(15, 12, 9, 0.97);
  border-top: 1px solid rgba(204, 169, 101, 0.25);
  padding: 0.85rem 16px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
}

.cookie-banner-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cookie-banner-text {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #bbb;
  flex: 1 1 280px;
  margin: 0;
}

.cookie-banner-text a {
  color: #CCA965;
}

.cookie-categories {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0.5rem 0 0.25rem;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(204, 169, 101, 0.18);
  border-radius: 6px;
}
.cookie-category {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #ccc;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.18rem;
  width: 16px;
  height: 16px;
  accent-color: #cca965;
  cursor: pointer;
}
.cookie-category input[disabled] {
  cursor: default;
  opacity: 0.7;
}
.cookie-category strong {
  color: #cca965;
  font-weight: 700;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #ddd;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.5rem 1.1rem;
  font-family: var(--font-ui), "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.cookie-btn:hover {
  background: rgba(204, 169, 101, 0.14);
  border-color: rgba(204, 169, 101, 0.4);
  color: #fff;
}
.cookie-btn--primary {
  background: #cca965;
  color: #0f0c09;
  border-color: #cca965;
}
.cookie-btn--primary:hover {
  background: #e8c97b;
  border-color: #e8c97b;
  color: #0f0c09;
}
.cookie-btn--ghost {
  background: transparent;
  color: #aaa;
}
@media (max-width: 600px) {
  .cookie-banner {
    padding: 0.85rem 12px;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

/* Portfolio */
.portfolio-page {
  font-family: 'Montserrat', 'Inter', sans-serif;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}

.portfolio-filter {
  border: 1px solid rgba(204, 169, 101, 0.45);
  background: transparent;
  color: #e0e0e0;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  cursor: pointer;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.portfolio-filter:hover,
.portfolio-filter.is-active {
  background: #CCA965;
  color: #0f0c09;
  border-color: #CCA965;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.portfolio-card {
  background: #1a1510;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.portfolio-card-body {
  padding: 1rem 1rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.portfolio-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f0f0f0;
  line-height: 1.35;
  margin: 0;
}

.portfolio-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #CCA965;
}

.portfolio-toggle {
  font-size: 0.78rem;
  color: #CCA965;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  font-weight: 500;
}

.portfolio-toggle:hover {
  color: #e0c88a;
}

.portfolio-video {
  margin-top: 0.5rem;
  border: 0;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 420px;
  background: #000;
}

.portfolio-video[hidden] {
  display: none !important;
}

.portfolio-section-title {
  font-family: 'Antonio', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #fff;
  letter-spacing: 0.04em;
  margin: 3rem 0 0.5rem;
}

.portfolio-section-lead {
  color: #999;
  font-size: 0.9rem;
  max-width: 42rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.caps-grid .portfolio-card img {
  display: none;
}

.caps-grid .portfolio-card-body {
  padding-top: 1.25rem;
}

/* =====================================================================
   Слайдеры видео (главная, портфолио)
   ===================================================================== */
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: #CCA965;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.section-heading {
  font-family: 'Antonio', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  color: #fff;
  line-height: 0.95;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

/* Универсальные модификаторы цвета — для использования на любой странице.
   Дают единые отступы и стиль, без inline-overrides на h2. */
.section-heading--ink,
h2.section-heading--ink {
  color: #0f0c09;
}
.section-heading--light {
  color: #fff;
}
.video-section {
  background: #fff;
  padding: 4rem 0 4rem 20px;
  overflow: hidden;
}
.video-section--dark {
  background: #0f0c09;
  padding: 4rem 0 4rem 20px;
  overflow: hidden;
}
.video-section--dark .section-heading {
  color: #fff;
}
.video-section--dark .section-label {
  color: #CCA965;
}
.video-section-inner {
  max-width: var(--container-width, 1200px);
  margin: 0 auto 1.5rem;
  padding: 0 20px;
}
.video-slider-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-right: 5%;
  padding-bottom: 8px;
}
.video-slider-track::-webkit-scrollbar {
  display: none;
}
.video-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: #f5f3f0;
  border-radius: 12px;
  overflow: hidden;
}
.video-section--dark .video-card {
  background: #1a1510;
}
.video-card-player {
  width: 100%;
  aspect-ratio: 9/16;
  border: none;
  display: block;
}
.video-card-desc {
  padding: 0.9rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  color: #555;
  line-height: 1.4;
}
.video-section--dark .video-card-desc {
  color: #aaa;
}
.slider-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-right: 5%;
}
.slider-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.slider-nav button:hover {
  background: #f0ebe4;
}
.video-section--dark .slider-nav button {
  background: #1a1510;
  border-color: #333;
  color: #fff;
}
.video-section--dark .slider-nav button:hover {
  background: #252018;
}
@media (max-width: 768px) {
  .video-card {
    flex: 0 0 240px;
  }
}

/* Портфолио: ленивая подгрузка видео (iframe) + спиннер */
.video-card--lazy .lazy-embed--video {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: linear-gradient(145deg, #ebe6df 0%, #ddd8d0 100%);
  overflow: hidden;
}
.video-section--dark .video-card--lazy .lazy-embed--video {
  background: linear-gradient(145deg, #2a2420 0%, #1a1510 100%);
}
.lazy-embed__iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.lazy-embed.is-loaded .lazy-embed__iframe {
  opacity: 1;
}
.lazy-embed__spinner,
.lazy-media__spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  border: 3px solid rgba(204, 169, 101, 0.25);
  border-top-color: #cca965;
  animation: portfolioLazySpin 0.75s linear infinite;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.video-section--dark .lazy-embed__spinner {
  border-color: rgba(255, 255, 255, 0.12);
  border-top-color: #e8d4b0;
}
.lazy-embed.is-loaded .lazy-embed__spinner,
.lazy-media.is-loaded .lazy-media__spinner {
  opacity: 0;
  visibility: hidden;
}
@keyframes portfolioLazySpin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lazy-embed__spinner,
  .lazy-media__spinner {
    animation: none;
    opacity: 0.85;
  }
}

/* Портфолио: ленивые фото + спиннер */
.lazy-media--photo {
  position: relative;
  width: 100%;
  aspect-ratio: 800 / 1067;
  background: #2a2620;
  border-radius: 12px;
  overflow: hidden;
}

/* Ленивые фото в статьях блога (горизонтальные 1200×800) */
.lazy-media--article {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #ebe6df;
  border-radius: 12px;
  overflow: hidden;
}
.lazy-media--article .lazy-media__spinner {
  border-color: rgba(204, 169, 101, 0.2);
  border-top-color: #cca965;
}
.lazy-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.lazy-media.is-loaded .lazy-media__img {
  opacity: 1;
}
.lazy-media--photo .lazy-media__spinner {
  border-color: rgba(255, 255, 255, 0.15);
  border-top-color: #cca965;
}

/* Отзывы / фото-лента */
.reviews-section {
  background: #0f0c09;
  padding: 4rem 0 4rem 20px;
  overflow: hidden;
}
.reviews-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-right: 5%;
}
.reviews-track::-webkit-scrollbar {
  display: none;
}
.review-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
}
.review-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
@media (max-width: 768px) {
  .review-card {
    flex: 0 0 260px;
  }
}

/* Портфолио: фото примеров — акцент по центру скролла + лайтбокс (десктоп) */
.reviews-section--portfolio-photos .portfolio-photo-track {
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(1rem, calc(50vw - 150px));
  padding: 2rem max(12px, calc(50vw - 150px)) 3rem;
  gap: 14px;
  align-items: center;
}
.reviews-section--portfolio-photos .portfolio-photo-track .portfolio-photo-card {
  flex: 0 0 clamp(220px, 32vw, 300px);
  scroll-snap-align: center;
  scroll-snap-stop: normal;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    opacity 0.35s ease,
    filter 0.35s ease;
  transform: scale(0.86);
  opacity: 0.65;
  filter: brightness(0.82);
  position: relative;
  z-index: 0;
}
.reviews-section--portfolio-photos .portfolio-photo-card--focus {
  transform: scale(1.1);
  opacity: 1;
  filter: brightness(1);
  z-index: 2;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.reviews-section--portfolio-photos .portfolio-photo-card .lazy-media__img {
  border-radius: 12px;
  vertical-align: middle;
}
@media (min-width: 1024px) {
  .reviews-section--portfolio-photos .portfolio-photo-card .lazy-media__img {
    cursor: zoom-in;
  }
}
.reviews-section--portfolio-photos .slider-nav button {
  background: #fff;
  border-color: #e8e4dc;
  color: #111;
}
.reviews-section--portfolio-photos .slider-nav button:hover {
  background: #f5f1ea;
}

.portfolio-photo-lightbox[hidden] {
  display: none !important;
}
.portfolio-photo-lightbox:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 10050;
  padding: 2rem 1rem;
  box-sizing: border-box;
}
body.portfolio-photo-lightbox-open {
  overflow: hidden;
}
.portfolio-photo-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: pointer;
}
.portfolio-photo-lightbox__frame {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: min(96vw, 1280px);
  max-height: min(92vh, 900px);
  pointer-events: none;
}
.portfolio-photo-lightbox__frame > * {
  pointer-events: auto;
}
.portfolio-photo-lightbox__img {
  max-width: min(85vw, 1000px);
  max-height: min(88vh, 860px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.55);
  animation: portfolioLbIn 0.28s ease-out;
}
@keyframes portfolioLbIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.portfolio-photo-lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10052;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(30, 26, 22, 0.95);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.portfolio-photo-lightbox__close:hover {
  background: rgba(50, 44, 38, 0.98);
}
.portfolio-photo-lightbox__nav {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  color: #111;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.portfolio-photo-lightbox__nav:hover {
  background: #f0ebe4;
}
@media (max-width: 1023px) {
  .portfolio-photo-lightbox {
    display: none !important;
  }
}

/* =====================================================================
   Шапка внутренних страниц (как на /uslugi/)
   ===================================================================== */
.page-hero {
  position: relative;
  height: 52vh;
  min-height: 340px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3.5rem;
}

.page-hero-bg {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center 35%;
  filter: blur(10px) brightness(0.45) saturate(0.7);
  z-index: 1;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 5, 2, 0.45);
  z-index: 2;
}

.page-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-width, 1200px);
  margin: 0 auto;
  padding: 0 20px;
}

.page-hero .page-hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.15s ease forwards;
}

.page-hero .page-hero-title {
  font-family: var(--font-giant);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 700;
  color: #fff;
  line-height: 0.9;
  letter-spacing: 2px;
  margin: 0;
  opacity: 0;
  animation: fadeUp 0.6s 0.25s ease forwards;
}

.page-hero .page-hero-lead {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  max-width: 36rem;
  line-height: 1.6;
  margin: 1.5rem 0 0;
  opacity: 0;
  animation: fadeUp 0.6s 0.35s ease forwards;
}

.page-hero-content--center {
  text-align: center;
}

.page-hero-content--center .page-hero-lead {
  margin-left: auto;
  margin-right: auto;
}

.page-hero .page-hero-lead:last-child {
  margin-bottom: 0;
}

.page-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.45s ease forwards;
}

.page-hero-cta-row a {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
}

.page-hero-cta-primary {
  background: var(--gold);
  color: var(--dark);
}

.page-hero-cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.article-page-hero,
.stati-hub-hero,
.portfolio-top-hero {
  min-height: 300px;
}

@media (max-width: 640px) {
  .page-hero-content {
    padding: 0 1.25rem;
  }
}

@media (max-width: 600px) {
  .page-hero {
    height: 42vh;
    min-height: 260px;
    padding-bottom: 2.25rem;
  }
}

/* =====================================================================
   Статьи
   ===================================================================== */
.article-page {
  background: #faf9f7;
  padding-bottom: 4rem;
}
.article-inner {
  width: 100%;
  max-width: min(100vw - 2rem, var(--container-width));
  margin: 0 auto;
  padding: 2rem 1.25rem 0;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .article-inner {
    padding: 2.25rem max(1.25rem, 5%) 0;
    max-width: var(--container-width);
  }
}
.article-breadcrumb {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 1rem;
}
.article-breadcrumb a {
  color: #a08050;
}
.article-lead {
  font-size: 1rem;
  color: #666;
  line-height: 1.55;
  margin-bottom: 2rem;
}
.article-body .article-h2 {
  font-family: 'Antonio', sans-serif;
  font-size: 1.25rem;
  color: #0f0c09;
  margin: 2rem 0 0.75rem;
  letter-spacing: 0.06em;
}
.article-body .article-h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #2a2119;
  margin: 1.25rem 0 0.5rem;
}
.article-body .article-p {
  font-size: 0.98rem;
  color: #444;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.article-list {
  margin: 0.5rem 0 1rem 1.2rem;
  color: #3d352e;
  line-height: 1.6;
}
.article-list li {
  margin: 0.35rem 0;
}
.article-facts {
  margin: 1rem 0 1.5rem;
  border: 1px solid #e8e2d9;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.article-facts__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  border-top: 1px solid #f0ebe4;
}
.article-facts__row:first-child {
  border-top: 0;
}
.article-facts__row strong {
  white-space: nowrap;
  color: #0f0c09;
}
.article-body a {
  color: #8a6d3b;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-figure {
  margin: 2rem 0;
  border-radius: 10px;
  overflow: hidden;
  background: #eee;
}
.article-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
.article-cap {
  font-size: 0.8rem;
  color: #666;
  padding: 0.6rem 0.75rem;
  background: #f0ebe4;
}
.article-media {
  margin-top: 2rem;
}
.article-video-frame {
  margin-top: 0.75rem;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  width: 100%;
  max-width: min(100%, 520px);
  margin-left: auto;
  margin-right: auto;
}
.article-video-frame--wide {
  max-width: min(100%, 720px);
}
.article-video-iframe {
  width: 100%;
  aspect-ratio: 9/16;
  border: 0;
  display: block;
  min-height: 200px;
}
.article-video-frame .lazy-embed--article-video {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  min-height: 200px;
  background: #000;
}
.article-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ddd;
  font-size: 0.92rem;
  color: #555;
  line-height: 1.6;
}
.article-links a {
  font-weight: 600;
}
.article-related {
  margin-top: 2.5rem;
}

.article-related-title {
  font-family: var(--font-giant);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin: 0 0 1.25rem;
  color: #0f0c09;
}

.article-related-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 600px) {
  .article-related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 900px) {
  .article-related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-related-card-wrap {
  display: flex;
}

.article-related-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  padding: 1.1rem 1.2rem;
  background: #fff;
  border: 1px solid #ece6dc;
  border-radius: 14px;
  text-decoration: none;
  color: #1a1612;
  box-shadow: 0 1px 2px rgba(15, 12, 9, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.article-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(15, 12, 9, 0.08);
  border-color: var(--hub-accent, #cca965);
}

.article-related-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hub-accent, #cca965);
  background: #fbf6ec;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
}

.article-related-name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: #1a1612;
}

.article-related-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.5;
  color: #5e574d;
  flex: 1;
}

.article-related-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--hub-accent, #cca965);
  letter-spacing: 0.02em;
  margin-top: 0.3rem;
  transition: gap 0.2s ease;
}

.article-related-card:hover .article-related-cta {
  gap: 0.6rem;
}

.article-related-cta svg {
  width: 15px;
  height: 15px;
}

/* =====================================================================
   Статьи: новый формат (для статей перезаписанных по seo-aeo-geo-articles)
   ===================================================================== */

/* Хлебные крошки */
.article-breadcrumb-nav {
  margin: 0 0 1.5rem;
}

.article-breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--hub-text-soft, #5e574d);
}

.article-breadcrumb-list li {
  display: inline-flex;
  align-items: center;
}

.article-breadcrumb-list li:not(:last-child)::after {
  content: "›";
  margin-left: 0.6rem;
  color: var(--hub-accent, #cca965);
  font-weight: 400;
}

.article-breadcrumb-list a {
  color: var(--hub-text-soft, #5e574d);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.article-breadcrumb-list a:hover {
  color: var(--hub-accent, #cca965);
  border-bottom-color: var(--hub-accent, #cca965);
}

.article-breadcrumb-list [aria-current="page"] {
  color: #1a1612;
  font-weight: 500;
}

/* Контейнер контента — узкая колонка для читаемости */
.article-inner {
  max-width: min(100vw - 2rem, 820px);
}

@media (min-width: 768px) {
  .article-inner {
    max-width: 820px;
    padding: 2.5rem 1.5rem 0;
  }
}

/* Quick Answer */
.article-quick-answer {
  margin: 0 0 2rem;
  padding: 1.25rem 1.4rem;
  background: #fbf6ec;
  border-left: 4px solid var(--hub-accent, #cca965);
  border-radius: 12px;
}

@media (min-width: 768px) {
  .article-quick-answer {
    padding: 1.5rem 1.75rem;
  }
}

.article-quick-answer-title {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hub-accent, #cca965);
  margin: 0 0 0.5rem;
}

.article-quick-answer-text {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.55;
  color: #1a1612;
  margin: 0;
}

.article-quick-answer-text a {
  color: #1a1612;
  font-weight: 600;
  border-bottom: 1px solid var(--hub-accent, #cca965);
  text-decoration: none;
}

.article-quick-answer-text a:hover {
  color: var(--hub-accent, #cca965);
}

/* Тело статьи — типографика */
.article-body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: #1f1a14;
}

.article-body h2 {
  font-family: var(--font-giant);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.005em;
  margin: 2.5rem 0 1rem;
  color: #0f0c09;
  text-transform: none;
}

.article-body h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.75rem 0 0.65rem;
  color: #1a1612;
}

.article-body p {
  margin: 0 0 1rem;
}

.article-body ul,
.article-body ol {
  margin: 0.5rem 0 1.25rem 1.4rem;
  padding: 0;
}

.article-body li {
  margin: 0.4rem 0;
  line-height: 1.55;
}

.article-body strong {
  color: #0f0c09;
}

.article-body a {
  color: #1a1612;
  text-decoration: none;
  border-bottom: 1px solid var(--hub-accent, #cca965);
  transition: color 0.2s ease, background 0.2s ease;
}

.article-body a:hover {
  color: var(--hub-accent, #cca965);
}

/* Оглавление статьи (TOC) */
.article-toc {
  margin: 1.5rem 0 2rem;
  padding: 1.1rem 1.4rem;
  background: #fff;
  border: 1px solid #ece6dc;
  border-radius: 12px;
}

.article-toc-title {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hub-accent, #cca965);
  margin: 0 0 0.65rem;
}

.article-toc-list {
  margin: 0;
  padding: 0 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #1a1612;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem 1rem;
}

@media (min-width: 600px) {
  .article-toc-list {
    grid-template-columns: 1fr 1fr;
  }
}

.article-toc-list li {
  padding: 0.15rem 0;
}

.article-toc-list a {
  color: #1a1612;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.article-toc-list a:hover {
  color: var(--hub-accent, #cca965);
  border-bottom-color: var(--hub-accent, #cca965);
}

/* Definition box (dt + dd) */
.article-definition {
  margin: 1.75rem 0;
  padding: 1.25rem 1.4rem;
  background: #fff;
  border: 1px solid #ece6dc;
  border-radius: 12px;
}

.article-definition dt {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hub-accent, #cca965);
  margin-bottom: 0.6rem;
}

.article-definition dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: #1a1612;
}

/* Цитата эксперта */
.article-expert-quote {
  margin: 2rem 0;
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  background: linear-gradient(135deg, #fbf6ec 0%, #f5ecd9 100%);
  border-radius: 14px;
  position: relative;
}

@media (min-width: 768px) {
  .article-expert-quote {
    padding: 1.75rem 2rem;
  }
}

.article-expert-quote blockquote {
  margin: 0 0 0.85rem;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.55;
  color: #1a1612;
  font-style: italic;
}

.article-expert-quote blockquote::before {
  content: "«";
  font-family: var(--font-giant);
  font-size: 2.4rem;
  line-height: 0;
  color: var(--hub-accent, #cca965);
  margin-right: 0.15em;
  vertical-align: -0.35em;
}

.article-expert-quote blockquote::after {
  content: "»";
  font-family: var(--font-giant);
  font-size: 2.4rem;
  line-height: 0;
  color: var(--hub-accent, #cca965);
  margin-left: 0.15em;
  vertical-align: -0.35em;
}

.article-expert-quote cite {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-style: normal;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: #5e574d;
}

.article-expert-quote cite strong {
  font-weight: 600;
  color: #1a1612;
  font-size: 0.95rem;
}

/* Таблица */
.article-table-wrap {
  margin: 1.5rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid #ece6dc;
  background: #fff;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 480px;
}

.article-table th,
.article-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid #f0ebe4;
}

.article-table thead th {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hub-accent, #cca965);
  background: #fbf6ec;
}

.article-table tbody tr:last-child td {
  border-bottom: 0;
}

.article-table td:last-child,
.article-table th:last-child {
  text-align: right;
  font-weight: 600;
  color: #0f0c09;
}

/* Callout */
.article-callout {
  margin: 1.75rem 0;
  padding: 1.1rem 1.3rem;
  background: #fff;
  border: 1px solid #ece6dc;
  border-left: 4px solid var(--hub-accent, #cca965);
  border-radius: 10px;
  font-size: 0.97rem;
  line-height: 1.55;
  color: #1f1a14;
}

.article-callout strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hub-accent, #cca965);
  margin-bottom: 0.4rem;
}

/* FAQ-аккордион в статье */
.article-faq {
  margin: 2rem 0;
  padding: 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid #ece6dc;
  border-radius: 14px;
}

@media (min-width: 768px) {
  .article-faq {
    padding: 1.85rem 2rem;
  }
}

.article-faq h2 {
  margin-top: 0;
}

.article-faq-list {
  display: flex;
  flex-direction: column;
}

.article-faq-item {
  border-bottom: 1px solid #ece6dc;
}

.article-faq-item:last-child {
  border-bottom: 0;
}

.article-faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #1a1612;
  list-style: none;
}

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

.article-faq-item summary::after {
  content: "+";
  font-family: var(--font-ui);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--hub-accent, #cca965);
  transition: transform 0.2s ease;
  line-height: 1;
}

.article-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.article-faq-item p {
  padding: 0 0 1rem;
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.6;
  color: #5e574d;
}

/* Блок автора (после тела статьи) */
.article-author {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 2.5rem 0 0;
  padding: 1.25rem 1.4rem;
  background: #fff;
  border: 1px solid #ece6dc;
  border-radius: 12px;
}

.article-author-avatar {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--hub-accent, #cca965);
  color: #fffaef;
}

.article-author-avatar svg {
  width: 26px;
  height: 26px;
}

.article-author-meta {
  flex: 1 1 auto;
  min-width: 0;
}

.article-author-name {
  margin: 0 0 0.2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #1a1612;
}

.article-author-role {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: #5e574d;
  line-height: 1.45;
}

/* CTA-блок в конце статьи */
.article-cta-box {
  margin: 2.5rem 0 2rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #1a1612 0%, #2a2118 100%);
  color: #f5ecd9;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .article-cta-box {
    padding: 2.5rem 2.25rem;
  }
}

.article-cta-box::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(204, 169, 101, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.article-cta-box-inner {
  position: relative;
  max-width: 560px;
}

.article-cta-box-title {
  font-family: var(--font-giant);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin: 0 0 0.75rem;
  color: #fffaef;
}

.article-cta-box-lead {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 1.4rem;
  color: rgba(255, 250, 239, 0.82);
}

.article-cta-box-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.article-cta-primary,
.article-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.article-cta-primary {
  background: var(--hub-accent, #cca965);
  color: #1a1612;
  box-shadow: 0 8px 22px rgba(204, 169, 101, 0.32);
}

.article-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(204, 169, 101, 0.42);
}

.article-cta-secondary {
  background: transparent;
  color: #fffaef;
  border: 1px solid rgba(255, 250, 239, 0.32);
}

.article-cta-secondary:hover {
  background: rgba(255, 250, 239, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .article-faq-item summary::after,
  .article-cta-primary,
  .article-cta-secondary {
    transition: none;
  }
}

/* Хаб статей */
/* =====================================================================
   Хаб статей: страница-индекс блога
   ===================================================================== */
.stati-hub {
  --hub-bg: #faf9f7;
  --hub-card-bg: #ffffff;
  --hub-card-border: #ece6dc;
  --hub-card-shadow: 0 1px 2px rgba(15, 12, 9, 0.04);
  --hub-card-shadow-hover: 0 12px 28px rgba(15, 12, 9, 0.08);
  --hub-text: #1a1612;
  --hub-text-soft: #5e574d;
  --hub-accent: var(--gold, #cca965);
  --hub-accent-soft: #f5ecd9;
  --hub-radius: 14px;

  padding: 2.5rem 1.25rem 4rem;
  max-width: min(100vw - 2rem, var(--container-width));
  margin: 0 auto;
  box-sizing: border-box;
  color: var(--hub-text);
}

@media (min-width: 768px) {
  .stati-hub {
    padding: 3rem max(1.25rem, 5%) 5rem;
    max-width: var(--container-width);
  }
}

/* Intro-блок ------------------------------------------------------------ */
.stati-hub-intro {
  margin: 0 0 2rem;
  padding: 1.5rem 1.5rem;
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-card-border);
  border-radius: var(--hub-radius);
  border-left: 4px solid var(--hub-accent);
}

@media (min-width: 768px) {
  .stati-hub-intro {
    padding: 1.75rem 2rem;
    margin-bottom: 2.5rem;
  }
}

.stati-hub-intro-title {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hub-accent);
  margin: 0 0 0.6rem;
}

.stati-hub-intro-lead {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--hub-text-soft);
  margin: 0 0 1rem;
}

.stati-hub-intro-lead a {
  color: var(--hub-text);
  border-bottom: 1px solid var(--hub-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.stati-hub-intro-lead a:hover {
  color: var(--hub-accent);
}

.stati-hub-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.stati-hub-quick-links a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--hub-text-soft);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.stati-hub-quick-links a:hover {
  color: var(--hub-accent);
  border-bottom-color: var(--hub-accent);
}

/* Блок цитаты эксперта + definition ------------------------------------ */
.stati-hub-expert {
  margin: 0 0 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .stati-hub-expert {
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
}

.stati-hub-expert-quote {
  margin: 0;
  padding: 1.5rem;
  background: #fbf6ec;
  border-left: 4px solid var(--hub-accent);
  border-radius: var(--hub-radius);
  position: relative;
}

@media (min-width: 768px) {
  .stati-hub-expert-quote {
    padding: 1.75rem 1.85rem;
  }
}

.stati-hub-expert-quote blockquote {
  margin: 0 0 1rem;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--hub-text);
  font-style: italic;
  quotes: "«" "»";
}

.stati-hub-expert-quote blockquote::before {
  content: open-quote;
  font-family: var(--font-giant);
  font-size: 2.2rem;
  line-height: 0;
  color: var(--hub-accent);
  margin-right: 0.15em;
  vertical-align: -0.3em;
}

.stati-hub-expert-quote blockquote::after {
  content: close-quote;
  font-family: var(--font-giant);
  font-size: 2.2rem;
  line-height: 0;
  color: var(--hub-accent);
  margin-left: 0.15em;
  vertical-align: -0.3em;
}

.stati-hub-expert-quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--hub-text-soft);
  font-style: normal;
}

.stati-hub-expert-quote figcaption strong {
  font-weight: 600;
  color: var(--hub-text);
  font-size: 0.95rem;
}

.stati-hub-definition {
  margin: 0;
  padding: 1.5rem;
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-card-border);
  border-radius: var(--hub-radius);
}

@media (min-width: 768px) {
  .stati-hub-definition {
    padding: 1.75rem 1.85rem;
  }
}

.stati-hub-definition dt {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hub-accent);
  margin-bottom: 0.65rem;
}

.stati-hub-definition dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--hub-text);
}

/* Фильтр-pills --------------------------------------------------------- */
.stati-hub-filter {
  position: sticky;
  top: 0;
  z-index: 12;
  margin: 0 -1.25rem 2rem;
  padding: 0.75rem 0;
  background: linear-gradient(to bottom, #fffefb 70%, rgba(255, 254, 251, 0));
}

@media (min-width: 768px) {
  .stati-hub-filter {
    margin: 0 0 2.5rem;
    padding: 0.5rem 0 1rem;
  }
}

.stati-hub-filter-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 1.25rem;
}

.stati-hub-filter-scroll::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .stati-hub-filter-scroll {
    flex-wrap: wrap;
    overflow-x: visible;
    padding: 0;
    gap: 0.6rem;
  }
}

.stati-hub-pill {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0.95rem;
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-card-border);
  border-radius: 999px;
  color: var(--hub-text);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.stati-hub-pill:hover {
  border-color: var(--hub-accent);
  color: var(--hub-accent);
}

.stati-hub-pill.is-active {
  background: var(--hub-text);
  border-color: var(--hub-text);
  color: #fffaef;
  box-shadow: 0 6px 18px rgba(15, 12, 9, 0.18);
}

.stati-hub-pill.is-active .stati-hub-pill-count {
  background: rgba(255, 250, 239, 0.18);
  color: #fffaef;
}

.stati-hub-pill-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stati-hub-pill-icon svg {
  width: 100%;
  height: 100%;
}

.stati-hub-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 0.4rem;
  background: var(--hub-accent-soft);
  color: var(--hub-text);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}

/* Секции категорий ----------------------------------------------------- */
.stati-hub-section {
  margin: 0 0 3rem;
}

.stati-hub-section:last-of-type {
  margin-bottom: 4rem;
}

.stati-hub-section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem 1rem;
  margin: 0 0 1.25rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--hub-card-border);
}

.stati-hub-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--hub-accent-soft);
  color: var(--hub-accent);
}

.stati-hub-section-icon svg {
  width: 22px;
  height: 22px;
}

.stati-hub-section-title {
  font-family: var(--font-giant);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.005em;
  color: var(--hub-text);
}

.stati-hub-section-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--hub-text-soft);
  margin: 0.2rem 0 0;
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .stati-hub-section-desc {
    grid-column: 2 / 3;
    margin: 0;
  }
}

.stati-hub-section-count {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hub-text-soft);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #f3efe7;
  white-space: nowrap;
}

/* Сетка карточек ------------------------------------------------------- */
.stati-hub-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 600px) {
  .stati-hub-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .stati-hub-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
  }
}

.stati-hub-card {
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-card-border);
  border-radius: var(--hub-radius);
  box-shadow: var(--hub-card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.stati-hub-card:hover,
.stati-hub-card:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--hub-card-shadow-hover);
  border-color: var(--hub-accent);
}

.stati-hub-card-link {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.2rem 1.25rem;
  text-decoration: none;
  color: var(--hub-text);
  height: 100%;
  cursor: pointer;
}

.stati-hub-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hub-accent);
  background: var(--hub-accent-soft);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.stati-hub-card-title {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  color: var(--hub-text);
}

.stati-hub-card-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--hub-text-soft);
  margin: 0;
  flex: 1;
}

.stati-hub-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hub-accent);
  margin-top: 0.4rem;
  letter-spacing: 0.02em;
  transition: gap 0.2s ease;
}

.stati-hub-card-link:hover .stati-hub-card-cta,
.stati-hub-card-link:focus-visible .stati-hub-card-cta {
  gap: 0.6rem;
}

.stati-hub-card-cta svg {
  width: 16px;
  height: 16px;
}

.stati-hub-card-link:focus-visible {
  outline: 2px solid var(--hub-accent);
  outline-offset: 4px;
  border-radius: var(--hub-radius);
}

/* FAQ ------------------------------------------------------------------- */
.stati-hub-faq {
  margin: 4rem 0 3rem;
  padding: 1.75rem 1.5rem;
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-card-border);
  border-radius: var(--hub-radius);
}

@media (min-width: 768px) {
  .stati-hub-faq {
    padding: 2.5rem 2.25rem;
  }
}

.stati-hub-faq-title {
  font-family: var(--font-giant);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin: 0 0 1.25rem;
  color: var(--hub-text);
}

.stati-hub-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.stati-hub-faq-item:last-child {
  border-bottom: none;
}

.stati-hub-faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--hub-text);
  list-style: none;
  position: relative;
}

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

.stati-hub-faq-item summary::after {
  content: "+";
  font-family: var(--font-ui);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--hub-accent);
  transition: transform 0.2s ease;
  line-height: 1;
}

.stati-hub-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.stati-hub-faq-item p {
  padding: 0 0 1rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--hub-text-soft);
}

/* CTA-блок -------------------------------------------------------------- */
.stati-hub-cta {
  margin: 0 -1.25rem;
  padding: 2.5rem 1.25rem;
  background: linear-gradient(135deg, #1a1612 0%, #2a2118 100%);
  color: #f5ecd9;
  border-radius: var(--hub-radius);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .stati-hub-cta {
    margin: 0;
    padding: 3rem 3rem;
  }
}

.stati-hub-cta::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(204, 169, 101, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.stati-hub-cta-inner {
  position: relative;
  max-width: 640px;
}

.stati-hub-cta-title {
  font-family: var(--font-giant);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.85rem;
  color: #fffaef;
}

.stati-hub-cta-lead {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
  color: rgba(255, 250, 239, 0.82);
}

.stati-hub-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stati-hub-cta-primary,
.stati-hub-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.stati-hub-cta-primary {
  background: var(--hub-accent);
  color: #1a1612;
  box-shadow: 0 8px 24px rgba(204, 169, 101, 0.32);
}

.stati-hub-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(204, 169, 101, 0.42);
}

.stati-hub-cta-secondary {
  background: transparent;
  color: #fffaef;
  border: 1px solid rgba(255, 250, 239, 0.32);
}

.stati-hub-cta-secondary:hover {
  background: rgba(255, 250, 239, 0.08);
  border-color: rgba(255, 250, 239, 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .stati-hub-card,
  .stati-hub-pill,
  .stati-hub-card-cta,
  .stati-hub-faq-item summary::after,
  .stati-hub-cta-primary,
  .stati-hub-cta-secondary {
    transition: none;
  }
}

/* =====================================================================
   Контакты /kontakty/
   ===================================================================== */
.contact-main {
  max-width: min(100vw - 2rem, var(--container-width));
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .contact-main {
    padding: 3.25rem max(1.25rem, 5%) 4.5rem;
  }
}

.contact-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 1.75rem 1.5rem;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

@media (min-width: 900px) {
  .contact-card {
    padding: 2rem 2.25rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 2.5rem;
    row-gap: 1rem;
    align-items: start;
  }

  .contact-card > h2:first-of-type {
    grid-column: 1;
    grid-row: 1;
  }

  .contact-card > ul.contact-list {
    grid-column: 1;
    grid-row: 2;
  }

  .contact-card > h2:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0 !important;
  }

  .contact-card > address.contact-address {
    grid-column: 2;
    grid-row: 2;
  }

  .contact-card > .contact-disclaimer {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 0;
    padding-top: 1.25rem;
    border-top: 1px solid #eee;
  }
}

.contact-card h2 {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.45;
}

.contact-list a {
  color: #0f0c09;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(204, 169, 101, 0.5);
}

.contact-list a:hover {
  color: #8a6d3b;
}

.contact-address {
  font-style: normal;
}

.contact-card__h2-address {
  margin-top: 1.5rem;
}

.contact-address__line {
  margin: 0 0 0.5rem;
}

.contact-address__schedule {
  margin: 0;
  font-size: 0.88rem;
  color: #666;
}

.contact-disclaimer {
  font-size: 0.78rem;
  color: #6e6e6e;
  line-height: 1.5;
  margin-top: 1.25rem;
}

/* =====================================================================
   Страница цен /tseny/
   ===================================================================== */
.page-tseny .section-heading--ink {
  color: #0f0c09;
}
.page-tseny .section-heading--light {
  color: #fff;
}

.tseny-wrap {
  max-width: var(--container-width, 1200px);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.tseny-lead {
  background: #fff;
  padding: 3rem 0 3.25rem;
  border-bottom: 1px solid #ece8e2;
}
.tseny-lead__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: start;
}
.tseny-lead__title {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: #444;
  line-height: 1.65;
  font-weight: 400;
  max-width: 38em;
}
.tseny-lead__title strong {
  color: #111;
  font-weight: 600;
}
.tseny-lead__aside {
  background: linear-gradient(160deg, #faf8f5 0%, #f0ebe4 100%);
  border-radius: 14px;
  padding: 1.35rem 1.5rem;
  border: 1px solid #e5dfd6;
}
.tseny-lead__aside-title {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.tseny-lead__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #555;
  line-height: 1.55;
}
.tseny-lead__list li {
  padding: 0.4rem 0 0.4rem 1.1rem;
  position: relative;
}
.tseny-lead__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.85;
}
.tseny-lead__links {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
}
.tseny-lead__links a {
  color: #6b5a40;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tseny-lead__links a:hover {
  color: #0f0c09;
}

.tseny-tariffs {
  background: var(--dark);
  padding: 4rem 0 4.5rem;
}
.tseny-tariffs .section-label {
  margin-bottom: 0.75rem;
}
.tseny-tariffs .section-heading {
  margin-bottom: 1rem;
}
.tseny-tariffs-intro {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  max-width: 36em;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.tseny-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.tseny-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.tseny-card:hover {
  border-color: rgba(204, 169, 101, 0.35);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.tseny-card__head {
  padding: 1.35rem 1.35rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.2);
}
.tseny-card__name {
  font-family: var(--font-giant);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: #fff;
  margin: 0 0 0.5rem;
  font-weight: 700;
}
.tseny-card__rate {
  font-family: var(--font-ui);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0;
  font-feature-settings: "tnum" 1;
}
.tseny-card__rate span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.35rem;
}
.tseny-card__rows {
  margin: 0;
  padding: 0.35rem 0 0.5rem;
  flex: 1;
}
.tseny-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-ui);
  font-size: 0.84rem;
}
.tseny-card__row:last-child {
  border-bottom: none;
}
.tseny-card__row dt {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}
.tseny-card__row dd {
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
}

.tseny-footnote {
  margin-top: 2rem;
  padding: 1.1rem 1.35rem;
  border-radius: 10px;
  background: rgba(204, 169, 101, 0.1);
  border: 1px solid rgba(204, 169, 101, 0.22);
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  /* Растягиваем на всю ширину сетки из трёх таблиц (1160px на десктопе) */
  max-width: 100%;
}
.tseny-footnote strong {
  color: rgba(255, 255, 255, 0.85);
}

.tseny-explain {
  background: #f7f5f2;
  padding: 4rem 0 4.5rem;
}
.tseny-explain .section-label {
  color: #8a7349;
}
.tseny-explain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.tseny-explain-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.75rem 1.65rem;
  border: 1px solid #e8e4dc;
  box-shadow: 0 4px 24px rgba(15, 12, 9, 0.04);
}
.tseny-explain-card__tag {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
}
.tseny-explain-card__title {
  font-family: var(--font-giant);
  font-size: 1.25rem;
  color: #111;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.tseny-explain-card__text {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #666;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.tseny-explain-rows {
  border-top: 1px solid #f0ebe4;
  padding-top: 0.85rem;
}
.tseny-explain-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: #555;
  border-bottom: 1px solid #f5f2ed;
}
.tseny-explain-row:last-child {
  border-bottom: none;
}
.tseny-explain-row span:last-child {
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}
.tseny-explain-note {
  margin-top: 1.75rem;
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: #666;
  line-height: 1.6;
  max-width: 40em;
}

.tseny-bundles {
  background: #fff;
  padding: 4rem 0 4.5rem;
}
.tseny-bundles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.tseny-bundle {
  position: relative;
  border: 1px solid #e8e4dc;
  border-radius: 14px;
  padding: 1.75rem 1.5rem 1.65rem;
  background: #fdfcfa;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tseny-bundle:hover {
  border-color: rgba(204, 169, 101, 0.45);
  box-shadow: 0 10px 36px rgba(15, 12, 9, 0.06);
}
.tseny-bundle--featured {
  border-color: rgba(204, 169, 101, 0.65);
  background: linear-gradient(180deg, #fffdf8 0%, #fff 40%);
  box-shadow: 0 12px 40px rgba(204, 169, 101, 0.12);
  padding-top: 2.1rem;
}
.tseny-bundle__badge {
  position: absolute;
  top: 0;
  right: 1.25rem;
  transform: translateY(-50%);
  background: var(--gold);
  color: #111;
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}
.tseny-bundle__name {
  font-family: var(--font-giant);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: #111;
  margin-bottom: 1.1rem;
}
.tseny-bundle__item {
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: #666;
  padding: 0.35rem 0 0.35rem 1rem;
  position: relative;
  line-height: 1.45;
}
.tseny-bundle__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: var(--gold);
}
.tseny-bundle__price {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid #ece8e2;
  font-family: var(--font-giant);
  font-size: 1.65rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.tseny-bundle__hint {
  font-family: var(--font-body);
  font-size: 0.74rem;
  color: #999;
  margin-top: 0.35rem;
}
.tseny-bundles-intro {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #666;
  line-height: 1.55;
  max-width: 40em;
  margin-top: -0.5rem;
  margin-bottom: 0.25rem;
}
.tseny-bundles-disclaimer {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #999;
  margin-top: 1.75rem;
}

.tseny-cta {
  background: var(--dark);
  padding: 4rem 20px 4.5rem;
  text-align: center;
}
.tseny-cta__title {
  font-family: var(--font-giant);
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.tseny-cta__text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.6;
  max-width: 26em;
  margin: 0 auto 2rem;
}
.tseny-cta__btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .tseny-lead__grid {
    grid-template-columns: 1fr;
  }
  .tseny-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .tseny-explain-grid {
    grid-template-columns: 1fr;
  }
  .tseny-bundles-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================
   ЧТО ДАЁТ НАРАЩИВАНИЕ (главная)
   ============================ */
.benefits-home {
  background: #f7f5f2;
  padding: 5rem 20px;
}
.benefits-inner {
  max-width: var(--container-width, 1200px);
  margin: 0 auto;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.benefit-card {
  background: #fff;
  padding: 2rem 1.75rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(15, 12, 9, 0.08);
}
.benefit-num {
  font-family: var(--font-giant, "Antonio"), sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #cca965;
  line-height: 1;
  margin-bottom: 0.85rem;
}
.benefit-title {
  font-family: var(--font-ui, "Montserrat"), sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f0c09;
  margin: 0 0 0.65rem;
  line-height: 1.3;
}
.benefit-text {
  font-family: var(--font-body, "Inter"), sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #4a4540;
  margin: 0;
}
@media (max-width: 768px) {
  .benefits-home {
    padding: 3.5rem 20px;
  }
  .benefit-card {
    padding: 1.65rem 1.4rem;
  }
}

/* ============================
   ГАРАНТИЯ И ОПЫТ (главная)
   ============================ */
.guarantee-home {
  background: #fff;
  padding: 5rem 20px;
}
.guarantee-inner {
  max-width: var(--container-width, 1200px);
  margin: 0 auto;
}
.guarantee-lead {
  font-family: var(--font-body, "Inter"), sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4a4540;
  max-width: 720px;
  margin: 1rem 0 2.75rem;
}
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.guarantee-card {
  background: linear-gradient(145deg, #fbf8f3 0%, #f3ede4 100%);
  padding: 2.25rem 1.85rem;
  border-radius: 14px;
  border: 1px solid rgba(204, 169, 101, 0.18);
  text-align: left;
}
.guarantee-icon {
  width: 48px;
  height: 48px;
  color: #cca965;
  margin-bottom: 1.15rem;
}
.guarantee-icon svg {
  width: 100%;
  height: 100%;
}
.guarantee-title {
  font-family: var(--font-ui, "Montserrat"), sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f0c09;
  margin: 0 0 0.55rem;
}
.guarantee-text {
  font-family: var(--font-body, "Inter"), sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #4a4540;
  margin: 0;
}
.guarantee-certs {
  margin-top: 2.5rem;
}
.guarantee-certs-title {
  font-family: var(--font-ui, "Montserrat"), sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f0c09;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.guarantee-certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.cert-item {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}
.cert-item:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 32px rgba(15, 12, 9, 0.12);
}
.lazy-media--cert {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ebe6df;
  border-radius: 10px;
  overflow: hidden;
}
.lazy-media--cert .lazy-media__spinner {
  border-color: rgba(204, 169, 101, 0.18);
  border-top-color: #cca965;
}

/* Lightbox для сертификатов — открывается при клике */
.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 12, 9, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  cursor: zoom-out;
  animation: certLightboxIn 0.25s ease;
}
@keyframes certLightboxIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.cert-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: default;
  background: #fff;
}
.cert-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.cert-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}
body.cert-lightbox-open {
  overflow: hidden;
}

/* ============================
   ГАРАНТИЯ КОМПАКТ (внутренние страницы)
   ============================ */
.guarantee-compact {
  background: #f7f5f2;
  padding: 4rem 20px;
}
.guarantee-compact-inner {
  max-width: var(--container-width, 1200px);
  margin: 0 auto;
  text-align: center;
}
.guarantee-compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.25rem;
}
.guarantee-compact-card {
  background: #fff;
  padding: 1.85rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(204, 169, 101, 0.16);
  text-align: left;
}
.guarantee-compact-card .guarantee-icon {
  width: 40px;
  height: 40px;
  color: #cca965;
  margin-bottom: 0.85rem;
}
.guarantee-compact-card .guarantee-icon svg {
  width: 100%;
  height: 100%;
}
.guarantee-compact-title {
  font-family: var(--font-ui, "Montserrat"), sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0f0c09;
  margin: 0 0 0.4rem;
}
.guarantee-compact-text {
  font-family: var(--font-body, "Inter"), sans-serif;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #4a4540;
  margin: 0;
}
.guarantee-compact-text a {
  color: #cca965;
  text-decoration: underline;
}
@media (max-width: 768px) {
  .guarantee-compact {
    padding: 3rem 20px;
  }
  .guarantee-compact-card {
    padding: 1.5rem 1.25rem;
  }
}

/* ============================
   CONTACT FORM (форма заявки с 2 чекбоксами)
   ============================ */
.contact-form-section {
  background: #f7f5f2;
  padding: 4.5rem 20px;
}
.contact-form-inner {
  max-width: var(--container-width, 1200px);
  margin: 0 auto;
}
.contact-form-section .section-label {
  display: block;
  margin-bottom: 0.5rem;
}
.contact-form-section .section-heading {
  margin-bottom: 0.85rem;
}
.contact-form-lead {
  font-family: var(--font-body), "Inter", sans-serif;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #4a4540;
  margin: 0 0 2rem;
  max-width: 720px;
}
.contact-form {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1.85rem;
  border: 1px solid rgba(204, 169, 101, 0.18);
  max-width: 720px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.contact-form__field {
  display: block;
  margin-bottom: 1rem;
}
.contact-form__field--full {
  grid-column: 1 / -1;
}
.contact-form__label {
  display: block;
  font-family: var(--font-ui), "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6a6155;
  margin-bottom: 0.4rem;
}
.contact-form__label span[aria-hidden] {
  color: #cca965;
}
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body), "Inter", sans-serif;
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid #d8d2c5;
  border-radius: 8px;
  background: #fbf9f6;
  color: #1a1612;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #cca965;
  background: #fff;
}
.contact-form textarea {
  resize: vertical;
  min-height: 80px;
}
.contact-form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #4a4540;
  padding: 0.55rem 0;
  cursor: pointer;
}
.contact-form__check input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.18rem;
  width: 18px;
  height: 18px;
  accent-color: #cca965;
  cursor: pointer;
}
.contact-form__check a {
  color: #8a6d3b;
  text-decoration: underline;
}
.contact-form__check a:hover {
  color: #cca965;
}
.contact-form__check-required {
  color: #cca965;
  font-weight: 700;
}
.contact-form__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0.95rem 2rem;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-ui), "Montserrat", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-form__btn:hover {
  background: #1faa52;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.25);
}
.contact-form__hint {
  font-size: 0.78rem;
  color: #6e6e6e;
  margin: 0.85rem 0 0;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .contact-form-section {
    padding: 3rem 20px;
  }
  .contact-form {
    padding: 1.5rem 1.25rem;
  }
  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

/* ============================
   FOOTER — УТП-полоска
   ============================ */
.footer-utp {
  background: #0f0c09;
  border-top: 1px solid rgba(204, 169, 101, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.25rem 0;
}
.footer-utp-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.5rem;
  align-items: center;
  padding: 0 20px;
}
.footer-utp-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #e8e2d6;
  font-family: var(--font-ui, "Montserrat"), sans-serif;
  font-size: 0.82rem;
  line-height: 1.35;
}
.footer-utp-item svg {
  width: 22px;
  height: 22px;
  color: #cca965;
  flex-shrink: 0;
}

/* ============================
   FOOTER — соцсети в блоке бренда
   ============================ */
.footer-social {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.9rem;
  align-items: center;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(204, 169, 101, 0.12);
  color: #cca965;
  transition: background-color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}
.footer-social-link:hover {
  background: #cca965;
  color: #0f0c09;
  transform: translateY(-2px);
}

.footer-schedule {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}
.footer-schedule strong {
  color: #cca965;
  font-weight: 600;
}

@media (max-width: 600px) {
  .footer-utp-inner {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .footer-utp-item {
    font-size: 0.78rem;
  }
}
@media (max-width: 768px) {
  .guarantee-home {
    padding: 3.5rem 20px;
  }
  .guarantee-card {
    padding: 1.85rem 1.4rem;
  }
  .guarantee-certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =====================================================================
   Skip-link — пропуск навигации (WCAG 2.4.1). Скрыт до фокуса с клавиатуры.
   ===================================================================== */
.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 1000;
  background: var(--gold, #cca965);
  color: #111;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 8px 8px;
  font-family: var(--font-ui, sans-serif);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid #111;
  outline-offset: 2px;
}
main:focus {
  outline: none;
}

/* =====================================================================
   ДЕТАЛЬНЫЕ СТРАНИЦЫ УСЛУГ (/uslugi/*) — общий компонентный набор usl-*
   ===================================================================== */
.usl-section { background: #fff; padding: 5rem 20px; }
.usl-inner { max-width: var(--container-width, 1200px); margin: 0 auto; }

/* Быстрый ответ (lead) — AEO-блок прямого ответа */
.usl-lead {
  max-width: 820px;
  margin: 0 auto 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  font-weight: 300;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--gold);
  background: rgba(204, 169, 101, 0.06);
  border-radius: 0 10px 10px 0;
}
.usl-lead strong { color: #111; font-weight: 600; }

/* Intro: текст + факты */
.usl-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.usl-intro-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #666;
  line-height: 1.75;
  font-weight: 300;
}
.usl-intro-text p { margin: 0 0 1rem; }
.usl-facts { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 0.5rem; }
.usl-fact { display: flex; gap: 1.25rem; align-items: flex-start; }
.usl-fact-num {
  font-family: var(--font-giant);
  font-size: 2.5rem;
  color: rgba(0, 0, 0, 0.08);
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
}
.usl-fact-title { font-family: var(--font-ui); font-size: 0.9rem; font-weight: 700; color: #111; margin-bottom: 0.3rem; }
.usl-fact-text { font-family: var(--font-body); font-size: 0.85rem; color: #6e6e6e; line-height: 1.6; font-weight: 300; }

/* Цены (тёмная секция) */
.usl-price { background: var(--dark); padding: 5rem 20px; }
.usl-price .section-heading { color: #fff; }
.usl-price-intro { font-family: var(--font-body); font-size: 0.88rem; color: rgba(255, 255, 255, 0.45); margin-bottom: 2.5rem; font-weight: 300; max-width: 720px; }
.usl-price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.usl-price-block-title {
  grid-column: 1 / -1;
  font-family: var(--font-giant);
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  color: var(--gold);
  letter-spacing: 1px;
  padding: 1.25rem 0 0.75rem;
}
.usl-price-row {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.05rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}
.usl-price-row:hover { background: rgba(255, 255, 255, 0.06); }
.usl-price-label { font-family: var(--font-ui); font-size: 0.88rem; color: rgba(255, 255, 255, 0.7); font-weight: 300; }
.usl-price-value { font-family: var(--font-ui); font-size: 1rem; font-weight: 700; color: #fff; white-space: nowrap; }
.usl-price-note { grid-column: 1 / -1; font-family: var(--font-body); font-size: 0.78rem; color: rgba(255, 255, 255, 0.62); padding-top: 1.5rem; line-height: 1.6; font-weight: 300; }

/* Процесс */
.usl-process { background: #fafafa; padding: 5rem 20px; }
.usl-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 3rem; background: #e5e5e5; }
.usl-step { background: #fff; padding: 2.5rem 2rem; }
.usl-step-num { font-family: var(--font-giant); font-size: 3.5rem; color: rgba(0, 0, 0, 0.06); line-height: 1; margin-bottom: 1.25rem; }
.usl-step-title { font-family: var(--font-ui); font-size: 0.92rem; font-weight: 700; color: #111; margin-bottom: 0.5rem; }
.usl-step-text { font-family: var(--font-body); font-size: 0.82rem; color: #6e6e6e; line-height: 1.65; font-weight: 300; }

/* Цитата эксперта */
.usl-quote {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 2.25rem;
  border-left: 3px solid var(--gold);
  background: #faf8f4;
  border-radius: 0 12px 12px 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  font-style: italic;
}
.usl-quote-author { display: block; margin-top: 1rem; font-style: normal; font-size: 0.82rem; font-weight: 700; color: var(--gold); letter-spacing: 0.5px; }

/* FAQ — нативный аккордеон <details> (без JS) */
.usl-faq { max-width: 820px; margin: 2.5rem auto 0; }
.usl-faq-item { border-bottom: 1px solid #e8e4dd; }
.usl-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 2rem 1.15rem 0;
  position: relative;
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 600;
  color: #111;
}
.usl-faq-item summary::-webkit-details-marker { display: none; }
.usl-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 300;
  transition: transform 0.2s ease;
}
.usl-faq-item[open] summary::after { content: '−'; }
.usl-faq-answer { padding: 0 0 1.25rem; font-family: var(--font-body); font-size: 0.9rem; line-height: 1.7; color: #666; font-weight: 300; }

/* Связанные статьи — 3 карточки */
.usl-related { max-width: var(--container-width, 1200px); margin: 0 auto; }
.usl-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.usl-related-card {
  display: block;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.usl-related-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06); }
.usl-related-name { display: block; font-family: var(--font-ui); font-size: 0.95rem; font-weight: 700; color: #111; margin-bottom: 0.4rem; }
.usl-related-desc { display: block; font-family: var(--font-body); font-size: 0.82rem; color: #6e6e6e; line-height: 1.6; font-weight: 300; }

/* CTA-полоса */
.usl-cta { background: var(--gold); padding: 4.5rem 20px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.usl-cta-eyebrow { font-family: var(--font-ui); font-size: 0.68rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: rgba(0, 0, 0, 0.62); margin-bottom: 0.6rem; }
.usl-cta-title { font-family: var(--font-giant); font-size: clamp(2rem, 4vw, 4.5rem); color: #111; line-height: 0.95; }
.usl-cta-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: #111; color: #fff;
  font-family: var(--font-ui); font-size: 0.82rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 1rem 2.2rem; border-radius: 50px; text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease; white-space: nowrap;
}
.usl-cta-btn:hover { background: #333; transform: translateY(-2px); color: #fff; }

@media (max-width: 900px) {
  .usl-intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .usl-steps { grid-template-columns: 1fr 1fr; }
  .usl-related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .usl-price-grid { grid-template-columns: 1fr; }
  .usl-steps { grid-template-columns: 1fr; }
  .usl-cta { text-align: center; justify-content: center; }
}

