/*
Version: 1.0.0
*/

/* ── RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:       #3a7bd5; /* Темно-синий оттенок для акцентов */
  --gold-light: #66b2ff; /* Светлее-синий для hover эффектов */
  --dark:       #0f0f0f; /* Основной темный фон */
  --dark2:      #1a1a1a; /* Немного светлее для секций */
  --dark3:      #222;   /* Для блоков и карточек */
  --text:       #e0e0e0; /* Светлый серый для текста */
  --muted:      #888;   /* Мягкий серый */
  --radius:     12px;
}

html  { scroll-behavior: smooth; }
body  { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--dark); color: var(--text); line-height: 1.6; margin: 0; padding: 0; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }

/* ── HEADER ────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  background: rgba(15,15,15,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26,26,26,.15);
}
.site-logo { font-size: 1.5rem; font-weight: 900; color: var(--gold); text-decoration: none; }
.site-logo span { color: var(--text); }

.site-nav a {
  color: var(--text); text-decoration: none; margin-left: 32px;
  font-size: .95rem; opacity: .8; transition: opacity .2s, color .2s;
}
.site-nav a:hover { opacity: 1; color: var(--gold); }

.header-cart {
  display: flex; align-items: center; gap: 16px; margin-left: 32px;
}
.cart-link {
  position: relative; color: var(--text); text-decoration: none;
  font-size: 1.25rem; transition: color .2s;
}
.cart-link:hover { color: var(--gold); }
.cart-count {
  position: absolute; top: -6px; right: -8px;
  background: var(--gold); color: #000;
  font-size: .6rem; font-weight: 800;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.header-cta {
  background: var(--gold); color: #000; font-weight: 700;
  padding: 10px 24px; border-radius: 8px; text-decoration: none;
  transition: background .2s;
}
.header-cta:hover { background: var(--gold-light); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center;
  padding: 100px 20px 60px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(54, 125, 189, .12) 0%, transparent 70%),
    linear-gradient(180deg, #0f0f0f 0%, #1a1209 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%233a7bd5' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; max-width: 760px; }
.hero-badge {
  display: inline-block;
  background: rgba(54, 125, 189, .15); border: 1px solid rgba(54, 125, 189, .35);
  color: var(--gold); font-size: .8rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 100px; margin-bottom: 28px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900; line-height: 1.1; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.hero-lead { font-size: 1.15rem; color: rgba(224, 226, 226, .7); max-width: 520px; margin: 0 auto 40px; }

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: #000; font-weight: 800; font-size: 1rem;
  padding: 16px 36px; border-radius: var(--radius); text-decoration: none;
  display: inline-block; transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--text); font-weight: 600; font-size: 1rem;
  padding: 16px 36px; border-radius: var(--radius); text-decoration: none;
  border: 1px solid rgba(224, 226, 226, .25); transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.hero-stats { display: flex; gap: 40px; justify-content: center; margin-top: 60px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-value { font-size: 2rem; font-weight: 900; color: var(--gold); }
.stat-label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

/* ── SECTIONS ───────────────────────────────────────────────── */
.section { padding: 100px 20px; }
.section-label { text-align: center; font-size: .75rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-title { text-align: center; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: 16px; }
.section-sub   { text-align: center; color: rgba(224,226,226,.6); max-width: 480px; margin: 0 auto 64px; font-size: 1rem; }

/* ── HOW IT WORKS ───────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.step { background: var(--dark2); border: 1px solid rgba(54, 125, 189, .12); border-radius: var(--radius); padding: 36px 28px; text-align: center; transition: border-color .2s, transform .2s; }
.step:hover { border-color: rgba(54, 125, 189, .4); transform: translateY(-4px); }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: rgba(54, 125, 189, .15); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 900; color: var(--gold); margin: 0 auto 20px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p  { font-size: .9rem; color: rgba(224,226,226,.6); }

/* ── CATALOG ────────────────────────────────────────────────── */
.catalog-bg { background: var(--dark2); }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; }
.cat-card { background: var(--dark3); border: 1px solid rgba(54, 125, 189, .1); border-radius: var(--radius); padding: 32px 20px; text-align: center; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; display: block; }
.cat-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.cat-icon { font-size: 3rem; margin-bottom: 14px; }
.cat-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.cat-card p  { font-size: .82rem; color: var(--muted); }
.cat-card .cat-count { font-size: .75rem; color: var(--gold); margin-top: 6px; font-weight: 600; }

/* ── ADVANTAGES ─────────────────────────────────────────────── */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; max-width: 1100px; margin: 0 auto; }
.adv-card { display: flex; gap: 18px; align-items: flex-start; }
.adv-icon { flex-shrink: 0; width: 48px; height: 48px; background: rgba(54, 125, 189, .12); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.adv-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.adv-card p  { font-size: .88rem; color: rgba(224,226,226,.6); }

/* ── ZONES ──────────────────────────────────────────────────── */
.zones-bg { background: var(--dark2); }
.zone-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto; }
.zone-card { background: var(--dark3); border: 1px solid rgba(54, 125, 189, .1); border-radius: var(--radius); padding: 24px 20px; display: flex; align-items: center; gap: 14px; }
.zone-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.zone-card strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.zone-card span   { font-size: .8rem; color: var(--muted); }

/* ── ORDER FORM ─────────────────────────────────────────────── */
.form-wrap { max-width: 580px; margin: 0 auto; background: var(--dark2); border: 1px solid rgba(54, 125, 189, .2); border-radius: 16px; padding: 48px 40px; }
.form-wrap h2 { font-size: 1.8rem; font-weight: 900; margin-bottom: 8px; }
.form-wrap > p { color: rgba(224,226,226,.6); font-size: .9rem; margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 18px; }
.form-group label { font-size: .82rem; color: rgba(224,226,226,.6); margin-bottom: 6px; font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea { background: var(--dark3); border: 1px solid rgba(54, 125, 189, .2); border-radius: 8px; color: var(--text); padding: 12px 16px; font-size: .95rem; transition: border-color .2s; outline: none; font-family: inherit; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--dark3); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit { width: 100%; background: var(--gold); color: #000; font-weight: 800; font-size: 1rem; padding: 16px; border-radius: 10px; border: none; cursor: pointer; transition: background .2s, transform .15s; }
.form-submit:hover { background: var(--gold-light); transform: translateY(-2px); }
.form-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 16px; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(54, 125, 189, .15);
}

.footer-inner {
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
  align-items: center;
  border-bottom: 1px solid rgba(54, 125, 189, .15);
  padding-bottom: 30px;
}

.footer-brand a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 1px;
}
.footer-brand span { color: var(--text); }
.footer-brand p {
  color: rgba(224, 226, 226, .5);
  margin-top: 8px;
  font-size: .9rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.footer-nav a {
  color: rgba(224, 226, 226, .7);
  text-decoration: none;
  font-size: .95rem;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--gold); }

.footer-contact {
  text-align: right;
}
.contact-label {
  display: block;
  color: rgba(224, 226, 226, .4);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.phone-link {
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}
.footer-contact small {
  display: block;
  color: rgba(224, 226, 226, .4);
  margin-top: 4px;
  font-size: .8rem;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  color: rgba(224, 226, 226, .3);
  font-size: .8rem;
}
.age-badge {
  background: rgba(255, 255, 255, .06);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
}

/* ── PRODUCT CARD (STATIC VITRINE) ─────────────────────────── */
.product-card {
  background: var(--dark3);
  border: 1px solid rgba(54, 125, 189, .08);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: all .2s ease;
}
.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(58, 123, 213, .12);
}
.product-image {
  width: 100%;
  height: auto;
  min-height: 220px;
  object-fit: cover;
  margin-bottom: 16px;
  border-radius: 8px;
}
.product-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-attrs {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.product-attr {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 16px;
}
.product-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
  display: inline-block;
}
.product-cta:hover {
  background: var(--gold);
  color: #000;
}

/* ── PRODUCT GRID ──────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-section { padding: 100px 20px; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border: 1px solid rgba(54, 125, 189, .1);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}
.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  background: var(--dark2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  padding: 0 24px 18px;
  color: rgba(224, 226, 226, .6);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .3s ease, opacity .3s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding-top: 12px;
}
.faq-icon-toggle {
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform .2s;
}
.faq-item.active .faq-icon-toggle { transform: rotate(180deg); }

/* ── REVIEWS ────────────────────────────────────────────────── */
.reviews-section { padding: 100px 20px; background: var(--dark2); }
.review-card {
  background: var(--dark3);
  border: 1px solid rgba(54, 125, 189, .1);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  gap: 20px;
}
.review-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(54, 125, 189, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}
.review-body h4 { font-size: 1rem; margin-bottom: 8px; color: var(--text); }
.review-body p { color: rgba(224, 226, 226, .6); line-height: 1.5; }
.stars { color: var(--gold); margin-bottom: 8px; }

/* ── UTILS ──────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.hidden { display: none; }

/* ── ADAPTIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .site-header { padding: 15px 20px; }
  .site-nav a { margin-left: 16px; font-size: .9rem; }
  .header-cart { margin-left: 16px; gap: 12px; }
  
  .hero { padding: 80px 20px 40px; }
  .hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
  
  .footer-content { grid-template-columns: 1fr; text-align: center; padding-bottom: 20px; border-bottom: none; }
  .footer-contact { text-align: center; }
  .footer-nav { justify-content: center; gap: 16px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .site-logo { font-size: 1.25rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }
  .steps { grid-template-columns: 1fr; }
  .zone-list { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .review-card { flex-direction: column; text-align: center; }
  .review-avatar { margin: 0 auto 16px; }
}
