/* ============================================================
   XAFIISKA BIYAHA DDS — SRS WATER BUREAU
   ============================================================
   style.css
   Base foundation + desktop/tablet layout.
   Matches the live PHP templates (home.php, header/footer
   includes) and the behaviours in main.js (#navToggle,
   #primaryNav, #navOverlay, .proj-filters, .proj-card).
   mobile.css loads after this file and only applies at
   max-width: 760px.
   ------------------------------------------------------------
   Contents:
   01  Design tokens
   02  Reset / global
   03  Accessibility
   04  Container
   05  Top government bar
   06  Header + brand
   07  Mobile nav toggle + overlay
   08  Primary navigation
   09  Section system
   10  Buttons
   11  Official notice
   12  Hero
   13  Cards grid (quick access)
   14  Stats grid (bureau at a glance)
   15  Two-column / directory panel
   16  Content grid (projects / news)
   17  Statistics table
   18  Empty state
   19  Announcement list
   20  Tender list
   21  Publication grid
   22  Contact CTA
   23  Footer
   24  Projects listing (filters + proj-card, used on /projects)
   25  Responsive — tablet
   ============================================================ */


/* ============================================================
   01 — DESIGN TOKENS
============================================================ */

:root {

    /* Institutional palette */
    --navy-950: #071a2d;
    --navy-900: #0b2944;
    --navy-850: #0e3556;
    --navy-800: #12466d;
    --navy-700: #17618d;

    --blue-600: #0878ad;
    --blue-500: #1591c5;
    --blue-light: #eaf4f9;

    --teal-700: #0b625f;
    --teal-600: #0f7772;
    --teal-light: #eaf6f4;

    --gold-700: #9b7020;
    --gold-600: #b98528;
    --gold-500: #d2a34b;
    --gold-300: #e7c77f;
    --gold-light: #fdf6e6;

    /* Neutral palette */
    --white: #ffffff;
    --paper: #fbfcfd;
    --surface: #f4f7f9;
    --surface-2: #eef3f6;
    --surface-dark: #e4ebef;

    --ink: #10202d;
    --ink-2: #294052;
    --muted: #5b6e7d;
    --muted-2: #81919e;

    --line: #d9e1e7;
    --line-dark: #c7d2da;

    --success: #1c6847;
    --success-bg: #e3f1eb;
    --danger: #8a2b2b;
    --danger-bg: #f2e4e4;
    --warn: #80661c;
    --warn-bg: #f2eee2;

    /* Typography */
    --serif: "Source Serif 4", Georgia, serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Layout */
    --container: 1180px;

    /* Radius scale */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    /* Depth */
    --shadow-sm: 0 1px 2px rgba(7,26,45,.04), 0 6px 16px rgba(7,26,45,.05);
    --shadow-md: 0 4px 10px rgba(7,26,45,.06), 0 18px 40px rgba(7,26,45,.09);
    --shadow-lg: 0 10px 24px rgba(7,26,45,.10), 0 30px 60px rgba(7,26,45,.14);

    --motion: .25s cubic-bezier(.2,.7,.2,1);
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --motion: .01ms;
    }
}


/* ============================================================
   02 — RESET / GLOBAL
============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 112px;
}

body {
    margin: 0;
    padding-top: env(safe-area-inset-top, 0);
    padding-bottom: env(safe-area-inset-bottom, 0);

    font-family: var(--sans);
    color: var(--ink);

    background:
        radial-gradient(1100px 560px at 12% -8%, rgba(8,120,173,.06), transparent 60%),
        radial-gradient(900px 480px at 100% 0%, rgba(185,133,40,.05), transparent 55%),
        radial-gradient(700px 420px at 50% 100%, rgba(15,119,114,.035), transparent 60%),
        var(--paper);

    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    letter-spacing: .002em;
}

body, button, input, textarea, select {
    font-family: var(--sans);
}

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

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

button {
    font: inherit;
    cursor: pointer;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

h1, h2, h3, h4 {
    text-wrap: balance;
    font-family: var(--serif);
    color: var(--navy-900);
    margin: 0;
}

::selection {
    background: rgba(210,163,75,.24);
    color: var(--navy-950);
}


/* ============================================================
   03 — ACCESSIBILITY
============================================================ */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--gold-500);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* ============================================================
   04 — CONTAINER
============================================================ */

.wrap {
    width: min(100% - 48px, var(--container));
    margin-inline: auto;
}


/* ============================================================
   05 — TOP GOVERNMENT BAR
============================================================ */

.topbar {
    background: var(--navy-950);
    color: #cbd9e3;
    font-size: 12px;
}

.topbar .wrap {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar .lang {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar .lang a {
    color: #aebfcb;
    transition: color var(--motion);
}

.topbar .lang a:hover,
.topbar .lang a.active {
    color: var(--white);
}


/* ============================================================
   06 — HEADER + BRAND
============================================================ */

header.site {
    position: sticky;
    top: 0;
    z-index: 250;

    /*
     * No backdrop-filter/transform/filter here on purpose: any of
     * those on this element creates a new containing block, which
     * silently breaks `position: fixed` on any descendant (e.g. the
     * mobile nav drawer, if it's nested inside <header>) — the fixed
     * element stops covering the viewport and instead gets boxed into
     * this header's small area, letting page content show through.
     */
    background: linear-gradient(180deg, rgba(11,41,68,.98), rgba(11,41,68,.95));
    color: var(--white);

    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 4px 20px rgba(3,19,32,.10);
    padding-top: env(safe-area-inset-top, 0);
}

.header-row {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
}

.crest-link {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    display: block;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.85);
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

.crest-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brandtext {
    min-width: 0;
}

.brandtext .en {
    color: var(--white);
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.015em;
}

.brandtext .so {
    margin-top: 3px;
    color: #b9ccda;
    font-size: 12px;
}

.brandtext .region {
    margin-top: 2px;
    color: var(--gold-300);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}


/* ============================================================
   07 — MOBILE NAV TOGGLE + OVERLAY
   (desktop: hidden; mobile.css switches this on)
============================================================ */

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--radius-xs);
    background: rgba(255,255,255,.05);
}

.nav-toggle span {
    width: 19px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--motion), opacity var(--motion);
}

.nav-overlay {
    display: none;
}


/* ============================================================
   08 — PRIMARY NAVIGATION
============================================================ */

nav.primary {
    background: var(--navy-850);
    border-top: 1px solid rgba(255,255,255,.07);
}

nav.primary .wrap {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

nav.primary a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 15px;
    color: #d8e5ed;
    font-size: 13.5px;
    font-weight: 600;
    transition: color var(--motion), background var(--motion);
}

nav.primary a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-600), var(--gold-300));
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: transform var(--motion);
}

nav.primary a:hover {
    color: var(--white);
    background: rgba(255,255,255,.045);
}

nav.primary a:hover::after,
nav.primary a.active::after {
    transform: scaleX(1);
}

nav.primary a.active {
    color: var(--white);
}

.search-toggle {
    margin-left: auto;
}


/* ============================================================
   09 — SECTION SYSTEM
============================================================ */

.section {
    padding: 76px 0;
}

.section-muted {
    background:
        linear-gradient(180deg, var(--blue-light) 0%, var(--surface) 100%);
}

.section-primary {
    background:
        linear-gradient(120deg, var(--navy-950), var(--navy-850));
    color: var(--white);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

.section-heading > div:first-child {
    max-width: 620px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: var(--blue-600);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--gold-500);
}

.section-primary .section-kicker {
    color: var(--gold-300);
}

.section-heading h2 {
    position: relative;
    padding-bottom: 16px;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.025em;
}

.section-heading h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-600), var(--gold-300));
    border-radius: 3px;
}

.section-heading p {
    max-width: 460px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.section-heading strong {
    color: var(--navy-900);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-600);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition: color var(--motion), gap var(--motion);
}

.text-link:hover {
    color: var(--teal-600);
    gap: 12px;
}

.text-link i {
    transition: transform var(--motion);
}

.text-link:hover i {
    transform: translateX(3px);
}


/* ============================================================
   10 — BUTTONS
============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-size: 13.5px;
    font-weight: 700;
    transition: transform var(--motion), background var(--motion),
        border-color var(--motion), box-shadow var(--motion), color var(--motion);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    color: var(--white);
    box-shadow: 0 10px 24px rgba(8,120,173,.28);
}

.btn-primary:hover {
    box-shadow: 0 16px 32px rgba(8,120,173,.34);
}

.btn-outline-primary {
    border-color: rgba(255,255,255,.4);
    background: rgba(255,255,255,.06);
    color: var(--white);
}

.btn-outline-primary:hover {
    background: rgba(255,255,255,.14);
}

.btn-light {
    background: var(--white);
    color: var(--navy-900);
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.btn-light:hover {
    background: var(--gold-light);
}

.btn-sm {
    min-height: 38px;
    padding: 0 16px;
    font-size: 12px;
}


/* ============================================================
   11 — OFFICIAL NOTICE
============================================================ */

.official-notice {
    background: var(--navy-950);
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.official-notice-inner {
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 0;
}

.official-notice-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    color: var(--white);
    font-size: 16px;
}

.official-notice strong {
    display: block;
    color: var(--gold-300);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.official-notice p {
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    line-height: 1.5;
}


/* ============================================================
   12 — HERO
============================================================ */

.hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 76px;
    color: var(--white);
    border-bottom: 4px solid var(--gold-600);

    background-image:
        linear-gradient(120deg, rgba(7,26,45,.95), rgba(7,26,45,.80) 55%, rgba(7,26,45,.55)),
        var(--hero-image, none);
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 450px at 90% -10%, rgba(30,129,174,.28), transparent 65%);
    pointer-events: none;
}

.hero .wrap {
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr .85fr;
    gap: 54px;
    align-items: end;
}

.hero-content .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding-left: 12px;
    border-left: 2px solid var(--gold-500);
    color: var(--gold-300);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 720px;
    margin: 0 0 18px;
    color: var(--white);
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -.03em;
}

.hero-content p.lead {
    max-width: 640px;
    margin: 0 0 28px;
    color: #c3d5e0;
    font-size: 16px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-panel {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.1);
    color: var(--gold-300);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hero-panel-body {
    padding: 6px 20px 10px;
}

.hero-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.hero-stat:last-child {
    border-bottom: 0;
}

.hero-stat strong {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 600;
    background: linear-gradient(135deg, #ffffff, var(--gold-300));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat span {
    color: #aec3d2;
    font-size: 12.5px;
    font-weight: 600;
}


/* ============================================================
   13 — CARDS GRID (quick access / info cards)
============================================================ */

.cards-grid {
    display: grid;
    gap: 16px;
}

.cards-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.info-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px;
    background: linear-gradient(165deg, #ffffff, var(--blue-light) 180%);
    border: 1px solid var(--line);
    border-top: 3px solid var(--blue-600);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--motion), box-shadow var(--motion), border-color var(--motion);
}

.cards-grid-4 .info-card:nth-child(2n) {
    border-top-color: var(--gold-600);
}

.cards-grid-4 .info-card:nth-child(3n) {
    border-top-color: var(--teal-600);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.info-card-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    color: var(--white);
    font-size: 19px;
    box-shadow: 0 8px 18px rgba(8,120,173,.26);
}

.info-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
}

.info-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.card-arrow {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--surface);
    color: var(--blue-600);
    font-size: 13px;
    opacity: 0;
    transform: translate(-4px, 4px);
    transition: opacity var(--motion), transform var(--motion), background var(--motion);
}

.info-card:hover .card-arrow {
    opacity: 1;
    transform: translate(0, 0);
    background: var(--blue-600);
    color: var(--white);
}


/* ============================================================
   14 — STATS GRID (bureau at a glance)
============================================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    padding: 26px;
    background: linear-gradient(165deg, #ffffff, var(--gold-light) 190%);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--motion), box-shadow var(--motion);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
    color: var(--gold-300);
    font-size: 16px;
}

.stat-value {
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--navy-900);
    background: linear-gradient(135deg, var(--navy-900) 10%, var(--blue-600) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-2);
    margin-bottom: 8px;
}

.stat-note {
    padding-top: 10px;
    border-top: 1px solid var(--line);
    color: var(--muted-2);
    font-size: 11px;
    line-height: 1.5;
}


/* ============================================================
   15 — TWO-COLUMN / DIRECTORY PANEL (about section)
============================================================ */

.two-column {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: start;
}

.two-column > div:first-child h2 {
    max-width: 560px;
    margin: 10px 0 20px;
    font-size: clamp(30px, 3.6vw, 42px);
    line-height: 1.12;
}

.two-column > div:first-child p {
    max-width: 560px;
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

.directory-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--white);
}

.directory-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 22px;
    background: linear-gradient(120deg, var(--navy-950), var(--navy-850));
    color: var(--white);
}

.directory-header h3 {
    color: var(--white);
    font-size: 16px;
}

.directory-header i {
    font-size: 18px;
    color: var(--gold-300);
}

.directory-list {
    padding: 6px 0;
}

.directory-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    border-bottom: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 13.5px;
    font-weight: 600;
    transition: background var(--motion), padding-left var(--motion);
}

.directory-item:last-child {
    border-bottom: 0;
}

.directory-item:hover {
    background: var(--surface);
    padding-left: 26px;
}

.directory-item i {
    color: var(--gold-600);
    font-size: 12px;
}

.directory-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    background: var(--surface);
    border-top: 1px solid var(--line);
    color: var(--blue-600);
    font-size: 12.5px;
    font-weight: 800;
}


/* ============================================================
   16 — CONTENT GRID (projects / news / project status cards)
============================================================ */

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

.project-content-grid {
    margin-top: 40px;
}

.content-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--motion), box-shadow var(--motion);
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.content-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(145deg, var(--navy-800), var(--navy-950));
}

.content-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-card-body {
    padding: 20px 22px 22px;
}

.content-card-meta {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--teal-600);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.content-card-body h3 {
    margin: 0 0 9px;
    font-size: 17px;
    line-height: 1.35;
}

.content-card-body h3 a:hover {
    color: var(--blue-600);
}

.content-card-body p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.7;
}

.content-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted-2);
    font-size: 11.5px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--blue-600);
    font-size: 12px;
    font-weight: 800;
}

.card-link:hover {
    color: var(--teal-600);
}

/* Project status cards reuse .cards-grid-4 with these */

.project-status-card {
    position: relative;
    padding: 26px;
    background: linear-gradient(165deg, #ffffff, var(--teal-light) 190%);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--motion), box-shadow var(--motion);
}

.project-status-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.project-status-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
    color: var(--white);
    font-size: 18px;
}

.project-status-count {
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 600;
    color: var(--navy-900);
}

.project-status-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.project-status-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}


/* ============================================================
   17 — STATISTICS TABLE
============================================================ */

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-bottom: 40px;
}

.statistics-card {
    padding: 20px 18px;
    background: linear-gradient(165deg, #ffffff, var(--blue-light) 190%);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.statistics-value {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    color: var(--navy-900);
    background: linear-gradient(135deg, var(--navy-900) 10%, var(--blue-600) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.statistics-label {
    margin-top: 6px;
    color: var(--ink-2);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.4;
}

.statistics-unit {
    margin-top: 6px;
    color: var(--muted-2);
    font-size: 10px;
}

.table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.data-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: var(--white);
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.data-table th {
    background: linear-gradient(120deg, var(--navy-950), var(--navy-850));
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.data-table tr:last-child td {
    border-bottom: 0;
}

.data-table tbody tr:hover {
    background: var(--surface);
}


/* ============================================================
   18 — EMPTY STATE
============================================================ */

.empty-state {
    padding: 56px 30px;
    text-align: center;
    background: var(--white);
    border: 1px dashed var(--line-dark);
    border-radius: var(--radius-md);
}

.empty-state i {
    font-size: 30px;
    color: var(--blue-600);
}

.empty-state h3 {
    margin: 16px 0 8px;
    font-size: 17px;
}

.empty-state p {
    max-width: 420px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.7;
}


/* ============================================================
   19 — ANNOUNCEMENT LIST
============================================================ */

.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.announcement-item {
    display: grid;
    grid-template-columns: 46px 1fr 40px;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: linear-gradient(100deg, var(--gold-light), #ffffff 55%);
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold-600);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--motion), transform var(--motion);
}

.announcement-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.announcement-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
    color: var(--white);
    font-size: 17px;
}

.announcement-content h3 {
    margin: 4px 0 6px;
    font-size: 15px;
    line-height: 1.4;
}

.announcement-content p {
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.6;
}

.announcement-arrow {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--surface);
    color: var(--gold-700);
    transition: background var(--motion), color var(--motion);
}

.announcement-item:hover .announcement-arrow {
    background: var(--gold-600);
    color: var(--white);
}


/* ============================================================
   20 — TENDER LIST
============================================================ */

.tender-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tender-item {
    display: grid;
    grid-template-columns: 48px 1fr auto auto;
    align-items: center;
    gap: 20px;
    padding: 20px 22px;
    background: linear-gradient(165deg, #ffffff, var(--teal-light) 190%);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--motion);
}

.tender-item:hover {
    box-shadow: var(--shadow-md);
}

.tender-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
    color: var(--white);
    font-size: 19px;
}

.tender-main h3 {
    margin: 4px 0 6px;
    font-size: 15.5px;
    line-height: 1.35;
}

.tender-main p {
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.6;
}

.tender-deadline {
    text-align: right;
    padding-left: 20px;
    border-left: 1px solid var(--line);
}

.tender-deadline span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted-2);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.tender-deadline strong {
    color: var(--navy-900);
    font-size: 13px;
}


/* ============================================================
   21 — PUBLICATION GRID
============================================================ */

.publication-grid {
    grid-template-columns: repeat(3, 1fr);
}

.publication-card {
    display: flex;
    gap: 16px;
    padding: 22px;
    background: linear-gradient(165deg, #ffffff, var(--blue-light) 190%);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--motion), box-shadow var(--motion);
}

.publication-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.publication-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    color: var(--white);
    font-size: 18px;
}

.publication-card h3 {
    margin: 6px 0 8px;
    font-size: 15px;
    line-height: 1.35;
}

.publication-card p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.6;
}


/* ============================================================
   22 — CONTACT CTA
============================================================ */

.section-primary {
    position: relative;
    overflow: hidden;
}

.section-primary::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -160px;
    top: -220px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
}

.contact-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.contact-cta h2 {
    color: var(--white);
    max-width: 560px;
    margin: 10px 0 14px;
    font-size: clamp(28px, 3.4vw, 38px);
}

.contact-cta p {
    max-width: 520px;
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 14.5px;
    line-height: 1.75;
}

.contact-actions {
    flex: 0 0 auto;
}


/* ============================================================
   23 — FOOTER
============================================================ */

footer.site-footer {
    padding: 56px 0 24px;
    background: var(--navy-950);
    color: #a9bfce;
    font-size: 13px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}

footer.site-footer h5 {
    margin: 0 0 14px;
    color: var(--white);
    font-family: var(--serif);
    font-size: 15px;
}

footer.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

footer.site-footer li {
    margin-bottom: 9px;
}

footer.site-footer a {
    transition: color var(--motion);
}

footer.site-footer a:hover {
    color: var(--gold-300);
}

.foot-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.09);
    color: #7894a6;
    font-size: 11.5px;
}


/* ============================================================
   24 — PROJECTS LISTING (filters + proj-card, /projects page)
============================================================ */

.proj-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

.proj-filters span {
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--motion), color var(--motion), border-color var(--motion);
}

.proj-filters span:hover {
    border-color: var(--blue-600);
    color: var(--blue-600);
}

.proj-filters span.active {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-950));
    border-color: var(--navy-950);
    color: var(--white);
}

.proj-card {
    margin-bottom: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--motion);
}

.proj-card:hover {
    box-shadow: var(--shadow-md);
}


/* ============================================================
   25 — RESPONSIVE — TABLET
============================================================ */

@media (max-width: 1080px) {

    .cards-grid-4,
    .content-grid,
    .stats-grid,
    .publication-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .statistics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {

    .hero-grid,
    .two-column,
    .contact-cta {
        grid-template-columns: 1fr;
        display: grid;
    }

    .contact-cta {
        text-align: left;
    }

    .foot-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}