/* ==========================================================================
   Стили только для главной страницы (hero, отзывы, галерея-тизер, карта)
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22,36,28,.5);
  transition: background .6s ease;
  pointer-events: none;
}
.hero.is-accent-moment .hero-overlay { background: rgba(22,36,28,.32); }
.hero-overlay--grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,22,17,.85) 0%, rgba(15,22,17,.15) 55%, rgba(15,22,17,.35) 100%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 20px) 0 100px;
  width: 100%;
}
@media (min-width: 1024px) {
  .hero__content { padding-bottom: 48px; }
}
.hero__kicker {
  color: var(--brass);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  display: block;
}
.hero__brandname {
  font-family: var(--font-display);
  font-size: clamp(8.5vw, 9vw, 6.2rem);
  line-height: 1.05;
  color: var(--cream);
  margin-top: 8px;
}
@media (min-width: 768px) { .hero__brandname { font-size: clamp(4rem, 9vw, 8.5rem); } }

.hero__title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(5.5vw, 6vw, 4rem);
  color: var(--brass);
  overflow: hidden;
  margin-top: 8px;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line span {
  display: block;
  transform: translateY(110%);
  animation: line-up .8s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__title .line:nth-child(1) span { animation-delay: .15s; }
.hero__title .line:nth-child(2) span { animation-delay: .32s; }
@keyframes line-up { to { transform: translateY(0); } }
@media (min-width: 768px) { .hero__title { font-size: clamp(2.6rem, 6vw, 5.5rem); } }

.hero__subtitle {
  color: var(--text);
  font-size: 1.05rem;
  margin: 18px 0 30px;
  opacity: 0;
  animation: fade-in .8s ease forwards;
  animation-delay: .7s;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: fade-in .8s ease forwards;
  animation-delay: .9s;
}
@keyframes fade-in { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .hero__title .line span { animation: none; transform: translateY(0); }
  .hero__subtitle, .hero__actions { animation: none; opacity: 1; }
}

@media (max-width: 767px) {
  .hero__content { justify-content: center; gap: 56px; }
  .hero__brandname { font-size: 11.5vw; }
  .hero__title { font-size: 7.5vw; }
}

/* ---------- Services teaser ---------- */
.services-teaser .grid { margin-bottom: 36px; }
.section-footer-link { text-align: center; }

/* ---------- Perks strip ---------- */
.perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.perk {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid rgba(201,162,39,.3);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cream);
}
.perk__icon { font-size: 1.3rem; }

/* ---------- About ---------- */
.about-block {
  display: grid;
  gap: 32px;
  align-items: center;
}
.about-block__media { border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; }
.about-block__media img { width: 100%; height: 100%; object-fit: cover; }
.about-block__media--emblem { aspect-ratio: 1.825; background: var(--cream); }
.about-block__media--emblem img { width: 100%; height: 100%; object-fit: cover; }
.about-block__stats {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.stat { }
.stat__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--brass);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat__label { color: var(--text-secondary); font-size: 0.85rem; }
@media (min-width: 900px) {
  .about-block { grid-template-columns: 1fr 1fr; }
  .about-block--reverse .about-block__media { order: 2; }
}

/* ---------- Team teaser ---------- */
.team-card__body { text-align: center; }
.team-card__role { color: var(--brass); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.team-card__media { aspect-ratio: 1/1; }

/* ---------- Reviews slider ---------- */
.reviews-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--brass) transparent;
}
.review-card {
  scroll-snap-align: start;
  flex: 0 0 88%;
  background: var(--bg);
  border: 1px solid rgba(239,232,214,.08);
  border-radius: 18px;
  padding: 26px;
}
.review-card__stars { color: var(--brass); letter-spacing: 2px; margin-bottom: 12px; }
.review-card__text { color: var(--text); font-size: 0.98rem; margin-bottom: 16px; }
.review-card__author { color: var(--text-secondary); font-size: 0.85rem; font-weight: 600; }
@media (min-width: 640px) { .review-card { flex-basis: 46%; } }
@media (min-width: 1024px) { .review-card { flex-basis: 31%; } }

.review-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.review-badge {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-section);
  border: 1px solid rgba(201,162,39,.3);
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
}
.review-badge .brass { color: var(--brass); }

/* ---------- Gallery teaser ---------- */
.gallery-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.gallery-teaser-grid a { border-radius: 12px; overflow: hidden; aspect-ratio: 1/1; }
.gallery-teaser-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-teaser-grid a:hover img { transform: scale(1.08); }
@media (min-width: 640px) { .gallery-teaser-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Gift card banner ---------- */
.gift-banner {
  background: linear-gradient(120deg, var(--bg-section), var(--graphite));
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid rgba(201,162,39,.25);
}
.gift-banner h3 { color: var(--cream); font-size: 1.4rem; margin-bottom: 8px; }
.gift-banner p { color: var(--text-secondary); }
@media (min-width: 768px) {
  .gift-banner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Contact / map ---------- */
.contact-block {
  display: grid;
  gap: 28px;
}
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info__item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-section);
  display: flex; align-items: center; justify-content: center;
  color: var(--brass);
  font-size: 1.2rem;
}
.contact-info__label { font-size: 0.8rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .04em; }
.contact-info__value { color: var(--cream); font-weight: 600; }
.map-frame { border-radius: 20px; overflow: hidden; border: 1px solid rgba(239,232,214,.1); aspect-ratio: 4/3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) {
  .contact-block { grid-template-columns: 1fr 1.2fr; align-items: stretch; }
  .map-frame { aspect-ratio: auto; height: 100%; }
}

/* ---------- Counter number span ---------- */
[data-counter] { display: inline-block; }
