/* ==========================================================================
   Kandryn Performance - AB Performance page (/ab-performance)
   Themed with the AB Performance red (--ab-red). Reuses global section /
   eyebrow / lead / button classes; adds hero, intro and offering cards.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.abp-hero {
    position: relative;
    background:
        radial-gradient(130% 130% at 82% 8%, rgba(255,255,255,0.10), transparent 55%),
        linear-gradient(120deg, var(--ab-red) 0%, var(--ab-red-dark) 50%, #491c1e 100%);
    color: #fff;
    text-align: center;
    padding-block: clamp(4rem, 11vw, 8rem);
}
.abp-hero .eyebrow { color: #ffe0e1; }
/* black hero CTA stands out against the red gradient */
.abp-hero .btn--red { background: var(--charcoal); color: #fff; }
.abp-hero .btn--red:hover { background: #11181c; color: #fff; }
.abp-hero h1 { color: #fff; margin-bottom: 0.9rem; font-size: clamp(2.4rem, 5.2vw, 3.7rem); }
.abp-hero p {
    color: #e4eaec;
    font-size: 1.18rem;
    line-height: 1.6;
    max-width: 48rem;
    margin: 0 auto 2rem;
}
.abp-hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Intro ("why AB Performance")
   -------------------------------------------------------------------------- */
.abp-intro .eyebrow,
.abp-offer__head .eyebrow { color: var(--ab-red); }
.abp-intro__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;   /* text left, photo right */
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    max-width: 1040px;
    margin-inline: auto;
}
.abp-intro__body h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 1.1rem; }
.abp-intro__rule { width: 64px; height: 4px; background: var(--ab-red); border-radius: 2px; margin-bottom: 1.6rem; }
.abp-intro__lead { font-size: clamp(1.2rem, 1.9vw, 1.4rem); line-height: 1.6; color: var(--charcoal); margin-bottom: 1.2rem; }
.abp-intro__text { color: var(--muted); font-size: 1.08rem; line-height: 1.78; }
.abp-intro__media { margin: 0; }
.abp-intro__media img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--ab-red);
}

/* --------------------------------------------------------------------------
   Offerings - wide, equal, vertically stacked boxes
   -------------------------------------------------------------------------- */
.abp-offer__head { text-align: center; max-width: 620px; margin-inline: auto; margin-bottom: 3rem; }
.abp-list { display: flex; flex-direction: column; gap: 1.6rem; }
.abp-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    background: #fff;
    border: 1px solid var(--grey-line);
    border-left: 5px solid var(--ab-red);
    border-radius: var(--radius-lg);
    padding: 2.2rem 2.4rem;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.abp-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.abp-item__head { display: flex; align-items: center; gap: 1rem; }
.abp-item__icon {
    flex: 0 0 auto;
    width: 54px; height: 54px;
    border-radius: 15px;
    display: grid; place-items: center;
    background: rgba(217, 72, 75, 0.12);
    color: var(--ab-red-dark);
    font-size: 1.4rem;
}
.abp-item__head h3 { font-size: 1.45rem; margin: 0; }
.abp-item__body p { color: var(--muted); font-size: 1.05rem; line-height: 1.76; margin: 0; }

/* --------------------------------------------------------------------------
   Closing CTA
   -------------------------------------------------------------------------- */
.abp-cta { text-align: center; }
.abp-cta .eyebrow { color: #ff7e80; }
.abp-cta h2 { margin-bottom: 0.8rem; }
.abp-cta p { max-width: 640px; margin: 0 auto 2rem; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 820px) {
    .abp-intro__grid { grid-template-columns: 1fr; gap: 2rem; }
    .abp-intro__media { max-width: 460px; margin-inline: auto; order: -1; }
    .abp-item { grid-template-columns: 1fr; gap: 1.2rem; padding: 1.9rem 1.7rem; }
}
@media (max-width: 600px) {
    .abp-hero__actions { flex-direction: column; align-items: stretch; }
    .abp-hero__actions .btn { justify-content: center; }
}
