/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #2b2b2b;
    line-height: 1.6;
}

/* COMMON */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 60px 0;
}

.section.gray {
    background: #f5f7fa;
}

h1, h2, h3 {
    margin-bottom: 20px;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 30px;
    text-align: center;
}

.section-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* HEADER */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo img {
    max-height: 48px;
    width: auto;
    display: block;
}

.logo span {
    color: #1e66d0;
}

.nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #2b2b2b;
}

.nav a:hover {
    color: #1e66d0;
}

.header-phone a {
    color: #1e66d0;
    font-weight: bold;
    text-decoration: none;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #1e66d0, #0f3c78);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.hero p {
    margin: 20px 0 30px;
    font-size: 18px;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.btn.primary {
    background: #ff8a00;
    color: #ffffff;
}

.btn.primary:hover {
    background: #e67900;
}

.btn.secondary {
    border: 2px solid #ffffff;
    color: #ffffff;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: #ffffff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    text-align: center;
}

/* ADVANTAGES */
.advantages {
    max-width: 600px;
    margin: 30px auto 0;
    list-style: none;
}

.advantages li {
    padding: 10px 0;
    text-align: center;
}

/* CTA */
.cta {
    background: #1e66d0;
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

/* FOOTER */
.footer {
    background: #1b1b1b;
    color: #ffffff;
    padding: 40px 0 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
}

.footer a {
    color: #ff8a00;
    text-decoration: none;
}

.footer-copy {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.7;
}
/* ===== FAQ (Accordion) ===== */

.faq {
    max-width: 900px;
    margin: 40px auto 0;
}

.faq details {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 16px;
    padding: 0;
    transition: all 0.3s ease;
}

.faq details[open] {
    border-color: #1e66d0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 600;
    font-size: 18px;
    position: relative;
    color: #1e1e1e;
}

.faq summary::-webkit-details-marker {
    display: none;
}

/* стрелка */
.faq summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    color: #1e66d0;
    transition: transform 0.3s ease;
}

.faq details[open] summary::after {
    content: "−";
}

.faq details p {
    padding: 0 22px 20px;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.faq {
    padding-bottom: 20px;
}

.faq details p {
    animation: fadeIn 0.25s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dd-news-slider { margin-top: 18px; }
.dd-slider { position: relative; overflow: hidden; border-radius: 18px; }

.dd-slider-track { display: flex; transition: transform 600ms ease; }

.dd-slide {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 420px;
  background-repeat: no-repeat;
  background-image: var(--bg);
  background-size: cover;
  background-position: right center;
  background-color: #0e1624;
  position: relative;
}
.dd-slider-track {
  display: flex;
  width: 100%;
}

.dd-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.22));
}

.dd-slide-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 44px 20px;
  max-width: 760px;
}

.dd-slide-content h2 {
  font-size: clamp(22px, 3.3vw, 36px);
  margin: 0 0 10px;
  line-height: 1.15;
}

.dd-slide-content p {
  margin: 0 0 18px;
  font-size: 16px;
  opacity: .95;
}

.dd-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 2;
}

.dd-prev { left: 12px; }
.dd-next { right: 12px; }

.dd-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.dd-slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 20px;
  border: none;
  background: rgba(255,255,255,.4);
  cursor: pointer;
}

.dd-slider-dots button.active {
  width: 26px;
  background: #fff;
}
.app-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.app-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10,15,26,.65);
  backdrop-filter: blur(10px);
  z-index: -1; /* ← уводим под контент */
}

#staffBtn {
  position: relative;
  z-index: 1100; /* ← кнопка выше всего */
  pointer-events: auto;
}



/* RESPONSIVE */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 600px) {
  .logo img {
    max-height: 40px;
  }

  .faq summary {
    font-size: 16px;
    padding: 16px 20px;
  }
}