:root {
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-studio: #F4F7FA;

  --text-main: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;

  --accent: #0284C7;
  --accent-hover: #0369A1;
  --accent-soft: #E0F2FE;
  --accent-softer: #F0F9FF;

  --teal: #0F766E;
  --teal-soft: #CCFBF1;
  --indigo: #1D4ED8;
  --indigo-soft: #DBEAFE;
  --green: #047857;
  --green-soft: #ECFDF5;
  --danger: #B91C1C;
  --danger-soft: #FEF2F2;

  --border: #E2E8F0;
  --border-strong: #CBD5E1;

  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 12px 28px rgba(15, 23, 42, 0.08);
  --shadow-modal: 0 24px 60px rgba(15, 23, 42, 0.22);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --container: 1240px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-main);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

[hidden],
.is-hidden {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

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

/* ================= КНОПКИ ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 13px 22px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
  white-space: normal;
}

.btn-primary {
  background-color: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.22);
}

.btn-outline {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: var(--accent-softer);
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  text-decoration: underline;
  font-weight: 500;
}

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

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  transition: all var(--transition);
}

.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: var(--accent-softer);
}

/* ================= ШАПКА ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.brand-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-contact-link,
.header-phone {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  transition: color var(--transition);
}

.header-contact-link {
  color: var(--text-secondary);
  font-weight: 500;
}

.header-contact-link:hover,
.header-phone:hover {
  color: var(--accent);
}

.header-messengers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4.5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-surface);
}

.burger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-main);
  border-radius: 2px;
}

.mobile-nav {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 14px 0 18px;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-inner > a {
  padding: 8px 4px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--bg-subtle);
}

.mobile-nav-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* ================= HERO ================= */
.hero {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FC 100%);
  border-bottom: 1px solid var(--border);
  padding: 46px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 38px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

.hero-lead {
  margin: 0 0 24px;
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

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

.fact-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 15px;
  box-shadow: var(--shadow-sm);
}

.fact-card strong {
  display: block;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 2px;
}

.fact-card span {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

.hero-image-wrap {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 10px;
  box-shadow: var(--shadow-card);
}

.hero-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--bg-studio);
}

.hero-check-panel {
  margin-top: 12px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.check-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.check-panel-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

.check-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-soft);
  padding: 3px 9px;
  border-radius: 999px;
}

.check-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.check-panel-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  padding-top: 6px;
  border-top: 1px dashed var(--border);
}

.check-panel-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.check-panel-list strong {
  color: var(--text-main);
  font-weight: 600;
  white-space: nowrap;
}

/* ================= СЕКЦИИ ================= */
.section {
  padding: 64px 0;
}

.section-alt {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 28px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 6px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 0;
  max-width: 740px;
  color: var(--text-secondary);
  font-size: 15.5px;
}

/* ================= ФИЛЬТРЫ КАТАЛОГА ================= */
.filter-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: flex-end;
}

.filter-row-secondary {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--bg-subtle);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.filter-group-search {
  flex: 1 1 250px;
  min-width: 220px;
}

.filter-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: var(--radius-sm);
  gap: 4px;
}

.seg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  transition: all var(--transition);
}

.seg-btn:hover {
  color: var(--text-main);
}

.seg-btn.is-active {
  background: var(--bg-surface);
  color: var(--accent-hover);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--bg-subtle);
  font-size: 11.5px;
  color: var(--text-secondary);
}

.seg-btn.is-active .count-pill {
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-muted);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.search-box input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--text-main);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition);
}

.chip-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.chip-btn.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-hover);
  font-weight: 600;
}

.filter-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--bg-subtle);
}

.filter-count {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.reset-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 11px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.reset-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ================= КАРТОЧКИ КАТАЛОГА ================= */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
}

.card-media {
  position: relative;
  background: var(--bg-studio);
  border-bottom: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-badges-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.2;
}

.badge-new {
  background: var(--teal-soft);
  color: var(--teal);
}

.badge-used {
  background: var(--indigo-soft);
  color: var(--indigo);
}

.badge-both {
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.badge-brand {
  background: var(--bg-subtle);
  color: var(--text-secondary);
}

.badge-ru {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid rgba(4, 120, 87, 0.16);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px;
}

.card-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.card-cat-tag {
  color: var(--accent-hover);
  background: var(--accent-softer);
  padding: 2px 7px;
  border-radius: 4px;
}

.card-title {
  margin: 0 0 10px;
  font-size: 17.5px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-main);
}

.card-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  border: 1px solid var(--bg-subtle);
  margin-bottom: 12px;
}

.spec-item {
  min-width: 0;
}

.spec-item span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.spec-item strong {
  display: block;
  font-size: 13px;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.3;
}

.card-title a {
  color: inherit;
  transition: color var(--transition);
}

.card-title a:hover {
  color: var(--accent);
}

.spec-item-wide {
  grid-column: 1 / -1;
}

.spec-item-wide strong {
  white-space: normal;
}

.card-desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.48;
  flex: 1;
}

.card-price-hint {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-hover);
  margin: 0 0 12px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.empty-state {
  text-align: center;
  background: var(--bg-surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
}

.empty-state h3 {
  margin: 0 0 8px;
}

.empty-state p {
  margin: 0 0 18px;
  color: var(--text-secondary);
}

.empty-state-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ================= ФОРМАТЫ ПОСТАВКИ ================= */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.format-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.format-card-featured {
  background: var(--bg-surface);
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
}

.format-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.format-term {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.format-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.3;
}

.format-lead {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

.format-list {
  margin: 0 0 20px;
  padding: 0 0 0 18px;
  display: grid;
  gap: 9px;
  font-size: 14px;
  color: var(--text-secondary);
  flex: 1;
}

.format-foot {
  margin-top: auto;
}

/* ================= ЭТАПЫ ПОД КЛЮЧ ================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
}

.step-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.turnkey-extra {
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--accent-softer);
  border: 1px solid #BAE6FD;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.extra-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 820px;
}

.extra-text strong {
  font-size: 15px;
  color: var(--text-main);
}

.extra-text span {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ================= КОНФИГУРАТОР ЗАЯВКИ ================= */
.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}

.request-lead {
  margin: 0 0 22px;
  font-size: 15.5px;
  color: var(--text-secondary);
}

.request-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.request-benefits li {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.request-benefits strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 3px;
}

.request-benefits span {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.request-info,
.request-card,
.lead-form,
.product-gallery-card,
.product-info-card,
.hero-content,
.hero-visual {
  min-width: 0;
  max-width: 100%;
}

.request-card {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

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

.field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"],
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  font-size: 14px;
  color: var(--text-main);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14);
}

.input-readonly {
  background: var(--bg-subtle) !important;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.channel-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radio-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-pill span {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.radio-pill input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-weight: 600;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 16px 0;
  font-size: 12.5px;
  color: var(--text-secondary);
  cursor: pointer;
}

.consent-check input {
  margin-top: 2px;
  flex-shrink: 0;
}

.form-error {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--danger-soft);
  border: 1px solid #FECACA;
  color: var(--danger);
  font-size: 13.5px;
  font-weight: 500;
}

.form-result {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.result-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.result-status-ok {
  background: var(--green-soft);
  color: var(--green);
}

.result-status-fallback {
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.form-result h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.form-result p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-secondary);
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.result-preview {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--text-secondary);
  white-space: pre-wrap;
  margin: 0 0 12px;
}

/* ================= КОНТАКТЫ И ФУТЕР ================= */
.site-footer {
  background: #0F172A;
  color: #E2E8F0;
  padding: 52px 0 32px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.brand-footer .brand-name {
  color: #FFFFFF;
}

.brand-footer .brand-sub {
  color: #94A3B8;
}

.footer-note {
  margin: 14px 0 4px;
  font-size: 14px;
  color: #CBD5E1;
}

.footer-hours {
  margin: 0;
  font-size: 13px;
  color: #94A3B8;
}

.contact-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: border-color var(--transition), background-color var(--transition);
}

a.contact-tile:hover {
  border-color: #38BDF8;
  background: rgba(56, 189, 248, 0.09);
}

.tile-label {
  font-size: 12px;
  color: #94A3B8;
}

.tile-value {
  font-size: 16.5px;
  color: #FFFFFF;
  word-break: break-word;
}

.tile-hint {
  font-size: 12.5px;
  color: #7DD3FC;
}

.tile-messenger-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #FFFFFF;
}

.site-footer .btn-outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.legal-disclaimer {
  margin: 0;
  max-width: 820px;
  font-size: 12px;
  line-height: 1.5;
  color: #94A3B8;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #CBD5E1;
}

.footer-links .link-btn {
  color: #7DD3FC;
  font-size: 13px;
}

/* ================= МОДАЛЬНЫЕ ОКНА ================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-modal);
}

.modal-lg {
  max-width: 940px;
}

.modal-md {
  max-width: 580px;
}

.modal-close {
  position: sticky;
  float: right;
  top: 0;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1;
}

.modal-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.modal-subtitle {
  margin: 6px 0 18px;
  font-size: 14px;
  color: var(--text-secondary);
}

.detail-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.detail-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-studio);
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.detail-price-hint {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--accent-softer);
  color: var(--accent-hover);
  font-size: 13.5px;
  font-weight: 700;
}

.detail-brand {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.detail-body h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.25;
}

.detail-desc {
  margin: 0 0 16px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-size: 13.5px;
}

.specs-table th,
.specs-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.specs-table th {
  width: 40%;
  font-weight: 600;
  color: var(--text-muted);
}

.specs-table td {
  font-weight: 600;
  color: var(--text-main);
}

.detail-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.detail-lists h4 {
  margin: 0 0 7px;
  font-size: 13.5px;
  color: var(--text-main);
}

.detail-lists ul {
  margin: 0;
  padding-left: 17px;
  font-size: 13px;
  color: var(--text-secondary);
  display: grid;
  gap: 5px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.privacy-body {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.privacy-body a {
  color: var(--accent);
  text-decoration: underline;
}

/* ================= ПРЯМАЯ СВЯЗЬ И ПОДСТРАНИЦЫ ================= */
.hero-direct-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 24px;
  padding: 12px 15px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  color: var(--text-secondary);
}

.hero-direct-line a {
  font-weight: 700;
  color: var(--accent-hover);
  white-space: nowrap;
}

.hero-direct-line a:hover {
  text-decoration: underline;
}

.copy-inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: var(--bg-page);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  transition: all var(--transition);
}

.copy-inline-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-softer);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: var(--text-secondary);
  font-weight: 500;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.subpage-hero {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FC 100%);
  border-bottom: 1px solid var(--border);
  padding: 32px 0 38px;
}

.subpage-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.1vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.subpage-lead {
  margin: 0 0 20px;
  max-width: 780px;
  font-size: 16px;
  color: var(--text-secondary);
}

.direct-contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.direct-contact-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.direct-contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.direct-contact-item span {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.direct-contact-item a {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.direct-contact-item a:hover {
  color: var(--accent);
}

.direct-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.comparison-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: var(--bg-page);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td a {
  font-weight: 700;
  color: var(--accent-hover);
}

.comparison-table td a:hover {
  text-decoration: underline;
}

.product-detail-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
}

.product-gallery-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.product-gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--bg-studio);
  border: 1px solid var(--border);
}

.product-quick-box {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-page);
  border: 1px solid var(--border);
}

.product-quick-box h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.product-quick-links {
  display: grid;
  gap: 8px;
}

.product-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.product-info-card h1 {
  margin: 4px 0 12px;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.2;
}

.product-finance-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--accent-softer);
  border: 1px solid #BAE6FD;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.product-finance-note strong {
  color: var(--text-main);
}

.crosslink-banner {
  margin-top: 26px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* ================= FAQ ================= */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 960px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--accent);
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--accent-hover);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
  background: var(--accent-soft);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.faq-answer p {
  margin: 0;
}

/* ================= МОБИЛЬНАЯ НИЖНЯЯ ПАНЕЛЬ ================= */
.mobile-sticky-bar {
  display: none;
}

/* ================= АДАПТИВНОСТЬ ================= */
@media (max-width: 1180px) {
  .header-email {
    display: none;
  }

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

@media (max-width: 1024px) {
  .main-nav,
  .header-phone {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .hero-grid,
  .request-layout,
  .detail-layout,
  .product-detail-page {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

@media (max-width: 768px) {
  .mobile-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 220;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-strong);
    box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.08);
  }

  .site-footer {
    padding-bottom: 84px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 46px 0;
  }

  .hero {
    padding: 32px 0 38px;
  }

  .header-messengers,
  .header-actions > .btn-primary {
    display: none;
  }

  .btn {
    white-space: normal;
  }

  .hero-facts,
  .catalog-grid,
  .formats-grid,
  .steps-grid,
  .form-grid,
  .detail-lists,
  .contacts-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .request-card,
  .product-info-card,
  .modal-dialog {
    padding: 20px 16px;
  }
}
