/* Главная страница (макет: тёмная шапка / жёлтые акценты / промышленный герой) */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

body.home-page {
  background: #ffffff;
}

.home-page.site-shell .site-main {
  padding: 0;
}

.home-page {
  --home-charcoal: #1b1c21;
  --home-charcoal-2: #121318;
  --home-yellow: #f4be00;
  --home-yellow-hover: #e0ad00;
  --home-soft: #f4f5f8;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Arial,
    sans-serif;
}

.home-page.site-shell .site-footer {
  display: none;
}

/* --- Герой (промышленный фон) --- */
.home-hero--industrial {
  position: relative;
  isolation: isolate;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--home-charcoal);
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(12, 14, 20, 0.93) 0%,
      rgba(12, 14, 20, 0.82) 34%,
      rgba(12, 14, 20, 0.45) 58%,
      rgba(12, 14, 20, 0.12) 78%,
      transparent 100%
    ),
    radial-gradient(ellipse at 88% 50%, transparent 25%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
}

.home-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(48px, 8vw, 96px) 0;
}

.home-hero__content {
  max-width: 720px;
}

.home-hero__title {
  margin: 0 0 18px;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.home-hero__accent {
  color: var(--home-yellow);
}

.home-hero__sub {
  margin: 0 0 28px;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 58ch;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.home-hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-hero-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.home-hero-perk__icon {
  display: grid;
  place-items: center;
  color: var(--home-yellow);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .home-hero--industrial {
    min-height: min(78vh, 640px);
  }

  .home-hero__bg-img {
    object-position: 70% center;
  }

  .home-hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(12, 14, 20, 0.9) 0%,
        rgba(12, 14, 20, 0.72) 50%,
        rgba(12, 14, 20, 0.5) 100%
      );
  }
}

/* Legacy hero (unused on new homepage) */
.home-hero {
  position: relative;
  isolation: isolate;
  min-height: min(620px, 88vh);
  display: grid;
  align-items: stretch;
  color: #fff;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 72% 20%, rgba(244, 190, 0, 0.18), transparent 50%),
    radial-gradient(circle at 12% 40%, rgba(80, 90, 120, 0.45), transparent 35%),
    linear-gradient(
      120deg,
      #0c0e14 0%,
      var(--home-charcoal) 42%,
      #151924 85%
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' opacity='0.06'%3E%3Cpath fill='%23000' d='M0 0h60v60H0zm60 60h60v60H60z'/%3E%3C/svg%3E");
  background-blend-mode: normal, multiply, multiply, multiply;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(transparent 30%, rgba(0, 0, 0, 0.55));
  z-index: 1;
  pointer-events: none;
}

.home-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: clamp(42px, 7vw, 88px) 0;
}

@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
  }
}

.home-hero-map {
  position: relative;
  min-height: 280px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 48% 45%, rgba(244, 190, 0, 0.35), transparent 42%),
    radial-gradient(circle at 38% 38%, rgba(70, 200, 120, 0.18), transparent 35%),
    linear-gradient(
      160deg,
      rgba(20, 24, 32, 0.85),
      rgba(40, 45, 60, 0.75)
    );
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.home-hero-map-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(0, 0, 0, 0.55);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.home-hero-content h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-hero-content p {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.76);
}

.home-hero-metric {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.home-hero-metric strong {
  display: block;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: var(--home-yellow);
  letter-spacing: 0.04em;
}

/* --- Цифры + преимущества --- */
.home-section {
  padding: clamp(40px, 6vw, 76px) 0;
}

.home-section--muted {
  background: var(--home-soft);
}

.home-section-title {
  margin: 0 0 26px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
}

.home-section-lede {
  margin: -12px 0 28px;
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 600;
  font-size: 16px;
}

/* --- Подрядчик v4 (после hero) --- */
.home-trust-v4 {
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 104px);
  background: #fafbfc;
}

.home-trust-v4__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

@media (max-width: 1024px) {
  .home-trust-v4__intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.home-trust-v4__badge {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(244, 190, 0, 0.14);
  border: 1px solid rgba(244, 190, 0, 0.45);
  color: #1b1c21;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.home-trust-v4__title {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--home-charcoal);
  max-width: 22ch;
}

.home-trust-v4__subtitle {
  margin: 0 0 16px;
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 700;
  line-height: 1.55;
  color: var(--home-charcoal);
  max-width: 52ch;
}

.home-trust-v4__text {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 600;
  max-width: 54ch;
}

.home-trust-v4__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.home-trust-v4__note {
  margin: 0;
  flex: 1 1 200px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--muted);
  max-width: 28ch;
}

.home-trust-v4__note::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--home-yellow);
  border-radius: 3px;
  margin-right: 10px;
  vertical-align: middle;
}

.home-trust-v4__visual {
  position: relative;
  padding-bottom: 40px;
  padding-left: clamp(0px, 2vw, 24px);
}

.home-trust-v4__media {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.1);
  aspect-ratio: 4 / 3;
  background: #e8eaee;
}

.home-trust-v4__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-trust-v4__scope {
  position: absolute;
  left: -24px;
  bottom: -28px;
  width: min(100%, 300px);
  padding: 20px 20px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
  .home-trust-v4__scope {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: -40px;
    margin-left: auto;
    margin-right: auto;
    max-width: 360px;
  }
}

@media (max-width: 560px) {
  .home-trust-v4__scope {
    margin-top: 16px;
    max-width: none;
  }
}

.home-trust-v4__scope-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 900;
  color: var(--home-charcoal);
  line-height: 1.3;
}

.home-trust-v4__scope-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.home-trust-v4__scope-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--home-charcoal);
  line-height: 1.35;
}

.home-trust-v4__scope-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid var(--home-yellow);
  color: var(--home-yellow);
  background: rgba(244, 190, 0, 0.06);
}

.home-trust-v4__benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: clamp(48px, 7vw, 72px);
}

@media (max-width: 1024px) {
  .home-trust-v4__benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .home-trust-v4__benefits {
    grid-template-columns: 1fr;
  }
}

.home-trust-v4__benefit {
  position: relative;
  overflow: hidden;
  padding: 24px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  isolation: isolate;
}

.home-trust-v4__benefit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.94) 48%,
    rgba(255, 255, 255, 0.82) 72%,
    rgba(255, 255, 255, 0.55) 100%
  );
  pointer-events: none;
}

.home-trust-v4__benefit::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 56%;
  height: 58%;
  max-width: 200px;
  max-height: 140px;
  background: url("../assets/images/main/card.webp") no-repeat right bottom;
  background-size: contain;
  pointer-events: none;
  opacity: 0.92;
}

@media (max-width: 560px) {
  .home-trust-v4__benefit::after {
    width: 48%;
    height: 52%;
    max-width: 160px;
    max-height: 110px;
    opacity: 0.75;
  }
}

.home-trust-v4__benefit-num,
.home-trust-v4__benefit-title,
.home-trust-v4__benefit-text {
  position: relative;
  z-index: 1;
}

.home-trust-v4__benefit-num {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  color: var(--home-yellow);
  letter-spacing: 0.04em;
}

.home-trust-v4__benefit-title {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  color: var(--home-charcoal);
}

.home-trust-v4__benefit-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--muted);
  flex: 1;
}

/* --- Доверие (legacy, unused) --- */
.home-trust-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-trust-facts li {
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.home-trust-facts li::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: var(--home-yellow);
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .home-trust-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .home-trust-facts {
    grid-template-columns: 1fr;
  }
}

/* --- Что мы строим --- */
.what-we-build {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(28px, 4vh, 48px) 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  background: #080a0d url("../assets/images/main/cshto_stroim/chto_stroim_bgd.webp") center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.what-we-build::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 13, 0.72) 0%,
    rgba(8, 10, 13, 0.78) 50%,
    rgba(8, 10, 13, 0.82) 100%
  );
  pointer-events: none;
}

.what-we-build::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  pointer-events: none;
}

.what-we-build .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
}

.what-we-build__layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 16px;
  align-items: stretch;
  height: clamp(520px, calc(100dvh - clamp(56px, 8vh, 96px)), 700px);
}

.what-we-build__left {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  min-height: 0;
  height: 100%;
}

.what-we-build__header {
  margin: 0;
}

.what-we-build__kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(244, 190, 0, 0.12);
  border: 1px solid rgba(244, 190, 0, 0.45);
  color: var(--home-yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.what-we-build__title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 900;
  line-height: 1.12;
  color: #fff;
  max-width: 16ch;
}

.what-we-build__subtitle {
  margin: 0;
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  max-width: 38ch;
}

.build-card-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr 1fr minmax(0, 0.88fr);
  gap: 16px;
  min-height: 0;
  height: 100%;
}

.build-card {
  position: relative;
  display: block;
  min-height: 0;
  height: 100%;
  border-radius: 18px;
  background: #0c0e12;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.build-card:hover,
.build-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(244, 190, 0, 0.65);
  box-shadow: 0 18px 40px rgba(244, 190, 0, 0.14);
}

.build-card:focus-visible {
  outline: 2px solid var(--home-yellow);
  outline-offset: 3px;
}

.build-card--large {
  min-height: 0;
}

.build-card--wide {
  grid-column: 1 / -1;
}

.build-card__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.build-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(5, 6, 7, 0.94) 0%,
    rgba(5, 6, 7, 0.84) 36%,
    rgba(5, 6, 7, 0.5) 62%,
    rgba(5, 6, 7, 0.22) 100%
  );
}

.build-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.build-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 62%;
  height: 100%;
  min-height: inherit;
  padding: 14px 16px 16px;
  box-sizing: border-box;
}

.build-card--large .build-card__body {
  width: 58%;
  padding: 18px 20px 40px;
}

.build-card--wide .build-card__body {
  width: 56%;
}

.build-card__num-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.build-card__line {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--home-yellow);
  flex-shrink: 0;
}

.build-card__num {
  font-size: 12px;
  font-weight: 900;
  color: var(--home-yellow);
  letter-spacing: 0.08em;
}

.build-card__icon {
  display: block;
  margin-bottom: 6px;
  color: var(--home-yellow);
  line-height: 0;
}

.build-card__title {
  margin: 0 0 6px;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
}

.build-card--large .build-card__title {
  font-size: clamp(18px, 1.8vw, 22px);
  margin-bottom: 8px;
}

.build-card__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.build-card:not(.build-card--large) .build-card__text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.build-card__perks {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.build-card__perks li {
  position: relative;
  padding-left: 12px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

.build-card__perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--home-yellow);
}

.build-card__more {
  margin-top: auto;
  padding-top: 10px;
  align-self: flex-end;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease;
}

.build-card--large:hover .build-card__more {
  gap: 12px;
}

.build-card__footer-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--home-yellow), #ffd21a);
  z-index: 3;
}

.build-card__arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  font-size: 18px;
  font-weight: 900;
  color: var(--home-yellow);
  transition: transform 0.25s ease;
}

.build-card:hover .build-card__arrow {
  transform: translateX(5px);
}

@media (max-width: 1100px) {
  .what-we-build {
    min-height: 0;
    display: block;
    padding: clamp(48px, 7vw, 72px) 0;
  }

  .what-we-build__layout {
    height: auto;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .what-we-build__left,
  .build-card-group {
    display: contents;
  }

  .what-we-build__header {
    grid-column: 1 / -1;
  }

  .build-card--large {
    grid-column: 1 / -1;
    min-height: 360px;
  }

  .build-card-group .build-card {
    min-height: 220px;
  }

  .build-card--wide {
    min-height: 200px;
  }
}

@media (max-width: 767px) {
  .what-we-build {
    padding: 56px 0 64px;
  }

  .what-we-build__layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .what-we-build__title {
    max-width: none;
  }

  .what-we-build__subtitle {
    max-width: none;
  }

  .build-card,
  .build-card--large,
  .build-card-group .build-card,
  .build-card--wide {
    min-height: 300px;
    height: auto;
  }

  .build-card--large {
    min-height: 360px;
  }

  .build-card__body,
  .build-card--large .build-card__body,
  .build-card--wide .build-card__body {
    width: 100%;
    padding: 18px 16px 16px;
    min-height: 52%;
  }

  .build-card__media::after {
    background: linear-gradient(
      0deg,
      rgba(5, 6, 7, 0.15) 0%,
      rgba(5, 6, 7, 0.55) 45%,
      rgba(5, 6, 7, 0.92) 72%
    );
  }

  .build-card__arrow {
    right: 16px;
    bottom: 16px;
  }

  .build-card--large .build-card__body {
    padding-bottom: 36px;
  }
}

@media (max-width: 480px) {
  .build-card,
  .build-card--large,
  .build-card-group .build-card,
  .build-card--wide {
    min-height: 280px;
  }

  .build-card--large {
    min-height: 340px;
  }
}

/* --- Цепочка этапов --- */
.home-pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pipeline;
}

.home-pipeline__item {
  position: relative;
  flex: 1 1 140px;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 14px 16px 0;
}

.home-pipeline__item:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 22px;
  color: var(--home-yellow);
  font-weight: 900;
  font-size: 16px;
}

.home-pipeline__num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--home-charcoal);
  color: var(--home-yellow);
  font-size: 13px;
  font-weight: 900;
}

.home-pipeline__item a {
  font-weight: 800;
  font-size: 13px;
  line-height: 1.35;
  color: var(--black);
  text-decoration: none;
}

.home-pipeline__item a:hover {
  color: var(--home-yellow);
}

.home-pipeline__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-pipeline__sub {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--muted) !important;
}

.home-pipeline__sub:hover {
  color: var(--home-yellow) !important;
}

@media (max-width: 768px) {
  .home-pipeline {
    flex-direction: column;
    gap: 4px;
  }

  .home-pipeline__item {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .home-pipeline__item:not(:last-child)::after {
    display: none;
  }
}

/* --- Услуги на главной --- */
.home-services-group-title {
  margin: 28px 0 14px;
  font-size: 18px;
  font-weight: 900;
}

.home-services-group-title:first-of-type {
  margin-top: 8px;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-services-grid a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--black);
  line-height: 1.35;
  min-height: 100%;
  transition: border-color 0.15s, background 0.15s;
}

.home-services-grid a:hover {
  border-color: var(--home-yellow);
  background: rgba(244, 190, 0, 0.08);
}

.home-services-soon {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  opacity: 0.88;
}

.home-services-soon__badge {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--home-charcoal);
  color: var(--home-yellow);
}

/* --- Стоимость --- */
.home-pricing-box {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4vw, 32px);
  border-radius: 16px;
  background: var(--home-charcoal);
  color: #fff;
}

.home-pricing-factors {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  line-height: 1.5;
  font-weight: 600;
}

@media (max-width: 640px) {
  .home-pricing-factors {
    grid-template-columns: 1fr;
  }
}

.home-pricing-box .home-btn-solid {
  justify-self: start;
}

/* --- Готовые объекты (Яндекс.Карта) --- */
.home-projects-map__canvas {
  width: 100%;
  height: clamp(360px, 52vw, 520px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(15, 20, 28, 0.1);
  background: #e8ecf1;
}

/* --- Почему мы --- */
.home-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.home-why-card {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.home-why-card__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
}

.home-why-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 600;
}

.home-why-card::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--home-yellow);
  border-radius: 3px;
  margin-bottom: 12px;
}

/* --- Процесс --- */
.home-process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  counter-reset: process;
}

.home-process-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 15px;
}

.home-process-list__num {
  font-size: 13px;
  font-weight: 900;
  color: var(--home-yellow);
  letter-spacing: 0.06em;
}

.home-process-note {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--home-yellow);
  background: rgba(244, 190, 0, 0.1);
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  max-width: 72ch;
}

/* --- Документы --- */
.home-docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 720px) {
  .home-docs-grid {
    grid-template-columns: 1fr;
  }
}

.home-docs-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  font-weight: 900;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.home-docs-card:hover {
  border-color: var(--home-yellow);
  box-shadow: 0 12px 32px rgba(244, 190, 0, 0.12);
}

.home-docs-card__icon {
  color: var(--home-yellow);
  flex-shrink: 0;
}

/* --- FAQ на главной --- */
.faq--home .faq-q {
  background: #fff;
}

.home-faq-section .faq {
  max-width: 820px;
}

/* --- Финальный CTA --- */
.home-cta-final {
  background: var(--home-charcoal-2);
  color: #fff;
  padding: clamp(48px, 7vw, 80px) 0;
  scroll-margin-top: 100px;
}

.home-cta-final__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

@media (max-width: 860px) {
  .home-cta-final__grid {
    grid-template-columns: 1fr;
  }
}

.home-cta-final__title {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 900;
  line-height: 1.2;
}

.home-cta-final__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  font-weight: 600;
  max-width: 48ch;
}

.home-cta-form {
  display: grid;
  gap: 12px;
  background: #fff;
  padding: 22px;
  border-radius: 14px;
  color: var(--black);
}

.home-cta-form input,
.home-cta-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font: inherit;
  font-weight: 600;
}

.home-cta-form textarea {
  min-height: 96px;
  resize: vertical;
}

.home-cta-form__submit {
  width: 100%;
  justify-content: center;
}

.home-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

@media (max-width: 800px) {
  .home-cards-3 {
    grid-template-columns: 1fr;
  }
}

.home-stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 22px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

.home-stat-card b {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--home-charcoal);
}

.home-stat-card span:last-child {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.home-stat-card::before {
  content: "";
  display: block;
  height: 4px;
  width: 54px;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    var(--home-yellow),
    var(--yellow-2, var(--home-yellow))
  );
  margin-bottom: 14px;
}

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

.home-feature-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}

.home-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--home-charcoal);
  display: grid;
  place-items: center;
  color: var(--home-yellow);
  font-size: 20px;
  font-weight: 900;
}

/* --- Этапы строительства --- */
.home-stages-section {
  background: #f7f8fa;
}

.home-stages__desktop {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  align-items: start;
}

.home-stages__mobile {
  display: none;
}

.home-stages-sidebar {
  display: grid;
  gap: 6px;
}

.home-stage-btn {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  background: #fff;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 10px;
  color: var(--black);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.home-stage-num {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 900;
  transition: color 0.2s ease;
}

.home-stage-label {
  font-size: 14px;
  line-height: 1.35;
}

.home-stage-btn:hover,
.home-stage-btn:focus-visible {
  border-color: rgba(244, 190, 0, 0.35);
  outline: none;
}

.home-stage-btn[aria-selected="true"] {
  border-color: rgba(244, 190, 0, 0.45);
  border-left-color: var(--home-yellow);
  background:
    linear-gradient(90deg, rgba(244, 190, 0, 0.14), rgba(244, 190, 0, 0.04)),
    #fff;
  box-shadow: 0 10px 28px rgba(244, 190, 0, 0.12);
}

.home-stage-btn[aria-selected="true"] .home-stage-num {
  color: var(--home-yellow);
}

.home-stage-panels {
  position: relative;
  min-height: 420px;
}

.home-stage-panel {
  position: absolute;
  inset: 0;
  display: none;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
  background: #12151a;
}

.home-stage-panel[data-visible="true"] {
  display: block;
}

.home-stage-panel__visual {
  position: absolute;
  inset: 0;
}

.home-stage-panel__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.home-stage-panel__slant {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    108deg,
    rgba(8, 10, 13, 0.08) 0%,
    rgba(8, 10, 13, 0.22) 34%,
    rgba(8, 10, 13, 0.72) 52%,
    rgba(8, 10, 13, 0.94) 62%,
    #12151a 100%
  );
}

.home-stage-panel__slant::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), transparent 40%),
    #12151a;
  border-left: 1px solid rgba(244, 190, 0, 0.18);
}

.home-stage-panel__content {
  position: relative;
  z-index: 2;
  margin-left: auto;
  width: min(52%, 520px);
  min-height: 100%;
  padding: clamp(28px, 4vw, 44px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.home-stage-panel__num {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--home-yellow);
}

.home-stage-panel__num::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  margin-right: 10px;
  vertical-align: middle;
  border-radius: 2px;
  background: var(--home-yellow);
}

.home-stage-panel__title {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
}

.home-stage-panel__text {
  margin: 0 0 22px;
  max-width: 46ch;
  font-size: clamp(14px, 1.3vw, 15px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.home-stage-panel__cta {
  align-self: flex-start;
}

/* Accordion (mobile) */
.home-stages-acc-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.home-stages-acc-item[data-open="true"] {
  border-color: rgba(244, 190, 0, 0.55);
  box-shadow: 0 12px 32px rgba(244, 190, 0, 0.1);
}

.home-stages-acc-btn {
  width: 100%;
  padding: 14px 16px;
  border: none;
  background: #fff;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: 40px 1fr 20px;
  align-items: center;
  gap: 10px;
  color: var(--black);
}

.home-stages-acc-item[data-open="true"] .home-stages-acc-btn {
  background:
    linear-gradient(90deg, rgba(244, 190, 0, 0.12), rgba(244, 190, 0, 0.02)),
    #fff;
}

.home-stages-acc-item[data-open="true"] .home-stage-num {
  color: var(--home-yellow);
}

.home-stages-acc-icon {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--home-yellow);
  border-bottom: 2px solid var(--home-yellow);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  justify-self: end;
}

.home-stages-acc-item[data-open="true"] .home-stages-acc-icon {
  transform: rotate(-135deg) translateY(-2px);
}

.home-stages-acc-panel {
  display: none;
  border-top: 1px solid var(--line);
}

.home-stages-acc-item[data-open="true"] .home-stages-acc-panel {
  display: block;
}

.home-stages-acc-panel .home-stage-panel {
  position: relative;
  inset: auto;
  display: block;
  border: none;
  border-radius: 0;
  box-shadow: none;
  min-height: 320px;
}

.home-stages-acc-panel .home-stage-panel__content {
  width: 100%;
  max-width: none;
  padding: 20px 18px 24px;
  min-height: auto;
  background: #12151a;
}

.home-stages-acc-panel .home-stage-panel__slant::after {
  width: 100%;
  clip-path: none;
  opacity: 0.72;
}

@media (max-width: 720px) {
  .home-stages__desktop {
    display: none;
  }

  .home-stages__mobile {
    display: grid;
    gap: 8px;
  }

  .home-stages-acc-panel .home-stage-panel {
    min-height: 360px;
  }

  .home-stages-acc-panel .home-stage-panel__slant {
    background: linear-gradient(
      0deg,
      rgba(8, 10, 13, 0.15) 0%,
      rgba(8, 10, 13, 0.55) 42%,
      rgba(8, 10, 13, 0.92) 68%
    );
  }
}

@media (min-width: 721px) and (max-width: 960px) {
  .home-stages__desktop {
    grid-template-columns: minmax(210px, 240px) minmax(0, 1fr);
  }

  .home-stage-panel__content {
    width: min(58%, 460px);
    padding: 24px;
  }

  .home-stage-label {
    font-size: 13px;
  }
}

/* --- Промо: проектная документация --- */
.home-promo {
  position: relative;
  padding: clamp(40px, 5vw, 72px) 0 clamp(52px, 6vw, 80px);
  overflow: hidden;
}

.home-promo__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.28)),
    url("../assets/images/main/project.webp") center / cover no-repeat;
}

.home-promo__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.2), transparent 55%);
  pointer-events: none;
}

.home-promo__wrap {
  position: relative;
  z-index: 1;
}

.home-promo__layout {
  position: relative;
  min-height: clamp(320px, 36vw, 420px);
  padding-bottom: clamp(36px, 4vw, 52px);
}

.home-promo__offer {
  position: relative;
  z-index: 1;
  min-height: clamp(320px, 36vw, 420px);
  margin-right: clamp(200px, 22vw, 280px);
  background: #26292f;
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.home-promo__offer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(38, 41, 47, 0.94) 0%,
    rgba(38, 41, 47, 0.88) 36%,
    rgba(38, 41, 47, 0.55) 52%,
    rgba(38, 41, 47, 0.28) 68%,
    rgba(38, 41, 47, 0.12) 100%
  );
}

.home-promo__offer-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(50%, 500px);
  min-height: clamp(320px, 36vw, 420px);
  padding: clamp(32px, 3.5vw, 44px) clamp(24px, 3vw, 40px) clamp(28px, 3vw, 36px);
  box-sizing: border-box;
}

.home-promo__offer-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-promo__offer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: clamp(28px, 4vw, 48px);
}

.home-promo__eyebrow {
  margin: 0;
  font-size: clamp(11px, 1vw, 12px);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.home-promo__rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.home-promo__rule--top {
  margin-bottom: 2px;
}

.home-promo__rule--bottom {
  margin-top: 12px;
}

.home-promo__title {
  margin: 0;
  font-size: clamp(21px, 2.5vw, 30px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.home-promo__title-line {
  display: block;
}

.home-promo__free {
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--home-yellow);
}

.home-promo__subline {
  margin: 0;
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
  max-width: 24ch;
}

.home-promo__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 600;
}

.home-promo__gift {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.home-promo__gift img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.home-promo__cta {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  width: clamp(260px, 28vw, 320px);
  min-height: calc(100% + clamp(36px, 4vw, 52px));
  margin: 0;
  padding: clamp(26px, 3vw, 34px) clamp(20px, 2.5vw, 28px) clamp(34px, 4vw, 48px);
  background: linear-gradient(180deg, #ffd21a 0%, var(--home-yellow) 100%);
  color: #161616;
  box-shadow: 0 22px 50px rgba(244, 190, 0, 0.32);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-promo__cta-lead {
  margin: 0;
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
}

.home-promo__cta-bar {
  margin: 4px 0 8px;
  padding: 12px 10px;
  background: #2a2d33;
  color: var(--home-yellow);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
}

.home-promo__cta-title {
  margin: 0;
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
}

.home-promo__cta-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  text-align: center;
  color: rgba(22, 22, 22, 0.82);
}

.home-promo__phone {
  margin: 4px 0 8px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  color: #111;
}

.home-promo__phone:hover {
  color: #000;
}

.home-promo__btn {
  display: block;
  width: fit-content;
  margin: auto auto 0;
  padding: 14px 28px;
  background: #2a2d33;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: skewX(-14deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: filter 0.2s ease;
}

.home-promo__btn span {
  display: inline-block;
  transform: skewX(14deg);
}

.home-promo__btn:hover {
  filter: brightness(1.08);
}

@media (max-width: 900px) {
  .home-promo__layout {
    min-height: 0;
    padding-bottom: 0;
  }

  .home-promo__offer {
    margin-right: 0;
    min-height: clamp(300px, 70vw, 380px);
  }

  .home-promo__offer-copy {
    width: 100%;
    min-height: clamp(300px, 70vw, 380px);
    padding: 24px 20px 20px;
  }

  .home-promo__offer-bottom {
    padding-top: 24px;
  }

  .home-promo__title {
    max-width: none;
  }

  .home-promo__gift {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 0;
    margin: 0;
  }

  .home-promo__gift img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center;
  }

  .home-promo__offer::before {
    background: linear-gradient(
      180deg,
      rgba(38, 41, 47, 0.92) 0%,
      rgba(38, 41, 47, 0.84) 45%,
      rgba(38, 41, 47, 0.5) 100%
    );
  }

  .home-promo__cta {
    position: relative;
    width: 100%;
    min-height: 0;
    margin-top: -6px;
  }
}

@media (max-width: 560px) {
  .home-promo {
    padding: 32px 0 40px;
  }

  .home-promo__offer-copy {
    padding: 20px 16px 16px;
  }

  .home-promo__cta {
    padding: 22px 16px 28px;
  }

  .home-promo__btn {
    width: 100%;
    text-align: center;
  }
}

/* --- Техника --- */
.home-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.home-badge-count {
  background: var(--home-charcoal);
  color: var(--home-yellow);
  font-weight: 900;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
}

.home-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 900px) {
  .home-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.home-gallery-cell {
  border-radius: 12px;
  aspect-ratio: 3 / 5;
  background:
    radial-gradient(at 70% 20%, rgba(244, 190, 0, 0.15), transparent 40%),
    linear-gradient(#2a3342, #1a2029);
  position: relative;
  overflow: hidden;
}

.home-gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
}

/* --- Региональные объекты --- */
.home-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 860px) {
  .home-split {
    grid-template-columns: 1fr;
  }
}

.home-visual-tall {
  border-radius: 16px;
  min-height: 420px;
  background:
    linear-gradient(205deg, rgba(244, 190, 0, 0.12), transparent 45%),
    linear-gradient(#2d3544, #1c222d);
  border: 1px solid var(--line);
}

.home-bullet-list {
  margin: 16px 0 22px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.56;
}

.home-bar-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--home-yellow), #ffd21a);
}

/* --- Новости (Swiper) --- */
.home-news .swiper-slide {
  height: auto;
}

.home-news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.05);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-news-meta {
  font-size: 12px;
  color: var(--muted);
}

.home-news-title {
  font-weight: 900;
}

.home-news-swiper-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  justify-content: center;
}

.home-swiper-prev,
.home-swiper-next {
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--home-charcoal);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.home-swiper-prev:hover,
.home-swiper-next:hover {
  background: #000;
}

/* --- FAQ + вопрос --- */
.home-double {
  background: var(--home-charcoal-2);
  color: #fff;
  padding: clamp(42px, 6vw, 72px) 0;
}

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

@media (max-width: 860px) {
  .home-double-grid {
    grid-template-columns: 1fr;
  }
}

.home-double .faq-item {
  border-color: rgba(255, 255, 255, 0.12);
}

.home-double .faq-item .faq-q {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.home-double .faq-a {
  color: rgba(255, 255, 255, 0.7);
}

.home-ask-panel {
  background: linear-gradient(155deg, #ffd21a, var(--home-yellow));
  padding: 22px;
  border-radius: 14px;
  color: #111;
}

.home-ask-panel h3 {
  margin: 0 0 12px;
  font-weight: 900;
}

.home-ask-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}

.home-ask-list li {
  margin-bottom: 8px;
}

/* --- Карта --- */
.home-map {
  filter: saturate(1.06);
}

.home-map iframe {
  width: 100%;
  height: clamp(340px, 48vw, 460px);
  border: 0;
  display: block;
}

/* --- Подвал главной --- */
.home-footer {
  background: var(--home-charcoal);
  color: rgba(255, 255, 255, 0.78);
}

.home-footer-inner {
  padding: 36px 0 46px;
  display: grid;
  gap: 22px;
}

.home-footer-row1 {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: space-between;
}

.home-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-footer-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.home-footer-links a:hover {
  color: var(--home-yellow);
}

.home-social {
  display: flex;
  gap: 12px;
}

.home-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.home-social a:hover {
  background: rgba(244, 190, 0, 0.25);
}

.home-footer-meta {
  display: grid;
  gap: 10px;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
}

/* Кнопки на главной */
.home-btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 900;
  background: linear-gradient(180deg, #ffe54d, var(--home-yellow));
  color: #111;
  text-decoration: none;
}

.home-btn-solid:hover {
  filter: brightness(1.02);
}

.home-btn-outline {
  display: inline-flex;
  padding: 12px 20px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
}

.home-btn-outline:hover {
  border-color: var(--home-yellow);
  color: var(--home-yellow);
}
