/* ===== OnlineTeflJob.com — Common Styles (v1) ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Colors — Forest Green + Sunset Orange */
  --color-primary: #1A3C34;
  --color-primary-light: #2D5E4F;
  --color-primary-dark: #122B25;
  --color-accent: #E06B3A;
  --color-accent-hover: #C85A2E;
  --color-accent-light: #FEF0EB;
  --color-success: #2D8B5E;
  --color-success-light: #E6F5EE;
  --color-warning: #D97706;
  --color-error: #C7432E;
  --color-error-light: #FDECEC;

  /* Backgrounds — warm tones */
  --bg-page: #FAF8F5;
  --bg-surface: #FFFDFB;
  --bg-muted: #F5F2EE;
  --bg-dark: #1A3C34;
  --bg-sidebar: #F0F7F4;

  /* Text */
  --text-primary: #1C2A26;
  --text-secondary: #4A5E58;
  --text-muted: #7A8F88;
  --text-inverse: #FFFFFF;
  --text-link: #1A3C34;
  --text-link-hover: #E06B3A;

  /* Borders */
  --border-default: #E4DFD8;
  --border-light: #EDE9E3;
  --border-focus: #1A3C34;

  /* Fonts — Libre Baskerville + Nunito Sans */
  --font-display: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, sans-serif;

  /* Shadows — soft & warm */
  --shadow-sm: 0 1px 3px rgba(26,60,52,0.06);
  --shadow-md: 0 4px 14px rgba(26,60,52,0.08);
  --shadow-lg: 0 10px 30px rgba(26,60,52,0.10);

  /* Radius — larger, softer */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 100px;

  /* Timing */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --easing: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--font-body); }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav { position: sticky; top: 0; z-index: 100; background: var(--bg-surface); border-bottom: 1px solid var(--border-default); transition: box-shadow var(--duration-fast) var(--easing); }
.nav.scrolled { box-shadow: 0 2px 8px rgba(26,60,52,0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

/* Logo — thick-thin weight contrast */
.nav-logo { font-family: var(--font-body); font-size: 22px; color: var(--color-primary); letter-spacing: -0.01em; display: inline-flex; align-items: baseline; }
.logo-thin { font-weight: 300; font-size: 17px; }
.logo-bold { font-weight: 700; font-size: 24px; }
.logo-dot { font-weight: 400; font-size: 17px; color: var(--color-accent); }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--text-primary); transition: color var(--duration-fast) var(--easing); }
.nav-links a:hover { color: var(--text-link-hover); }
.nav-links .nav-cta { color: var(--color-accent); }

.nav-hamburger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--radius-md); }
.nav-hamburger:hover { background: var(--bg-muted); }
.nav-hamburger svg { width: 22px; height: 22px; stroke: var(--text-primary); }

/* Mobile drawer */
.nav-drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(26,60,52,0.45); z-index: 200; opacity: 0; transition: opacity var(--duration-normal) var(--easing); }
.nav-drawer-overlay.open { opacity: 1; }
.nav-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: var(--bg-surface); z-index: 201; transform: translateX(100%); transition: transform var(--duration-normal) var(--easing); padding: 20px; }
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; margin-left: auto; margin-bottom: 24px; border-radius: var(--radius-md); }
.nav-drawer-close:hover { background: var(--bg-muted); }
.nav-drawer-links { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.nav-drawer-links a { display: block; padding: 12px 16px; font-size: 16px; font-weight: 600; color: var(--text-primary); border-radius: var(--radius-md); transition: background var(--duration-fast) var(--easing); }
.nav-drawer-links a:hover { background: var(--bg-muted); }
.nav-drawer-links .nav-cta-mobile { color: var(--color-accent); font-weight: 700; margin-top: 8px; border-top: 1px solid var(--border-default); padding-top: 16px; }

/* ===== HERO ===== */
.hero { background: var(--bg-dark); position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(45,139,94,0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(224,107,58,0.08) 0%, transparent 50%);
  pointer-events: none;
}
/* Contour line pattern (replaces grid) */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 600px 200px at 50% 60%, rgba(255,255,255,0.04) 30%, transparent 70%),
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,0.015) 0deg 2deg, transparent 2deg 20deg);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding: 80px 0 88px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-content { max-width: 520px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.25rem + 2.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text-inverse);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.hero-subtitle {
  font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.1rem);
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-cta {
  display: inline-flex;
  align-items: center; gap: 10px;
  background: var(--color-accent);
  color: var(--text-inverse);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  transition: background var(--duration-fast) var(--easing), transform var(--duration-fast) var(--easing);
}
.hero-cta:hover { background: var(--color-accent-hover); transform: translateY(-1px); }
.hero-cta svg { width: 18px; height: 18px; }

/* Hero illustration placeholder */
.hero-illustration { display: flex; align-items: center; justify-content: center; }
.hero-illustration svg { width: 100%; max-width: 380px; height: auto; }

/* ===== SECTIONS ===== */
.section { padding: 72px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}
/* Decorative line under section title */
.section-header h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 12px auto 0;
}
.section-header p { color: var(--text-secondary); margin-top: 10px; font-size: 15px; max-width: 560px; margin-left: auto; margin-right: auto; }
.section-header-row { display: flex; align-items: baseline; justify-content: space-between; }
.section-link { font-size: 14px; font-weight: 700; color: var(--color-accent); display: flex; align-items: center; gap: 4px; transition: gap var(--duration-fast) var(--easing); }
.section-link:hover { gap: 8px; }

/* ===== JOB CARDS — left accent stripe, horizontal layout ===== */
.jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.job-card, a.job-card {
  background: var(--bg-surface);
  border: none;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-fast) var(--easing), box-shadow var(--duration-fast) var(--easing), border-color var(--duration-fast) var(--easing);
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.job-card.partner-card { border-left-color: var(--color-accent); }
a.job-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-left-color: var(--color-accent); color: inherit; text-decoration: none; }

.job-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.job-card-title { font-size: 17px; font-weight: 700; color: var(--color-primary); line-height: 1.3; transition: color var(--duration-fast) var(--easing); flex: 1; }
.job-card:hover .job-card-title { color: var(--color-accent); }
.job-card-salary {
  font-size: 14px; font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
  flex-shrink: 0;
}
.job-card-company { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.job-card-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.job-card-meta-item { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-muted); }
.job-card-meta-item svg { width: 13px; height: 13px; stroke: var(--text-muted); }
.job-card-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Badges — inline text style, not pills */
.job-badge { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: var(--radius-sm); letter-spacing: 0.01em; }
.badge-fulltime { background: var(--color-success-light); color: var(--color-success); }
.badge-parttime { background: #EDE9FE; color: #7C3AED; }
.badge-online { background: #E0F7FA; color: #00838F; }
.badge-contract { background: var(--color-accent-light); color: var(--color-accent); }
.badge-remote { background: #F0FDF4; color: #15803D; }

.job-card-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--border-light); }
.job-card-date { font-size: 11px; color: var(--text-muted); }
.job-card-apply {
  font-size: 13px; font-weight: 700;
  color: var(--color-accent);
  display: flex; align-items: center; gap: 4px;
  transition: gap var(--duration-fast) var(--easing);
  border: none; background: none; padding: 0;
}
.job-card-apply:hover { gap: 8px; }
.job-card-apply svg { width: 14px; height: 14px; }
.job-card-source { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.job-card-source svg { width: 12px; height: 12px; stroke: var(--text-muted); }

/* ===== CTA SECTION — light background, outlined card ===== */
.cta-section { background: var(--bg-page); position: relative; }
.cta-inner {
  position: relative; z-index: 1;
  padding: 56px 48px;
  text-align: center;
  background: var(--bg-surface);
  border: 2px solid var(--border-default);
  border-radius: var(--radius-xl);
  max-width: 800px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.cta-inner p { color: var(--text-secondary); font-size: 15px; max-width: 480px; margin: 0 auto 28px; }

/* Buttons — pill style */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-accent);
  color: var(--text-inverse);
  font-weight: 700; font-size: 16px;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  transition: background var(--duration-fast) var(--easing), transform var(--duration-fast) var(--easing);
  border: none;
}
.btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--color-primary);
  font-weight: 700; font-size: 15px;
  padding: 12px 28px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-pill);
  transition: all var(--duration-fast) var(--easing);
}
.btn-secondary:hover { background: var(--color-primary); color: var(--text-inverse); }

/* ===== TRUST — alternating layout ===== */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-card {
  text-align: center;
  padding: 36px 28px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.trust-icon {
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-accent-light);
  border-radius: var(--radius-lg);
  color: var(--color-accent);
  font-size: 22px;
}
.trust-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.trust-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }

/* ===== FOOTER — light, centered, minimal ===== */
.footer { background: var(--bg-muted); color: var(--text-primary); padding: 56px 0 28px; }
.footer-top { text-align: center; margin-bottom: 36px; }
.footer-brand {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 8px;
  display: inline-flex; align-items: baseline;
}
.footer-brand .logo-thin { font-weight: 300; font-size: 16px; color: var(--color-primary); }
.footer-brand .logo-bold { font-weight: 700; font-size: 22px; color: var(--color-primary); }
.footer-brand .logo-dot { font-weight: 400; font-size: 16px; color: var(--color-accent); }
.footer-tagline { font-size: 14px; color: var(--text-muted); max-width: 480px; margin: 0 auto; line-height: 1.6; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; list-style: none; margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--border-default); }
.footer-nav a { font-size: 13px; font-weight: 600; color: var(--text-secondary); transition: color var(--duration-fast) var(--easing); }
.footer-nav a:hover { color: var(--color-accent); }
.footer-bottom { display: flex; align-items: center; justify-content: center; gap: 24px; font-size: 12px; color: var(--text-muted); flex-wrap: wrap; }
.footer-bottom a { color: var(--text-muted); transition: color var(--duration-fast) var(--easing); }
.footer-bottom a:hover { color: var(--color-accent); }

/* ===== MODAL (Post a Job + general) ===== */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(26,60,52,0.55);
  z-index: 300;
  align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--easing);
}
.modal-overlay.open { display: flex; opacity: 1; }
.modal {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  max-width: 580px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: 36px;
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform var(--duration-normal) var(--easing);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md); }
.modal-close:hover { background: var(--bg-muted); }
.modal-close svg { width: 18px; height: 18px; stroke: var(--text-secondary); }
.modal-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text-primary); margin-bottom: 24px; }

/* Forms */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.form-label .required { color: var(--color-error); margin-left: 2px; }
.form-optional { font-size: 12px; color: var(--text-muted); font-weight: 400; margin-left: 4px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-err { display: block; font-size: 12px; color: var(--color-error); margin-top: 4px; font-weight: 600; }
.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--duration-fast) var(--easing), box-shadow var(--duration-fast) var(--easing);
  background: var(--bg-surface);
}
.form-input:focus { border-color: var(--border-focus); box-shadow: 0 0 0 3px rgba(26,60,52,0.08); }
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { min-height: 160px; resize: vertical; line-height: 1.6; }
.form-warning { display: flex; align-items: flex-start; gap: 10px; background: var(--color-accent-light); border-radius: var(--radius-md); padding: 12px 16px; margin-bottom: 20px; }
.form-warning-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.form-warning p { font-size: 13px; color: var(--color-accent-hover); line-height: 1.5; }
.form-submit {
  width: 100%;
  background: var(--color-accent);
  color: var(--text-inverse);
  font-weight: 700; font-size: 16px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  transition: background var(--duration-fast) var(--easing);
  border: none;
}
.form-submit:hover { background: var(--color-accent-hover); }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.form-note { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 12px; }
.form-divider { border: none; border-top: 1px dashed var(--border-default); margin: 24px 0 20px; }
.form-section-intro { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 18px; font-weight: 500; }

/* Private fields block (phone + third-party IM) */
.form-private-block {
  background: var(--bg-sidebar);
  border: 1.5px dashed var(--color-success);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}
.form-private-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700;
  color: var(--color-success);
  margin-bottom: 12px;
}
.form-private-header svg { width: 16px; height: 16px; }
.form-private-note { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-bottom: 14px; }
.form-phone-row { display: flex; gap: 8px; margin-bottom: 14px; }
.form-phone-code {
  width: 90px; padding: 12px 10px;
  font-size: 15px;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  background: var(--bg-surface);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%237A8F88' stroke-width='2'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  cursor: pointer;
}
.form-phone-number {
  flex: 1; padding: 12px 16px;
  font-size: 15px;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  outline: none;
  background: var(--bg-surface);
  transition: border-color var(--duration-fast) var(--easing);
}
.form-phone-number:focus { border-color: var(--border-focus); }
.form-im-options { display: flex; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.form-im-option {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}
.form-im-option input[type="radio"] { accent-color: var(--color-primary); }
.form-im-account {
  width: 100%; padding: 12px 16px;
  font-size: 15px;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  outline: none;
  background: var(--bg-surface);
  transition: border-color var(--duration-fast) var(--easing);
}
.form-im-account:focus { border-color: var(--border-focus); }

/* Salary row */
.form-salary-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-salary-row input[type="number"] {
  width: 140px; padding: 12px 16px;
  font-size: 15px;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary); outline: none;
  transition: border-color var(--duration-fast) var(--easing);
}
.form-salary-row input[type="number"]:focus { border-color: var(--border-focus); box-shadow: 0 0 0 3px rgba(26,60,52,0.08); }
.form-salary-row select {
  padding: 12px 36px 12px 16px;
  font-size: 15px;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  background: var(--bg-surface);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%237A8F88' stroke-width='2'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer; outline: none;
}
.form-salary-row select:focus { border-color: var(--border-focus); }

/* Modal success state */
.modal-success { display: none; text-align: center; padding: 24px 0; }
.modal-success.show { display: block; }
.modal-form.hide { display: none; }
.success-icon { width: 56px; height: 56px; background: var(--color-success-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 28px; }

/* ===== SECONDARY MODAL (Detail page — contact reveal) ===== */
.contact-modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(26,60,52,0.6);
  z-index: 300;
  align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--easing);
}
.contact-modal-overlay.open { display: flex; opacity: 1; }
.contact-modal {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  max-width: 480px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: 36px;
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform var(--duration-normal) var(--easing);
  box-shadow: var(--shadow-lg);
}
.contact-modal-overlay.open .contact-modal { transform: scale(1) translateY(0); }
.contact-modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md); }
.contact-modal-close:hover { background: var(--bg-muted); }
.contact-modal-close svg { width: 18px; height: 18px; stroke: var(--text-secondary); }
.contact-modal-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.contact-modal-subtitle { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.5; }
.contact-modal .form-submit { margin-top: 8px; }
/* Contact revealed state */
.contact-revealed-box {
  display: none;
  text-align: center;
  padding: 16px 0;
}
.contact-revealed-box.show { display: block; }
.contact-revealed-icon { font-size: 48px; margin-bottom: 12px; }
.contact-revealed-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--color-success); margin-bottom: 16px; }
.contact-revealed-detail {
  background: var(--color-success-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
  margin-bottom: 16px;
}
.contact-revealed-detail p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 6px; }
.contact-revealed-detail strong { color: var(--text-primary); }
.contact-revealed-detail a { color: var(--color-primary); font-weight: 700; text-decoration: underline; }
.contact-revealed-luck { font-size: 14px; color: var(--text-muted); font-style: italic; }

/* ===== CAPTCHA COMPONENT ===== */
.captcha-box {
  background: var(--bg-muted);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
}
.captcha-label { font-size: 13px; font-weight: 700; color: var(--text-secondary); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.captcha-label svg { width: 14px; height: 14px; }

/* Math captcha */
.captcha-math { display: flex; align-items: center; gap: 10px; }
.captcha-math-question { font-size: 16px; font-weight: 700; color: var(--text-primary); white-space: nowrap; }
.captcha-math-input {
  width: 80px; padding: 8px 12px;
  font-size: 16px; font-weight: 700;
  text-align: center;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  outline: none;
  background: var(--bg-surface);
}
.captcha-math-input:focus { border-color: var(--border-focus); }
.captcha-refresh {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: background var(--duration-fast) var(--easing);
}
.captcha-refresh:hover { background: var(--border-light); }
.captcha-refresh svg { width: 16px; height: 16px; }

/* Slider captcha (alternative) */
.captcha-slider { margin-top: 8px; }
.captcha-slider-track {
  position: relative;
  height: 40px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.captcha-slider-fill {
  position: absolute; top: 0; left: 0; bottom: 0;
  background: var(--color-success-light);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  transition: width 0.05s;
}
.captcha-slider-thumb {
  position: absolute; top: 50%;
  width: 36px; height: 36px;
  background: var(--bg-surface);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  cursor: grab;
  box-shadow: var(--shadow-sm);
}
.captcha-slider-thumb svg { width: 16px; height: 16px; stroke: var(--color-primary); }
.captcha-slider-text { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 6px; user-select: none; }
.captcha-verified { display: none; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--color-success); }
.captcha-verified.show { display: flex; }

/* Submit cooldown */
.btn-cooldown { opacity: 0.5; pointer-events: none; position: relative; }
.btn-cooldown::after {
  content: attr(data-countdown);
  position: absolute; right: 16px;
  font-size: 13px; font-weight: 600;
}

/* ===== PAGE LAYOUT (for inner pages) ===== */
.page-header {
  background: var(--bg-dark);
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 40% 70%, rgba(45,139,94,0.15) 0%, transparent 55%);
  pointer-events: none;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.125rem + 1.5vw, 2.25rem);
  font-weight: 700;
  color: var(--text-inverse);
  position: relative; z-index: 1;
}
.page-header p { color: rgba(255,255,255,0.6); margin-top: 8px; font-size: 15px; position: relative; z-index: 1; }
.page-content { max-width: 800px; margin: 0 auto; padding: 56px 24px; }
.page-content h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-top: 36px; margin-bottom: 12px; }
.page-content h3 { font-size: 18px; font-weight: 700; margin-top: 28px; margin-bottom: 8px; }
.page-content p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.page-content ul, .page-content ol { color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; padding-left: 24px; }
.page-content li { margin-bottom: 6px; }
.page-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.page-content th { background: var(--bg-muted); padding: 12px 16px; text-align: left; font-weight: 700; border-bottom: 2px solid var(--border-default); }
.page-content td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); }
.page-content tr:hover td { background: var(--bg-muted); }

/* ===== JOB DETAIL ===== */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; max-width: 1200px; margin: 0 auto; padding: 44px 24px; }
.detail-main { min-width: 0; }
.detail-sidebar { display: flex; flex-direction: column; gap: 20px; }
.detail-breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.detail-breadcrumb a { color: var(--text-muted); transition: color var(--duration-fast) var(--easing); }
.detail-breadcrumb a:hover { color: var(--text-link-hover); }
.detail-title { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--text-primary); line-height: 1.2; margin-bottom: 8px; }
.detail-company { font-size: 16px; color: var(--text-secondary); font-weight: 600; margin-bottom: 16px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 28px; }
.detail-meta-item { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-secondary); }
.detail-meta-item svg { width: 16px; height: 16px; stroke: var(--text-muted); }
.detail-section { margin-bottom: 36px; }
.detail-section h2 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.detail-section p, .detail-section li { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 8px; }
.detail-section ul { padding-left: 20px; }

/* Apply box — light green sidebar */
.apply-box {
  background: var(--bg-sidebar);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky; top: 88px;
}
.apply-box-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.apply-box-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 20px; }
.apply-btn-full {
  width: 100%;
  background: var(--color-accent);
  color: var(--text-inverse);
  font-weight: 700; font-size: 16px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: none;
  transition: background var(--duration-fast) var(--easing);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 12px;
}
.apply-btn-full:hover { background: var(--color-accent-hover); }
.apply-note { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* Contact revealed (inline fallback for non-modal mode) */
.contact-revealed {
  background: var(--color-success-light);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 16px;
}
.contact-revealed-title { font-size: 14px; font-weight: 700; color: var(--color-success); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.contact-revealed p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 6px; }
.contact-revealed a { color: var(--color-primary); font-weight: 700; text-decoration: underline; }
.contact-revealed.hidden { display: none; }
.contact-warning { background: var(--color-accent-light); border-radius: var(--radius-md); padding: 12px; margin-top: 12px; font-size: 12px; color: var(--color-accent-hover); line-height: 1.5; }
.contact-apply-btn { cursor: pointer; }

/* Partner apply */
.partner-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-muted); border-radius: var(--radius-md); padding: 8px 14px; font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; }
.partner-badge svg { width: 14px; height: 14px; }

/* Related jobs sidebar */
.sidebar-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.sidebar-card-title { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.sidebar-job { padding: 12px 0; border-bottom: 1px solid var(--border-light); }
.sidebar-job:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-job-title { font-size: 14px; font-weight: 700; color: var(--color-primary); margin-bottom: 2px; transition: color var(--duration-fast) var(--easing); }
.sidebar-job-title:hover { color: var(--color-accent); }
.sidebar-job-company { font-size: 12px; color: var(--text-muted); }
.sidebar-job-meta { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ===== FILTER BAR (jobs page) — pill tabs ===== */
.filter-bar { background: var(--bg-surface); border-bottom: 1px solid var(--border-default); padding: 14px 0; position: sticky; top: 64px; z-index: 50; }
.filter-bar-inner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.filter-pill {
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  background: var(--bg-surface);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--duration-fast) var(--easing);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none' stroke='%237A8F88' stroke-width='2'%3E%3Cpath d='M2 3.5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 30px;
}
.filter-pill:focus { border-color: var(--border-focus); outline: none; }
.filter-pill.active { background: var(--color-primary); color: var(--text-inverse); border-color: var(--color-primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M2 3.5l3 3 3-3'/%3E%3C/svg%3E"); }
.filter-count { font-size: 14px; color: var(--text-muted); margin-left: auto; white-space: nowrap; }

/* ===== PAGINATION ===== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 36px 0; }
.pagination a, .pagination span {
  padding: 8px 14px;
  font-size: 14px;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--easing);
}
.pagination a:hover { background: var(--bg-muted); color: var(--text-primary); }
.pagination .active { background: var(--color-primary); color: var(--text-inverse); font-weight: 700; }
.pagination .disabled { color: var(--text-muted); pointer-events: none; }

/* ===== BREADCRUMB (subpages) ===== */
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 16px 0 0; }
.breadcrumb a { color: var(--text-muted); transition: color var(--duration-fast) var(--easing); }
.breadcrumb a:hover { color: var(--text-link-hover); }

/* ===== MOBILE STICKY APPLY BUTTON ===== */
.mobile-sticky-apply { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--bg-surface); border-top: 1px solid var(--border-default); padding: 12px 16px; z-index: 90; box-shadow: 0 -2px 10px rgba(26,60,52,0.08); }
.mobile-sticky-apply .apply-btn-full { margin-bottom: 0; }

/* ===== JOB DETAIL PREV/NEXT NAVIGATION ===== */
.detail-pagination { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border-default); padding-top: 24px; margin-top: 36px; gap: 16px; }
.detail-pagination a { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text-secondary); padding: 12px 18px; border: 1.5px solid var(--border-default); border-radius: var(--radius-pill); transition: all var(--duration-fast) var(--easing); max-width: 48%; }
.detail-pagination a:hover { border-color: var(--color-accent); color: var(--color-accent); }
.detail-pagination a div { display: flex; flex-direction: column; gap: 2px; }
.detail-pagination .pag-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.detail-pagination .pag-title { font-weight: 700; color: var(--text-primary); font-size: 14px; line-height: 1.35; }
.detail-pagination a svg { color: var(--text-muted); flex-shrink: 0; }

/* ===== CONTACT FORM ===== */
.contact-form-wrapper { max-width: 600px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 0; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 16px;
  font-size: 15px;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary); outline: none;
  transition: border-color var(--duration-fast) var(--easing), box-shadow var(--duration-fast) var(--easing);
  background: var(--bg-surface);
  font-family: var(--font-body);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--border-focus); box-shadow: 0 0 0 3px rgba(26,60,52,0.08); }
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%237A8F88' stroke-width='2'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.contact-form textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.contact-form .btn-primary { width: 100%; justify-content: center; margin-top: 4px; border: none; font-size: 16px; padding: 14px 24px; }
.contact-response-time { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 16px; }

/* ===== Q&A CONTENT FILTER WARNING ===== */
.qa-content-warning {
  display: none;
  align-items: flex-start;
  gap: 8px;
  background: #FEF9E7;
  border: 1.5px solid #F5C518;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-top: 8px;
  font-size: 13px;
  color: #7A6200;
  line-height: 1.5;
}
.qa-content-warning.show { display: flex; }
.qa-content-warning svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; stroke: #B45309; }

/* ===== TEFL TIPS CARDS ===== */
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tip-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-fast) var(--easing), box-shadow var(--duration-fast) var(--easing);
  display: flex; flex-direction: column; gap: 10px;
}
.tip-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.tip-card-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-accent); }
.tip-card-title { font-size: 16px; font-weight: 700; color: var(--text-primary); line-height: 1.35; }
.tip-card-body { font-size: 14px; color: var(--text-secondary); line-height: 1.55; flex: 1; }
.tip-card-link { font-size: 13px; font-weight: 700; color: var(--color-accent); display: flex; align-items: center; gap: 4px; transition: gap var(--duration-fast) var(--easing); }
.tip-card-link:hover { gap: 8px; }

/* ===== TEFL PROVIDERS ===== */
.provider-list { display: flex; flex-direction: column; gap: 16px; }
.provider-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: start;
}
.provider-card.highlighted { border: 2px solid var(--color-accent); }
.provider-rank {
  width: 44px; height: 44px;
  background: var(--bg-muted);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
  color: var(--text-muted);
}
.provider-card.highlighted .provider-rank { background: var(--color-accent-light); color: var(--color-accent); }
.provider-info h3 { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.provider-score { font-size: 13px; font-weight: 700; color: var(--color-accent); margin-bottom: 8px; }
.provider-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.55; margin-bottom: 10px; }
.provider-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.provider-tag { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--bg-sidebar); color: var(--color-primary-light); }
.provider-action {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.provider-visit {
  font-size: 13px; font-weight: 700;
  color: var(--color-accent);
  padding: 8px 20px;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-pill);
  transition: all var(--duration-fast) var(--easing);
  white-space: nowrap;
}
.provider-visit:hover { background: var(--color-accent); color: var(--text-inverse); }

/* ===== Q&A LIST ===== */
.qa-list { display: flex; flex-direction: column; gap: 14px; }
.qa-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-fast) var(--easing), box-shadow var(--duration-fast) var(--easing);
}
.qa-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.qa-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.qa-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.qa-avatar-1 { background: #2D8B5E; }
.qa-avatar-2 { background: #E06B3A; }
.qa-avatar-3 { background: #3B82F6; }
.qa-avatar-4 { background: #8B5CF6; }
.qa-avatar-5 { background: #0891B2; }
.qa-name { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.qa-time { font-size: 11px; color: var(--text-muted); }
.qa-card-title { font-size: 16px; font-weight: 700; color: var(--text-primary); line-height: 1.35; margin-bottom: 6px; }
.qa-card-body { font-size: 14px; color: var(--text-secondary); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qa-card-footer { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.qa-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.qa-tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--bg-sidebar); color: var(--color-primary-light); }
.qa-answers { font-size: 12px; font-weight: 700; color: var(--color-accent); margin-left: auto; }
.qa-votes { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-muted); }
.qa-vote-btn {
  width: 24px; height: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  cursor: pointer;
  transition: all var(--duration-fast) var(--easing);
}
.qa-vote-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ===== SUBPAGE HEADER/FOOTER COMPATIBILITY ===== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--bg-surface); border-bottom: 1px solid var(--border-default); }
.site-header .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-header .logo { font-family: var(--font-body); font-size: 22px; color: var(--color-primary); display: inline-flex; align-items: baseline; }
.site-header .logo .logo-thin { font-weight: 300; font-size: 17px; }
.site-header .logo .logo-bold { font-weight: 700; font-size: 24px; }
.site-header .logo .logo-dot { font-weight: 400; font-size: 17px; color: var(--color-accent); }
.site-header .main-nav { display: flex; align-items: center; gap: 28px; }
.site-header .main-nav a { font-size: 14px; font-weight: 600; color: var(--text-primary); transition: color var(--duration-fast) var(--easing); }
.site-header .main-nav a:hover { color: var(--text-link-hover); }
.site-header .main-nav .btn-nav { color: var(--color-accent); }
.site-header .hamburger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border-radius: var(--radius-md); }
.site-header .hamburger:hover { background: var(--bg-muted); }
.site-header .hamburger span { display: block; width: 20px; height: 2px; background: var(--text-primary); border-radius: 2px; }

/* Subpage mobile drawer */
.mobile-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: var(--bg-surface); z-index: 201; transform: translateX(100%); transition: transform var(--duration-normal) var(--easing); padding: 20px; }
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer .drawer-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; margin-left: auto; margin-bottom: 24px; border-radius: var(--radius-md); font-size: 24px; color: var(--text-secondary); }
.mobile-drawer .drawer-close:hover { background: var(--bg-muted); }
.mobile-drawer .drawer-nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer .drawer-nav a { display: block; padding: 12px 16px; font-size: 16px; font-weight: 600; color: var(--text-primary); border-radius: var(--radius-md); transition: background var(--duration-fast) var(--easing); }
.mobile-drawer .drawer-nav a:hover { background: var(--bg-muted); }
.mobile-drawer .drawer-nav .btn-nav { color: var(--color-accent); font-weight: 700; margin-top: 8px; border-top: 1px solid var(--border-default); padding-top: 16px; }
.drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(26,60,52,0.45); z-index: 200; }
.drawer-overlay.open { display: block; }

/* Subpage footer */
.site-footer { background: var(--bg-muted); color: var(--text-primary); padding: 56px 0 28px; }
.site-footer .footer-top { text-align: center; margin-bottom: 36px; }
.site-footer .footer-brand { font-family: var(--font-body); font-size: 20px; color: var(--color-primary); margin-bottom: 8px; display: inline-flex; align-items: baseline; }
.site-footer .footer-brand .logo-thin { font-weight: 300; font-size: 16px; color: var(--color-primary); }
.site-footer .footer-brand .logo-bold { font-weight: 700; font-size: 22px; color: var(--color-primary); }
.site-footer .footer-brand .logo-dot { font-weight: 400; font-size: 16px; color: var(--color-accent); }
.site-footer .footer-tagline { font-size: 14px; color: var(--text-muted); max-width: 480px; margin: 0 auto; line-height: 1.6; }
.site-footer .footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; list-style: none; margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--border-default); }
.site-footer .footer-nav a { font-size: 13px; font-weight: 600; color: var(--text-secondary); transition: color var(--duration-fast) var(--easing); }
.site-footer .footer-nav a:hover { color: var(--color-accent); }
.site-footer .footer-bottom { display: flex; align-items: center; justify-content: center; gap: 24px; font-size: 12px; color: var(--text-muted); flex-wrap: wrap; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-illustration { display: none; }
  .jobs-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .tips-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; padding-bottom: 80px; }
  .detail-sidebar { order: 1; }
  .apply-box { position: static; display: none; }
  .mobile-sticky-apply { display: block; }
  .mobile-sticky-apply .apply-btn-full { margin-bottom: 0; border-radius: var(--radius-pill); box-shadow: 0 4px 14px rgba(224,107,58,0.35); }
  .detail-pagination { gap: 12px; }
  .detail-pagination a { padding: 14px 16px; border-radius: var(--radius-lg); max-width: none; flex: 1; }
  .detail-pagination a:first-child { justify-content: flex-start; }
  .detail-pagination a:last-child { justify-content: flex-end; }
  .detail-pagination a:last-child div { align-items: flex-end; }
  .detail-pagination .pag-title { font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .provider-card { grid-template-columns: auto 1fr; }
  .provider-action { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .site-header .main-nav { display: none; }
  .site-header .hamburger { display: flex; }
}
@media (max-width: 767px) {
  .hero-inner { padding: 56px 0 64px; }
  .jobs-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section { padding: 52px 0; }
  .modal { padding: 28px 22px; }
  .contact-modal { padding: 28px 22px; }
  .filter-bar-inner { gap: 6px; }
  .cta-inner { padding: 40px 24px; }
  .provider-card { grid-template-columns: 1fr; }
  .provider-rank { width: auto; height: auto; background: none; font-size: 13px; color: var(--text-muted); }
  .site-footer .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 639px) {
  .container { padding: 0 16px; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeUp 0.5s var(--easing) both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ===== JOB CARD FULL CLICKABLE ===== */
.job-card-link { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.job-card-link:hover { text-decoration: none; }
.contact-revealed.hidden { display: none; }
