/*
 * KSAplate site footer (.kf-*) — 2026-10-04
 * Plain CSS on purpose: the Tailwind bundle is frozen (see layouts/app.blade.php).
 * Light-only site, but the footer itself is a dark band. No gold (owner, 2026-10-04):
 * green only. Logical properties throughout so /ar, /ur mirror for free.
 */
.kf {
    --kf-bg: #0b1410;
    --kf-bg-2: #101c16;
    --kf-line: rgba(255, 255, 255, .08);
    --kf-ink: #e9efeb;
    --kf-mute: #9fb0a7;
    --kf-dim: #6f8178;
    --kf-green: var(--ksa-green, #006C35);
    --kf-green-hi: #2fb36b;
    --kf-accent: #2fb36b;
    --kf-cta: #006C35;
    --kf-cta-hover: #00843D;

    position: relative;
    margin-block-start: 0;
    background:
        radial-gradient(60rem 22rem at 85% -6rem, rgba(0, 108, 53, .28), transparent 70%),
        radial-gradient(40rem 18rem at 5% 0, rgba(47, 179, 107, .06), transparent 70%),
        var(--kf-bg);
    color: var(--kf-mute);
    font-size: .875rem;
    line-height: 1.6;
}
.kf::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    inset-block-start: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--kf-green), var(--kf-accent) 50%, var(--kf-green));
}
.kf a { color: inherit; text-decoration: none; transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
.kf a:hover { color: #fff; }
.kf a:focus-visible { outline: 2px solid var(--kf-accent); outline-offset: 2px; border-radius: 4px; }
.kf ul { list-style: none; margin: 0; padding: 0; }
.kf p { margin: 0; }

.kf-wrap {
    max-width: 80rem;
    margin-inline: auto;
    padding: 4.5rem 1rem 2rem;
}

.kf-h {
    margin: 0 0 .9rem;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
[dir="rtl"] .kf-h { letter-spacing: 0; text-transform: none; font-size: .95rem; }

/* Band 1 */
.kf-top {
    display: grid;
    gap: 2rem;
    padding-block-end: 2.5rem;
    border-block-end: 1px solid var(--kf-line);
}
@media (min-width: 900px) {
    .kf-top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 3rem; }
}
.kf-logo { color: #fff; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; margin-block-end: .9rem !important; }
.kf-logo span { color: var(--kf-green-hi); font-weight: 400; }
.kf-lede { color: var(--kf-mute); max-width: 34ch; }
.kf-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-block-start: 1.25rem;
    padding: .7rem 1.2rem;
    border-radius: 999px;
    background: var(--kf-cta);
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 6px 22px -6px rgba(0, 168, 84, .7);
}
.kf-cta:hover { background: var(--kf-cta-hover); }
.kf-cta-arr { display: inline-block; transition: transform .2s ease; }
.kf-cta:hover .kf-cta-arr { transform: translateX(3px); }
[dir="rtl"] .kf-cta-arr { transform: scaleX(-1); }
[dir="rtl"] .kf-cta:hover .kf-cta-arr { transform: scaleX(-1) translateX(3px); }

.kf-clist { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (min-width: 900px) { .kf-clist { justify-content: flex-end; max-width: 30rem; } }
.kf-chip {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .85rem;
    border: 1px solid var(--kf-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .03);
    color: var(--kf-ink) !important;
}
.kf-chip:hover { border-color: var(--kf-green-hi); background: rgba(47, 179, 107, .1); }
.kf-chip i { color: var(--kf-green-hi); width: 1rem; text-align: center; }
.kf-chip--ghost { color: var(--kf-mute) !important; border-style: dashed; }

/* Band 2 */
.kf-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
    padding-block: 2.5rem;
    border-block-end: 1px solid var(--kf-line);
}
@media (min-width: 700px) { .kf-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .kf-cols { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.kf-col li + li { margin-block-start: .5rem; }
.kf-col a { display: inline-block; }
.kf-col a:hover { color: #fff; transform: translateX(2px); }
[dir="rtl"] .kf-col a:hover { transform: translateX(-2px); }

/* Band 3 */
.kf-discover { display: grid; gap: .9rem; padding-block: 1.75rem; border-block-end: 1px solid var(--kf-line); }
.kf-row { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.kf-row-h { color: var(--kf-ink); font-weight: 600; font-size: .8rem; margin-inline-end: .35rem; }
.kf-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .7rem;
    border-radius: 999px;
    border: 1px solid var(--kf-line);
    font-size: .78rem;
    color: var(--kf-mute);
}
.kf-pill:hover { border-color: var(--kf-accent); color: #fff; }
.kf-pill--letter span[lang="ar"] { font-size: .95rem; color: #fff; line-height: 1; }
.kf-lat { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; color: var(--kf-accent); }

/* Band 4 */
.kf-bottom {
    display: grid;
    gap: .4rem;
    padding-block-start: 1.5rem;
    font-size: .75rem;
    color: var(--kf-dim);
}
.kf-bottom a { color: var(--kf-mute); text-decoration: underline; text-underline-offset: 2px; }
.kf-adr { color: var(--kf-dim); }
@media (min-width: 900px) { .kf-bottom { text-align: center; } }
