/* SM Finishes — homepage Who / Who we serve / Why this vendor */
.smf-snapshot {
  padding-top: 20px;
}

.smf-snapshot-card {
  --smf-orange: #b1913c;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 36px 30px 30px;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 21, 34, 0.04);
  overflow: clip;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.smf-snapshot-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--smf-orange);
  transition: height 0.35s ease;
}

.smf-snapshot-card:hover,
.smf-snapshot-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(177, 145, 60, 0.4);
  box-shadow: 0 18px 40px rgba(177, 145, 60, 0.16);
}

.smf-snapshot-card:hover::before,
.smf-snapshot-card:focus-within::before {
  height: 100%;
}

.smf-snapshot-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.smf-snapshot-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(177, 145, 60, 0.12);
  color: var(--smf-orange);
  font-size: 24px;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.smf-snapshot-card:hover .smf-snapshot-card__icon,
.smf-snapshot-card:focus-within .smf-snapshot-card__icon {
  background: var(--smf-orange);
  color: #fff;
  transform: rotate(-6deg);
}

.smf-snapshot-card__index {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(26, 26, 26, 0.35);
}

.smf-snapshot-card h2,
.smf-snapshot-card h3 {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  color: #1a1a1a;
}

.smf-snapshot-card p {
  margin: 0 0 22px;
  color: #555;
  font-size: 16px;
  line-height: 1.65;
}

.smf-snapshot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.smf-snapshot-chips li {
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f6f6f6;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  transition: background 0.25s ease, color 0.25s ease;
}

.smf-snapshot-card:hover .smf-snapshot-chips li,
.smf-snapshot-card:focus-within .smf-snapshot-chips li {
  background: rgba(177, 145, 60, 0.12);
  color: #1a1a1a;
}

.smf-snapshot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.smf-snapshot-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(177, 145, 60, 0.35);
  color: var(--smf-orange);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.smf-snapshot-links a:hover,
.smf-snapshot-links a:focus-visible {
  background: var(--smf-orange);
  border-color: var(--smf-orange);
  color: #fff;
}

.smf-snapshot-links a i {
  font-size: 14px;
}

@media (max-width: 1199px) {
  .smf-snapshot-card {
    padding: 26px 22px 22px;
  }

  .smf-snapshot-card h2,
  .smf-snapshot-card h3 {
    font-size: 24px;
  }
}

.smf-snapshot-note {
  margin: 36px 0 0;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-left: 4px solid #b1913c;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(15, 21, 34, 0.04);
  color: #555;
  font-size: 16px;
  line-height: 1.65;
}

.smf-snapshot-note strong {
  color: #1a1a1a;
  font-weight: 800;
}

.smf-snapshot-note a {
  color: #b1913c;
  font-weight: 700;
  text-decoration: none;
}

.smf-snapshot-note a:hover,
.smf-snapshot-note a:focus-visible {
  text-decoration: underline;
}

.smf-snapshot--after-banner {
  padding-top: 72px;
  padding-bottom: 56px;
}

.smf-snapshot--after-banner + .rs-strategies-area {
  padding-top: 64px;
}

@media (max-width: 991px) {
  .smf-snapshot {
    padding-top: 8px;
  }

  .smf-snapshot--after-banner {
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .smf-snapshot-card {
    min-height: 0;
  }

  .smf-snapshot-note {
    margin-top: 24px;
  }
}

@media (hover: none) {
  .smf-snapshot-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .smf-snapshot-card,
  .smf-snapshot-card::before,
  .smf-snapshot-card__icon,
  .smf-snapshot-chips li,
  .smf-snapshot-links a {
    transition: none;
  }

  .smf-snapshot-card:hover,
  .smf-snapshot-card:focus-within {
    transform: none;
  }
}

/* Services listing: keep thumbs in flow so Lenis can reach the footer */
.smf-services-page .rs-services-three {
  z-index: auto;
}

.smf-services-page .rs-services-three .rs-services-thumb {
  overflow: clip;
  aspect-ratio: 4 / 3;
}

.smf-services-page .rs-services-three .rs-services-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OEM wordmarks when a logo file is not on disk */
.rs-brand-one .rs-brand-thumb.smf-oem-wordmark {
  width: auto;
  min-width: 110px;
  padding: 0 14px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #1a1a1a;
  text-align: center;
  white-space: nowrap;
}

.rs-brand-one .rs-brand-thumb.smf-oem-wordmark--stack {
  white-space: normal;
  font-size: 15px;
}
