/* ============================================================
   SILHOUETTE GARAGE — Premium Landing
   ============================================================ */

:root {
  --bg:          #090909;
  --bg-2:        #0f0f0f;
  --surface:     #141414;
  --surface-2:   #1a1a1a;
  --surface-3:   #222222;
  --accent:      #c49b3c;
  --accent-dim:  rgba(196,155,60,.1);
  --accent-glow: rgba(196,155,60,.22);
  --accent-line: rgba(196,155,60,.35);
  --text:        #f0ece5;
  --text-2:      #9c9188;
  --text-3:      #555050;
  --border:      rgba(255,255,255,.07);
  --radius:      10px;
  --radius-lg:   18px;
  --max-w:       1180px;
  --section-py:  clamp(72px, 10vw, 120px);
}

/* ─── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── Typography ─────────────────────────────────────── */
.kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
h1, h2, h3 { line-height: 1.1; }

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 16px;
}
.section-lead {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ─── Layout ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.section { padding: var(--section-py) 0; }
.section--dark { background: var(--bg-2); }

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: all .2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-accent { background: var(--accent); color: #0b0b0b; }
.btn-accent:hover { background: #d4a940; transform: translateY(-1px); box-shadow: 0 8px 24px var(--accent-glow); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent-line); color: var(--accent); }

/* ─── Header ─────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, padding .3s;
}
.header.scrolled {
  background: rgba(9,9,9,.92);
  backdrop-filter: blur(20px);
  border-color: var(--border);
  padding: 12px 0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo__main { font-size: 16px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; color: var(--text); }
.logo__sub { font-size: 10px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.header__right { display: flex; align-items: center; gap: 20px; }
.header__phone { font-size: 14px; font-weight: 500; color: var(--text-2); transition: color .2s; }
.header__phone:hover { color: var(--text); }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 65% 55%, rgba(196,155,60,.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.hero__title {
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .97;
  margin-bottom: 24px;
}
.hero__title em { font-style: italic; font-weight: 300; color: var(--accent); }
.hero__lead {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-2);
  max-width: 460px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__badge { font-size: 13px; color: var(--text-3); }

/* Hero photo */
.hero__visual { position: relative; }
.hero__photo {
  width: 100%;
  max-width: 580px;
  height: clamp(320px, 45vw, 520px);
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius-lg);
  display: block;
}

/* ─── Slider ─────────────────────────────────────────── */
.slider-section { background: var(--bg-2); }

.slider {
  position: relative;
  width: 100%;
  height: clamp(320px, 55vw, 640px);
  overflow: hidden;
  background: #000;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
}
.slide.active { opacity: 1; }

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slide__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 40px 28px;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  gap: 16px;
}
.slide__model {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
}
.slide__detail {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  font-weight: 400;
}

/* Slider controls */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  padding: 0;
}
.slider-prev:hover,
.slider-next:hover { background: rgba(196,155,60,.5); transform: translateY(-50%) scale(1.05); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.slider-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.slider-dot.active {
  background: var(--accent);
  transform: scale(1.4);
}

/* ─── What's Inside ──────────────────────────────────── */
.inside-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
}
.inside-item {
  background: var(--surface);
  padding: 40px 28px;
}
.inside-item:not(:last-child) { border-right: 1px solid var(--border); }
.inside-item__num { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--text-3); text-transform: uppercase; margin-bottom: 20px; }
.inside-item__icon { width: 44px; height: 44px; margin-bottom: 16px; color: var(--accent); }
.inside-item__title { font-size: 16px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.inside-item__text { font-size: 13.5px; color: var(--text-2); line-height: 1.65; }

/* ─── Video Process ──────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.video-card img,
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-card video { display: none; }
.video-card--playing img,
.video-card--playing .video-card__play,
.video-card--playing .video-card__label { display: none; }
.video-card--playing video { display: block; }
.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.28);
  transition: background .2s ease;
}
.video-card:hover .video-card__play { background: rgba(0,0,0,.42); }
.video-card__play svg { width: 52px; height: 52px; filter: drop-shadow(0 4px 14px rgba(0,0,0,.5)); }
.video-card__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .03em;
  color: rgba(255,255,255,.9);
}

/* ─── Quality Photos ─────────────────────────────────── */
.quality-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.quality-photo { position: relative; }
.quality-photo img {
  width: 100%;
  height: clamp(240px, 32vw, 420px);
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .4s ease;
}
.quality-photo:hover img { transform: scale(1.03); }
.quality-photo__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 20px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 100%);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
}

/* ─── Colors Grid ────────────────────────────────────── */
.colors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.colors-grid__item { position: relative; overflow: hidden; }
.colors-grid__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease;
}
.colors-grid__item:hover img { transform: scale(1.05); }
.colors-grid__item span {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 12px 10px;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255,255,255,.9);
  text-align: center;
  text-transform: uppercase;
}

/* ─── Lifestyle Grid ─────────────────────────────────── */
.lifestyle-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: minmax(0, 1fr);
  gap: 3px;
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: clamp(340px, 50vw, 600px);
}
.lifestyle-grid__main { min-height: 0; overflow: hidden; }
.lifestyle-grid__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease;
}
.lifestyle-grid__main:hover img { transform: scale(1.02); }
.lifestyle-grid__side {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 3px;
  min-height: 0;
}
.lifestyle-grid__side-item { min-height: 0; overflow: hidden; }
.lifestyle-grid__side-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease;
}
.lifestyle-grid__side-item:hover img { transform: scale(1.04); }

/* ─── 3D Models ──────────────────────────────────────── */
.models3d-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}
.models3d-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.models3d-card__hero { aspect-ratio: 4 / 3; overflow: hidden; }
.models3d-card__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.models3d-card:hover .models3d-card__hero img { transform: scale(1.03); }
.models3d-card__body { padding: 28px; }
.models3d-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.models3d-card__name { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.models3d-card__price { font-size: 19px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.models3d-card__specs { font-size: 13px; color: var(--text-2); margin-bottom: 18px; }
.models3d-card__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 20px;
}
.models3d-card__gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* ─── Models List ────────────────────────────────────── */
.models-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.models-list__item {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.models-list__item:nth-child(odd) { border-right: 1px solid var(--border); }
.models-list__item:nth-last-child(-n+2) { border-bottom: none; }
.models-list__item:hover { background: var(--surface); }
.models-list__name { font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; }
.models-list__desc { font-size: 13px; color: var(--text-2); line-height: 1.6; font-style: italic; }

.models-more {
  text-align: center;
  margin-top: 40px;
  padding: 28px 32px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.8;
}
.models-more strong {
  color: var(--text);
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

/* ─── Gallery Masonry ────────────────────────────────── */
.gallery-masonry {
  columns: 4;
  gap: 4px;
  margin-top: 56px;
}
.gallery-masonry img {
  width: 100%;
  break-inside: avoid;
  margin-bottom: 4px;
  border-radius: 4px;
  display: block;
  transition: opacity .2s, transform .3s;
  cursor: pointer;
}
.gallery-masonry img:hover { opacity: .9; transform: scale(1.01); }

/* ─── For Whom ───────────────────────────────────────── */
.forwho-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.forwho-item {
  display: flex;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  align-items: flex-start;
  transition: border-color .2s;
}
.forwho-item:hover { border-color: var(--accent-line); }
.forwho-item__icon { flex-shrink: 0; width: 44px; height: 44px; background: var(--accent-dim); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.forwho-item__title { font-size: 16px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; }
.forwho-item__text { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ─── Steps ──────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
}
.step { padding: 0 32px; }
.step:not(:last-child) { border-right: 1px solid var(--border); }
.step__num { width: 56px; height: 56px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; color: var(--accent); margin-bottom: 24px; }
.step__title { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.step__text { font-size: 14.5px; color: var(--text-2); line-height: 1.65; }

/* ─── CTA ────────────────────────────────────────────── */
.cta-section {
  padding: var(--section-py) 0;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(196,155,60,.06), transparent 70%);
  pointer-events: none;
}
.cta-block { text-align: center; position: relative; }
.cta-block__price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  border-radius: 100px;
  padding: 10px 24px;
  margin-bottom: 32px;
}
.cta-block__price-num { font-size: 28px; font-weight: 900; color: var(--accent); letter-spacing: -.02em; }
.cta-block__price-label { font-size: 13px; color: var(--text-2); }
.cta-block__title { font-size: clamp(36px, 5.5vw, 64px); font-weight: 900; letter-spacing: -.04em; line-height: 1; margin-bottom: 20px; }
.cta-block__lead { font-size: clamp(15px, 1.8vw, 17px); color: var(--text-2); max-width: 480px; margin: 0 auto 40px; line-height: 1.7; }
.cta-block__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.cta-block__contacts { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.cta-contact { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.cta-contact__label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.cta-contact__value { font-size: 15px; font-weight: 600; color: var(--text-2); transition: color .2s; }
.cta-contact__value:hover { color: var(--text); }

/* ─── Footer ─────────────────────────────────────────── */
.footer { padding: 32px 0; border-top: 1px solid var(--border); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__copy { font-size: 13px; color: var(--text-3); }
.footer__links { display: flex; gap: 24px; }
.footer__link { font-size: 13px; color: var(--text-3); transition: color .2s; }
.footer__link:hover { color: var(--text-2); }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .inside-grid { grid-template-columns: repeat(2, 1fr); }
  .inside-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .inside-item:nth-child(even) { border-right: none; }
  .inside-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .colors-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-masonry { columns: 3; }
}

@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__photo { max-width: 100%; height: 280px; order: -1; }
  .hero__visual { order: -1; }
  .hero__lead { margin: 0 auto 40px; }
  .hero__actions { justify-content: center; }

  .slide__caption { flex-direction: column; align-items: flex-start; gap: 4px; }

  .quality-photos { grid-template-columns: 1fr; }
  .quality-photo img { height: 260px; }

  .video-grid { grid-template-columns: 1fr; max-width: 320px; margin: 56px auto 0; }

  .models3d-grid { grid-template-columns: 1fr; }

  .colors-grid { grid-template-columns: repeat(2, 1fr); }

  .lifestyle-grid { grid-template-columns: 1fr; height: auto; }
  .lifestyle-grid__main img { height: 260px; }
  .lifestyle-grid__side { grid-template-rows: unset; grid-template-columns: repeat(3, 1fr); }
  .lifestyle-grid__side-item img { height: 120px; }

  .inside-grid { grid-template-columns: 1fr; }
  .inside-item { border-right: none !important; border-bottom: 1px solid var(--border); }
  .inside-item:last-child { border-bottom: none; }

  .models-list { grid-template-columns: 1fr; }
  .models-list__item:nth-child(odd) { border-right: none; }
  .models-list__item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .models-list__item:last-child { border-bottom: none; }

  .gallery-masonry { columns: 2; }

  .forwho-grid { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step { padding: 0; }
  .step:not(:last-child) { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 32px; }

  .cta-block__contacts { gap: 20px; }
  .header__phone { display: none; }
  .footer__inner { justify-content: center; flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 44px; }
  .cta-block__title { font-size: 34px; }
  .colors-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry { columns: 2; }
  .slider { height: 260px; }
  .slide__caption { padding: 24px 16px 16px; }
}
