/* ====== HEADER ====== */
body {
  font-family: "Montserrat", sans-serif;
}
p {
  font-size: 14px;
  line-height: 1.7;
  color: #6c769a;
}
h3 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.4;
  color: #172c5c;
}
h4 {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.7;
  color: #2b2a29;
}
.site-header {
  z-index: 20;
  color: #fff;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo-icon {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  margin-right: 10px;
}

/* заглушки под SVG */
.header-btn,
.burger {
  background: none;
  border: none;
  padding: 0;
}

.burger img {
  width: 32px;
  height: 32px;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  opacity: 1;
}

.main-nav a:hover {
  opacity: 0.85;
}

/* ====== HERO ====== */

.hero-section {
  position: relative;
  min-height: 100vh;
  background: url("../img/hero/hero-bg.jpg") center / cover no-repeat;
  color: #fff;
  padding-top: 120px; /* вместо align-items-center */
  padding-bottom: 120px;
}

.hero-content {
  min-height: calc(100vh - 240px); /* hero минус padding */
  display: flex;
  align-items: center; /* ВОТ ТУТ центр */
}

.hero-content > div {
  transform: translateY(-40px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  margin-bottom: 20px;
  font-style: normal;
  font-weight: 900;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  margin-bottom: 20px;
  font-style: normal;
  font-weight: 900;
  font-size: 50px;
  line-height: 120%;
  letter-spacing: 0.05em;
}

.hero-subtitle {
  font-size: 16px;
  margin-bottom: 30px;
}

/* ====== HERO BUTTON ====== */

.btn-hero {
  display: flex;
  align-items: center;

  width: 100%;
  max-width: 210px; /* как в макете */
  height: 50px;

  padding-left: 15px;
  padding-right: 15px;

  background: #1099fd;
  border-radius: 999px;

  color: #fff;
  text-decoration: none;

  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 12px;
}

@media (max-width: 767px) {
  .btn-hero {
    width: 100%;
    max-width: 300px; /* как в макете */
    margin: 0 auto;
  }
}

/* текст — строго слева */
.btn-text {
  flex: 1;
}

/* зона стрелки */
.btn-icon {
  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.17); /* ← 17% как в макете */
}

/* сама стрелка */
.btn-icon img {
  width: 18px;
  height: 18px;
}

/* hover — очень аккуратно */
.btn-hero:hover {
  filter: brightness(1.05);
}

/* ====== MOBILE ====== */

@media (max-width: 767px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 14px;
  }
}
/* ====== HEADER ACTIONS ====== */

.main-nav a {
  font-weight: 500;
}

/* кнопка */
.header-action {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 10px 18px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);

  color: #fff;
  cursor: pointer;
}

/* иконка */
.action-icon {
  width: 22px;
  height: 22px;
  opacity: 0.9;
}

/* текстовый блок */
.action-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

/* основной текст */
.action-title {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

/* подзаголовок — opacity 50% */
.action-subtitle {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.5;
  margin-top: 4px;
  white-space: nowrap;
}

/* hover — очень мягкий */
.header-action:hover {
  background: rgba(255, 255, 255, 0.1);
}
@media (max-width: 767px) {
  .hero-content {
    min-height: auto;
    justify-content: center;
    text-align: center;
  }

  .hero-content > div {
    transform: none; /* ❗️убираем desktop-смещение */
    margin: 0 auto;
  }

  .hero-tag {
    margin-left: auto;
    margin-right: auto;
  }
  .site-header {
    padding-top: 0;
    padding-bottom: 0;
  }
}
:root {
  --px-blue: #1199fd;
  --px-blue2: #2b8cff;
  --px-navy: #172c5c;
  --px-muted: #6c769a;
  --px-line: #d9e7ff;
  --px-panel: #f7fbff;
}

/* ===== Block #2: Audience (overlap on Hero) ===== */

/* Внешняя обёртка — управляет наездом */
.audience-wrap {
  position: relative;
  z-index: 10;
  margin-top: -92px; /* наезд на hero */
}

/* Внутренняя карточка — как container */
.audience-section {
  background: #fff;
  border-radius: 56px 56px 0 0;
  padding: 56px 0;
}

.audience-head {
  margin-bottom: 22px;
}

.audience-title {
  margin: 0;
  font-weight: 700;
  color: var(--px-navy);
  font-size: 30px;
  letter-spacing: 0.02em;
}

.audience-subtitle {
  margin-top: 8px;
  font-weight: 400;
  color: var(--px-muted);
  font-size: 14px;
}

/* Filters bar */
.audience-filters {
  background: #ffffff;
  border: 1px solid #eef3ff;
  border-radius: 32px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.address-field {
  flex: 1 1 320px;
  height: 50px;
  background: #fff;
  border: 1px solid #e8edf9;
  border-radius: 32px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.addr-ic {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(24, 49, 83, 0.2); /* заглушка под pin */
}

.address-field input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  color: #000000;
}

.address-field input::placeholder {
  font-weight: 400;
  color: #b1b7cd;
}

.btn-mini-map {
  border: 0;
  background: #e7f5ff;
  color: var(--px-blue);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.filters-pills {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-pill {
  height: 46px;
  min-width: 130px;
  background: #fff;
  border: 1px solid var(--px-line);
  border-radius: 999px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pill-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.pill-label {
  font-size: 10px;
  font-weight: 500;
  color: rgba(125, 138, 166, 0.75);
}

.pill-value {
  font-size: 12px;
  font-weight: 700;
  color: var(--px-navy);
}

.pill-caret {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(125, 138, 166, 0.7);
  border-bottom: 2px solid rgba(125, 138, 166, 0.7);
  transform: rotate(45deg);
}

.data-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
}

.data-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.data-label {
  font-size: 12px;
  font-weight: 500;
  color: #aaaaaa;
}

.data-value {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #000000;
}

.btn-apply {
  height: 60px;
  padding: 0 64px;
  border: 0;
  border-radius: 999px;
  background: var(--px-blue);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

/* Workspace */
.audience-workspace {
  margin-top: 18px;
  position: relative;
  height: 560px;
  border-radius: 28px;
  border: 1px solid var(--px-line);
  background: #dbe9ff;
}

.map-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(219, 233, 255, 0.95),
    rgba(219, 233, 255, 0.95)
  );
}

/* Chips on map */
.map-chips {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.chip {
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(30, 144, 255, 0.25);
  background: rgba(255, 255, 255, 0.9);
  color: var(--px-blue);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.chip.active {
  background: var(--px-blue);
  border-color: var(--px-blue);
  color: #fff;
}

/* Radius control */
.map-radius {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.radius-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(24, 49, 83, 0.6);
}

.radius-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(30, 144, 255, 0.1);
}

.rbtn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-weight: 800;
  color: rgba(24, 49, 83, 0.7);
}

.rval {
  font-weight: 700;
  font-size: 12px;
  color: rgba(24, 49, 83, 0.75);
}

/* Left panel (desktop) */
.screens-panel {
  position: absolute;
  top: 16px;
  left: 16px;
  bottom: 16px;
  width: 420px;
  height: 640px;
  z-index: 4;
  padding-right: 10px;
  border: 1px solid rgba(217, 231, 255, 0.95);
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;

  display: flex;
  flex-direction: column;
}

.screens-head {
  padding: 16px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(217, 231, 255, 0.9);
}

.screens-title {
  font-weight: 800;
  color: rgba(24, 49, 83, 0.9);
  font-size: 14px;
}

.screens-collapse {
  border: 0;
  background: transparent;
  color: rgba(24, 49, 83, 0.55);
  font-weight: 600;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.collapse-ic {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(24, 49, 83, 0.35);
  border-bottom: 2px solid rgba(24, 49, 83, 0.35);
  transform: rotate(225deg);
}

.screens-list {
  padding: 14px;
  overflow-y: auto;
  overflow-x: hidden !important;
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #1e90ff #e8edf9;
}

/* Chrome / Edge / Safari */
.screens-list::-webkit-scrollbar {
  width: 4px;
}

.screens-list::-webkit-scrollbar-track {
  background: rgba(232, 237, 249, 0.6);
  border-radius: 999px;
}

.screens-list::-webkit-scrollbar-thumb {
  background: #1e90ff;
  border-radius: 999px;
}

.screens-list::-webkit-scrollbar-thumb:hover {
  background: #1677e6;
}

.screen-item {
  position: relative;
  background: #fff;
  border-bottom: 1px solid rgba(217, 231, 255, 0.85);
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.screen-thumb {
  width: 115px;
}
.screen-thumb.alt {
  width: 115px;
}

.screen-thumb img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
.screen-thumb img,
.screen-thumb.alt img {
  border-radius: 12px;
}

.fav-btn {
  position: absolute;
  right: 10px;
  top: -5px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: transparent; /* placeholder */
}

.screen-topline {
  font-size: 12px;
  font-weight: 500;
  color: rgba(125, 138, 166, 0.85);
}

.screen-name {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(24, 49, 83, 0.92);
}

.screen-meta {
  margin-top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.meta-pill {
  font-size: 13px;
  font-weight: 500;
  color: rgba(24, 49, 83, 0.75);
  background: #f5f7ff;
  border-radius: 999px;
  padding: 4px 8px;
}

.screen-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-add {
  border: 1px solid rgba(30, 144, 255, 0.25);
  background: #fff;
  color: var(--px-blue);
  font-weight: 700;
  font-size: 12px;
  border-radius: 999px;
  padding: 6px 10px;
}

.link-more {
  font-weight: 700;
  font-size: 12px;
  color: var(--px-blue);
  text-decoration: none;
}

.added {
  font-weight: 800;
  font-size: 11px;
  color: var(--px-blue);
  background: #e7f5ff;
  font-weight: 700;
  font-size: 12px;
  border-radius: 999px;
  padding: 6px 10px;
}

/* Mobile button on map */
.map-list-toggle {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 4;

  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(217, 231, 255, 0.95);
  background: rgba(255, 255, 255, 0.92);

  display: flex;
  align-items: center;
  gap: 10px;

  font-weight: 800;
  font-size: 12px;
  color: rgba(24, 49, 83, 0.85);
}

.list-ic {
  width: 14px;
  height: 10px;
  background: rgba(24, 49, 83, 0.25); /* placeholder под иконку */
  border-radius: 4px;
}

/* Result cards */
.result-card {
  background: #ffffff;
  border: 1px solid rgba(217, 231, 255, 0.95);
  border-radius: 22px;
}

.result-card--overlay {
  position: absolute;
  left: 452px; /* справа от списка */
  right: 16px;
  bottom: -100px;
  z-index: 4;
  padding: 16px 18px;
}

.result-card--below {
  margin-top: 16px;
  padding: 16px 18px;
}

.result-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 10px;
}

.result-title {
  font-weight: 800;
  color: #2b2a29;
  font-size: 16px;
}

.result-sub {
  font-size: 12px;
  font-weight: 500;
  color: #aaaaaa;
}

.result-periods {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.period {
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #e7f5ff;
  background: transparent;
  color: var(--px-blue);
  font-weight: 700;
  font-size: 12px;
}

.period.active {
  background: #e7f5ff;
  border: 0;
}

.result-bottom {
  margin-top: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.result-stats {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.stat {
  min-width: 130px;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: #aaaaaa;
}

.stat-val {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #2b2a29;
}

/* Media button (same pattern as your hero button) */
.btn-media {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 235px;
  height: 50px;
  padding-left: 15px;
  padding-right: 15px;
  background: #1099fd;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 12px;
}

.btn-media .btn-text {
  flex: 1;
}

.btn-media .btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.17);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-media .btn-icon img {
  width: 16px;
  height: 16px;
}

/* ===== Responsive (mobile) ===== */
@media (max-width: 767px) {
  .audience-wrap {
    margin-top: -44px;
  }

  .audience-wrap .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .audience-section {
    border-radius: 44px 44px 0 0;
    padding: 40px 16px 32px;
  }

  .audience-title {
    font-size: 28px;
  }

  .audience-filters {
    padding: 16px;
    gap: 12px;
  }

  .address-field {
    flex: 1 1 auto;
    height: 48px;
  }

  .filters-pills {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .filter-pill {
    min-width: 0;
  }

  .data-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0;
  }

  .btn-apply {
    width: 100%;
    height: 56px;
    font-size: 14px;
  }

  .audience-workspace {
    height: 440px;
    border-radius: 24px;
  }

  .map-chips {
    left: 16px;
    transform: none;
    overflow-x: auto;
    padding-bottom: 4px;
    max-width: calc(100% - 32px);
    -webkit-overflow-scrolling: touch;
  }
}
/* ===== Select pills (dropdowns) ===== */

.select-pill {
  position: relative;
  min-width: 140px;
  border: 1px solid #e8edf9;
  border-radius: 32px;
  background: #fff;
  padding: 9px 18px;
  cursor: pointer;
}

.select-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.select-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

/* label */
.select-label {
  font-size: 12px;
  font-weight: 500;
  color: #aaaaaa;
}

/* value */
.select-value {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #000000;
}

/* arrow */
.select-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid #aaaaaa;
  border-bottom: 2px solid #aaaaaa;
  transform: rotate(45deg);
  margin-right: 6px;
}

/* dropdown */
.select-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);

  background: #fff;
  border: 1px solid #e8edf9;
  border-radius: 20px;
  padding: 6px 0;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  display: none;
  z-index: 10;
}

.select-option {
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 700;
  color: #000;
  cursor: pointer;
}

.select-option:hover {
  background: #f5f8ff;
}
/* ===== SWITCH ===== */

.switch {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 20px;
}

/* скрываем чекбокс */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* поле (track) */
.slider {
  position: absolute;
  inset: 0;
  background: #ffffff; /* ❌ default — белое */
  border-radius: 999px;
  border: 2px solid #e8edf9;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

/* ползунок (thumb) */
.slider::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  left: 1px;
  top: 50%;
  transform: translateY(-50%);
  background: #4da3ff; /* ❌ default — синий */
  border-radius: 50%;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

/* ===== ВКЛЮЧЕНО ===== */
.switch input:checked + .slider {
  background: #4da3ff; /* ✅ поле синее */
  border-color: #4da3ff;
}

.switch input:checked + .slider::before {
  transform: translate(15px, -50%);
  background: #ffffff; /* ✅ ползунок белый */
}
#yamap {
  width: 100%;
  height: 100%;
}
.postex-block {
  background: #fff;
}

/* Typography close to screenshot */
.postex-h2 {
  font-weight: 700;
  font-size: 30px;
  line-height: 1.25;
  color: #6c769a;
  letter-spacing: 0.01em;
}

.postex-lead {
  font-size: 12px;
  font-weight: 600;
  color: rgba(108, 118, 154, 0.9);
}

.postex-h3 {
  font-weight: 800;
  font-size: 16px;
  color: #6c769a;
}

.postex-h4 {
  font-weight: 700;
  font-size: 14px;
  color: #6c769a;
}

.postex-p {
  font-size: 14px;
  line-height: 1.7;
  color: #6c769a;
}

/* pills with X */
.postex-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #eef3ff;
  box-shadow: 0px 15px 15px rgba(23, 44, 92, 0.02);
  border-radius: 18px;
  padding: 15px;
  background: #fff;
}

.pill-text {
  font-size: 14px;
  font-weight: 700;
  color: #6c769a;
}

/* lists */
.postex-ul,
.postex-ol,
.postex-miniul,
.postex-check {
  margin: 0;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(108, 118, 154, 0.9);
}

.postex-ul li,
.postex-ol li,
.postex-miniul li,
.postex-check li {
  margin-bottom: 4px;
}

/* blue check like in screenshot */
.postex-check {
  list-style: none;
  padding-left: 0;
}

.postex-check li {
  position: relative;
  padding-left: 18px;
}

.postex-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #1099fd;
  font-weight: 900;
}

/* flexible settings line */
.postex-flex-item {
  font-size: 11px;
  line-height: 1.6;
  color: rgba(108, 118, 154, 0.9);
}

/* mobile */
@media (max-width: 767px) {
  .postex-h2 {
    font-size: 18px;
  }
  .postex-pill {
    height: auto;
    padding: 12px 14px;
  }
}
/* =========================
   SUBSCRIBE SECTION (POSTEX)
   ========================= */

.subscribe-section {
  padding: 48px 0;
}

.subscribe-card {
  position: relative;
  overflow: hidden;

  border-radius: 44px;
  padding: 44px 44px;

  background: linear-gradient(90deg, #0f93ff 0%, #0a7fff 100%);
  color: #fff;
}

/* декоративные «геометрические» формы слева как на макете */
.subscribe-card::before {
  content: "";
  position: absolute;

  left: 0px;
  top: -30px;

  width: 230px;
  height: 230px;

  background: url("../img/send.svg") no-repeat center / contain;
  pointer-events: none;
}

.subscribe-card::after {
  left: -70px;
  top: 40px;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(10% 10%, 60% 15%, 35% 60%, 0% 45%);
  transform: rotate(10deg);
}

.subscribe-title {
  font-weight: 700;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}

.subscribe-form {
  position: relative;
  z-index: 1;
}

.subscribe-controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.subscribe-input {
  flex: 1;
  height: 46px;

  padding: 0 18px;
  border: 0;
  outline: 0;
  border-radius: 999px;

  background: #ffffff;
  color: #172c5c;

  font-weight: 600;
  font-size: 14px;
}

.subscribe-input::placeholder {
  color: #b1b7cd;
  font-weight: 500;
}

/* КНОПКА — как в макете: обводка, прозрачная */
.subscribe-btn {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 210px;
  height: 50px;
  padding-left: 15px;
  padding-right: 15px;
  background: transparent;
  border: 1px solid #ffffff61;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 12px;
}

/* ИКОНКА — отдельный кружок НА СИНЕМ ФОНЕ (НЕ в кнопке) */
.subscribe-send {
  width: 46px;
  height: 46px;

  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);

  background: rgba(0, 0, 0, 0.08); /* кружок чуть темнее синего */
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;
}

.subscribe-send img {
  width: 18px;
  height: 18px;
  display: block;
}

.subscribe-consent {
  margin-top: 10px;
  text-align: center;

  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.subscribe-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Hover аккуратно */
.subscribe-btn:hover,
.subscribe-send:hover {
  filter: brightness(1.06);
}

/* ========== MOBILE ========== */
@media (max-width: 991.98px) {
  .subscribe-card {
    border-radius: 32px;
    padding: 26px 20px;
  }

  .subscribe-title {
    font-size: 24px;
    line-height: 1.1;
  }

  .subscribe-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 14px;
  }

  .subscribe-input {
    width: 100%;
    padding: 18px;
  }

  /* на мобиле кнопка + кружок в одну строку как на макете */
  .subscribe-controls {
    position: relative;
  }

  .subscribe-btn {
    width: 100%;
    justify-content: flex-start;
    padding-left: 18px;
    max-width: 100%;
  }

  .subscribe-send {
    position: absolute;
    right: 8px;
    bottom: 0;

    /* подгоняем по высоте кнопки */
    transform: translateY(calc(-46px - 14px)); /* поднимаем на уровень кнопки */
  }

  .subscribe-consent {
    margin-top: 8px;
    text-align: center;
  }
}
.faq-section {
  background: #fff;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  color: #2b2a29;
}

.faq-accordion .accordion-item {
  border: 0;
  border-bottom: 1px solid #eef3ff;
}

.faq-accordion .accordion-button {
  padding: 18px 0;
  font-weight: 600;
  font-size: 14px;
  color: #5f6f96;
  background: none;
}

.faq-accordion .accordion-button::after {
  background-size: 14px;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: #172c5c;
  box-shadow: none;
}
.stats-section {
  background: #fff;
}

.stat-card {
  border: 1px solid #eef3ff;
  border-radius: 22px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0px 15px 15px rgba(23, 44, 92, 0.02);
}

.stat-val {
  font-weight: 700;
  font-size: 14px;
  color: #6c769a;
}

.stat-text {
  font-size: 14px;
  color: #6c769a;
}

.clients-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.clients-row img {
  height: 34px;
  opacity: 0.9;
}
.site-footer {
  background: #0b0b0b;
  color: #fff;
}

.footer-text {
  font-size: 13px;
  opacity: 0.7;
}

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

.footer-menu li {
  margin-bottom: 10px;
  font-size: 13px;
  opacity: 0.85;
}

.footer-phone {
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-socials img {
  width: 28px;
  margin-right: 8px;
}

.footer-bottom {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  opacity: 0.6;
}

.footer-links a {
  margin-left: 20px;
  color: #fff;
  text-decoration: none;
}
.bg-foot {
  background: #111111;
}
.bg-copy {
  background: #000000;
}
@media (max-width: 991.98px) {
  .stat-card {
    display: block;
  }
  .stat-text {
    font-size: 12px;
    color: #6c769a;
  }
  .select-label {
    font-size: 11px;
  }
  .select-value {
    font-weight: 600;
    color: #2b2a29;
  }
  .pill-value {
    font-size: 12px;
    font-weight: 700;
    color: var(--px-navy);
    margin-top: 4px;
    text-align: left;
  }
  .pill-label {
    font-size: 11px;
  }
  .hero-section {
    min-height: auto;
  }
}
/* ===== Mobile: toggle map / list ===== */
@media (max-width: 767px) {
  .audience-workspace {
    position: relative;
  }

  /* список поверх карты */
  .screens-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 7;
    display: none;
  }

  /* когда открыт */
  .audience-workspace.is-list-open .screens-panel {
    display: flex;
    height: 750px;
    width: 101%;
    left: -0.5%;
    top: -0.5%;
  }

  /* карта скрыта */
  .audience-workspace.is-list-open .map-layer {
    display: none;
  }

  /* кнопка поверх карты */
  .map-list-toggle {
    z-index: 6;
  }
}

:root {
  --px-blue: #1199fd;
  --px-navy: #172c5c;
  --px-muted: #6c769a;
  --px-line: #d9e7ff;
  --px-soft: #f7fbff;
  --px-border: #eef3ff;
}

/* page bg = white (как на скрине) */
.px-page {
  font-family: "Montserrat", sans-serif;
  background: #fff;
  color: var(--px-navy);
}

/* ===== Header light ===== */
.px-header {
  background: #fff;
}

.px-nav a {
  color: #2b2a29;
  text-decoration: none;
  font-weight: 500;
}

.px-nav a:hover {
  opacity: 0.85;
}

.px-top-action {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  color: #2b2a29;
}

.px-top-action img {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  opacity: 0.9;
  filter: brightness(0) saturate(100%);
}

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

.px-top-title {
  font-size: 13px;
  font-weight: 500;
  color: #2b2a29;
  white-space: nowrap;
}

.px-top-sub {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(43, 42, 41, 0.45);
  white-space: nowrap;
}

/* ===== Titles / breadcrumbs ===== */
.px-breadcrumb {
  font-size: 12px;
  color: rgba(108, 118, 154, 0.9);
}

.px-breadcrumb a {
  color: var(--px-blue);
  text-decoration: none;
}

.px-breadcrumb span {
  margin: 0 6px;
  color: rgba(108, 118, 154, 0.5);
}

.px-h1 {
  font-weight: 700;
  font-size: 30px;
  color: var(--px-navy);
  letter-spacing: 0.01em;
}

/* ===== Stepper ===== */
.px-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
  padding-top: 8px;
}

/* dashed line */
.px-stepper::before {
  content: "";
  position: absolute;
  left: 18px;
  width: 76%;
  right: 18px;
  top: 58px;
  border-top: 2px dashed rgba(217, 231, 255, 0.95);
}

.px-step {
  position: relative;
  padding-top: 0;
}

.px-step-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
}

.px-step-icon img {
  width: 32px;
  height: 32px;
}

/* dot on line */
.px-step-dot {
  position: absolute;
  left: 10px;
  top: 46px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(217, 231, 255, 1);
}

/* done dots */
.px-step.is-done .px-step-dot {
  border-color: rgba(23, 44, 92, 0.85);
}

/* active dot */
.px-step.is-active .px-step-dot {
  border-color: var(--px-blue);
}

.px-step-title {
  font-size: 13px;
  font-weight: 700;
  color: #2b2a29;
  margin-bottom: 8px;
}

.px-step-desc {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(108, 118, 154, 0.75);
  max-width: 260px;
}

/* ===== Cards ===== */
.px-card {
  border: 1px solid var(--px-border);
  border-radius: 28px;
  overflow: hidden;
}

.px-card--soft {
  background: var(--px-soft);
  padding: 34px;
}

.px-card-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: start;
}

.px-card-ill img {
  width: 140px;
  height: auto;
  display: block;
}

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

/* buttons like screenshot */
.px-btn {
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.px-btn-primary {
  background: var(--px-blue);
  color: #fff;
  padding: 0 50px;
}

.px-btn-primary:hover {
  filter: brightness(1.05);
}

.px-btn-outline {
  background: transparent;
  color: var(--px-blue);
  text-decoration: none;
  border: 1px solid rgba(17, 153, 253, 0.25);
}

.px-btn-outline:hover {
  background: rgba(17, 153, 253, 0.06);
}

/* AI input */
.px-input {
  width: 100%;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(217, 231, 255, 0.9);
  background: #fff;
  padding: 0 16px;
  outline: none;
  font-size: 12px;
  font-weight: 600;
  color: #2b2a29;
}

.px-input::placeholder {
  color: rgba(108, 118, 154, 0.55);
  font-weight: 500;
}

/* radios like screenshot */
.px-radio-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.px-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(108, 118, 154, 0.75);
  cursor: pointer;
  user-select: none;
}

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

.px-radio-ui {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(217, 231, 255, 1);
  background: #fff;
  display: inline-block;
  position: relative;
}

.px-radio input:checked + .px-radio-ui {
  border-color: var(--px-blue);
}

.px-radio input:checked + .px-radio-ui::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--px-blue);
}

.px-radio input:checked ~ .px-radio-text {
  color: rgba(43, 42, 41, 0.75);
}

.px-btn-gen {
  min-width: 170px;
}

/* ===== Wide block ===== */
.px-wide {
  border: 1px solid var(--px-border);
  border-radius: 28px;
  background: #fff;
  padding: 28px;
  box-shadow: 0px 15px 15px rgba(23, 44, 92, 0.02);
}

/* key-values */
.px-kv {
  display: grid;
  gap: 8px;
  max-width: 520px;
}

.px-kv-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: baseline;
}

.px-k {
  font-size: 12px;
  font-weight: 500;
  color: rgba(108, 118, 154, 0.75);
}

.px-v {
  font-size: 12px;
  font-weight: 700;
  color: rgba(108, 118, 154, 0.95);
  text-align: right;
}

.px-preview {
  margin-top: 18px;
  max-width: 520px;
}

.px-preview img {
  width: 100%;
  display: block;
  border-radius: 18px;
  object-fit: cover;
}

/* Right gray inner block */
.px-wide-right {
  height: 100%;
  background: var(--px-soft);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.px-right-title {
  font-weight: 800;
  font-size: 13px;
  color: #2b2a29;
}

.px-kv--right .px-v {
  color: rgba(108, 118, 154, 0.95);
}

.px-total {
  margin-top: auto;
}

.px-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(108, 118, 154, 0.75);
  padding: 10px 6px 14px;
  border-top: 1px solid rgba(217, 231, 255, 0.75);
}

.px-total-val {
  font-weight: 800;
  color: rgba(108, 118, 154, 0.95);
}

/* submit button with arrow bubble */
.px-btn-submit {
  width: 100%;
  justify-content: space-between;
  padding: 0 14px 0 18px;
  height: 46px;
}

.px-btn-arrow {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.17);
  display: grid;
  place-items: center;
  font-weight: 900;
  line-height: 1;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .px-stepper {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .px-stepper::before {
    display: none;
  }

  .px-step-dot {
    display: none;
  }

  .px-card-grid {
    grid-template-columns: 1fr;
  }

  .px-card--soft {
    padding: 22px;
  }

  .px-btn-gen {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .px-h1 {
    font-size: 28px;
  }

  .px-card-actions {
    gap: 10px;
  }

  .px-btn {
    width: 100%;
  }

  .px-wide {
    padding: 18px;
  }
}
/* ===== Progress (px-wide) ===== */

.px-progress {
  height: 10px;
  background: var(--px-border);
  border-radius: 999px;
  overflow: hidden;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.px-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--px-blue), var(--px-blue2));
  border-radius: 999px;
}
.doc-row {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr 1.5fr 1fr;
  align-items: center;
  padding: 18px 6px;
  border-bottom: 1px solid #eef3ff;
  font-size: 14px;
}
.pay-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 2fr 1fr 1.5fr;
  align-items: center;
  padding: 18px 6px;
  border-bottom: 1px solid #eef3ff;
  font-size: 14px;
}
/* ===== Header filter buttons ===== */

/* контейнер с кнопками */
.px-page .d-flex.gap-2 {
  flex-wrap: wrap;
}

/* сами кнопки */
.px-page .px-btn {
  height: 30px;
  padding: 0 20px;
  font-size: 12px;
  line-height: 30px;
}

/* outline выглядит легче */
.px-page .px-btn-outline {
  border-width: 1px;
}

/* ===== Mobile ===== */
@media (max-width: 991.98px) {
  /* хедер в колонку */
  .px-page > .d-flex.align-items-center.justify-content-between {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* кнопки — компактнее */
  .px-page .px-btn {
    height: 28px;
    padding: 0 14px;
    font-size: 11px;
  }

  /* группы кнопок и селекты — на всю ширину */
  .px-page .d-flex.gap-2 {
    width: 100%;
  }

  /* селекты под кнопками */
  .px-page select.px-input {
    width: 100% !important;
  }
}
@media (max-width: 991.98px) {
  .px-wide {
    padding: 20px;
  }
}
.auth-row {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 2fr 1.5fr 1fr;
  align-items: center;
  padding: 18px 6px;
  border-bottom: 1px solid #eef3ff;
  font-size: 14px;
  color: #6c769a;
}

/* кнопка аккуратнее, как на скрине */
.auth-row .px-btn {
  height: 30px;
  padding: 0 18px;
}
@media (max-width: 767px) {
  .auth-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }

  .auth-row > div:last-child {
    margin-top: 6px;
  }
}
@media (max-width: 991.98px) {
  .px-wide img {
    width: 56px;
  }

  .px-wide button {
    height: 44px;
  }
}
/* общий grid для head и row */
.op-grid {
  display: grid;
  grid-template-columns: 2fr 2fr 1.2fr 1.4fr 1fr;
  align-items: center;
  column-gap: 16px;
}

/* head */
.op-head {
  padding: 14px 6px;
  font-size: 12px;
  color: #b1b7cd;
  border-bottom: 1px solid #eef3ff;
}

/* row */
.op-row {
  padding: 18px 6px;
  border-bottom: 1px solid #eef3ff;
  font-size: 14px;
  color: #6c769a;
}

/* кнопка */
.op-row .px-btn {
  height: 30px;
  padding: 0 18px;
  white-space: nowrap;
  justify-self: start;
}

/* статусы */
.status {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

.status--paid {
  background: #eef7ee;
  color: #4caf50;
}

.status--gray {
  background: #f5f5f5;
  color: #2b2a29;
}
@media (max-width: 767px) {
  .op-grid {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .op-row .px-btn {
    justify-self: start;
    margin-top: 6px;
  }
}
/* GRID */
.creative-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* CARD */
.creative-card {
  background: #fff;
  border-radius: 28px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* IMAGE */
.creative-img {
  border-radius: 22px;
  overflow: hidden;
}

.creative-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* BADGE */
.badge {
  top: 18px;
  left: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.badge--ok {
  background: #eef7ee;
  color: #4caf50;
}

.badge--bad {
  background: #fdecec;
  color: #e53935;
}

/* BODY */
.creative-body {
  padding: 16px;
}

.creative-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.creative-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: #6c769a;
  margin-bottom: 4px;
}

.creative-date {
  font-size: 12px;
  color: #9aa2c2;
  margin-bottom: 12px;
}

/* ACTIONS */
.creative-actions {
  display: flex;
  gap: 12px;
}
.creative-actions .px-btn {
  height: 46px;
}
.px-btn-soft {
  background: #e9f5ff;
  color: #1199fd;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
}
@media (max-width: 991px) {
  .creative-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .creative-grid {
    grid-template-columns: 1fr;
  }

  .creative-img img {
    height: 180px;
  }
}
/* LOG GRID */
.placement-log {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ITEM */
.log-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* IMAGE */
.log-thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

/* TEXT */
.log-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.log-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  color: #6c769a;
}

.log-price {
  font-weight: 600;
  color: #6c769a;
}
/* LOG GRID */
.placement-log {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ITEM */
.log-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* IMAGE */
.log-thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

/* TEXT */
.log-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.log-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  color: #6c769a;
}

.log-price {
  font-weight: 600;
  color: #6c769a;
}
/* GRID */
.campaign-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

/* LEFT */
.campaign-title {
  font-weight: 800;
  margin-bottom: 10px;
}

.campaign-period {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  margin-bottom: 22px;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4caf50;
}

.status-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #4caf50;
  border-radius: 50%;
}

/* dates */
.campaign-dates {
  color: #6c769a;
  line-height: 1.8;
  margin-bottom: 22px;
}

/* approved */
.campaign-approved {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #eef7ee;
  color: #4caf50;
  font-weight: 600;
  margin-bottom: 28px;
}

/* ACTIONS */
.campaign-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.px-btn-soft {
  background: #e9f5ff;
  color: #1199fd;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
}

.px-btn-danger {
  background: #fdecec;
  color: #e53935;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
}

/* RIGHT */
.campaign-preview img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 28px;
}
@media (max-width: 991px) {
  .campaign-grid {
    grid-template-columns: 1fr;
  }

  .campaign-preview img {
    height: 220px;
  }
}
/* ===== REPORT SECTION ===== */

.report-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.report-tab {
  height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(17, 153, 253, 0.25);
  background: #fff;
  font-weight: 700;
  font-size: 12px;
  color: var(--px-blue);
}

.report-tab.is-active {
  background: var(--px-blue);
  border-color: var(--px-blue);
  color: #fff;
}

/* main grid */
.report-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: start;
}

.report-card {
  padding: 22px;
  box-shadow: none; /* px-wide already has soft shadow in your css */
}

/* LEFT card header */
.addr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 6px 18px;
  border-bottom: 1px solid rgba(238, 243, 255, 1);
  margin-bottom: 6px;
}

.addr-download {
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(17, 153, 253, 0.25);
  background: #fff;
  color: var(--px-blue);
  font-weight: 700;
  font-size: 12px;
}

/* list */
.addr-list {
  margin-top: 6px;
}

.addr-item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 18px;
  padding: 18px 6px;
  border-bottom: 1px solid rgba(238, 243, 255, 1);
  align-items: center;
}

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

.addr-thumb {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 16px;
  overflow: hidden;
  flex: 0 0 auto;
}

.addr-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.addr-thumb-dot {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(23, 44, 92, 0.08);
}

.addr-thumb-check {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #fff;
  color: var(--px-blue);
  font-family: system-ui;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(23, 44, 92, 0.08);
}

/* body */
.addr-topline {
  font-size: 12px;
  font-weight: 600;
  color: rgba(108, 118, 154, 0.85);
  margin-bottom: 4px;
}

.addr-name {
  font-size: 14px;
  font-weight: 700;
  color: #2b2a29;
  margin-bottom: 10px;
}

.addr-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.addr-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f5f7ff;
  color: rgba(24, 49, 83, 0.8);
  font-weight: 700;
  font-size: 12px;
}

.addr-pill img {
  width: 16px;
  height: 16px;
}

/* status right */
.addr-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: #4caf50;
  white-space: nowrap;
  padding-right: 6px;
}

.addr-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #4caf50;
}

/* RIGHT: Budget */
.budget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.budget-rows {
  display: grid;
}

.budget-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* RIGHT: Stats */
.stats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.stats-link {
  color: var(--px-blue);
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;
}

.mini-chart {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: stretch;
}

.mini-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
  color: rgba(108, 118, 154, 0.8);
}

.mini-plot {
  position: relative;
  height: 200px;
  background: #fff;
}

.mini-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(238, 243, 255, 1) 1px, transparent 1px) 0
      0 / 100% 40px,
    linear-gradient(to right, rgba(238, 243, 255, 1) 1px, transparent 1px) 0 0 /
      90px 100%;
  opacity: 0.65;
  pointer-events: none;
}

.mini-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mini-x {
  position: absolute;
  left: 0;
  right: 0;
  top: 210px;
  bottom: 10px;
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(108, 118, 154, 0.8);
}

/* Export buttons */
.export-btn {
  width: 100%;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(17, 153, 253, 0.25);
  background: #fff;
  color: var(--px-blue);
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 14px;
}
.export-btn:last-child {
  margin-bottom: 0;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .report-grid {
    grid-template-columns: 1fr;
  }
  .report-right {
    display: grid;
    gap: 14px;
  }
}

@media (max-width: 575.98px) {
  .addr-item {
    grid-template-columns: 80px 1fr;
    grid-template-areas:
      "thumb body"
      "status status";
  }
  .addr-thumb {
    width: 80px;
    height: 80px;
  }
  .addr-status {
    justify-content: flex-start;
    padding: 10px 0 0 0;
    color: #4caf50;
  }
  .addr-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .addr-download {
    width: 100%;
  }
}
.chart-head {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.chart-legend {
  display: flex;
  gap: 16px;
  font-weight: 600;
}

.lg::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}
.lg.pink::before {
  background: #ff4fd8;
}
.lg.green::before {
  background: #4caf50;
}
.lg.blue::before {
  background: #1199fd;
}

.chart-filters {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.chart-wrap {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 10px;
}

.chart-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #6c769a;
}

.chart-plot {
  position: relative;
  height: 280px;
}

.chart-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, #eef3ff 1px, transparent 1px) 0 0/100% 44px,
    linear-gradient(to right, #eef3ff 1px, transparent 1px) 0 0/100px 100%;
}

.chart-plot svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.chart-x {
  position: absolute;
  bottom: -28px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #6c769a;
}

.chart-tooltip {
  position: absolute;
  right: 30px;
  bottom: 40px;
  background: #fff;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  font-size: 14px;
}

.tt-title {
  font-weight: 800;
  margin-bottom: 10px;
}
.tt-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.tt-row.blue {
  color: #1199fd;
}
.tt-row.green {
  color: #4caf50;
}
.tt-row.pink {
  color: #ff4fd8;
}

/* === STATS CARDS === */

.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* иконка */
.stat-card svg {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
}

/* текстовый блок */
.stat-card .stat-title {
  font-weight: 500;
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 0.03em;
  color: #6c769a;
  margin-bottom: 4px;
}

/* значение */
.stat-card .stat-value {
  font-weight: 700;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0.01em;
  color: #172c5c;
}

/* цветовые модификаторы */
.stat-card.green .stat-value {
  color: #60a864;
}

.stat-card.blue .stat-value {
  color: #1199fd;
}

@media (max-width: 991.98px) {
  .map-radius {
    padding: 1px 1px 1px 5px;
  }
  .radius-pill {
    padding: 1px 5px;
  }
  .chip {
    padding: 14px 12px;
  }
}
