/* MUZDEK — цвета по мотивам Artel: глубокий синий + красный акцент */
:root {
  --navy: #003087;
  --navy-dark: #00205b;
  --navy-light: #0a3a96;
  --red: #e30613;
  --red-dark: #c00511;
  --sky: #e8f1fb;
  --ice: #f5f9fe;
  --text: #1a2333;
  --muted: #5b6b82;
  --border: #d8e3f2;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(0, 48, 135, 0.12);
}

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

body {
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

h1 { font-size: 46px; line-height: 1.12; letter-spacing: -0.5px; }
h2 { font-size: 32px; color: var(--navy-dark); margin-bottom: 8px; }
h3 { font-size: 19px; margin-bottom: 6px; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 30px; font-size: 17px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(227, 6, 19, .3); }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-white { background: #fff; color: var(--navy); }
.btn-call {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; background: var(--navy); color: #fff; font-size: 16px;
}
.btn-call:hover { background: var(--navy-light); }

/* ── Header ── */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.logo-mark-img { width: 38px; height: 38px; border-radius: 10px; display: block; }
.logo-text { font-size: 23px; font-weight: 800; color: var(--navy); letter-spacing: .5px; }
.logo-text-light { color: #fff; }
.logo-dot { color: var(--red); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--navy); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #0d47b5 100%);
  color: #fff;
  padding: 72px 0 84px;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  font-size: 14px; margin-bottom: 20px;
}
.hero-sub { font-size: 18px; color: #c8d8f2; margin: 18px 0 28px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 40px; margin-top: 42px; }
.hero-trust b { display: block; font-size: 26px; }
.hero-trust span { font-size: 13.5px; color: #a9c0e8; }
.hero-visual svg { width: 100%; max-width: 440px; filter: drop-shadow(0 18px 40px rgba(0,0,0,.35)); }

.wave { animation: drift 2.6s ease-in-out infinite; }
.w2 { animation-delay: .4s; } .w3 { animation-delay: .8s; } .w4 { animation-delay: 1.2s; }
@keyframes drift { 0%,100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(10px); } }
.flake { animation: fall 3.4s ease-in-out infinite; }
.f2 { animation-delay: 1s; } .f3 { animation-delay: 2s; }
@keyframes fall { 0%,100% { opacity: .4; } 50% { opacity: 1; } }

/* ── Strip ── */
.strip { background: var(--navy-dark); color: #dbe7fa; padding: 14px 0; }
.strip-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }

/* ── Sections ── */
.section { padding: 72px 0; }
.section-alt { background: var(--ice); }
.section-sub { color: var(--muted); margin-bottom: 30px; font-size: 16.5px; }

/* ── Filters ── */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-btn {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--border);
  background: #fff; color: var(--text); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all .15s ease;
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ── Master cards ── */
.masters-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.master-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.master-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.master-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.master-exp { white-space: nowrap; }
.cert-badge {
  margin-left: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .2px;
  color: #0e7a3d; background: #e7f7ee; border: 1px solid #bfe8d0;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.master-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: var(--sky); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
}
.master-name { font-size: 18px; font-weight: 700; color: var(--navy-dark); }
.master-exp { font-size: 13.5px; color: var(--muted); }
.master-districts { font-size: 14px; color: var(--muted); }
.master-districts b { color: var(--text); font-weight: 600; }
.master-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.tag {
  font-size: 12.5px; padding: 4px 11px; border-radius: 999px;
  background: var(--sky); color: var(--navy); font-weight: 600;
}
.master-note { font-size: 14px; color: var(--muted); flex-grow: 1; }
.master-phone { font-size: 13px; color: var(--muted); text-align: center; margin-top: -4px; }

/* ── VIP card ── */
.vip-card {
  grid-column: 1 / -1;
  position: relative;
  border: 2px solid #d9a922;
  background: linear-gradient(135deg, #fffdf5 0%, #fff8e2 60%, #fdf3d0 100%);
  box-shadow: 0 10px 34px rgba(212, 160, 23, .22);
  padding: 30px 28px 26px;
}
.vip-card:hover { box-shadow: 0 14px 40px rgba(212, 160, 23, .32); }
.vip-ribbon {
  position: absolute; top: -14px; left: 24px;
  background: linear-gradient(120deg, #e8b32a, #c9920e);
  color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 1px;
  padding: 6px 18px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(180, 130, 10, .4);
}
.vip-body { display: flex; gap: 30px; align-items: stretch; margin-top: 8px; }
.vip-info { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.vip-avatar {
  background: linear-gradient(135deg, #f3cf5e, #d9a922);
  color: #fff; width: 60px; height: 60px; font-size: 26px;
  box-shadow: 0 4px 12px rgba(212, 160, 23, .35);
}
.vip-cert-text { color: #a67c00; }
.tag-gold { background: #faedc4; color: #8a6400; }
.vip-call {
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  min-width: 220px;
}
.btn-gold {
  background: linear-gradient(120deg, #e8b32a, #c9920e);
  font-size: 17px; padding: 16px 22px;
  box-shadow: 0 6px 18px rgba(180, 130, 10, .4);
}
.btn-gold:hover { background: linear-gradient(120deg, #dba81f, #b8850c); }

@media (max-width: 700px) {
  .vip-body { flex-direction: column; gap: 16px; }
  .vip-call { min-width: 0; }
}

/* ── Prices ── */
.price-table { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; max-width: 760px; }
.price-row { display: flex; justify-content: space-between; gap: 20px; padding: 15px 24px; border-bottom: 1px solid var(--border); font-size: 15.5px; }
.price-row:last-child { border-bottom: none; }
.price-row div:last-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.price-head { background: var(--navy); color: #fff; font-weight: 600; }
.price-head div:last-child { color: #fff; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { background: var(--ice); border-radius: var(--radius); padding: 28px; }
.step-num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700; margin-bottom: 16px;
}
.step p { color: var(--muted); font-size: 14.5px; }

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff; padding: 56px 0; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { margin: 10px 0 24px; color: #ffd9db; font-size: 17px; }

/* ── FAQ ── */
.faq-list { max-width: 760px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0 22px;
}
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 16px; color: var(--navy-dark);
  padding: 17px 0; list-style: none; position: relative; padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--red); font-weight: 400;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); font-size: 15px; padding-bottom: 18px; }

/* ── Forms (join / admin) ── */
.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; max-width: 640px; box-shadow: var(--shadow);
}
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; color: var(--navy-dark); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--text);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--navy); }
.form-hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.form-msg { margin-top: 16px; padding: 13px 16px; border-radius: 10px; font-size: 14.5px; display: none; }
.form-msg.ok { display: block; background: #e7f7ee; color: #0e7a3d; border: 1px solid #bfe8d0; }
.form-msg.err { display: block; background: #fdecec; color: #b1120f; border: 1px solid #f5c6c5; }
.req-list { max-width: 640px; margin-bottom: 28px; padding-left: 0; list-style: none; }
.req-list li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px solid var(--border); font-size: 15.5px; }
.req-list li::before { content: "✓"; position: absolute; left: 4px; color: var(--red); font-weight: 800; }
.footer-link { color: #cfe0f8; }

/* ── Admin ── */
.admin-row {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 14px;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
}
.admin-row .grow { flex: 1; min-width: 240px; }
.admin-status { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.admin-status.pending { background: #fff4d6; color: #8a6400; }
.admin-status.approved { background: #e7f7ee; color: #0e7a3d; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-green { background: #0e7a3d; color: #fff; }
.btn-green:hover { background: #0a6231; }
.btn-grey { background: #eef2f8; color: var(--text); }
.btn-grey:hover { background: #dfe7f2; }

/* ── Footer ── */
.footer { background: var(--navy-dark); color: #a9c0e8; padding: 40px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer p { font-size: 13.5px; margin-top: 10px; max-width: 420px; }
.footer-note { text-align: right; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .masters-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .nav { display: none; }
  h1 { font-size: 34px; }
  .footer-note { text-align: left; }
}
@media (max-width: 560px) {
  .masters-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 22px; }
  .header-cta { margin-left: auto; }
}
