/**
 * Aura Show 2026 — стили главной страницы
 * Адаптация под Flatsome / miloclub
 */

/* Плавная прокрутка по якорям (кнопка «УЗНАТЬ БОЛЬШЕ») */
html {
  scroll-behavior: smooth;
}

body.page-template-page-aurashow-2026-php {
  scroll-behavior: smooth;
}

#ash-about {
  scroll-margin-top: 1.5rem;
  scroll-padding-top: 1.5rem;
}

/* Фон всей страницы */
body.page-template-page-aurashow-2026-php .aurashow-2026-home,
.aurashow-2026-home {
  background-color: #dae7f7;
}

/* --- Переменные --- */
.aurashow-2026-home {
  --ash-primary: #c00;
  --ash-primary-bg: #b30000;
  --ash-gray: #e5e5e5;
  --ash-gray-dark: #c0c0c0;
  --ash-text: #111;
  --ash-text-on-dark: #fff;
  --ash-accent-blue: #1a73e8;
  --ash-page-bg: #dae7f7;
  --ash-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ash-section-padding: clamp(2rem, 5vw, 4rem);
  --ash-container: min(1200px, 100% - 2rem);
  --ash-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ash-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ash-transition: 0.6s var(--ash-ease-out);
  --ash-line-width: 4px;
}

.aurashow-2026-home *,
.aurashow-2026-home *::before,
.aurashow-2026-home *::after {
  box-sizing: border-box;
}

/* --- Состояния анимации: контент всегда с opacity 0 до появления --- */
.ash-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ash-ease-out), transform 1s var(--ash-ease-out), filter 1s var(--ash-ease-out);
  will-change: opacity, transform;
}

/* Типы появления */
.ash-animate[data-animate="fade"] {
  transform: none;
}
.ash-animate[data-animate="fade-up"] {
  transform: translateY(28px);
}
.ash-animate[data-animate="fade-down"] {
  transform: translateY(-28px);
}
.ash-animate[data-animate="slide-left"] {
  transform: translateX(40px);
}
.ash-animate[data-animate="slide-right"] {
  transform: translateX(-40px);
}
.ash-animate[data-animate="scale"] {
  transform: scale(0.92);
}
.ash-animate[data-animate="scale-up"] {
  transform: translateY(20px) scale(0.96);
}
.ash-animate[data-animate="blur-in"] {
  transform: translateY(16px);
  filter: blur(8px);
}

/* Видимое состояние */
.ash-animate.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
  filter: blur(0);
}

/* Длительность (опционально) */
.ash-animate[data-duration="400"] { transition-duration: 0.4s; }
.ash-animate[data-duration="800"] { transition-duration: 0.8s; }
.ash-animate[data-duration="1000"] { transition-duration: 1s; }

/* Каскад: задержки задаются JS для .ash-stagger-container */
.ash-stagger-container .ash-animate {
  transition-delay: 0ms;
}

/* --- Вертикальная линия (progress bar): одна разметка для всех --- */
.ash-line-wrap {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--ash-line-width);
  overflow: hidden;
  flex-shrink: 0;
}

.ash-line-progress {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--ash-text);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 2.5s var(--ash-ease-out);
}

.ash-line-wrap.is-visible .ash-line-progress {
  transform: scaleY(1);
}

/* Когда линия выходит из вьюпорта — обратная анимация (уже через снятие .is-visible) */

/* --- Hero: на весь экран, фон + оверлей --- */
.ash-hero-full {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ash-font);
  background-image: var(--ash-hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.ash-hero__overlay {
    position: absolute;
    inset: 0;
    background-color: #213c5a;
    opacity: 0.5;
    pointer-events: none;
}

.ash-hero__content {
  position: relative;
  z-index: 1;
  padding: var(--ash-section-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 90vw;
}

.ash-hero__logo {
  display: block;
  margin-bottom: 0.75rem;
  line-height: 0;
}

.ash-hero__logo img {
  width: 35vw;
  height: auto;
  display: block;
  object-fit: contain;
}

.ash-hero__subtitle {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 700;
  color: var(--ash-text);
  margin: 0 0 0.75em;
  letter-spacing: 0.02em;
}

.ash-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1em 2em;
  margin-bottom: 1rem;
  font-family: var(--ash-font);
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash-gray);
  text-decoration: none;
  background: transparent;
  border: 2px solid var(--ash-gray);
  border-radius: 8px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.ash-hero__cta:hover {
  background: var(--ash-gray);
  color: var(--ash-text);
}

.ash-hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--ash-text);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 700;
  text-decoration: none;
}

.ash-hero__phone-icon {
  width: 1.2em;
  height: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  padding: 0.15em;
}

.ash-hero__phone-icon svg { width: 100%; height: 100%; }

/* --- Заголовки разделов: один шрифт, толстые, uppercase --- */
.aurashow-2026-home .ash-about__title,
.aurashow-2026-home .ash-services__main-title,
.aurashow-2026-home .ash-partners__title,
.aurashow-2026-home .ash-cta__heading{
  font-family: var(--ash-font);
  font-weight: 800;
  font-size: 8vw !important;
  text-transform: uppercase;
  word-break: break-word;
  line-height: 1.1;
  margin: 0;
}
.ash-cta__contacts-label{
  font-size: clamp(1.5rem, 2vw, 3rem) !important;

}

/* --- О нас --- */
.ash-about {
  background: transparent;
  padding: var(--ash-section-padding) 0;
}

.ash-about__inner {
  max-width: var(--ash-container);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  gap: 3rem;
  align-items: center;
}

.ash-about__text {
  position: relative;
  padding-left: calc(1rem + var(--ash-line-width));
  min-width: 0;
}

.ash-about__text .ash-about__line.ash-line-wrap {
  width: var(--ash-line-width);
}

.ash-about__title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--ash-text);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.ash-about__content {
  font-family: var(--ash-font);
  color: #1a1a1a;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.7;
  margin: 0;
}

.ash-about__content p { margin: 0 0 1em; }
.ash-about__content p:last-child { margin-bottom: 0; }

.ash-about__image-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.ash-about__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 320px;
}

.ash-about__image-placeholder {
  min-height: 360px;
  background: linear-gradient(135deg, var(--ash-gray) 0%, var(--ash-gray-dark) 100%);
}

/* --- Услуги: ЧТО МЫ МОЖЕМ (первый блок) --- */
.ash-services {
  background: transparent;
  padding: var(--ash-section-padding) 0;
}

.ash-services__inner {
  max-width: var(--ash-container);
  margin: 0 auto;
  padding: 0 1rem;
}

.ash-services__main-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--ash-text);
  margin: 0 0 2rem;
  font-family: var(--ash-font);
}

.ash-services__title-line.ash-line-wrap {
  position: relative;
  width: var(--ash-line-width);
  min-height: 1.2em;
  align-self: stretch;
  flex-shrink: 0;
}

.ash-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ash-service {
  font-family: var(--ash-font);
  position: relative;
  padding-left: calc(1rem + var(--ash-line-width));
  display: flex;
  flex-direction: column;
}

.ash-service__line.ash-line-wrap {
  width: var(--ash-line-width);
}

.ash-service__image-wrap {
  order: 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 4/3;
}

.ash-service__title {
  order: 2;
}

.ash-service__text {
  order: 3;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ash-text);
  margin: 0;
}

.ash-service__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ash-service__image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: var(--ash-gray);
}

.ash-service__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ash-text);
  margin: 0 0 0.5rem;
}

/* Второй блок услуг (LED, Спецэффекты, Шатры) */
.ash-services__grid--three {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ash-service-block {
  font-family: var(--ash-font);
  position: relative;
  padding-left: calc(1rem + var(--ash-line-width));
  display: flex;
  flex-direction: column;
}

.ash-service-block__line.ash-line-wrap {
  width: var(--ash-line-width);
}

.ash-service-block__image-wrap {
  order: 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 16/10;
}

.ash-service-block__title {
  order: 2;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ash-text);
  margin: 0 0 1rem;
}

.ash-service-block__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ash-service-block__image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: var(--ash-gray);
}

.ash-service-block__text {
  order: 3;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ash-text);
  margin: 0;
}

/* --- Партнёры --- */
.ash-partners {
  background: transparent;
  padding: var(--ash-section-padding) 0;
  min-height: 50vh;
}

.ash-partners__inner {
  max-width: var(--ash-container);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 767px) {
  .ash-partners__inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .ash-partners__title {
    text-align: left;
    max-width: 100%;
    width: 100%;
  }

  .ash-partners__slider-wrap {
    margin-top: 0.5rem;
  }
}

.ash-partners__title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--ash-text);
  margin: 0;
  line-height: 1.1;
  font-family: var(--ash-font);
  
  width: 50vw;
}

/* Слайдер партнёров: десктоп — вертикальный скролл, мобильный — горизонтальный */
.ash-partners__slider-wrap {
  width: 100%;
  min-height: 200px;
}

.ash-partners-swiper {
  width: 100%;
  height: 100%;
  margin-top: 2.5em;
}

.ash-partners-swiper .swiper-slide {
  display: block;
  height: auto;
  width: 100% !important;
  margin-right: 0 !important;
}

.ash-partners__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.5rem;
  row-gap: 1.25rem;
  height: 100%;
}

.ash-partners__cell {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .ash-partners__slider-wrap {
    width: 50vw;
    height: stretch;
  }
}

.ash-partners__slide-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  min-height: 80px;
  width: 100%;
}

.ash-partners__slide-inner img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
  transition: filter 0.3s, opacity 0.3s;
}

.ash-partners__slide-inner:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.ash-partners__slide-inner.ash-partners__item-placeholder {
  background: var(--ash-gray);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--ash-text);
}

/* --- CTA Увидимся --- */
.ash-cta {
  padding: 0;
  font-family: var(--ash-font);
}

.ash-cta__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  min-height: 70vh;
}

.ash-cta__media {
  position: relative;
  border-radius: 0 20px 20px 0;
  overflow: hidden;
  background-image: var(--ash-cta-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ash-cta__image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

.ash-cta__image-placeholder {
  min-height: 400px;
  background: linear-gradient(135deg, #2a2a3e 0%, #1a1a2e 100%);
  opacity: 0.2;
}

.ash-cta__contacts-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: var(--ash-text-on-dark);
}

.ash-cta__contacts-label {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.ash-cta__contact {
  display: inline-flex;
  align-items: center;
  color: var(--ash-text-on-dark);
  text-decoration: none;
  font-weight: 600;
  margin-right: 1.5rem;
  margin-bottom: 0.25rem;
}
.ash-cta__contact:hover {
  color: var(--ash-gray);
}

.ash-cta__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  font-size: 0;
}

.ash-cta__contact-icon svg {
  width: 18px;
  height: 18px;
}

.ash-cta__contact-text {
  font-size: 0.95rem;
}

.ash-cta__content {
  background: transparent;
  padding: var(--ash-section-padding);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
}

.ash-cta__heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--ash-accent-blue);
  margin: 0 0 0.5em;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.ash-cta__text {
  font-size: clamp(0.7rem, 1.2vw, 0.8rem);
  color: var(--ash-text);
  margin: 0;
  max-width: 280px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* --- Адаптив: планшет --- */
@media (max-width: 1024px) {
  .ash-hero-full { min-height: 100vh; }
  .ash-hero__logo img { width: 66vw; }
  .ash-about__inner { gap: 2rem; }
  .ash-services__grid,
  .ash-services__grid--three {
    grid-template-columns: 1fr;
  }
  .ash-partners__inner {
    flex-direction: column;
  }
  .ash-partners__title{
    width: max-content;
  }
  .ash-cta__inner {
    grid-template-columns: 1fr;
  }
  .ash-cta__content {
    align-items: center;
    text-align: center;
  }
  .ash-cta__text { max-width: none; }
}

/* --- Адаптив: мобильные --- */
@media (max-width: 768px) {
  .ash-hero-full {
    min-height: 100vh;
  }

  .ash-hero__logo img {
    width: 80vw;
  }

  .ash-about__inner {
    flex-direction: column;
  }
  .ash-partners__title{
    width: max-content;
  }
  .ash-about__text {
    padding-left: calc(0.75rem + var(--ash-line-width));
  }

  .ash-about__image-wrap {
    border-radius: 12px;
  }

  .ash-services__main-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .ash-services__title-line.ash-line-wrap {
    width: var(--ash-line-width);
    min-height: 2em;
    align-self: flex-start;
  }

  .ash-partners__slider-wrap {
    min-height: 180px;
  }

  .ash-cta__media {
    border-radius: 0 12px 12px 0;
  }

  .ash-cta__contacts-overlay {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .ash-hero__title { font-size: 2rem; }
  .aurashow-2026-home .ash-about__title,
  .aurashow-2026-home .ash-services__main-title,
  .aurashow-2026-home .ash-partners__title,
  .aurashow-2026-home .ash-cta__heading ,
  .ash-cta__contacts-label
  { font-size: 8vw !important; }
}

.page-template-page-aurashow-2026 #header, .page-template-page-aurashow-2026 #footer{
  display: none;
}