/* ==========================================================================
   Solutions page — content-forward B2B template
   The Aspire Biozymes / Fiber Ingredients. Brown theme, DIN-style typography.

   Reuse for every solution (Digestive Health, Gut Health, Weight Management,
   Healthy Aging, ...): copy pages/solutions/digestive-health.html and swap copy.
   Deliberately text-heavy — a single hero image, the rest is prose + cards.
   ========================================================================== */

.page-solution {
  --sol-maxw: 72rem;
  --sol-pad: clamp(52px, 6vw, 96px);
  --sol-radius: 16px;
  --sol-line: rgba(56, 27, 5, 0.1);
  --sol-ink: #2a1404;
  --sol-muted: #4a443c;
}

.page-solution main { background: var(--dlw-color--white); }

.sol-shell {
  max-width: var(--sol-maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.sol-section { padding-block: var(--sol-pad); }

.sol-section--tint {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(108, 61, 28, 0.06) 0%, transparent 55%),
    var(--dlw-color-bg);
}

.sol-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dlw-color--secondary);
  margin: 0 0 14px;
}

/* Section heading + intro --------------------------------------------------- */
.sol-head { max-width: 52rem; margin: 0 0 clamp(28px, 3.5vw, 44px); }
.sol-head--center { margin-inline: auto; text-align: center; }
.sol-head h2 { margin: 0; color: var(--dlw-color--primary); }
.sol-head p { margin: 16px 0 0; color: var(--sol-muted); line-height: 1.75; }
.sol-head--center p { margin-inline: auto; max-width: 46rem; }

/* Long-form prose ----------------------------------------------------------- */
.sol-prose { max-width: 52rem; }
.sol-prose p {
  margin: 0 0 1.15em;
  color: var(--sol-muted);
  line-height: 1.85;
  font-size: 1.03rem;
}
.sol-prose p:last-child { margin-bottom: 0; }
.sol-prose--wide { max-width: 60rem; }

/* Two-column prose for denser reading sections */
@media (min-width: 60rem) {
  .sol-prose--columns {
    max-width: none;
    columns: 2;
    column-gap: clamp(32px, 5vw, 64px);
  }
  .sol-prose--columns p:first-child { margin-top: 0; }
}

/* ==========================================================================
   1. HERO — content + single image
   ========================================================================== */
.sol-hero {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(108, 61, 28, 0.08) 0%, transparent 55%),
    var(--dlw-color--white);
  padding-top: calc(var(--dlw-header--height) + clamp(16px, 3vw, 40px));
}

.sol-hero__shell {
  max-width: var(--sol-maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  padding-block: clamp(36px, 6vw, 80px);
  display: grid;
  gap: clamp(32px, 5vw, 60px);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 62rem) {
  .sol-hero__shell { grid-template-columns: 1.1fr 0.9fr; }
}

.sol-hero__content h1 { margin: 0; color: var(--dlw-color--primary); }

.sol-hero__sub {
  margin: 16px 0 0;
  font-size: clamp(1.1rem, 0.7vw + 0.95rem, 1.35rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--sol-ink);
}

.sol-hero__text {
  margin: 20px 0 0;
  font-size: 1.03rem;
  line-height: 1.8;
  color: var(--sol-muted);
}

.sol-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.sol-hero__media {
  position: relative;
  border-radius: var(--sol-radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(56, 27, 5, 0.16);
}

.sol-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 55%, rgba(42, 20, 4, 0.26) 100%);
  pointer-events: none;
}

.sol-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ==========================================================================
   Checklist (Key Functional Benefits)
   ========================================================================== */
.sol-checklist {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

@media (min-width: 48rem) {
  .sol-checklist--2col { grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
}

.sol-checklist li {
  position: relative;
  padding-left: 34px;
  color: var(--sol-ink);
  line-height: 1.6;
}

.sol-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--dlw-color--primary)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}

/* ==========================================================================
   Application tag chips
   ========================================================================== */
.sol-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.sol-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--dlw-color--white);
  border: 1px solid var(--sol-line);
  color: var(--sol-ink);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sol-section--tint .sol-chip { background: var(--dlw-color--white); }

.sol-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dlw-color--secondary);
  flex-shrink: 0;
}

.sol-chip:hover {
  background: var(--dlw-color--primary);
  color: #fff;
  transform: translateY(-2px);
}

.sol-chip:hover::before { background: rgba(255, 255, 255, 0.85); }

/* ==========================================================================
   Application list — title + description blocks (no images)
   ========================================================================== */
.sol-applist {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  margin-top: 28px;
}

@media (min-width: 48rem) {
  .sol-applist { grid-template-columns: repeat(2, 1fr); gap: 20px 32px; }
}

.sol-appitem {
  padding: 22px 24px;
  background: var(--dlw-color--white);
  border: 1px solid var(--sol-line);
  border-radius: var(--sol-radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sol-section--tint .sol-appitem { background: var(--dlw-color--white); }

.sol-appitem:hover {
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(56, 27, 5, 0.08);
}

.sol-appitem h3 {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--dlw-color--primary);
}

.sol-appitem p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--sol-muted);
}

/* ==========================================================================
   Manufacturer benefit cards (icon + text)
   ========================================================================== */
.sol-benefits {
  display: grid;
  gap: clamp(18px, 2.5vw, 28px);
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 40rem) { .sol-benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .sol-benefits { grid-template-columns: repeat(4, 1fr); } }

.sol-benefit {
  background: var(--dlw-color--white);
  border: 1px solid var(--sol-line);
  border-radius: var(--sol-radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sol-benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(56, 27, 5, 0.1);
  border-color: transparent;
}

.sol-benefit__icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(108, 61, 28, 0.12), rgba(134, 124, 102, 0.12));
  color: var(--dlw-color--primary);
  margin-bottom: 20px;
}

.sol-benefit__icon svg { width: 26px; height: 26px; }

.sol-benefit h3 { margin: 0 0 10px; font-size: 1.125rem; line-height: 1.3; color: var(--sol-ink); }
.sol-benefit p { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--sol-muted); }

/* ==========================================================================
   Portfolio — featured product solution cards (linked)
   ========================================================================== */
.sol-portfolio {
  display: grid;
  gap: clamp(18px, 2.5vw, 26px);
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 44rem) { .sol-portfolio { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) { .sol-portfolio { grid-template-columns: repeat(3, 1fr); } }

.sol-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--dlw-color--white);
  border: 1px solid var(--sol-line);
  border-radius: var(--sol-radius);
  padding: 28px 26px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sol-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--dlw-color--primary), var(--dlw-color--secondary));
}

.sol-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(56, 27, 5, 0.12); }

.sol-card h3 { margin: 6px 0 10px; font-size: 1.25rem; color: var(--sol-ink); }
.sol-card p { margin: 0 0 20px; font-size: 0.9375rem; line-height: 1.6; color: var(--sol-muted); flex: 1; }

.sol-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dlw-color--primary);
}

.sol-card__link svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.sol-card:hover .sol-card__link svg { transform: translateX(4px); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.sol-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(134, 124, 102, 0.35) 0%, transparent 50%),
    linear-gradient(120deg, var(--dlw-color--primary-dark--20) 0%, var(--dlw-color--primary) 100%);
}

.sol-cta__inner {
  max-width: 52rem;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  padding-block: clamp(56px, 7vw, 100px);
  text-align: center;
}

.sol-cta h2 { --dlw-heading--color: #fff; color: #fff; margin: 0 auto; max-width: 24ch; }
.sol-cta p { margin: 18px auto 0; max-width: 44rem; color: rgba(255, 255, 255, 0.9); line-height: 1.65; }

.sol-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
}

.sol-cta__actions .dlw-button-primary { background: #fff; color: var(--dlw-color--primary); }
.sol-cta__actions .dlw-button-primary:hover { background: var(--dlw-color-bg); color: var(--dlw-color--primary-dark--20); }
.sol-cta__actions .dlw-button-secondary { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.sol-cta__actions .dlw-button-secondary:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
