/* ============================================================
  — style.css
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --bg-deep:        #03060d;
  --bg-card:        rgba(10, 16, 30, 0.78);
  --accent:         #535599;
  --accent-glow:    rgba(95, 143, 255, 0.35);
  --accent2:        #535599;
  --silver:         #9fb3c8;
  --silver-light:   #d9e4f2;
  --text-dim:       #7c92b0;
  --border:         rgba(95, 143, 255, 0.16);
  --border-bright:  rgba(95, 143, 255, 0.45);
  --font-head:      'Exo 2', sans-serif;
  --font-body:      'Rajdhani', sans-serif;
  --radius:         0px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--silver-light);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── CANVAS BG ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── LAYOUT ── */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-head); color: #fff; font-weight: 900; line-height: 1.08; }
h1 { font-size: clamp(38px, 5.5vw, 68px); letter-spacing: -1px; text-shadow: 0 0 60px var(--accent-glow); }
h1 .hl { color: var(--accent); }
h2 { font-size: clamp(28px, 4vw, 46px); margin-bottom: 16px; }
h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-sub { color: var(--silver); font-size: 17px; max-width: 520px; }

/* ── DIVIDER ── */
.divider { display: flex; align-items: center; gap: 16px; margin: 0 0 52px; }
.divider-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--border-bright), transparent); }
.divider-dot  { width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); flex-shrink: 0; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  padding: 15px 32px;
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  box-shadow: 0 0 28px var(--accent-glow);
  transition: filter .25s, box-shadow .25s;
}
.btn-primary:hover { filter: brightness(1.15); box-shadow: 0 0 48px var(--accent-glow); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border-bright); color: var(--silver-light);
  padding: 15px 32px;
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: background .25s, color .25s;
}
.btn-outline:hover { background: rgba(95,143,255,0.12); color: #fff; }

/* ── FADE-UP ANIMATION ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim { animation: fadeUp .85s ease both; }
.anim-d1 { animation-delay: .08s; }
.anim-d2 { animation-delay: .18s; }
.anim-d3 { animation-delay: .28s; }
.anim-d4 { animation-delay: .38s; }
.anim-d5 { animation-delay: .48s; }
.anim-d6 { animation-delay: .56s; }

/* ========================================================
   NAV
   ======================================================== */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(5, 8, 16, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  max-width: 1100px; margin: 0 auto;
}

/* ===== ЛОГОТИП (PNG + ТЕКСТ) ===== */
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.logo-link:hover { opacity: 0.85; }
.logo-img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.logo-text span { color: var(--accent); }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--silver); font-family: var(--font-body); font-weight: 600;
  font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  transition: color .2s; white-space: nowrap;
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  border: 1px solid var(--accent); color: var(--accent);
  padding: 9px 22px; font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  transition: background .2s, color .2s, box-shadow .2s;
}
.nav-cta:hover { background: var(--accent); color: #fff; box-shadow: 0 0 20px var(--accent-glow); }

/* Mobile burger */
.burger { display: none; flex-direction: column; gap: 5px; padding: 4px; background: transparent; }
.burger span { display: block; width: 24px; height: 2px; background: var(--silver-light); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(5,8,16,0.97);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 14px 32px; font-size: 16px; }
  .nav-cta { display: none; }
  .burger { display: flex; }
  .nav-inner { padding: 14px 20px; }
  .logo-img { height: 34px; }
  .logo-text { font-size: 18px; letter-spacing: 1.5px; }
  .logo-link { gap: 8px; }
}

@media (max-width: 480px) {
  .logo-img { height: 28px; }
  .logo-text { font-size: 15px; letter-spacing: 1px; }
  .logo-link { gap: 6px; }
}

/* ========================================================
   HERO
   ======================================================== */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 80px; padding-bottom: 60px;
}
.hero-content { max-width: 680px; }
.hero-badge {
  display: inline-block;
  border: 1px solid var(--border-bright); color: var(--accent2);
  font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  padding: 6px 16px; margin-bottom: 28px;
  background: rgba(0,224,255,0.06);
}
.hero-h1 { margin-bottom: 22px; }
.hero-sub { font-size: 19px; color: var(--silver); margin-bottom: 40px; max-width: 460px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 56px; flex-wrap: wrap; }
.stat-num { font-family: var(--font-head); font-size: 34px; font-weight: 900; color: #fff; line-height: 1; }
.stat-num em { color: var(--accent); font-style: normal; }
.stat-lbl { font-size: 12px; color: var(--text-dim); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; }

/* ========================================================
   SERVICES
   ======================================================== */
#services { padding: 100px 0; }
.services-header { margin-bottom: 48px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  position: relative;
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 36px 28px 32px;
  backdrop-filter: blur(10px); overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity .3s;
}
.card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--accent-glow) 0%, transparent 60%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.card:hover { border-color: var(--border-bright); box-shadow: 0 8px 40px rgba(0,0,0,.5), 0 0 28px var(--accent-glow); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card:hover::after  { opacity: 1; }

.card-num { position: absolute; top: 20px; right: 24px; font-family: var(--font-head); font-size: 11px; font-weight: 700; color: var(--text-dim); letter-spacing: 2px; }
.card-icon { width: 72px; height: 72px; margin-bottom: 24px; position: relative; z-index: 1; }
.card-icon svg { width: 100%; height: 100%; filter: drop-shadow(0 0 12px var(--accent)); }
.card h3 { position: relative; z-index: 1; margin-bottom: 12px; }
.card p  { color: var(--silver); font-size: 15px; margin-bottom: 28px; position: relative; z-index: 1; }
.card-price { font-family: var(--font-head); font-size: 28px; font-weight: 900; color: #fff; margin-bottom: 24px; position: relative; z-index: 1; }
.card-price .from { font-size: 14px; font-weight: 400; color: var(--text-dim); margin-right: 4px; }
.card-price .rub  { color: var(--accent); }
.card-btn {
  display: block; width: 100%; text-align: center;
  border: 1px solid var(--border-bright); color: var(--accent);
  padding: 12px; font-family: var(--font-head); font-size: 13px;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  transition: background .25s, color .25s; position: relative; z-index: 1;
}
.card-btn:hover { background: var(--accent); color: #fff; }

/* ===== ЦЕНЫ ВНУТРИ КАРТОЧЕК ===== */
.card-prices {
  margin: 20px 0 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--silver);
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}
.card-price-row:last-child { border-bottom: none; }
.card-price-row span {
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  background: rgba(95,143,255,0.12);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 13px;
  white-space: nowrap;
}

/* ===== КНОПКА СКАЧИВАНИЯ ПРАЙСА ===== */
.pdf-download-wrapper {
  text-align: center;
  margin-top: 48px;
  padding: 32px 24px;
  background: linear-gradient(135deg, rgba(95, 143, 255, 0.06) 0%, rgba(0, 212, 255, 0.04) 100%);
  border-radius: 16px;
  border: 1px solid var(--border);
}
.pdf-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  font-size: 15px;
  clip-path: none;
  border-radius: 40px;
  box-shadow: 0 0 20px var(--accent-glow);
  text-decoration: none;
}
.pdf-download-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--accent-glow);
}
.pdf-download-info {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ========================================================
   WHY US
   ======================================================== */
#why { padding: 80px 0; background: rgba(8,13,26,0.6); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.why-item {
  padding: 28px; border: 1px solid var(--border);
  background: rgba(5,8,16,0.5); position: relative; overflow: hidden;
  transition: border-color .3s;
}
.why-item:hover { border-color: rgba(95,143,255,0.4); }
.why-icon { font-size: 34px; margin-bottom: 14px; display: block; filter: drop-shadow(0 0 8px var(--accent-glow)); }
.why-item p { font-size: 14px; color: var(--silver); }
.why-corner { position: absolute; bottom: 0; right: 0; width: 36px; height: 36px; border-top: 1px solid var(--border-bright); border-left: 1px solid var(--border-bright); }

/* ========================================================
   REVIEWS
   ======================================================== */
#reviews { padding: 100px 0; }
.reviews-header { margin-bottom: 48px; }
.reviews-track { position: relative; overflow: hidden; }
.reviews-grid  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.review-card {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 28px 28px 24px; position: relative;
  transition: border-color .3s, box-shadow .3s;
}
.review-card:hover { border-color: var(--border-bright); box-shadow: 0 4px 24px rgba(0,0,0,.4); }
.review-quote { position: absolute; top: 14px; right: 18px; font-size: 56px; line-height: 1; color: var(--border-bright); font-family: Georgia, serif; pointer-events: none; }
.review-stars { color: var(--accent); font-size: 17px; margin-bottom: 14px; letter-spacing: 3px; }
.review-text {
  color: var(--silver); font-size: 15px; line-height: 1.65;
  margin-bottom: 20px; font-style: italic;
}
.review-text::before { content: '«'; color: var(--accent); font-style: normal; }
.review-text::after  { content: '»'; color: var(--accent); font-style: normal; }
.review-author { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: #fff; }
.review-date   { font-size: 12px; color: var(--text-dim); margin-top: 4px; letter-spacing: 1px; }

.reviews-nav { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }
.reviews-dot {
  width: 8px; height: 8px; background: var(--border-bright);
  transform: rotate(45deg); cursor: pointer; border: none;
  transition: background .2s, transform .2s;
}
.reviews-dot.active { background: var(--accent); transform: rotate(45deg) scale(1.3); }

/* ========================================================
   CONTACT
   ======================================================== */
#contact { padding: 100px 0; }
.contact-inner { max-width: 640px; margin: 0 auto; }
.contact-inner h2 { margin-bottom: 20px; }
.contact-inner > p { color: var(--silver); margin-bottom: 40px; font-size: 18px; }

.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--border); padding: 18px 24px;
  background: var(--bg-card); backdrop-filter: blur(8px);
  transition: border-color .25s, box-shadow .25s;
}
.contact-item:hover { border-color: var(--border-bright); box-shadow: 0 4px 24px rgba(0,0,0,.3); }
.contact-item svg { flex-shrink: 0; opacity: .75; }
.contact-item-body { display: flex; flex-direction: column; }
.contact-item-label { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.contact-item-val { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: #fff; letter-spacing: 1px; transition: color .2s; }
.contact-item:hover .contact-item-val { color: var(--accent); }

/* ========================================================
   FIXED CTA
   ======================================================== */
.fixed-cta { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.fab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px; font-family: var(--font-head); font-size: 13px;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  transition: transform .2s, box-shadow .2s;
  border-radius: 40px;
}
.fab:hover { transform: scale(1.05); }
.fab-call { background: var(--accent); color: #fff; box-shadow: 0 4px 20px var(--accent-glow); }
.fab-tg   { background: #29a9eb; color: #fff; box-shadow: 0 4px 20px rgba(41,169,235,.3); }

/* ========================================================
   FOOTER
   ======================================================== */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 24px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
}
.footer-logo span { color: var(--accent); }
.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.footer-phone {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--silver-light);
  transition: color .2s;
}
.footer-phone:hover { color: var(--accent); }
.footer-email {
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 1px;
  transition: color .2s;
}
.footer-email:hover { color: var(--silver-light); }
.footer-tg {
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 1px;
  transition: color .2s;
}
.footer-tg:hover { color: #29a9eb; }
.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-align: right;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}

.footer-copy div {
  display: block;
  line-height: 1.5;
}

/* ===== ДИСКЛЕЙМЕР В ФУТЕРЕ ===== */
.footer-disclaimer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-dim);
  text-align: left;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.footer-disclaimer p {
  margin-bottom: 12px;
}
.footer-disclaimer a {
  color: var(--accent);
  text-decoration: underline;
}
.footer-disclaimer a:hover {
  color: var(--accent2);
}

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 900px) {
  .cards    { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cards    { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .fixed-cta { bottom: 16px; right: 16px; }
  .fab { padding: 11px 16px; font-size: 12px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-contacts { align-items: flex-start; }
  .footer-copy { text-align: left; }
  .card-price-row { font-size: 13px; flex-wrap: wrap; gap: 6px; }
  .card-price-row span { font-size: 12px; white-space: nowrap; }
  .pdf-download-wrapper { margin-top: 32px; padding: 20px 16px; }
  .pdf-download-btn { padding: 12px 24px; font-size: 13px; }
  .footer-disclaimer {
    padding-left: 20px;
    padding-right: 20px;
  }
}