.solution-finder {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 4%, rgba(0, 173, 239, .12), transparent 27%),
    radial-gradient(circle at 7% 96%, rgba(114, 2, 187, .08), transparent 28%),
    #f8fafb;
}

.solution-finder.section {
  padding-top: 42px;
}

.finder-panel {
  overflow: hidden;
  border: 1px solid rgba(177, 197, 209, .62);
  border-radius: 28px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 24px 70px rgba(18, 52, 73, .1);
}

.finder-controls {
  padding: 27px;
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) minmax(170px, .72fr) minmax(190px, .78fr) auto;
  align-items: end;
  gap: 14px;
  border-bottom: 1px solid rgba(207, 220, 228, .84);
  background:
    linear-gradient(135deg, rgba(236, 248, 253, .92), rgba(248, 244, 252, .86)),
    #f7fafc;
}

.finder-search,
.finder-filter {
  min-width: 0;
}

.finder-search {
  display: grid;
  gap: 7px;
}

.finder-search > span:first-child,
.finder-filter label {
  color: #294453;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .045em;
}

.finder-input {
  position: relative;
  display: block;
}

.finder-input svg {
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 1;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #5a7b8c;
  stroke-width: 1.8;
  stroke-linecap: round;
  transform: translateY(-50%);
  pointer-events: none;
}

.finder-input input,
.finder-filter select {
  width: 100%;
  height: 50px;
  border: 1px solid #cedce5;
  border-radius: 13px;
  color: #263f4e;
  background: rgba(255, 255, 255, .96);
  font-size: 14px;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.finder-input input {
  padding: 0 16px 0 44px;
}

.finder-input input::placeholder {
  color: #8a9ba5;
}

.finder-filter {
  display: grid;
  gap: 7px;
}

.finder-filter select {
  padding: 0 38px 0 14px;
  cursor: pointer;
}

.finder-input input:focus,
.finder-filter select:focus {
  border-color: rgba(0, 146, 214, .8);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 173, 239, .11);
}

.finder-search small {
  color: #78909d;
  font-size: 10px;
  line-height: 1.35;
}

.finder-reset {
  height: 50px;
  padding: 0 17px;
  border: 1px solid rgba(75, 107, 125, .24);
  border-radius: 13px;
  color: #496575;
  background: rgba(255, 255, 255, .68);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.finder-reset:hover,
.finder-reset:focus-visible {
  border-color: rgba(0, 146, 214, .54);
  color: #117eb7;
  background: #fff;
}

.finder-summary {
  grid-column: 1 / -1;
  padding-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.finder-summary p {
  margin: 0;
  color: #708592;
  font-size: 12px;
}

.finder-summary strong {
  color: #1b8cc5;
  font-weight: 750;
}

.finder-summary a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #177fb6;
  font-size: 12px;
  font-weight: 680;
}

.finder-summary a svg,
.taxonomy-card > a svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform .2s ease;
}

.finder-summary a:hover svg,
.taxonomy-card > a:hover svg {
  transform: translateX(4px);
}

.taxonomy-grid {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.finder-detail-pages {
  margin: 0 18px 18px;
  padding: 16px;
  border: 1px solid rgba(207, 220, 228, .88);
  border-radius: 16px;
  background: #f8fbfd;
}

.finder-detail-head {
  margin-bottom: 12px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.finder-detail-kicker {
  margin: 0 0 2px;
  color: #1686bd;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.finder-detail-head h3 {
  margin: 0;
  color: #294453;
  font-size: 16px;
}

.finder-detail-meta {
  max-width: 430px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.finder-detail-meta > p {
  margin: 0;
  color: #718792;
  font-size: 11px;
  text-align: right;
}

.finder-detail-controls {
  flex: 0 0 auto;
  display: flex;
  gap: 5px;
}

.finder-detail-controls button {
  width: 30px;
  height: 30px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid #d4e2e9;
  border-radius: 50%;
  color: #1686bd;
  background: #fff;
  font: 700 15px/1 Arial, sans-serif;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.finder-detail-controls button:hover,
.finder-detail-controls button:focus-visible {
  border-color: #1686bd;
  color: #fff;
  background: #1686bd;
}

.finder-detail-controls button:disabled {
  opacity: .35;
  cursor: default;
}

.finder-detail-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

.finder-detail-card {
  flex: 0 0 min(360px, 88vw);
  min-height: 72px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #dce7ed;
  border-radius: 13px;
  color: #294453;
  background: #fff;
  box-shadow: 0 7px 20px rgba(18, 52, 73, .055);
  scroll-snap-align: start;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.finder-detail-card[hidden] {
  display: none;
}

.finder-detail-card:hover,
.finder-detail-card:focus-visible {
  border-color: #8bc9e4;
  box-shadow: 0 11px 25px rgba(18, 52, 73, .1);
  transform: translateY(-2px);
}

.finder-detail-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #1686bd;
  background: rgba(0, 173, 239, .1);
}

.finder-detail-icon svg,
.finder-detail-arrow {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.finder-detail-card small,
.finder-detail-card strong {
  display: block;
}

.finder-detail-card small {
  margin-bottom: 3px;
  color: #768b96;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.finder-detail-card strong {
  font-size: 12px;
  line-height: 1.35;
}

.finder-detail-arrow {
  color: #1686bd;
}

.taxonomy-card {
  --taxonomy-accent: var(--blue);
  position: relative;
  min-width: 0;
  min-height: 288px;
  padding: 22px 20px 19px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dfe8ed;
  border-radius: 17px;
  background: #fff;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--taxonomy-accent) 11%, transparent), transparent 43%),
    #fff;
  box-shadow: 0 10px 30px rgba(18, 52, 73, .055);
  transition: transform .28s var(--ease), border-color .28s ease, box-shadow .28s ease;
}

.taxonomy-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--taxonomy-accent), transparent 92%);
  content: "";
}

.taxonomy-card:hover {
  border-color: #9fcce0;
  border-color: color-mix(in srgb, var(--taxonomy-accent) 42%, #dfe8ed);
  box-shadow: 0 18px 42px rgba(18, 52, 73, .12);
  transform: translateY(-4px);
}

.taxonomy-card[hidden] {
  display: none;
}

.taxonomy-card-fleet {
  --taxonomy-accent: #00a9e9;
}

.taxonomy-card-supply {
  --taxonomy-accent: #2779e8;
}

.taxonomy-card-maritime {
  --taxonomy-accent: #125eb5;
}

.taxonomy-card-aviation {
  --taxonomy-accent: #6458d9;
}

.taxonomy-card-indoor {
  --taxonomy-accent: #7d2dc4;
}

.taxonomy-card-assets {
  --taxonomy-accent: #9b3cae;
}

.taxonomy-card-operations {
  --taxonomy-accent: #168f86;
}

.taxonomy-card-enterprise {
  --taxonomy-accent: #273c65;
}

.taxonomy-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.taxonomy-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: var(--taxonomy-accent);
  background: #eef7fb;
  background: color-mix(in srgb, var(--taxonomy-accent) 11%, #fff);
}

.taxonomy-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.taxonomy-count {
  color: #527586;
  color: color-mix(in srgb, var(--taxonomy-accent) 78%, #526a78);
  font-size: 9px;
  font-weight: 720;
  letter-spacing: .075em;
  text-align: right;
  text-transform: uppercase;
}

.taxonomy-card h3 {
  min-height: 52px;
  margin: 17px 0 0;
  color: #263f4e;
  font-size: 21px;
  font-weight: 520;
  line-height: 1.22;
  letter-spacing: -.035em;
}

.taxonomy-card > p {
  margin: 10px 0 0;
  color: #69808d;
  font-size: 12px;
  line-height: 1.56;
}

.taxonomy-card ul {
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
}

.taxonomy-card li {
  padding: 4px 7px;
  border: 1px solid #e1e9ee;
  border-radius: 999px;
  color: #627985;
  background: #f8fafb;
  font-size: 9px;
  font-weight: 580;
  line-height: 1.25;
}

.taxonomy-card > a {
  margin-top: auto;
  padding-top: 17px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: var(--taxonomy-accent);
  font-size: 11px;
  font-weight: 700;
}

.finder-empty {
  margin: 18px;
  padding: 36px 24px;
  border: 1px dashed #cbdce6;
  border-radius: 17px;
  text-align: center;
  background: #f8fbfc;
}

.finder-empty strong {
  color: #2a4757;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 18px;
  font-weight: 520;
}

.finder-empty p {
  margin: 6px 0 15px;
  color: #708591;
  font-size: 13px;
}

.finder-empty a {
  color: #1687c1;
  font-size: 12px;
  font-weight: 700;
}

.finder-note {
  margin: 0;
  padding: 0 27px 23px;
  color: #85949d;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 1080px) {
  .finder-controls {
    grid-template-columns: minmax(260px, 1.25fr) repeat(2, minmax(170px, .75fr));
  }

  .finder-reset {
    grid-column: 3;
    width: fit-content;
    height: auto;
    padding: 5px 0;
    border: 0;
    background: transparent;
  }

  .finder-summary {
    grid-column: 1 / 3;
    grid-row: 2;
    padding-top: 0;
  }

  .taxonomy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .taxonomy-card {
    min-height: 260px;
  }

  .taxonomy-card h3 {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .finder-panel {
    border-radius: 21px;
  }

  .finder-controls {
    padding: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finder-search {
    grid-column: 1 / -1;
  }

  .finder-summary {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .finder-reset {
    grid-column: auto;
    justify-self: end;
  }

  .taxonomy-grid {
    padding: 13px;
  }

  .finder-detail-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .finder-detail-meta {
    width: 100%;
    max-width: none;
    justify-content: space-between;
  }

  .finder-detail-meta > p {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .solution-finder.section {
    padding-top: 30px;
  }

  .finder-controls,
  .taxonomy-grid {
    grid-template-columns: 1fr;
  }

  .finder-filter,
  .finder-reset {
    grid-column: 1;
  }

  .finder-reset {
    justify-self: start;
  }

  .finder-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .taxonomy-card {
    min-height: 0;
    padding: 20px 18px 18px;
  }

  .taxonomy-card h3 {
    font-size: 23px;
  }

  .taxonomy-card > p {
    font-size: 14px;
  }

  .taxonomy-card li,
  .taxonomy-card > a {
    font-size: 11px;
  }

  .finder-note {
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .taxonomy-card,
  .finder-summary a svg,
  .taxonomy-card > a svg {
    transition: none;
  }

  .finder-detail-list {
    scroll-behavior: auto;
  }
}
