/* Цвета и типографика как в Astra + Elementor (сохранённая главная) */
:root {
  --c-primary: #0170b9;
  --c-primary-hover: #015a94;
  --c-dark: #3a3a3a;
  --c-text: #4b4f58;
  --c-muted: #424242;
  --c-bg: #f5f5f5;
  --c-bg2: #f2f5f7;
  --c-white: #fff;
  --c-yellow: #ffcf3f;
  --c-border: #eaeaea;
  --c-card-border: #e8ecf0;
  --radius: 12px;
  --radius-lg: 24px;
  --container: 1240px;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --header-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 24px 64px -24px rgba(0, 0, 0, 0.12);
  /* Вертикальный ритм секций */
  --section-y: clamp(4.5rem, 5.5vw, 6.25rem);
  --section-y-tight: clamp(3.75rem, 4.5vw, 5rem);
  --section-y-emphasis: clamp(5rem, 6.5vw, 7rem);
  --hero-gap-under-header: clamp(2.75rem, 4vw, 3.75rem);
}

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

html {
  font-size: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-white);
}

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

a {
  color: var(--c-dark);
  text-decoration: none;
}

a:hover {
  color: var(--c-primary-hover);
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  color: var(--c-dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

@media (max-width: 921px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 544px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 8px;
  top: 8px;
  z-index: 2000;
  width: auto;
  height: auto;
  padding: 8px 16px;
  background: var(--c-primary);
  color: var(--c-white);
}

/* ——— Шапка ——— */
.site-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 100;
  background: transparent;
}

.site-header--static {
  position: relative;
  left: auto;
  right: auto;
  background: var(--c-white);
  box-shadow: var(--header-shadow);
}

.site-header--static .header-above {
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

.site-header--static .header-nav-wrap {
  border-bottom: 0;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.header-above {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--header-shadow);
}

.header-above-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 50px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.logo img {
  display: block;
  width: auto;
  height: 44px;
  max-width: min(240px, 52vw);
}

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

.header-meta {
  font-size: 15px;
  color: var(--c-dark);
  flex: 1 1 200px;
  text-align: right;
  line-height: 1.45;
}

.header-phone .btn-phone {
  display: inline-block;
  padding: 10px 20px;
  background: var(--c-yellow);
  color: var(--c-dark);
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: filter 0.15s, box-shadow 0.15s;
}

.header-phone .btn-phone:hover {
  filter: brightness(0.97);
  color: var(--c-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-nav-wrap {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
}

.header-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
}

.nav-desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  display: block;
  padding: 0 clamp(10px, 1.45vw, 18px);
  font-weight: 500;
  line-height: 76px;
  color: var(--c-dark);
  position: relative;
  transition: color 0.15s;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--c-primary);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.15s, transform 0.15s;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current='page'] {
  color: var(--c-primary-hover);
}

.nav-desktop a:hover::after,
.nav-desktop a[aria-current='page']::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Полоска адрес + телефон только в мобильной шапке */
.header-mobile-strip {
  background: #eceff1;
  border-bottom: 1px solid var(--c-border);
  font-size: 12px;
}

.header-mobile-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  min-height: 44px;
  padding: 8px 20px;
}

.header-mobile-address {
  color: var(--c-muted);
  line-height: 1.35;
  flex: 1 1 160px;
}

.header-mobile-phone {
  font-weight: 600;
  color: var(--c-dark);
  white-space: nowrap;
}

.header-mobile-phone:hover {
  color: var(--c-primary-hover);
}

.mobile-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 16px 0 20px;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
}

.mobile-bar .logo img {
  height: 38px;
  max-width: min(200px, 58vw);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--c-primary);
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

.mobile-nav-panel {
  display: none;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  padding: 0 20px 16px;
}

.mobile-nav-panel.is-open {
  display: block;
}

.mobile-nav-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-panel a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border);
  font-weight: 500;
}

.header-desktop {
  display: block;
}

.mobile-only {
  display: none;
}

@media (min-width: 922px) {
  .mobile-only {
    display: none !important;
  }
}

@media (max-width: 921px) {
  .header-desktop {
    display: none;
  }
  .mobile-only {
    display: block;
  }
  .mobile-bar {
    display: flex;
  }
}

/* ——— Герой ——— */
.hero {
  /* высота шапки + дополнительный «воздух» под фиксированным меню */
  padding-top: calc(126px + var(--hero-gap-under-header));
  padding-bottom: clamp(4.5rem, 6vw, 5.5rem);
  background: var(--c-bg);
  overflow-x: hidden;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  min-width: 0;
  max-width: 100%;
}

.hero-text {
  flex: 1 1 280px;
  max-width: 560px;
  padding-right: 40px;
}

.hero-text .lead {
  font-size: 24px;
  font-weight: 500;
  color: var(--c-dark);
}

.hero-text .lead p {
  margin-bottom: 0.35em;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.35rem;
}

.hero-benefits span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--c-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  background: var(--c-white);
  border: 1px solid rgba(1, 112, 185, 0.18);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.hero-benefits span::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--c-primary);
  border-radius: 50%;
  flex: 0 0 auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 1.5rem;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  color: var(--c-dark);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  border: 2px solid rgba(1, 112, 185, 0.24);
  border-radius: 8px;
  background: var(--c-white);
}

.hero-phone:hover {
  border-color: var(--c-primary);
  color: var(--c-primary-hover);
}

.hero-media {
  flex: 1 1 280px;
  min-width: 0;
  max-width: 100%;
  text-align: right;
}

.hero-media img {
  display: block;
  width: 100%;
  max-width: min(100%, 584px);
  height: auto;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.btn {
  display: inline-block;
  padding: 18px 32px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border-radius: 6px;
  border: 0 solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--c-primary);
  color: var(--c-white);
}

.btn-primary:hover {
  background: var(--c-primary-hover);
  color: var(--c-white);
}

@media (max-width: 921px) {
  .hero {
    /* мобильная шапка: бар + полоска контактов */
    padding-top: calc(108px + var(--hero-gap-under-header));
    min-height: auto;
  }
  .hero-text {
    text-align: center;
    padding-right: 0;
    max-width: none;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-benefits {
    justify-content: center;
  }
  .hero-text .lead {
    font-size: 16px;
  }
  .hero-media {
    text-align: center;
  }
}

@media (max-width: 544px) {
  .hero {
    padding-top: calc(118px + var(--hero-gap-under-header));
  }
}

/* ——— Секции ——— */
.section {
  padding: var(--section-y) 0;
}

.section-tight {
  padding: var(--section-y-tight) 0;
}

.section h2 {
  text-align: center;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.section h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: var(--c-primary);
  opacity: 0.85;
}

/* Общие блоки для новых внутренних страниц */
.compact-hero {
  padding: calc(126px + var(--hero-gap-under-header)) 0 var(--section-y-tight);
  background: var(--c-bg);
}

.compact-hero-inner {
  max-width: 840px;
}

.compact-hero h1 {
  margin-bottom: 0.35em;
}

.compact-hero .lead,
.section-lead {
  max-width: 760px;
  color: var(--c-muted);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.grid-2,
.grid-3,
.grid-4,
.cards-grid {
  display: grid;
  gap: 24px;
}

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

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

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

.base-card {
  min-width: 0;
  padding: clamp(24px, 3vw, 32px);
  background: var(--c-white);
  border: 1px solid var(--c-card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.base-card h3,
.base-card h4 {
  margin-bottom: 0.5em;
}

.base-card p:last-child,
.cta-block p:last-child,
.final-form-block p:last-child {
  margin-bottom: 0;
}

.cta-block {
  padding: clamp(32px, 5vw, 56px);
  background: var(--c-primary);
  color: var(--c-white);
  border-radius: var(--radius);
}

.cta-block h2,
.cta-block h3,
.cta-block a:not(.btn) {
  color: var(--c-white);
}

.cta-block .btn {
  margin-top: 8px;
}

.final-form-block {
  padding: var(--section-y-tight) 0;
  background: var(--c-bg);
}

.final-form-block .form-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px);
  background: var(--c-white);
  border: 1px solid var(--c-card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.breadcrumbs {
  margin-bottom: 24px;
  color: var(--c-muted);
  font-size: 14px;
}

.breadcrumbs ol,
.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: #9aa4ac;
}

.breadcrumbs a {
  color: var(--c-primary);
}

/* Хаб и страницы кейсов */
.cases-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.case-hub-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: var(--c-text);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.case-hub-card:hover {
  color: var(--c-text);
  border-color: rgba(1, 112, 185, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.case-hub-card-thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.case-hub-card-body {
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.case-hub-card-body h2 {
  margin: 0;
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
}

.case-hub-card-body p {
  margin: 0;
  color: var(--c-muted);
  flex: 1;
}

.case-hub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.case-hub-tags span {
  display: inline-block;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  background: rgba(1, 112, 185, 0.1);
  color: var(--c-primary);
  border-radius: 5px;
}

.case-hub-card-link {
  margin-top: 8px;
  font-weight: 700;
  color: var(--c-primary);
}

.case-study-prose h2 {
  text-align: left;
}

.case-study-prose h2::after {
  margin: 16px 0 0;
}

.case-study-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 1.25rem 0 0;
}

.case-study-gallery img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.case-params {
  margin: 1rem 0 0;
  padding: clamp(20px, 3vw, 28px);
  background: var(--c-white);
  border: 1px solid var(--c-card-border);
  border-radius: var(--radius);
}

.case-params dl {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: 12px 24px;
  margin: 0;
}

.case-params dt {
  margin: 0;
  font-weight: 700;
  color: var(--c-muted);
  font-size: 14px;
}

.case-params dd {
  margin: 0;
}

@media (max-width: 767px) {
  .cases-hub-grid {
    grid-template-columns: 1fr;
  }

  .case-study-gallery {
    grid-template-columns: 1fr;
  }

  .case-params dl {
    grid-template-columns: 1fr;
  }
}

.materials-section {
  background: var(--c-white);
}

.materials-lead,
.pricing-lead,
.estimate-lead {
  margin: 0 auto clamp(1.75rem, 3vw, 2.25rem);
  text-align: center;
}

.material-card-grid {
  align-items: stretch;
}

.material-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--c-text);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
}

.material-card:hover {
  color: var(--c-text);
  border-color: rgba(1, 112, 185, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.material-card h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
}

.material-card-kicker {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 9px;
  color: var(--c-primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  background: rgba(1, 112, 185, 0.08);
  border-radius: 6px;
}

.material-card-link {
  margin-top: auto;
  padding-top: 16px;
  color: var(--c-primary);
  font-weight: 700;
}

.estimate-section {
  background: var(--c-bg);
}

.section-center-link {
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  text-align: center;
}

/* Страницы материалов */
.material-hero {
  overflow-x: hidden;
}

.material-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.material-hero-copy {
  min-width: 0;
}

.material-hero-media img {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.material-hero .hero-benefits {
  gap: 0;
  margin-top: 1.5rem;
  padding: 14px 0;
  border-top: 1px solid rgba(1, 112, 185, 0.18);
  border-bottom: 1px solid rgba(1, 112, 185, 0.18);
}

.material-hero .hero-benefits span {
  min-height: 0;
  padding: 4px 18px;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(1, 112, 185, 0.18);
  border-radius: 0;
  box-shadow: none;
  color: var(--c-muted);
}

.material-hero .hero-benefits span:first-child {
  padding-left: 0;
}

.material-hero .hero-benefits span:last-child {
  border-right: 0;
  padding-right: 0;
}

.material-hero .hero-benefits span::before {
  width: 6px;
  height: 6px;
}

.material-specs-section,
.material-examples-section,
.material-requirements-section,
.material-links-section {
  background: var(--c-white);
}

.material-price-section,
.material-process-section,
.material-faq-section {
  background: var(--c-bg);
}

.material-price-section .table-wrap {
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
}

.material-price-action {
  justify-content: center;
}

.material-example-card {
  overflow: hidden;
  padding: 0;
}

.material-example-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.material-example-card h3,
.material-example-card p {
  padding-left: clamp(24px, 3vw, 32px);
  padding-right: clamp(24px, 3vw, 32px);
}

.material-example-card h3 {
  margin-top: 22px;
}

.material-example-card p {
  padding-bottom: clamp(24px, 3vw, 32px);
}

.material-step-card .contact-step-number {
  margin-bottom: 18px;
}

.material-info-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.material-info-layout h2 {
  text-align: left;
}

.material-info-layout h2::after {
  margin-left: 0;
}

.material-requirements-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.material-requirements-card li {
  margin-bottom: 0.65em;
}

.material-requirements-card li:last-child {
  margin-bottom: 0;
}

@media (max-width: 921px) {
  .compact-hero {
    padding-top: calc(108px + var(--hero-gap-under-header));
  }
  .material-hero-grid,
  .material-info-layout {
    grid-template-columns: 1fr;
  }
  .material-hero-copy,
  .material-info-layout h2 {
    text-align: center;
  }
  .material-info-layout h2::after {
    margin-left: auto;
  }
  .material-hero-media {
    max-width: 680px;
    margin: 0 auto;
  }
  .grid-3,
  .grid-4,
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .compact-hero {
    padding-top: calc(118px + var(--hero-gap-under-header));
  }
  .material-hero .hero-actions .btn,
  .material-hero .hero-actions .hero-phone {
    width: 100%;
    justify-content: center;
  }
  .material-hero-copy {
    width: 100%;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
  .material-hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    overflow-wrap: anywhere;
  }
  .material-hero .lead {
    overflow-wrap: anywhere;
  }
  .material-hero .hero-benefits {
    align-items: stretch;
    gap: 8px;
    padding: 0;
    border: 0;
  }
  .material-hero .hero-benefits span {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    background: rgba(1, 112, 185, 0.06);
    border: 1px solid rgba(1, 112, 185, 0.16);
    border-radius: 6px;
  }
  .material-example-card img {
    height: 190px;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Цены: аккордеон + таблицы */
.pricing .accordion {
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #dfe3e8;
}

.accordion-item {
  border-bottom: 1px solid #e8ecf0;
  margin: 0;
  background: var(--c-white);
}

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

.accordion-item.is-open .accordion-title {
  background: #f8fafc;
}

.accordion-title {
  margin: 0;
  padding: 16px 18px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  list-style: none;
  user-select: none;
  border: 0;
  background: var(--c-white);
  color: var(--c-dark);
  transition: background 0.15s ease;
}

.accordion-title:hover {
  background: #f4f7fa;
}

.accordion-title::-webkit-details-marker {
  display: none;
}

.accordion-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: rgba(1, 112, 185, 0.1);
  color: var(--c-primary);
  flex-shrink: 0;
}

.accordion-chev-svg {
  width: 1.125rem;
  height: 1.125rem;
  display: block;
  transition: transform 0.22s ease;
}

.accordion-item.is-open .accordion-chev-svg {
  transform: rotate(180deg);
}

.accordion-label {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.accordion-panel {
  padding: 0 18px 18px;
  border-top: 1px solid #eef1f4;
  background: #fafbfc;
}

.accordion-item:not(.is-open) .accordion-panel {
  display: none;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #d5d8dc;
  border-radius: var(--radius);
}

.table-wrap table {
  min-width: 680px;
}

table.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.price-table th,
.price-table td {
  border: 1px solid #d5d8dc;
  padding: 10px 12px;
  text-align: center;
}

.table-wrap .price-table th:first-child,
.table-wrap .price-table td:first-child {
  border-left: 0;
}

.table-wrap .price-table th:last-child,
.table-wrap .price-table td:last-child {
  border-right: 0;
}

.price-table th {
  background: var(--c-bg2);
  font-weight: 600;
}

.price-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.price-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 16px;
}

.price-phone {
  color: var(--c-primary);
  font-weight: 700;
}

/* Преимущества */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 14px;
}

.feature-card {
  flex: 1 1 300px;
  max-width: 368px;
  padding: 40px;
  border: 1px solid var(--c-card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--c-white);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(1, 112, 185, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-card .icon {
  width: 28px;
  height: 28px;
  color: var(--c-primary);
  margin-bottom: 16px;
}

svg.icon-stroke {
  flex-shrink: 0;
}

.feature-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  margin: 0;
  font-size: 15px;
  color: var(--c-text);
}

@media (max-width: 921px) {
  .feature-card {
    flex: 1 1 calc(50% - 14px);
    max-width: none;
    padding: 32px 24px;
  }
}

@media (max-width: 767px) {
  .feature-card {
    flex: 1 1 100%;
  }
}

/* Компания в цифрах */
.stats-section {
  background: var(--c-dark);
  color: var(--c-white);
  padding: var(--section-y-emphasis) 0;
}

.stats-section h2 {
  color: var(--c-white);
  text-align: center;
  margin-bottom: 24px;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-bottom: 20px;
}

.stat-cell {
  flex: 1 1 22%;
  min-width: 140px;
  text-align: center;
  padding: 12px 8px;
  border-left: 1px solid #5a5d63;
}

.stat-cell:first-child {
  border-left: 0;
}

.stat-num {
  display: block;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--c-white);
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--c-bg);
}

.stats-text {
  color: var(--c-white);
  font-size: 14px;
  line-height: 1.45;
  max-width: 960px;
  margin: 20px auto 0;
  padding: 0 20px;
}

@media (max-width: 767px) {
  .stat-cell {
    flex: 1 1 50%;
    border-left: 0;
    border-top: 1px solid #5a5d63;
    padding-top: 20px;
  }
  .stat-cell:nth-child(-n + 2) {
    border-top: 0;
  }
  .stat-cell:nth-child(odd) {
    border-right: 1px solid #5a5d63;
  }
}

/* Этапы + волна */
.process-wrap {
  position: relative;
  margin-top: -1px;
  color: var(--c-dark);
}

.process-wave {
  display: block;
  width: 100%;
  height: 120px;
  color: var(--c-dark);
}

@media (max-width: 921px) {
  .process-wave {
    height: 80px;
  }
}

.process-card {
  display: flex;
  flex-wrap: wrap;
  background: var(--c-white);
  border: 1px solid var(--c-card-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 80px 200px -48px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  margin-bottom: 0;
}

.process-card .process-img {
  flex: 0 0 33.33%;
  min-width: 240px;
}

.process-card .process-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.process-card .process-body {
  flex: 1 1 50%;
  padding: 64px 80px;
}

.process-step {
  display: flex;
  gap: 25px;
  margin-bottom: 24px;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step .icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--c-primary);
}

.process-step p {
  margin: 0;
  font-size: 15px;
}

@media (max-width: 921px) {
  .process-card .process-img {
    flex: 1 1 100%;
  }
  .process-card .process-img img {
    border-radius: var(--radius) var(--radius) 0 0;
    max-height: 360px;
  }
  .process-card .process-body {
    padding: 40px;
  }
}

@media (max-width: 544px) {
  .process-card .process-body {
    padding: 24px;
  }
}

/* Отзывы */
.reviews-section .rating-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}

.stars svg {
  width: 20px;
  height: 20px;
  fill: #fbc04b;
  color: #fbc04b;
}

.stars svg path {
  fill: currentColor;
}

.reviews-sub {
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.reviews-sub h4 {
  margin: 0;
  font-size: 1.25rem;
}

.reviews-sub p {
  margin: 4px 0 0;
  color: var(--c-muted);
  font-size: 15px;
}

.reviews-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 16px;
  margin-top: 24px;
}

.review-card {
  flex: 1 1 calc(33.33% - 20px);
  min-width: 260px;
  max-width: 400px;
  padding: 32px;
  border: 1px solid var(--c-card-border);
  border-radius: 8px;
}

.review-card .quote-icon {
  width: 32px;
  height: 28px;
  color: var(--c-primary);
  opacity: 0.35;
  margin-bottom: 10px;
}

.review-card img {
  width: 100%;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .review-card {
    flex: 1 1 calc(50% - 16px);
  }
}

@media (max-width: 600px) {
  .review-card {
    flex: 1 1 100%;
    max-width: none;
  }
}

/* Облако тегов */
.tags-section {
  background: var(--c-bg);
  padding: var(--section-y) 0;
}

.tags-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px 24px;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.tags-head h2 {
  text-align: left;
  margin: 0;
  flex: 1 1 100%;
  max-width: 100%;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  align-items: center;
  flex: 1 1 100%;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 922px) {
  .tags-head {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 32px;
  }
  .tags-head h2 {
    flex: 0 0 auto;
    max-width: 280px;
    text-align: left;
  }
  .tag-cloud {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
  }
}

.tag-cloud a {
  display: inline-block;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  background: var(--c-primary);
  color: var(--c-white);
  border-radius: 5px;
}

.tag-cloud a:hover {
  background: var(--c-primary-hover);
  color: var(--c-white);
}

.tag-cloud > span {
  display: inline-block;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  background: var(--c-white);
  color: var(--c-muted);
  border: 1px solid var(--c-card-border);
  border-radius: 5px;
}

.cut-section .tags-head {
  display: block;
  text-align: center;
}

.cut-section .tags-head h2 {
  max-width: none;
  text-align: center;
  margin-bottom: 12px;
}

.cut-section .tags-head .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.cut-groups {
  align-items: start;
}

.cut-group .tag-cloud {
  justify-content: flex-start;
}

.faq-section .faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-section .accordion-panel p {
  margin: 16px 0 0;
}

/* CTA синий блок */
.cta-section {
  background: var(--c-primary);
  padding: var(--section-y-emphasis) clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}

.cta-section h2 {
  color: var(--c-white);
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: 0;
  margin-bottom: 12px;
}

.cta-section .sub {
  color: var(--c-white);
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 24px;
}

.cta-section .btn-cta {
  background: var(--c-white);
  color: var(--c-primary);
}

.cta-section .btn-cta:hover {
  background: var(--c-dark);
  color: var(--c-white);
}

@media (max-width: 921px) {
  .cta-section {
    padding: var(--section-y) 24px;
  }
}

/* Подвал */
.site-footer {
  background: var(--c-white);
}

.footer-primary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: var(--section-y) 40px var(--section-y-tight);
  max-width: var(--container);
  margin: 0 auto;
}

.footer-primary strong {
  color: var(--c-dark);
}

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

.footer-menu {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu a {
  color: var(--c-text);
}

.footer-menu a:hover,
.footer-menu a[aria-current='page'] {
  color: var(--c-primary-hover);
}

.footer-contacts {
  max-width: 320px;
}

.footer-below {
  border-top: 1px solid var(--c-card-border);
  padding: 40px;
}

.footer-below-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 24px;
  align-items: center;
}

.footer-logo img {
  width: 164px;
  height: auto;
}

.footer-copy {
  text-align: center;
  font-size: 12px;
  color: var(--c-muted);
}

.footer-copy .footer-legal {
  margin: 10px 0 0;
  font-size: 12px;
}

.footer-copy .footer-legal a {
  color: var(--c-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-copy .footer-legal a:hover {
  color: var(--c-primary-hover);
}

@media (max-width: 921px) {
  .footer-primary {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px 24px;
  }
  .footer-contacts {
    max-width: none;
  }
  .footer-below-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Модальное окно */
.modal1 {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  margin: 0;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.modal1.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal1-dialog {
  width: 100%;
  max-width: 760px;
  margin: 30px auto;
}

.modal1-content {
  background: var(--c-white);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.3rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

.modal1-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid #eceeef;
}

.modal1-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
}

.modal1 .close {
  float: none;
  font-size: 24px;
  line-height: 1;
  opacity: 0.5;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0 4px;
}

.modal1 .close:hover {
  opacity: 0.75;
}

.modal1-body {
  padding: 15px;
}

/* Формы */
.form-stack label {
  display: block;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--c-dark);
}

.form-stack input[type='text'],
.form-stack input[type='email'],
.form-stack input[type='tel'],
.form-stack input[type='file'],
.form-stack select,
.form-stack textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font: inherit;
}

.form-stack input[type='file'] {
  padding: 9px 10px;
  background: var(--c-white);
}

.form-stack select {
  background: var(--c-white);
}

.form-stack textarea {
  min-height: 140px;
  resize: vertical;
}

.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus {
  outline: none;
  border-color: var(--c-primary);
}

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

.scenario-switch {
  margin: 4px 0 18px;
  padding: 16px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
}

.scenario-switch legend {
  padding: 0 8px;
  font-weight: 600;
  color: var(--c-dark);
}

.scenario-switch label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 18px 0 0;
  cursor: pointer;
}

.scenario-switch input {
  margin: 0;
}

.scenario-panel {
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid #e4e8ec;
  border-radius: 8px;
  background: #fafbfc;
}

.form-note {
  margin-top: -2px;
  color: var(--c-muted);
  font-size: 14px;
}

.form-stack .submit-row {
  margin-top: 8px;
}

.form-stack input[type='submit'] {
  padding: 14px 28px;
  background: var(--c-primary);
  color: var(--c-white);
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.form-stack input[type='submit']:hover {
  background: var(--c-primary-hover);
}

form.is-submitting input[type='submit'] {
  opacity: 0.7;
  pointer-events: none;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .scenario-switch label {
    display: flex;
    margin-right: 0;
  }
}

.form-response {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 14px;
}

.form-response.is-success {
  border: 2px solid #46b450;
  background: #f6fff7;
}

.form-response.is-error {
  border: 2px solid #dc3232;
  background: #fff6f6;
}

.form-response[hidden] {
  display: none;
}

/* Страница контактов */
.contact-hero {
  padding-top: calc(126px + var(--hero-gap-under-header));
  padding-bottom: var(--section-y-tight);
  background: linear-gradient(180deg, var(--c-bg) 88%, var(--c-white) 88%);
}

.contact-hero h1 {
  text-align: left;
  margin-bottom: 40px;
}

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 0;
}

.contact-card {
  flex: 1 1 240px;
  max-width: 320px;
  padding: 40px;
  background: var(--c-white);
  border: 1px solid var(--c-card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.contact-card:hover {
  border-color: rgba(1, 112, 185, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-card .icon {
  width: 28px;
  height: 28px;
  color: var(--c-primary);
  margin-bottom: 12px;
}

.contact-card h4 {
  margin-bottom: 16px;
}

.contact-card .btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--c-primary);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: inherit;
}

.contact-card .btn-link:hover {
  color: var(--c-dark);
}

.contact-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}

.contact-info-box {
  flex: 1 1 240px;
  max-width: 340px;
  padding: 40px;
  background: var(--c-white);
  border: 1px solid var(--c-card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-info-box:hover {
  border-color: rgba(1, 112, 185, 0.35);
  box-shadow: var(--shadow-md);
}

.contact-info-box .icon {
  width: 28px;
  height: 28px;
  color: var(--c-primary);
  margin-bottom: 12px;
}

.contact-info-box h4 {
  margin-bottom: 8px;
}

.admin-block {
  padding: var(--section-y) 0;
}

.admin-block h2 {
  text-align: left;
  margin-bottom: 8px;
}

.contact-hero-commercial {
  background: var(--c-bg);
}

.contact-hero-inner .breadcrumbs {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.contact-hero-copy {
  min-width: 0;
}

.contact-hero-lead {
  max-width: 760px;
  color: var(--c-muted);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.contact-hero-panel {
  min-width: 0;
  align-self: stretch;
  padding: clamp(24px, 3vw, 36px);
  background: var(--c-white);
  border: 1px solid var(--c-card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-hero-panel p {
  margin-bottom: 14px;
}

.contact-hero-panel p:last-child {
  margin-bottom: 0;
}

.contact-hero-panel a,
.contact-info-box a {
  overflow-wrap: anywhere;
}

.contact-section-lead {
  margin: 0 auto clamp(1.75rem, 3vw, 2.25rem);
  text-align: center;
}

.contact-info-row-wide .contact-info-box {
  max-width: 280px;
}

.contact-info-box h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  overflow-wrap: anywhere;
}

.contact-how-section,
.contact-trust-section {
  background: var(--c-bg);
}

.contact-step-card {
  position: relative;
}

.contact-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  color: var(--c-white);
  font-weight: 700;
  background: var(--c-primary);
  border-radius: 50%;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-primary);
  font-weight: 700;
}

.btn-link:hover {
  color: var(--c-primary-hover);
}

.contact-map-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.contact-map-copy h2 {
  text-align: left;
}

.contact-map-copy h2::after {
  margin-left: 0;
}

.contact-map-frame {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--c-card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: var(--c-bg2);
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.contact-form-section .contact-form-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.contact-form-section .form-shell {
  max-width: none;
  margin: 0;
}

.contact-form-intro {
  min-width: 0;
  padding-top: 8px;
}

.contact-form-intro h2 {
  text-align: left;
}

.contact-form-intro h2::after {
  margin-left: 0;
}

.contact-form-phone {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--c-dark);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 700;
}

.contact-form-phone:hover {
  color: var(--c-primary-hover);
}

.contact-form-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-form-points li {
  padding: 12px 14px;
  background: var(--c-white);
  border: 1px solid var(--c-card-border);
  border-radius: 8px;
}

.contact-trust-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.contact-trust-media img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.contact-trust-copy h2 {
  text-align: left;
}

.contact-trust-copy h2::after {
  margin-left: 0;
}

.contact-trust-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.contact-trust-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--c-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  background: var(--c-white);
  border: 1px solid rgba(1, 112, 185, 0.18);
  border-radius: 8px;
}

.contact-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.contact-link-card {
  padding: 20px;
  color: var(--c-dark);
  font-weight: 700;
  text-align: center;
}

.contact-link-card:hover {
  color: var(--c-primary-hover);
  border-color: rgba(1, 112, 185, 0.35);
  box-shadow: var(--shadow-md);
}

@media (max-width: 921px) {
  .contact-hero {
    padding-top: calc(108px + var(--hero-gap-under-header));
  }
  .contact-hero h1 {
    text-align: center;
    padding: 0 40px;
  }
  .contact-cards {
    gap: 16px;
  }
  .contact-card {
    margin: 0 8px;
  }
  .contact-hero-grid,
  .contact-map-layout,
  .contact-form-section .contact-form-layout,
  .contact-trust-layout {
    grid-template-columns: 1fr;
  }
  .contact-hero-copy {
    text-align: center;
  }
  .contact-map-copy h2,
  .contact-form-intro h2,
  .contact-trust-copy h2 {
    text-align: center;
  }
  .contact-map-copy h2::after,
  .contact-form-intro h2::after,
  .contact-trust-copy h2::after {
    margin-left: auto;
  }
  .contact-form-intro {
    text-align: center;
  }
  .contact-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .contact-card,
  .contact-info-box {
    flex: 1 1 100%;
    max-width: none;
    margin: 0;
  }
  .contact-info-row-wide .contact-info-box {
    max-width: none;
  }
}

@media (max-width: 544px) {
  .header-mobile-strip-inner {
    align-items: flex-start;
  }
  .header-mobile-address,
  .header-mobile-phone {
    flex: 1 1 100%;
    min-width: 0;
  }
  .header-mobile-phone {
    white-space: normal;
  }
  .contact-hero {
    padding-top: calc(118px + var(--hero-gap-under-header));
  }
  .contact-hero h1 {
    padding: 0;
  }
  .contact-hero .hero-actions {
    align-items: stretch;
  }
  .contact-hero .hero-actions .btn,
  .contact-hero .hero-actions .hero-phone {
    width: 100%;
    justify-content: center;
  }
  .contact-map-frame,
  .contact-map-frame iframe {
    min-height: 340px;
    height: 340px;
  }
  .contact-link-grid {
    grid-template-columns: 1fr;
  }
}

/* Политика конфиденциальности */
.legal-page-wrap {
  padding: clamp(1.5rem, 4vw, 2rem) 0 var(--section-y);
  background: var(--c-bg);
}

.legal-article {
  max-width: 840px;
  margin: 0 auto;
  padding: 40px 40px 48px;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-card-border);
}

.legal-article h1 {
  margin-bottom: 0.5em;
}

.legal-article h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  margin-top: 1.75em;
  margin-bottom: 0.65em;
  text-align: left;
}

.legal-article h2:first-of-type {
  margin-top: 1.25em;
}

.legal-article ul {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.legal-article li {
  margin-bottom: 0.4em;
}

.legal-back {
  margin-top: 2em;
  padding-top: 1.5em;
  border-top: 1px solid var(--c-border);
}

@media (max-width: 544px) {
  .legal-article {
    padding: 28px 20px 36px;
    border-radius: var(--radius);
    margin-left: 0;
    margin-right: 0;
  }
}
