.license-results {
  --lr-blue: #4d80e7;
  --lr-cyan: #78d5df;
  --lr-green: #69c8a5;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 11%, rgba(68, 116, 213, .22), transparent 27%),
    radial-gradient(circle at 3% 93%, rgba(71, 176, 178, .13), transparent 30%),
    #0c2242;
}

.license-results::after {
  content: "";
  position: absolute;
  right: -170px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  pointer-events: none;
}

.license-results .container {
  position: relative;
  z-index: 1;
}

.license-results-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, .72fr);
  gap: clamp(42px, 7vw, 104px);
  align-items: end;
  margin-bottom: 36px;
}

.license-results-heading h2 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.35vw, 53px);
  line-height: 1.06;
  letter-spacing: -.036em;
}

.license-results-heading > p {
  margin: 0;
  padding: 20px 22px;
  border: 1px solid rgba(143, 177, 240, .2);
  border-radius: 18px;
  background: rgba(255, 255, 255, .065);
  color: rgba(255, 255, 255, .9) !important;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.68;
}

.license-result-system {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, .7fr);
  gap: 18px;
}

.license-result-map {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 28px;
  background: #f9fbfe;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .2);
  color: #11294c;
}

.license-result-map > header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 30px 32px 24px;
  border-bottom: 1px solid #dce5f0;
}

.license-result-map > header > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.license-result-map > header small,
.license-result-actions article small {
  color: #3d6cbc;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
}

.license-result-map > header h3 {
  max-width: 640px;
  margin: 8px 0 0;
  font-size: 29px;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.license-result-map > header em {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid #cfdaea;
  border-radius: 999px;
  background: #eef4fc;
  color: #496483;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.license-result-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
  gap: 14px 8px;
  padding: 28px 32px;
  background:
    linear-gradient(90deg, rgba(53, 108, 197, .035) 1px, transparent 1px),
    linear-gradient(rgba(53, 108, 197, .035) 1px, transparent 1px),
    #f6f9fd;
  background-size: 28px 28px;
}

.license-result-route > div {
  display: grid;
  min-width: 0;
  padding: 20px;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid #d8e2ef;
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 25px rgba(17, 48, 91, .065);
}

.license-result-route > div:nth-of-type(3) {
  border-color: #b9cee9;
  background: #edf4fd;
}

.license-result-route > div:nth-of-type(4) {
  border-color: #b9dfd1;
  background: #eef9f5;
}

.license-result-route > div > i,
.license-result-actions article > i {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: #102c53;
}

.license-result-route svg,
.license-result-actions svg {
  width: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.license-result-route > div > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.license-result-route > div small {
  color: #4e72a8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.license-result-route > div b {
  margin-top: 7px;
  color: #122b4d;
  font-size: 17px;
  line-height: 1.3;
}

.license-result-route > div p {
  margin: 7px 0 0;
  color: #5d6d82;
  font-size: 15px;
  line-height: 1.55;
}

.license-result-route > b {
  display: grid;
  place-items: center;
  color: #6f8aaf;
  font-size: 21px;
}

.license-result-route > div:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.license-result-route > b:nth-of-type(1) { grid-column: 2; grid-row: 1; }
.license-result-route > div:nth-of-type(2) { grid-column: 3; grid-row: 1; }
.license-result-route > b:nth-of-type(2) {
  grid-column: 2;
  grid-row: 2;
  transform: rotate(90deg);
}
.license-result-route > div:nth-of-type(3) { grid-column: 1; grid-row: 3; }
.license-result-route > b:nth-of-type(3) { grid-column: 2; grid-row: 3; }
.license-result-route > div:nth-of-type(4) { grid-column: 3; grid-row: 3; }

.license-result-map > footer {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 20px 32px;
  border-top: 1px solid #d9e3ef;
  background: #fff;
}

.license-result-map > footer > i {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: #1f806b;
  color: #fff;
  font-size: 17px;
  font-style: normal;
  font-weight: 900;
}

.license-result-map > footer > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.license-result-map > footer b {
  color: #17355d;
  font-size: 16px;
}

.license-result-map > footer small {
  margin-top: 4px;
  color: #63738a;
  font-size: 14px;
  line-height: 1.5;
}

.license-result-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.license-result-actions article {
  display: grid;
  min-width: 0;
  padding: 21px;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 19px;
  background: rgba(255, 255, 255, .075);
  color: #fff;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.license-result-actions article:hover {
  border-color: rgba(120, 213, 223, .46);
  background: rgba(255, 255, 255, .105);
  transform: translateY(-2px);
}

.license-result-actions article:nth-child(2) > i { background: #2859a6; }
.license-result-actions article:nth-child(3) > i { background: #19766f; }
.license-result-actions article:nth-child(4) > i { background: #3b5684; }
.license-result-actions article small { color: #84aaf0; }
.license-result-actions article > span { display: flex; min-width: 0; flex-direction: column; }
.license-result-actions article b { margin-top: 6px; color: #fff; font-size: 17px; line-height: 1.3; }
.license-result-actions article p { margin: 7px 0 0; color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.55; }

.license-results .reveal,
.license-results .reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 1120px) {
  .license-result-system { grid-template-columns: 1fr; }
  .license-result-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .license-results-heading { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .license-results-heading h2 { font-size: clamp(33px, 6vw, 46px); }
  .license-results-heading > p { max-width: 680px; }
}

@media (max-width: 620px) {
  .license-results-heading { margin-bottom: 26px; }
  .license-results-heading h2 { font-size: 30px; line-height: 1.1; }
  .license-results-heading > p { padding: 16px; font-size: 16px; }
  .license-result-map { border-radius: 22px; }
  .license-result-map > header { padding: 24px 20px 20px; flex-direction: column; }
  .license-result-map > header h3 { font-size: 24px; }
  .license-result-route { grid-template-columns: 1fr; padding: 20px; }
  .license-result-route > div { padding: 17px; grid-template-columns: 42px minmax(0, 1fr); }
  .license-result-route > div > i,
  .license-result-actions article > i { width: 42px; height: 42px; border-radius: 13px; }
  .license-result-route > b,
  .license-result-route > b:nth-of-type(2) { grid-column: auto; transform: rotate(90deg); min-height: 20px; }
  .license-result-route > div:nth-of-type(1),
  .license-result-route > b:nth-of-type(1),
  .license-result-route > div:nth-of-type(2),
  .license-result-route > b:nth-of-type(2),
  .license-result-route > div:nth-of-type(3),
  .license-result-route > b:nth-of-type(3),
  .license-result-route > div:nth-of-type(4) { grid-column: auto; grid-row: auto; }
  .license-result-route > div b { font-size: 16px; }
  .license-result-route > div p { font-size: 15px; }
  .license-result-map > footer { padding: 18px 20px; align-items: flex-start; }
  .license-result-map > footer b { font-size: 15px; }
  .license-result-map > footer small { font-size: 14px; }
  .license-result-actions { grid-template-columns: 1fr; }
  .license-result-actions article { padding: 19px; }
  .license-result-actions article b { font-size: 16px; }
  .license-result-actions article p { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .license-result-actions article { transition: none; }
}
