/* =========================================================
   Solutions landing page (page-templates/template-solutions.php)
   Only what is unique to this page -- the shared building blocks
   (container, hero, breadcrumb, headings, buttons, dark section,
   text + image split) are `tp-` classes in page-components.css.
   ========================================================= */

.sol-page {
  padding-bottom: 40px;
}
.sol-hero h1 {
  max-width: 640px;
}

/* Intro */
.sol-intro-copy h2 {
  max-width: 520px;
}
.sol-intro-media img {
  aspect-ratio: 464 / 396;
}

/* Solution cards */
.sol-cards-section {
  padding: 100px 0;
}
.sol-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.sol-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 20px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
a.sol-card:hover,
a.sol-card:focus-visible {
  border-color: var(--green, #00a551);
  box-shadow: 0 10px 28px rgba(18, 20, 23, 0.1);
}
.sol-card-media {
  height: 247px;
  background: #dfe3e8;
}
.sol-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sol-card-body {
  padding: 42px 40px 40px;
}
.sol-card-body h3 {
  margin: 0 0 12px;
  color: #121417;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
}
.sol-card-body p {
  margin: 0;
  color: #4f4f4f;
  font-size: 14px;
  line-height: 1.6;
}

/* Quality / ISO (dark) */
.sol-quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 624fr) minmax(0, 480fr);
  gap: 68px;
  align-items: center;
}
.sol-iso-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.sol-iso-card {
  min-height: 204px;
  padding: 32px 28px 28px;
  background: #0e131a;
  border: 1px solid #1d242e;
  border-radius: 16px;
  box-sizing: border-box;
}
.sol-iso-icon {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  object-fit: contain;
}
.sol-iso-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.sol-iso-card p {
  margin: 0;
  color: #8b95a1;
  font-size: 12.5px;
  line-height: 1.6;
}
.sol-quality-copy h2 {
  color: #fff;
}
.sol-quality-copy > p {
  margin: 0 0 22px;
  color: #c3cad2;
  font-size: 14.5px;
  line-height: 1.6;
}
.sol-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sol-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 14.5px;
}
.sol-check {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 165, 81, 0.22);
  color: var(--green, #00a551);
}
.sol-check svg {
  width: 14px;
  height: 14px;
}

/* Contact */
.sol-contact {
  padding-top: 80px;
}

/* Responsive */
@media (max-width: 1024px) {
  .sol-quality-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}
@media (max-width: 767px) {
  .sol-cards-section {
    padding: 64px 0;
  }
  .sol-card-grid,
  .sol-iso-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .sol-card-media {
    height: 200px;
  }
  .sol-card-body {
    padding: 26px 22px;
  }
  .sol-card-body h3 {
    font-size: 21px;
  }
  .sol-iso-card {
    min-height: 0;
  }
  .sol-contact {
    padding-top: 40px;
  }
}
