/* ═══════════════════════════════════════════════
   Переиспользуемые компоненты
   ═══════════════════════════════════════════════ */

/* ─── UTILS ─── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--px);
}

section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.sec-hd {
  margin-bottom: 3rem;
}

.lbl {
  font-family: var(--fb);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.gline {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

.stitle {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.ssub {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text);
  max-width: 640px;
  line-height: 1.85;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 2.2rem;
  font-family: var(--fb);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .3px;
  border-radius: var(--r);
  cursor: pointer;
  transition: var(--tr);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
}

.btn-g {
  background: var(--gold);
  color: #0a0c12;
}
.btn-g:hover {
  background: var(--gold-l);
  transform: translateY(-2px);
}

.btn-o {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(242, 239, 233, .3);
}
.btn-o:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ─── HAMBURGER ─── */
.hbg {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  flex-shrink: 0;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

.hbg span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--tr);
}

.hbg.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hbg.open span:nth-child(2) { opacity: 0; }
.hbg.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU ─── */
.mob {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 12, 18, .98);
  z-index: 999;
  overflow-y: auto;
  padding: 2rem var(--px) 3rem;
}

.mob.open {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mob a {
  font-size: 1.5rem;
  font-family: var(--fd);
  color: var(--white);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(201, 169, 110, .08);
  display: flex;
  align-items: center;
  min-height: 44px;
  transition: color .2s;
}
.mob a:hover { color: var(--gold); }

.mob-cta {
  margin-top: 2rem;
  background: var(--gold);
  color: #0a0c12 !important;
  border-radius: var(--r);
  text-align: center;
  padding: 1rem !important;
  font-family: var(--fb) !important;
  font-size: 1rem !important;
  border: none !important;
  font-weight: 500;
}

/* ─── REVEAL ANIMATION ─── */
.rv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.rv.vis {
  opacity: 1;
  transform: translateY(0);
}

.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }

/* ─── FORM STATE ─── */
.form-state {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--r);
  font-size: .9rem;
  line-height: 1.5;
  margin-top: .5rem;
}
.form-state.success {
  display: block;
  background: rgba(201, 169, 110, .12);
  border: 1px solid var(--gold-b);
  color: var(--gold);
}
.form-state.error {
  display: block;
  background: rgba(220, 80, 80, .1);
  border: 1px solid rgba(220, 80, 80, .3);
  color: #e07070;
}
.form-state.loading {
  display: block;
  background: var(--bg3);
  border: 1px solid var(--gold-b);
  color: var(--muted);
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  .rv { transition: none; }
}
