/* Explain: Global stylesheet for the public-facing website theme. */
/* Public website theme — corporate technology look.
   Deep navy primary with a warm gold accent and teal highlights on clean white
   surfaces, rounded cards and soft shadows.
   Loaded only on public pages (via global/header.html), so the staff CRM keeps
   its own palette. */

:root {
    --primary-color: #0a1f4d;
    --primary-hover: #12306e;
    --secondary-color: #16386f;
    --navy-color: #08183a;
    --accent-color: #f5b301;
    --accent-hover: #d99b00;
    --teal-color: #0aa39b;
    --teal-hover: #08857f;
    --orange-color: #f97316;
    --background-color: #ffffff;
    --surface-color: #f4f7fc;
    --text-color: #10203f;
    --text-muted: #5c6d8c;
    --border-color: #e2e9f4;
    --primary-soft: rgba(10, 31, 77, 0.06);
    --accent-soft: rgba(245, 179, 1, 0.16);
    --teal-soft: rgba(10, 163, 155, 0.12);
    --radius: 1rem;
    --shadow-sm: 0 1px 2px rgba(8, 24, 58, 0.05);
    --shadow-md: 0 12px 30px rgba(8, 24, 58, 0.08);
    --shadow-lg: 0 24px 50px rgba(8, 24, 58, 0.14);
}

/* ---------- Header links ---------- */
.site-nav-link {
    display: inline-flex;
    align-items: center;
    border-radius: 0.6rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav-link:hover {
    color: var(--primary-color);
    background-color: var(--surface-color);
}

header .lang-btn {
    color: var(--text-muted);
}

header .lang-btn:hover {
    color: var(--primary-color);
    background-color: rgba(10, 31, 77, 0.07);
}

header .lang-btn.is-active {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* ---------- Eyebrow label ---------- */
.section-label {
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    background-color: var(--accent-soft);
    color: var(--primary-color);
    letter-spacing: 0.14em;
}

.section-label::before {
    display: none;
}

/* ---------- Gold swipe under a headline line ---------- */
.heading-swipe {
    position: relative;
    display: inline-block;
}

.heading-swipe::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.55rem;
    width: 62%;
    height: 0.32rem;
    border-radius: 9999px;
    background-image: linear-gradient(90deg, var(--accent-color), var(--orange-color));
}

/* ---------- Capability cards (statistics band) ---------- */
.cap-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    background-color: var(--primary-color);
    padding: 1.6rem 1.5rem;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cap-card::after {
    content: "";
    position: absolute;
    right: -3.5rem;
    bottom: -4.5rem;
    width: 11rem;
    height: 11rem;
    border-radius: 9999px;
    background-image: radial-gradient(circle, rgba(10, 163, 155, 0.38), rgba(10, 163, 155, 0) 70%);
    pointer-events: none;
}

.cap-card > i {
    position: relative;
    z-index: 1;
    font-size: 1.9rem;
    color: var(--teal-color);
}

.cap-label {
    position: relative;
    z-index: 1;
    margin-top: 1.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.cap-value {
    position: relative;
    z-index: 1;
    margin-top: 0.35rem;
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--accent-color);
}

.cap-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Keep the one-by-one entrance reveal, but no scaling highlight loop on the cards */
.stats-item.is-cycle {
    animation: none;
}

/* ---------- Notices bar (top of the public pages) ---------- */
.upd-ticker-item {
    color: #ffffff;
}

.upd-ticker-item:hover,
.upd-ticker-item:focus-visible {
    color: var(--accent-color);
}

.upd-ticker-item i {
    color: var(--accent-color);
}

.upd-ticker-item.is-focused {
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 2px var(--accent-color);
}