

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

body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background: #f8f9fc;
  color: #1e2a36;
  line-height: 1.5;
}

.wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ========== HEADER ========== */
header {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #e9ecef;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  flex-wrap: wrap;
  gap: 15px;
}

.logo a {
  font-size: 1.6rem;
  font-weight: 700;
  color: #b3002f;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span {
  font-weight: 400;
  color: #2c3e50;
  font-size: 0.9rem;
}

.nav-menu ul {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  transition: 0.2s;
}

.nav-menu a:hover {
  color: #b3002f;
}

.phone-header a {
  background: #b3002f;
  color: white;
  padding: 8px 18px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.phone-header a:hover {
  background: #8c0024;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, #1a2a3a 0%, #0f1a24 100%);
  color: white;
  padding: 100px 20px 80px;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 25px;
  font-size: 1.2rem;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background: #b3002f;
  color: white;
  padding: 12px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #8c0024;
  transform: scale(1.02);
}

/* ========== Секції ========== */
.section {
  padding: 70px 0;
  border-bottom: 1px solid #eef2f5;
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 15px;
  color: #1e2a36;
}

.section-desc {
  text-align: center;
  color: #5a6e7c;
  margin-bottom: 45px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.grid-3, .grid-4, .steps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card, .step-card {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
  border: 1px solid #eef2f5;
  width: 280px;
  transition: 0.2s;
}

.card h3, .step-card h3 {
  margin-bottom: 12px;
  color: #b3002f;
}

/* ========== Блог ========== */
.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.blog-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  width: 320px;
  box-shadow: 0 5px 12px rgba(0,0,0,0.05);
  transition: 0.2s;
}
.blog-card:hover {
  transform: translateY(-5px);
}
.blog-card-content {
  padding: 20px;
}
.blog-card h3 {
  margin-bottom: 10px;
}
.read-more {
  color: #b3002f;
  text-decoration: none;
  font-weight: 600;
}
/* ========== Форма ========== */
.contact-form {
  background: white;
  padding: 30px;
  border-radius: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid #ddd;
  border-radius: 16px;
  font-family: inherit;
}
/* ========== Футер ========== */
footer {
  background: #0f1a24;
  color: #cddde9;
  padding: 50px 0 30px;
  margin-top: 40px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer-col {
  flex: 1;
  min-width: 180px;
}
.footer-col h4 {
  color: white;
  margin-bottom: 18px;
}
.footer-col a {
  color: #cddde9;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.footer-col a:hover {
  color: #ff7b4a;
}
.copyright {
  text-align: center;
  margin-top: 40px;
  font-size: 0.8rem;
  color: #8a9bb0;
}

/* ========== Cookie банери та модалка ========== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1e2a36;
  color: #f0f0f0;
  padding: 1rem 2rem;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 2px solid #ff9800;
}
.cookie-consent-banner.show {
  transform: translateY(0);
}
.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-text a {
  color: #ff9800;
  text-decoration: underline;
  cursor: pointer;
}
.cookie-btn {
  padding: 8px 18px;
  border-radius: 40px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.cookie-btn-accept { background: #ff9800; color: #1e2a36; }
.cookie-btn-decline { background: transparent; border: 1px solid #ff9800; color: #ff9800; }
.cookie-btn-settings { background: #3a4a58; color: white; }
.modal-privacy {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(3px);
}
.modal-privacy-content {
  background: #fff;
  margin: 5% auto;
  padding: 25px;
  border-radius: 24px;
  max-width: 700px;
  max-height: 80vh;
  overflow: auto;
  color: #222;
}
.close-modal {
  float: right;
  font-size: 28px;
  cursor: pointer;
}
@media (max-width: 768px) {
  .header-inner { flex-direction: column; text-align: center; }
  .nav-menu ul { flex-wrap: wrap; justify-content: center; gap: 15px; }
  .hero h1 { font-size: 1.8rem; }
  .section { padding: 40px 0; }
}