/*
 * Fasta company site: home page (.fc) and the shared newsletter band and footer (.fc-footer).
 * Editorial Kenyan look: forest green and cream, a kikoi stripe, Space Grotesk headings.
 * The brand green follows Admin → Business settings → Website colour (--primary) when set.
 */
:root {
    --fc-green: var(--primary, #039d55);
    --fc-forest: #0b2a1c;
    --fc-forest-2: #12392a;
    --fc-cream: #f6f3ec;
    --fc-sun: #f6b52e;
    --fc-coral: #e4572e;
    --fc-ink: #13221a;
    --fc-muted: #55655c;
    --fc-line: #e3ddd0;
    --fc-radius: 20px;
    --fc-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --fc-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.fc, .fc-newsletter, .fc-footer { font-family: var(--fc-body); color: var(--fc-ink); }
.fc *, .fc-newsletter *, .fc-footer * { box-sizing: border-box; }
.fc h1, .fc h2, .fc h3, .fc-newsletter h2, .fc-footer h5 { font-family: var(--fc-head); letter-spacing: -0.02em; margin: 0; }
.fc p { margin: 0; }
.fc-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.fc .hl { color: var(--fc-sun); }

/* buttons and links */
.fc-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s ease, background .15s ease; }
.fc-btn:hover { transform: translateY(-1px); text-decoration: none; }
.fc-btn--sun { background: var(--fc-sun); color: var(--fc-forest); }
.fc-btn--sun:hover { background: #ffc54d; color: var(--fc-forest); }
.fc-btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.fc-btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.fc-link { display: inline-flex; gap: 6px; font-weight: 600; color: var(--fc-green); text-decoration: none; }
.fc-link:hover { text-decoration: underline; color: var(--fc-green); }
.fc-store { display: inline-flex; flex-direction: column; justify-content: center; min-width: 148px; padding: 8px 16px; border-radius: 12px; border: 1.5px solid currentColor; color: inherit; font-weight: 700; font-size: 15px; line-height: 1.15; text-decoration: none; }
.fc-store small { font-weight: 500; font-size: 11px; opacity: .75; }
.fc-store:hover { text-decoration: none; opacity: .9; color: inherit; }
.fc-store--light { color: #fff; border-color: rgba(255,255,255,.4); }
.fc-chip { display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.fc-chip--light { background: rgba(246,181,46,.14); color: var(--fc-sun); }
.fc-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fc-green); margin-bottom: 10px !important; }
.fc-eyebrow--light { color: var(--fc-sun); }
.fc-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--fc-green); margin-right: 8px; vertical-align: middle; }

/* kikoi stripe */
.fc-kikoi { display: grid; grid-template-columns: repeat(5, 1fr); height: 6px; }
.fc-kikoi i:nth-child(1) { background: var(--fc-forest); }
.fc-kikoi i:nth-child(2) { background: var(--fc-green); }
.fc-kikoi i:nth-child(3) { background: var(--fc-sun); }
.fc-kikoi i:nth-child(4) { background: var(--fc-coral); }
.fc-kikoi i:nth-child(5) { background: var(--fc-green); }

/* hero */
.fc-hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(3,157,85,.35), transparent 60%), var(--fc-forest); color: #fff; }
.fc-hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.fc-hero h1 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.02; margin: 18px 0 18px; color: #fff; }
.fc-lead { font-size: 18px; line-height: 1.6; color: #cfe2d6; max-width: 560px; margin-bottom: 28px !important; }
.fc-hero__facts { display: flex; flex-wrap: wrap; gap: 28px; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.fc-hero__facts div { min-width: 110px; }
.fc-hero__facts dt { font-family: var(--fc-head); font-size: 28px; color: #fff; }
.fc-hero__facts dd { margin: 2px 0 0; color: #a9c6b5; font-size: 14px; }
.fc-hero__panel { background: var(--fc-cream); color: var(--fc-ink); border-radius: 28px; padding: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.fc-hero__panel-title { font-family: var(--fc-head); font-weight: 700; font-size: 20px; margin-bottom: 16px !important; }
.fc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fc-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px; border-radius: 16px; background: #fff; border: 1px solid var(--fc-line); color: var(--fc-ink); text-decoration: none; text-align: center; font-weight: 600; font-size: 14px; transition: transform .15s ease, border-color .15s ease; }
.fc-tile:hover { transform: translateY(-2px); border-color: var(--fc-green); color: var(--fc-ink); text-decoration: none; }
.fc-tile img { width: 44px; height: 44px; object-fit: contain; }
.fc-hero__illustration svg, .fc-hero__illustration img { max-width: 100%; height: auto; }

/* offers marquee */
.fc-marquee { background: var(--fc-cream); border-bottom: 1px solid var(--fc-line); overflow: hidden; padding: 14px 0; }
.fc-marquee__track { display: flex; gap: 48px; width: max-content; animation: fc-scroll 40s linear infinite; }
.fc-marquee__track span { white-space: nowrap; font-size: 15px; color: var(--fc-muted); }
.fc-marquee__track b { color: var(--fc-ink); margin-right: 4px; }
@keyframes fc-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .fc-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* sections */
.fc-section { padding: 96px 0; background: #fff; }
.fc-section--cream { background: var(--fc-cream); }
.fc-section--forest { background: var(--fc-forest); color: #fff; }
.fc-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.fc-head h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; }
.fc-head p:not(.fc-eyebrow) { margin-top: 14px !important; font-size: 17px; line-height: 1.6; color: var(--fc-muted); }
.fc-head--left { text-align: left; margin: 0 0 32px; }
.fc-section--forest .fc-head h2 { color: #fff; }
.fc-section--forest .fc-head p:not(.fc-eyebrow) { color: #b8d3c3; }
.fc-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }

/* services */
.fc-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fc-service { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--fc-radius); background: var(--fc-cream); border: 1px solid var(--fc-line); }
.fc-service__icon { width: 56px; height: 56px; border-radius: 16px; background: #fff; display: grid; place-items: center; }
.fc-service__icon img { width: 34px; height: 34px; object-fit: contain; }
.fc-service h3 { font-size: 22px; }
.fc-service p { color: var(--fc-muted); line-height: 1.6; font-size: 15px; flex: 1; }

/* company home content keeps its own markup */
.fc-company .page-content, .fc-company > div { max-width: 100%; }

/* features */
.fc-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fc-feature { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 18px; border: 1px solid var(--fc-line); background: #fff; }
.fc-feature__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--fc-cream); display: grid; place-items: center; }
.fc-feature__icon img { width: 28px; height: 28px; object-fit: contain; }
.fc-feature h3 { font-size: 18px; margin-bottom: 4px; }
.fc-feature p { color: var(--fc-muted); font-size: 14.5px; line-height: 1.55; }

/* partners */
.fc-partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.fc-partner { padding: 36px; border-radius: 24px; background: var(--fc-forest-2); border: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 14px; }
.fc-partner--rider { background: linear-gradient(160deg, #164a33, var(--fc-forest-2)); }
.fc-partner__img { width: 56px; height: 56px; object-fit: contain; border-radius: 14px; background: rgba(255,255,255,.06); padding: 8px; }
.fc-partner h3 { font-size: 26px; color: #fff; }
.fc-partner p { color: #b8d3c3; line-height: 1.6; }
.fc-partner__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.fc-partner .fc-store { color: #fff; border-color: rgba(255,255,255,.35); min-width: 0; padding: 12px 18px; flex-direction: row; font-size: 14px; }

/* zones */
.fc-zones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fc-zones li { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--fc-line); background: var(--fc-cream); font-weight: 600; }
.fc-zones small { display: block; margin: 4px 0 0 16px; font-weight: 400; color: var(--fc-muted); font-size: 13px; }

/* reasons */
.fc-reasons { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--fc-line); max-width: 1100px; }
.fc-reasons li { display: flex; gap: 16px; padding: 26px 20px 26px 0; border-bottom: 1px solid var(--fc-line); }
.fc-reasons__n { font-family: var(--fc-head); font-weight: 700; color: var(--fc-green); font-size: 15px; padding-top: 3px; }
.fc-reasons h3 { font-size: 18px; }
.fc-reasons p { color: var(--fc-muted); font-size: 14.5px; line-height: 1.55; margin-top: 4px !important; }

/* numbers */
.fc-numbers { background: var(--fc-green); color: #fff; padding: 44px 0; }
.fc-numbers__grid { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 24px; text-align: center; }
.fc-numbers strong { display: block; font-family: var(--fc-head); font-size: 40px; }
.fc-numbers span { opacity: .85; }

/* testimonials */
.fc-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.fc-quote { margin: 0; padding: 30px; border-radius: var(--fc-radius); background: var(--fc-cream); display: flex; flex-direction: column; gap: 20px; }
.fc-quote blockquote { margin: 0; font-size: 18px; line-height: 1.55; font-family: var(--fc-head); }
.fc-quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.fc-quote img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.fc-quote small { display: block; color: var(--fc-muted); }

/* referral */
.fc-referral { text-align: center; padding: 56px 20px; }
.fc-referral h2 { font-size: 32px; }
.fc-referral p { color: var(--fc-muted); margin-top: 8px !important; }

/* app */
.fc-app { margin: 96px 0; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; background: var(--fc-forest); color: #fff; border-radius: 32px; padding: 56px; overflow: hidden; position: relative; }
.fc-app::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(246,181,46,.12); }
.fc-app h2 { font-size: clamp(28px, 3.4vw, 42px); color: #fff; }
.fc-app p { color: #b8d3c3; margin: 12px 0 26px !important; font-size: 17px; line-height: 1.6; max-width: 520px; }
.fc-app__phone { position: relative; z-index: 1; display: flex; justify-content: center; }
.fc-app__phone img { max-width: 100%; max-height: 360px; object-fit: contain; }
.fc-phone { width: 230px; border-radius: 34px; background: #fff; color: var(--fc-ink); padding: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 12px; }
.fc-phone__bar { width: 70px; height: 6px; border-radius: 6px; background: #e4e4e4; margin: 0 auto 6px; }
.fc-phone__row { display: flex; justify-content: space-between; font-size: 13px; padding: 10px 12px; border-radius: 12px; background: var(--fc-cream); }
.fc-phone__map { height: 150px; border-radius: 14px; background: linear-gradient(135deg, #dfeee5 25%, transparent 25%) -10px 0 / 20px 20px, linear-gradient(225deg, #dfeee5 25%, transparent 25%) -10px 0 / 20px 20px, #eef6f1; position: relative; }
.fc-phone__map::after { content: ""; position: absolute; left: 30%; top: 40%; width: 16px; height: 16px; border-radius: 50%; background: var(--fc-green); box-shadow: 0 0 0 8px rgba(3,157,85,.2); }

/* newsletter band (every company page) */
.fc-newsletter { background: var(--fc-cream); border-top: 1px solid var(--fc-line); padding: 48px 0; }
.fc-newsletter__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.fc-newsletter h2 { font-size: 26px; }
.fc-newsletter p { margin: 6px 0 0; color: var(--fc-muted); }
.fc-newsletter__form { display: flex; gap: 8px; flex: 1 1 300px; min-width: 0; max-width: 480px; background: #fff; border: 1px solid var(--fc-line); border-radius: 999px; padding: 6px; }
.fc-newsletter__form input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 10px 16px; font-size: 15px; background: transparent; }
.fc-newsletter__form button { border: 0; border-radius: 999px; padding: 10px 22px; background: var(--fc-forest); color: #fff; font-weight: 600; }
.fc-newsletter__form:focus-within { border-color: var(--fc-green); box-shadow: 0 0 0 3px rgba(3,157,85,.15); }

/* footer (every company page) */
.fc-footer { background: var(--fc-forest); color: #c6dccf; }
.fc-footer__grid { display: grid; grid-template-columns: 1.3fr 2.4fr 0.9fr; gap: 48px; padding: 64px 0 40px; }
.fc-footer__logo { display: inline-flex; background: #fff; border-radius: 14px; padding: 8px 14px; margin-bottom: 18px; }
.fc-footer__logo img { height: 34px; width: auto; max-width: 160px; object-fit: contain; }
.fc-footer__brand > p { line-height: 1.6; font-size: 14.5px; margin: 0 0 20px; max-width: 340px; }
.fc-footer__contact { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.fc-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.fc-footer__contact svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--fc-sun); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fc-footer a { color: #e6f0ea; text-decoration: none; }
.fc-footer a:hover { color: #fff; text-decoration: underline; }
.fc-footer__social { display: flex; gap: 10px; }
.fc-footer__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.fc-footer__social a:hover { background: rgba(255,255,255,.16); }
.fc-footer__social img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.fc-footer__links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.fc-footer h5 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.fc-footer .f-links { display: grid; gap: 10px; font-size: 14.5px; }
.fc-footer__apps { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.fc-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }
.fc-footer__bottom p { margin: 0; }
.fc-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* nav polish (every company page) */
.main-nav { font-family: var(--fc-body); }
.join-dd .ji { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--fc-cream); }
.join-dd .ji svg { width: 18px; height: 18px; fill: none; stroke: var(--fc-forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* responsive */
@media (max-width: 1024px) {
    .fc-hero__grid, .fc-split, .fc-app { grid-template-columns: 1fr; }
    .fc-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fc-reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fc-footer__grid { grid-template-columns: 1fr 1fr; }
    .fc-footer__links { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 640px) {
    .fc-hero__grid { padding-top: 44px; padding-bottom: 48px; gap: 32px; }
    .fc-section { padding: 64px 0; }
    .fc-services, .fc-features, .fc-zones, .fc-reasons { grid-template-columns: 1fr; }
    .fc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fc-app { padding: 32px 22px; margin: 64px 0; border-radius: 24px; }
    .fc-footer__grid { grid-template-columns: 1fr; }
    .fc-footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fc-btn { width: 100%; justify-content: center; }
}

/* company home sections (company.sections partial) inside the redesigned page */
.fc-company .fasta-company-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 0 0 28px; }
.fc-company .content-card { background: #fff; border: 1px solid var(--fc-line); border-radius: var(--fc-radius); padding: 28px; box-shadow: none; }
.fc-company .content-card h2 { font-family: var(--fc-head); font-size: 22px; margin: 0 0 10px; color: var(--fc-ink); }
.fc-company .fasta-company-copy { color: var(--fc-muted); line-height: 1.6; margin: 0; }
.fc-company .fasta-order-link { display: inline-flex; padding: 13px 22px; border-radius: 999px; background: var(--fc-forest); color: #fff; font-weight: 600; text-decoration: none; }
.fc-feature__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--fc-green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
