*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #16a34a;
  --green-light: #22c55e;
  --green-dark: #15803d;
  --green-bg: #f0fdf4;
  --yellow: #eab308;
  --yellow-light: #fef9c3;
  --silver: #e2e8f0;
  --silver-dark: #94a3b8;
  --white: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --card-bg: #ffffff;
  --section-bg: #f8fafc;
  --telegram: #2AABEE;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.logo-icon {
  width: 36px; height: 36px;
  background: var(--green);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
}

.logo span { color: var(--green); }

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

nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
}
nav a:hover { color: var(--green); }

.header-btns { display: flex; gap: 10px; align-items: center; }

.btn-phone {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: var(--green);
  color: white;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s, transform .2s;
}
.btn-phone:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-tg {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: white;
  color: var(--telegram);
  border: 2px solid var(--telegram);
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s, transform .2s;
}
.btn-tg:hover { background: #e8f7ff; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  position: relative;
  padding: 130px 24px 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #fafafa 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-circuit {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(22,163,74,.1);
  border: 1px solid rgba(22,163,74,.2);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 24px;
}

.pulse {
  width: 8px; height: 8px;
  position: relative;
  display: inline-block;
}
.pulse::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  animation: ping 1.5s ease-in-out infinite;
}
.pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(2.5); opacity: 0; }
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
  max-width: 800px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.btn-big-green {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 36px;
  background: var(--green);
  color: white;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(22,163,74,.35);
  transition: all .2s;
}
.btn-big-green:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(22,163,74,.4); }

.btn-big-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 36px;
  background: white;
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: 16px;
  font-size: 18px;
  font-weight: 700;
  transition: all .2s;
}
.btn-big-outline:hover { border-color: var(--telegram); background: #f0f9ff; transform: translateY(-2px); }

.hero-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 760px;
}

.perk-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226,232,240,.7);
  border-radius: 14px;
  padding: 16px;
}

.perk-icon { font-size: 28px; line-height: 1; margin-top: 2px; flex-shrink: 0; }

.perk-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.perk-card p { font-size: 13px; color: var(--text-muted); line-height: 1.4; }

/* ── SECTIONS COMMON ── */
section { padding: 80px 24px; }

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-title h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-title p {
  font-size: 18px;
  color: var(--text-muted);
}

.title-line {
  width: 60px; height: 5px;
  background: var(--green);
  border-radius: 10px;
  margin: 12px auto 0;
}

/* ── WHAT WE ACCEPT ── */
.accept-section { background: var(--section-bg); }

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

.item-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  transition: all .25s;
}

.item-card:hover {
  border-color: rgba(22,163,74,.3);
  box-shadow: 0 4px 20px rgba(22,163,74,.1);
  transform: translateY(-3px);
}

.item-emoji {
  width: 56px; height: 56px;
  background: var(--section-bg);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  margin-bottom: 16px;
  transition: transform .25s;
}

.item-card:hover .item-emoji { transform: scale(1.1); }

.item-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.item-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

.accept-note {
  margin-top: 28px;
  padding: 20px 28px;
  background: rgba(22,163,74,.08);
  border: 1px solid rgba(22,163,74,.2);
  border-radius: 16px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

/* ── PRICES ── */
.prices-section { background: white; }

.price-date {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  background: var(--section-bg);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.price-table-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0,0,0,.06);
  max-width: 800px;
  margin: 0 auto;
}

table { width: 100%; border-collapse: collapse; }

thead tr { background: var(--section-bg); }
thead th {
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}
thead th:last-child { text-align: right; }

tbody tr { border-top: 1px solid var(--border); transition: background .15s; }
tbody tr:hover { background: #f8fafc; }

tbody td { padding: 14px 24px; font-size: 15px; }
tbody td:last-child { text-align: right; font-weight: 700; color: var(--green); }

.price-footer {
  background: var(--section-bg);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.price-note { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }

.btn-green {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: var(--green);
  color: white;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  transition: all .2s;
  white-space: nowrap;
}
.btn-green:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(22,163,74,.3); }

/* ── WHY US ── */
.whyus-section { background: #f8fafc; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.why-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: white;
  border: 1px solid rgba(226,232,240,.7);
  border-radius: 18px;
  padding: 24px;
  transition: border-color .2s;
}

.why-card:hover { border-color: rgba(22,163,74,.2); }

.why-icon {
  width: 52px; height: 52px;
  background: rgba(22,163,74,.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.why-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.why-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ── HOW IT WORKS ── */
.steps-section { background: white; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px; left: calc(16.66% + 10px); right: calc(16.66% + 10px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 80px; height: 80px;
  background: white;
  border: 4px solid var(--border);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  font-weight: 900;
  color: var(--green);
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: all .3s;
}

.step-card:hover .step-num {
  background: var(--green);
  color: white;
  border-color: var(--green);
  transform: scale(1.1);
}

.step-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* ── CONTACTS ── */
.contacts-section {
  background: var(--text);
  color: white;
  position: relative;
  overflow: hidden;
}

.contacts-glow-1 {
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: rgba(22,163,74,.15);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.contacts-glow-2 {
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: rgba(234,179,8,.08);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.contacts-left h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
}

.contacts-desc {
  font-size: 18px;
  color: #94a3b8;
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 14px 16px;
  transition: background .2s;
}

.contact-link:hover { background: rgba(255,255,255,.1); }

.contact-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.icon-tg      { background: rgba(42,171,238,.2); color: var(--telegram); }
.icon-phone   { background: rgba(22,163,74,.2);  color: var(--green-light); }
.icon-group   { background: rgba(255,255,255,.1); color: white; }
.icon-channel { background: rgba(255,255,255,.1); color: white; }
.icon-avito   { background: rgba(0,104,220,.2);   color: #66a3ff; }
.icon-vk      { background: rgba(39,108,169,.2);  color: #8ab4f8; }

.contact-label { font-size: 12px; color: #94a3b8; margin-bottom: 2px; }
.contact-value { font-size: 15px; font-weight: 700; }

.contacts-right {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
}

.contacts-right-icon {
  width: 80px; height: 80px;
  background: var(--green);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(22,163,74,.4);
}

.contacts-right h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.contacts-right p { color: #94a3b8; font-size: 16px; margin-bottom: 32px; line-height: 1.6; }

.btn-big-tg {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 40px;
  background: var(--telegram);
  color: white;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 700;
  transition: all .2s;
  box-shadow: 0 8px 24px rgba(42,171,238,.35);
}
.btn-big-tg:hover { background: #1a9bd8; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(42,171,238,.45); }

/* ── FOOTER ── */
footer {
  background: #0a0f1e;
  color: #64748b;
  text-align: center;
  padding: 24px;
  font-size: 14px;
}

/* ── FLOATING MOBILE BTN ── */
.floating-btn {
  display: none;
  position: fixed;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  padding: 16px 32px;
  background: var(--green);
  color: white;
  border-radius: 100px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(22,163,74,.5);
  gap: 10px;
  align-items: center;
  white-space: nowrap;
}

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .items-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
  nav { display: none; }
}

@media (max-width: 768px) {
  section { padding: 60px 16px; }
  .hero { padding: 110px 16px 60px; min-height: auto; }
  .hero-perks { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-links { grid-template-columns: 1fr; }
  .items-grid { grid-template-columns: 1fr; }
  .header-btns .btn-tg { display: none; }
  .price-footer { flex-direction: column; text-align: center; }
  .contacts-right { padding: 28px 20px; }
  .floating-btn { display: inline-flex; }
}

/* ── SVG ICON FIXES ── */

/* Контейнеры иконок — убираем прежний font-size, выравниваем SVG */
.why-icon,
.item-emoji,
.contact-icon,
.contacts-right-icon,
.perk-icon {
  font-size: 0; /* отключаем наследование emoji-размера */
}

.why-icon svg,
.item-emoji svg,
.contact-icon svg,
.perk-icon svg {
  display: block;
}

/* Инлайн-иконки в кнопках и текстовых блоках */
.btn-phone svg,
.btn-tg svg,
.btn-big-green svg,
.btn-big-outline svg,
.btn-big-tg svg,
.btn-green svg,
.floating-btn svg {
  flex-shrink: 0;
  display: block;
}

/* Цвет иконок в why-card (зелёный фон) */
.why-icon svg {
  color: var(--green);
}

/* Цвет иконок в perk-card */
.perk-icon svg {
  color: var(--text);
}

/* Цвет иконок item-card */
.item-emoji svg {
  color: var(--green);
}

/* Логотип */
.logo-icon svg {
  display: block;
}

/* Hover: лёгкая трансформация SVG иконок в item-card */
.item-card:hover .item-emoji svg {
  transform: scale(1.1);
  transition: transform .25s;
}

/* accept-note SVG */
.accept-note svg {
  flex-shrink: 0;
}

/* Улучшение внешнего вида why-icon при hover */
.why-card:hover .why-icon {
  background: rgba(22,163,74,.18);
}

/* Тонкая анимация иконок */
.why-icon {
  transition: background .2s;
}

/* Step-num не трогаем, он числовой */

/* ── FONT AWESOME ICON SIZING ── */

/* Telegram / VK в контактных карточках */
.contact-icon i {
  font-size: 22px;
  line-height: 1;
  display: block;
}

/* Большая иконка TG в contacts-right */
.contacts-right-icon i {
  font-size: 38px;
  color: white;
  line-height: 1;
}

/* Иконка в кнопке header btn-tg */
.btn-tg i {
  font-size: 15px;
  line-height: 1;
}

/* Иконки в крупных CTA-кнопках */
.btn-big-outline i,
.btn-big-tg i {
  font-size: 20px;
  line-height: 1;
}

/* ── LOGO TEXT FIX ── */
/* Враппер текста логотипа — один flex-item, без пробелов внутри */
.logo-text {
  display: inline;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.logo-text > span {
  color: var(--green);
}
