/* ==========================================================================
   Voltline - Новая Hero секция (Desktop, Tablet, Mobile)
   Отдельный независимый хедер и секция под макеты
   ========================================================================== */

:root {
  --novaya-bg: #07090e;
  --novaya-purple-glow: #9d4edd;
  --novaya-purple-primary: #7822f5;
  --novaya-purple-secondary: #8a2be2;
  --novaya-purple-grad: linear-gradient(135deg, #b366ff 0%, #7822f5 100%);
  --novaya-purple-border: #7c2df4;
  --novaya-purple-shadow: rgba(120, 34, 245, 0.45);
  --novaya-text-main: #ffffff;
  --novaya-text-desc: #e2e8f0;
  --novaya-font: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html, body {
  height: 100%;
}

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

/* ==========================================================================
   Отдельный независимый хедер страницы «Новая»
   ========================================================================== */

.novaya-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 48px;
  background: transparent;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.novaya-header.scrolled {
  position: fixed;
  background: rgba(7, 9, 14, 0.92);
  backdrop-filter: blur(14px);
  padding: 14px 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.novaya-header__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Увеличенный логотип по макету */
.novaya-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  z-index: 102;
}

.novaya-logo img {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.novaya-logo:hover img {
  transform: scale(1.02);
}

/* Навигация в десктопном хедере */
.novaya-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.novaya-nav__link {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.novaya-nav__link:hover {
  color: #c084fc;
  text-shadow: 0 0 12px rgba(192, 132, 252, 0.5);
}

/* Иконки в правой части (Профиль, Корзина) */
.novaya-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.novaya-icon-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.novaya-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #c084fc;
  transform: translateY(-1px);
}

.novaya-icon-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

/* Кнопка бургер-меню (Планшет и Мобильные) */
.novaya-burger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5.5px;
  z-index: 102;
  padding: 0;
}

.novaya-burger span {
  display: block;
  width: 28px;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.25s ease-in-out;
}

.novaya-burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.novaya-burger.active span:nth-child(2) {
  opacity: 0;
}

.novaya-burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Мобильное выпадающее меню */
.novaya-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 9, 14, 0.98);
  backdrop-filter: blur(20px);
  z-index: 101;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 30px;
}

.novaya-mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.novaya-mobile-menu .novaya-nav__link {
  font-size: 18px;
  letter-spacing: 0.08em;
}

.novaya-mobile-menu__contacts {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--novaya-text-desc);
}

.novaya-mobile-menu__phone {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-top: 8px;
}

/* ==========================================================================
   Hero Section - PC Layout
   ========================================================================== */

.novaya-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: start;
  overflow: hidden;
  background-color: #07090e;
}

/* Задний фон: выравнивание по правому краю (0 от края на ПК), 
   без лишнего затемнения - дом, гараж, машина и станции яркие и чистые */
.novaya-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.novaya-hero__bg-image
{
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  position: absolute;
    object-position: right;
}

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

.novaya-hero__bg-shadow
{
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  position: absolute;
  background: 
    linear-gradient(90deg, 
      rgba(7, 9, 14, 0.88) 0%, 
      rgba(7, 9, 14, 0.70) 26%, 
      rgba(7, 9, 14, 0.18) 42%, 
      rgba(7, 9, 14, 0) 54%);
}

/* Контейнер контента: подтянут ближе к хедеру */
.novaya-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15vh 0px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.novaya-hero__content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
}

/* Верхняя линия над заголовком */
.circuit-line {
  display: block;
  width: 100%;
  height: 20px;
  overflow: visible;
}

.circuit-line--top {
  max-width: 580px;
  margin-bottom: 16px;
}

/* Прямая линия под заголовком */
.circuit-line--middle {
  margin: 16px 0 16px;
  max-width: 380px;
}

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

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

.novaya-hero__title-gradient {
  color: #8629ff;
}

/* Описание */
.novaya-hero__desc {
  font-size: 25px;
  line-height: 1.55;
  color: var(--novaya-text-desc);
  font-weight: 500;
  max-width: 550px;
}

/* Кнопки CTA */
.novaya-hero__buttons {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}

.novaya-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 36px;
  border-radius: 8px;
  font-family: var(--novaya-font);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
}

/* Кнопка «ДЛЯ ДОМА» */
.novaya-btn--primary {
  background: #8228fc;
  color: #ffffff;
  box-shadow: 0 4px 20px var(--novaya-purple-shadow), 0 0 30px rgba(120, 34, 245, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.novaya-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(120, 34, 245, 0.7), 0 0 45px rgba(168, 85, 247, 0.5);
  filter: brightness(1.08);
}

.novaya-btn--primary:active {
  transform: translateY(0);
}

/* Кнопка «ДЛЯ БИЗНЕСА» */
.novaya-btn--secondary {
  background: rgba(7, 9, 14, 0.55);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 2px solid var(--novaya-purple-border);
  box-shadow: inset 0 0 10px rgba(120, 34, 245, 0.15);
}

.novaya-btn--secondary:hover {
  background: rgba(120, 34, 245, 0.18);
  border-color: #a855f7;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(120, 34, 245, 0.4), inset 0 0 14px rgba(120, 34, 245, 0.25);
}

.novaya-btn--secondary:active {
  transform: translateY(0);
}

@media (max-width: 1280px) {

  .novaya-hero__container
  {
    padding: 15vh 40px 40px;
  }

  .novaya-hero__bg-shadow
  {
        background: linear-gradient(124deg, rgba(7, 9, 14, 0.88) 0%, rgba(7, 9, 14, 0.70) 35%, rgba(7, 9, 14, 0.18) 50%, rgba(7, 9, 14, 0) 54%);
  }

  .novaya-hero__title
  {
    font-size: 50px;
  }

  .circuit-line--top
  {
    max-width: 480px;
  }

  .novaya-projects__photo-card
  {
    height: 400px;
  }

}

/* ==========================================================================
   MOBILE BREAKPOINT (width <= 700px)
   ========================================================================== */

@media (max-width: 700px) {
  .novaya-header {
    padding: 14px 20px;
  }

  .novaya-header.scrolled {
    padding: 10px 20px;
  }

  .novaya-logo img {
    height: 40px;
  }

  .novaya-nav,
  .novaya-header__actions {
    display: none;
  }

  .novaya-burger {
    display: flex;
  }

  /* Mobile Hero Container */
  .novaya-hero {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: stretch;
  }

  .novaya-hero__bg {
    /* Станции по центру экрана, умеренное затемнение только сверху и снизу */
    background-position: 55% center;
    
  }

  .novaya-hero__bg-image
  {
    display: none;
    object-fit: cover;
  }

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

  .novaya-hero__bg-shadow {
    background: linear-gradient(163deg, rgba(7, 9, 14, 0.88) 0%, rgba(7, 9, 14, 0.70) 35%, rgba(7, 9, 14, 0.18) 50%, rgba(7, 9, 14, 0) 54%);
  }

  .novaya-hero__container {
    padding: 120px 20px 20px;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
  }

  .novaya-hero__content {
    max-width: 100%;
    margin-top: 4px;
    flex-shrink: 0;
  }

  .novaya-hero__title {
    font-size: 45px;
    line-height: 1.18;
    letter-spacing: -0.01em;
  }

  .circuit-line--top
  {
    display: block;
    max-width: 300px;
  }

  .novaya-hero__title-gradient {
    white-space: normal;
  }

  .circuit-line--middle {
    margin: 10px 0 12px;
    max-width: 250px;
  }

  .novaya-hero__desc {
    font-size: 15.5px;
    line-height: 1.48;
    max-width: 380px;
  }

  /* Кнопки прижаты к низу экрана */
  .novaya-hero__buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    flex-shrink: 0;
  }

  .novaya-btn {
    width: 100%;
    padding: 15px;
    font-size: 25px;
    border-radius: 8px;
  }
}

/* Экстра-маленькие мобильные экраны */
@media (max-width: 375px) {
  .novaya-hero__container {
    padding: 65px 16px 16px;
  }

  .novaya-hero__title {
    font-size: 25px;
  }

  .novaya-hero__desc {
    font-size: 12.5px;
  }

  .novaya-btn {
    padding: 13px;
    font-size: 13px;
  }
}

/* ==========================================================================
   Section 2: Реализованные проекты (Балаково, ТЦ «Оранж»)
   Desktop, Tablet и Mobile стили по макетам
   ========================================================================== */

.novaya-projects {
  position: relative;
  background-color: var(--novaya-bg);
  padding: 90px 48px 100px;
  overflow: hidden;
}

.novaya-projects__bg
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  z-index: 1;
}

.novaya-projects__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Заголовок секции 2 */
.novaya-projects__header {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.novaya-projects__title {
  font-size: 46px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
}

.novaya-projects__title-main {
  color: #ffffff;
}

.novaya-projects__title-accent {
  color: #901aff;
}

/* Строка локации со схемными "крыльями" */
.novaya-projects__location-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
  width: 100%;
  max-width: 800px;
}

.proj-wing {
  width: 160px;
  height: 16px;
  overflow: visible;
  flex-shrink: 0;
}

.novaya-projects__location {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Характеристики / Спецификации проекта */
.novaya-projects__features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.novaya-projects__feature-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--novaya-text-desc);
}

.novaya-projects__feature-item:first-child .novaya-feat-dot
{
  display: none;
}

.novaya-feat-dot {
  color: #a855f7;
  font-size: 40px;
  line-height: 1;
  margin-top: -7px;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

/* Рамка галереи с неоновым фиолетовым свечением (ПК и Планшет) */
.novaya-projects__gallery-frame {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  background-color: #0c0f17;
}

.novaya-projects__photo-card {
  position: relative;
  overflow: hidden;
  height: 520px;
  border-radius: 20px;
  width: 100%;
  box-shadow: 0 0 30px rgba(120, 34, 245, 0.1);
  border: 2px solid #7c2df4;
}

.novaya-projects__photo-card:first-child {
  border-right: 1px solid rgba(124, 45, 244, 0.3);
}

.novaya-projects__photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.novaya-projects__photo-card:hover img {
  transform: scale(1.03);
}

/* Нижняя декоративная плата */
.novaya-projects__bottom-circuit {
  margin-top: 32px;
  width: 100%;
  max-width: 840px;
}

.novaya-bottom-svg {
  width: 100%;
  height: 24px;
  display: block;
  overflow: visible;
}

.novaya-projects__location-bar
{
  position: relative; 
}

.novaya-projects__location-bar-line
{
  width: 240px;
  height: 2px;
  background: linear-gradient(90deg, transparent, 20% , #79199e );
  position: absolute;
  left: -100px;
  top: 50%;
}

.novaya-projects__location-bar-line:last-child
{
  right: -100px;
  left: auto;
  transform: rotate(180deg);
}

.novaya-projects__location-bar-line::before
{
  content: "";
  position: absolute;
  top: -8px;
  right: -18px;
  width: 16px;
  height: 16px;
  background: none;
  border-radius: 50px;
  border: 2px solid #79199e;
}

.novaya-projects__location-bar--bottom
{
  margin-top: 60px;
}

/* ==========================================================================
   Section 2 - Mobile Styles (width <= 700px)
   Точное соответствие «2 секция макет моб.jpg»
   ========================================================================== */

@media (max-width: 700px) {
  .novaya-projects {
    padding: 50px 20px 60px;
  }

  /* На моб заголовок в 2 строки: белая РЕАЛИЗОВАННЫЕ, неоновая ПРОЕКТЫ */
  .novaya-projects__title {
    flex-direction: column;
    gap: 0;
    font-size: 50px;
    line-height: 1.16;
    margin-bottom: 14px;
  }

  .novaya-projects__title-accent {
    background: var(--novaya-purple-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 16px rgba(168, 85, 247, 0.45));
  }

  .novaya-projects__location-bar {
    gap: 10px;
    margin-bottom: 14px;
  }

  .novaya-projects__location {
    font-size: 16px;
    white-space: normal;
  }

  .proj-wing {
    width: 60px;
  }

  /* Спецификации на моб вертикально с фиолетовыми точками */
  .novaya-projects__features {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
  }

  .novaya-projects__feature-item {
    font-size: 14.5px;
  }

  /* По макету моб: две карточки одна под другой, у каждой своя неоновая рамка! */
  .novaya-projects__gallery-frame {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .novaya-projects__photo-card {
    height: 270px;
    border: 2px solid #7c2df4;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(124, 45, 244, 0.4);
    border-right: 2px solid #7c2df4;
  }

  .novaya-projects__bottom-circuit {
    margin-top: 24px;
    max-width: 100%;
  }
}

/* Panel section layout on novaya landing */
.novaya-page .panel {
  height: auto !important;
  min-height: auto;
  padding: 90px 0;
  overflow: visible;
}

@media (max-width: 768px) {
  .novaya-page .panel {
    padding: 60px 0;
  }
}

