/* ============================================================
   RFT Storefront — HOMEPAGE
   Consumes design tokens from rfs-base.css. 9 sections.
   ============================================================ */

.rfs-hp { padding-top: 0; }

/* ---------- 1) ANNOUNCEMENT TICKER ---------- */
.rfs-hp-announce {
    background: var(--rfs-green);
    color: #fff;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,0,0,.08);
    padding: 10px 0;
}
.rfs-hp-announce__track {
    display: flex;
    align-items: center;
    gap: 22px;
    white-space: nowrap;
    animation: rfsTicker 36s linear infinite;
    will-change: transform;
}
.rfs-hp-announce:hover .rfs-hp-announce__track { animation-play-state: paused; }
.rfs-hp-announce__item {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;
}
.rfs-hp-announce__sep {
    color: rgba(255,255,255,.5);
    font-size: 12px;
}
@keyframes rfsTicker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- 2) HERO ---------- */
.rfs-hp-hero {
    background: radial-gradient(circle at 75% 50%, rgba(228, 98, 27, .14), transparent 55%), var(--rfs-dark);
    color: #fff;
    padding: 72px 0 80px;
    position: relative;
    overflow: hidden;
}
.rfs-hp-hero::before {
    content: "";
    position: absolute;
    right: -140px; top: -140px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: rgba(228, 98, 27, .08);
    pointer-events: none;
}
.rfs-hp-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.rfs-hp-hero__main { min-width: 0; }
.rfs-hp-hero__eyebrow {
    color: var(--rfs-orange);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 8px 14px;
    background: rgba(228, 98, 27, .12);
    border-radius: 999px;
}
.rfs-hp-hero__dot { opacity: .5; }
.rfs-hp-hero__heading {
    font-family: var(--rfs-font-display);
    font-size: var(--rfs-h1);
    color: #fff !important;
    margin: 0 0 18px;
    line-height: 1.02;
    letter-spacing: -.5px;
    font-weight: 900;
}
.rfs-hp-hero__sub {
    font-family: var(--rfs-font-body);
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255,255,255,.75);
    max-width: 560px;
    margin: 0 0 30px;
}
.rfs-hp-hero__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.rfs-hp-hero__trust {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: rgba(255,255,255,.8);
    font-size: 13px;
    font-family: var(--rfs-font-ui);
}
.rfs-hp-hero__check {
    color: var(--rfs-green);
    font-weight: 800;
    margin-right: 4px;
}

.rfs-hp-hero__media {
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.rfs-hp-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.rfs-hp-hero__placeholder { font-size: 140px; color: rgba(255,255,255,.25); }

@media (max-width: 900px) {
    .rfs-hp-hero { padding: 48px 0 56px; }
    .rfs-hp-hero__grid { grid-template-columns: 1fr; gap: 28px; }
    .rfs-hp-hero__media { aspect-ratio: 4/3; }
    .rfs-hp-hero__heading { font-size: clamp(32px, 9vw, 44px); }
    .rfs-hp-hero__sub { font-size: 15px; }
}

/* ---------- CATEGORY QUICK-LINK BAR ---------- */
.rfs-hp-quicklinks {
    background: #fff;
    border-bottom: 1px solid var(--rfs-rule);
    padding: 14px 0;
}
.rfs-hp-quicklinks__scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.rfs-hp-quicklinks__scroll::-webkit-scrollbar { display: none; }
.rfs-hp-quicklink {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--rfs-bg);
    border: 1px solid var(--rfs-rule);
    border-radius: 10px;
    text-decoration: none;
    color: var(--rfs-ink);
    transition: border-color .15s, background .15s, transform .15s;
}
.rfs-hp-quicklink:hover {
    border-color: var(--rfs-orange);
    background: #fff;
    transform: translateY(-1px);
}
.rfs-hp-quicklink__icon { font-size: 22px; }
.rfs-hp-quicklink__name { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.rfs-hp-quicklink__count { color: var(--rfs-ink-3); font-size: 11px; font-weight: 500; }

/* ---------- 3) BRAND TRUST STRIP ---------- */
.rfs-hp-brands {
    background: var(--rfs-bg-alt);
    padding: 24px 0;
}
.rfs-hp-brands__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.rfs-hp-brands__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    flex: 1;
    justify-content: center;
}
.rfs-hp-brands__list a {
    font-family: var(--rfs-font-display);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 16px;
    color: var(--rfs-ink-3);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color .15s;
}
.rfs-hp-brands__list a:hover { color: var(--rfs-ink); }

/* ---------- 4) SPOTLIGHT ---------- */
.rfs-hp-spotlight {
    background: var(--rfs-dark);
    color: #fff;
    padding: 72px 0;
}
.rfs-hp-spotlight__head { text-align: center; margin-bottom: 36px; }
.rfs-hp-spotlight__head .rfs-label { color: var(--rfs-orange); margin-bottom: 10px; }
.rfs-hp-spotlight__title {
    font-family: var(--rfs-font-display);
    font-size: var(--rfs-h2);
    color: #fff !important;
    margin: 0;
    font-weight: 900;
}

.rfs-hp-spotlight__viewport {
    position: relative;
    min-height: 480px;
}
.rfs-hp-spotlight__slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--rfs-charcoal);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 40px;
}
.rfs-hp-spotlight__slide.is-active { display: grid; animation: rfsFadeIn .4s ease; }
@keyframes rfsFadeIn { from { opacity: 0; } to { opacity: 1; } }

.rfs-hp-spotlight__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
}
.rfs-hp-spotlight__media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rfs-hp-spotlight__urgency {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--rfs-orange);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.rfs-hp-spotlight__info { color: #fff; }
.rfs-hp-spotlight__brand {
    color: var(--rfs-orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}
.rfs-hp-spotlight__name {
    font-family: var(--rfs-font-display);
    font-size: 32px;
    color: #fff !important;
    margin: 0 0 14px;
    line-height: 1.1;
    font-weight: 800;
}
.rfs-hp-spotlight__desc {
    color: rgba(255,255,255,.7);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 18px;
    font-family: var(--rfs-font-body);
}
.rfs-hp-spotlight__price {
    font-family: var(--rfs-font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--rfs-orange);
    margin-bottom: 6px;
}
.rfs-hp-spotlight__price del { color: rgba(255,255,255,.4); font-weight: 400; font-size: 18px; margin-right: 10px; }
.rfs-hp-spotlight__price ins { background: transparent; text-decoration: none; }
.rfs-hp-spotlight__quote { color: var(--rfs-orange); font-size: 24px; }
.rfs-hp-spotlight__finance { color: rgba(255,255,255,.55); font-size: 13px; margin-bottom: 20px; }
.rfs-hp-spotlight__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.rfs-hp-spotlight__trust {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 18px; flex-wrap: wrap;
    color: rgba(255,255,255,.6);
    font-size: 12px;
}
.rfs-hp-spotlight__trust li::first-letter { color: var(--rfs-green); margin-right: 4px; }

.rfs-hp-spotlight__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}
.rfs-hp-spotlight__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    border: 0;
    cursor: pointer;
    transition: background .15s, transform .15s;
}
.rfs-hp-spotlight__dot:hover { background: rgba(255,255,255,.5); }
.rfs-hp-spotlight__dot.is-active { background: var(--rfs-orange); transform: scale(1.3); }

@media (max-width: 800px) {
    .rfs-hp-spotlight__slide { grid-template-columns: 1fr; padding: 24px; }
    .rfs-hp-spotlight__name { font-size: 24px; }
    .rfs-hp-spotlight__price { font-size: 26px; }
    .rfs-hp-spotlight__viewport { min-height: auto; }
}

/* ---------- 5) WHY RUSH ---------- */
.rfs-hp-why { background: #fff; padding: 72px 0; }
.rfs-hp-why__head { text-align: center; margin-bottom: 40px; }
.rfs-hp-why__head .rfs-label { margin-bottom: 10px; }
.rfs-hp-why__title {
    font-family: var(--rfs-font-display);
    font-size: var(--rfs-h2);
    color: var(--rfs-ink);
    margin: 0;
    font-weight: 900;
}
.rfs-hp-why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.rfs-hp-why__item { text-align: center; padding: 12px; }
.rfs-hp-why__icon {
    width: 76px; height: 76px;
    margin: 0 auto 16px;
    background: var(--rfs-orange-tint);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 34px;
}
.rfs-hp-why__name {
    font-family: var(--rfs-font-display);
    font-size: 18px;
    margin: 0 0 8px;
    color: var(--rfs-ink);
    font-weight: 800;
}
.rfs-hp-why__desc {
    font-family: var(--rfs-font-body);
    color: var(--rfs-ink-2);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
@media (max-width: 900px) {
    .rfs-hp-why__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .rfs-hp-why__grid { grid-template-columns: 1fr; }
}

/* ---------- 6) FEATURED PRODUCTS (TABS) ---------- */
.rfs-hp-featured { background: var(--rfs-bg); padding: 72px 0; }
.rfs-hp-featured__head { text-align: center; margin-bottom: 28px; }
.rfs-hp-featured__head .rfs-label { margin-bottom: 10px; }
.rfs-hp-featured__title {
    font-family: var(--rfs-font-display);
    font-size: var(--rfs-h2);
    color: var(--rfs-ink);
    margin: 0;
    font-weight: 900;
}

.rfs-hp-featured__tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--rfs-rule);
    border-radius: 999px;
    padding: 5px;
    margin: 0 auto 32px;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.rfs-hp-featured__tab {
    background: transparent;
    border: 0;
    padding: 10px 22px;
    font-family: var(--rfs-font-ui);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--rfs-ink-2);
    cursor: pointer;
    border-radius: 999px;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.rfs-hp-featured__tab:hover { color: var(--rfs-ink); }
.rfs-hp-featured__tab.is-active {
    background: var(--rfs-dark);
    color: #fff;
}

.rfs-hp-featured__panel { display: none; }
.rfs-hp-featured__panel.is-active { display: block; }

.rfs-hp-featured__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
@media (max-width: 1024px) { .rfs-hp-featured__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .rfs-hp-featured__grid { grid-template-columns: 1fr; } }

.rfs-hp-featured__empty {
    text-align: center;
    color: var(--rfs-ink-3);
    padding: 40px 0;
    font-family: var(--rfs-font-body);
}
.rfs-hp-featured__all {
    text-align: center;
    margin: 36px 0 0;
}

/* ---------- 7) TESTIMONIALS ---------- */
.rfs-hp-test { background: var(--rfs-dark); color: #fff; padding: 72px 0; }
.rfs-hp-test__head { text-align: center; margin-bottom: 36px; }
.rfs-hp-test__head .rfs-label { color: var(--rfs-orange); margin-bottom: 10px; }
.rfs-hp-test__title {
    font-family: var(--rfs-font-display);
    font-size: var(--rfs-h2);
    color: #fff !important;
    margin: 0;
    font-weight: 900;
}
.rfs-hp-test__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
@media (max-width: 900px) { .rfs-hp-test__grid { grid-template-columns: 1fr; } }
.rfs-hp-test__card {
    background: var(--rfs-charcoal);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 28px;
    text-align: left;
}
.rfs-hp-test__stars { color: #f59e0b; font-size: 16px; letter-spacing: 3px; margin-bottom: 14px; }
.rfs-hp-test__quote {
    font-family: var(--rfs-font-body);
    color: rgba(255,255,255,.85);
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 18px;
    font-style: italic;
}
.rfs-hp-test__card footer strong { display: block; color: #fff; font-size: 14px; margin-bottom: 2px; }
.rfs-hp-test__card footer span { color: rgba(255,255,255,.55); font-size: 12px; }

/* ---------- 8) CTA BANNER ---------- */
.rfs-hp-cta {
    background: var(--rfs-orange);
    color: #fff;
    padding: 64px 0;
}
.rfs-hp-cta__inner { text-align: center; }
.rfs-hp-cta__heading {
    font-family: var(--rfs-font-display);
    font-size: var(--rfs-h2);
    color: #fff !important;
    margin: 0 0 12px;
    font-weight: 900;
    letter-spacing: -.5px;
}
.rfs-hp-cta__sub {
    font-family: var(--rfs-font-body);
    color: rgba(255,255,255,.92);
    font-size: 16px;
    line-height: 1.5;
    max-width: 640px;
    margin: 0 auto 24px;
}
.rfs-hp-cta__btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.rfs-hp-cta .rfs-btn--white { color: var(--rfs-orange-hover); }
.rfs-hp-cta .rfs-btn--white:hover { color: var(--rfs-orange-hover); background: var(--rfs-orange-tint); }

/* ---------- 9) NEWSLETTER ---------- */
.rfs-hp-news { background: #fff; padding: 72px 0; border-top: 1px solid var(--rfs-rule-soft); }
.rfs-hp-news__inner { text-align: center; max-width: 560px; margin: 0 auto; }
.rfs-hp-news__badge {
    display: inline-block;
    background: var(--rfs-green-soft);
    color: #166534;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}
.rfs-hp-news__heading {
    font-family: var(--rfs-font-display);
    font-size: var(--rfs-h2);
    color: var(--rfs-ink);
    margin: 0 0 8px;
    font-weight: 900;
}
.rfs-hp-news__sub {
    font-family: var(--rfs-font-body);
    color: var(--rfs-ink-2);
    margin: 0 0 24px;
    font-size: 15px;
}
.rfs-hp-news__form {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.rfs-hp-news__form input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid var(--rfs-rule);
    border-radius: var(--rfs-r-btn);
    font-family: var(--rfs-font-ui);
    font-size: 15px;
    background: var(--rfs-bg);
    color: var(--rfs-ink);
}
.rfs-hp-news__form input:focus {
    outline: 0;
    border-color: var(--rfs-orange);
    background: #fff;
    box-shadow: 0 0 0 3px var(--rfs-orange-soft);
}
.rfs-hp-news__fine { color: var(--rfs-ink-3); font-size: 12px; margin: 0; }

@media (max-width: 600px) {
    .rfs-hp-news__form { flex-direction: column; }
}
