/* ============================================
   Toledo College — Careers
   Institutional · Forest green · Navy · Gold
   ============================================ */

:root {
    /* ---- Brand Colors (Toledo College Logo) ---- */
    --primary: #114F1C;
    --primary-dark: #0E3A18;
    --primary-darker: #0A2812;
    --primary-light: #E8F1EA;
    --primary-lighter: #F3F8F4;
    --accent: #C3A972;
    --accent-dark: #A88B4E;
    --accent-light: #F5EFE3;
    --leaf: #C3A972;
    --leaf-dark: #A88B4E;
    --leaf-light: #F5EFE3;
    --navy: #07192C;

    /* ---- Neutral Academic Palette ---- */
    --ink: #07192C;
    --gray-900: #0C1A2A;
    --gray-800: #1A2B3C;
    --gray-700: #3A4A5A;
    --gray-600: #5A6A7A;
    --gray-500: #7A8A9A;
    --gray-400: #B0B8C0;
    --gray-300: #D4D9DE;
    --gray-200: #E8EBEE;
    --gray-100: #F2F4F6;
    --bg: #F7F8F7;
    --surface: #FFFFFF;
    --white: #FFFFFF;

    --success: #1A7A32;
    --warning: #C3A972;
    --danger: #D33E2E;

    /* ---- Shadows (quiet, institutional) ---- */
    --shadow-sm: 0 1px 2px rgba(7,25,44,0.04);
    --shadow-md: 0 4px 12px rgba(7,25,44,0.06);
    --shadow-lg: 0 12px 28px rgba(7,25,44,0.08);
    --shadow-xl: 0 20px 40px rgba(7,25,44,0.1);
    --shadow-glow: 0 8px 24px rgba(17,79,28,0.18);

    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 0.15s var(--ease);
    --transition: 0.28s var(--ease);
    --transition-slow: 0.45s var(--ease);
    --header-height: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Cairo', sans-serif;
    background: var(--bg);
    color: var(--gray-900);
    line-height: 1.7;
    direction: rtl;
    letter-spacing: normal;
    word-spacing: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ============================================
   HEADER — Clean academic bar
   ============================================ */
.top-shell,
.top-shell.header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border-bottom: 1px solid var(--gray-200);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.top-shell::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 55%, transparent 100%);
    opacity: 0.85;
}

.top-shell-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.top-shell.scrolled,
.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.logo:hover { opacity: 0.88; }

.logo img {
    height: 48px;
    width: auto;
}

.logo-text {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: normal;
    line-height: 1.3;
}

.logo-text span {
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav--drawer {
    display: none;
}

.nav--desktop {
    display: flex;
}

.mobile-nav-header,
.mobile-nav-close {
    display: none;
}

.nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius);
    color: var(--gray-600);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav a:hover {
    color: var(--navy);
    background: var(--gray-100);
}

.nav a.active {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
}

.nav .btn-nav {
    background: var(--primary);
    color: var(--white);
    padding: 9px 20px;
    margin-right: 6px;
    border-radius: var(--radius);
    box-shadow: none;
}

.nav .btn-nav:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: none;
}

/* ============================================
   BUTTONS — Refined institutional
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    font-family: inherit;
    position: relative;
    letter-spacing: normal;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 10px 28px rgba(17,79,28,0.28);
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--accent);
    color: var(--navy);
    box-shadow: 0 6px 20px rgba(195,169,114,0.35);
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.35);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.55);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.9);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border-color: rgba(17,79,28,0.28);
    font-weight: 700;
}

.btn-secondary:hover {
    background: var(--primary-lighter);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-lg {
    font-size: 16px;
    padding: 14px 32px;
}

/* ============================================
   HERO — Brand-first, full-bleed atmosphere
   ============================================ */
.hero {
    position: relative;
    color: var(--white);
    padding: 72px 0 88px;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(135deg, rgba(7,25,44,0.55) 0%, rgba(17,79,28,0.75) 45%, rgba(10,40,18,0.88) 100%),
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(195,169,114,0.22) 0%, transparent 55%),
        linear-gradient(160deg, var(--navy) 0%, var(--primary-darker) 48%, var(--primary) 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 85%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 85%);
    pointer-events: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    right: -120px;
    bottom: -180px;
    background: radial-gradient(circle, rgba(195,169,114,0.18) 0%, transparent 70%);
    animation: heroGlow 14s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    from { transform: translate(0, 0) scale(1); opacity: 0.7; }
    to { transform: translate(-40px, -30px) scale(1.12); opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    animation: fadeInUp 0.55s var(--ease) both;
}

.hero-logo {
    height: 88px;
    width: auto;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25));
}

.hero-brand-name {
    font-size: clamp(1.65rem, 3.2vw, 2.15rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: normal;
    line-height: 1.25;
    margin: 0;
}

.hero-brand-name::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    margin: 12px auto 0;
    background: var(--accent);
    border-radius: 2px;
}

.hero h1 {
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 14px;
    color: rgba(255,255,255,0.96);
    animation: fadeInUp 0.55s var(--ease) 0.08s both;
}

.hero-lead {
    font-size: 1.05rem;
    opacity: 0.88;
    margin: 0 auto 28px;
    max-width: 34rem;
    line-height: 1.75;
    animation: fadeInUp 0.55s var(--ease) 0.14s both;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 28px;
    animation: fadeInUp 0.55s var(--ease) 0.2s both;
}

.hero-search {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 6px 6px 6px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-xl);
    max-width: 520px;
    margin: 0 auto;
    animation: fadeInUp 0.55s var(--ease) 0.26s both;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--gray-400);
    transition: box-shadow var(--transition), transform var(--transition);
}

.hero-search:focus-within {
    box-shadow: var(--shadow-xl), 0 0 0 3px rgba(195,169,114,0.35);
    transform: translateY(-2px);
    color: var(--primary);
}

.hero-search input {
    flex: 1;
    border: none;
    padding: 12px 8px;
    font-size: 15px;
    font-family: inherit;
    color: var(--gray-900);
    background: transparent;
    min-width: 0;
}

.hero-search input::placeholder { color: var(--gray-400); }
.hero-search input:focus { outline: none; }

.hero-search button {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    padding: 12px 24px;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    font-family: inherit;
    transition: background var(--transition-fast);
    flex-shrink: 0;
}

.hero-search button:hover {
    background: var(--primary-dark);
}

/* Stats strip — below hero, not inside it */
.stats-strip {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    margin-top: -1px;
    position: relative;
    z-index: 2;
}

.stats-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 28px 24px;
}

.stat-item {
    text-align: center;
    padding: 8px 12px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--gray-200);
}

.stat-number {
    display: block;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-item--campus .stat-number {
    color: var(--navy);
    font-size: 1.45rem;
}

.stat-label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* ============================================
   SECTIONS — Academic rhythm
   ============================================ */
.section { padding: 80px 0; }

.section-jobs {
    padding-top: 64px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-header--center {
    justify-content: center;
    text-align: center;
    margin-bottom: 48px;
}

.section-header--center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(1.45rem, 2.4vw, 1.75rem);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: normal;
    word-spacing: normal;
    line-height: 1.35;
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    color: var(--gray-500);
    font-size: 15.5px;
    margin-top: 8px;
    font-weight: 500;
    max-width: 36rem;
}

.view-all {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.view-all:hover {
    color: var(--primary-dark);
    background: var(--primary-light);
}

/* ============================================
   JOB CARDS — Quiet institutional cards
   ============================================ */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

.job-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 22px 22px 20px;
    padding-top: 40px;
    border: 1px solid var(--gray-200);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.job-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(17,79,28,0.22);
    transform: translateY(-3px);
}

.job-card:hover::before {
    transform: scaleX(1);
}

.job-card-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.job-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    box-shadow: none;
    transition: background var(--transition);
}

.job-card:hover .job-avatar {
    background: var(--primary-dark);
    transform: none;
    box-shadow: none;
}

.job-card-heading { flex: 1; min-width: 0; }

.job-card .job-title {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
    line-height: 1.45;
    transition: color var(--transition-fast);
}

.job-card:hover .job-title {
    color: var(--primary);
}

.job-card .job-department {
    color: var(--gray-500);
    font-size: 13.5px;
    font-weight: 600;
}

.job-card .job-location {
    color: var(--gray-400);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.badge-new {
    position: absolute;
    top: 12px;
    right: 16px;
    left: auto;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    background: var(--accent-light);
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid rgba(195,169,114,0.45);
    box-shadow: none;
    z-index: 3;
}

.job-card .job-meta {
    display: flex;
    gap: 16px;
    font-size: 12.5px;
    color: var(--gray-400);
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
    margin-top: 4px;
    font-weight: 600;
}

.job-card .btn {
    width: 100%;
    margin-top: 4px;
    border-radius: var(--radius);
    padding: 11px;
    font-size: 14px;
}

/* ============================================
   WHY US SECTION — Feature Cards
   ============================================ */
.feature-card {
    text-align: start;
    padding: 26px 22px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(17,79,28,0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card .feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--navy);
    letter-spacing: normal;
    word-spacing: 0.04em;
    line-height: 1.45;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 14.5px;
    line-height: 1.8;
    letter-spacing: normal;
    word-spacing: 0.02em;
}

/* ============================================
   FILTER BAR
   ============================================ */
.filter-bar {
    position: relative;
    z-index: 1;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 22px 26px;
    border: 1px solid var(--gray-200);
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.filter-bar--jobs {
    position: static;
    top: auto;
}

.filter-bar form {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    gap: 16px;
    align-items: end;
}

.filter-bar--jobs .jobs-filter-form {
    display: grid;
    grid-template-columns: minmax(200px, 1.5fr) minmax(130px, 1fr) minmax(130px, 1fr) minmax(130px, 1fr) auto;
    gap: 16px;
    align-items: end;
}

.filter-bar--jobs .filter-group {
    min-width: 0;
}

.filter-bar--jobs .filter-group input,
.filter-bar--jobs .filter-group select {
    width: 100%;
}

.filter-actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: end;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.filter-actions .btn {
    flex-shrink: 0;
}

.filter-group--search input {
    font-size: 15px;
}

.filter-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 14.5px;
    font-family: inherit;
    background: var(--white);
    color: var(--gray-900);
    transition: var(--transition-fast);
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.filter-group input::placeholder { color: var(--gray-400); }

/* ============================================
   FORM CARD
   ============================================ */
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--gray-200);
    max-width: 720px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 22px; }

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14.5px;
    color: var(--gray-800);
}

.form-group .required { color: var(--danger); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 17px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15.5px;
    font-family: inherit;
    color: var(--gray-900);
    transition: var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-group input[type="file"] {
    padding: 11px 17px;
    border-style: dashed;
    background: var(--gray-100);
    cursor: pointer;
    border-color: var(--gray-300);
}

.form-group textarea { 
    min-height: 120px; 
    resize: vertical; 
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 16px 22px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success {
    background: var(--leaf-light);
    color: var(--leaf-dark);
    border: 1px solid #C7E9C8;
}

.alert-error {
    background: #FDECEA;
    color: #A32B1E;
    border: 1px solid #F3C4BE;
}

/* ============================================
   FOOTER — Navy institutional
   ============================================ */
.footer {
    background: var(--navy);
    color: var(--gray-400);
    padding: 64px 0 32px;
    margin-top: 48px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 28px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer .footer-logo img { height: 44px; }

.footer a {
    display: block;
    padding: 6px 0;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14.5px;
    transition: color var(--transition-fast), padding-right var(--transition-fast);
}

.footer a:hover {
    color: var(--accent);
    padding-right: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 13.5px;
    color: var(--gray-500);
}

/* ============================================
   JOB DETAIL PAGE
   ============================================ */
.job-detail {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
}

.job-detail-main {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.job-detail-main:hover {
    box-shadow: var(--shadow-sm);
}

.job-header {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 8px;
}

.job-header .job-avatar {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    font-size: 22px;
    box-shadow: none;
}

.job-detail-main .job-header h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--gray-900);
    letter-spacing: normal;
}

.job-detail-main .job-header .company {
    font-size: 16px;
    color: var(--gray-700);
    font-weight: 600;
}

.job-detail-main .job-header .location {
    color: var(--gray-500);
    font-size: 14.5px;
    margin-top: 4px;
}

.job-detail-main .job-info {
    display: flex;
    gap: 28px;
    padding: 18px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin: 22px 0 24px;
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 600;
}

.job-detail-main h2 {
    font-size: 21px;
    font-weight: 800;
    margin: 30px 0 12px;
    color: var(--gray-900);
    position: relative;
    display: inline-block;
}

.job-detail-main h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.job-detail-main p { 
    color: var(--gray-700); 
    line-height: 1.8;
    font-size: 15.5px;
}

.job-detail-main ul { 
    padding-right: 24px; 
    color: var(--gray-700); 
}

.job-detail-main ul li { 
    margin-bottom: 10px; 
    position: relative;
    padding-right: 8px;
}

.job-detail-main ul li::marker {
    color: var(--primary);
}

.job-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 90px;
}

.sidebar-card:hover {
    box-shadow: var(--shadow-sm);
}

.sidebar-card--cta {
    background: var(--primary-lighter);
    border-color: rgba(17,79,28,0.15);
}

.sidebar-card--cta h3 {
    color: var(--primary-dark);
}

.sidebar-cta-text {
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.65;
}

.related-job-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    text-decoration: none;
    transition: padding-right var(--transition-fast);
}

.related-job-link:last-child {
    border-bottom: none;
}

.related-job-link:hover {
    padding-right: 6px;
}

.related-job-link .related-title {
    font-weight: 700;
    color: var(--navy);
    font-size: 14.5px;
    transition: color var(--transition-fast);
}

.related-job-link:hover .related-title {
    color: var(--primary);
}

.related-job-link .related-meta {
    font-size: 13px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
}

.sidebar-card h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--gray-900);
    position: relative;
    padding-bottom: 12px;
}

.sidebar-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14.5px;
    text-align: right;
    transition: var(--transition-fast);
}

.info-item:hover {
    padding-right: 8px;
    background: var(--gray-100);
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 20px;
    border-radius: 8px;
    border-bottom-color: transparent;
}

.info-item:last-child { 
    border-bottom: none; 
}

.info-item .label { 
    color: var(--gray-500); 
    font-weight: 500;
}

.info-item .value { 
    font-weight: 700; 
    color: var(--gray-900); 
    text-align: right;
    direction: rtl;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state { 
    text-align: center; 
    padding: 80px 24px; 
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-200);
}

.empty-state h3 { 
    font-size: 22px; 
    font-weight: 800; 
    margin-bottom: 10px; 
    color: var(--gray-900); 
}

.empty-state p { 
    color: var(--gray-500); 
    margin-bottom: 28px; 
    font-size: 16px;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination { 
    display: flex; 
    justify-content: center; 
    gap: 8px; 
    margin-top: 40px; 
}

.pagination a {
    padding: 10px 18px;
    border-radius: var(--radius);
    border: 1.5px solid var(--gray-200);
    text-decoration: none;
    color: var(--gray-600);
    font-size: 14.5px;
    font-weight: 600;
    transition: var(--transition-fast);
    background: var(--white);
}

.pagination a:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
    transform: translateY(-2px);
}

.pagination a.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .stats-strip-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 24px 16px;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .job-detail {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sidebar-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .header .container {
        height: var(--header-height);
        flex-direction: row;
        gap: 12px;
        padding: 0 16px;
    }

    .hero {
        padding: 48px 0 56px;
    }

    .hero-logo {
        height: 72px;
    }

    .hero-search {
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        gap: 10px;
    }

    .hero-search svg {
        display: none;
    }

    .hero-search button {
        width: 100%;
        padding: 12px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .stats-strip-inner {
        grid-template-columns: 1fr 1fr;
        padding: 20px 12px;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar form {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 28px;
    }

    .job-detail-main {
        padding: 26px;
    }

    .section {
        padding: 56px 0;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-brand-name {
        font-size: 1.45rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .stats-strip-inner {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .stat-item {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        text-align: start;
        padding: 10px 4px;
        border-bottom: 1px solid var(--gray-100);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .stat-number {
        font-size: 1.25rem;
        margin-bottom: 0;
    }
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* ============================================
   MOBILE APP EXPERIENCE (v2)
   ============================================ */
:root {
    --bottom-nav-height: 72px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

.skip-link {
    position: absolute;
    top: -100px;
    right: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 10px 18px;
    border-radius: var(--radius);
    font-weight: 700;
    z-index: 9999;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 16px;
}

body {
    padding-bottom: 0;
}

body.menu-open {
    overflow: hidden;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 12px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    background: var(--gray-100);
    border-radius: 12px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 301;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.menu-toggle span {
    display: block;
    height: 2.5px;
    width: 100%;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(22, 24, 28, 0.5);
    z-index: 290;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s, visibility 0.25s;
}

.nav-overlay.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav a svg {
    flex-shrink: 0;
}

@media (min-width: 769px) {
    .nav--desktop a:not(.btn-nav) svg {
        display: none;
    }
}

/* Bottom Navigation Bar */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(var(--bottom-nav-height) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid var(--gray-200);
    z-index: 200;
    align-items: stretch;
    justify-content: space-around;
    box-shadow: 0 -4px 24px rgba(22, 24, 28, 0.08);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    padding: 8px 4px;
    color: var(--gray-500);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    min-height: 48px;
}

.bottom-nav-item svg {
    transition: var(--transition-fast);
}

.bottom-nav-item.active {
    color: var(--primary);
}

.bottom-nav-item.active svg {
    stroke: var(--primary);
}

.bottom-nav-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-top: -20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(17, 79, 28, 0.35);
}

.bottom-nav-cta span:last-child {
    color: var(--primary);
    font-weight: 700;
}

.bottom-nav-badge {
    position: absolute;
    top: 4px;
    left: 50%;
    margin-left: 8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Save Button on Job Cards */
.btn-save {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 38px;
    height: 38px;
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-400);
    transition: var(--transition-fast);
    z-index: 2;
}

.btn-save:hover,
.btn-save.saved {
    color: var(--primary);
    border-color: var(--primary-light);
    background: var(--primary-lighter);
}

.btn-save.saved svg {
    fill: var(--primary);
    stroke: var(--primary);
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    right: 10%;
    left: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--accent-light));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-number {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    background: var(--white);
    border: 2px solid rgba(17,79,28,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.process-step:hover .process-number {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.06);
}

.process-step h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.process-step p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.55;
}

/* Feature Cards — SVG Icons */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    text-align: start;
}

.feature-icon-svg {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 16px;
    border: 1px solid rgba(17,79,28,0.1);
}

/* Section Quick Filters */
.filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.filter-chip {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
    font-family: inherit;
}

.filter-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-lighter);
}

.filter-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Jobs Page Toolbar */
.jobs-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.sort-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-group label {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 600;
}

.sort-group select {
    padding: 10px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--white);
    cursor: pointer;
}

/* Page Header */
.page-header {
    padding: 36px 0 8px;
    margin-bottom: 28px;
    position: relative;
}

.page-header::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 16px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.page-header h1 {
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: normal;
}

.page-header p {
    color: var(--gray-500);
    font-size: 15px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 13.5px;
    color: var(--gray-500);
}

.breadcrumb a {
    color: var(--primary);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb-current {
    color: var(--gray-700);
    font-weight: 600;
}

/* Sticky Apply Bar (Mobile) */
.sticky-apply {
    display: none;
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + var(--safe-bottom));
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--gray-200);
    z-index: 150;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-apply.visible {
    transform: translateY(0);
}

.sticky-apply .btn {
    width: 100%;
}

/* Reference Code Success */
.reference-box {
    background: linear-gradient(135deg, var(--leaf-light), var(--white));
    border: 1.5px solid var(--leaf);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    margin-top: 16px;
}

.reference-code {
    font-size: 24px;
    font-weight: 800;
    color: var(--leaf-dark);
    letter-spacing: 1px;
    margin: 12px 0;
    font-family: monospace;
}

/* Scroll Reveal */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Toast */
.app-toast {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--gray-900);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    white-space: nowrap;
}

.app-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Footer cleanup handled above */

.section-about {
    background:
        linear-gradient(180deg, var(--primary-lighter) 0%, var(--white) 38%, var(--bg) 100%);
}

.about-intro {
    text-align: start;
    margin-bottom: 8px;
}

.about-title {
    display: block;
    margin-bottom: 16px;
    color: var(--navy);
}

.about-lead {
    color: var(--gray-700);
    font-size: 16.5px;
    line-height: 2;
    letter-spacing: normal;
    word-spacing: 0.06em;
    margin: 0 0 28px;
    max-width: 46rem;
}

.about-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.about-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
    min-height: 76px;
}

.about-contact-item:hover {
    border-color: rgba(195,169,114,0.55);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.about-contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(17, 79, 28, 0.1);
}

.about-contact-item--whatsapp .about-contact-icon {
    color: var(--accent-dark);
    background: var(--accent-light);
    border-color: rgba(195, 169, 114, 0.35);
}

.about-contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    text-align: start;
}

.about-contact-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-500);
}

.about-contact-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.55;
    letter-spacing: normal;
    word-spacing: 0.04em;
    overflow-wrap: anywhere;
}

.about-contact-item--whatsapp .about-contact-value {
    color: var(--primary);
}

.features-heading {
    display: block;
    text-align: center;
    margin: 56px auto 40px;
}

@media (max-width: 768px) {
    .about-contact-grid {
        grid-template-columns: 1fr;
    }

    .about-lead {
        font-size: 15.5px;
        line-height: 1.95;
    }

    .features-heading {
        margin: 44px auto 28px;
    }
}

@media (min-width: 900px) {
    .about-contact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .about-contact-item:first-child {
        grid-column: 1 / -1;
    }
}

.footer-contact a {
    display: block;
    text-align: start;
    direction: inherit;
}

.footer-contact a bdi {
    unicode-bidi: isolate;
}

.footer-whatsapp {
    color: var(--accent) !important;
    font-weight: 700;
}

.footer-brand p {
    font-size: 14.5px;
    color: var(--gray-500);
    max-width: 380px;
    line-height: 1.75;
}

.footer-logo-text {
    color: var(--white);
    font-weight: 800;
    font-size: 17px;
}

.footer-logo-text span {
    color: var(--accent);
}

.section-process {
    background: var(--white);
    border-block: 1px solid var(--gray-200);
}

.section-cta {
    background:
        radial-gradient(ellipse 70% 80% at 50% 0%, rgba(195,169,114,0.14) 0%, transparent 55%),
        linear-gradient(180deg, var(--primary-lighter) 0%, var(--white) 100%);
    padding: 72px 0;
}

.cta-center {
    text-align: center;
}

.cta-center .section-title {
    margin-bottom: 14px;
}

.cta-center p {
    color: var(--gray-500);
    font-size: 16.5px;
    max-width: 480px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

/* Job card position for save btn */
.job-card {
    position: relative;
}

/* Share button */
.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-fast);
}

.btn-share:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.job-actions-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

/* Desktop: hide bottom nav padding */
@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }

    .bottom-nav {
        display: none !important;
    }

    .nav-desktop-only {
        display: flex;
    }

    .nav--desktop {
        display: flex !important;
    }

    .nav--drawer {
        display: none !important;
    }

    .menu-toggle,
    .nav-overlay,
    .mobile-nav-header,
    .mobile-nav-close {
        display: none !important;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom));
    }

    .bottom-nav {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-overlay {
        display: block;
    }

    .nav--desktop {
        display: none !important;
    }

    .nav--drawer {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        bottom: 0;
        width: min(300px, 88vw);
        max-width: 100%;
        height: 100dvh;
        z-index: 300;
        background: var(--white);
        padding: 0 0 calc(24px + var(--safe-bottom));
        box-shadow: -8px 0 40px rgba(22, 24, 28, 0.18);
        transform: translate3d(100%, 0, 0);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-x: hidden;
        overflow-y: auto;
        gap: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .nav--drawer.open {
        transform: translate3d(0, 0, 0);
    }

    .nav--drawer a {
        display: flex !important;
        align-items: center;
        gap: 12px;
        padding: 14px 20px;
        margin: 0 12px;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 600;
        color: var(--gray-800) !important;
        text-decoration: none;
        overflow: visible;
        flex-shrink: 0;
        min-height: 48px;
        opacity: 1;
        visibility: visible;
    }

    .nav--drawer a::before {
        display: none !important;
    }

    .nav--drawer a.active,
    .nav--drawer a:hover {
        background: var(--primary-light);
        color: var(--primary-dark) !important;
    }

    .nav--drawer .btn-nav {
        margin: 12px 12px 0;
        justify-content: center;
        text-align: center;
        background: var(--primary);
        color: var(--white) !important;
        border-radius: var(--radius);
    }

    .nav--drawer .mobile-nav-header {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px 18px;
        border-bottom: 1px solid var(--gray-200);
        margin-bottom: 8px;
        background: var(--gray-100);
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .nav--drawer .mobile-nav-header img {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .nav--drawer .mobile-nav-header strong {
        flex: 1;
        font-size: 15px;
        color: var(--gray-900);
    }

    .nav--drawer .mobile-nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: none;
        background: var(--white);
        border-radius: 10px;
        font-size: 24px;
        line-height: 1;
        color: var(--gray-600);
        cursor: pointer;
    }

    .top-shell .container,
    .header .container,
    .header-inner {
        height: var(--header-height);
        flex-direction: row;
        padding: 0 16px;
    }

    .logo-text {
        font-size: 16px;
    }

    .logo img {
        height: 44px;
    }

    .filter-bar,
    .filter-bar--jobs {
        position: static;
        top: auto;
        z-index: auto;
        margin-bottom: 20px;
        padding: 16px;
    }

    .filter-bar--jobs .jobs-filter-form {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        align-items: stretch;
    }

    .filter-actions {
        flex-direction: column;
        width: 100%;
    }

    .filter-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding: 40px 0 48px;
    }

    .hero h1 {
        font-size: 1.4rem;
    }

    .hero-stats {
        display: none;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .process-grid::before {
        display: none;
    }

    .process-step {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        text-align: right;
    }

    .process-number {
        margin: 0;
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sticky-apply {
        display: block;
    }

    .footer {
        padding-bottom: 16px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px;
    }

    .container {
        padding: 0 16px;
    }

    .job-detail-main {
        padding: 20px;
    }

    .page-header {
        padding-top: 20px;
        margin-bottom: 16px;
    }

    .page-header h1 {
        font-size: 24px;
    }
}

.btn-lg {
    font-size: 16px;
    padding: 14px 32px;
}

@media (max-width: 992px) and (min-width: 769px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-grid::before {
        display: none;
    }
}