/* ============================================================
   INDEX.CSS — Главная страница
   ============================================================ */

/* ---- Hero ---- */
/* BLOCK:hero:start */
.tig-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--tig-bg);
}
.tig-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tig-hero__bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.tig-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(9,9,12,0.75) 0%,
    rgba(9,9,12,0.55) 40%,
    rgba(9,9,12,0.72) 100%
  );
}
.tig-hero__mountains-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.tig-hero__content {
  position: relative;
  z-index: 2;
  padding: clamp(5rem, 12vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
}
.tig-hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tig-gold);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tig-hero__eyebrow::before { display: none; }
.tig-hero__title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tig-white);
  line-height: 1.05;
  margin-bottom: 0;
}
.tig-hero__title-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.tig-hero__title span {
  color: var(--tig-gold);
}
.tig-hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--tig-text-2);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  font-weight: 400;
}
.tig-hero__logo-hero {
  width: clamp(234px, 28.6vw, 390px);
  height: clamp(234px, 28.6vw, 390px);
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.92;
  background: #09090c;
  clip-path: circle(43% at 50% 50%);
  margin-left: auto;
}
.tig-hero__cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.tig-hero__markers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.tig-hero__marker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(9,9,12,0.55);
  border: 1px solid rgba(201,164,75,0.22);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--tig-text-2);
  backdrop-filter: blur(4px);
}
.tig-hero__marker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tig-gold);
  flex-shrink: 0;
}
.tig-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 280px;
  background: linear-gradient(to bottom, transparent 0%, rgba(24,20,15,0.65) 50%, #18140F 100%);
  pointer-events: none;
  z-index: 1;
}
/* BLOCK:hero:end */

/* ---- About ---- */
/* BLOCK:about:start */
.tig-about {
  background: var(--tig-bg-section);
}
.tig-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}
.tig-about__image-wrap {
  position: relative;
}
.tig-about__placeholder {
  aspect-ratio: 4/3;
  background: var(--tig-bg-card);
  border-radius: var(--tig-radius-lg);
  overflow: hidden;
}
.tig-about__placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tig-about__placeholder svg {
  width: 120px;
  height: auto;
  opacity: 0.25;
}
.tig-about__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.tig-about__fact {
  background: var(--tig-bg-card);
  border: 1px solid var(--tig-border);
  border-radius: var(--tig-radius);
  padding: 1rem 1.25rem;
}
.tig-about__fact-num {
  font-family: var(--tig-font-heading);
  font-size: 2rem;
  color: var(--tig-gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.tig-about__fact-label {
  font-size: 0.8rem;
  color: var(--tig-text-muted);
  letter-spacing: 0.04em;
}
/* BLOCK:about:end */

/* ---- Rooms teaser ---- */
/* BLOCK:rooms-teaser:start */
.tig-rooms-teaser {
  background: var(--tig-bg);
}
.tig-rooms-teaser__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.tig-rooms-teaser__card {
  background: var(--tig-bg-card);
  border: 1px solid var(--tig-border);
  border-radius: var(--tig-radius-lg);
  overflow: hidden;
  transition: var(--tig-transition);
  display: flex;
  flex-direction: column;
}
.tig-rooms-teaser__card:hover {
  border-color: var(--tig-border-strong);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}
.tig-rooms-teaser__card-img {
  aspect-ratio: 16/10;
  background: var(--tig-bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.tig-rooms-teaser__card-img svg {
  width: 64px;
  opacity: 0.22;
}
.tig-rooms-teaser__card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tig-rooms-teaser__card-title {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.tig-rooms-teaser__card-text {
  font-size: 0.85rem;
  color: var(--tig-text-muted);
  flex: 1;
  margin-bottom: 1rem;
}
.tig-rooms-teaser__card-footer {
  margin-top: auto;
}
.tig-rooms-teaser__slot {
  background: var(--tig-bg-card);
  border: 1px dashed var(--tig-border);
  border-radius: var(--tig-radius-lg);
  padding: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
}
.tig-rooms-teaser__slot-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tig-gold-dark);
  margin-bottom: 0.5rem;
}
.tig-rooms-teaser__slot-text {
  font-size: 0.9rem;
  color: var(--tig-text-muted);
  margin-bottom: 1.25rem;
}
/* BLOCK:rooms-teaser:end */

/* ---- Territory highlight ---- */
/* BLOCK:territory-highlight:start */
.tig-territory-highlight {
  background: var(--tig-bg-2);
}
.tig-territory-highlight__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.tig-territory-highlight__main {
  grid-column: 1 / 4;
  aspect-ratio: 16/7;
  background: var(--tig-bg-card);
  border: 1px solid var(--tig-border);
  border-radius: var(--tig-radius-lg);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
}
.tig-territory-highlight__main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tig-territory-highlight__main-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tig-territory-highlight__main-overlay svg {
  width: 100px;
  opacity: 0.18;
}
.tig-territory-highlight__main-caption {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(9,9,12,0.9));
  width: 100%;
}
.tig-territory-highlight__main-caption h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}
.tig-territory-highlight__main-caption p {
  font-size: 0.85rem;
  margin: 0;
}
.tig-territory-highlight__small {
  aspect-ratio: 4/3;
  background: var(--tig-bg-card);
  border: 1px solid var(--tig-border);
  border-radius: var(--tig-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  gap: 0;
  overflow: hidden;
  position: relative;
}
.tig-territory-highlight__small img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}
.tig-territory-highlight__small:hover img { opacity: 0.9; }
.tig-territory-highlight__small span {
  position: relative;
  z-index: 1;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--tig-white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  background: rgba(9,9,12,0.55);
  width: 100%;
  padding: 0.6rem 0.75rem;
  margin-top: auto;
}
.tig-territory-highlight__cta {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
/* BLOCK:territory-highlight:end */

/* ---- Quad bikes highlight ---- */
/* BLOCK:quad-bikes-highlight:start */
.tig-quad-highlight {
  background: var(--tig-bg);
  position: relative;
  overflow: hidden;
}
.tig-quad-highlight::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -20%;
  width: 55%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(160,104,48,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.tig-quad-highlight__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}
.tig-quad-highlight__content {
  position: relative;
  z-index: 1;
}
.tig-quad-highlight__visual {
  position: relative;
  z-index: 1;
}
.tig-quad-highlight__photo-stack {
  position: relative;
  padding-bottom: 1.5rem;
  padding-right: 1.5rem;
}
.tig-quad-highlight__photo-main {
  aspect-ratio: 4/3;
  background: var(--tig-bg-card);
  border: 1px solid var(--tig-border);
  border-radius: var(--tig-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.tig-quad-highlight__photo-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tig-quad-highlight__photo-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 46%;
  aspect-ratio: 1;
  background: var(--tig-bg-section);
  border: 2px solid var(--tig-bg);
  border-radius: var(--tig-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tig-quad-highlight__photo-accent img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tig-quad-highlight__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.75rem 0;
}
.tig-quad-highlight__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--tig-text-2);
}
.tig-quad-highlight__feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tig-copper);
  flex-shrink: 0;
  margin-top: 0.45rem;
}
/* BLOCK:quad-bikes-highlight:end */

/* ---- Gallery teaser ---- */
/* BLOCK:gallery-teaser:start */
.tig-gallery-teaser {
  background: var(--tig-bg-2);
}
.tig-gallery-teaser__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.tig-gallery-teaser__item {
  background: var(--tig-bg-card);
  border: 1px solid var(--tig-border);
  border-radius: var(--tig-radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--tig-transition);
  position: relative;
}
.tig-gallery-teaser__item:hover {
  border-color: var(--tig-border-strong);
}
.tig-gallery-teaser__item:nth-child(1) {
  grid-column: 1 / 3;
  aspect-ratio: 3/1;
}
.tig-gallery-teaser__item:nth-child(2),
.tig-gallery-teaser__item:nth-child(3),
.tig-gallery-teaser__item:nth-child(4),
.tig-gallery-teaser__item:nth-child(5) {
  aspect-ratio: 4/3;
}
.tig-gallery-teaser__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tig-gallery-teaser__item:hover img {
  transform: scale(1.04);
}
.tig-gallery-teaser__label {
  display: none;
}
/* Rooms teaser photo grid */
.tig-rooms-teaser-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.tig-rooms-teaser-gallery > div {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--tig-radius);
}
.tig-rooms-teaser-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.tig-rooms-teaser-gallery > div:hover img { transform: scale(1.04); }
@media (max-width: 640px) {
  .tig-rooms-teaser-gallery { grid-template-columns: repeat(2, 1fr); }
}
.tig-rooms-teaser__btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}
/* BLOCK:gallery-teaser:end */

/* ---- Contacts CTA block ---- */
/* BLOCK:contacts-cta:start */
.tig-contacts-cta {
  background: var(--tig-bg);
}
.tig-contacts-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.tig-contacts-cta__info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--tig-text-2);
}
.tig-contacts-cta__info-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--tig-gold);
  stroke-width: 1.5;
  fill: none;
  margin-top: 1px;
}
.tig-contacts-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.5rem;
  max-width: 310px;
}
.tig-contacts-cta .tig-map-placeholder { min-height: 420px; }
/* BLOCK:contacts-cta:end */

/* ============================================================
   RESPONSIVE — INDEX
   ============================================================ */
@media (max-width: 900px) {
  .tig-about__grid { grid-template-columns: 1fr; }
  .tig-quad-highlight__inner { grid-template-columns: 1fr; }
  .tig-territory-highlight__grid { grid-template-columns: 1fr 1fr; }
  .tig-territory-highlight__main { grid-column: 1 / 3; aspect-ratio: 16/9; }
  .tig-contacts-cta__inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  .tig-hero__title { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .tig-territory-highlight__grid { grid-template-columns: 1fr; }
  .tig-territory-highlight__main { grid-column: auto; aspect-ratio: 16/9; }
  .tig-gallery-teaser__grid { grid-template-columns: 1fr; }
  .tig-gallery-teaser__item:nth-child(1) { grid-column: auto; aspect-ratio: 16/9; }
  .tig-about__facts { grid-template-columns: 1fr 1fr; }
}

/* Header — always dark on index page */
body.tig-bg--index .tig-header {
  background: rgba(9,9,12,0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--tig-border);
}

/* Mobile hero — logo below centered title */
@media (max-width: 768px) {
  .tig-hero__eyebrow { display: none; }
  .tig-hero__title-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    width: 100%;
  }
  .tig-hero__title { order: 1; text-align: center; }
  .tig-hero__logo-hero {
    order: 2;
    width: 260px;
    height: 260px;
    margin-left: 0;
  }
  .tig-hero__subtitle { text-align: center; }
  .tig-hero__cta-row { justify-content: center; }
  .tig-hero__markers { justify-content: center; }
  .tig-hero__content { padding-top: clamp(6.5rem, 18vw, 9rem); }
}
