/* ============================================================
   AMCOR PORTAL — PUBLIC SITE STYLES
   Mobile-first, Responsive, Professional
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy: #0b2545;
    --blue: #13315c;
    --accent: #00a8b5;
    --accent-dark: #007b85;
    --accent-light: #e6f7f9;
    --grey-50: #f8fafc;
    --grey-100: #f1f5f9;
    --grey-200: #e2e8f0;
    --grey-300: #cbd5e1;
    --grey-500: #64748b;
    --grey-700: #334155;
    --grey-900: #0f172a;
    --white: #ffffff;
    --green: #059669;
    --red: #dc2626;
    --amber: #d97706;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.06);
    --shadow: 0 8px 24px rgba(11, 37, 69, 0.08);
    --shadow-lg: 0 20px 50px rgba(11, 37, 69, 0.12);
    --max-w: 1240px;
    --header-h: 72px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--grey-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-bottom: 0;
}

img, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5 {
    color: var(--navy);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(1.75rem, 6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 3vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    transition: all .25s ease;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    min-height: 46px;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 6px 20px rgba(0, 168, 181, 0.25);
}
.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 168, 181, 0.35);
    color: #fff;
}
.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--grey-200);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }
.btn-danger { background: var(--red); color: #fff; border-color: var(--red); }
.btn-danger:hover { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.btn-success { background: var(--green); color: #fff; border-color: var(--green); }
.btn-success:hover { background: #047857; border-color: #047857; color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; min-height: 38px; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; min-height: 54px; }
.btn-block { width: 100%; }

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--navy);
    font-size: 1.1rem;
    transition: all .2s;
    background: transparent;
}
.icon-btn:hover { background: var(--grey-100); color: var(--accent); }

/* ============ TOP BAR ============ */
.topbar {
    background: var(--navy);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 10px 0;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar a {
    color: rgba(255,255,255,0.85);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.topbar a:hover { color: var(--accent); }
.topbar i { font-size: 0.85rem; }
.topbar-right a {
    width: 32px;
    height: 32px;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.topbar-right a:hover { background: var(--accent); color: #fff; }

/* ============ HEADER ============ */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--grey-200);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 24px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 40px; width: auto; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
    display: block;
    padding: 10px 16px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--grey-700);
    border-radius: 8px;
    position: relative;
    transition: all .2s;
}
.main-nav a:hover { color: var(--accent); background: var(--grey-50); }
.main-nav a.active { color: var(--accent); font-weight: 600; }
.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.mobile-only { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* ============ FLASH ============ */
.flash-wrap { margin-top: 20px; }
.flash {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 0.92rem;
    border-left: 4px solid;
    animation: slideDown .35s ease;
    position: relative;
}
.flash-success { background: #ecfdf5; color: #065f46; border-color: var(--green); }
.flash-error   { background: #fef2f2; color: #991b1b; border-color: var(--red); }
.flash-warning { background: #fffbeb; color: #92400e; border-color: var(--amber); }
.flash-info    { background: #eff6ff; color: #1e40af; border-color: #2563eb; }
.flash i { font-size: 1.1rem; }
.flash span { flex: 1; }
.flash-close {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 1.2rem;
    line-height: 1;
    color: inherit;
    opacity: .6;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flash-close:hover { opacity: 1; }
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ HERO ============ */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0b2545 0%, #13315c 55%, #1e4d7b 100%);
    color: #fff;
    padding: 80px 0 90px;
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 85% 20%, rgba(0, 168, 181, 0.25), transparent 45%),
        radial-gradient(circle at 15% 90%, rgba(0, 168, 181, 0.12), transparent 40%);
    z-index: -1;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
}
.hero-content { max-width: 820px; position: relative; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 168, 181, 0.15);
    border: 1px solid rgba(0, 168, 181, 0.35);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 22px;
}
.hero-badge i { font-size: 0.75rem; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .accent { color: var(--accent); }
.hero-lead {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    max-width: 620px;
    margin-bottom: 32px;
    line-height: 1.65;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ STATS ============ */
.stats-bar {
    background: #fff;
    margin-top: -50px;
    position: relative;
    z-index: 5;
    padding-bottom: 40px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px 16px;
    border: 1px solid var(--grey-100);
}
.stat {
    text-align: center;
    padding: 16px 12px;
    border-right: 1px solid var(--grey-200);
    border-bottom: 1px solid var(--grey-200);
}
.stat:nth-child(2n) { border-right: none; }
.stat:nth-last-child(-n+2) { border-bottom: none; }
.stat-num {
    font-size: clamp(1.5rem, 5vw, 2.4rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}
.stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--grey-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============ SECTIONS ============ */
.section { padding: 70px 0; }
.section-sm { padding: 50px 0; }
.section-tinted { background: var(--grey-50); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.8); }
.section-head { margin-bottom: 44px; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-lead {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--grey-500);
    line-height: 1.7;
}
.section-dark .section-lead { color: rgba(255,255,255,0.75); }
.flex-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: none;
    gap: 24px;
    flex-wrap: wrap;
}

/* ============ CARDS ============ */
.cards-2 { display: grid; gap: 24px; grid-template-columns: 1fr; }
.cards-3 { display: grid; gap: 20px; grid-template-columns: 1fr; }

.card {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}
.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 22px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--grey-500); font-size: 0.95rem; }
.card-lg { padding: 36px 32px; }
.card-lg h3 { font-size: 1.35rem; }

/* ============ JOB CARD ============ */
.job-card {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    transition: all .3s;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}
.job-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.job-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}
.job-card-head > div:first-child { flex: 1; min-width: 0; }
.job-title {
    font-size: 1.15rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}
.job-code {
    font-size: 0.76rem;
    color: var(--grey-500);
    font-weight: 500;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}
.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 0.85rem;
    color: var(--grey-500);
}
.job-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.job-meta-item i { color: var(--accent); }
.job-salary {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 4px;
}
.job-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--accent-light);
    color: var(--accent-dark);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.job-tag.featured { background: #fef3c7; color: #92400e; }
.job-tag.country { background: #eef2ff; color: #3730a3; }
.job-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--grey-100);
    gap: 12px;
    flex-wrap: wrap;
}

/* ============ VACANCY BAR ⭐ ============ */
.vacancy-wrap {
    margin-top: 8px;
    padding: 12px 14px;
    background: var(--grey-50);
    border-radius: 10px;
    border: 1px solid var(--grey-200);
}
.vacancy-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 6px;
}
.vacancy-info span:first-child { color: var(--grey-700); }
.vacancy-info span:last-child { color: var(--accent-dark); }
.vacancy-bar {
    width: 100%;
    height: 8px;
    background: var(--grey-200);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}
.vacancy-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    border-radius: 50px;
    transition: width .6s ease;
}
.vacancy-bar-fill.warning {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}
.vacancy-bar-fill.full {
    background: linear-gradient(90deg, #dc2626, #b91c1c);
}
.vacancy-detail {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.72rem;
    color: var(--grey-500);
    flex-wrap: wrap;
    gap: 6px;
}
.vacancy-detail strong { color: var(--navy); }
.vacancy-detail .remaining { color: var(--green); font-weight: 700; }
.vacancy-detail .filled { color: var(--amber); font-weight: 700; }
.vacancy-detail .total { color: var(--navy); font-weight: 700; }

/* ============ NOTICE CARD ============ */
.notice-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    transition: all .25s;
}
.notice-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.notice-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-light);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.notice-body { flex: 1; min-width: 0; }
.notice-title {
    font-size: 1rem;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
}
.notice-meta {
    font-size: 0.78rem;
    color: var(--grey-500);
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.notice-priority {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.notice-priority.urgent { background: #fee2e2; color: #991b1b; }
.notice-priority.high { background: #fed7aa; color: #9a3412; }
.notice-priority.normal { background: #dbeafe; color: #1e40af; }
.notice-priority.low { background: #f3f4f6; color: #4b5563; }

/* ============ FORMS ============ */
.form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    border: 1px solid var(--grey-200);
    box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}
.form-label .req { color: var(--red); margin-left: 3px; }
.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 0.95rem;
    color: var(--grey-900);
    transition: all .2s;
    outline: none;
    min-height: 48px;
}
.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 168, 181, 0.12);
}
.form-control::placeholder { color: var(--grey-300); }
textarea.form-control { min-height: 110px; resize: vertical; }
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 10px;
    padding-right: 42px;
}
.form-hint { font-size: 0.78rem; color: var(--grey-500); margin-top: 6px; }
.form-error { font-size: 0.82rem; color: var(--red); margin-top: 6px; }

/* File upload */
.file-upload {
    border: 2px dashed var(--grey-300);
    border-radius: var(--radius);
    padding: 22px;
    text-align: center;
    transition: all .2s;
    cursor: pointer;
    background: var(--grey-50);
}
.file-upload:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}
.file-upload input[type=file] { display: none; }
.file-upload-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 8px;
}
.file-upload-text { font-size: 0.88rem; color: var(--grey-700); font-weight: 500; }
.file-upload-hint { font-size: 0.75rem; color: var(--grey-500); margin-top: 4px; }
.file-name {
    display: none;
    margin-top: 10px;
    font-size: 0.82rem;
    color: var(--accent-dark);
    font-weight: 600;
    word-break: break-all;
}
.file-name.show { display: block; }

/* ============ STAGE TRACKER ============ */
.tracker {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}
.tracker-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    position: relative;
    transition: all .25s;
}
.tracker-item + .tracker-item { margin-top: 14px; }
.tracker-item.completed {
    border-color: var(--green);
    background: #ecfdf5;
}
.tracker-item.in_progress {
    border-color: var(--accent);
    background: var(--accent-light);
    box-shadow: 0 0 0 3px rgba(0, 168, 181, 0.1);
}
.tracker-item.waiting {
    opacity: .65;
}
.tracker-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--grey-200);
    color: var(--grey-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.tracker-item.completed .tracker-num {
    background: var(--green);
    color: #fff;
}
.tracker-item.in_progress .tracker-num {
    background: var(--accent);
    color: #fff;
    animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 168, 181, 0.6); }
    50% { box-shadow: 0 0 0 8px rgba(0, 168, 181, 0); }
}
.tracker-body { flex: 1; min-width: 0; }
.tracker-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.tracker-desc { font-size: 0.88rem; color: var(--grey-500); margin-bottom: 10px; }
.tracker-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: var(--grey-500);
}
.tracker-meta i { color: var(--accent); margin-right: 4px; }
.tracker-note {
    margin-top: 12px;
    padding: 10px 14px;
    background: #fffbeb;
    border-left: 3px solid var(--amber);
    border-radius: 6px;
    font-size: 0.85rem;
    color: #92400e;
}
.tracker-docs {
    margin-top: 12px;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--grey-200);
}
.tracker-docs h5 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tracker-docs ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--grey-100);
    font-size: 0.85rem;
    gap: 8px;
}
.tracker-docs ul li:last-child { border-bottom: none; }
.tracker-docs a {
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* ============ DASHBOARD ============ */
.dash-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.dash-stat {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.dash-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--accent-light);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.dash-stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}
.dash-stat-label { font-size: 0.82rem; color: var(--grey-500); margin-top: 4px; }

/* ============ BADGES ============ */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============ PAGE HEADER ============ */
.page-header {
    background: linear-gradient(135deg, #0b2545 0%, #13315c 100%);
    color: #fff;
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 85% 50%, rgba(0, 168, 181, 0.2), transparent 40%);
}
.page-header-content { position: relative; z-index: 2; max-width: 720px; }
.page-header h1 { color: #fff; margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin: 0; }
.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--accent); }

/* ============ CTA ============ */
.cta-section {
    background: linear-gradient(135deg, #00a8b5 0%, #007b85 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    border-radius: 0;
}
.cta-section h2 { color: #fff; margin-bottom: 14px; }
.cta-section p {
    color: rgba(255,255,255,0.9);
    max-width: 620px;
    margin: 0 auto 28px;
    font-size: 1.05rem;
}
.cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-section .btn-primary {
    background: #fff;
    color: var(--accent-dark);
    border-color: #fff;
}
.cta-section .btn-primary:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

/* ============ PAGINATION ============ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--grey-200);
    color: var(--grey-700);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all .2s;
}
.page-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.page-link.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: var(--grey-500);
}

/* ============ EMPTY STATE ============ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--grey-50);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--grey-200);
}
.empty-state i {
    font-size: 3rem;
    color: var(--grey-300);
    margin-bottom: 16px;
}
.empty-state h3 { color: var(--grey-700); margin-bottom: 8px; }
.empty-state p { color: var(--grey-500); font-size: 0.95rem; }

/* ============ FOOTER ============ */
.site-footer {
    background: #071a2f;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
    font-size: 0.9rem;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 48px;
}
.footer-logo {
    height: 36px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}
.footer-desc {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 700;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a { transition: color .2s; color: rgba(255,255,255,0.7); }
.footer-col ul a:hover { color: var(--accent); }
.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.7);
}
.footer-contact i {
    color: var(--accent);
    width: 16px;
    margin-top: 4px;
    flex-shrink: 0;
}
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all .25s;
}
.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: var(--accent); }

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 168, 181, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s;
    z-index: 998;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover { background: var(--accent-dark); }

/* ============ UTILITIES ============ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.text-muted { color: var(--grey-500); }
.text-accent { color: var(--accent); }
.text-navy { color: var(--navy); }
.hide-sm { display: none; }
.hide-xs { display: none; }

/* ============ RESPONSIVE ============ */
@media (min-width: 480px) {
    .hide-xs { display: inline-flex; }
}

@media (min-width: 640px) {
    .form-row { grid-template-columns: 1fr 1fr; }
    .cards-2 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
    .container { padding: 0 32px; }
    .hide-sm { display: inline-flex; }
    .cards-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .stat { border-right: 1px solid var(--grey-200); border-bottom: none; }
    .stat:nth-child(2n) { border-right: 1px solid var(--grey-200); }
    .stat:last-child { border-right: none; }
    .dash-grid { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 90px 0; }
    .hero { padding: 110px 0 120px; }
}

@media (min-width: 992px) {
    .cards-3 { grid-template-columns: repeat(3, 1fr); }
    .dash-grid { grid-template-columns: repeat(4, 1fr); }
    .main-nav a { padding: 10px 18px; }
}

/* ============ MOBILE MENU ============ */
@media (max-width: 991px) {
    .main-nav {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        padding: 20px 24px;
        z-index: 998;
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
    }
    .main-nav.open { display: block; animation: slideDown .3s ease; }
    .main-nav ul {
        flex-direction: column;
        gap: 4px;
        align-items: stretch;
    }
    .main-nav a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
        border-radius: 10px;
        font-size: 1rem;
        border-bottom: 1px solid var(--grey-100);
    }
    .main-nav a::after { display: none; }
    .main-nav a.active {
        background: var(--accent-light);
        color: var(--accent-dark);
    }
    .main-nav .nav-cta {
        background: var(--accent);
        color: #fff !important;
        justify-content: center;
        margin-top: 8px;
        border-bottom: none;
    }
    .main-nav .nav-cta:hover { background: var(--accent-dark); }
    .mobile-only { display: block; }
    .header-actions .btn-outline { display: none; }
    .menu-toggle { display: inline-flex; }
    .hide-sm { display: none; }
}

@media (max-width: 479px) {
    .container { padding: 0 16px; }
    .topbar-left a:nth-child(2) { display: none; }
    .hero { padding: 60px 0 70px; }
    .section { padding: 50px 0; }
    .page-header { padding: 40px 0 36px; }
    .btn { padding: 12px 22px; font-size: 0.9rem; }
    .btn-lg { padding: 14px 26px; font-size: 0.95rem; }
    .form-card { padding: 24px 18px; }
    .card-lg { padding: 28px 22px; }
}

@media print {
    .topbar, .site-header, .site-footer, .back-to-top, .main-nav, .btn, .no-print {
        display: none !important;
    }
    body { background: #fff; color: #000; font-size: 12pt; }
    .container { max-width: 100%; padding: 0; }
    .card { box-shadow: none; border: 1px solid #ccc; page-break-inside: avoid; }
    a { color: #000; text-decoration: underline; }
}