* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #0f172a;
  background: linear-gradient(to bottom, #e6f2ff, #ffffff);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 32px));
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.22), transparent 30%),
    radial-gradient(circle at left, rgba(59, 130, 246, 0.14), transparent 28%),
    #020617;
  color: #fff;
  padding: 80px 0 72px;
}

.top-badge {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.08;
  margin: 0 0 20px;
  max-width: 760px;
  color: #ffffff;
}

.hero-text {
  max-width: 820px;
  font-size: 21px;
  color: #0f172a !important;
  margin: 0;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  border: 0;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #10b981;
  color: #04130d;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.28);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.highlights {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.highlight {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border-radius: 16px;
  padding: 14px;
  font-size: 14px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.highlight:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
}

.services-section {
  padding: 70px 0;
  background: linear-gradient(to bottom, rgba(16, 185, 129, 0.18), rgba(16, 185, 129, 0.28));
}

.services-section h2,
.reviews-section h2,
.review-form-section h2,
.contact-section h2 {
  font-size: 38px;
  margin: 0 0 14px;
}

.section-lead {
  max-width: 820px;
  font-size: 18px;
  color: #334155;
  margin: 0 0 28px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.card p {
  margin: 0;
  color: #475569;
}

.reviews-section {
  padding: 72px 0;
  background: #ffffff;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.stars {
  font-size: 22px;
  margin-bottom: 14px;
  color: #f59e0b;
}

.review-form-section {
  padding: 72px 0;
  background: #f8fafc;
}

.review-form {
  display: grid;
  gap: 14px;
}

.review-form input,
.review-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
}

.review-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-section {
  background: #020617;
  color: #fff;
  padding: 76px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: start;
}

.contact-lead {
  color: #cbd5e1;
  font-size: 18px;
  max-width: 680px;
}

.contact-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 24px;
}

.contact-item {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item strong {
  color: #94a3b8;
  font-size: 14px;
}

.contact-item a {
  color: #fff;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.popup-box {
  position: relative;
  max-width: 520px;
  width: 100%;
  background: #ffffff;
  color: #0f172a;
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  text-align: center;
}

.popup-box h3 {
  margin: 0 0 12px;
  font-size: 28px;
  color: #0f172a;
}

.popup-box p {
  margin: 0 0 20px;
  color: #334155;
}

.popup-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: #64748b;
}

.popup-close:hover {
  color: #0f172a;
}

@media (max-width: 960px) {
  .highlights,
  .cards,
  .reviews {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 40px;
  }
}

@media (max-width: 680px) {
  .highlights,
  .cards,
  .reviews {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-text {
    font-size: 18px;
  }

  .services-section h2,
  .reviews-section h2,
  .review-form-section h2,
  .contact-section h2 {
    font-size: 30px;
  }
}
.review-name {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  background: #e2e8f0;
  padding: 6px 10px;
  border-radius: 999px;
}
