/* ==========================================================================
   Affiliate Program (/affiliate-program) — MOA_Final_27112026/affiliate-program.html.
   Values mirror the design's computed styles (verified side by side in the browser).
   Template: static_templates/affiliate.html.
   ========================================================================== */

.aff-page { font-size: 14px; color: #0a0a0a; text-align: center; }
.aff-container { width: var(--moa-container); max-width: 1640px; margin: 0 auto; padding: 0 36px; }

/* ---------- Buttons ---------- */
.aff-btn {
  display: inline-block; padding: 14px 24px; border: 1px solid #ee343b; border-radius: 6px;
  background: #ee343b; color: #fff !important; font-size: 12px; font-weight: 700; line-height: normal;
  transition: background-color .2s, border-color .2s, color .2s, transform .28s ease, box-shadow .28s ease;
}
.aff-btn--secondary { padding: 14px 23px; border-color: #ddd; background: #fff; color: #0a0a0a !important; }
@media (hover: hover) {
  .aff-btn:hover { background: #c9212a; transform: translateY(-3px); box-shadow: 0 7px 17px rgba(238, 52, 59, .17); }
  .aff-btn--secondary:hover { background: #fff; border-color: #ee343b; color: #ee343b !important; }
}

/* ---------- Hero ---------- */
.aff-hero { padding: 58px 0 56px; background: #fff var(--aff-hero-image) center center / cover no-repeat; overflow: hidden; }
.aff-hero__grid { display: flex; align-items: center; justify-content: flex-start; gap: 20px; min-height: clamp(480px, 37.3vw, 716px); }
.aff-hero__copy { position: relative; z-index: 2; width: 48%; max-width: 650px; text-align: left; }
.aff-hero h1 {
  margin: 0 0 22px; color: #ee343b; font-size: clamp(32px, 3.35vw, 56px); line-height: 1.1; font-weight: 800; letter-spacing: -2px;
}
.aff-hero__copy > p { max-width: 660px; margin: 0 0 35px; color: #555; font-size: 14px; line-height: 1.9; }
.aff-hero__actions { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- Section headings ---------- */
.aff-section { padding: 76px 0 94px; }
.aff-section--feature { padding: 82px 0 88px; }
.aff-eyebrow { margin: 0 0 7px; color: #ee343b; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.aff-eyebrow--plain { font-size: 14px; letter-spacing: 3px; text-transform: none; }
.aff-title { margin: 0 0 8px; font-size: clamp(27px, 2.4vw, 38px); line-height: 1.25; font-weight: 800; letter-spacing: -.7px; }
.aff-title--bar::after { content: ""; display: block; width: 42px; height: 3px; margin: 16px auto; border-radius: 3px; background: #ee343b; }
.aff-subtitle { max-width: 720px; margin: 0 auto 42px; color: #62656b; line-height: 1.6; }
.aff-subtitle--faq { max-width: none; margin: 0 0 54px; color: #333; }

/* ---------- Step / benefit cards ---------- */
.aff-cards { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.aff-cards--four { grid-template-columns: repeat(4, 1fr); gap: 28px; }
.aff-cards--three { grid-template-columns: repeat(3, 1fr); }
.aff-card {
  position: relative; display: flex; flex-direction: column; align-items: center; min-height: 265px; padding: 30px 24px;
  border: 1px solid #e5e6e9; border-radius: 16px; background: #fff; box-shadow: 0 5px 20px #11111106; text-align: center;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.aff-card--benefit { min-height: 245px; border-top: 3px solid #ee343b; }
.aff-card__step {
  display: inline-flex; align-items: center; justify-content: center; margin: 0 0 18px; padding: 7px 13px;
  border-radius: 30px; background: #fff0f1; color: #ee343b; font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
}
.aff-card__icon {
  display: block; width: 86px; height: 86px; margin: 0 auto 20px; padding: 15px; border-radius: 22px;
  background: #fff3f3; object-fit: contain; object-position: center; transition: transform .25s ease;
}
.aff-card h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.35; font-weight: 800; }
.aff-card p { max-width: 340px; margin: 0; color: #555; font-size: 14px; line-height: 1.75; }
.aff-benefits { background: linear-gradient(135deg, #f7f8fa, #fff5f5); }
@media (hover: hover) {
  .aff-card:hover { transform: translateY(-6px); border-color: #ee343b; box-shadow: 0 14px 32px #ee343b12; }
  .aff-card:hover .aff-card__icon { transform: scale(1.06); }
}
@media (min-width: 1101px) {
  .aff-cards--four .aff-card:not(:last-child)::after {
    content: "\2192"; position: absolute; top: 50%; right: -25px; transform: translateY(-50%);
    display: grid; place-items: center; width: 22px; height: 22px; color: #ee343b; font-size: 20px; line-height: 1; pointer-events: none;
  }
}

/* ---------- FAQ ---------- */
.aff-faq { max-width: 1180px; margin: 0 auto; }
.aff-faq__item { border: 1px solid transparent; border-bottom-color: #ddd; border-radius: 8px; transition: border-color .2s ease; }
.aff-faq__item summary {
  display: flex; justify-content: space-between; gap: 20px; padding: 27px 0;
  color: #111; font-weight: 600; text-align: left; cursor: pointer; list-style: none;
}
.aff-faq__item summary::-webkit-details-marker { display: none; }
.aff-faq__item summary span { color: #ee343b; font-size: 25px; line-height: 16px; }
.aff-faq__item p { margin: 0; padding: 0 25px 24px 0; color: #555; line-height: 1.7; text-align: left; }
@media (hover: hover) { .aff-faq__item:hover { border-color: #ee343b; } }

/* ---------- Join call to action ---------- */
.aff-cta {
  margin: 80px auto 0; padding: 74px 20px; border: 1px solid transparent; border-radius: 17px;
  background: #050505; color: #fff; transition: border-color .2s ease;
}
.aff-cta .aff-eyebrow { color: #fff; }
.aff-cta p { margin: 10px 0 30px; font-weight: 600; }
.aff-cta small { display: block; margin-top: 16px; }
@media (hover: hover) { .aff-cta:hover { border-color: #ee343b; } .aff-cta small a:hover { color: #ff777a; } }

/* ---------- Responsive (design breakpoints) ---------- */
@media (max-width: 1199px) { .aff-hero { padding: 52px 0 42px; } }
@media (max-width: 1100px) {
  .aff-cards--four { grid-template-columns: repeat(2, 1fr); }
  .aff-card { min-height: 270px; }
}
@media (max-width: 800px) {
  .aff-hero { background-position: 62% center; }
  .aff-hero__grid { align-items: flex-start; min-height: 550px; padding-top: 45px; padding-bottom: 45px; }
  .aff-hero__copy { width: 65%; }
  .aff-hero h1 { font-size: clamp(28px, 5vw, 42px); }
}
@media (max-width: 760px) {
  .aff-hero { padding: 38px 0 26px; }
  .aff-container { padding: 0 20px; }
  .aff-hero__grid { padding-top: 45px; padding-bottom: 45px; }
  .aff-hero h1 { letter-spacing: -1px; }
  .aff-cards--four, .aff-cards--three { grid-template-columns: 1fr; }
  .aff-section { padding: 60px 0; }
  .aff-section--feature { padding: 52px 0; }
  .aff-card { min-height: 0; padding: 26px 20px; }
  .aff-cards--four { gap: 16px; }
  .aff-subtitle--faq { margin-bottom: 35px; }
  .aff-cta { margin-top: 55px; padding: 55px 18px; }
}
@media (max-width: 540px) {
  .aff-hero { background-image: linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .78)), var(--aff-hero-image); background-position: 65% center; }
  .aff-hero__copy { width: 100%; }
  .aff-hero__grid { min-height: 460px; }
  .aff-hero__copy > p { max-width: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .aff-card, .aff-card__icon { transition: none; transform: none !important; }
}
