:root {
  --bg: #0a0b10;
  --bg-soft: #13151c;
  --card: #171920;
  --card-hover: #1d2029;
  --line: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --muted-2: rgba(255, 255, 255, 0.5);
  --accent: #e9d9a6;
  --accent-soft: #f5ecd0;
  --black: #090a0f;
  --container: 1220px;
  --radius: 26px;
  --radius-lg: 36px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
  --transition: 0.35s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.04), transparent 20%), var(--bg);
  color: var(--text);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 92px 0  0 0;
}

.section-label {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}

.section-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.section-text {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin: 0;
}

.section-text--narrow {
  max-width: 520px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

/* header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 16, 0.76);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.phone-link {
  color: var(--accent);
  font-weight: 600;
  transition: 0.3s;
}

.phone-link:hover {
  opacity: 0.8;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo__mark {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,0.2);
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  flex-shrink: 0;
}

.logo__mark span {
  font-size: 11px;
  color: var(--muted-2);
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.logo__name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo__desc {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--muted);
  font-size: 15px;
  position: relative;
  transition: var(--transition);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: var(--transition);
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

/* hero */
.hero {
  padding: 42px 0 36px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.hero__content {
  padding-right: 10px;
}

.hero__badge {
  display: inline-flex;
  padding: 11px 18px;
  margin: 0 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 700;
}

.hero__title {
  margin: 0;
  font-size: clamp(46px, 6vw, 84px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.05em;
  max-width: 780px;
}

.hero__title span {
  color: var(--accent);
}

.hero__subtitle {
  margin: 18px 0 0;
  font-size: clamp(28px, 3vw, 58px);
  line-height: 1.02;
  font-weight: 700;
  color: var(--accent-soft);
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 20px 0 0;
  max-width: 650px;
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.03em;
}

.hero__text {
  margin: 28px 0 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--accent);
  color: var(--black);
  box-shadow: var(--shadow);
}

.btn--secondary {
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  background: transparent;
}

.btn--secondary:hover {
  background: rgba(255,255,255,0.04);
}

.btn--dark {
  background: var(--black);
  color: #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.stat-card {
  padding: 24px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
}

.stat-card span {
  color: var(--muted);
  font-size: 15px;
}

/* slider */
.hero__slider {
  position: relative;
}

.slider {
  position: relative;
  padding: 14px;
  border-radius: 36px;
  background: #14161d;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.slider__track {
  display: flex;
  transition: transform 0.65s ease;
  will-change: transform;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: 720px;
  object-fit: cover;
  border-radius: 28px;
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 22, 29, 0.7);
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  transition: var(--transition);
}

.slider__btn:hover {
  background: rgba(20, 22, 29, 0.95);
}

.slider__btn--prev {
  left: 24px;
}

.slider__btn--next {
  right: 24px;
}

.slider__dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider__dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: var(--transition);
}

.slider__dot.active {
  width: 34px;
  border-radius: 999px;
  background: var(--accent);
}

/* steps */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  min-height: 220px;
  padding: 28px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-6px);
  background: var(--card-hover);
}

.step-card h3 {
  margin: 0 0 14px;
  font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1;
  font-weight: 800;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

/* contacts section */
.section--contacts {
  background: rgba(255,255,255,0.02);
}

.contacts-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.contacts-main {
  padding: 42px;
  border-radius: 34px;
  background: linear-gradient(180deg, #efe3ba 0%, #e8d8a8 100%);
  color: #111;
}

.contacts-main .section-label {
  color: rgba(17,17,17,0.66);
}

.contacts-main .section-text {
  color: rgba(17,17,17,0.72);
}

.bonus-list {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.bonus-item {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.45);
  color: rgba(17,17,17,0.82);
}

.bonus-item__title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.bonus-item__text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(17,17,17,0.72);
}

.lead-form {
  margin-top: 24px;
}

.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 18px 20px;
  border: 1px solid rgba(17,17,17,0.12);
  border-radius: 20px;
  outline: none;
  background: #fff;
  color: #111;
}

.lead-form textarea {
  min-height: 150px;
  resize: vertical;
  margin: 16px 0;
}

.contacts-side {
        padding-top: 102px;
    margin-top: -102px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  padding: 28px;
  border-radius: 30px;
  background: var(--card);
  border: 1px solid var(--line);
}

.info-card h3 {
  margin: 0 0 18px;
  font-size: 38px;
  line-height: 1.05;
}

.info-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card span {
  color: var(--accent);
}

.info-card__label {
  margin-bottom: 12px;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700;
}

.bonus-text {
  margin: 0;
  font-size: 36px;
  line-height: 1.08;
  font-weight: 700;
  color: var(--accent-soft);
}

/* messengers */
.messengers {
  display: flex;
  gap: 14px;
}

.messenger-item {
    min-width: 0;
  flex: 1 1 33.333%;
  max-width: 33.333%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  transition: var(--transition);
}

.messenger-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.06);
}

.messenger-item__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.messenger-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.messenger-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.messenger-icon--max {
  background: linear-gradient(135deg, #7a5cff, #9c7bff);
}

.messenger-icon--tg {
  background: linear-gradient(135deg, #2aabee, #1d8fd8);
}

.messenger-icon--vk {
  background: linear-gradient(135deg, #4a76a8, #5b88bd);
}

.messenger-qr {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  padding: 10px;
}

.messenger-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-card {
  overflow: hidden;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: var(--transition);
}

.gallery-card:hover {
  transform: translateY(-6px);
  background: var(--card-hover);
}

.gallery-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.gallery-card__body {
  padding: 24px;
}

.gallery-card__body h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.gallery-card__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 36px;
}

.footer__inner {
  text-align: center;
  color: var(--muted-2);
  font-size: 14px;
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* responsive */
@media (max-width: 1180px) {
  .hero__grid,
  .contacts-layout {
    grid-template-columns: 1fr;
  }

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

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

  .slide img {
    height: 560px;
  }
}

@media (max-width: 920px) {
  .nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .nav.active {
    position: fixed;
    top: 82px;
    left: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(10, 11, 16, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 20px, var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 26px;
  }

  .hero__title {
    font-size: 52px;
  }

  .hero__subtitle {
    font-size: 34px;
  }

  .hero__lead,
  .hero__text,
  .step-card p,
  .section-text {
    font-size: 16px;
  }

  .hero__actions,
  .stats,
  .steps__grid,
  .lead-form__row {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .contacts-main,
  .info-card,
  .step-card,
  .gallery-card__body {
    padding: 22px;
  }

  .slide img {
    height: 320px;
  }

  .slider__btn {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .slider__btn--prev {
    left: 14px;
  }

  .slider__btn--next {
    right: 14px;
  }

  .logo__desc {
    display: none;
  }

  .messengers {
    flex-direction: column;
  }

  .messenger-item {
    max-width: 100%;
  }
  
}