* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", sans-serif;
  background: #f8faff;
  color: #1a1f36;
  line-height: 1.5;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.header {
  background: #0b1a33;
  color: #fff;
  padding: 16px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -0.5px;
}
.logo span {
  color: #ffb347;
}
.header-phone {
  background: #ffb347;
  color: #0b1a33;
  padding: 8px 24px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
}
.header-phone:hover {
  background: #ffa31a;
  transform: scale(1.02);
}
.hero {
  padding: 50px 0 40px;
  background: linear-gradient(135deg, #eef4ff 0%, #ffffff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-title {
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-title i {
  color: #e67e22;
}
.hero-sub {
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 24px;
}
.hero-list {
  list-style: none;
  margin-bottom: 28px;
}
.hero-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-list i {
  color: #27ae60;
  width: 22px;
  text-align: center;
}
.btn-primary {
  display: inline-block;
  background: #0b1a33;
  color: #fff;
  padding: 14px 42px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(11, 26, 51, 0.2);
  transition: 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary i {
  margin-right: 8px;
}
.btn-primary:hover {
  background: #1c3055;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(11, 26, 51, 0.3);
}
.hero-image {
  background: #d9e2f0;
  border-radius: 32px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231a2a4a" opacity="0.08"><path d="M4 4h16v16H4V4z"/><rect x="7" y="7" width="10" height="10" rx="2"/></svg>');
  background-size: 80px;
  background-repeat: repeat;
  position: relative;
  overflow: hidden;
}
.hero-image-inner {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  padding: 30px 40px;
  border-radius: 24px;
  text-align: center;
  font-weight: 600;
  font-size: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.section {
  padding: 60px 0;
}
.section-title {
  font-size: 2.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 44px;
}
.section-title i {
  color: #e67e22;
}
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}
.card {
  background: #fff;
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid #eef2f9;
  transition: 0.25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}
.card i {
  font-size: 2.2rem;
  color: #0b1a33;
  background: #e8edf9;
  padding: 12px;
  border-radius: 16px;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.badge {
  background: #27ae60;
  color: #fff;
  padding: 2px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.review-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  border: 1px solid #eef2f9;
  transition: 0.2s;
}
.review-card:hover {
  border-color: #cbd5e1;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 40px;
  background: #0b1a33;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
}
.review-name {
  font-weight: 600;
}
.review-source {
  font-size: 0.8rem;
  color: #6b7a8f;
  display: flex;
  align-items: center;
  gap: 6px;
}
.review-source i {
  color: #fbbc05;
}
.review-text {
  margin: 12px 0 8px;
  color: #1f2a44;
}
.review-stars {
  color: #f9a825;
  letter-spacing: 2px;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.case-item {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  border-left: 5px solid #0b1a33;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
.case-item h4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.case-item .price {
  background: #eef2f9;
  padding: 2px 14px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
}
.seo-text {
  background: #eef4ff;
  border-radius: 32px;
  padding: 32px 28px;
  margin-top: 24px;
}
.seo-text h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.seo-text p {
  max-width: 800px;
  color: #1f2a44;
}
.footer {
  background: #0b1a33;
  color: #bfd1f0;
  padding: 32px 0;
  margin-top: 20px;
}
.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer a {
  color: #ffb347;
  text-decoration: none;
}
.faq-item {
  background: #fff;
  border-radius: 16px;
  padding: 18px 24px;
  margin-bottom: 12px;
  border: 1px solid #eef2f9;
}
.faq-item h4 {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
}
.faq-item p {
  margin-left: 32px;
  color: #2c3e50;
  margin-top: 6px;
}
/* таблица с адаптацией */
.price-wrap {
  overflow-x: auto;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 360px;
}
.price-table th {
  background: #0b1a33;
  color: #fff;
  padding: 14px 18px;
  text-align: left;
  white-space: nowrap;
}
.price-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #eef2f9;
  white-space: nowrap;
}
.price-table tr:last-child td {
  border-bottom: none;
}
/* справочный блок */
.info-block {
  background: #fff;
  border-radius: 24px;
  padding: 28px 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid #eef2f9;
  margin-top: 20px;
}
.info-block h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.info-block .contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-top: 16px;
  font-size: 1.05rem;
}
.info-block .contact-row i {
  color: #0b1a33;
  width: 24px;
  text-align: center;
}
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .header .container {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .header-phone {
    justify-content: center;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .price-table {
    min-width: 320px;
  }
  .price-table th,
  .price-table td {
    padding: 10px 12px;
    font-size: 0.9rem;
    white-space: normal;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .btn-primary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .hero-image-inner {
    font-size: 1rem;
    padding: 20px;
  }
  .info-block {
    padding: 20px;
  }
  .info-block .contact-row {
    flex-direction: column;
    gap: 12px;
  }
}
