.hero {
  padding: 92px 0;
  background:
    radial-gradient(circle at 85% 18%, rgba(246, 195, 61, 0.25), transparent 28%),
    radial-gradient(circle at 14% 12%, rgba(18, 103, 179, 0.13), transparent 30%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-visual {
  position: relative;
  min-height: 430px;
  border-radius: 34px;
  background: linear-gradient(145deg, #ffffff, #eef6ff);
  box-shadow: 0 30px 70px rgba(11, 49, 95, 0.14);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: rgba(246, 195, 61, 0.42);
}

.hero-visual::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  left: -70px;
  bottom: -80px;
  border-radius: 50%;
  background: rgba(18, 103, 179, 0.16);
}

.dashboard {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 2;
  width: 72%;
  min-height: 250px;
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  transform: translate(-50%, -50%);
  box-shadow: 0 24px 50px rgba(11, 49, 95, 0.18);
}

.dashboard-bar {
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--yellow), var(--orange));
  margin-bottom: 34px;
}

.stats {
  display: flex;
  gap: 12px;
  align-items: end;
  height: 86px;
  margin-bottom: 32px;
}

.stats span {
  flex: 1;
  border-radius: 14px 14px 6px 6px;
  background: var(--blue);
}

.stats span:nth-child(1) {
  height: 45%;
}

.stats span:nth-child(2) {
  height: 80%;
  background: var(--yellow);
}

.stats span:nth-child(3) {
  height: 60%;
  background: var(--orange);
}

.lines {
  display: grid;
  gap: 10px;
}

.lines i {
  height: 22px;
  border-radius: 999px;
  background: #eaf1f8;
}

.chip {
  position: absolute;
  z-index: 3;
  padding: 12px 16px;
  border-radius: 16px;
  color: var(--blue-dark);
  background: #ffffff;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(11, 49, 95, 0.16);
}

.chip-one {
  left: 26px;
  top: 70px;
}

.chip-two {
  right: 28px;
  bottom: 70px;
}

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

.card {
  min-height: 210px;
  padding: 30px;
  border: 1px solid rgba(18, 103, 179, 0.08);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(11, 49, 95, 0.08);
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.icon {
  display: inline-flex;
  min-width: 56px;
  height: 52px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 18px;
  color: var(--blue);
  background: #edf6ff;
  font-size: 14px;
  font-weight: 900;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.about-grid p {
  color: var(--muted);
  font-size: 17px;
}

.benefits {
  display: grid;
  gap: 18px;
}

.benefits div {
  padding: 28px;
  border-radius: 24px;
  background: var(--blue-dark);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(11, 49, 95, 0.16);
}

.benefits div:nth-child(2) {
  background: var(--blue);
}

.benefits div:nth-child(3) {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: var(--blue-dark);
}

.benefits strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.benefits span {
  display: block;
  opacity: 0.92;
}

.contact-section {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 44px;
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(11, 49, 95, 0.13);
  border: 1px solid rgba(18, 103, 179, 0.1);
}

.contact-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 900px) {
  .hero {
    padding: 64px 0;
  }

  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 340px;
  }

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

  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .contact-card {
    padding: 24px;
  }
}

/* Visual polish closer to the approved mockup */
.hero {
  padding: 76px 0 92px;
}

.hero-grid {
  gap: 72px;
}

.hero-content {
  padding-top: 8px;
}

.hero-content h1 {
  max-width: 620px;
}

.hero-content .lead {
  max-width: 610px;
  line-height: 1.75;
}

.hero-visual {
  min-height: 410px;
  border-radius: 36px;
}

.dashboard {
  width: 68%;
  min-height: 236px;
}

.section-soft {
  padding-top: 84px;
}

@media (max-width: 900px) {
  .hero {
    padding: 56px 0 70px;
  }

  .hero-grid {
    gap: 42px;
  }
}

/* Hero illustration upgrade */
.hero-visual {
  position: relative;
  min-height: 470px;
  border-radius: 42px;
  background: linear-gradient(145deg, #f8fbff 0%, #edf6ff 100%);
  box-shadow: 0 34px 90px rgba(11, 49, 95, 0.14);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  right: -28px;
  top: -38px;
  width: 230px;
  height: 245px;
  border-radius: 42px 42px 42px 130px;
  background: rgba(246, 195, 61, 0.42);
}

.hero-visual::after {
  content: "";
  position: absolute;
  left: -36px;
  bottom: -26px;
  width: 230px;
  height: 225px;
  border-radius: 50% 50% 34px 34px;
  background: rgba(18, 103, 179, 0.13);
}

.dashboard {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 2;
  width: 72%;
  min-height: 300px;
  padding: 34px 34px 30px;
  border-radius: 34px;
  background: #ffffff;
  transform: translate(-50%, -50%);
  box-shadow: 0 32px 70px rgba(11, 49, 95, 0.20);
}

.dashboard-bar {
  height: 30px;
  width: 88%;
  margin-left: auto;
  margin-bottom: 72px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(11, 49, 95, 0.55), var(--yellow), var(--orange));
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: end;
  height: 86px;
  margin-bottom: 48px;
}

.stats span {
  display: block;
  height: 72px;
  border-radius: 16px;
  background: var(--blue);
}

.stats span:nth-child(1) {
  height: 68px;
  background: #1e73b8;
}

.stats span:nth-child(2) {
  height: 110px;
  background: var(--yellow);
}

.stats span:nth-child(3) {
  height: 88px;
  background: var(--orange);
}

.lines {
  display: grid;
  gap: 16px;
}

.lines i {
  display: block;
  height: 20px;
  border-radius: 999px;
  background: #e8f0f8;
}

.lines i:nth-child(1) {
  width: 100%;
}

.lines i:nth-child(2) {
  width: 94%;
}

.lines i:nth-child(3) {
  width: 86%;
}

.chip {
  position: absolute;
  z-index: 4;
  padding: 18px 28px;
  border-radius: 22px;
  color: var(--blue-dark);
  background: #ffffff;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(11, 49, 95, 0.18);
}

.chip-one {
  left: 42px;
  top: 92px;
}

.chip-two {
  right: 58px;
  bottom: 94px;
}

@media (max-width: 900px) {
  .hero-visual {
    min-height: 390px;
  }

  .dashboard {
    width: 76%;
    min-height: 255px;
    padding: 28px;
  }

  .dashboard-bar {
    margin-bottom: 52px;
  }

  .chip {
    font-size: 15px;
    padding: 14px 18px;
  }

  .chip-one {
    left: 24px;
    top: 58px;
  }

  .chip-two {
    right: 24px;
    bottom: 58px;
  }
}

@media (max-width: 620px) {
  .hero-visual {
    min-height: 320px;
    border-radius: 30px;
  }

  .dashboard {
    width: 78%;
    min-height: 215px;
    padding: 22px;
    border-radius: 26px;
  }

  .dashboard-bar {
    height: 22px;
    margin-bottom: 38px;
  }

  .stats {
    gap: 12px;
    height: 60px;
    margin-bottom: 30px;
  }

  .stats span,
  .stats span:nth-child(1),
  .stats span:nth-child(2),
  .stats span:nth-child(3) {
    height: 58px;
  }

  .chip {
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 16px;
  }
}
