/*
  Resources ("Credentials") page sections. Depends on tokens/components in
  denwatech-theme.css. No DB/CMS-driven content — everything here is static markup.
*/

.dw-resources-intro {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-color: var(--dw-navy);
  color: var(--dw-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.dw-resources-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 20, 45, 0.85) 0%, rgba(8, 20, 45, 0.6) 55%, rgba(8, 20, 45, 0.35) 100%);
}

.dw-resources-intro > .dw-container {
  position: relative;
  width: 100%;
}

.dw-resources-intro .dw-section__eyebrow {
  color: var(--dw-teal);
}

.dw-resources-intro .dw-section__title {
  color: var(--dw-white);
}

.dw-resources-intro__lede {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

/* ---------- Compliance & Certifications / Commercial Assurance cards ---------- */
.dw-cert-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dw-cert-card {
  position: relative;
  padding: 26px;
  background: var(--dw-white);
  border: 1px solid var(--dw-border);
}

.dw-cert-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dw-navy);
  font-size: 18px;
  margin-bottom: 16px;
}

.dw-cert-card__number {
  position: absolute;
  top: 26px;
  right: 26px;
  font-family: var(--dw-font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--dw-teal);
}

.dw-cert-card h3 {
  font-family: var(--dw-font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--dw-ink);
  margin: 0 0 6px;
}

.dw-cert-card__subtitle {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dw-text-muted);
  margin: 0 0 12px;
}

.dw-cert-card__value {
  font-size: 13px;
  line-height: 1.6;
  color: var(--dw-text-muted);
  margin: 0;
}

/* ---------- Commercial Assurance ---------- */
.dw-assurance {
  background: var(--dw-surface);
  color: var(--dw-text);
}

/* ---------- Page CTA ---------- */
.dw-resources-cta {
  text-align: center;
}

.dw-resources-cta .dw-section__lede {
  margin-inline: auto;
}

.dw-resources-cta__tags {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--dw-text-muted);
}

@media (max-width: 1100px) {
  .dw-cert-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .dw-cert-grid {
    grid-template-columns: 1fr;
  }
}
