:root {
    --vs-navy: #0f1d46;
    --vs-navy-2: #081225;
    --vs-red: #b6323e;
    --vs-blue: #3c3b6e;
    --vs-text: #111111;
    --vs-muted: #666666;
    --vs-line: rgba(82, 88, 102, 0.18);
    --vs-soft: #f5f5f7;
    --vs-white: #fff;
    --vs-container: 1300px;
    /* GrowCareer theme variables */
    --content-width: 1300px;
    --container-max-width: 1340px;
    --font-body: "Plus Jakarta Sans", sans-serif;
    --font2: "Plus Jakarta Sans", sans-serif;
    --main: #b6323e;
    --heading: #1e1e1e;
    --body: #525866;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Root scroll container — clip horizontal overflow from off-screen reveal
       transforms so narrow viewports don't get a horizontal scrollbar.
       `clip` keeps the sticky header working (unlike `hidden`). */
    overflow-x: clip;
}

body {
    margin: 0;
    color: var(--vs-text);
    font-family: "Plus Jakarta Sans", sans-serif;
    line-height: 1.6;
    background: var(--vs-white);
    /* Clip off-screen reveal-animation transforms (translateX) so they don't
       create horizontal scroll on narrow viewports. `clip` (unlike `hidden`)
       does not create a scroll container, so it preserves the sticky header. */
    overflow-x: clip;
}

body.nav-open {
    overflow: hidden;
}

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

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

.container {
    width: min(100% - 32px, var(--vs-container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--vs-line);
    color: var(--vs-navy);
    backdrop-filter: blur(14px);
    transition: transform 0.35s ease, background 0.3s ease;
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header-overlay {
    position: fixed;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: none;
    color: var(--vs-white);
    backdrop-filter: none;
    transition: background 0.35s ease;
}

.site-header .container {
    min-height: 105px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.home-page .site-header .container {
    min-height: 140px;
}

.site-logo,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--vs-navy);
    font-size: 19px;
    font-weight: 800;
}

.site-header-overlay .site-logo,
.site-header-overlay .site-nav {
    color: var(--vs-white);
}

.site-header-overlay .site-logo-mark {
    color: var(--vs-white);
    background: var(--vs-red);
}

.site-header-overlay .site-nav a:hover {
    color: #fff;
    opacity: 0.78;
}

.site-header-overlay .nav-toggle {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

.site-header-overlay .nav-toggle span {
    background: var(--vs-white);
}

/* ═══════════════════════════════════════════
   LOGO #1 — صفحات داخلی (Internal pages)
   ═══════════════════════════════════════════ */
.site-logo img {
    width: auto;
    height: 135px;      /* ← سایز لوگو صفحات داخلی */
    object-fit: contain;
}

/* ═══════════════════════════════════════════
   LOGO #2 — صفحه اصلی (Home page) — Rotating seal
   ═══════════════════════════════════════════ */
.site-logo-seal {
    line-height: 0;
}
.header-seal {
    position: relative;
    top: 40%;
    left: 40%;
    width: 104px;
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;

    overflow: visible;
}

/* حلقه متن */
.header-seal-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 112px;
    height: 112px;

    /* فاصله خیلی جزئی از لوگو */
    transform: translate(-50%, -50%) scale(1.08);

    animation: hdrSealRotate 22s linear infinite;
    transform-origin: center;
    z-index: 1;
}

/* لوگوی وسط */
.header-seal-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 41px;
    height: auto;

    transform: translate(-50%, -50%);

    z-index: 2;
    filter: brightness(0) invert(1);
}

@keyframes hdrSealRotate {
    from {
        transform: translate(-50%, -50%) scale(1.28) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) scale(1.28) rotate(360deg);
    }

}
.home-page .site-header.is-scrolled .header-seal-logo {
    filter: brightness(0) invert(1);
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-login {
    font-weight: 700;
    color: var(--vs-navy);
    white-space: nowrap;
    padding: 10px 4px;
}

.header-login:hover {
    color: var(--vs-red);
}

.header-register {
    background: #111;
    border-radius: 8px;
}

.header-register:hover {
    background: #333;
}

.site-header-overlay .container {
    width: 100%;
    max-width: 100%;
    padding-left: 48px;
    padding-right: 48px;
    min-height: 140px;
    align-items: center;
}

.site-logo-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    color: var(--vs-white);
    background: var(--vs-red);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 900;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 32px;
    color: var(--vs-navy);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.site-nav a:not(.header-cta) {
    position: relative;
    transition: color 0.2s ease;
}

.site-nav a:not(.header-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

.site-nav a:not(.header-cta):hover::after {
    transform: scaleX(1);
}

.site-nav a:hover {
    color: var(--vs-red);
}

.header-cta,
.btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 800;
    line-height: 1.2;
}

.header-cta {
    color: var(--vs-white) !important;
    border-radius: 8px;
    background: var(--vs-red);
    white-space: nowrap;
    flex-shrink: 0;
}

.header-cta:hover {
    background: #8b1e2d;
}

.site-header-overlay .header-cta {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.65);
}

.site-header-overlay .header-cta:hover {
    background: var(--vs-red);
    border-color: var(--vs-red);
}

/* Dropdown navigation */
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link:hover {
    color: var(--vs-red);
}

.site-header-overlay .nav-link:hover {
    color: #fff;
    opacity: 0.78;
}

.dropdown-caret {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-top: 1px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.nav-item.is-open .dropdown-caret {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute !important;
    top: calc(100% + 16px) !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-6px) !important;
    min-width: 200px;
    background: var(--vs-white) !important;
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(11, 31, 58, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 8px !important;
    list-style: none !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 9999 !important;
}

.nav-item.is-open .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) !important;
}

.dropdown-menu li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.dropdown-menu a {
    display: block !important;
    padding: 10px 16px !important;
    color: var(--vs-navy) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    opacity: 1 !important;
    background: transparent !important;
}

.dropdown-menu a::after,
.dropdown-menu a::before {
    display: none !important;
}

.dropdown-menu a:hover {
    background: var(--vs-soft) !important;
    color: var(--vs-red) !important;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--vs-line);
    border-radius: 6px;
    background: var(--vs-white);
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--vs-navy);
}

.site-main {
    min-height: 60vh;
}

.hero-section {
    padding: 72px 0 64px;
    background:
        radial-gradient(circle at 10% 10%, rgba(178, 34, 52, 0.1), transparent 28%),
        linear-gradient(135deg, #f8fafc 0%, #eef3f8 100%);
}

.hero-original {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 132px 0 76px;
    position: relative;
    color: var(--vs-white);
    background-image:
        linear-gradient(90deg, rgba(4, 9, 17, 0.98) 0%, rgba(4, 9, 17, 0.86) 34%, rgba(4, 9, 17, 0.34) 64%, rgba(4, 9, 17, 0.1) 100%),
        linear-gradient(180deg, rgba(4, 9, 17, 0.2), rgba(4, 9, 17, 0.92)),
        var(--hero-bg);
    background-size: cover;
    background-position: center right;
    overflow: hidden;
}

.hero-original::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    background: linear-gradient(180deg, transparent, rgba(4, 9, 17, 0.85));
    pointer-events: none;
}

.hero-original-inner {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: center;
}

.hero-original .hero-copy {
    max-width: 760px;
}

.hero-original .hero-copy h1 {
    max-width: 740px;
    color: var(--vs-white);
    font-size: clamp(54px, 7.2vw, 104px);
    line-height: 0.95;
    letter-spacing: 0;
}

.hero-original .hero-copy h1 span {
    color: var(--vs-red);
}

.hero-original .hero-copy p {
    max-width: 650px;
    margin-top: 26px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.55;
}

.hero-original .hero-actions {
    align-items: center;
    gap: 22px;
    margin-top: 36px;
}

.hero-original .btn-primary {
    min-height: 58px;
    border-radius: 999px;
    padding: 16px 30px;
    background: var(--vs-red);
    box-shadow: 0 16px 42px rgba(207, 40, 58, 0.34);
}

.hero-original .btn-primary:hover {
    transform: translateY(-2px);
    background: #e23347;
}

.hero-hiring-line {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.hero-hiring-line span,
.hero-hiring-line a {
    display: inline;
}

.hero-hiring-line a {
    margin-left: 5px;
    color: var(--vs-white);
    font-weight: 900;
    text-decoration: underline;
    text-decoration-color: var(--vs-red);
    text-underline-offset: 5px;
}

.hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 10px 15px;
    color: var(--vs-white);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.hero-rating strong {
    color: var(--vs-white);
    font-size: 15px;
    font-weight: 900;
}

.hero-rating span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    font-weight: 700;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 56px;
    align-items: center;
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--vs-red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.cta-panel h2 {
    margin: 0;
    color: var(--vs-navy);
    font-weight: 900;
    letter-spacing: 0;
}

.hero-copy h1 {
    max-width: 720px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.98;
}

.hero-copy p {
    max-width: 660px;
    margin: 24px 0 0;
    color: var(--vs-text);
    font-size: 20px;
    line-height: 1.65;
}

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

.btn-primary {
    color: var(--vs-white);
    background: var(--vs-red);
}

.btn-secondary {
    color: var(--vs-navy);
    background: var(--vs-white);
    border: 1px solid var(--vs-line);
}

.btn-secondary:hover {
    border-color: var(--vs-navy);
}

.btn-link {
    color: var(--vs-navy);
    background: var(--vs-white);
    border: 1px solid var(--vs-line);
}

.hero-media {
    position: relative;
}

.hero-media img {
    width: 100%;
    aspect-ratio: 4 / 4.25;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 24px 70px rgba(11, 31, 58, 0.22);
}

.hero-badge {
    position: absolute;
    right: 24px;
    bottom: 24px;
    max-width: 260px;
    padding: 18px;
    border-radius: 8px;
    color: var(--vs-navy);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 45px rgba(11, 31, 58, 0.16);
}

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

.hero-badge strong {
    margin-bottom: 4px;
    font-size: 18px;
}

.stats-section,
.features-section,
.jobs-section,
.cta-section {
    padding: 72px 0;
}

.stats-grid,
.feature-grid,
.jobs-grid {
    display: grid;
    gap: 20px;
}

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

.stat-card,
.feature-card,
.job-card,
.cta-panel {
    border: 1px solid var(--vs-line);
    border-radius: 8px;
    background: var(--vs-white);
}

.stat-card {
    min-height: 220px;
    padding: 28px;
}

.stat-card span,
.job-type {
    color: var(--vs-red);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.stat-card h2,
.feature-card h3,
.job-card h3 {
    margin: 18px 0 10px;
    color: var(--vs-navy);
    font-size: 22px;
    line-height: 1.2;
}

.stat-card p,
.feature-card p,
.job-card p {
    margin: 0;
    color: var(--vs-text);
}

.features-section,
.cta-section {
    background: var(--vs-soft);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.section-heading h2,
.cta-panel h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
}

.section-heading-inline {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

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

.feature-card {
    padding: 34px;
}

.feature-card img {
    width: 54px;
    height: 54px;
}

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

.job-card {
    min-height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(11, 31, 58, 0.1);
}

.job-card a {
    margin-top: 26px;
    color: var(--vs-red);
    font-weight: 900;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 44px;
    background: var(--vs-navy);
}

.cta-panel h2,
.cta-panel .section-kicker {
    color: var(--vs-white);
}

.cta-panel .section-kicker {
    opacity: 0.75;
}

.site-footer {
    padding: 56px 0 24px;
    color: rgba(255, 255, 255, 0.78);
    background: var(--vs-navy);
}

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

.footer-brand {
    color: var(--vs-white);
    margin-bottom: 12px;
}

.site-footer h3 {
    margin: 0 0 16px;
    color: var(--vs-white);
    font-size: 16px;
}

.site-footer a {
    display: block;
    margin-bottom: 9px;
}

.site-footer p {
    margin: 0 0 8px;
}

.footer-bottom {
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
    margin: 0;
}

.content-section,
.latest-posts-section {
    padding: 86px 0;
}

.narrow-container {
    width: min(100% - 32px, 860px);
}

.content-section h1 {
    margin: 8px 0 22px;
    color: var(--vs-navy);
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.04;
}

.content-featured-image {
    width: 100%;
    max-height: 460px;
    margin: 30px 0;
    border-radius: 8px;
    object-fit: cover;
}

.content-body {
    color: var(--vs-text);
    font-size: 18px;
}

.content-body h2,
.content-body h3 {
    color: var(--vs-navy);
}

.content-body a {
    color: var(--vs-red);
    font-weight: 800;
}

.blog-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 220px auto;
    gap: 12px;
    margin: 0 0 34px;
}

.blog-filters input,
.blog-filters select,
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--vs-line);
    border-radius: 6px;
    padding: 11px 13px;
    color: var(--vs-text);
    font: inherit;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.post-card {
    overflow: hidden;
    border: 1px solid var(--vs-line);
    border-radius: 8px;
    background: var(--vs-white);
    box-shadow: 0 18px 48px rgba(11, 31, 58, 0.08);
}

.post-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    background: var(--vs-soft);
}

.post-card-body {
    padding: 22px;
}

.post-card-body span,
.article-meta,
.post-categories a {
    color: var(--vs-muted);
    font-size: 13px;
    font-weight: 800;
}

.post-card-body h2,
.post-card-body h3 {
    margin: 9px 0 10px;
    color: var(--vs-navy);
    font-size: 24px;
    line-height: 1.16;
}

.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.post-categories a {
    border-radius: 999px;
    padding: 5px 10px;
    color: var(--vs-navy);
    background: var(--vs-soft);
}

.empty-state {
    border: 1px solid var(--vs-line);
    border-radius: 8px;
    padding: 26px;
    color: var(--vs-muted);
    background: var(--vs-soft);
}

.pagination,
.article-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.pagination a,
.article-nav a {
    border: 1px solid var(--vs-line);
    border-radius: 6px;
    padding: 10px 14px;
    color: var(--vs-navy);
    font-weight: 800;
}

.pagination a.active,
.pagination a:hover,
.article-nav a:hover {
    color: var(--vs-white);
    background: var(--vs-red);
    border-color: var(--vs-red);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 12px;
}

/* ── Contact Hero Banner ──────────────────────────────────────────── */
.contact-hero {
    position: relative; width: 100%; height: 320px; overflow: hidden;
    display: flex; align-items: center;
}
.contact-hero-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 30%;
}
.contact-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(11,31,58,.82) 0%, rgba(11,31,58,.55) 55%, rgba(11,31,58,.18) 100%);
}
.contact-hero-content {
    position: relative; z-index: 1;
    max-width: 1120px; margin: 0 auto; padding: 0 24px;
    width: 100%;
}
.contact-hero-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px; padding: 5px 16px;
    font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.9);
    letter-spacing: .5px; text-transform: uppercase; margin-bottom: 16px;
}
.contact-hero-kicker-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--vs-red);
}
.contact-hero h1 {
    font-size: clamp(28px, 4vw, 46px); font-weight: 900;
    color: #fff; margin: 0 0 12px; line-height: 1.12; letter-spacing: -.3px;
}
.contact-hero h1 span { color: #f87171; }
.contact-hero-sub {
    font-size: 15.5px; color: rgba(255,255,255,.75); margin: 0 0 24px;
    max-width: 480px; line-height: 1.6;
}
.contact-hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-hero-badge {
    display: flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
    border-radius: 8px; padding: 6px 14px;
    font-size: 13px; font-weight: 600; color: rgba(255,255,255,.88);
}
@media (max-width: 640px) { .contact-hero { height: 240px; } }

/* ── Contact Page Layout ──────────────────────────────────────────── */
.contact-page {
    background: #f4f6fa;
    padding: 40px 0 60px;
}

.contact-shell {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(380px, 1fr);
    gap: 24px;
    align-items: start;
    max-width: 1120px;
}

/* ── Info Panel ───────────────────────────────────────────────────── */
.contact-info-panel {
    padding: 28px 24px;
    border: 1.5px solid #e1e4eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 16px rgba(11,31,58,.06);
}

.contact-info-panel h1 {
    margin: 10px 0 10px;
    color: var(--vs-navy);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 900;
    line-height: 1.1;
}

.contact-info-intro {
    max-width: 480px;
    margin: 0 0 22px;
    color: #4b5563;
    font-size: 14.5px;
    line-height: 1.65;
}

.contact-detail-list {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
}

.contact-detail-list p {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0;
    border: 1.5px solid #edf0f4;
    border-radius: 12px;
    background: #fafbfc;
    padding: 12px 14px;
    transition: border-color .15s, background .15s;
}
.contact-detail-list p:hover { border-color: #c7d2fe; background: #f5f7ff; }

.contact-detail-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(182,50,62,.09); color: var(--vs-red);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.contact-detail-list strong {
    display: block;
    margin-bottom: 2px;
    color: var(--vs-navy);
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: .2px;
}

.contact-detail-list a, .contact-detail-list span.contact-detail-val {
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.contact-detail-list a:hover { color: var(--vs-red); }

.contact-map-card {
    margin: 0 0 14px;
    overflow: hidden;
    border: 1.5px solid #d8dbe2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 8px rgba(11,31,58,.05);
}

.contact-map-label {
    display: flex; align-items: center; gap: 7px;
    padding: 11px 14px;
    border-bottom: 1.5px solid #edf0f4;
    color: var(--vs-navy);
    font-size: 13px;
    font-weight: 800;
}

.contact-map-card iframe {
    display: block;
    width: 100%;
    height: 200px;
}

/* ── Form ─────────────────────────────────────────────────────────── */
.contact-form {
    width: 100%;
    border: 1.5px solid #d8dbe2;
    border-radius: 16px;
    padding: 32px 28px;
    background: #fff;
    box-shadow: 0 2px 16px rgba(11,31,58,.06);
}

.contact-form h1 {
    margin: 0 0 24px;
    color: var(--vs-navy);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
    padding-bottom: 18px;
    border-bottom: 1.5px solid #f0f2f7;
}

.contact-form-section {
    margin-bottom: 24px;
}

.contact-form h2 {
    margin: 0 0 14px;
    color: var(--vs-navy);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    display: flex; align-items: center; gap: 8px;
}
.contact-form h2::after {
    content: ''; flex: 1; height: 1.5px; background: #f0f2f7; border-radius: 2px;
}

.contact-name-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    margin: 0 0 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #f9fafb;
    color: #1a202c;
    font-size: 14px;
    font-family: inherit;
    padding: 0 16px;
    outline: none;
    transition: border-color .18s, box-shadow .18s, background .18s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #9ca3af; }
.contact-form select { color: #374151; appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--vs-navy);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(11,31,58,.08);
}
.contact-form textarea {
    min-height: 130px;
    padding-top: 14px;
    padding-bottom: 14px;
    resize: vertical;
    line-height: 1.6;
}

.contact-submit {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; min-height: 50px;
    margin-top: 8px; border: 0; border-radius: 12px;
    background: var(--vs-navy); color: #fff;
    cursor: pointer; font: inherit; font-weight: 800; font-size: 15px;
    letter-spacing: .2px;
    transition: background .18s, transform .15s, box-shadow .15s;
    box-shadow: 0 4px 14px rgba(11,31,58,.2);
}
.contact-submit:hover {
    background: var(--vs-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(182,50,62,.3);
}

/* ── Support & QR ─────────────────────────────────────────────────── */
.contact-support-card {
    display: flex; align-items: center; gap: 14px;
    background: linear-gradient(135deg, #f0fff4, #e8faf0);
    border: 1.5px solid #86efac;
    border-radius: 14px; padding: 16px;
    margin-bottom: 14px;
}
.contact-support-icon {
    flex-shrink: 0; width: 44px; height: 44px;
    border-radius: 12px; background: #22c55e; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(34,197,94,.3);
}
.contact-support-card > div:last-child { flex: 1; min-width: 0; }
.contact-support-label {
    margin: 0 0 3px; color: var(--vs-navy); font-size: 14px; font-weight: 800;
}
.contact-support-desc { margin: 0; color: #4b7c5a; font-size: 12.5px; }
.contact-wa-btn {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 34px; margin-top: 10px; border-radius: 8px;
    background: #22c55e; color: #fff; padding: 0 16px;
    font-size: 13px; font-weight: 800; text-decoration: none;
    transition: background .15s, transform .15s;
    box-shadow: 0 2px 8px rgba(34,197,94,.25);
}
.contact-wa-btn:hover { background: #16a34a; color: #fff; transform: translateY(-1px); }

.contact-qr-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px; margin-top: 14px;
}
.contact-qr-card {
    display: grid; justify-items: center; gap: 10px;
    border: 1.5px solid #e2e8f0; border-radius: 12px;
    background: #fff; padding: 14px 10px;
    color: var(--vs-navy); text-align: center; text-decoration: none;
    transition: border-color .15s, box-shadow .15s;
}
.contact-qr-card:hover { border-color: var(--vs-navy); box-shadow: 0 2px 12px rgba(11,31,58,.1); }
.contact-qr-card img { width: 116px; height: 116px; border-radius: 8px; }
.contact-qr-card span { font-size: 12px; font-weight: 700; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 720px) {
    .contact-page { padding: 20px 0 40px; }
    .contact-form { padding: 22px 18px; }
    .contact-form h1 { font-size: 20px; }
    .contact-name-row { grid-template-columns: 1fr; gap: 0; }
    .contact-qr-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
    .contact-shell { grid-template-columns: 1fr; }
    .contact-info-panel { padding-top: 22px; }
}

.front-alert {
    margin-bottom: 18px;
    border-radius: 6px;
    padding: 12px 14px;
}

.front-alert p {
    margin: 0 0 6px;
}

.front-alert p:last-child {
    margin-bottom: 0;
}

.front-alert-success {
    color: #166534;
    background: #dcfce7;
}

.front-alert-error {
    color: #7f1d1d;
    background: #fee2e2;
}

.not-found-section {
    min-height: 62vh;
    display: grid;
    align-items: center;
}

.not-found-panel {
    max-width: 760px;
    text-align: center;
}

.not-found-panel .hero-actions {
    justify-content: center;
    margin-top: 28px;
}

@media (max-width: 1024px) {
    .home-page .site-header .container {
        min-height: 118px;
        gap: 16px;
    }

    .home-page .site-logo-seal {
        width: 118px;
        height: 118px;
        flex: 0 0 118px;
    }

    .home-page .header-seal {
        top: auto;
        left: auto;
        width: 104px;
        height: 104px;
    }

    .home-page .header-seal-ring {
        width: 112px;
        height: 112px;
    }

    .home-page .header-seal-logo {
        width: 42px;
    }

    .site-nav {
        gap: 14px;
        font-size: 14px;
    }

    .home-page .header-cta {
        min-height: 44px;
        padding: 10px 18px;
    }

    .hero-grid,
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid,
    .jobs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1500px) {
    .home-page .site-header .container {
        min-height: 118px;
        gap: 18px;
    }

    .home-page .site-logo-seal {
        width: 118px;
        height: 118px;
        flex: 0 0 118px;
    }

    .home-page .header-seal {
        top: auto;
        left: auto;
        width: 104px;
        height: 104px;
    }

    .home-page .header-seal-ring {
        width: 112px;
        height: 112px;
    }

    .home-page .header-seal-logo {
        width: 42px;
    }

    .home-page .header-cta {
        order: 3;
        margin-left: auto; /* push CTA + hamburger group to the right edge */
        min-height: 44px;
        padding: 10px 20px;
    }

    .home-page .nav-toggle {
        display: inline-block;
        order: 4; /* hamburger sits at the far right corner */
        flex: 0 0 auto;
        border-color: rgba(255, 255, 255, 0.48);
        border-radius: 10px;
        background: rgba(8, 18, 37, 0.28);
    }

    .home-page .site-nav {
        position: fixed;
        left: 24px;
        right: 24px;
        top: 132px;
        order: 4;
        display: none;
        flex: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        max-height: calc(100vh - 158px);
        overflow-y: auto;
        padding: 12px;
        border: 1px solid rgba(8, 18, 37, 0.12);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.97);
        color: var(--vs-navy);
        box-shadow: 0 26px 90px rgba(8, 18, 37, 0.28);
        backdrop-filter: blur(18px);
        z-index: 9998;
    }

    .home-page.nav-open .site-nav {
        display: flex;
    }

    .home-page.nav-open .nav-toggle {
        background: var(--vs-red);
        border-color: var(--vs-red);
    }

    .home-page .site-nav > a,
    .home-page .site-nav .nav-link {
        width: 100%;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: 1px solid rgba(15, 29, 70, 0.08);
        border-radius: 12px;
        background: #fff;
        color: var(--vs-navy) !important;
        padding: 0 16px;
        font-size: 18px;
        font-weight: 800;
        white-space: normal;
    }

    .home-page .site-nav > a::after,
    .home-page .site-nav .nav-link::after {
        display: none;
    }

    .home-page .nav-item {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .home-page .dropdown-menu {
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        display: none !important;
        margin: 6px 0 0 !important;
        padding: 6px !important;
        transform: none !important;
        border-radius: 10px !important;
        background: rgba(8, 18, 37, 0.05) !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto;
    }

    .home-page .nav-item.is-open .dropdown-menu {
        display: block !important;
    }

    .home-page .dropdown-menu a {
        white-space: normal !important;
    }
}

@media (max-width: 780px) {
    .site-header .container {
        min-height: 72px;
    }

    .home-page .site-header .container {
        min-height: 102px;
    }

    .home-page .site-logo-seal {
        width: 86px;
        height: 86px;
        flex: 0 0 86px;
    }

    .home-page .header-seal {
        top: auto;
        left: auto;
        width: 83px;
        height: 76px;
    }

    .home-page .header-seal-ring {
        width: 83px;
        height: 83px;
    }

    .home-page .header-seal-logo {
        width: 40px;
    }

    @keyframes hdrSealRotate {
        from {
            transform: translate(-50%, -50%) scale(1.06) rotate(0deg);
        }
        to {
            transform: translate(-50%, -50%) scale(1.06) rotate(360deg);
        }
    }

    .nav-toggle {
        display: inline-block;
        flex: 0 0 auto;
        order: 5; /* hamburger at the far right corner */
        border-color: rgba(255, 255, 255, 0.48);
        background: rgba(8, 18, 37, 0.28);
        border-radius: 10px;
    }

    .header-auth {
        order: 4;
        margin-left: auto; /* push Login/Register + hamburger group right */
    }

    .site-nav {
        position: fixed;
        left: 18px;
        right: 18px;
        top: 88px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        max-height: calc(100vh - 144px);
        overflow-y: auto;
        padding: 12px;
        border: 1px solid rgba(8, 18, 37, 0.12);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 26px 90px rgba(8, 18, 37, 0.28);
        backdrop-filter: blur(18px);
        z-index: 9998;
    }

    .home-page .site-nav {
        top: 118px;
    }

    .site-header-overlay .site-nav {
        color: var(--vs-navy);
        background: rgba(255, 255, 255, 0.97);
    }

    .site-header-overlay .site-nav a:hover {
        color: var(--vs-red);
        opacity: 1;
    }

    .nav-open .site-nav {
        display: flex;
    }

    .nav-open .nav-toggle {
        background: var(--vs-red);
        border-color: var(--vs-red);
    }

    .site-nav > a,
    .site-nav .nav-link {
        width: 100%;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: 1px solid rgba(15, 29, 70, 0.08);
        border-radius: 12px;
        background: #fff;
        color: var(--vs-navy) !important;
        padding: 0 16px;
        font-size: 18px;
        font-weight: 800;
    }

    .site-nav > a::after,
    .site-nav .nav-link::after {
        display: none;
    }

    .site-nav > a:hover,
    .site-nav .nav-link:hover {
        background: rgba(182, 50, 62, 0.08);
        color: var(--vs-red) !important;
        opacity: 1;
    }

    .nav-item {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .nav-link {
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border-radius: 8px !important;
        background: rgba(0, 0, 0, 0.05) !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none !important;
        width: 100% !important;
        min-width: 0 !important;
        left: auto !important;
        top: auto !important;
        padding: 6px !important;
        margin-top: 6px !important;
        pointer-events: auto;
    }

    .nav-item.is-open .dropdown-menu {
        display: block !important;
        transform: none !important;
    }

    .dropdown-menu a {
        color: var(--vs-navy) !important;
        white-space: normal !important;
        padding: 12px 14px !important;
        border-radius: 9px !important;
        font-size: 15px !important;
        font-weight: 750 !important;
    }

    .dropdown-menu a:hover {
        background: #fff !important;
        color: var(--vs-red) !important;
    }

    .hero-section {
        padding: 48px 0;
    }

    .hero-original {
        min-height: 780px;
        align-items: end;
        padding: 120px 0 58px;
        background-position: 64% center;
        background-image:
            linear-gradient(90deg, rgba(4, 9, 17, 0.96) 0%, rgba(4, 9, 17, 0.82) 56%, rgba(4, 9, 17, 0.42) 100%),
            linear-gradient(180deg, rgba(4, 9, 17, 0.1), rgba(4, 9, 17, 0.94)),
            var(--hero-bg);
    }

    .hero-grid,
    .stats-grid,
    .footer-grid,
    .post-grid,
    .blog-filters {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: 44px;
    }

    .hero-original .hero-copy h1 {
        font-size: clamp(48px, 14vw, 68px);
    }

    .hero-copy p {
        font-size: 18px;
    }

    .hero-original .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-heading-inline,
    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .stats-section,
    .features-section,
    .jobs-section,
    .cta-section {
        padding: 52px 0;
    }

    .cta-panel {
        padding: 30px;
    }
}

@media (max-width: 520px) {
    .hero-actions,
    .hero-actions .btn {
        width: 100%;
    }

    .hero-badge {
        position: static;
        margin-top: 14px;
    }

    .stat-card,
    .feature-card,
    .job-card {
        padding: 24px;
    }
}

/* Phase 16 visual migration layer */
.home-page {
    background: #fff;
}

.home-page .site-header.is-scrolled {
    background:
        radial-gradient(circle at 12% 12%, rgba(182, 50, 62, 0.38), transparent 34%),
        linear-gradient(90deg, rgba(8, 18, 37, 0.98), rgba(15, 29, 70, 0.97) 54%, rgba(8, 18, 37, 0.98));
    border-bottom-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 52px rgba(8, 18, 37, 0.18);
}

.site-header-overlay .site-logo img {
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.28));
}

.site-header-overlay .site-logo span {
    color: #fff;
}

.hero-original {
    overflow: hidden;
    isolation: isolate;
}

.hero-original::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 74% 46%, rgba(207, 40, 58, 0.18), transparent 26%),
        linear-gradient(90deg, rgba(4, 9, 17, 0.96) 0%, rgba(4, 9, 17, 0.88) 37%, rgba(4, 9, 17, 0.44) 68%, rgba(4, 9, 17, 0.08) 100%);
    pointer-events: none;
}

.hero-original .hero-copy {
    position: relative;
    z-index: 2;
    padding-top: 42px;
}

.hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
    padding: 10px 16px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(12px);
}

.hero-rating strong {
    color: #fff;
    font-size: 15px;
}

.hero-rating span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.hero-hiring-line {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.hero-hiring-line a {
    display: inline-block;
    margin-left: 6px;
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--vs-red);
    text-underline-offset: 5px;
}

.vs-section {
    padding: 108px 0;
}

/* Inner Page Hero */
.page-hero {
    position: relative;
    padding: 100px 0 72px;
    background: linear-gradient(135deg, var(--vs-navy-2) 0%, #0d1e3a 60%, var(--vs-navy) 100%);
    color: var(--vs-white);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(182, 50, 62, 0.18) 0%, transparent 60%),
                radial-gradient(ellipse at 10% 80%, rgba(60, 59, 110, 0.22) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.page-hero h1 {
    margin: 0 0 20px;
    color: var(--vs-white);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 900;
    line-height: 1.1;
    max-width: 760px;
}

.page-hero h1 span {
    color: #f4707c;
}

.page-hero p {
    max-width: 620px;
    color: rgba(255,255,255,0.8);
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.6;
    margin: 0 0 36px;
}

.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.page-hero .btn-primary {
    background: var(--vs-red);
    color: #fff !important;
    border-radius: 8px;
    padding: 14px 28px;
    font-weight: 800;
    font-size: 16px;
}

.page-hero .btn-outline {
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff !important;
    border-radius: 8px;
    padding: 12px 26px;
    font-weight: 700;
}

.page-hero .btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
}

/* Inner page content sections */
.ip-section {
    padding: 80px 0;
}

.ip-section.bg-soft {
    background: var(--vs-soft);
}

.ip-section.bg-navy {
    background: var(--vs-navy-2);
    color: var(--vs-white);
}

.ip-section.bg-navy h2,
.ip-section.bg-navy h3 {
    color: var(--vs-white);
}

.ip-heading {
    margin-bottom: 48px;
}

.ip-heading .section-kicker {
    display: block;
    margin-bottom: 10px;
}

.ip-heading h2 {
    margin: 0 0 14px;
    color: var(--vs-navy);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 900;
    line-height: 1.2;
}

.ip-heading p {
    max-width: 680px;
    color: var(--vs-muted);
    font-size: 18px;
}

.ip-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
}

.ip-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ip-card {
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--vs-line);
    background: #fff;
}

.ip-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(182, 50, 62, 0.1);
    color: var(--vs-red);
    font-size: 22px;
    margin-bottom: 18px;
}

.ip-card h3 {
    margin: 0 0 10px;
    color: var(--vs-navy);
    font-size: 18px;
    font-weight: 800;
}

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

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

.ip-checklist li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--vs-line);
    color: var(--vs-text);
    font-size: 16px;
    line-height: 1.5;
}

.ip-checklist li:last-child {
    border-bottom: none;
}

.ip-checklist li::before {
    content: '✓';
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(182, 50, 62, 0.1);
    color: var(--vs-red);
    font-size: 13px;
    font-weight: 900;
    margin-top: 1px;
}

.ip-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ip-split img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    height: 440px;
}

.ip-cta-banner {
    padding: 72px 0;
    background: linear-gradient(135deg, var(--vs-navy-2) 0%, #0d1e3a 100%);
    color: var(--vs-white);
    text-align: center;
}

.ip-cta-banner h2 {
    margin: 0 0 14px;
    color: var(--vs-white);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
}

.ip-cta-banner p {
    max-width: 560px;
    margin: 0 auto 32px;
    color: rgba(255,255,255,0.78);
    font-size: 18px;
}

.ip-cta-banner .btn-primary {
    background: var(--vs-red);
    color: #fff !important;
    border-radius: 8px;
    padding: 16px 32px;
    font-weight: 800;
    font-size: 17px;
    display: inline-flex;
    gap: 8px;
}

.ip-accordion {
    border: 1px solid var(--vs-line);
    border-radius: 12px;
    overflow: hidden;
}

.ip-accordion-item {
    border-bottom: 1px solid var(--vs-line);
}

.ip-accordion-item:last-child {
    border-bottom: none;
}

.ip-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 700;
    color: var(--vs-navy);
    font-size: 16px;
    background: #fff;
    user-select: none;
}

.ip-accordion-body {
    padding: 0 24px 20px;
    color: var(--vs-muted);
    font-size: 15px;
    line-height: 1.7;
    display: none;
}

.ip-accordion-item.is-open .ip-accordion-body {
    display: block;
}

.ip-accordion-item.is-open .ip-accordion-arrow {
    transform: rotate(180deg);
}

.ip-accordion-arrow {
    transition: transform 0.2s ease;
    color: var(--vs-muted);
}

@media (max-width: 780px) {
    .page-hero {
        padding: 80px 0 56px;
    }

    .ip-grid-2,
    .ip-grid-3,
    .ip-split {
        grid-template-columns: 1fr;
    }

    .ip-split img {
        height: 260px;
    }

    .ip-section {
        padding: 56px 0;
    }
}

.vs-search-section {
    position: relative;
    z-index: 4;
    margin-top: -48px;
    padding-bottom: 48px;
}

.vs-search-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) auto;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(11, 31, 58, 0.16);
}

.vs-search-panel label {
    display: grid;
    gap: 6px;
    padding: 10px 16px;
    background: #f6f7f9;
    border-radius: 14px;
}

.vs-search-panel span {
    color: var(--vs-navy);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.vs-search-panel input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--vs-navy);
    background: transparent;
    font: inherit;
    font-weight: 700;
}

.vs-search-panel button,
.vs-newsletter-form button {
    border: 0;
    color: #fff;
    background: var(--vs-red);
    border-radius: 14px;
    padding: 0 30px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.vs-search-panel button:hover,
.vs-newsletter-form button:hover {
    transform: translateY(-2px);
    background: #e23347;
}

.vs-trust-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.vs-trust-row div {
    padding: 22px;
    background: #fff;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 16px;
}

.vs-trust-row strong {
    display: block;
    color: var(--vs-navy);
    font-size: 30px;
    line-height: 1;
}

.vs-trust-row span {
    display: block;
    margin-top: 8px;
    color: var(--vs-muted);
    font-weight: 700;
}

.vs-split-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 72px;
    align-items: center;
}

.vs-copy-block h2,
.section-heading h2,
.vs-employer-panel h2,
.vs-newsletter-panel h2 {
    margin: 10px 0 18px;
    color: var(--vs-navy);
    font-size: clamp(38px, 4.3vw, 64px);
    line-height: 1.02;
}

.vs-copy-block p,
.vs-employer-panel p,
.vs-newsletter-panel p {
    margin: 0 0 26px;
    color: var(--vs-text);
    font-size: 18px;
}

.vs-check-list {
    display: grid;
    gap: 12px;
    margin: 0 0 30px;
}

.vs-check-list span {
    position: relative;
    padding-left: 34px;
    color: var(--vs-navy);
    font-weight: 800;
}

.vs-check-list span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background: var(--vs-red);
    border-radius: 50%;
    box-shadow: inset 0 0 0 6px #fff, 0 0 0 1px var(--vs-red);
}

.vs-image-stack {
    position: relative;
}

.vs-image-stack img {
    width: 100%;
    min-height: 520px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 32px 90px rgba(11, 31, 58, 0.18);
}

.vs-floating-card {
    position: absolute;
    right: -22px;
    bottom: 34px;
    width: min(220px, 54%);
    padding: 24px;
    color: #fff;
    background: var(--vs-red);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(207, 40, 58, 0.35);
}

.vs-floating-card strong {
    display: block;
    font-size: 42px;
    line-height: 1;
}

.vs-categories-section,
.vs-resources-section {
    background: #f6f7f9;
}

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

.vs-category-card {
    position: relative;
    overflow: hidden;
    min-height: 178px;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vs-category-card::after {
    content: "";
    position: absolute;
    right: -36px;
    bottom: -36px;
    width: 112px;
    height: 112px;
    background: rgba(207, 40, 58, 0.08);
    border-radius: 50%;
}

.vs-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 60px rgba(11, 31, 58, 0.12);
}

.vs-category-card span {
    color: var(--vs-red);
    font-weight: 900;
}

.vs-category-card h3 {
    margin: 18px 0 8px;
    color: var(--vs-navy);
    font-size: 24px;
}

.vs-category-card p {
    margin: 0;
    color: var(--vs-muted);
    font-weight: 700;
}

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

.vs-job-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(11, 31, 58, 0.1);
    border-radius: 20px;
    box-shadow: 0 16px 50px rgba(11, 31, 58, 0.06);
}

.vs-job-type {
    display: inline-grid;
    place-items: center;
    min-height: 48px;
    padding: 10px 14px;
    color: var(--vs-red);
    background: rgba(207, 40, 58, 0.08);
    border-radius: 999px;
    font-weight: 900;
    text-align: center;
}

.vs-job-card h3 {
    margin: 0 0 8px;
    color: var(--vs-navy);
    font-size: 24px;
}

.vs-job-card p {
    margin: 0 0 12px;
}

.vs-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vs-job-meta span {
    color: var(--vs-navy);
    font-size: 14px;
    font-weight: 800;
}

.vs-job-card > a {
    color: #fff;
    background: var(--vs-navy);
    border-radius: 999px;
    padding: 13px 20px;
    font-weight: 900;
}

.vs-employer-cta {
    padding: 116px 0;
    background-image:
        linear-gradient(90deg, rgba(5, 10, 18, 0.92), rgba(5, 10, 18, 0.56)),
        var(--employer-bg);
    background-position: center;
    background-size: cover;
}

.vs-employer-panel {
    max-width: 680px;
    color: #fff;
}

.vs-employer-panel h2,
.vs-employer-panel p {
    color: #fff;
}

.vs-employer-panel .btn-secondary,
.vs-newsletter-panel .btn-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
}

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

.vs-testimonial-grid article {
    padding: 34px;
    background: #fff;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 22px;
    box-shadow: 0 18px 56px rgba(11, 31, 58, 0.08);
}

.vs-testimonial-grid p {
    margin: 0 0 24px;
    color: var(--vs-navy);
    font-size: 18px;
    font-weight: 800;
}

.vs-testimonial-grid strong {
    display: block;
    color: var(--vs-red);
}

.vs-testimonial-grid span {
    color: var(--vs-muted);
    font-weight: 700;
}

.vs-newsletter-section {
    padding: 0 0 100px;
    background: linear-gradient(180deg, #fff 0%, #f6f7f9 100%);
}

.vs-newsletter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
    gap: 42px;
    align-items: center;
    padding: 52px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(207, 40, 58, 0.42), transparent 26%),
        linear-gradient(135deg, #07111f, #132d4f);
    border-radius: 28px;
}

.vs-newsletter-panel h2,
.vs-newsletter-panel p {
    color: #fff;
}

.vs-newsletter-form {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
}

.vs-newsletter-form input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 14px;
    color: #fff;
    background: transparent;
    font: inherit;
}

.vs-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.68);
}

.vs-newsletter-form button {
    min-height: 50px;
}

.reveal-on-scroll {
    transform: translateY(24px);
    opacity: 0;
    transition: transform 0.7s ease, opacity 0.7s ease;
}

.reveal-on-scroll.is-visible {
    transform: translateY(0);
    opacity: 1;
}

/* ── Scroll animations ─────────────────────── */
[data-anim] {
    opacity: 0;
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
[data-anim="fade-up"]    { transform: translateY(52px); }
[data-anim="fade-left"]  { transform: translateX(-52px); }
[data-anim="fade-right"] { transform: translateX(52px); }
[data-anim="scale"]      { transform: scale(0.92); }
[data-anim="fade"]       { transform: none; }

[data-anim].is-visible {
    opacity: 1;
    transform: none;
}

/* stagger delays for grid children */
[data-stagger] > [data-anim]:nth-child(1) { transition-delay:  0ms; }
[data-stagger] > [data-anim]:nth-child(2) { transition-delay:  90ms; }
[data-stagger] > [data-anim]:nth-child(3) { transition-delay: 180ms; }
[data-stagger] > [data-anim]:nth-child(4) { transition-delay: 270ms; }
[data-stagger] > [data-anim]:nth-child(5) { transition-delay: 360ms; }
[data-stagger] > [data-anim]:nth-child(6) { transition-delay: 450ms; }
[data-stagger] > [data-anim]:nth-child(7) { transition-delay: 540ms; }

/* user wants no motion? respect it */
@media (prefers-reduced-motion: reduce) {
    [data-anim] { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 980px) {
    .vs-search-panel,
    .vs-split-grid,
    .vs-newsletter-panel {
        grid-template-columns: 1fr;
    }

    .vs-trust-row,
    .vs-category-grid,
    .vs-testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vs-job-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    /* LOGO #1 mobile — صفحات داخلی موبایل */
    .site-logo img {
        width: auto;
        height: 52px;   /* ← سایز لوگو موبایل صفحات داخلی */
    }
    /* LOGO #2 mobile — صفحه اصلی موبایل */
    .site-header-overlay .site-logo img {
        height: 52px;   /* ← سایز لوگو موبایل صفحه اصلی */
    }

    .home-page .site-logo-seal {
        width: 78px;
        height: 78px;
        flex-basis: 78px;
    }

    .home-page .header-seal {
        width: 70px;
        height: 70px;
    }

    .home-page .header-seal-ring {
        width: 76px;
        height: 76px;
    }

    .home-page .header-seal-logo {
        width: 30px;
    }

    .vs-section {
        padding: 72px 0;
    }

    .hero-rating {
        align-items: flex-start;
        flex-direction: column;
        border-radius: 18px;
    }

    .vs-search-section {
        margin-top: -24px;
    }

    .vs-search-panel,
    .vs-newsletter-form {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .vs-search-panel button,
    .vs-newsletter-form button {
        min-height: 54px;
    }

    .vs-trust-row,
    .vs-category-grid,
    .vs-testimonial-grid {
        grid-template-columns: 1fr;
    }

    .vs-image-stack img {
        min-height: 360px;
        border-radius: 20px;
    }

    .vs-floating-card {
        right: 18px;
        bottom: 18px;
    }

    .vs-newsletter-panel {
        padding: 32px 22px;
        border-radius: 22px;
    }
}

.auth-page .site-main {
    background: #f5f5f7;
}

.jws-auth-page {
    min-height: calc(100vh - 92px);
    display: grid;
    place-items: center;
    padding: 86px 18px;
    background:
        radial-gradient(circle at 20% 12%, rgba(182, 50, 62, .08), transparent 34%),
        linear-gradient(180deg, #f7f7f9 0%, #eeeeF2 100%);
}

.jws-login-form {
    width: min(100%, 520px);
}

.jws-login-container,
.jws-login,
.jws-register {
    width: 100%;
}

.form-contaier.url {
    background: #fff;
    border: 1px solid rgba(8, 18, 37, .08);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(8, 18, 37, .11);
    padding: 42px;
}

.jws_heading_form {
    margin: 0 0 26px;
    color: #081225;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 0;
    text-align: center;
}

.jws-login-form p {
    margin: 0 0 16px;
}

.jws-login-form .input,
.jws-login-form input[type="email"],
.jws-login-form input[type="password"],
.jws-login-form input[type="text"] {
    width: 100%;
    min-height: 58px;
    border: 1px solid #e3e5eb;
    border-radius: 14px;
    background: #fff;
    color: #111;
    font: inherit;
    padding: 0 18px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.jws-login-form .form_group .input,
.jws-login-form .form_group input[type="email"],
.jws-login-form .form_group input[type="password"],
.jws-login-form .form_group input[type="text"] {
    padding-right: 54px;
}

.jws-login-form .input:focus {
    border-color: #b6323e;
    box-shadow: 0 0 0 4px rgba(182, 50, 62, .1);
}

.jws-login-form .form_group {
    position: relative;
    display: block;
}

.jws-login-container .form_group .field-icon.toggle-password2 {
    position: absolute;
    right: 16px;
    top: calc(50% + 1px);
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    padding: 0;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6f7687;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    -webkit-appearance: none;
    transition: color .2s ease, background-color .2s ease;
    z-index: 2;
}

.jws-login-container .form_group .field-icon.toggle-password2:hover,
.jws-login-container .form_group .field-icon.toggle-password2:focus-visible {
    color: #081225;
    background: rgba(8, 18, 37, .06);
}

.jws-login-container .form_group .field-icon.toggle-password2::before {
    content: "";
    width: 22px;
    height: 22px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M2%2012s3.5-7%2010-7%2010%207%2010%207-3.5%207-10%207S2%2012%202%2012Z'/%3E%3Ccircle%20cx='12'%20cy='12'%20r='3'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M2%2012s3.5-7%2010-7%2010%207%2010%207-3.5%207-10%207S2%2012%202%2012Z'/%3E%3Ccircle%20cx='12'%20cy='12'%20r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.jws-login-container .form_group .field-icon.toggle-password2.is-visible::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M9.88%209.88a3%203%200%201%200%204.24%204.24'/%3E%3Cpath%20d='M10.73%205.08A10.43%2010.43%200%200%201%2012%205c6.5%200%2010%207%2010%207a13.16%2013.16%200%200%201-1.67%202.68'/%3E%3Cpath%20d='M6.61%206.61A13.53%2013.53%200%200%200%202%2012s3.5%207%2010%207a9.74%209.74%200%200%200%205.39-1.61'/%3E%3Cline%20x1='2'%20x2='22'%20y1='2'%20y2='22'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M9.88%209.88a3%203%200%201%200%204.24%204.24'/%3E%3Cpath%20d='M10.73%205.08A10.43%2010.43%200%200%201%2012%205c6.5%200%2010%207%2010%207a13.16%2013.16%200%200%201-1.67%202.68'/%3E%3Cpath%20d='M6.61%206.61A13.53%2013.53%200%200%200%202%2012s3.5%207%2010%207a9.74%209.74%200%200%200%205.39-1.61'/%3E%3Cline%20x1='2'%20x2='22'%20y1='2'%20y2='22'/%3E%3C/svg%3E");
}

.forgetmenot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 4px 0 22px;
    color: #666;
    font-size: 14px;
}

.lost-pass-link,
.account a,
.privacy_policy a {
    color: #b6323e;
    font-weight: 800;
    text-decoration: none;
}

.jws-login-form .btn-main {
    display: block !important;
    width: 100% !important;
    min-height: 54px;
    border: 0 !important;
    border-radius: 14px;
    background: #081225 !important;
    color: #fff !important;
    cursor: pointer;
    font-size: 16px;
    font-weight: 900;
    transition: transform .2s ease, background .2s ease;
    appearance: none;
    -webkit-appearance: none;
}

.jws-login-form .btn-main:hover {
    background: #b6323e !important;
    transform: translateY(-1px);
}

.jws-login-form .account {
    margin-top: 14px;
    color: #666;
    text-align: center;
}

.user-roles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.user-roles .roles {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border: 1.5px solid #e2e5ec;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .2s, background .2s, box-shadow .2s;
}

.user-roles .roles.checked,
.user-roles .roles:has(input:checked) {
    border-color: #b6323e;
    background: rgba(182, 50, 62, .05);
    box-shadow: 0 4px 16px rgba(182, 50, 62, .1);
}

.user-roles input {
    display: none !important;
}

.user-roles .icon_check {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 7px;
    color: #081225;
    font-weight: 700;
    font-size: 13px;
    flex: 1;
}

.user-roles .icon_check i {
    display: inline-block !important;
    font-size: 15px !important;
    line-height: 1;
    flex-shrink: 0;
}

.user-roles .icon_check span {
    white-space: nowrap;
}

.user-roles .checkbox {
    width: 15px;
    height: 15px;
    border: 1.5px solid #cbd0dc;
    border-radius: 50%;
    flex-shrink: 0;
}

.user-roles .roles.checked .checkbox,
.user-roles .roles:has(input:checked) .checkbox {
    border-color: #b6323e;
    background: #b6323e;
    box-shadow: inset 0 0 0 3px #fff;
}

.privacy_policy {
    color: #666;
    font-size: 13px;
    line-height: 1.7;
}

.privacy_policy label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.popup-message {
    margin-bottom: 16px;
    border-radius: 12px;
    padding: 12px 14px;
    background: #eef7ef;
    color: #1f6b35;
    font-weight: 700;
}

.popup-message.is-error {
    background: #fff0f2;
    color: #9c1d2b;
}

.jws-password-hint,
.meter {
    display: none;
}

/* تنظیم حاشیه پاراگراف‌های داخل فرم ثبت‌نام */
.jws-login-form form p {
    margin: 0 0 14px;
}

.jws-login-form form p.submit {
    margin: 6px 0 0;
}

.auth-center-copy {
    color: #666;
    text-align: center;
}

@media (max-width: 640px) {
    .form-contaier.url {
        padding: 30px 20px;
    }

    .forgetmenot {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ======= VS Footer ======= */
.vs-footer {
    font-family: inherit;
    position: relative;
    z-index: 10;
}

/* — Top wave (first child of vs-footer-main, sits on the image) — */
.vs-footer-wave-top {
    position: relative;
    line-height: 0;
    pointer-events: none;
}

.vs-footer-wave-top svg {
    display: block;
    width: 100%;
    height: 90px;
}

/* — Bottom wave (below the footer) — */
.vs-footer-wave-bottom {
    position: relative;
    line-height: 0;
    margin-top: -1px;
    background: rgba(5, 8, 22, 0.82);
}

.vs-footer-wave-bottom svg {
    display: block;
    width: 100%;
    height: 50px;
    transform: scaleY(-1);
}

/* — Main footer body — */
.vs-footer {
    background: transparent;
}

.vs-footer-main {
    position: relative;
    padding: 180px 0 0;
    background-image: var(--footer-bg);
    background-size: cover;
    background-position: center center;
}

/* — Nav columns — */
.vs-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 24px 64px;
    justify-content: start;
    position: relative;
    z-index: 1;
    padding-bottom: 64px;
}

.vs-footer-col h4 {
    margin: 0 0 18px;
    color: var(--vs-red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.vs-footer-col a {
    display: block;
    margin-bottom: 10px;
    color: #3a3a3a;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.18s;
    white-space: nowrap;
}

.vs-footer-col a:hover {
    color: var(--vs-red);
}

/* — Inner wave (separates nav from bottom bar) — */
.vs-footer-wave-inner {
    line-height: 0;
    position: relative;
    z-index: 2;
    margin-bottom: -4px;
}

.vs-footer-wave-inner svg {
    display: block;
    width: 100%;
    height: 70px;
}

/* — Bottom bar — */
.vs-footer-bottom {
    background:
        radial-gradient(circle at 88% 18%, rgba(182, 50, 62, 0.5), transparent 38%),
        linear-gradient(90deg, rgba(8, 18, 37, 0.98), rgba(15, 29, 70, 0.96) 50%, rgba(8, 18, 37, 0.98));
    background-color: #081225;
    padding: 28px 0 32px;
    position: relative;
    z-index: 1;
    backdrop-filter: none;
}


.vs-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.vs-footer-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.vs-footer-bottom-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    text-align: center;
}

.vs-footer-bottom-text a {
    color: #e0889a;
    font-weight: 700;
}

.vs-footer-socials {
    display: flex;
    gap: 10px;
}

.vs-footer-socials a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--vs-red);
    border-radius: 50%;
    transition: background 0.18s, transform 0.18s;
}

.vs-footer-socials a:hover {
    background: #c43d4e;
    transform: translateY(-3px);
}

@media (max-width: 1024px) {
    .vs-footer-grid {
        grid-template-columns: repeat(2, auto);
        gap: 28px 48px;
    }
}

@media (max-width: 600px) {
    .vs-footer-main {
        background-image:
            linear-gradient(rgba(210,205,198,0.94), rgba(210,205,198,0.94)),
            var(--footer-bg);
    }
    .vs-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .vs-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .vs-footer-logo img {
        height: 64px;
        filter: brightness(0) invert(1);
    }
}

@media (max-width: 600px) {
    .vs-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
    .vs-footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
/* ================================================================ */

.site-footer-cinematic {
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    color: rgba(8, 18, 37, 0.76);
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.91), rgba(255, 255, 255, 0.78)),
        var(--footer-bg);
    background-position: center;
    background-size: cover;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 82px;
    background:
        radial-gradient(120% 90px at 50% -14px, #fff 48%, transparent 49%),
        linear-gradient(135deg, transparent 55%, rgba(182, 50, 62, 0.95) 56%, rgba(182, 50, 62, 0.95) 64%, transparent 65%);
}

.site-footer-cinematic .footer-grid {
    position: relative;
    z-index: 1;
    grid-template-columns: 1.35fr 0.8fr 0.8fr 0.9fr;
    gap: 48px;
}

.site-footer-cinematic .footer-brand {
    color: var(--vs-navy);
    font-size: 28px;
}

.site-footer-cinematic .footer-brand-column p {
    max-width: 340px;
    margin-top: 18px;
    color: rgba(8, 18, 37, 0.74);
    font-weight: 700;
}

.site-footer-cinematic h3 {
    color: var(--vs-navy);
    font-size: 18px;
}

.site-footer-cinematic a {
    color: rgba(8, 18, 37, 0.74);
    font-weight: 800;
}

.site-footer-cinematic a:hover {
    color: var(--vs-red);
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.site-footer .footer-socials a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin: 0;
    color: #fff;
    background: var(--vs-red);
    border-radius: 50%;
    font-size: 13px;
}

.site-footer-cinematic .footer-bottom {
    position: relative;
    z-index: 1;
    border-top-color: rgba(8, 18, 37, 0.14);
}

@media (max-width: 900px) {
    .site-footer-cinematic .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .site-footer-cinematic {
        padding-top: 90px;
    }

    .site-footer-cinematic .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* Detailed homepage reconstruction */
.hero-original {
    min-height: 900px;
    background-position: center right;
    background-size: cover;
    animation: heroImageReveal 1.1s ease both;
}

.hero-original .hero-copy {
    animation: heroContentReveal 0.9s ease 0.12s both;
}

.hero-seal {
    position: absolute;
    right: clamp(22px, 7vw, 110px);
    top: 52%;
    z-index: 2;
    width: 148px;
    height: 148px;
    display: grid;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(8, 18, 37, 0.42);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    animation: rotateSeal 18s linear infinite;
}

.hero-seal span {
    position: absolute;
    inset: 14px;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-align: center;
    text-transform: uppercase;
}

.hero-seal strong {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: #fff;
    background: var(--vs-red);
    border-radius: 50%;
    font-size: 20px;
}

@keyframes rotateSeal {
    to {
        transform: rotate(360deg);
    }
}

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

@keyframes heroImageReveal {
    from {
        filter: saturate(0.78) contrast(1.08);
    }
    to {
        filter: saturate(1) contrast(1);
    }
}

.hero-original .hero-copy h1 {
    font-size: clamp(64px, 6.8vw, 96px);
    letter-spacing: 0;
}

.hero-original .hero-copy p {
    max-width: 610px;
}

.hero-original .btn-primary::after {
    content: "→";
    margin-left: 10px;
}

.vs-logo-strip {
    padding: 46px 0 54px;
    background: #fff;
}

.vs-logo-strip p {
    margin: 0 0 24px;
    color: var(--vs-muted);
    font-weight: 900;
    text-align: center;
}

.vs-logo-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 5vw, 62px);
}

.vs-logo-row img {
    max-width: 132px;
    max-height: 42px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.58;
    transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.vs-logo-row img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-2px);
}

.vs-resume-section {
    background: #fff;
}

.vs-split-reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.vs-floating-card-navy {
    background: var(--vs-navy);
    box-shadow: 0 24px 60px rgba(8, 18, 37, 0.22);
}

.vs-testimonial-slider-section {
    background: var(--vs-soft);
}

.vs-testimonial-slider {
    display: grid;
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
    gap: 56px;
    align-items: stretch;
}

.vs-slider-media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 54px rgba(15, 29, 70, 0.12);
}

.vs-slider-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 520px;
    padding: 52px;
    background: #fff;
    border: 1px solid rgba(15, 29, 70, 0.08);
    border-radius: 24px;
}

.vs-slide {
    display: none;
}

.vs-slide.is-active {
    display: block;
    animation: fadeSlide 0.45s ease both;
}

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

.vs-slide blockquote {
    margin: 18px 0 28px;
    color: var(--vs-navy);
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 900;
    line-height: 1.07;
}

.vs-slide strong {
    display: block;
    color: var(--vs-red);
    font-size: 18px;
}

.vs-slide span {
    color: var(--vs-muted);
    font-weight: 800;
}

.vs-slider-controls {
    display: flex;
    gap: 12px;
    margin-top: 34px;
}

.vs-slider-controls button,
.vs-company-arrows span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 0;
    color: #fff;
    background: var(--vs-navy);
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.vs-top-companies-section {
    background: #fff;
}

.vs-company-arrows {
    display: flex;
    gap: 10px;
}

.vs-company-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.vs-company-card,
.vs-employer-card {
    background: #fff;
    border: 1px solid rgba(15, 29, 70, 0.08);
    border-radius: 24px;
    box-shadow: 0 16px 42px rgba(15, 29, 70, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vs-company-card:hover,
.vs-employer-card:hover,
.post-card:hover,
.vs-job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(15, 29, 70, 0.12);
}

.vs-company-card {
    min-width: 240px;
    padding: 28px;
}

.vs-company-card img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 14px;
}

.vs-company-card h3 {
    margin: 22px 0 6px;
    color: var(--vs-navy);
    font-size: 21px;
}

.vs-company-card p {
    margin: 0 0 20px;
    color: var(--vs-muted);
    font-weight: 800;
}

.vs-company-card a,
.vs-employer-card a {
    display: inline-flex;
    color: var(--vs-red);
    font-weight: 900;
}

.vs-employers-section {
    background: var(--vs-soft);
}

.vs-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: -20px 0 34px;
}

.vs-filter-tabs button {
    border: 1px solid rgba(15, 29, 70, 0.1);
    color: var(--vs-navy);
    background: #fff;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 900;
    cursor: pointer;
}

.vs-filter-tabs button.is-active {
    color: #fff;
    background: var(--vs-red);
    border-color: var(--vs-red);
}

.vs-employer-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.vs-employer-card {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 28px;
}

.vs-employer-card.is-hidden {
    display: none;
}

.vs-employer-card > img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 16px;
}

.vs-employer-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.vs-employer-card h3 {
    margin: 0;
    color: var(--vs-navy);
    font-size: 23px;
}

.vs-employer-card-head span {
    color: var(--vs-red);
    font-weight: 900;
}

.vs-employer-card p {
    margin: 12px 0 0;
}

.vs-mission-cta {
    padding: 138px 0;
    color: #fff;
    text-align: center;
    background-image:
        linear-gradient(90deg, rgba(8, 18, 37, 0.88), rgba(8, 18, 37, 0.5)),
        var(--mission-bg);
    background-position: center;
    background-size: cover;
}

.vs-mission-cta h2 {
    max-width: 780px;
    margin: 0 auto 18px;
    color: #fff;
    font-size: clamp(44px, 6vw, 82px);
    line-height: 1;
}

.vs-mission-cta p {
    max-width: 640px;
    margin: 0 auto 32px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 19px;
}

.vs-why-section {
    background: #fff;
}

.vs-statistics-section {
    padding: 70px 0;
    background: #fff;
}

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

.vs-statistics-grid div {
    padding: 40px;
    text-align: center;
    background: var(--vs-soft);
    border-radius: 24px;
}

.vs-statistics-grid strong {
    display: block;
    color: var(--vs-red);
    font-size: clamp(46px, 5vw, 78px);
    line-height: 1;
}

.vs-statistics-grid span {
    display: block;
    margin-top: 12px;
    color: var(--vs-navy);
    font-weight: 900;
}

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

.post-card {
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card img {
    height: 210px;
    object-fit: cover;
}

@media (max-width: 1100px) {
    .post-grid,
    .vs-employer-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-seal {
        display: none;
    }
}

@media (max-width: 900px) {
    .hero-original {
        min-height: 760px;
    }

    .vs-testimonial-slider,
    .vs-split-reverse {
        grid-template-columns: 1fr;
    }

    .vs-slider-content,
    .vs-slider-media img {
        min-height: auto;
    }

    .vs-company-row {
        grid-template-columns: repeat(4, 240px);
    }
}

@media (max-width: 640px) {
    .hero-original .hero-copy h1 {
        font-size: clamp(46px, 14vw, 66px);
    }

    .vs-slide blockquote {
        font-size: 30px;
    }

    .vs-slider-content {
        padding: 30px 22px;
    }

    .post-grid,
    .vs-employer-card-grid,
    .vs-statistics-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Testimonial Slider ── */
.tst-section {
    background: #fff;
    padding: 48px 0 36px;
    overflow: hidden;
}

.tst-kicker {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--vs-navy);
    margin: 0 0 32px;
}

.tst-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.tst-slides-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 390px;
}

.tst-slide {
    display: none;
    grid-template-columns: 290px 1fr;
    gap: 56px;
    align-items: center;
}

.tst-slide.is-active {
    display: grid;
}

.tst-img-col img {
    width: 100%;
    border-radius: 16px 16px 0 0;
    display: block;
    object-fit: cover;
    max-height: 390px;
}

.tst-text-col {
    padding: 24px 0;
}

.tst-text-col blockquote {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 700;
    color: var(--vs-navy);
    line-height: 1.4;
    margin: 0 0 48px;
    quotes: none;
}

.tst-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tst-author strong {
    font-size: 17px;
    font-weight: 800;
    color: var(--vs-navy);
}

.tst-author span {
    font-size: 14px;
    color: var(--vs-muted);
}

.tst-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.08);
    color: var(--vs-navy);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s;
    margin: 0 16px;
}

.tst-arrow:hover {
    background: rgba(0,0,0,0.15);
}

.tst-progress-wrap {
    max-width: 1100px;
    margin: 40px auto 0;
    padding: 0 80px;
}

.tst-progress-track {
    width: 100%;
    height: 2px;
    background: #d1d5db;
    border-radius: 2px;
    position: relative;
}

.tst-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 33.333%;
    background: var(--vs-navy);
    border-radius: 2px;
    transition: left 0.35s ease, width 0.35s ease;
}

.tst-logos-outer {
    max-width: 900px;
    margin: 36px auto 0;
    padding: 0 16px 60px;
}

.tst-logo-set {
    display: none;
    justify-content: space-around;
    align-items: center;
    gap: 32px;
}

.tst-logo-set.is-active {
    display: flex;
}

.tst-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 900;
    color: #111;
    letter-spacing: -0.02em;
}

.tst-logo sup {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    vertical-align: super;
    color: var(--vs-muted);
}

@media (max-width: 860px) {
    .tst-slide {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .tst-img-col img {
        max-height: 340px;
        border-radius: 16px;
        object-position: top;
    }

    .tst-logo-set.is-active {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ── Explore Trending Jobs ── */
.tjob-section {
    padding: 80px 0;
    background: #fff;
}

.tjob-heading {
    text-align: center;
    font-size: clamp(24px, 2.8vw, 38px);
    font-weight: 900;
    color: var(--vs-navy);
    margin: 0 0 48px;
}

.tjob-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 12px;
}

.tjob-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.tjob-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    color: var(--vs-navy);
    transition: border-color 0.18s, box-shadow 0.18s;
    white-space: nowrap;
}

.tjob-pill svg {
    flex-shrink: 0;
    color: #6b7280;
}

.tjob-pill:hover {
    border-color: var(--vs-navy);
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    color: var(--vs-navy);
}

.tjob-count {
    position: absolute;
    top: -10px;
    right: -6px;
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
    line-height: 1;
}

@media (max-width: 640px) {
    .tjob-pill {
        font-size: 14px;
        padding: 11px 16px;
    }
}

/* ── Top Employers Slider ── */
.emp-section {
    padding: 66px 0;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(182,50,62,.18) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(99,102,241,.12) 0%, transparent 50%),
        linear-gradient(135deg, #0b1430 0%, #0f2550 60%, #0d1e40 100%);
    position: relative;
    overflow: hidden;
}
.emp-section::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.4' fill='%23ffffff' fill-opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none;
}
.emp-section .container { position: relative; z-index: 1; }

.emp-heading {
    text-align: center;
    font-size: clamp(24px, 2.8vw, 38px);
    font-weight: 900;
    color: #fff;
    margin: 0 0 24px;
}

.emp-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.emp-filter {
    padding: 8px 22px;
    border-radius: 999px;
    border: 1.5px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.06);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s, color 0.18s;
}

.emp-filter.is-active {
    border-color: #fff;
    background: #fff;
    color: var(--vs-navy);
    font-weight: 800;
}

.emp-filter:hover:not(.is-active) {
    border-color: rgba(255,255,255,.6);
    color: #fff;
}

/* Mobile: filters become a single horizontally-scrollable row of compact pills
   (otherwise they squish and wrap into oversized ovals on narrow screens). */
@media (max-width: 640px) {
    .emp-filters {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 8px;
        padding: 0 16px 6px;
        margin-left: -16px;
        margin-right: -16px;
    }
    .emp-filters::-webkit-scrollbar { display: none; }
    .emp-filter {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 8px 16px;
        font-size: 13px;
    }
}

.emp-slider-outer {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.emp-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vs-navy);
    transition: border-color 0.18s, box-shadow 0.18s;
    z-index: 2;
}

.emp-arrow:hover {
    border-color: var(--vs-navy);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.emp-slider {
    flex: 1;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.emp-slider::-webkit-scrollbar {
    display: none;
}

.emp-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 220px;
    scroll-snap-align: start;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    padding: 22px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    transition: box-shadow 0.2s;
}

.emp-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}

.emp-card.is-hidden {
    display: none;
}

.emp-logo {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.emp-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--vs-navy);
    margin: 0 0 10px;
}

.emp-card p {
    font-size: 14px;
    color: var(--vs-muted);
    line-height: 1.55;
    margin: 0 0 20px;
    flex: 1;
}

.emp-jobs-link {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 999px;
    background: #fef2f2;
    color: var(--vs-red);
    font-size: 14px;
    font-weight: 700;
    transition: background 0.18s;
}

.emp-jobs-link:hover {
    background: #fee2e2;
    color: var(--vs-red);
}

.emp-view-all {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,.55);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.emp-view-all:hover {
    background: var(--vs-red);
    border-color: var(--vs-red);
    color: #fff;
}

@media (max-width: 900px) {
    .emp-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 560px) {
    .emp-card {
        flex: 0 0 calc(85% - 10px);
    }
}

/* ── Logo Strip New ── */
.logo-strip-new {
    padding: 40px 0;
    background: #fff;
    border-top: 1px solid var(--vs-line);
}

.logo-strip-label {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--vs-muted);
    margin: 0 0 24px;
}

.logo-strip-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.lsn-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 900;
    color: #6b7280;
    letter-spacing: -0.02em;
    transition: color 0.18s;
}

.lsn-logo:hover {
    color: #4b5563;
}

.lsn-logo sup {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    vertical-align: super;
}

/* ── Start Your Next Mission ── */
.snm-section {
    padding: 88px 0;
    background: #fff;
}

.snm-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.snm-left h2 {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 900;
    color: var(--vs-navy);
    line-height: 1.1;
    margin: 0 0 16px;
}

.snm-left > p {
    font-size: 15px;
    color: var(--vs-muted);
    line-height: 1.65;
    margin: 0 0 32px;
}

.snm-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
}

.snm-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: var(--vs-navy);
    font-weight: 500;
}

.snm-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.snm-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border: 2px solid var(--vs-navy);
    border-radius: 8px;
    color: var(--vs-navy);
    font-size: 15px;
    font-weight: 800;
    transition: background 0.18s, color 0.18s;
}

.snm-btn:hover {
    background: var(--vs-navy);
    color: #fff;
}

.snm-right img {
    width: 100%;
    border-radius: 16px;
    display: block;
    object-fit: cover;
}

/* ── Build a Resume ── */
.bra-section {
    padding: 88px 0;
    background: #f8f9fb;
}

.bra-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.bra-left img {
    width: 100%;
    border-radius: 16px;
    display: block;
    object-fit: cover;
}

.bra-right h2 {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 900;
    color: var(--vs-navy);
    line-height: 1.1;
    margin: 0 0 16px;
}

.bra-right > p {
    font-size: 15px;
    color: var(--vs-muted);
    line-height: 1.65;
    margin: 0 0 28px;
}

.bra-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border: 2px solid var(--vs-navy);
    border-radius: 8px;
    color: var(--vs-navy);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 32px;
    transition: background 0.18s, color 0.18s;
}

.bra-btn:hover {
    background: var(--vs-navy);
    color: #fff;
}

.bra-checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bra-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--vs-navy);
    font-weight: 600;
}

.bra-check::before {
    content: '✓';
    color: var(--vs-red);
    font-weight: 900;
    font-size: 16px;
}

@media (max-width: 860px) {
    .snm-split, .bra-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .logo-strip-row {
        gap: 28px;
    }
}

/* ── Helping Veterans Build ── */
.hvb-section {
    padding: 96px 0;
    background: #f4f5f8;
}

.hvb-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.hvb-kicker {
    display: inline-block;
    background: #ede9f8;
    color: #6d28d9;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.hvb-left h2 {
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 900;
    color: var(--vs-navy);
    line-height: 1.1;
    margin: 0 0 18px;
}

.hvb-left > p {
    font-size: 16px;
    color: var(--vs-muted);
    line-height: 1.65;
    margin: 0 0 36px;
    max-width: 500px;
}

.hvb-progress-wrap {
    margin-bottom: 40px;
}

.hvb-progress-label {
    font-size: 15px;
    font-weight: 800;
    color: var(--vs-navy);
    margin-bottom: 10px;
}

.hvb-progress-bar {
    position: relative;
    height: 6px;
    background: #dde0e8;
    border-radius: 99px;
    margin-bottom: 12px;
}

.hvb-progress-fill {
    position: relative;
    height: 100%;
    width: 0;
    background: var(--vs-red);
    border-radius: 99px;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.hvb-progress-tip {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    transform: translateX(50%);
    background: var(--vs-red);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 5px;
    white-space: nowrap;
}

.hvb-progress-tip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--vs-red);
}

.hvb-progress-note {
    font-size: 14px;
    color: var(--vs-muted);
    margin: 0;
}

.hvb-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hvb-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--vs-red);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    padding: 15px 30px;
    border-radius: 8px;
    transition: background 0.18s;
}

.hvb-btn-primary:hover {
    background: #8b1e2d;
    color: #fff;
}

.hvb-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--vs-navy);
    font-size: 15px;
    font-weight: 800;
    padding: 13px 28px;
    border-radius: 8px;
    border: 2px solid var(--vs-navy);
    transition: background 0.18s, color 0.18s;
}

.hvb-btn-outline:hover {
    background: var(--vs-navy);
    color: #fff;
}

.hvb-right img {
    width: 100%;
    border-radius: 18px;
    display: block;
    object-fit: cover;
}

@media (max-width: 860px) {
    .hvb-split {
        grid-template-columns: 1fr;
        gap: 44px;
    }
}

/* ── Advance Your Civilian Career ── */
.ajc-section {
    padding: 96px 0;
    background: #fff;
}

.ajc-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.ajc-kicker {
    display: inline-block;
    background: #f3eef8;
    color: #7c3aed;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.ajc-left h2 {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 900;
    color: var(--vs-navy);
    line-height: 1.1;
    margin: 0 0 20px;
}

.ajc-left p {
    font-size: 16px;
    color: var(--vs-muted);
    line-height: 1.65;
    margin: 0 0 32px;
    max-width: 480px;
}

.ajc-link {
    font-size: 15px;
    font-weight: 800;
    color: var(--vs-navy);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.18s;
}

.ajc-link:hover {
    color: var(--vs-red);
}

.ajc-feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 36px;
}

.ajc-feature:last-child {
    margin-bottom: 0;
}

.ajc-check {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--vs-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.ajc-feature h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--vs-navy);
    margin: 0 0 10px;
    line-height: 1.3;
}

.ajc-feature p {
    font-size: 15px;
    color: var(--vs-muted);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 860px) {
    .ajc-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* ── CTA Mission Strip ── */
.mission-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 52px 64px;
    border-radius: 22px;
    margin-bottom: 80px;
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.48) 55%, rgba(0, 0, 0, 0.18) 100%),
        url('../images/blog/Soldier-at-sunrise-with-American-flag.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Full-bleed variant — spans the entire viewport width */
.mission-strip--full {
    width: 100%;
    border-radius: 0;
    padding: 64px clamp(24px, 6vw, 120px);
}
.mission-strip--full .mission-strip-inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.mission-strip-text {
    color: #fff;
    font-size: clamp(22px, 2.8vw, 36px);
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.mission-strip-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--vs-red);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    border-radius: 10px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mission-strip-btn:hover {
    background: #8b1e2d;
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .mission-strip {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 32px;
    }
    .mission-strip--full { padding: 40px 24px; }
    .mission-strip--full .mission-strip-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── Built Specifically for Veterans ── */
.bsv-section {
    padding: 80px 0;
    background: #fff;
}

.bsv-heading {
    text-align: center;
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 900;
    color: var(--vs-navy);
    line-height: 1.1;
    margin: 0 0 64px;
}

.bsv-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.bsv-feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 36px;
}

.bsv-feature:last-of-type {
    margin-bottom: 40px;
}

.bsv-check {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--vs-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.bsv-feature h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--vs-navy);
    margin: 0 0 8px;
    line-height: 1.3;
}

.bsv-feature p {
    font-size: 15px;
    color: var(--vs-muted);
    line-height: 1.65;
    margin: 0;
}

.bsv-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--vs-navy);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    padding: 15px 30px;
    border-radius: 8px;
    transition: background 0.18s;
}

.bsv-cta:hover {
    background: #0f2255;
    color: #fff;
}

.bsv-image img {
    width: 100%;
    border-radius: 16px;
    display: block;
    object-fit: cover;
}

@media (max-width: 860px) {
    .bsv-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bsv-image {
        order: -1;
    }
}

/* ── Resource teaser section ── */
.res-teaser {
    padding: 80px 0;
    background: #f8f9fb;
}

.res-teaser-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

.res-teaser-header h2 {
    font-size: clamp(20px, 1.8vw, 28px);
    font-weight: 800;
    color: var(--vs-navy);
    margin: 0 0 6px;
    line-height: 1.15;
    white-space: nowrap;
}

.res-teaser-header p {
    margin: 0;
    color: var(--vs-muted);
    font-size: 15px;
}

.res-teaser-viewall {
    white-space: nowrap;
    color: #4f46e5;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-top: 6px;
    transition: gap 0.18s;
}

.res-teaser-viewall:hover {
    gap: 10px;
    color: #4f46e5;
}

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

.res-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
}

.res-card-img {
    aspect-ratio: 16 / 11;
    overflow: hidden;
}

.res-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.32s ease;
}

.res-card:hover .res-card-img img {
    transform: scale(1.04);
}

.res-badge {
    display: inline-block;
    margin: 16px 16px 8px;

/* Jobs page additions */
.jobs-map {
    width: 100%;
    height: 460px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(17,24,39,0.06);
    background: linear-gradient(180deg,#eef2ff,#f8fafc);
    margin-bottom: 18px;
}
.jobs-map.fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    font-weight: 600;
    font-size: 16px;
}

.jobs-search-panel {
    background: white;
    padding: 14px;
    border-radius: 10px;
    display: flex;
    gap: 12px;
    align-items: center;
    margin: -50px auto 28px;
    width: min(1100px, calc(100% - 40px));
    box-shadow: 0 6px 20px rgba(2,6,23,0.06);
}
.jobs-search-panel .field { flex: 1; }
.jobs-search-panel input[type="text"], .jobs-search-panel select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e6e9ef;
    border-radius: 8px;
    font-size: 14px;
    color: #0f172a;
}
.jobs-search-panel button[type="submit"]{
    background: linear-gradient(90deg,#4f46e5,#6366f1);
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.jobs-layout{ display:flex; gap:24px; align-items:flex-start; }
.jobs-sidebar{ width:320px; flex:0 0 320px; position:sticky; top:90px; align-self:flex-start; }
.jobs-main{ flex:1; }

.filter-section{ background:#fff; border-radius:10px; padding:14px; box-shadow:0 6px 18px rgba(2,6,23,0.04); margin-bottom:16px; }
.filter-section h4{ margin:0 0 8px; font-size:14px; color:#0f172a; }
.filter-section .opt{ display:flex; gap:8px; align-items:center; padding:6px 0; }
.filter-actions{ display:flex; gap:10px; margin-top:8px; }
.filter-actions button{ flex:1; padding:10px; border-radius:8px; border:1px solid #e2e8f0; background:#fff; }

.jobs-grid{ display:grid; grid-template-columns: repeat(auto-fill,minmax(320px,1fr)); gap:16px; }
.jcard{ background:#fff; border-radius:12px; padding:14px; box-shadow:0 6px 18px rgba(2,6,23,0.04); position:relative; overflow:hidden; }
.jcard--featured{ border:2px solid #4f46e5; }
.jcard-badge{ position:absolute; top:12px; right:12px; background:#fff; padding:6px 8px; border-radius:8px; font-weight:700; font-size:12px; box-shadow:0 6px 18px rgba(2,6,23,0.04); }
.jcard-top{ display:flex; gap:12px; align-items:center; }
.jcard-logo{ width:56px; height:56px; border-radius:10px; background:#eef2ff; display:flex; align-items:center; justify-content:center; font-weight:800; color:#0f172a; overflow:hidden; }
.jcard-logo img{ width:100%; height:100%; object-fit:cover; display:block; }
.jcard-meta{ font-size:13px; color:#475569; }
.jcard-title{ margin:12px 0 8px; font-size:16px; }
.jcard-tags{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px; }
.jcard-tag{ background:#eef2ff; padding:6px 8px; border-radius:999px; font-size:12px; color:#0f172a; }
.jcard-tag--pay{ background: linear-gradient(90deg,#eef2ff,#eef2ff); font-weight:700; }
.jcard-apply{ display:inline-block; margin-top:8px; padding:10px 12px; background:#b91c1c; color:#fff; border-radius:8px; text-decoration:none; font-weight:700; }

/* Responsive */
@media (max-width: 991px){
    .jobs-layout{ flex-direction:column; }
    .jobs-sidebar{ width:100%; position:static; top:auto; }
    .jobs-search-panel{ width:calc(100% - 28px); margin-left:14px; margin-right:14px; }
    .jobs-map{ height:320px; }
}

    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    align-self: flex-start;
}

.res-badge-guide {
    background: var(--vs-red);
    color: #fff;
}

.res-badge-report {
    background: var(--vs-navy);
    color: #fff;
}

.res-badge-guide-alt {
    background: #f5a623;
    color: #fff;
}

.res-badge-article {
    background: transparent;
    color: var(--vs-navy);
    border: 1.5px solid var(--vs-navy);
}

.res-card-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--vs-navy);
    line-height: 1.35;
    margin: 0 16px 20px;
}

@media (max-width: 900px) {
    .res-teaser-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .res-teaser-grid {
        grid-template-columns: 1fr;
    }

    .res-teaser-header {
        flex-direction: column;
    }
}

.vs-ai-support-strip {
    position: relative;
    z-index: 1;
    padding: 26px 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 85% 20%, rgba(182, 50, 62, .16) 0%, transparent 55%),
        linear-gradient(90deg, rgba(8, 18, 37, .98), rgba(13, 26, 52, .96));
}
.vs-ai-support-strip::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.4' fill='%23ffffff' fill-opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}
.vs-ai-support-strip > .container { position: relative; z-index: 1; }

.vs-ai-support-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(180px, .7fr) minmax(260px, 1fr);
    align-items: center;
    gap: 24px;
    min-height: 112px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background:
        radial-gradient(circle at 10% 0, rgba(182, 50, 62, .24), transparent 28%),
        rgba(255, 255, 255, .04);
    color: #fff;
    padding: 18px 26px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .16);
}

.vs-ai-operator {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vs-ai-avatar {
    position: relative;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .9);
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

.vs-ai-avatar img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.vs-ai-avatar span {
    position: absolute;
    right: 0;
    bottom: 3px;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #43c564;
}

.vs-ai-kicker,
.vs-ai-stat span,
.vs-ai-contact span {
    display: block;
    color: rgba(255, 255, 255, .64);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.vs-ai-operator strong,
.vs-ai-contact strong {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
}

.vs-ai-stat,
.vs-ai-contact {
    min-height: 66px;
    border-left: 1px solid rgba(255, 255, 255, .18);
    padding-left: 28px;
}

.vs-ai-stat strong {
    display: block;
    margin: 2px 0;
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.vs-ai-stat small {
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
    font-weight: 700;
}

.vs-ai-contact button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin-top: 10px;
    border: 0;
    border-radius: 999px;
    background: #b6323e;
    color: #fff;
    padding: 0 16px;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: background-color .18s ease, transform .18s ease;
}

.vs-ai-contact button:hover {
    background: #d94a56;
    color: #fff;
    transform: translateY(-1px);
}

.vs-ai-chat {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.vs-ai-chat.is-open {
    display: flex;
}

body.vs-ai-chat-open {
    overflow: hidden;
}

.vs-ai-chat-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 18, .68);
    backdrop-filter: blur(8px);
}

.vs-ai-chat-window {
    position: relative;
    width: min(100%, 760px);
    height: min(78vh, 680px);
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 22px;
    background: #0d182b;
    color: #fff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .42);
}

.vs-ai-chat-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .04);
}

.vs-ai-chat-avatar {
    position: relative;
    flex: 0 0 auto;
    width: 66px;
    height: 66px;
    border: 3px solid rgba(255, 255, 255, .85);
    border-radius: 50%;
    background: #fff;
}

.vs-ai-chat-avatar img,
.vs-ai-message-avatar img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.vs-ai-chat-avatar span {
    position: absolute;
    right: 1px;
    bottom: 4px;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #43c564;
}

.vs-ai-chat-header h2 {
    margin: 0;
    color: #fff;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.1;
}

.vs-ai-chat-header p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .62);
    font-size: 15px;
    font-weight: 800;
}

.vs-ai-chat-header p span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #43c564;
    box-shadow: 0 0 14px rgba(67, 197, 100, .8);
}

.vs-ai-chat-close {
    margin-left: auto;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
    color: rgba(255, 255, 255, .76);
    cursor: pointer;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.vs-ai-chat-body {
    overflow-y: auto;
    padding: 32px 30px;
}

.vs-ai-message-row {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 18px;
}

.vs-ai-message-row.is-user {
    justify-content: flex-end;
}

.vs-ai-message-avatar {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, .82);
    border-radius: 50%;
    background: #fff;
}

.vs-ai-message {
    max-width: min(100%, 540px);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 18px;
    background: #17243a;
    color: rgba(255, 255, 255, .88);
    padding: 18px 20px;
    font-size: 18px;
    line-height: 1.58;
}

.vs-ai-message.is-typing::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 3px;
    background: rgba(255, 255, 255, .78);
    vertical-align: -0.12em;
    animation: vsAiCursor .85s steps(1) infinite;
}

@keyframes vsAiCursor {
    50% { opacity: 0; }
}

.vs-ai-typing-dots {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.vs-ai-typing-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .7);
    animation: vsAiDot 1s infinite ease-in-out;
}

.vs-ai-typing-dots span:nth-child(2) {
    animation-delay: .12s;
}

.vs-ai-typing-dots span:nth-child(3) {
    animation-delay: .24s;
}

@keyframes vsAiDot {
    0%, 80%, 100% { transform: translateY(0); opacity: .45; }
    40% { transform: translateY(-4px); opacity: 1; }
}

.vs-ai-message-row.is-user .vs-ai-message {
    background: #b6323e;
    border-color: rgba(255, 255, 255, .08);
    color: #fff;
}

.vs-ai-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 4px 56px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .22s ease, transform .22s ease;
}

.vs-ai-quick-actions.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.vs-ai-quick-actions button {
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .82);
    cursor: pointer;
    padding: 9px 13px;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
}

.vs-ai-quick-actions button:hover {
    border-color: rgba(182, 50, 62, .7);
    color: #fff;
}

.vs-ai-chat-form {
    display: grid;
    grid-template-columns: 1fr 58px;
    gap: 14px;
    padding: 22px 28px 26px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.vs-ai-chat-form input {
    min-height: 58px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: #17243a;
    color: #fff;
    font: inherit;
    font-size: 18px;
    outline: none;
    padding: 0 22px;
}

.vs-ai-chat-form input::placeholder {
    color: rgba(255, 255, 255, .42);
}

.vs-ai-chat-form input:focus {
    border-color: rgba(182, 50, 62, .85);
    box-shadow: 0 0 0 4px rgba(182, 50, 62, .16);
}

.vs-ai-chat-form button {
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: #b6323e;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vs-ai-chat-form button:hover {
    background: #d94a56;
}

@media (max-width: 900px) {
    .vs-ai-support-panel {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .vs-ai-stat,
    .vs-ai-contact {
        min-height: 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .16);
        padding: 18px 0 0;
    }
}

@media (max-width: 560px) {
    .vs-ai-support-strip {
        padding: 18px 0;
    }

    .vs-ai-support-panel {
        padding: 18px;
    }

    .vs-ai-avatar {
        width: 58px;
        height: 58px;
    }

    .vs-ai-operator strong,
    .vs-ai-contact strong {
        font-size: 19px;
    }

    .vs-ai-chat {
        padding: 12px;
    }

    .vs-ai-chat-window {
        height: min(86vh, 680px);
        border-radius: 18px;
    }

    .vs-ai-chat-header {
        padding: 18px;
    }

    .vs-ai-chat-avatar {
        width: 54px;
        height: 54px;
    }

    .vs-ai-chat-header h2 {
        font-size: 20px;
    }

    .vs-ai-chat-close {
        width: 44px;
        height: 44px;
        font-size: 28px;
    }

    .vs-ai-chat-body {
        padding: 22px 18px;
    }

    .vs-ai-message {
        font-size: 15px;
    }

    .vs-ai-quick-actions {
        margin-left: 0;
    }

    .vs-ai-chat-form {
        grid-template-columns: 1fr 50px;
        gap: 10px;
        padding: 16px;
    }

    .vs-ai-chat-form input,
    .vs-ai-chat-form button {
        min-height: 50px;
        height: 50px;
    }
}

/* ── Auth page messages ──────────────────────────────────────────── */
.jws-login-container .popup-message {
    display: none;
    margin: 0 0 14px;
    padding: 11px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.5;
}
.jws-login-container .popup-message[style*="display:block"],
.jws-login-container .popup-message[style*="display: block"] {
    display: block !important;
}
.jws-login-container .popup-message.is-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #b91c1c;
}
.jws-login-container .popup-message.is-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}
.jws-login-container .popup-message.is-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

/* ═══════════════════════════════════════════════════════════════════
   JOB LISTING PAGE  (/jobs/)
   ═══════════════════════════════════════════════════════════════════ */
.jobs-page { padding-bottom: 60px; }

.jobs-hero {
    background: linear-gradient(135deg, #0b1430 0%, #111b3f 60%, #1e2d5a 100%);
    padding: 56px 0 44px;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}
.jobs-hero h1 { font-size: clamp(28px,4vw,46px); font-weight: 900; margin: 0 0 10px; line-height: 1.15; }
.jobs-hero h1 span { color: #b6323e; }
.jobs-hero p { font-size: 16px; color: rgba(255,255,255,.7); margin: 0 0 28px; }

.jobs-search-bar {
    display: flex;
    max-width: 560px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.3);
}
.jobs-search-bar input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    font-size: 15px;
    outline: none;
    color: #1a2035;
}
.jobs-search-bar button {
    padding: 14px 24px;
    background: #b6323e;
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s;
}
.jobs-search-bar button:hover { background: #8f2530; }

.jobs-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }

/* Sidebar */
.jobs-sidebar {
    background: #fff;
    border: 1px solid #e4e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(10,20,60,.06);
    position: sticky;
    top: 80px;
}
.jf-section { margin-bottom: 24px; }
.jf-section:last-of-type { margin-bottom: 16px; }
.jf-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #64748b; margin-bottom: 10px; }
.jf-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #1a2035;
    padding: 5px 0;
    cursor: pointer;
}
.jf-opt input { accent-color: #111b3f; cursor: pointer; }
.jf-apply-btn {
    width: 100%;
    padding: 10px;
    background: #111b3f;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
    margin-top: 4px;
}
.jf-apply-btn:hover { background: #1e2d5a; }
.jf-clear-btn {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: 12.5px;
    color: #64748b;
    text-decoration: none;
}
.jf-clear-btn:hover { color: #b6323e; }

/* Job alert subscription box */
.jf-alert-box {
    margin-top: 20px;
    background: linear-gradient(135deg, #0f1d46 0%, #1e3a8a 100%);
    border-radius: 12px;
    padding: 20px 18px;
    color: #fff;
}
.jf-alert-title { font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.jf-alert-desc { font-size: 12.5px; color: rgba(255,255,255,.75); margin: 0 0 14px; line-height: 1.5; }
.jf-alert-success { font-size: 13px; background: rgba(255,255,255,.15); border-radius: 8px; padding: 10px 12px; }
.jf-alert-error { font-size: 12px; color: #fca5a5; margin-bottom: 10px; }
.jf-alert-form { display: flex; flex-direction: column; gap: 8px; }
.jf-alert-input {
    padding: 9px 12px;
    border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 13px;
    font-family: inherit;
}
.jf-alert-input::placeholder { color: rgba(255,255,255,.55); }
.jf-alert-input:focus { outline: none; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.18); }
.jf-alert-btn {
    padding: 10px 14px;
    background: #b6323e;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: opacity .15s;
}
.jf-alert-btn:hover { opacity: .88; }

/* Active filter chips */
.jobs-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.jafc {
    display: inline-flex;
    align-items: center;
    background: rgba(17,27,63,.08);
    color: #111b3f;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s;
}
.jafc:hover { background: rgba(182,50,62,.1); color: #b6323e; }

.jobs-result-count { font-size: 13.5px; color: #64748b; margin-bottom: 18px; }
.jobs-result-count strong { color: #1a2035; }

/* Job cards grid */
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }

.jcard {
    background: #fff;
    border: 1px solid #e4e8f0;
    border-radius: 14px;
    padding: 22px;
    position: relative;
    transition: box-shadow .2s, border-color .2s, transform .2s;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.jcard:hover { box-shadow: 0 8px 28px rgba(10,20,60,.12); border-color: #c7d0e8; transform: translateY(-2px); }
.jcard--featured { border-color: #b6323e; border-width: 1.5px; }

.jcard-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.jcard-badge--featured { background: rgba(182,50,62,.1); color: #b6323e; }
.jcard-badge--urgent   { background: rgba(234,88,12,.1);  color: #ea580c; }
.jcard-badge--new      { background: rgba(22,163,74,.1);  color: #16a34a; }

.jcard-top { display: flex; align-items: center; gap: 12px; }
.jcard-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #e4e8f0;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f8;
    font-weight: 700;
    font-size: 13px;
    color: #111b3f;
}
.jcard-logo img { width: 100%; height: 100%; object-fit: contain; }
.jcard-meta { flex: 1; min-width: 0; }
.jcard-company { display: block; font-size: 12.5px; font-weight: 600; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
a.jcard-company:hover { color: var(--vs-navy); }
.jcard-date { font-size: 11.5px; color: #94a3b8; }

.jcard-title { font-size: 15.5px; font-weight: 700; line-height: 1.35; color: #1a2035; margin: 0; }
.jcard-title a { color: inherit; text-decoration: none; }
.jcard-title a:hover { color: #111b3f; text-decoration: underline; }

.jcard-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.jcard-tag {
    font-size: 11.5px;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 20px;
    background: #f0f2f8;
    color: #64748b;
}
.jcard-tag--pay { background: rgba(22,163,74,.1); color: #15803d; }
.jcard-tag--dl  { background: rgba(234,88,12,.1);  color: #c2410c; }

.jcard-apply {
    display: inline-block;
    margin-top: auto;
    padding: 8px 16px;
    background: #111b3f;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
    transition: background .15s;
}
.jcard-apply:hover { background: #1e2d5a; }

/* Pagination */
.jobs-pagination { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 36px; }
.jpag-btn {
    padding: 8px 14px;
    border: 1.5px solid #e4e8f0;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    background: #fff;
    transition: border-color .15s, color .15s;
}
.jpag-btn:hover { border-color: #111b3f; color: #111b3f; }
.jpag-btn.is-current { background: #111b3f; color: #fff; border-color: #111b3f; }

/* Empty state */
.jobs-empty {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}
.jobs-empty-icon { font-size: 48px; margin-bottom: 16px; }
.jobs-empty h2 { font-size: 22px; color: #1a2035; margin: 0 0 8px; }
.jobs-empty p { margin: 0 0 20px; }
.jobs-empty a { color: #111b3f; font-weight: 600; text-decoration: underline; }

@media (max-width: 900px) {
    .jobs-layout { grid-template-columns: 1fr; }
    .jobs-sidebar { position: static; }
    .jobs-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   JOB DETAIL PAGE  (/jobs/[slug]/)
   ═══════════════════════════════════════════════════════════════════ */
.jd-page { padding: 32px 0 60px; }
.jd-breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #64748b; margin-bottom: 24px; }
.jd-breadcrumb a { color: #111b3f; text-decoration: none; font-weight: 500; }
.jd-breadcrumb a:hover { text-decoration: underline; }
.jd-breadcrumb span { color: #94a3b8; }

.jd-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }

/* Header */
.jd-header {
    background: #fff;
    border: 1px solid #e4e8f0;
    border-radius: 14px;
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(10,20,60,.06);
}
.jd-header-logo {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    border: 1px solid #e4e8f0;
    background: #f0f2f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 18px;
    color: #111b3f;
}
.jd-header-logo img { width: 100%; height: 100%; object-fit: contain; }
.jd-company-name { font-size: 13.5px; font-weight: 600; color: #64748b; margin-bottom: 4px; text-decoration: none; display: block; }
a.jd-company-name:hover { color: var(--vs-navy); }
.jd-title { font-size: clamp(20px,3vw,30px); font-weight: 900; color: #1a2035; margin: 0 0 12px; line-height: 1.2; }
.jd-meta-row { display: flex; flex-wrap: wrap; gap: 7px; }
.jd-pill {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 20px;
    background: #f0f2f8;
    color: #64748b;
}
.jd-pill--type     { background: rgba(17,27,63,.08); color: #111b3f; }
.jd-pill--featured { background: rgba(182,50,62,.1); color: #b6323e; }
.jd-pill--urgent   { background: rgba(234,88,12,.1); color: #ea580c; }

/* Panels */
.jd-panel {
    background: #fff;
    border: 1px solid #e4e8f0;
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(10,20,60,.06);
}
.jd-section-title { font-size: 17px; font-weight: 800; color: #1a2035; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1.5px solid #e4e8f0; }
.jd-description { font-size: 15px; line-height: 1.8; color: #334155; }
.jd-description h1, .jd-description h2, .jd-description h3 { margin: 24px 0 12px; color: #1a2035; }
.jd-description ul, .jd-description ol { padding-left: 24px; }
.jd-description p { margin: 0 0 14px; }

.jd-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.jd-tag { font-size: 12.5px; font-weight: 500; padding: 5px 12px; border-radius: 20px; background: #f0f2f8; color: #475569; }
.jd-tag--benefit { background: rgba(22,163,74,.1); color: #15803d; }
.jd-benefit-group { margin-bottom: 14px; }
.jd-benefit-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #64748b; margin-bottom: 8px; }

/* Success / error */
.jd-success { background: #f0fdf4; border: 1.5px solid #bbf7d0; color: #15803d; border-radius: 10px; padding: 18px 22px; margin-bottom: 20px; }
.jd-success strong { display: block; font-size: 15px; margin-bottom: 5px; }
.jd-error { background: #fef2f2; border: 1.5px solid #fecaca; color: #dc2626; border-radius: 10px; padding: 14px 18px; margin-bottom: 18px; font-size: 14px; }
.jd-login-prompt { background: #eff6ff; border: 1.5px solid #bfdbfe; color: #1d4ed8; border-radius: 10px; padding: 18px 22px; font-size: 14.5px; }
.jd-login-prompt a { color: #111b3f; font-weight: 700; }

/* Apply form */
.jd-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.jd-field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 500; color: #1a2035; }
.jd-field--full { grid-column: 1 / -1; }
.jd-req { color: #b6323e; }
.jd-opt { color: #94a3b8; font-weight: 400; }
.jd-field input, .jd-field textarea, .jd-field select {
    padding: 10px 13px;
    border: 1.5px solid #e4e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #1a2035;
    background: #fff;
    transition: border-color .15s;
    width: 100%;
    box-sizing: border-box;
}
.jd-field input:focus, .jd-field textarea:focus { outline: none; border-color: #111b3f; }
.jd-field textarea { resize: vertical; }
.jd-file-input { padding: 6px !important; }
.jd-file-hint { font-size: 11.5px; color: #94a3b8; font-weight: 400; }
.jd-form-footer { display: flex; flex-direction: column; gap: 10px; }
.jd-submit-btn {
    padding: 13px 28px;
    background: #b6323e;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, box-shadow .15s;
    box-shadow: 0 4px 14px rgba(182,50,62,.25);
    align-self: flex-start;
}
.jd-submit-btn:hover { background: #8f2530; box-shadow: 0 6px 20px rgba(182,50,62,.35); }
.jd-form-note { font-size: 12px; color: #94a3b8; margin: 0; }

/* Similar jobs */
.jd-similar { display: flex; flex-direction: column; gap: 10px; }
.jd-similar-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #e4e8f0;
    transition: border-color .15s;
}
.jd-similar-item:hover { border-color: #111b3f; }
.jd-similar-item strong { font-size: 14px; font-weight: 600; color: #1a2035; }
.jd-similar-item span { font-size: 12.5px; color: #64748b; }

/* External apply */
.jd-apply-ext p { color: #64748b; margin: 0 0 16px; font-size: 14.5px; }
.jd-apply-btn-ext {
    display: inline-block;
    padding: 12px 24px;
    background: #111b3f;
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    transition: background .15s;
}
.jd-apply-btn-ext:hover { background: #1e2d5a; }

/* Sidebar cards */
.jd-sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 80px; }
.jd-sidebar-card {
    background: #fff;
    border: 1px solid #e4e8f0;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 2px 8px rgba(10,20,60,.06);
}
.jd-overview-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #94a3b8; margin-bottom: 16px; }
.jd-overview-dl { margin: 0; }
.jd-overview-dl > div { display: flex; flex-direction: column; gap: 2px; padding: 9px 0; border-bottom: 1px solid #f0f2f8; }
.jd-overview-dl > div:last-child { border-bottom: none; }
.jd-overview-dl dt { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #94a3b8; }
.jd-overview-dl dd { font-size: 13.5px; font-weight: 500; color: #1a2035; margin: 0; }

.jd-sidebar-apply-btn {
    display: block;
    margin-top: 18px;
    padding: 12px;
    background: #b6323e;
    color: #fff;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    transition: background .15s;
    box-shadow: 0 4px 14px rgba(182,50,62,.25);
}
.jd-sidebar-apply-btn:hover { background: #8f2530; }

.jd-save-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: #f0f4ff;
    color: var(--vs-navy);
    border: 1.5px solid #c7d4f0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    transition: background .15s, border-color .15s;
}
.jd-save-btn:hover { background: #e0eaff; border-color: #9bb5e8; }

.jd-co-logo { width: 60px; height: 60px; object-fit: contain; border-radius: 8px; border: 1px solid #e4e8f0; margin-bottom: 10px; }
.jd-co-name { font-size: 15px; font-weight: 700; color: #1a2035; margin-bottom: 6px; }
.jd-co-desc { font-size: 13px; color: #64748b; line-height: 1.6; margin: 0 0 12px; }
.jd-co-link { font-size: 13px; font-weight: 600; color: #111b3f; text-decoration: none; }
.jd-co-link:hover { text-decoration: underline; }

.jd-share-btns { display: flex; gap: 8px; }
.jd-share-btn {
    flex: 1;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: opacity .15s;
}
.jd-share-btn:hover { opacity: .85; }
.jd-share-li { background: #0077b5; color: #fff; }
.jd-share-tw { background: #1da1f2; color: #fff; }

@media (max-width: 960px) {
    .jd-layout { grid-template-columns: 1fr; }
    .jd-sidebar { position: static; }
    .jd-header { flex-direction: column; }
    .jd-form-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   COMPANIES LISTING PAGE
   ═══════════════════════════════════════════════════════════════════ */
.companies-page { padding-bottom: 60px; }

.companies-hero {
    background: linear-gradient(135deg, var(--vs-navy-2) 0%, #1e3a8a 100%);
    padding: 60px 0 48px;
    text-align: center;
    margin-bottom: 40px;
}
.companies-hero h1 { font-size: 36px; font-weight: 900; color: #fff; margin: 0 0 10px; }
.companies-hero h1 span { color: var(--vs-red); }
.companies-hero p { font-size: 16px; color: rgba(255,255,255,.8); margin: 0 0 24px; }
.companies-search-bar {
    display: flex;
    max-width: 560px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.companies-search-bar input {
    flex: 1;
    padding: 14px 18px;
    font-size: 15px;
    border: 0;
    background: #fff;
    font-family: inherit;
}
.companies-search-bar input:focus { outline: none; }
.companies-search-bar button {
    padding: 0 24px;
    background: var(--vs-red);
    color: #fff;
    border: 0;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
}

.companies-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: start;
}
.companies-sidebar { position: sticky; top: 80px; }
.companies-main { min-width: 0; }
.companies-result-count { font-size: 13.5px; color: #64748b; margin-bottom: 20px; }

/* Company cards grid */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}
.co-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(82,88,102,.14);
    border-radius: 14px;
    padding: 24px;
    text-decoration: none;
    transition: box-shadow .18s, transform .18s;
}
.co-card:hover {
    box-shadow: 0 6px 24px rgba(15,29,70,.12);
    transform: translateY(-2px);
}
.co-card-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    flex-shrink: 0;
}
.co-card-logo img { width: 100%; height: 100%; object-fit: contain; background: #f8f9fa; }
.co-card-logo span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--vs-navy);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}
.co-card-body { flex: 1; display: flex; flex-direction: column; }
.co-card-name { font-size: 15.5px; font-weight: 800; color: #1a2035; margin: 0 0 4px; }
.co-card-industry { font-size: 12.5px; color: var(--vs-red); font-weight: 600; margin-bottom: 8px; }
.co-card-excerpt { font-size: 13px; color: #64748b; line-height: 1.55; margin: 0 0 14px; flex: 1; }
.co-card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.co-card-meta { font-size: 12px; color: #94a3b8; }
.co-card-jobs { font-size: 12px; color: #94a3b8; }
.co-card-jobs.has-jobs { color: #059669; font-weight: 600; }

@media (max-width: 900px) {
    .companies-layout { grid-template-columns: 1fr; }
    .companies-sidebar { position: static; }
    .companies-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .companies-grid { grid-template-columns: 1fr; }
    .companies-hero h1 { font-size: 26px; }
}

/* ═══════════════════════════════════════════════════════════════════
   COMPANY PROFILE PAGE
   ═══════════════════════════════════════════════════════════════════ */
.co-page { padding-bottom: 60px; }

/* Hero */
.co-hero {
    position: relative;
    min-height: 220px;
    background: linear-gradient(135deg, var(--vs-navy-2) 0%, #1e3a8a 100%);
    overflow: hidden;
    margin-bottom: 40px;
}
.co-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.co-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 18, 37, 0.72);
}
.co-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 40px;
    padding-bottom: 40px;
}
.co-logo-wrap { flex-shrink: 0; }
.co-logo {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,.2);
    background: #fff;
}
.co-logo-initials {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    background: var(--vs-red);
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.co-hero-text { flex: 1; min-width: 0; }
.co-hero-text h1 {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}
.co-hero-industry {
    font-size: 14px;
    color: rgba(255,255,255,.7);
    margin-bottom: 10px;
}
.co-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.co-hero-meta span {
    font-size: 13px;
    color: rgba(255,255,255,.85);
}
.co-hero-btn {
    flex-shrink: 0;
    padding: 11px 22px;
    background: var(--vs-red);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .15s;
}
.co-hero-btn:hover { opacity: .88; }

/* Layout */
.co-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    align-items: start;
}

/* Panels */
.co-panel {
    background: #fff;
    border: 1px solid rgba(82,88,102,.14);
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 24px;
}
.co-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.co-section-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--vs-navy);
    margin: 0 0 18px;
}
.co-job-count {
    font-size: 13px;
    color: var(--vs-muted);
    background: var(--vs-soft);
    padding: 4px 10px;
    border-radius: 20px;
}
.co-description {
    font-size: 15px;
    line-height: 1.75;
    color: #333;
}
.co-description p { margin: 0 0 14px; }
.co-empty {
    color: var(--vs-muted);
    font-size: 14px;
    text-align: center;
    padding: 24px 0;
}

/* Benefits chips */
.co-benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.co-benefit-chip {
    font-size: 13px;
    background: #f0f7ff;
    color: #1a4fa1;
    border: 1px solid #c5d9f5;
    border-radius: 20px;
    padding: 6px 14px;
    font-weight: 600;
}

/* Jobs list — legacy (kept for compatibility) */
.co-jobs-list { display: flex; flex-direction: column; gap: 0; }
.co-job-row { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 16px; border-radius:10px; text-decoration:none; transition:background .15s; }
.co-job-row:hover { background: var(--vs-soft); }
.co-job-info { flex:1; min-width:0; }
.co-job-title { display:block; font-size:15px; font-weight:700; color:var(--vs-navy); margin-bottom:6px; }
.co-job-tags { display:flex; flex-wrap:wrap; gap:6px; }
.co-job-tag { font-size:11px; font-weight:600; padding:3px 9px; border-radius:20px; background:#eef2ff; color:#3c3b6e; }
.co-job-tag--pay { background:#ecfdf5; color:#065f46; }
.co-job-tag--feat { background:#fff7ed; color:#9a3412; }
.co-job-tag--urg { background:#fef2f2; color:#991b1b; }
.co-job-tag--new { background:#f0fdf4; color:#14532d; }
.co-job-apply { font-size:13px; font-weight:700; color:var(--vs-red); white-space:nowrap; flex-shrink:0; }

/* ── Job row v2 (redesigned Open Positions) ───────────────────────── */
.co-job-row2 {
    display: flex; align-items: center;
    justify-content: space-between; gap: 20px;
    padding: 18px 20px;
    border-radius: 12px;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: background .15s, border-color .15s, box-shadow .15s;
    position: relative;
}
.co-job-row2 + .co-job-row2 { border-top: 1px solid #f1f5f9; border-radius: 0; }
.co-job-row2:first-child { border-radius: 12px 12px 0 0; }
.co-job-row2:last-child  { border-radius: 0 0 12px 12px; }
.co-job-row2:only-child  { border-radius: 12px; }
.co-job-row2:hover {
    background: #f8faff;
    border-color: #dde4f5;
    box-shadow: 0 2px 10px rgba(15,29,70,.07);
    z-index: 1;
}
.co-job-row2--feat {
    background: linear-gradient(to right, #fffbf0, #fff);
    border-color: #fde68a !important;
}
.co-job-row2--feat:hover { background: #fffbeb; }

/* Left side */
.co-job2-left { flex: 1; min-width: 0; }
.co-job2-top {
    display: flex; align-items: center;
    gap: 10px; margin-bottom: 8px; flex-wrap: wrap;
}
.co-job2-title {
    font-size: 15.5px; font-weight: 800;
    color: #0f1d46; line-height: 1.2;
    transition: color .12s;
}
.co-job-row2:hover .co-job2-title { color: #b6323e; }

/* Badges */
.co-job2-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10.5px; font-weight: 700;
    padding: 3px 9px; border-radius: 999px;
    flex-shrink: 0; white-space: nowrap;
}
.co-job2-badge--feat { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.co-job2-badge--urg  { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.co-job2-badge--new  { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }

/* Meta row */
.co-job2-meta {
    display: flex; align-items: center;
    flex-wrap: wrap; gap: 14px;
}
.co-job2-meta-item {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12.5px; color: #64748b; font-weight: 500;
}
.co-job2-meta-item svg { flex-shrink: 0; opacity: .65; }
.co-job2-meta-pay { color: #059669; font-weight: 600; }
.co-job2-type {
    font-size: 11.5px; font-weight: 600;
    padding: 3px 10px; border-radius: 999px;
    background: #eef2ff; color: #4338ca;
}

/* Right side */
.co-job2-right {
    display: flex; flex-direction: column;
    align-items: flex-end; gap: 6px;
    flex-shrink: 0;
}
.co-job2-posted {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11.5px; color: #94a3b8; font-weight: 500;
}
.co-job2-deadline {
    font-size: 11px; font-weight: 600;
    color: #b45309; background: #fffbeb;
    padding: 2px 8px; border-radius: 999px;
}
.co-job2-apply {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 8px 18px;
    background: #0f1d46; color: #fff;
    border-radius: 8px; font-size: 13px; font-weight: 700;
    transition: background .15s, transform .1s;
    white-space: nowrap;
}
.co-job-row2:hover .co-job2-apply {
    background: #b6323e;
    transform: translateX(2px);
}
@media (max-width: 640px) {
    .co-job-row2 { flex-direction: column; align-items: flex-start; gap: 12px; }
    .co-job2-right { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
}

/* Sidebar */
.co-sidebar { position: sticky; top: 90px; }
.co-sidebar-card {
    background: #fff;
    border: 1px solid rgba(82,88,102,.14);
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 20px;
}
.co-sidebar-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--vs-muted);
    margin-bottom: 16px;
}
.co-info-dl { margin: 0 0 16px; }
.co-info-dl > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 6px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(82,88,102,.08);
    font-size: 13px;
}
.co-info-dl > div:last-child { border-bottom: 0; }
.co-info-dl dt { color: var(--vs-muted); font-weight: 500; }
.co-info-dl dd { margin: 0; color: var(--vs-navy); font-weight: 600; }
.co-sidebar-btn {
    display: block;
    text-align: center;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 12px;
    background: var(--vs-navy);
    color: #fff;
    transition: opacity .15s;
}
.co-sidebar-btn:hover { opacity: .88; }
.co-sidebar-btn--jobs { background: var(--vs-red); }

/* Follow button */
.co-follow-btn {
    display: block;
    width: 100%;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
    border: 2px solid var(--vs-navy);
    background: transparent;
    color: var(--vs-navy);
    text-decoration: none;
    box-sizing: border-box;
}
.co-follow-btn:hover { background: var(--vs-navy); color: #fff; }
.co-follow-btn--active { background: var(--vs-navy); color: #fff; border-color: var(--vs-navy); }
.co-follow-btn--active:hover { background: #8f2530; border-color: #8f2530; }

/* Social links */
.co-social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.co-social-btn {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    transition: opacity .15s;
}
.co-social-btn:hover { opacity: .85; }

@media (max-width: 960px) {
    .co-layout { grid-template-columns: 1fr; }
    .co-sidebar { position: static; }
    .co-hero-inner { flex-wrap: wrap; }
    .co-hero-btn { width: 100%; text-align: center; }
}

/* ═══════════════════════════════════════════
   Back-to-top button (fixed, bottom-right)
   ═══════════════════════════════════════════ */
.vs-to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 1200;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #0f1d46 0%, #582031 100%);
    box-shadow: 0 6px 18px rgba(8, 18, 37, 0.35);
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease, box-shadow .2s ease;
}
.vs-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.vs-to-top:hover {
    box-shadow: 0 8px 22px rgba(8, 18, 37, 0.5);
    transform: translateY(-2px);
}
.vs-to-top:active {
    transform: translateY(0);
}
@media (max-width: 600px) {
    .vs-to-top {
        right: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
    }
}
