/* ============================================================
   F.T.V FARAFINA VIP — Design system
   Palette derivee du logo : orange Afrique + vert autocar
   ============================================================ */

:root {
    --orange:        #F5900E;
    --orange-dark:   #C96F05;
    --orange-light:  #FCEBD5;
    --green:         #1F8A3B;
    --green-dark:    #123320;
    --green-light:   #E4F3E6;
    --ink:           #201C16;
    --ink-soft:      #5B564C;
    --cream:         #FFFBF4;
    --white:         #FFFFFF;
    --line:          #EAE1D2;

    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --radius: 14px;
    --shadow: 0 10px 30px -12px rgba(32, 28, 22, 0.25);
    --header-h: 74px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 .5em;
    letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .74rem;
    font-weight: 600;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.eyebrow::before {
    content: '';
    width: 18px;
    height: 2px;
    background: var(--orange);
    display: inline-block;
}

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .95rem;
    padding: 13px 26px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); box-shadow: var(--shadow); }

.btn-secondary { background: var(--green); color: var(--white); }
.btn-secondary:hover { background: var(--green-dark); box-shadow: var(--shadow); }

.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

.btn-ghost { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }

.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: .82rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 46px; width: auto; }
.brand-text { font-family: var(--font-display); font-weight: 700; line-height: 1.05; }
.brand-text .name { display: block; font-size: 1.05rem; color: var(--ink); }
.brand-text .tag { display: block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
    font-weight: 600;
    font-size: .92rem;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--ink-soft);
}
.main-nav a:hover, .main-nav a.active { background: var(--orange-light); color: var(--orange-dark); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: var(--green-dark);
    color: var(--white);
    overflow: hidden;
    padding: 72px 0 96px;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(18, 51, 32, 0.74);
    z-index: 1;
    pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 620px; }
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); color: var(--white); }
.hero h1 span { color: var(--orange); }
.hero p.lead { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }

.route-line {
    position: relative;
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: .8rem;
    color: rgba(255,255,255,.75);
}
.route-line .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.route-line .track { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 6px, transparent 6px 12px); }

/* ---------- Search / booking card ---------- */
.search-card {
    position: relative;
    background: var(--white);
    color: var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
}
.search-card h3 { font-size: 1.05rem; margin-bottom: 18px; }
.search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.field select, .field input {
    font-family: var(--font-body);
    font-size: .95rem;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--line);
    background: var(--cream);
    color: var(--ink);
}
.field select:focus, .field input:focus { border-color: var(--orange); outline: none; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 10px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- Stat strip ---------- */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: var(--green-dark);
    color: var(--white);
    border-radius: var(--radius);
    padding: 32px 20px;
    margin-top: -64px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow);
}
.stat { text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--orange); }
.stat span { font-size: .8rem; color: rgba(255,255,255,.75); }
.stat-strip-lg { margin-top: 0; padding: 56px 32px; }
.stat-strip-lg .stat b { font-size: 3rem; }
.stat-strip-lg .stat span { font-size: 1rem; }

/* ---------- Service / feature cards ---------- */
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--orange-light);
    color: var(--orange-dark);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.card .icon svg { width: 24px; height: 24px; }
.bi { display: inline-block; vertical-align: -0.15em; flex-shrink: 0; margin-right: 8px; }
.admin-sidebar nav a .bi { margin-right: 0; }
.card h3 { font-size: 1.05rem; }
.card p { margin-bottom: 0; font-size: .92rem; }

/* ---------- Ticket stub (signature element) ---------- */
.ticket {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--line);
}
.ticket-main { padding: 24px 26px; }
.ticket-route { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.ticket-route .arrow { color: var(--orange); font-size: 1rem; }
.ticket-meta { display: flex; gap: 22px; margin-top: 12px; flex-wrap: wrap; }
.ticket-meta div { font-size: .8rem; color: var(--ink-soft); }
.ticket-meta b { display: block; font-family: var(--font-mono); font-size: .92rem; color: var(--ink); }
.ticket-stub {
    position: relative;
    width: 168px;
    background: var(--green-dark);
    color: var(--white);
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 6px;
}
.ticket-stub::before {
    content: '';
    position: absolute;
    left: -10px; top: 50%;
    transform: translateY(-50%);
    width: 20px; height: 20px;
    background: var(--cream);
    border-radius: 50%;
}
.ticket-divider {
    position: absolute;
    left: calc(100% - 168px);
    top: 0; bottom: 0;
    border-left: 2px dashed rgba(255,255,255,.35);
}
.ticket-stub .price { font-family: var(--font-mono); font-weight: 600; font-size: 1.2rem; color: var(--orange); }
.ticket-stub .code { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; opacity: .8; }
.ticket-barcode {
    height: 26px;
    margin-top: 4px;
    width: 100%;
    background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.9) 0 2px, transparent 2px 5px, rgba(255,255,255,.5) 5px 6px, transparent 6px 9px);
}

/* ---------- Timeline (colis tracking) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
    position: relative;
    padding: 0 0 34px 40px;
    border-left: 2px solid var(--line);
}
.timeline li:last-child { border-color: transparent; padding-bottom: 0; }
.timeline li::before {
    content: '';
    position: absolute;
    left: -9px; top: 0;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--line);
    border: 3px solid var(--cream);
}
.timeline li.done::before { background: var(--green); }
.timeline li.current::before { background: var(--orange); box-shadow: 0 0 0 5px var(--orange-light); }
.timeline .t-title { font-weight: 700; font-family: var(--font-display); font-size: .98rem; }
.timeline .t-date { font-family: var(--font-mono); font-size: .76rem; color: var(--ink-soft); }

/* ---------- Status pills ---------- */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 5px 12px;
    border-radius: 999px;
}
.statut-enregistre { background: #EDEAE3; color: var(--ink-soft); }
.statut-transit { background: var(--orange-light); color: var(--orange-dark); }
.statut-arrive, .statut-livre { background: var(--green-light); color: var(--green-dark); }
.statut-annulee { background: #F7DCDC; color: #9A2B2B; }

/* ---------- Testimonials ---------- */
.testimonial {
    background: var(--orange-light);
    border-radius: var(--radius);
    padding: 26px;
}
.testimonial p { color: var(--ink); font-style: italic; }
.testimonial .who { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.testimonial .avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--orange); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700; font-size: .85rem;
    flex-shrink: 0;
}
.testimonial .who b { display: block; font-size: .88rem; }
.testimonial .who span { font-size: .76rem; color: var(--ink-soft); }

.testimonial-carousel { position: relative; }
.testimonial-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 6px;
    scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-track .testimonial {
    scroll-snap-align: start;
    flex: 0 0 min(360px, 86vw);
}
.testimonial-nav { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.testimonial-nav button {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    transition: border-color .15s ease, color .15s ease;
}
.testimonial-nav button:hover { border-color: var(--orange); color: var(--orange-dark); }

/* ---------- Forms ---------- */
.form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: .82rem; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
    font-family: var(--font-body);
    padding: 12px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--line);
    font-size: .95rem;
    background: var(--cream);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--orange); }
.form-hint { font-size: .78rem; color: var(--ink-soft); }

.alert { border-radius: 10px; padding: 14px 18px; font-size: .9rem; margin-bottom: 20px; }
.alert-success { background: var(--green-light); color: var(--green-dark); }
.alert-error { background: #F7DCDC; color: #9A2B2B; }

/* ---------- Table ---------- */
.table-wrap {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 560px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--line);
}
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
thead th {
    position: sticky;
    top: 0;
    z-index: 5;
    text-align: left;
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: .7rem;
    letter-spacing: .06em;
    color: var(--ink-soft);
    background: var(--orange-light);
    padding: 12px 16px;
    box-shadow: 0 1px 0 var(--line);
}
tbody td { padding: 13px 16px; border-top: 1px solid var(--line); }
tbody tr:hover { background: var(--cream); }

/* ---------- CTA band ---------- */
.cta-band {
    background: var(--orange);
    color: var(--white);
    border-radius: var(--radius);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,.75); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 40px; }
.footer-brand span { font-family: var(--font-display); font-weight: 700; color: var(--white); }
.site-footer h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-mono); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; font-size: .88rem; }
.site-footer a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .8rem; }

/* ---------- Admin search + pagination ---------- */
.admin-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.admin-search {
    position: relative;
    flex: 1 1 320px;
    min-width: 240px;
}
.admin-search-icon {
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    width: 20px; height: 20px;
    color: var(--ink-soft);
    pointer-events: none;
}
.admin-search-icon svg { width: 100%; height: 100%; }
.admin-search input {
    width: 100%;
    font-family: var(--font-body);
    padding: 14px 44px 14px 46px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    font-size: 1rem;
    background: var(--cream);
}
.admin-search input:focus { outline: none; border-color: var(--orange); background: var(--white); }
.admin-search-clear {
    position: absolute;
    right: 12px; top: 50%;
    transform: translateY(-50%);
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--line);
    color: var(--ink-soft);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
}
.admin-search-clear:hover { background: var(--orange); color: var(--white); }

.admin-perpage { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.admin-perpage label { font-size: .82rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.admin-perpage select {
    font-family: var(--font-body);
    padding: 12px 14px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: var(--cream);
    font-size: .92rem;
}
.admin-perpage select:focus { outline: none; border-color: var(--orange); }

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 22px;
}
.pagination-info { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-soft); }

/* ---------- Admin layout ---------- */
.admin-body { background: var(--cream); }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar {
    background: var(--green-dark); color: rgba(255,255,255,.85); padding: 24px 18px;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-sidebar .brand { color: var(--white); margin-bottom: 30px; }
.admin-sidebar nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 14px; border-radius: 10px; font-size: .9rem; font-weight: 500;
    color: rgba(255,255,255,.75); margin-bottom: 4px;
}
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: rgba(255,255,255,.1); color: var(--white); }
.badge-unread {
    background: #e53935; color: #fff; font-size: .72rem; font-weight: 700;
    line-height: 1; padding: 4px 7px; border-radius: 999px; font-family: var(--font-mono);
}
.admin-main { padding: 30px 36px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.admin-topbar h1 { font-size: 1.4rem; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.kpi-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.kpi-card span { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; color: var(--ink-soft); }
.kpi-card b { display: block; font-family: var(--font-display); font-size: 1.7rem; margin-top: 6px; }

.back-to-top {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: none;
    background: var(--green-dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, background-color .15s ease;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--orange); }
.back-to-top svg { width: 22px; height: 22px; }

@media (max-width: 700px) {
    .back-to-top { bottom: 16px; right: 16px; width: 46px; height: 46px; }
}

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 22px;
    left: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 999;
    transition: transform .15s ease;
    animation: wa-pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

@keyframes wa-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5), var(--shadow); }
    70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0), var(--shadow); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), var(--shadow); }
}

@media (max-width: 700px) {
    .whatsapp-float { bottom: 16px; left: 16px; width: 52px; height: 52px; }
    .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ---------- News ticker ---------- */
.news-ticker {
    position: sticky;
    top: var(--header-h, 74px);
    z-index: 90;
    display: flex;
    align-items: stretch;
    background: var(--green-dark);
    border-bottom: 1px solid rgba(255,255,255,.08);
    overflow: hidden;
}
.news-ticker-label {
    background: var(--orange);
    color: var(--white);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 11px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}
.news-ticker-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}
.news-ticker-content {
    display: flex;
    flex-shrink: 0;
    animation: ticker-scroll 32s linear infinite;
}
.news-ticker-set { display: flex; align-items: center; flex-shrink: 0; }
.news-ticker-content span.item {
    color: rgba(255,255,255,.92);
    font-size: .85rem;
    white-space: nowrap;
    padding: 11px 0;
}
.news-ticker-content .sep { color: var(--orange); margin: 0 26px; font-weight: 700; }

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (max-width: 700px) {
    .news-ticker-label { padding: 9px 14px; font-size: .68rem; }
    .news-ticker-content span.item { font-size: .8rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-content { max-width: 100%; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stat-strip { grid-template-columns: repeat(2, 1fr); }
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
}
@media (max-width: 700px) {
    .main-nav { display: none; }
    .nav-toggle { display: block; }
    .grid-3, .grid-4, .grid-2, .form-row, .search-grid { grid-template-columns: 1fr; }
    .ticket { grid-template-columns: 1fr; }
    .ticket-stub { width: 100%; flex-direction: row; justify-content: space-between; }
    .ticket-divider { display: none; }
    .cta-band { flex-direction: column; text-align: center; }
    .kpi-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}
