/* ===== Section 05: Materials ===== */
.landing-mat {
  direction: rtl;
  background-color: var(--landing-white);
  color: var(--landing-text);
  padding-block: clamp(40px, 6vw, 88px);
}
.landing-mat *,
.landing-mat *::before,
.landing-mat *::after { box-sizing: border-box; }

.landing-mat__inner {
  max-width: var(--landing-wrap);
  margin-inline: auto;
  padding-inline: var(--landing-gutter);
}

.landing-mat__head { margin-bottom: clamp(20px, 2.6vw, 32px); }

.landing-mat h2.landing-mat__heading {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem);
  font-weight: 800;
  line-height: 1.5;
  color: var(--landing-navy);
}

.landing-mat p.landing-mat__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 2;
  color: var(--landing-text-soft);
}

/* category cards */
.landing-mat ul.landing-mat__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.landing-mat ul.landing-mat__grid > li {
  display: flex;
  margin: 0;
  padding: 0;
}

.landing-mat a.landing-mat__card {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 20px 14px;
  background: var(--landing-gray);
  border-radius: 8px;
  box-shadow: inset 0 3px 0 var(--landing-yellow);
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.landing-mat a.landing-mat__card:hover,
.landing-mat a.landing-mat__card:focus-visible {
  color: inherit;
  transform: translateY(-2px);
  box-shadow: inset 0 3px 0 var(--landing-yellow), 0 14px 24px -16px rgba(12, 31, 56, .55);
}
.landing-mat a.landing-mat__card:focus-visible {
  outline: 3px solid var(--landing-navy);
  outline-offset: 3px;
}

.landing-mat h3.landing-mat__title {
  margin: 0 0 4px;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.6;
  color: var(--landing-navy);
}

.landing-mat p.landing-mat__text {
  flex: 1 1 auto;
  margin: 0 0 10px;
  font-size: .875rem;
  line-height: 1.9;
  color: var(--landing-text-soft);
}

.landing-mat__arrow {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--landing-navy);
  border-radius: 50%;
  color: var(--landing-navy);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.landing-mat__arrow svg { display: block; width: 14px; height: 14px; }
.landing-mat a.landing-mat__card:hover .landing-mat__arrow,
.landing-mat a.landing-mat__card:focus-visible .landing-mat__arrow {
  background: var(--landing-yellow);
  border-color: var(--landing-yellow);
  transform: translateX(-3px);
}

/* expert call strip */
.landing-mat__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: 16px;
  padding: 16px 24px;
  background: var(--landing-navy);
  border-radius: 8px;
}
.landing-mat p.landing-mat__cta-text {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.9;
  color: var(--landing-white);
}
.landing-mat a.landing-mat__cta-btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border: 2px solid var(--landing-yellow);
  border-radius: 8px;
  background: var(--landing-yellow);
  color: var(--landing-navy);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease;
}
.landing-mat a.landing-mat__cta-btn svg { display: block; width: 20px; height: 20px; flex: none; }
.landing-mat a.landing-mat__cta-btn:hover,
.landing-mat a.landing-mat__cta-btn:focus-visible {
  background: var(--landing-white);
  border-color: var(--landing-white);
  color: var(--landing-navy);
}
.landing-mat a.landing-mat__cta-btn:focus-visible {
  outline: 3px solid var(--landing-yellow);
  outline-offset: 3px;
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .landing-mat ul.landing-mat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .landing-mat ul.landing-mat__grid { grid-template-columns: minmax(0, 1fr); }
  .landing-mat__cta { flex-direction: column; align-items: stretch; padding: 18px 20px; }
  .landing-mat a.landing-mat__cta-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-mat a.landing-mat__card,
  .landing-mat__arrow,
  .landing-mat a.landing-mat__cta-btn { transition: none; }
  .landing-mat a.landing-mat__card:hover,
  .landing-mat a.landing-mat__card:focus-visible,
  .landing-mat a.landing-mat__card:hover .landing-mat__arrow,
  .landing-mat a.landing-mat__card:focus-visible .landing-mat__arrow { transform: none; }
}
