/* ============================================================
   hero.css — Hero-секция главной страницы
   ============================================================ */

.hero {
  position: relative;
  height: 92vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

@media (min-width: 992px) {
  .hero { height: 100vh; }
}

/* ── Слайдер фактур ──────────────────────────────────────── */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out-cubic);
  will-change: opacity;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide:nth-child(1) {
  background-image: url('../img/hero/hero-slide-1.jpg');
  background-size: cover;
  background-position: center;
}
.hero-slide:nth-child(2) {
  background-image: url('../img/hero/hero-slide-2.jpg');
  background-size: cover;
  background-position: center;
}
.hero-slide:nth-child(3) {
  background-image: url('../img/hero/hero-slide-3.jpg');
  background-size: cover;
  background-position: center;
}

/* Оверлей градиент */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
          to bottom,
          rgba(28, 26, 24, .82) 0,
          rgba(28, 26, 24, .82) 4.8rem,
          rgba(28, 26, 24, 0.15) 5.2rem,
          rgba(28, 26, 24, .25) 100%
  );
}

.about-hero.hero__inner__overlay::before {
  width: 100%;
  background: linear-gradient(
           to bottom,
           rgba(28, 26, 24, .82) 0,
           rgba(28, 26, 24, .82) 4.8rem,
           rgba(28, 26, 24, 0.15) 5.2rem,
           rgba(28, 26, 24, .15) 100%
   );
}

.page-hero.hero__inner__overlay::before {
  width: 100%;
  background: linear-gradient(
           to bottom,
           rgba(28, 26, 24, .82) 0,
           rgba(28, 26, 24, .82) 4.8rem,
           rgba(28, 26, 24, 0.15) 5.2rem,
           rgba(28, 26, 24, .15) 100%
   );
}

/* ── Контент Hero ────────────────────────────────────────── */
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(2.5rem, 6vh, 5rem);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
}

@media (min-width: 992px) {
  .hero__inner {
    grid-template-columns: 1fr auto;
    gap: 3rem;
  }
}

.hero__text {
  max-width: 700px;
}

.hero__eyelet {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--ff-accent);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1.25rem;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
}
.hero__eyelet::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--c-gold);
}

.hero__title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  color: #F5EFE6;
  margin-bottom: 1.25rem;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}

.hero__title span {
  display: block;
  color: var(--c-gold);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 400;
  color: rgba(240,234,224,.78);
  margin-bottom: 2rem;
  max-width: 55ch;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
}

/* ── Frosted info-блок (desktop) ─────────────────────────── */
.hero__info-block {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(245,241,236,.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201,162,107,.2);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  min-width: 240px;
}

@media (min-width: 992px) {
  .hero__info-block { display: flex; }
}

.hero__info-label {
  font-family: var(--ff-accent);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: .25rem;
}

.hero__info-val {
  font-family: var(--ff-mono);
  font-size: 1rem;
  font-weight: 500;
  color: #F0EAE0;
}

.hero__info-divider {
  height: 1px;
  background: rgba(201,162,107,.2);
}

.hero__socials {
  display: flex;
  gap: .75rem;
}

.hero__social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(240,234,224,.7);
  font-size: .9375rem;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.hero__social-link:hover {
  background: var(--c-accent);
  color: #fff;
}

/* ── Слайдер-прогресс ───────────────────────────────────── */
.hero__progress {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: .5rem;
}

.hero__dot {
  width: 2rem;
  height: 2px;
  background: rgba(255,255,255,.35);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color var(--t-fast), width var(--t-base);
  border: none;
  padding: 0;
}
.hero__dot.is-active {
  width: 3.5rem;
  background: var(--c-gold);
}

/* ── FAB (mobile) ────────────────────────────────────────── */
.fab-group {
  position: fixed;
  bottom: 1.5rem;
  right: 1.25rem;
  z-index: var(--z-fab);
  display: flex;
  flex-direction: column;
  gap: .625rem;
  align-items: flex-end;
}

@media (min-width: 992px) { .fab-group { display: none; } }

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  border: none;
  cursor: pointer;
}
.fab:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(0,0,0,.3); }

.fab--phone {
  background: #25D366;
  color: #fff;
}

.fab--wa {
  background: #25D366;
  color: #fff;
}

.fab--vk {
    background: #0d6efd;
    color: #fff;
}