:root {
  --primary: #1a7f5e;
  --primary-hover: #146c4d;
  --primary-dark: #0f5c42;
  --primary-light: #ecfdf5;
  --primary-bg: #f0f7f3;

  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --bg: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  --dark: #0f172a;
  --dark-hover: #1e293b;

  --wa: #25D366;
  --wa-hover: #1ebe5a;

  --red: #ef4444;
  --red-bg: #fef2f2;
  --amber: #f59e0b;
  --amber-bg: #fffbeb;
  --amber-text: #b45309;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 2px; }

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; }

::selection { background: var(--primary); color: #fff; }

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}
.topbar-logo {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.topbar-logo span { color: var(--text); }
.logo-img { height: 50px; width: auto; display: block; flex-shrink: 0; max-width: none; }
.topbar a { text-decoration: none; }
.topbar-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}
.topbar-nav a {
  padding: 6px 18px;
  border-radius: 20px;
  background: var(--border-light);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: 0.2s;
}
.topbar-nav a:first-child {
  background: var(--primary);
  color: #fff;
}
.topbar-nav a:first-child:hover {
  background: var(--primary-hover);
}
.topbar-nav a:last-child {
  background: transparent;
  border: 2px solid var(--border);
}
.topbar-nav a:last-child:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}
.back-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: 0.15s;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}
.back-link:hover { background: var(--border-light); color: var(--text); }
.back-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Language Box */
.lang-box { display: flex; gap: 4px; }
.lang-box button {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 13px;
  min-height: 40px;
  min-width: 40px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s;
  color: var(--text-secondary);
  font-family: inherit;
}
.lang-box button:hover { background: var(--border-light); border-color: var(--text-muted); }
.lang-box button.active {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

/* Hero */
.hero {
  padding: 72px 28px 56px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--primary-light);
  border-radius: 100px;
  padding: 7px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 62px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--primary); }
.hero p {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Hero Section (content pages) */
.hero-section {
  text-align: center;
  padding: 48px 24px 32px;
}
.hero-section h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Hero Content (job detail pages) */
.hero-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 28px 40px;
  text-align: center;
}
.hero-content h1 {
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 14px;
}
.hero-content p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.hero-trust {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.15s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.3;
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,127,94,0.25); }
.btn-secondary { background: var(--border-light); color: var(--text); }
.btn-secondary:hover { background: var(--border); color: var(--text); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,211,102,0.3); }
.btn-call { background: var(--dark); color: #fff; }
.btn-call:hover { background: var(--dark-hover); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; border: 2px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--text-muted); background: var(--border-light); }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: -20px 28px 0;
  box-shadow: var(--shadow);
}
.stat-item { background: var(--surface); padding: 26px 20px; text-align: center; }
.stat-num { font-size: 27px; font-weight: 900; color: var(--text); letter-spacing: -0.02em; }
.stat-label { font-size: 14px; color: var(--text-secondary); margin-top: 4px; font-weight: 500; }
.stat-item:nth-child(2) .stat-num,
.stat-item:nth-child(3) .stat-num { color: var(--primary); }

/* Container */
.container { max-width: 1100px; margin: 0 auto; padding: 48px 28px 64px; }
.container-narrow { max-width: 960px; margin: 0 auto; padding: 32px 24px 56px; }

/* Section */
.section { padding: 48px 28px; }

/* Section Head */
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; line-height: 1.25; }
.section-head p { font-size: 16px; color: var(--text-secondary); }

/* Urgent Badge */
.urgent-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-bg);
  border: 1px solid #fde68a;
  border-radius: 100px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--amber-text);
  margin-bottom: 28px;
}
.urgent-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Job Grid */
.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 44px;
}
.job-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  border: 1px solid var(--border-light);
}
.job-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}
.job-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  aspect-ratio: 400/140;
}
.job-content { padding: 16px 18px 18px; }
.job-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; line-height: 1.3; }
.job-salary { font-size: 19px; font-weight: 900; color: var(--primary); margin-bottom: 12px; letter-spacing: -0.01em; }
.apply-btn {
  display: block;
  text-align: center;
  background: var(--dark);
  color: #fff;
  padding: 11px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: 0.15s;
}
.apply-btn:hover { background: var(--dark-hover); color: #fff; transform: translateY(-1px); }

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}
.info-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.info-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-card p, .info-card li { font-size: 15px; color: var(--text-secondary); line-height: 1.8; }
.info-card ul li::before { content: "✔ "; color: var(--primary); font-weight: 700; }
.highlight { color: var(--primary); font-weight: 800; }

/* Banner */
.banner-wrap { margin: 32px 0; border-radius: var(--radius-lg); overflow: hidden; }
.banner-wrap img { width: 100%; display: block; aspect-ratio: 1200/500; }

/* Cards */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.card h2 { font-size: 19px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.card ul li { font-size: 15px; color: var(--text-secondary); padding: 4px 0; line-height: 1.7; }
.card ul li::before { content: "✔ "; color: var(--primary); font-weight: 700; }

/* FAQ */
.faq-item { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border-light); }
.faq-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.faq-item h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--text); line-height: 1.4; }
.faq-item p { font-size: 14px; line-height: 1.65; color: var(--text-secondary); }
.faq-list { margin-bottom: 20px; }
.faq-section { margin-bottom: 28px; }

/* CTA Card */
.cta-card {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  margin: 32px 0;
}
.cta-card h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.cta-card p { font-size: 16px; color: var(--text-muted); margin-bottom: 22px; }

/* Form Wrappers */
.form-wrap {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-top: 32px;
}
.form-wrap h3 { padding: 20px 24px 0; font-size: 19px; font-weight: 800; }
.form-wrap iframe { width: 100%; height: 1000px; border: none; display: block; }

.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-top: 32px;
}
.form-card h3 { padding: 20px 24px 0; font-size: 19px; font-weight: 800; }
.form-card iframe { width: 100%; height: 1000px; border: none; display: block; }

.form-embed {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  margin: 20px 0;
}

/* Salary Table */
.salary-table { width: 100%; margin: 8px 0; border-collapse: collapse; }
.salary-table th {
  text-align: left;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--border);
}
.salary-table td { padding: 8px 0; font-size: 15px; border-bottom: 1px solid var(--border-light); }
.salary-table td:last-child { text-align: right; font-weight: 700; }
.total-row td { font-weight: 800; font-size: 16px; color: var(--primary); border-bottom: 2px solid var(--primary); padding-top: 12px; }

/* Salary Breakdown */
.salary-breakdown { margin: 16px 0; }
.salary-guide { max-width: 1000px; }
.salary-section { margin-bottom: 36px; }

/* OT Calculator */
.overtime-calculator {
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 16px 0;
}
.overtime-calculator h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.overtime-calculator .salary-table th { color: var(--primary-dark); }
.overtime-calculator .salary-table td { border-bottom-color: #d1fae5; }

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 600px;
}
.comparison-table th {
  background: var(--bg);
  text-align: left;
  padding: 12px 16px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.comparison-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--border-light); }

/* Company Grid */
.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.company-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: 0.15s;
}
.company-card:hover { border-color: var(--border); box-shadow: var(--shadow); }
.company-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.company-card p { font-size: 13px; color: var(--text-secondary); }

/* Related Jobs */
.rel-jobs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rel-jobs a {
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 14px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.15s;
}
.rel-jobs a:hover { background: var(--primary); color: #fff; }

.related-links { margin-top: 20px; }

/* Page Header */
.page-header { padding: 36px 24px; text-align: center; }
.page-header h1 {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.page-header p { font-size: 15px; color: var(--text-secondary); }

/* Tabs */
.tabs-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 56px;
  z-index: 99;
}
.tabs {
  display: flex;
  gap: 4px;
  padding: 10px 18px;
  min-width: max-content;
  justify-content: center;
}
.tabs a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: 0.15s;
}
.tabs a:hover { background: var(--border-light); color: var(--text); }
.tabs a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.tabs a.active-green { background: var(--primary); color: #fff; }
.tabs a.active-rose { background: #be185d; color: #fff; }
.tabs a.active-red { background: var(--red); color: #fff; }

/* Floating Buttons */
.float-wa, .float-call,
.whatsapp-float, .call-float {
  position: fixed;
  right: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 99;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}
.float-wa:hover, .whatsapp-float:hover,
.float-call:hover, .call-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(0,0,0,0.22); }
.float-wa:focus-visible, .whatsapp-float:focus-visible,
.float-call:focus-visible, .call-float:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.float-wa, .whatsapp-float { bottom: 24px; background: var(--wa); }
.float-call, .call-float { bottom: 90px; background: var(--dark); }

/* Popup */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.popup-content {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 32px 28px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  animation: popup-in 0.25s ease;
}
@keyframes popup-in { from { opacity: 0; transform: scale(0.92) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.popup-content h2 { font-size: 20px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.popup-content .popup-actions { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.popup-content .popup-actions .btn { justify-content: center; padding: 13px 24px; font-size: 15px; }
.popup-close {
  background: var(--border-light);
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 26px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-secondary);
  transition: 0.15s;
  font-family: inherit;
}
.popup-close:hover { background: var(--border); }

/* Footer */
.footer {
  text-align: center;
  padding: 24px 20px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  background: var(--surface);
}

/* Site Footer */
.site-footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 48px 0 0;
  margin-top: 48px;
}
.site-footer .container { padding-bottom: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h3, .footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: #94a3b8;
  font-size: 14px;
  text-decoration: none;
  transition: 0.15s;
}
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 14px; color: #94a3b8; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* Footer Content (alternate) */
.footer-content {
  background: var(--dark);
  color: #cbd5e1;
  padding: 40px 24px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Utility */
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 20px 0; }
.cta-group { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 20px 0; }

/* Testimonial Block */
.testimonial-block {
  background: var(--surface);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.testimonial-block p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin: 0; }

/* Content Block */
.content-block { margin-bottom: 32px; }

/* Policy Content */
.policy-content { max-width: 860px; margin: 0 auto; padding: 48px 28px 64px; }
.policy-content h1 { font-size: 34px; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 6px; line-height: 1.15; }
.policy-content .last-updated { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.policy-content h2 { font-size: 22px; font-weight: 800; margin: 32px 0 14px; letter-spacing: -0.02em; }
.policy-content h3 { font-size: 17px; font-weight: 700; margin: 22px 0 10px; }
.policy-content p { font-size: 16px; line-height: 1.7; color: var(--text); margin-bottom: 14px; }
.policy-content ul, .policy-content ol { font-size: 16px; line-height: 1.7; color: var(--text); margin: 0 0 14px 24px; }
.policy-content li { margin-bottom: 6px; }
.policy-content .highlight-box {
  background: var(--bg);
  border-left: 4px solid var(--primary);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 18px;
}
.policy-content .highlight-box p { margin-bottom: 0; }
.policy-content .highlight-amber { border-left-color: var(--amber); }
.policy-content a { color: var(--primary); font-weight: 600; }
.policy-content .stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0;
}
.policy-content .stat-item {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  border: 1px solid var(--border-light);
}
.policy-content .stat-item .num {
  font-size: 30px;
  font-weight: 900;
  color: var(--primary);
  display: block;
}
.policy-content .stat-item .label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 600;
}
.policy-content table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.policy-content th, .policy-content td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border-light); }
.policy-content th { background: var(--bg); font-weight: 700; }

/* Application Form — Multi-Step Styles */
.form-step { display: none; animation: fadeStep 0.3s ease; }
.form-step.active { display: block; }
@keyframes fadeStep { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.form-progress {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-bottom: 32px; flex-wrap: wrap;
}
.prog-step {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  padding: 6px 12px; border-radius: 100px;
  background: var(--border-light); transition: 0.2s;
  white-space: nowrap;
}
.prog-step .num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--border); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
.prog-step.active { background: var(--primary-light); color: var(--primary); }
.prog-step.active .num { background: var(--primary); }
.prog-step.done { background: var(--primary); color: #fff; }
.prog-step.done .num { background: rgba(255,255,255,0.3); }

.prog-connector { width: 16px; height: 2px; background: var(--border); flex-shrink: 0; }
.prog-connector.done { background: var(--primary); }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 700;
  color: var(--text); margin-bottom: 4px;
}
.form-group .hint { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 16px; border-radius: var(--radius-sm);
  border: 2px solid var(--border); font-size: 15px;
  font-family: inherit; transition: 0.15s;
  background: var(--surface); color: var(--text);
  -webkit-appearance: none; appearance: none;
  min-height: 44px;
}
.form-group textarea { min-height: 80px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,127,94,0.1);
}
.form-group input.error,
.form-group select.error { border-color: var(--red); }
.form-group .error-text { font-size: 12px; color: var(--red); margin-top: 3px; display: none; }
.form-group .error-text.show { display: block; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23475068' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-group input[type="file"] { padding: 10px; }
.form-group input[type="file"]::file-selector-button {
  background: var(--dark); color: #fff; border: none;
  padding: 7px 16px; border-radius: var(--radius-sm); font-weight: 600;
  font-size: 13px; cursor: pointer; margin-right: 10px;
}

.form-checkbox { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0; }
.form-checkbox input[type="checkbox"] {
  width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0;
  accent-color: var(--primary); cursor: pointer;
}
.form-checkbox label { font-size: 14px; color: var(--text-secondary); cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.form-actions {
  display: flex; gap: 12px; margin-top: 24px;
  justify-content: space-between;
}
.form-actions .btn { min-width: 140px; justify-content: center; }
.form-actions .btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Radio group */
.radio-group { display: flex; gap: 12px; }
.radio-group label {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer; transition: 0.15s;
  font-size: 14px; font-weight: 600; color: var(--text-secondary);
}
.radio-group label:hover { border-color: var(--primary); }
.radio-group input[type="radio"] { accent-color: var(--primary); width: 18px; height: 18px; }
.radio-group label:has(input:checked) { border-color: var(--primary); background: var(--primary-light); }

/* Review Card (form review) */
.review-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 18px; margin-bottom: 12px;
  border: 1px solid var(--border-light);
}
.review-card h4 {
  font-size: 13px; color: var(--text-muted); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.review-row {
  display: flex; justify-content: space-between;
  padding: 6px 0; font-size: 14px; border-bottom: 1px solid var(--border-light);
}
.review-row:last-child { border-bottom: none; }
.review-row .label { color: var(--text-secondary); }
.review-row .value { font-weight: 600; color: var(--text); text-align: right; }
.review-edit {
  background: none; border: none; color: var(--primary);
  font-weight: 700; font-size: 12px; cursor: pointer;
  padding: 0; margin-left: 6px; text-decoration: underline;
  font-family: inherit;
}

/* Payment Section */
.payment-card {
  background: var(--bg); border-radius: var(--radius-lg);
  padding: 26px; text-align: center; margin-bottom: 22px;
  border: 2px dashed var(--border);
}
.payment-fee {
  font-size: 44px; font-weight: 900; color: var(--text);
  letter-spacing: -0.03em;
}
.payment-label { font-size: 15px; color: var(--text-secondary); margin-top: 4px; }
.payment-qr-wrap {
  margin: 18px auto; max-width: 240px;
  position: relative; min-height: 200px;
}
.payment-qr-wrap img {
  width: 100%; height: auto; border-radius: var(--radius-lg);
  display: block; box-shadow: var(--shadow);
  border: 2px solid var(--border-light);
}
.qr-skeleton {
  position: absolute; inset: 0; border-radius: var(--radius-lg);
  background: linear-gradient(90deg, var(--border-light) 25%, var(--border) 50%, var(--border-light) 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.qr-error {
  padding: 36px 20px; color: var(--red); font-size: 14px;
  font-weight: 600; background: var(--red-bg); border-radius: var(--radius);
}
.payment-details {
  background: var(--surface); border-radius: var(--radius);
  padding: 18px; margin: 14px 0;
  border: 1px solid var(--border-light);
}
.payment-details p { font-size: 14px; color: var(--text-secondary); margin: 5px 0; }
.payment-details strong { color: var(--text); }

.upload-status {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; margin-top: 6px;
}
.upload-status .spinner {
  width: 16px; height: 16px; border: 2px solid var(--border);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.upload-status .check { color: var(--primary); font-weight: 700; }
.upload-status .fail { color: var(--red); }

.skeleton-box {
  background: linear-gradient(90deg, var(--border-light) 25%, var(--border) 50%, var(--border-light) 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* Toast */
.toast-container {
  position: fixed; top: 76px; right: 20px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
}
.toast {
  padding: 13px 20px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  box-shadow: 0 6px 28px rgba(0,0,0,0.12);
  animation: toastIn 0.3s ease; max-width: 360px;
  display: flex; align-items: center; gap: 8px;
  line-height: 1.4;
}
.toast-success { background: var(--primary); color: #fff; }
.toast-error { background: var(--red); color: #fff; }
.toast-info { background: var(--dark); color: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
.toast-close {
  background: none; border: none; color: inherit;
  font-size: 18px; cursor: pointer; opacity: 0.7; margin-left: auto; padding: 0 0 0 10px;
}

/* Success Page */
.success-page { text-align: center; padding: 36px 0; }
.success-icon {
  width: 72px; height: 72px; background: var(--primary-light);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 18px;
  font-size: 32px;
}
.success-page h2 { font-size: 26px; font-weight: 900; margin-bottom: 6px; }
.success-page .app-id {
  font-size: 30px; font-weight: 900; color: var(--primary);
  letter-spacing: 0.05em; margin: 10px 0; font-family: 'Courier New', monospace;
}
.success-details {
  background: var(--bg); border-radius: var(--radius);
  padding: 18px; margin: 18px 0;
}
.success-details p { font-size: 14px; color: var(--text-secondary); margin: 5px 0; }
.success-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* Track Application */
.track-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 28px; text-align: center;
  max-width: 520px; margin: 0 auto;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.track-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.track-card p { color: var(--text-secondary); margin-bottom: 18px; }
.track-search { display: flex; gap: 10px; margin-bottom: 10px; }
.track-search input {
  flex: 1; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 2px solid var(--border); font-size: 15px; min-height: 44px;
  font-family: inherit;
}
.track-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,127,94,0.1); }
.track-search button {
  padding: 13px 22px; background: var(--dark); color: #fff;
  border: none; border-radius: var(--radius-sm); font-weight: 700;
  font-size: 15px; cursor: pointer; min-height: 44px; font-family: inherit;
}
.track-search button:hover { background: var(--dark-hover); }
.track-toggle { display: flex; gap: 8px; justify-content: center; margin-bottom: 14px; }
.track-toggle button {
  padding: 8px 18px; border: 2px solid var(--border);
  border-radius: 100px; background: var(--surface);
  font-size: 13px; font-weight: 600; cursor: pointer;
  color: var(--text-secondary); transition: 0.15s; font-family: inherit;
}
.track-toggle button.active { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

.track-result { margin-top: 22px; display: none; }
.track-result.show { display: block; animation: fadeStep 0.35s ease; }
.track-status-bar {
  display: flex; gap: 4px; margin: 18px 0; padding: 0;
  list-style: none; justify-content: center;
}
.track-status-bar li {
  flex: 1; text-align: center; padding: 10px 6px;
  border-radius: var(--radius-sm); font-size: 11px; font-weight: 600;
  color: var(--text-muted); background: var(--border-light);
  position: relative;
}
.track-status-bar li.done { background: var(--primary); color: #fff; }
.track-status-bar li.active { background: var(--primary-light); color: var(--primary); }

/* Admin Dashboard */
.admin-wrap { max-width: 1200px; margin: 0 auto; padding: 24px 20px 64px; }
.admin-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.admin-header h1 { font-size: 26px; font-weight: 900; }
.admin-logout {
  background: var(--dark); color: #fff; border: none;
  padding: 9px 20px; border-radius: var(--radius-sm);
  font-weight: 700; cursor: pointer; font-family: inherit;
}

.admin-login { max-width: 400px; margin: 80px auto; text-align: center; }
.admin-login h1 { font-size: 26px; font-weight: 900; margin-bottom: 6px; }
.admin-login p { color: var(--text-secondary); margin-bottom: 18px; }
.admin-login input[type="password"] {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 2px solid var(--border); font-size: 15px;
  margin-bottom: 10px; font-family: inherit;
}
.admin-login input:focus { outline: none; border-color: var(--primary); }
.admin-login .btn { width: 100%; justify-content: center; }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px; margin-bottom: 22px;
}
.admin-stat {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 18px; text-align: center;
}
.admin-stat .num { font-size: 30px; font-weight: 900; color: var(--text); }
.admin-stat .label { font-size: 12px; color: var(--text-muted); margin-top: 3px; font-weight: 600; }
.admin-stat.green .num { color: var(--primary); }
.admin-stat.red .num { color: var(--red); }
.admin-stat.amber .num { color: var(--amber-text); }

.admin-tools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; align-items: center; }
.admin-tools input, .admin-tools select {
  padding: 9px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); font-size: 14px;
  min-height: 40px; font-family: inherit;
}
.admin-tools input:focus, .admin-tools select:focus { outline: none; border-color: var(--primary); }
.admin-tools .search-input { flex: 1; min-width: 200px; }

.admin-table-wrap {
  overflow-x: auto; background: var(--surface);
  border-radius: var(--radius); border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th {
  background: var(--bg); text-align: left; padding: 12px 14px;
  font-weight: 700; color: var(--text);
  border-bottom: 2px solid var(--border-light); white-space: nowrap;
  cursor: pointer; user-select: none;
}
.admin-table th:hover { color: var(--primary); }
.admin-table td { padding: 10px 14px; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); }
.admin-table tr:hover td { background: var(--bg); }
.admin-table .badge {
  display: inline-block; padding: 3px 10px;
  border-radius: 100px; font-size: 11px; font-weight: 700;
}
.badge-submitted { background: var(--amber-bg); color: var(--amber-text); }
.badge-approved { background: var(--primary-light); color: var(--primary); }
.badge-rejected { background: var(--red-bg); color: var(--red); }
.badge-joined { background: var(--primary); color: #fff; }
.badge-pending { background: var(--border-light); color: var(--text-muted); }
.badge-paid { background: var(--primary-light); color: var(--primary); }
.badge-verified { background: var(--primary-light); color: var(--primary); }

.admin-actions { display: flex; gap: 6px; }
.admin-actions button {
  padding: 5px 12px; border-radius: 6px; border: none;
  font-size: 11px; font-weight: 700; cursor: pointer; transition: 0.15s;
  white-space: nowrap; font-family: inherit;
}
.admin-actions .btn-approve { background: var(--primary-light); color: var(--primary); }
.admin-actions .btn-approve:hover { background: var(--primary); color: #fff; }
.admin-actions .btn-reject { background: var(--red-bg); color: var(--red); }
.admin-actions .btn-reject:hover { background: var(--red); color: #fff; }
.admin-actions .btn-joined { background: var(--dark); color: #fff; }
.admin-actions .btn-view { background: var(--border-light); color: var(--text-secondary); }
.admin-actions .btn-view:hover { background: var(--text-secondary); color: #fff; }
.admin-actions .btn-delete { background: var(--red-bg); color: var(--red); }

.admin-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px;
}
.admin-pagination button {
  padding: 8px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: var(--surface);
  font-weight: 600; cursor: pointer; font-family: inherit;
}
.admin-pagination button:disabled { opacity: 0.4; cursor: default; }
.admin-pagination button:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.admin-pagination span { font-size: 14px; color: var(--text-secondary); }

.admin-payment-edit {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px;
}
.admin-payment-edit select, .admin-payment-edit input {
  padding: 6px 10px; border-radius: 6px;
  border: 1px solid var(--border); font-size: 12px; font-family: inherit;
}
.admin-hr-notes {
  background: var(--bg); border-radius: var(--radius-sm);
  padding: 10px; font-size: 12px; color: var(--text-secondary);
  line-height: 1.5; margin-top: 4px;
}

/* Admin Charts */
.admin-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.admin-chart-card {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow-sm);
}
.admin-chart-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: var(--text); }

/* Apply Now Button (Job Pages) */
.apply-now-btn {
  display: block; text-align: center;
  background: var(--primary); color: #fff;
  padding: 15px; min-height: 48px;
  border-radius: var(--radius); text-decoration: none;
  font-weight: 800; font-size: 16px;
  transition: 0.15s; margin-top: 14px;
  border: none; cursor: pointer;
}
.apply-now-btn:hover {
  background: var(--primary-hover); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,127,94,0.25);
}
.apply-now-btn:active { transform: scale(0.97); }

.apply-btn-header {
  display: inline-flex;
  background: var(--primary); color: #fff;
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 13px; text-decoration: none;
  transition: 0.15s;
}
.apply-btn-header:hover { background: var(--primary-hover); color: #fff; }

/* Ratings (Reviews page) */
.rating-hero { text-align: center; padding: 10px 0 20px; }
.rating-big {
  font-size: 60px; font-weight: 900; color: var(--primary);
  letter-spacing: -0.03em; line-height: 1;
}
.rating-stars { font-size: 26px; color: var(--amber); margin: 4px 0; letter-spacing: 2px; }
.rating-count { font-size: 14px; color: var(--text-secondary); }
.rating-bars { max-width: 400px; margin: 14px auto 0; }
.rating-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.rating-bar-label { font-size: 13px; font-weight: 600; color: var(--text); min-width: 28px; }
.rating-bar-track {
  flex: 1; height: 8px; background: var(--border-light);
  border-radius: 100px; overflow: hidden;
}
.rating-bar-fill { height: 100%; background: var(--amber); border-radius: 100px; }
.rating-bar-pct { font-size: 12px; color: var(--text-muted); min-width: 30px; text-align: right; }

/* Review Cards (Reviews page) */
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary-light); display: flex;
  align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800; color: var(--primary);
  flex-shrink: 0;
}
.review-meta { flex: 1; }
.review-name { font-size: 15px; font-weight: 700; color: var(--text); }
.review-detail { font-size: 13px; color: var(--text-muted); }
.review-stars { color: var(--amber); font-size: 14px; letter-spacing: 1px; }
.review-text { font-size: 15px; color: var(--text-secondary); line-height: 1.75; }
.review-tag {
  display: inline-block; padding: 3px 10px;
  border-radius: 6px; font-size: 12px; font-weight: 700; margin-top: 8px;
}
.tag-positive { background: var(--primary-light); color: var(--primary); }
.tag-mixed { background: var(--amber-bg); color: var(--amber-text); }
.tag-negative { background: var(--red-bg); color: var(--red); }

/* Facilities Compare */
.facility-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.facility-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 20px; border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.facility-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; color: var(--text); }
.facility-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.facility-rating { font-size: 13px; font-weight: 700; color: var(--amber); margin-top: 8px; }

/* Pros & Cons */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pros-card { background: var(--primary-light); border-radius: var(--radius); padding: 20px; }
.cons-card { background: var(--amber-bg); border-radius: var(--radius); padding: 20px; }
.pros-card h3 { color: var(--primary); font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.cons-card h3 { color: var(--amber-text); font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.pros-card ul li, .cons-card ul li {
  font-size: 14px; color: var(--text-secondary);
  padding: 4px 0; line-height: 1.7;
}
.pros-card ul li::before { content: "✔ "; color: var(--primary); font-weight: 700; }
.cons-card ul li::before { content: "✘ "; color: var(--red); font-weight: 700; }

/* Deduction Box */
.deduction-box {
  background: var(--red-bg);
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 14px 0;
}
.deduction-box h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 6px;
}
.deduction-box p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Nav (narasapura page unique header) */
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
}
header nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
header nav ul li a {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: 0.15s;
}
header nav ul li a:hover {
  background: var(--border-light);
  color: var(--text);
}

/* Logo */
.logo a {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Application Section */
.application-section {
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  margin: 24px 0;
}
.application-section h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.application-section p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

/* Dirty Warning (internal use) */
.dirty-warning { display: none; }

/* ==========================================
   Responsive — Tablet (769–1024px)
   ========================================== */

@media (max-width: 1024px) {
  .hero h1 { font-size: clamp(30px, 5vw, 48px); }
  .hero { padding: 56px 24px 44px; }
  .hero-content { padding: 40px 24px 32px; }
  .hero-section { padding: 40px 20px 28px; }
  .container { padding: 36px 24px 48px; }
  .container-narrow { padding: 28px 20px 44px; }
  .section { padding: 36px 20px; }
  .stats { margin: -18px 20px 0; }
  .job-grid { gap: 12px; }
  .footer-grid { gap: 24px; }
  .lang-box { display: none; }
}

/* ==========================================
   Responsive — Mobile (≤768px)
   ========================================== */

@media (max-width: 768px) {
  .topbar { padding: 10px 14px; gap: 6px; flex-wrap: wrap; row-gap: 8px; }
  .topbar-logo { font-size: 15px; }
  .topbar-nav { gap: 4px; }
  .lang-box { display: none; }
  .topbar-nav a { padding: 5px 10px; font-size: 12px; }

  .hero { padding: 40px 16px 28px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .hero-section { padding: 28px 16px 20px; }
  .hero-section h1 { font-size: 22px; }
  .hero-content { padding: 32px 16px 24px; }
  .hero-content h1 { font-size: 24px; }
  .hero-content p { font-size: 15px; }

  .stats { margin: -12px 10px 0; grid-template-columns: repeat(3, 1fr); }
  .stat-num { font-size: 20px; }
  .stat-item { padding: 14px 8px; }

  .job-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .job-card img { height: 100px; }
  .job-content { padding: 12px 14px 14px; }
  .job-title { font-size: 13px; }
  .job-salary { font-size: 15px; }
  .apply-btn { font-size: 13px; padding: 10px; }

  .section-head h2 { font-size: 20px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-card { padding: 16px 14px; }
  .info-card h3 { font-size: 16px; }
  .info-card p, .info-card li { font-size: 14px; }

  .container { padding: 24px 14px 36px; }
  .container-narrow { padding: 18px 14px 36px; }
  .section { padding: 28px 14px; }

  .float-wa, .float-call,
  .whatsapp-float, .call-float { width: 46px; height: 46px; right: 14px; }
  .float-call, .call-float { bottom: 74px; }

  .btn { padding: 12px 20px; font-size: 14px; border-radius: var(--radius-sm); }
  .cta-card { padding: 28px 18px; }
  .cta-card h2 { font-size: 20px; }
  .cta-card p { font-size: 15px; }

  .form-wrap iframe,
  .form-card iframe { height: 650px; }

  .lang-box { gap: 3px; }
  .lang-box button { padding: 4px 8px; font-size: 11px; min-height: 44px; min-width: 44px; }

  .page-header { padding: 20px 14px; }
  .page-header h1 { font-size: 18px; }

  .tabs-wrap { top: 48px; }
  .tabs { padding: 8px 10px; gap: 3px; }
  .tabs a { padding: 8px 12px; font-size: 11px; min-height: 44px; display: inline-flex; align-items: center; }

  .card { padding: 14px; }
  .card h2 { font-size: 16px; }
  .card p, .card ul li, .salary-table td { font-size: 14px; }

  .company-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
  .company-card { padding: 12px; }
  .company-card p { font-size: 12px; }

  .site-footer { padding: 28px 0 0; margin-top: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-content { grid-template-columns: 1fr 1fr; padding: 28px 14px 0; gap: 20px; }

  .policy-content { padding: 24px 14px 36px; }
  .policy-content h1 { font-size: 24px; }
  .policy-content h2 { font-size: 18px; }
  .policy-content p, .policy-content ul, .policy-content ol { font-size: 14px; }
  .policy-content .stat-row { grid-template-columns: 1fr; gap: 10px; }
  .policy-content .stat-item .num { font-size: 24px; }
  .policy-content table { font-size: 13px; }
  .policy-content th, .policy-content td { padding: 8px 10px; }

  .testimonial-block { padding: 12px 14px; }
  .overtime-calculator { padding: 14px 16px; }
  .facility-compare { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .rating-big { font-size: 42px; }
  .rating-stars { font-size: 20px; }
  .comparison-table-wrapper { margin: 12px 0; }
  .comparison-table { font-size: 12px; }
  .comparison-table th,
  .comparison-table td { padding: 8px 10px; }
  .deduction-box { padding: 12px 14px; }

  .review-header { gap: 10px; }
  .review-avatar { width: 36px; height: 36px; font-size: 15px; }
  .review-name { font-size: 14px; }
  .review-text { font-size: 14px; }

  .cta-group { flex-direction: column; align-items: stretch; }
  .cta-group .btn-primary,
  .cta-group .btn-secondary { width: 100%; justify-content: center; }

  header nav { padding: 10px 14px; flex-wrap: wrap; gap: 8px; }
  header nav ul { order: 3; width: 100%; justify-content: center; gap: 2px; flex-wrap: wrap; }
  header nav ul li a { padding: 5px 10px; font-size: 12px; }
  .logo a { font-size: 16px; }

  /* Form responsive */
  .form-row { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr; }
  input, select, textarea { font-size: 16px; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }
  .radio-group { flex-direction: column; }
  .radio-group label { padding: 10px 14px; }
  .prog-step { font-size: 10px; padding: 4px 8px; }
  .prog-step .num { width: 18px; height: 18px; font-size: 9px; }
  .prog-connector { width: 8px; }

  /* Admin responsive */
  .admin-wrap { padding: 18px 14px 48px; }
  .admin-header h1 { font-size: 20px; }
  .admin-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .admin-charts { grid-template-columns: 1fr; }
  .admin-tools { flex-direction: column; }
  .admin-tools .search-input { width: 100%; }
  .admin-table { font-size: 11px; }
  .admin-table th, .admin-table td { padding: 6px 8px; }
  .admin-stat .num { font-size: 24px; }
  .admin-chart-card { padding: 14px; }

  /* Track responsive */
  .track-search { flex-direction: column; }
  .track-card { padding: 18px; }
  .track-toggle button { font-size: 12px; padding: 7px 14px; }
  .payment-fee { font-size: 32px; }
  .payment-card { padding: 20px; }
  .payment-qr-wrap { max-width: 200px; }
  .success-page .app-id { font-size: 20px; }
  .track-status-bar { gap: 3px; }
  .track-status-bar li { font-size: 9px; padding: 7px 3px; }

  /* Apply page override for inline style */
  #formWrap { padding: 20px 16px !important; }
  .toast-container { right: 12px; top: 64px; }
  .toast { max-width: 300px; font-size: 13px; padding: 11px 16px; }
}

/* ==========================================
   Responsive — Small Mobile (≤480px)
   ========================================== */

@media (max-width: 480px) {
  .topbar { padding: 8px 10px; flex-wrap: wrap; row-gap: 6px; }
  .topbar-logo { font-size: 14px; }
  .lang-box { display: none; }
  .logo-img { height: 42px; width: auto; }
  .topbar-nav a { font-size: 11px; padding: 4px 7px; }
  .back-link { font-size: 11px; }

  .hero { padding: 32px 12px 24px; }
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 14px; }
  .hero-eyebrow { font-size: 12px; padding: 6px 16px; }

  .stats { margin: -10px 6px 0; grid-template-columns: repeat(3, 1fr); }
  .stat-num { font-size: 16px; }
  .stat-label { font-size: 10px; }

  .job-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .job-card img { height: 85px; }
  .job-content { padding: 10px 10px 12px; }
  .job-title { font-size: 12px; }
  .job-salary { font-size: 14px; }
  .apply-btn { font-size: 12px; padding: 9px; }

  .container { padding: 20px 10px 32px; }
  .container-narrow { padding: 14px 10px 32px; }
  .section { padding: 24px 10px; }

  .hero-section { padding: 24px 12px 18px; }
  .hero-section h1 { font-size: 20px; }
  .hero-content { padding: 24px 12px 20px; }
  .hero-content h1 { font-size: 20px; }
  .hero-content p { font-size: 14px; }

  .page-header { padding: 16px 12px; }
  .page-header h1 { font-size: 17px; }
  .page-header p { font-size: 14px; }

  .card { padding: 12px; }
  .card h2 { font-size: 15px; }

  .admin-stats { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .admin-stat { padding: 14px; }
  .admin-stat .num { font-size: 22px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .site-footer { padding: 24px 0 0; }

  .tabs-wrap { top: 42px; }
  .tabs { padding: 6px 8px; }
  .tabs a { padding: 8px 10px; font-size: 11px; min-height: 44px; display: inline-flex; align-items: center; }

  .lang-box button { padding: 8px 10px; font-size: 11px; min-height: 44px; min-width: 44px; }

  header nav { padding: 8px 10px; }
  header nav ul { gap: 0; }
  header nav ul li a { padding: 4px 7px; font-size: 11px; }

  .cta-card { padding: 24px 14px; }
  .cta-card h2 { font-size: 18px; }

  .review-header { flex-wrap: wrap; }
  .review-stars { width: 100%; text-align: left; margin-top: 4px; }

  .payment-qr-wrap { max-width: 160px; }
  .payment-fee { font-size: 28px; }

  .page-header h1 { font-size: 16px; }

  .comparison-table-wrapper { margin: 8px 0; }
  .comparison-table { font-size: 11px; }
  .comparison-table th,
  .comparison-table td { padding: 5px 8px; }

  .tabs-wrap { top: 42px; }
  .btn { padding: 11px 18px; font-size: 13px; }
  .float-wa, .float-call,
  .whatsapp-float, .call-float { width: 42px; height: 42px; right: 10px; }
  .float-call, .call-float { bottom: 66px; }

  #formWrap { padding: 16px 12px !important; }
  input, select, textarea { font-size: 16px; }

  .toast-container { right: 8px; left: 8px; top: 56px; }
  .toast { max-width: 100%; font-size: 12px; padding: 10px 14px; }
}
