/* ==========================================================================
   Voltline — Страница «Для дома» (PC, Tablet, Mobile)
   Макеты: Hero, Секция 2 (Заряжайтесь где удобно), Секция 3 (Подбор и монтаж)
   ========================================================================== */

:root {
  --dom-bg: #07090e;
  --dom-surface: #0a0d16;
  --dom-card-bg: rgba(14, 18, 28, 0.85);
  --dom-purple-neon: #9b4bff;
  --dom-purple-primary: #7822f5;
  --dom-purple-grad: linear-gradient(135deg, #b366ff 0%, #7822f5 100%);
  --dom-purple-border: #7c2df4;
  --dom-purple-glow: rgba(124, 45, 244, 0.45);
  --dom-text-main: #ffffff;
  --dom-text-desc: #e2e8f0;
  --dom-text-muted: #94a3b8;
  --dom-font: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html,
body {
  background-color: var(--dom-bg);
  color: var(--dom-text-main);
  font-family: var(--dom-font);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Анимация плавного появления страницы */
body.dlya-doma-page {
  animation: domFadeIn 0.5s ease-out both;
}

@keyframes domFadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* Общие контейнеры */
.dom-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}



/* ==========================================================================
   СЕКЦИЯ 1: HERO
   ========================================================================== */

.dom-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--dom-bg);
}

/* Фоновое изображение со станцией Tesla на стене гаража */
.dom-hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.dom-hero__bg-image{
  width: fit-content;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.dom-hero__bg-image--mob
{
  display: none;
}

.dom-hero__bg-shodow
{
  top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    position: absolute;
    background: linear-gradient(101deg, #020306 0%, rgba(7, 9, 14, 0.85) 50%, rgba(7, 9, 14, 0.25) 70%, rgba(7, 9, 14, 0) 90%);
}

.dom-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 0px 60px;
  display: flex;
  align-items: center;
}

.dom-hero__content {
  max-width: 970px;
  display: flex;
  flex-direction: column;
}

/* Линии-цепи (Circuit Lines) */
.circuit-line {
  display: block;
  width: 100%;
  height: 20px;
  overflow: visible;
}

.circuit-line--straight {
  margin: 22px 0 26px;
  max-width: 800px;
}

.circuit-line--mob
{
  display: none;
}

/* Главный заголовок Hero */
.dom-hero__title {
  font-size: 65px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dom-hero__title-white {
  color: #ffffff;
}

.dom-hero__title-purple {
  color: #861df3;
  -webkit-text-fill-color: #861df3;
}

.dom-hero__title-row3 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

/* Описание после заголовка (крупный текст в 3 строки) */
.dom-hero__desc {
  font-size: 28px;
  line-height: 1.5;
  color: var(--dom-text-desc);
  font-weight: 500;
  max-width: 680px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dom-hero__desc-line {
  display: block;
}

/* Карточки преимуществ Hero (без фона, без свечения, крупные иконки #7612a6) */
.dom-hero__features {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 650px;
}

.dom-feature-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
  transition: transform 0.25s ease;
}

.dom-feature-card:hover {
  transform: none;
  border: none;
  box-shadow: none;
  background: transparent;
}

.dom-feature-card__icon-box {
  width: 90px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 20px;
  border: 2.5px solid #7612a6;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7612a6;
}

.dom-feature-card__icon-img {
  max-width: 50px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.dom-feature-card__text {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: #ffffff;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dom-feature-card__text--single {
  white-space: nowrap;
}

/* Разделительная линия между двумя плашками */
.dom-feature-divider {
  height: 2px;
  margin-left: 110px;
  /* Начинается ровно там же, где начинается текст */
  max-width: 535px;
  /* Длина линии ровно до конца текста */
  width: calc(100% - 102px);
  background: linear-gradient(90deg, #861df3 0%, #861df3 75%, rgba(134, 29, 243, 0.4) 90%, transparent 100%);
  border-radius: 2px;
}

/* ==========================================================================
   СЕКЦИЯ 2: ЗАРЯЖАЙТЕСЬ ТАМ, ГДЕ ВАМ УДОБНО
   ========================================================================== */

.dom-section-places {
  padding: 110px 0 90px;
  background: radial-gradient(circle at 50% 20%, rgba(120, 34, 245, 0.08) 0%, transparent 70%);
  position: relative;
}

.dom-section-places__bg
{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.dom-section-places__bg img
{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.dom-section-header {
  text-align: center;
  margin-bottom: 10px;
}

.dom-section-title {
  font-size: 84px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.dom-section-title__white {
  color: #ffffff;
}

.dom-section-title__gradient {
  color: #971dfa;
}

/* Сетка из 2 отдельных фото-блоков с расстоянием 20px */
.dom-places__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 50px;
}

.dom-place-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #000000;
  border: 2px solid #8e1efe;
  box-shadow: 0 0 16px rgba(118, 18, 166, 0.45);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dom-place-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 24px rgba(118, 18, 166, 0.65);
}

.dom-place-card__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 590 / 460;
  overflow: hidden;
  background: #000000;
}

.dom-place-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Наложение с бейджем и описанием на карточке (темносиний градиент снизу на 100px) */
.dom-place-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  padding: 0 24px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 10, 26, 0.75) 35%, #050a1a 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 6px;
  box-sizing: border-box;
}

.dom-pill-badge {
  display: inline-block;
  background: #8e1efe;
  color: #ffffff;
  font-weight: 800;
  font-size: 35px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 20px;
  border-radius: 10px;
  box-shadow: 0 0 14px rgba(138, 23, 194, 0.5);
}

.dom-place-card__text {
  font-size: 18.5px;
  line-height: 1.35;
  color: #ffffff;
  font-weight: 500;
  max-width: 400px;
}

/* Сетка преимуществ (3 карточки) */
.dom-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 10px 1fr 10px 1fr;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 50px;
}

.dom-benefit-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: transparent;
  border-radius: 20px;
  padding: 0;
  box-shadow: none;
  box-sizing: border-box;
  min-height: 92px;
}

.dom-benefit-item:hover {
  transform: none;
  border-color: #861df3;
  box-shadow: none;
}

.dom-benefit-item__icon-box {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  border: 2px solid #7612a6;
  box-shadow: none;
  border-radius: 20px;
}

.dom-benefit-item__icon-img {
  max-width: 70px;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.dom-benefit-item__text {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dom-benefit-item__text--fontSize30
{
  font-size: 30px;
}

/* Вертикальная линия в 80% высоты плашек, размещена по центру */
.dom-benefit-vdivider {
  width: 1px;
  height: 80px;
  background: #861df3;
  box-shadow: 0 0 6px rgba(134, 29, 243, 0.45);
  border-radius: 2px;
  flex-shrink: 0;
  align-self: center;
  margin: auto;
}

/* Нижняя декоративная плашка-линия со списком локаций */
.dom-places__circuit-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  padding: 15px 0;
}

.dom-circuit-wing {
  width: 280px;
  height: 24px;
  flex-shrink: 1;
}

.dom-places__circuit-text {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.dom-circuit-dot {
  color: #861df3;
  margin: 0 12px;
  font-size: 42px;
  line-height: 0.1;
    margin-top: -8px;
  display: inline-block;
}

/* ==========================================================================
   СЕКЦИЯ 3: ОТ ПОДБОРА СТАНЦИИ ДО ПОЛНОГО ЗАПУСКА
   ========================================================================== */

.dom-section-steps {
  padding: 100px 0 120px;
  background: radial-gradient(circle at 40% 50%, rgba(120, 34, 245, 0.07) 0%, transparent 70%);
  position: relative;
}

.dom-section-steps__bg
{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.dom-section-steps__bg-shodow
{
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  position: absolute;
  background: linear-gradient(179deg, rgb(6 8 16) 10%, rgb(0 5 11) 50%, rgb(13 16 34) 80%, rgba(7, 9, 14, 0) 90%);
}

.dom-section-steps__bg img
{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  transform: rotate(180deg);
}
/* Раскладка: Левая колонка (инфо, шаги, гарантия) + Правая колонка (2 фото) */
.dom-steps-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: stretch;
}

/* Левая колонка */
.dom-steps-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 32px;
}

/* Заголовок в левой колонке */
.dom-steps-header {
  margin-bottom: 0;
}

.dom-steps-title {
  font-size: 56px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}

.dom-steps-title__white {
  color: #ffffff;
}

.dom-steps-title__purple {
  color: #a917fe;
}

/* 6 пунктов: 2 подколонки по 3 пункта с разделителем */
.dom-steps-list-wrap {
  display: flex;
  align-items: stretch;
  gap: 28px;
  margin-bottom: 0;
}

.dom-steps-subcol {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 1;
}

/* Вертикальный разделитель */
.dom-steps-vdivider {
  
}

/* Пункт списка (иконка + текст) */
.dom-step-item {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.25s ease;
  position: relative;
}

.dom-step-item:hover {
  transform: translateX(4px);
}

.dom-step-item-vdivider
{
  width: 1px;
  background: linear-gradient(180deg, rgba(134, 29, 243, 1) 0%, rgba(155, 75, 255, 1) 50%, rgba(134, 29, 243, 1) 100%);
  box-shadow: 0 0 10px rgba(155, 75, 255, 0.5);
  border-radius: 2px;
  align-self: stretch;
  left: -20px;
  top: 10%;
  height: 80%;
  position: absolute;
}

.dom-step-item__icon {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 16px;
  border: 1.5px solid #bf1ecc;
  background: #00050b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c084fc;
  transition: all 0.3s ease;
}

.dom-step-item__icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.dom-step-item__text {
  font-size: 18.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

/* Баннер Гарантии (внизу левой колонки) */
.dom-warranty-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, rgba(28, 20, 52, 0.9) 0%, rgba(10, 12, 20, 0.95) 100%);
  border: 2px solid var(--dom-purple-border);
  border-radius: 22px;
  padding: 22px 30px;
  box-shadow: 0 0 32px var(--dom-purple-glow), inset 0 0 22px rgba(120, 34, 245, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dom-warranty-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(155, 75, 255, 0.6), inset 0 0 28px rgba(120, 34, 245, 0.28);
}

.dom-warranty-card__icon {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 14px rgba(155, 75, 255, 0.65));
}

.dom-warranty-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dom-warranty-card__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dom-warranty-card__sub {
  font-size: 45px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}

.dom-warranty-card__main {
  font-size: 45px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  line-height: 1.15;
}

/* Правая колонка: 2 фото */
.dom-steps-gallery {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 22px;
  height: 750px;
}

.dom-gallery-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--dom-purple-border);
  box-shadow: 0 0 28px var(--dom-purple-glow);
  background: #080a10;
  min-height: 0;
}

.dom-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.dom-gallery-card:hover img {
  transform: scale(1.025);
}


@media (max-width: 1200px) {

  .dom-hero__container {
    padding: 120px 60px 60px;
  }

}

/* ==========================================================================
   АДАПТИВНОСТЬ: МОБИЛЬНЫЕ (max-width: 700px)
   ========================================================================== */

@media (max-width: 700px) {

  .dom-container {
    padding: 0 16px;
  }

  /* Hero Mobile */
  .dom-hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 60px;
    align-items: flex-start;
  }

  .dom-hero {
    min-height: 1200px;
  }

  .dom-burger
  {
    gap: 6px;
    width: 50px;
    height: 50px;
  }

  .dom-burger span
  {
    width: 40px;
    height: 4px;
  }

  .dom-logo
  {
    height: 110px;
  }

  .dom-hero__bg-shodow {
    display: none;
  }

  .dom-hero__bg-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: none;
  }

  .dom-hero__bg-image--mob {
    display: block;
  }

  .dom-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background-size: cover;
    background-position: right 60%;
    opacity: 0.9;
  }

  .dom-hero__container {
    padding: 20px 20px 30px;
  }

  .dom-hero__content {
    max-width: 100%;
  }

  .circuit-line--straight {

    display: none;
  }

  .circuit-line--mob {
    max-width: 300px;
    margin: 16px 0 20px;
  }


  .dom-hero__title {
    font-size: 48px;
    line-height: 1.15;
    gap: 4px;
  }

  .dom-hero__title-row3 {
    gap: 10px;
  }

  .dom-hero__desc {
    font-size: 22px;
    line-height: 1.45;
    margin-bottom: 40px;
    gap: 2px;
  }

  .dom-hero__features {
    gap: 5px;
    width: 100%;
  }

  .dom-feature-card {
    padding: 0;
    gap: 16px;
  }

  .dom-feature-card__icon-box {
    width: 70px;
    height: 70px;
    border-radius: 16px;
  }

  .dom-feature-card__icon-img {
    max-width: 50px;
    max-height: 50px;
  }

  .dom-feature-card__text {
    font-size: 20px;
    max-width: 300px;
  }

  .dom-feature-card__text--single {
    white-space: normal;
  }

  .dom-feature-divider {
    margin-left: 86px;
    max-width: 290px;
    width: calc(100% - 74px);
  }

  /* Section 2 Mobile */
  .dom-section-places {
    padding: 60px 0 50px;
  }

  .dom-section-header {
    margin-bottom: 5px;
  }

  .dom-section-title {
    font-size: 55px;
    line-height: 1.15;
  }

  /* На мобилке карточки раздельные вертикально */
  .dom-places__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
  }

  .dom-place-card {
    border-radius: 20px;
  }

  .dom-place-card__overlay {
    height: 95px;
    padding: 0 16px 12px;
    gap: 5px;
  }

  .dom-place-card__image-wrap {
    height: 400px;
  }

  .dom-pill-badge {
    font-size: 28px;
    padding: 4px 15px;
  }

  .dom-place-card__text {
    font-size: 18.5px;
    line-height: 1.3;
  }

  /* На мобилке 3 плашки преимуществ идут горизонтально в ряд, как в 2 секция моб.jpg */
  .dom-benefits-grid {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 32px;
  }

  .dom-benefit-item {
    flex-direction: column;
    align-items: center;
    justify-content: start;
    text-align: center;
    gap: 8px;
    padding: 12px 6px;
    border-radius: 14px;
    border-width: 1.5px;
    min-height: 110px;
  }

  .dom-benefit-item__icon-box {
    width: 70px;
    height: 70px;
    border-radius: 10px;
  }

  .dom-benefit-item__icon-img {
    max-width: 50px;
    max-height: 50px;
  }

  .dom-benefit-item__text {
    font-size: 15px;
    line-height: 1.25;
    text-align: center;
  }

  .dom-benefit-vdivider {
    height: 88px;
    width: 1.5px;
  }

  .dom-places__circuit-bar {
    gap: 12px;
    padding: 10px 0;
  }

  .dom-circuit-wing {
    width: 100%;
    height: 16px;
  }

  .dom-places__circuit-text {
    font-size: 15px;
    letter-spacing: 0.08em;
  }

  .dom-circuit-dot {
    margin: 0 4px 3px;
    font-size: 40px;
  }

  /* Section 3 Mobile */
  .dom-section-steps {
    padding: 55px 0 65px;
  }

  .dom-steps-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .dom-steps-info {
    display: contents;
  }

  .dom-steps-header {
    order: 1;
    margin-bottom: 22px;
  }

  .dom-steps-title {
    font-size: 50px;
    line-height: 1.15;
    text-align: center;
  }

  .dom-steps-list-wrap {
    order: 2;
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
  }

  .dom-steps-subcol {
    gap: 14px;
  }

  .dom-step-item {
    gap: 10px;
  }

  .dom-step-item__icon {
    width: 80px;
    height: 80px;
    border-radius: 11px;
    border-width: 1.5px;
  }

  .dom-step-item__icon img {
    width: 50px;
    height: 50px;
  }

  .dom-step-item-vdivider
  {
    background: #ab05eb;
  }

  .dom-step-item__text {
    font-size: 17px;
    line-height: 1.25;
  }

  .dom-steps-vdivider {
    width: 1.5px;
  }

  .dom-steps-gallery {
    order: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 0px;
    height: 450px;
  }

  .dom-gallery-card {
    border-radius: 16px;
    aspect-ratio: 4 / 5;
    flex: none;
  }

  .dom-warranty-card {
    order: 4;
    padding: 16px 16px;
    gap: 14px;
    border-radius: 16px;
  }

  .dom-warranty-card__icon {
    width: 105px;
    height: 120px;
  }

  .dom-warranty-card__sub {
    font-size: 35px;
  }

  .dom-warranty-card__main {
    font-size: 35px;
  }
}