:root {
    --saffron: #f58220;
    --saffron-2: #ffb347;
    --saffron-dark: #b84f00;
    --maroon: #5d1a10;
    --ink: #202027;
    --muted: #6f6b67;
    --line: #ecd6bb;
    --surface: #fff8ef;
    --surface-2: #fffdf8;
    --white: #ffffff;
    --green: #1d7f51;
    --red: #b53c2e;
    --shadow: 0 18px 48px rgba(111, 55, 10, .12);
    --shadow-soft: 0 10px 28px rgba(111, 55, 10, .08);
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
    min-height: 100%;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(245, 130, 32, .12), rgba(255, 255, 255, 0) 34%),
        linear-gradient(180deg, #fff7eb 0%, #fffdf8 42%, #fff9f0 100%);
}

a { color: var(--saffron-dark); text-decoration: none; }
a:hover { color: var(--maroon); }

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background:
        linear-gradient(90deg, rgba(8, 39, 98, .98), rgba(245, 130, 32, .94), rgba(8, 39, 98, .98));
    border-bottom: 4px solid #ffeb28;
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 34px rgba(8, 39, 98, .18);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.official-header {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 104px;
    padding: 12px 20px;
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) 100px;
    align-items: center;
    gap: 18px;
}

.header-logo {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    border: 3px solid rgba(255, 235, 40, .85);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    overflow: hidden;
    padding: 8px;
}

.header-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.header-logo-left img {
    width: 100%;
    height: 100%;
}

.header-logo-right img {
    max-width: 58px;
    max-height: 72px;
}

.header-title {
    display: grid;
    justify-items: center;
    text-align: center;
    color: #fff;
}

.header-title:hover { color: #fff; }

.header-title span {
    color: #fff5d0;
    font-size: clamp(12px, 1.5vw, 17px);
    font-weight: 900;
    text-transform: uppercase;
}

.header-title strong {
    margin-top: 3px;
    color: #ffeb28;
    font-size: clamp(24px, 2vw, 48px);
    line-height: .95;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 4px 0 #061f59, 0 12px 30px rgba(0, 0, 0, .24);
}

.header-title em {
    margin-top: 7px;
    color: #fff;
    font-style: normal;
    font-size: clamp(13px, 2.2vw, 24px);
    font-weight: 900;
    text-transform: uppercase;
}

.nav-session .nav-links {
    justify-content: center;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: var(--maroon);
    font-size: 23px;
    letter-spacing: 0;
}

.brand::before {
    content: "PE";
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--saffron), var(--saffron-2));
    color: #fff;
    font-size: 13px;
    box-shadow: 0 10px 22px rgba(245, 130, 32, .26);
}

.pacee-landing {
    display: grid;
    gap: 18px;
}

.pacee-poster {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 4px solid #082762;
    background: #f58220;
    box-shadow: 0 24px 64px rgba(8, 39, 98, .22);
}

.pacee-poster img {
    display: block;
    width: 100%;
    height: auto;
}

.pacee-action-bar {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border-radius: 8px;
    background: rgba(5, 30, 76, .91);
    color: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}

.pacee-action-bar h1 {
    margin: 4px 0;
    color: #ffeb28;
    font-size: clamp(28px, 5vw, 58px);
    line-height: .95;
    text-transform: uppercase;
}

.pacee-action-bar p {
    margin: 0;
    max-width: 650px;
    color: #fff6d8;
    font-weight: 700;
}

.pacee-kicker {
    display: inline-block;
    color: #082762;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.pacee-action-bar .pacee-kicker { color: #fff; }

.pacee-primary {
    background: linear-gradient(135deg, #ffeb28, #f58220);
    color: #082762;
}

.pacee-primary:hover { color: #082762; }

.pacee-secondary {
    background: #fff;
    color: #082762;
    border: 1px solid rgba(255, 255, 255, .7);
    box-shadow: none;
}

.pacee-secondary:hover { color: #082762; background: #fff6d8; }

.pacee-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #bfd8ea;
    background: #eaf8ff;
    box-shadow: var(--shadow-soft);
}

.pacee-strip div {
    padding: 16px;
    border-right: 1px solid #bfd8ea;
    text-align: center;
}

.pacee-strip div:last-child { border-right: 0; }
.pacee-strip strong { display: block; color: #082762; text-transform: uppercase; }
.pacee-strip span { display: block; margin-top: 6px; color: #556070; font-size: 13px; }

.pacee-content {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 20px;
    margin: 24px 0;
}

.pacee-panel {
    border-radius: 8px;
    border: 1px solid #f3c06d;
    box-shadow: var(--shadow-soft);
    background: #fffdf8;
    overflow: hidden;
}

.initiative-panel {
    padding: 0 22px 22px;
}

.pacee-ribbon {
    display: inline-block;
    margin: 0 0 16px -22px;
    padding: 11px 28px;
    background: #c91f1f;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
}

.initiative-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.initiative-list li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid #ecd6bb;
    color: #082762;
    text-transform: uppercase;
}

.initiative-list li:last-child { border-bottom: 0; }

.initiative-list span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffeb28;
    color: #082762;
    border: 4px solid #082762;
    font-weight: 900;
}

.commitment-panel {
    padding: 26px;
    background:
        linear-gradient(135deg, rgba(8, 39, 98, .08), rgba(245, 130, 32, .1)),
        #fffdf8;
}

.commitment-panel h2 {
    margin: 8px 0 12px;
    color: #c91f1f;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1;
    text-transform: uppercase;
}

.commitment-panel p {
    color: #243047;
    font-size: 17px;
    line-height: 1.65;
}

.pacee-jobs {
    margin-top: 26px;
}

.pacee-home {
    display: grid;
    gap: 28px;
}

.pacee-modern-hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    border-radius: 8px;
    background-image:
        radial-gradient(circle at 78% 18%, rgba(255, 235, 40, .28), transparent 24%),
        linear-gradient(90deg, rgba(4, 25, 66, .97) 0%, rgba(4, 25, 66, .88) 37%, rgba(245, 130, 32, .42) 70%, rgba(245, 130, 32, .08) 100%),
        var(--hero-image);
    background-size: cover;
    background-position: center;
    border: 4px solid #082762;
    box-shadow: 0 30px 80px rgba(8, 39, 98, .28);
    isolation: isolate;
}

.pacee-modern-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 235, 40, .18), transparent 34%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 52px);
    transform: translateX(-18%);
    animation: paceeSweep 8s ease-in-out infinite alternate;
    z-index: -1;
}

.pacee-modern-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(0deg, rgba(4, 25, 66, .88), transparent);
    z-index: -1;
}

.pacee-hero-content {
    width: min(720px, 92%);
    padding: 74px 42px 160px;
    color: #fff;
    animation: paceeRise .8s ease both;
}

.pacee-eyebrow {
    display: inline-flex;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255, 235, 40, .14);
    border: 1px solid rgba(255, 235, 40, .45);
    color: #ffeb28;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.pacee-hero-content h1 {
    margin: 16px 0 0;
    font-size: clamp(68px, 14vw, 150px);
    line-height: .78;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 8px 0 #061f59, 0 18px 40px rgba(0, 0, 0, .38);
}

.pacee-hero-content h2 {
    margin: 20px 0 0;
    max-width: 660px;
    color: #ffeb28;
    font-size: clamp(25px, 4vw, 46px);
    line-height: 1;
    text-transform: uppercase;
}

.pacee-hero-content p {
    max-width: 600px;
    margin: 18px 0 0;
    color: #fff6d8;
    font-size: 19px;
    line-height: 1.6;
    font-weight: 700;
}

.pacee-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.pacee-quick-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.pacee-quick-points span {
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 235, 40, .38);
    color: #fff8d9;
    font-size: 13px;
    font-weight: 900;
}

.pacee-hero-card {
    position: absolute;
    right: 30px;
    top: 34px;
    width: min(320px, 32%);
    padding: 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 235, 40, .72);
    box-shadow: 0 20px 50px rgba(8, 39, 98, .24);
    animation: paceeRise .8s ease both .2s;
}

.pacee-hero-card strong,
.pacee-hero-card span {
    display: block;
}

.pacee-hero-card strong {
    color: #082762;
    font-size: 20px;
    text-transform: uppercase;
}

.pacee-hero-card span {
    margin-top: 7px;
    color: #4e5564;
    line-height: 1.45;
}

.pacee-hero-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 30px;
    background: rgba(4, 25, 66, .95);
    color: #fff;
    border-top: 4px solid #ffeb28;
}

.pacee-hero-footer strong {
    color: #fff;
    font-size: clamp(18px, 3vw, 34px);
    text-transform: uppercase;
}

.pacee-hero-footer span {
    color: #ffeb28;
    font-weight: 900;
    text-transform: uppercase;
}

.pacee-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: -42px 24px 30px;
    position: relative;
    z-index: 2;
}

.pacee-metric {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 211, 137, .95);
    box-shadow: 0 18px 40px rgba(8, 39, 98, .14);
    animation: paceeRise .8s ease both;
}

.pacee-metric::after {
    content: "";
    position: absolute;
    right: -32px;
    bottom: -46px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(245, 130, 32, .13);
}

.pacee-metric:nth-child(2) { animation-delay: .12s; }
.pacee-metric:nth-child(3) { animation-delay: .24s; }

.pacee-metric span {
    display: block;
    color: #c91f1f;
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.pacee-metric strong {
    display: block;
    margin-top: 8px;
    color: #082762;
    text-transform: uppercase;
}

.pacee-metric p {
    margin: 8px 0 0;
    color: var(--muted);
}

.pacee-slogan {
    margin: 22px 0;
    padding: 22px;
    border-radius: 8px;
    background: linear-gradient(90deg, #082762, #0b3d91 55%, #082762);
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.pacee-slogan::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 235, 40, .24), transparent);
    transform: translateX(-100%);
    animation: paceeSlide 4.5s ease-in-out infinite;
}

.pacee-slogan span,
.pacee-slogan strong {
    position: relative;
    z-index: 1;
}

.pacee-slogan span {
    display: block;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
}

.pacee-slogan strong {
    display: block;
    margin-top: 4px;
    color: #ffeb28;
    font-size: clamp(28px, 5vw, 56px);
    text-transform: uppercase;
}

.pacee-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 26px 0;
}

.pacee-feature {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    padding: 22px;
    border-radius: 8px;
    background: linear-gradient(180deg, #fffdf8, #fff1dd);
    border: 1px solid #f3c06d;
    box-shadow: var(--shadow-soft);
    transition: transform .22s ease, box-shadow .22s ease;
}

.pacee-feature::after {
    content: "";
    position: absolute;
    inset: auto -30px -42px auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(8, 39, 98, .09);
}

.pacee-feature:hover,
.pacee-hover-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 54px rgba(8, 39, 98, .16);
}

.pacee-feature span {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #082762;
    color: #ffeb28;
    font-weight: 900;
}

.pacee-feature h3 {
    margin: 18px 0 10px;
    color: #082762;
    text-transform: uppercase;
}

.pacee-feature p {
    margin: 0;
    color: #4e5564;
    line-height: 1.55;
}

.pacee-modern-section {
    margin-top: 34px;
}

.pacee-highlight-section {
    padding: 24px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(8, 39, 98, .06), rgba(245, 130, 32, .12)),
        rgba(255, 255, 255, .72);
    border: 1px solid #f3c06d;
    box-shadow: var(--shadow-soft);
}

.pacee-hover-card {
    transition: transform .22s ease, box-shadow .22s ease;
}

.pacee-company-mark {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, #082762, #0b3d91);
    color: #ffeb28;
    font-weight: 900;
    font-size: 20px;
    margin-bottom: 14px;
}

.pacee-process {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 22px;
    align-items: stretch;
    padding: 26px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fffdf8, #fff1dd);
    border: 1px solid #f3c06d;
    box-shadow: var(--shadow);
}

.pacee-process-copy h1 {
    margin: 14px 0 10px;
    color: #082762;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1;
}

.pacee-process-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pacee-process-steps div {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #f1dcc2;
}

.pacee-process-steps div::after {
    content: "";
    position: absolute;
    right: -26px;
    top: -26px;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(8, 39, 98, .08);
}

.pacee-process-steps span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #082762;
    color: #ffeb28;
    font-weight: 900;
}

.pacee-process-steps strong {
    display: block;
    margin-top: 14px;
    color: var(--maroon);
    text-transform: uppercase;
}

.pacee-process-steps p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.pacee-job-card,
.pacee-company-card {
    position: relative;
    overflow: hidden;
}

.pacee-job-card::before,
.pacee-company-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #082762, #f58220, #ffeb28);
}

.pacee-mini-label {
    color: #082762;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

@keyframes paceeRise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes paceeSweep {
    from { transform: translateX(-18%); opacity: .75; }
    to { transform: translateX(12%); opacity: 1; }
}

@keyframes paceeSlide {
    0% { transform: translateX(-100%); }
    45%, 100% { transform: translateX(100%); }
}

.brand span { color: var(--saffron-dark); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-links a {
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    padding: 9px 10px;
    border-radius: 6px;
}

.nav-links a:hover { background: rgba(255, 255, 255, .14); color: #ffeb28; }
.nav-links a.btn { color: #fff; padding-inline: 16px; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 56px;
}

.hero {
    min-height: 500px;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 34px;
    align-items: center;
    padding: 18px 0 34px;
}

.hero h1,
.page-heading h1 {
    margin: 0;
    color: var(--maroon);
    letter-spacing: 0;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: .98;
}

.hero p,
.lead {
    color: var(--muted);
    line-height: 1.65;
    font-size: 17px;
}

.hero p { max-width: 650px; margin: 18px 0 0; }

.hero-panel {
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 24px;
}

.hero-panel h2,
.card h2,
.card h3 { margin-top: 0; color: var(--maroon); }

.hero-panel h2 { margin-bottom: 16px; }

.page-heading,
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin: 8px 0 20px;
}

.page-heading {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, #fffdf8, #fff0dc);
    box-shadow: var(--shadow-soft);
}

.page-heading p,
.section-title p { margin: 6px 0 0; }

.section-title h1 { margin: 0; color: var(--maroon); }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 999px;
    background: #fff0dc;
    color: var(--saffron-dark);
    border: 1px solid #ffd4a4;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.btn,
button {
    border: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
    color: #fff;
    padding: 11px 16px;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    box-shadow: 0 10px 20px rgba(245, 130, 32, .22);
}

.btn:hover,
button:hover {
    color: #fff;
    transform: translateY(-1px);
}

.btn.secondary {
    background: #fff;
    color: var(--maroon);
    border: 1px solid var(--line);
    box-shadow: none;
}

.btn.secondary:hover { background: #fff5e8; color: var(--maroon); }
.btn.danger { background: var(--red); }
.btn.small,
button.small { min-height: 34px; padding: 8px 11px; font-size: 13px; box-shadow: none; }

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.auth-grid {
    min-height: 520px;
    align-items: center;
}

.auth-grid h1 {
    margin: 14px 0 0;
    color: var(--maroon);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
}

.card {
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    box-shadow: var(--shadow-soft);
}

.job-card {
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.job-card .actions { margin-top: auto; }

.mini-card {
    border: 1px solid #f1dcc2;
    border-radius: 8px;
    padding: 15px;
    background: #fffdf8;
}

.mini-card + .mini-card { margin-top: 12px; }

.meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
}

.muted { color: var(--muted); }

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.field.full { grid-column: 1 / -1; }

label {
    display: block;
    font-size: 13px;
    font-weight: 900;
    color: var(--maroon);
    margin-bottom: 7px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 11px 12px;
    font: inherit;
    background: var(--surface-2);
    color: var(--ink);
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--saffron);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(245, 130, 32, .13);
}

input::placeholder,
textarea::placeholder {
    color: #9a8d82;
}

textarea { min-height: 112px; resize: vertical; }

.alert {
    border-radius: 8px;
    padding: 13px 15px;
    margin-bottom: 16px;
    font-weight: 800;
    border: 1px solid transparent;
}

.alert.success { background: #eaf8ef; color: var(--green); border-color: #bfe7cf; }
.alert.error { background: #fff0ec; color: var(--red); border-color: #f5c9bd; }

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

table { width: 100%; border-collapse: collapse; min-width: 760px; }

th,
td {
    text-align: left;
    padding: 14px 15px;
    border-bottom: 1px solid #f0dec8;
    vertical-align: top;
}

th {
    background: #fff0dc;
    color: var(--maroon);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0;
}

tbody tr:hover { background: #fffaf3; }
tr:last-child td { border-bottom: 0; }

.pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff0dc;
    color: var(--saffron-dark);
    border: 1px solid #ffd4a4;
    font-weight: 900;
    font-size: 12px;
    text-transform: capitalize;
}

.pill.green { background: #eaf8ef; color: var(--green); border-color: #bfe7cf; }
.pill.red { background: #fff0ec; color: var(--red); border-color: #f5c9bd; }

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

.stat {
    position: relative;
    overflow: hidden;
}

.stat::after {
    content: "";
    position: absolute;
    width: 74px;
    height: 74px;
    right: -24px;
    top: -24px;
    border-radius: 50%;
    background: rgba(245, 130, 32, .14);
}

.stat strong {
    display: block;
    font-size: 34px;
    color: var(--maroon);
    line-height: 1;
}

.stat span { display: block; margin-top: 7px; color: var(--muted); font-weight: 800; }

.detail-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.detail-item {
    padding: 13px;
    border: 1px solid #f1dcc2;
    border-radius: 8px;
    background: #fffdf8;
}

.detail-item span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.detail-item strong { display: block; margin-top: 5px; color: var(--maroon); }

.empty-state {
    padding: 26px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: 8px;
    background: #fffdf8;
}

.footer {
    border-top: 1px solid var(--line);
    padding: 20px;
    text-align: center;
    color: var(--muted);
    background: rgba(255, 250, 244, .9);
}

.profile-heading {
    background:
        linear-gradient(135deg, rgba(8, 39, 98, .08), rgba(245, 130, 32, .14)),
        #fffdf8;
}

.profile-form {
    display: grid;
    gap: 20px;
}

.profile-section {
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    padding: 22px;
}

.profile-section-head {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    align-items: start;
    margin-bottom: 18px;
}

.profile-section-head.with-action {
    grid-template-columns: 54px 1fr auto;
    align-items: center;
}

.profile-section-head > span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #082762, #0b3d91);
    color: #ffeb28;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(8, 39, 98, .18);
}

.profile-section-head h2 {
    margin: 0;
    color: #082762;
}

.profile-section-head p {
    margin: 5px 0 0;
    color: var(--muted);
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.upload-card {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid #f1dcc2;
    border-radius: 8px;
    background: linear-gradient(180deg, #fffdf8, #fff6eb);
}

.upload-preview {
    display: grid;
    place-items: center;
    width: 98px;
    height: 98px;
    border-radius: 50%;
    background: #082762;
    color: #ffeb28;
    font-weight: 900;
    border: 4px solid #ffeb28;
}

.upload-preview.image-preview {
    position: relative;
    overflow: hidden;
}

.upload-preview.image-preview img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-preview.image-preview.has-image img {
    display: block;
}

.upload-preview.image-preview.has-image span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 4px 6px;
    background: rgba(8, 39, 98, .82);
    color: #ffeb28;
    font-size: 11px;
    text-align: center;
}

.upload-preview.document {
    border-radius: 8px;
    background: #fff;
    color: #082762;
    border-color: #082762;
}

.upload-card small {
    color: var(--muted);
    font-weight: 700;
}

.repeatable-list {
    display: grid;
    gap: 16px;
}

.repeatable-card {
    padding: 18px;
    border: 1px solid #f1dcc2;
    border-radius: 8px;
    background: #fffdf8;
}

.repeatable-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.repeatable-title strong {
    color: var(--maroon);
    text-transform: uppercase;
}

.profile-submit-bar {
    position: sticky;
    bottom: 14px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 8px;
    background: rgba(8, 39, 98, .96);
    color: #fff;
    border: 1px solid rgba(255, 235, 40, .6);
    box-shadow: 0 18px 42px rgba(8, 39, 98, .24);
}

.profile-submit-bar strong,
.profile-submit-bar span {
    display: block;
}

.profile-submit-bar span {
    margin-top: 3px;
    color: #fff6d8;
}

.company-vacancy-list {
    display: grid;
    gap: 24px;
}

.company-vacancy-group {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(8, 39, 98, .05), rgba(245, 130, 32, .08)),
        rgba(255, 255, 255, .95);
    box-shadow: var(--shadow-soft);
}

.company-vacancy-head {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.company-vacancy-head h2 {
    margin: 0;
    color: #082762;
}

.position-card-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.company-position-card {
    border-color: #f3c06d;
}

@media (max-width: 900px) {
    .hero,
    .grid.two,
    .grid.three,
    .form-grid,
    .stats,
    .detail-list { grid-template-columns: 1fr; }

    .hero { min-height: auto; padding-top: 12px; }
    .official-header {
        min-height: 88px;
        grid-template-columns: 74px minmax(0, 1fr) 74px;
        gap: 10px;
        padding: 10px 14px;
    }

    .header-logo {
        width: 68px;
        height: 68px;
        border-width: 2px;
        padding: 6px;
    }

    .header-logo img {
        max-width: 100%;
        max-height: 100%;
    }

    .header-logo-right img {
        max-width: 42px;
        max-height: 54px;
    }

    .nav {
        align-items: center;
        flex-direction: column;
        padding-bottom: 10px;
    }

    .nav-links { width: 100%; }
    .nav-links a { padding: 8px 9px; }

    .pacee-action-bar {
        position: static;
        border-radius: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .pacee-strip,
    .pacee-content,
    .pacee-metrics,
    .pacee-modern-grid,
    .pacee-process,
    .pacee-process-steps,
    .document-grid { grid-template-columns: 1fr; }

    .profile-section-head,
    .profile-section-head.with-action {
        grid-template-columns: 46px 1fr;
    }

    .profile-section-head.with-action .btn {
        grid-column: 1 / -1;
        width: fit-content;
    }

    .pacee-modern-hero {
        min-height: 620px;
        background-position: center top;
    }

    .pacee-hero-content {
        width: 100%;
        padding: 46px 24px 190px;
    }

    .pacee-hero-card {
        position: static;
        width: auto;
        margin: -168px 24px 120px;
        max-width: 420px;
    }

    .pacee-hero-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .pacee-metrics {
        margin: 18px 0 28px;
    }

    .pacee-process {
        padding: 20px;
    }

    .pacee-strip div {
        border-right: 0;
        border-bottom: 1px solid #bfd8ea;
    }

    .pacee-strip div:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
    .container { padding: 22px 14px 42px; }
    .official-header {
        grid-template-columns: 52px minmax(0, 1fr) 52px;
        gap: 7px;
        min-height: 74px;
        padding: 8px 10px;
    }

    .header-logo {
        width: 50px;
        height: 50px;
        padding: 5px;
    }

    .header-logo img {
        max-width: 100%;
        max-height: 100%;
    }

    .header-logo-right img {
        max-width: 30px;
        max-height: 40px;
    }

    .header-title span {
        font-size: 9px;
        line-height: 1.15;
    }

    .header-title strong {
        font-size: 18px;
        text-shadow: 0 2px 0 #061f59, 0 8px 18px rgba(0, 0, 0, .24);
    }

    .header-title em {
        font-size: 10px;
        line-height: 1.15;
    }

    .hero h1 { font-size: 38px; }
    .page-heading, .card, .hero-panel { padding: 18px; }
    .actions .btn, .actions button { width: 100%; }
    .pacee-poster { border-width: 2px; }
    .pacee-modern-hero { border-width: 2px; min-height: 640px; }
    .pacee-hero-content { padding: 34px 18px 210px; }
    .pacee-hero-content h1 { font-size: 70px; text-shadow: 0 5px 0 #061f59, 0 14px 30px rgba(0, 0, 0, .34); }
    .pacee-hero-content h2 { font-size: 26px; }
    .pacee-hero-content p { font-size: 16px; }
    .pacee-hero-footer { padding: 16px; }
    .pacee-hero-footer strong { font-size: 18px; }
    .pacee-hero-card {
        margin: -190px 16px 126px;
        padding: 14px;
    }
    .pacee-hero-card strong { font-size: 16px; }
    .pacee-quick-points span { font-size: 12px; padding: 8px 10px; }
    .pacee-action-bar { padding: 16px; }
    .pacee-highlight-section,
    .pacee-process { padding: 16px; }
    .profile-section { padding: 16px; }
    .profile-section-head,
    .profile-section-head.with-action {
        grid-template-columns: 1fr;
    }
    .profile-section-head > span { width: 40px; height: 40px; }
    .repeatable-title {
        align-items: flex-start;
        flex-direction: column;
    }
    .profile-submit-bar {
        position: static;
        flex-direction: column;
        align-items: stretch;
    }
    .initiative-list li { grid-template-columns: 40px 1fr; font-size: 14px; }
    .initiative-list span { width: 36px; height: 36px; border-width: 3px; }
}
