/* CSTYLE-v6 offer cards — audiomotorsports.com hub homepage only.
   Tokens from assets/offers/hub-cstyle/docs/02-DESIGN-SPEC.md.
   AMS gold on every card. Scoped so it does not leak into site chrome. */

.offer-cards{
  --hub-bg:#000000;
  --hub-gold:#C6A15B;
  --hub-text:#FFFFFF;
  --hub-bullet:#D2D6DC;
  --hub-muted:#8C9098;
  --hub-call-text:#000000;
  --hub-card-radius:18px;
  --hub-card-border:5px;
  --hub-cta-h:48px;
  --hub-cta-gap:10px;
  --hub-cta-radius:12px;
  --hub-font:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  background:var(--hub-bg);
  color:var(--hub-text);
  padding:32px 0 40px;
  font-family:var(--hub-font);
  scroll-margin-top:96px;
}

.offer-cards__inner{
  width:100%;
  max-width:1128px;
  margin:0 auto;
  padding:0 16px;
}

.offer-cards__intro{
  margin:0 0 20px;
}

.offer-cards__eyebrow{
  display:block;
  margin:0 0 8px;
  font-family:var(--hub-font);
  font-size:.75rem;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--hub-muted);
}

.offer-cards__heading{
  margin:0;
  font-family:var(--hub-font);
  font-size:clamp(1.35rem,3vw,1.75rem);
  font-weight:700;
  letter-spacing:-0.02em;
  color:var(--hub-text);
  line-height:1.2;
}

.offer-cards__stack{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.offer-card{
  --offer-accent:var(--hub-gold);
  display:grid;
  grid-template-columns:1fr;
  align-items:center;
  gap:14px;
  background:var(--hub-bg);
  border:var(--hub-card-border) solid var(--offer-accent);
  border-radius:var(--hub-card-radius);
  padding:16px;
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--offer-accent) 21%, transparent);
}

.offer-card__media{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:0;
}

.offer-card__media img{
  width:100%;
  max-width:360px;
  max-height:220px;
  height:auto;
  object-fit:contain;
  object-position:center;
  background:transparent;
}

.offer-card__copy{
  min-width:0;
}

.offer-card__title{
  margin:0 0 4px;
  font-family:var(--hub-font);
  font-size:clamp(1.35rem,4vw,1.75rem);
  font-weight:700;
  letter-spacing:0.01em;
  text-transform:uppercase;
  color:var(--offer-accent);
  line-height:1.1;
}

.offer-card__subtitle{
  margin:0 0 8px;
  font-size:.9375rem;
  font-weight:400;
  line-height:1.3;
  color:var(--hub-text);
}

.offer-card__meta{
  margin:0 0 2px;
  font-size:.8125rem;
  font-weight:400;
  line-height:1.3;
  color:var(--hub-muted);
}

.offer-card__price{
  margin:0 0 12px;
  font-family:var(--hub-font);
  font-size:clamp(1.75rem,5vw,2.25rem);
  font-weight:700;
  line-height:1.15;
  letter-spacing:-0.02em;
  color:var(--hub-text);
}

.offer-card__bullets{
  margin:0;
  padding:0;
  list-style:none;
}

.offer-card__bullets li{
  position:relative;
  margin:0 0 7px;
  padding-left:16px;
  font-size:.875rem;
  font-weight:400;
  line-height:1.43;
  color:var(--hub-bullet);
}

.offer-card__bullets li:last-child{
  margin-bottom:0;
}

.offer-card__bullets li::before{
  content:"";
  position:absolute;
  left:0;
  top:.55em;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--offer-accent);
}

.offer-card__ctas{
  display:flex;
  flex-direction:column;
  gap:var(--hub-cta-gap);
  width:100%;
}

.offer-card__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:var(--hub-cta-h);
  padding:0 16px;
  border-radius:var(--hub-cta-radius);
  font-family:var(--hub-font);
  font-size:.875rem;
  font-weight:700;
  letter-spacing:.01em;
  line-height:1;
  text-align:center;
  text-decoration:none;
  box-sizing:border-box;
  transition:background .15s ease, border-color .15s ease, color .15s ease, filter .15s ease;
}

.offer-card__btn--call{
  background:var(--offer-accent);
  border:2px solid var(--offer-accent);
  color:var(--hub-call-text);
}

.offer-card__btn--outline{
  background:var(--hub-bg);
  border:2px solid var(--offer-accent);
  color:var(--offer-accent);
}

.offer-card__btn--call:hover,
.offer-card__btn--call:focus-visible{
  filter:brightness(1.06);
}

.offer-card__btn--outline:hover,
.offer-card__btn--outline:focus-visible{
  background:color-mix(in srgb, var(--offer-accent) 12%, #000);
}

@media (min-width:720px){
  .offer-cards{
    padding:48px 0 56px;
  }

  .offer-card{
    grid-template-columns:minmax(220px,350px) minmax(0,1fr) minmax(190px,236px);
    gap:8px 28px;
    min-height:420px;
    padding:16px 22px;
  }

  .offer-card__media img{
    max-width:100%;
    max-height:360px;
  }
}

@media (min-width:1080px){
  .offer-cards__inner{
    padding:0 24px;
  }
}
