/* ============ Our Solutions ============ */
.s-solutions-overview{
  background: var(--c-bg);
  color: var(--c-text);
}

/* ---- Header ---- */
.s-solutions-overview__head{
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.s-solutions-overview__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1;
  color: var(--c-primary);
}
.s-solutions-overview__eyebrow::before,
.s-solutions-overview__eyebrow::after{
  content: "";
  width: clamp(24px, 6vw, 52px);
  height: 1px;
  background: currentColor;
  opacity: .45;
}
.s-solutions-overview__title{
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.55rem, 3.5vw, 2.5rem);
  line-height: 1.24;
  letter-spacing: -.02em;
  color: var(--c-secondary);
  text-wrap: balance;
}
.s-solutions-overview__subtitle{
  margin: 16px auto 0;
  max-width: 52ch;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--c-muted);
}

/* ---- Grid ---- */
.s-solutions-overview .s-solutions-overview__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-block-start: clamp(36px, 5vw, 64px);
}

/* ---- Card ---- */
.s-solutions-overview .s-solutions-overview__card{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 32px 26px 24px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.s-solutions-overview__card::before{
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  opacity: 0;
  transition: opacity .3s ease;
}
.s-solutions-overview__card:hover,
.s-solutions-overview__card:focus-within{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-accent);
}
.s-solutions-overview__card:hover::before,
.s-solutions-overview__card:focus-within::before{ opacity: 1; }

/* ---- Icon ---- */
.s-solutions-overview .s-solutions-overview__icon{
  width: 52px;
  height: 52px;
  margin-block-end: 24px;
  border-radius: 14px;
  background: var(--c-surface);
  color: var(--c-primary);
  transition: background .3s ease, color .3s ease;
}
.s-solutions-overview__icon svg{
  width: 26px;
  height: 26px;
}
.s-solutions-overview__card:hover .s-solutions-overview__icon,
.s-solutions-overview__card:focus-within .s-solutions-overview__icon{
  background: var(--c-primary);
  color: var(--c-on-primary);
}

/* ---- Text ---- */
.s-solutions-overview__card-title{
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--c-secondary);
}
.s-solutions-overview__card-text{
  margin: 0 0 24px;
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--c-muted);
}

/* ---- Arrow button ---- */
.s-solutions-overview .s-solutions-overview__arrow{
  display: grid;
  place-items: center;
  align-self: flex-end;
  margin-block-start: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: transparent;
  color: var(--c-primary);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.s-solutions-overview__arrow svg{
  width: 18px;
  height: 18px;
}
.s-solutions-overview__arrow:hover,
.s-solutions-overview__arrow:focus-visible,
.s-solutions-overview__card:hover .s-solutions-overview__arrow,
.s-solutions-overview__card:focus-within .s-solutions-overview__arrow{
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-on-primary);
}
.s-solutions-overview__arrow:focus-visible{
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

/* ---- Responsive ---- */
@media (max-width: 900px){
  .s-solutions-overview .s-solutions-overview__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .s-solutions-overview .s-solutions-overview__card{ padding: 28px 22px 22px; }
}

@media (max-width: 600px){
  .s-solutions-overview .s-solutions-overview__grid{
    grid-template-columns: minmax(0, 1fr);
  }
  .s-solutions-overview__eyebrow{ gap: 12px; letter-spacing: .16em; }
  .s-solutions-overview__title{ font-size: 1.5rem; line-height: 1.3; }
  .s-solutions-overview__subtitle{ font-size: 1rem; }
  .s-solutions-overview .s-solutions-overview__icon{ width: 48px; height: 48px; margin-block-end: 18px; }
  .s-solutions-overview__card-title{ font-size: 1rem; }
}
