:root {
  --solution-bg: #f5f7fb;
  --solution-surface: #ffffff;
  --solution-title: #17233d;
  --solution-text: #4e5969;
  --solution-accent: #2f7cff;
  --solution-border: #e8edf5;
  --solution-shadow: 0 10px 30px rgba(23, 35, 61, 0.08);
  --solution-radius: 18px;
}

.solution-page {
  position: relative;
  padding: 89px 0 80px;
  background: linear-gradient(180deg, #f8faff 0%, #f5f7fb 48%, #f7f9fc 100%);
}

.solution-page::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 36vw;
  height: 380px;
  min-width: 280px;
  pointer-events: none;
  background: radial-gradient(
    circle at right top,
    rgba(47, 124, 255, 0.12),
    rgba(47, 124, 255, 0)
  );
}

.solution-page .container {
  width: min(1200px, 92%);
}

.solution-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 40px;
  border: 1px solid var(--solution-border);
  border-left: none;
  border-right: none;
  border-radius: 0;
  background: url(../../../images/banner.jpg) no-repeat center center;
  background-size: cover;
  box-shadow: var(--solution-shadow);
  overflow: hidden;
}

.solution-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 20, 45, 0.58) 0%,
    rgba(7, 20, 45, 0.42) 45%,
    rgba(7, 20, 45, 0.2) 100%
  );
}

.solution-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -70px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(47, 124, 255, 0.16) 0%,
    rgba(47, 124, 255, 0) 70%
  );
}

.solution-hero-content {
  position: relative;
  z-index: 1;
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 80px 0;
}

.solution-title {
  margin: 0 0 18px;
  font-size: 60px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #f7fbff;
  background: linear-gradient(90deg, #ffffff 0%, #d7e9ff 48%, #8cc4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  text-shadow: 0 3px 12px rgba(7, 20, 45, 0.42);
}

.solution-intro {
  margin: 0;
  position: relative;
  color: rgba(205, 236, 255, 0.96);
  font-size: 22px;
  line-height: 1.95;
  padding: 20px 22px 18px;
  animation: introReveal 0.85s ease both;
}

.solution-intro p {
  margin: 0 0 12px;
}

.solution-intro p:last-child {
  margin-bottom: 0;
}

.solution-brief {
  margin: 0 0 28px;
}

.solution-brief__inner {
  border: 1px solid var(--solution-border);
  border-radius: var(--solution-radius);
  background: var(--solution-surface);
  box-shadow: 0 6px 22px rgba(23, 35, 61, 0.06);
  padding: 24px 28px;
}

.solution-brief__content {
  color: var(--solution-text);
  font-size: 15px;
  line-height: 1.9;
}

.solution-brief__content p {
  margin: 0 0 12px;
}

.solution-brief__content p:last-child {
  margin-bottom: 0;
}

.solution-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.solution-card {
  grid-column: span 6;
  border-radius: var(--solution-radius);
  border: 1px solid var(--solution-border);
  background: var(--solution-surface);
  box-shadow: 0 6px 22px rgba(23, 35, 61, 0.06);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(23, 35, 61, 0.12);
}

.solution-card.solution-card-lg {
  grid-column: span 12;
}

.solution-card img {
  display: block;
  width: 100%;
  object-fit: cover;
  background: #f1f4fa;
}

.solution-card.solution-card-html {
  grid-column: span 12;
}

.solution-card__html {
  padding: 28px 30px;
  color: var(--solution-text);
  font-size: 15px;
  line-height: 1.9;
}

.solution-card__html h1,
.solution-card__html h2,
.solution-card__html h3,
.solution-card__html h4 {
  margin: 0 0 14px;
  color: var(--solution-title);
  font-weight: 600;
}

.solution-card__html p {
  margin: 0 0 12px;
}

.solution-card__html p:last-child {
  margin-bottom: 0;
}

.solution-card__html img {
  width: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 12px;
  background: #f8faff;
}

@keyframes introReveal {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .solution-page {
    padding-top: 48px;
  }

  .solution-hero-content {
    width: calc(100% - 40px);
    padding: 40px 0;
  }

  .solution-card {
    grid-column: span 6;
  }

  .solution-card.solution-card-lg {
    grid-column: span 12;
  }
}

@media (max-width: 768px) {
  .solution-page {
    padding: 34px 0 58px;
  }

  .solution-page .container {
    width: calc(100% - 28px);
  }

  .solution-hero {
    margin-bottom: 24px;
  }

  .solution-hero-content {
    width: calc(100% - 28px);
    padding: 26px 0;
  }

  .solution-title {
    margin-bottom: 12px;
    font-size: 26px;
  }

  .solution-intro {
    padding: 14px 14px 12px;
    font-size: 14px;
    line-height: 1.85;
  }

  .solution-brief {
    margin-bottom: 20px;
  }

  .solution-brief__inner {
    padding: 18px 16px;
  }

  .solution-brief__content {
    font-size: 14px;
    line-height: 1.85;
  }

  .solution-gallery {
    gap: 14px;
  }

  .solution-card,
  .solution-card.solution-card-lg,
  .solution-card.solution-card-html {
    grid-column: span 12;
  }

  .solution-card__html {
    padding: 18px 16px;
    font-size: 14px;
  }
}
