/* ============================================================
   Apply-USA — Main Stylesheet
   Universal Search & Applications
   ============================================================ */

/* 1. GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* 2. CSS VARIABLES */
:root {
  --primary:    #1A3A6B;
  --secondary:  #2563EB;
  --accent:     #F59E0B;
  --light:      #EFF6FF;
  --dark:       #0F1F3D;
  --white:      #FFFFFF;
  --text:       #1E293B;
  --muted:      #64748B;
  --border:     #CBD5E1;
  --success:    #10B981;
  --danger:     #EF4444;
  --shadow-sm:  0 1px 3px rgba(26,58,107,.08), 0 1px 2px rgba(26,58,107,.06);
  --shadow:     0 4px 16px rgba(26,58,107,.10), 0 2px 6px rgba(26,58,107,.06);
  --shadow-lg:  0 10px 40px rgba(26,58,107,.14), 0 4px 12px rgba(26,58,107,.08);
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --font-head:  'Sora', sans-serif;
  --font-body:  'DM Sans', sans-serif;
  --transition: 0.22s ease;
  --max-w:      900px;
  --header-h:   64px;
}

/* 3. RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: #F8FAFC;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; }
input, select, textarea { font-family: var(--font-body); }

/* 4. TYPOGRAPHY */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  color: var(--primary);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* 5. LAYOUT UTILITIES */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 56px 0; }
.section-sm { padding: 32px 0; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
main { flex: 1; }

/* 6. HEADER & NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--light);
  box-shadow: var(--shadow-sm);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  color: var(--white);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
}
.logo-name span { color: var(--secondary); }
.logo-sub {
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link i { font-size: 0.8rem; }
.nav-link:hover, .nav-link.active {
  background: var(--light);
  color: var(--primary);
}
.nav-link.active { font-weight: 600; }
.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.88rem;
  margin-left: 8px;
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--secondary) !important; }

/* 7. HERO */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 60%, #1d4ed8 100%);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #93C5FD;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.hero-sub {
  color: #BFDBFE;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* 8. SEARCH BOX */
.search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 8px;
  display: flex;
  gap: 8px;
  max-width: 620px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.search-input-wrap {
  flex: 1;
  position: relative;
}
.search-input-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.9rem;
  pointer-events: none;
}
.search-input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 40px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.97rem;
  color: var(--text);
  background: transparent;
  outline: none;
  transition: border-color var(--transition);
}
.search-input:focus { border-color: var(--secondary); }
.search-select {
  height: 48px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  cursor: pointer;
  min-width: 140px;
  transition: border-color var(--transition);
}
.search-select:focus { border-color: var(--secondary); }
.search-btn {
  height: 48px;
  padding: 0 24px;
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.search-btn:hover { background: var(--primary); transform: translateY(-1px); }
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 28px;
}
.hero-stat {
  text-align: center;
  color: var(--white);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}
.hero-stat span {
  font-size: 0.8rem;
  color: #93C5FD;
  letter-spacing: 0.03em;
}
.hero-divider { width: 1px; height: 36px; background: rgba(255,255,255,.2); }

/* 9. AD SLOT STYLES */
.ad-slot {
  background: var(--light);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  padding: 8px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ad-slot:empty { display: none; }
.ad-slot-banner { margin: 0 auto 32px; max-width: 100%; }
.ad-slot-mid { margin: 32px auto; max-width: 100%; }

/* 10. FILTER BAR */
.filter-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-bar label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.filter-bar label { font-size: 0.84rem; font-weight: 600; color: var(--text-light); white-space: nowrap; }
.sort-select {
  padding: 7px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  cursor: pointer;
  margin-left: auto;
}

/* 11. COMPANY CARD */
.company-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.company-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--border);
  border-radius: 4px 0 0 4px;
  transition: background var(--transition);
}
.company-card:hover {
  box-shadow: var(--shadow);
  border-color: #BFDBFE;
  transform: translateY(-2px);
}
.company-card:hover::before { background: var(--secondary); }
.company-card.featured::before { background: var(--accent); }
.card-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 16px;
}
.company-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: contain;
  padding: 6px;
  flex-shrink: 0;
  background: var(--white);
}
.logo-placeholder {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-meta { flex: 1; min-width: 0; }
.company-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.company-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-sector {
  background: #DBEAFE;
  color: var(--primary);
}
.badge-country {
  background: #F0FDF4;
  color: #166534;
}
.badge-featured {
  background: #FEF3C7;
  color: #92400E;
}
.card-bio {
  color: var(--text);
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-careers {
  margin-bottom: 20px;
}
.careers-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.career-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.career-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--light);
  color: var(--secondary);
  border: 1px solid #BFDBFE;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.career-tag:hover {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.84rem;
}
.card-location i { color: var(--secondary); }

/* 12. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--secondary); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,.3); }
.btn-secondary { background: var(--light); color: var(--primary); border: 1.5px solid #BFDBFE; }
.btn-secondary:hover { background: #DBEAFE; color: var(--primary); }
.btn-accent { background: var(--accent); color: var(--dark); }
.btn-accent:hover { background: #D97706; color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 6px 14px; font-size: 0.82rem; }
.btn-block { width: 100%; justify-content: center; }

/* 13. LOAD MORE */
.load-more-wrap {
  text-align: center;
  padding: 8px 0 16px;
}
#loadMoreBtn {
  min-width: 180px;
}

/* 14. RESULTS COUNT */
.results-info {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.results-count {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

/* 15. SECTION HEADERS */
.section-head {
  margin-bottom: 32px;
}
.section-head h2 { margin-bottom: 8px; }
.section-head p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.section-divider h2 { white-space: nowrap; }
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* 16. DETAILS PAGE */
.detail-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  padding: 48px 0;
}
.detail-hero-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}
.detail-logo {
  width: 88px;
  height: 88px;
  background: var(--white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-shrink: 0;
}
.detail-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.detail-logo-placeholder {
  width: 88px;
  height: 88px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--white);
  flex-shrink: 0;
}
.detail-title h1 { color: var(--white); margin-bottom: 8px; }
.detail-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-badge {
  background: rgba(255,255,255,.15);
  color: #BFDBFE;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,.2);
}
.detail-body { padding: 48px 0; }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
}
.detail-section { margin-bottom: 36px; }
.detail-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-section h3 i { color: var(--secondary); }
.detail-section p { color: var(--text); line-height: 1.75; }

.detail-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  height: fit-content;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-card h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.info-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
}
.info-row:last-child { margin-bottom: 0; }
.info-row i { color: var(--secondary); width: 16px; flex-shrink: 0; margin-top: 2px; }
.info-row span { color: var(--text); }
.info-row a { color: var(--secondary); word-break: break-all; }
.info-row a:hover { color: var(--primary); }

/* 17. APPLY PAGE */
.apply-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #1d4ed8 100%);
  padding: 48px 0;
  text-align: center;
}
.apply-hero h1 { color: var(--white); }
.apply-hero p { color: #BFDBFE; max-width: 560px; margin: 12px auto 0; }
.apply-body { padding: 48px 0; }
.apply-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 680px;
  margin: 0 auto;
}
.apply-company-info {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--light);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}
.apply-logo {
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.apply-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.apply-company-name { font-family: var(--font-head); font-weight: 700; color: var(--primary); font-size: 1.1rem; }
.apply-company-sector { color: var(--muted); font-size: 0.88rem; }
.apply-message {
  margin-bottom: 28px;
}
.apply-message h3 { font-size: 1rem; color: var(--primary); margin-bottom: 8px; }
.apply-message p { color: var(--text); font-size: 0.93rem; line-height: 1.7; margin-bottom: 8px; }
.apply-notice {
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 32px;
}
.apply-notice h4 {
  font-size: 0.9rem;
  color: #92400E;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.apply-notice ul { padding-left: 16px; list-style: disc; }
.apply-notice li { font-size: 0.87rem; color: #78350F; margin-bottom: 4px; }
.apply-action { text-align: center; }
.apply-disclaimer { margin-top: 12px; font-size: 0.78rem; color: var(--muted); }

/* 18. SEARCH PAGE */
.search-page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  padding: 40px 0;
}
.search-page-hero h1 { color: var(--white); margin-bottom: 8px; }
.search-page-hero p { color: #93C5FD; margin: 0; }

/* 19. BREADCRUMB */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  color: var(--muted);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb i { font-size: 0.6rem; color: var(--border); }
.breadcrumb span { color: var(--text); font-weight: 500; }

/* 20. INFO PAGES (about, faq, etc.) */
.info-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  padding: 56px 0;
  text-align: center;
}
.info-hero h1 { color: var(--white); margin-bottom: 12px; }
.info-hero p { color: #BFDBFE; max-width: 560px; margin: 0 auto; }
.info-body { padding: 56px 0; }
.info-content {
  max-width: 720px;
  margin: 0 auto;
}
.info-content h2 { font-size: 1.25rem; margin-bottom: 12px; margin-top: 36px; color: var(--primary); }
.info-content h2:first-child { margin-top: 0; }
.info-content p { color: var(--text); margin-bottom: 14px; }
.info-content ul { list-style: disc; padding-left: 20px; color: var(--text); margin-bottom: 14px; }
.info-content ul li { margin-bottom: 6px; }

/* FAQ Accordion */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 12px; overflow: hidden; }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-head);
  font-size: 0.97rem;
  transition: background var(--transition);
  background: var(--white);
}
.faq-question:hover { background: var(--light); }
.faq-question i { color: var(--secondary); font-size: 0.8rem; transition: transform var(--transition); flex-shrink: 0; }
.faq-question.open i { transform: rotate(180deg); }
.faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
  color: var(--text);
  font-size: 0.93rem;
  line-height: 1.75;
}
.faq-answer.open { max-height: 500px; padding: 0 22px 18px; }

/* Contact form */
.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-label span { color: var(--danger); }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
}
.form-control:focus { border-color: var(--secondary); }
.form-control::placeholder { color: #94A3B8; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-error { color: var(--danger); font-size: 0.8rem; margin-top: 4px; display: none; }
.form-success {
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #166534;
  font-size: 0.93rem;
  margin-top: 16px;
  display: none;
}

/* 21. FOOTER */
.site-footer {
  background: var(--dark);
  color: #94A3B8;
  padding: 56px 0 0;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-sub { color: #64748B; }
.footer-desc { color: #64748B; font-size: 0.88rem; line-height: 1.7; margin: 16px 0 20px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  transition: all var(--transition);
  text-decoration: none;
}
.social-btn:hover { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #64748B; font-size: 0.88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.82rem; color: #475569; }
.footer-copy a { color: #64748B; }
.footer-copy a:hover { color: var(--white); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 0.8rem; color: #475569; transition: color var(--transition); }
.footer-legal a:hover { color: var(--white); }

/* 22. WHATSAPP FLOAT BUTTON */
.wa-float {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--white);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid rgba(255,255,255,.25);
}
.wa-float:hover {
  background: #128C7E;
  color: var(--white);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.45);
}
.wa-float i { font-size: 1rem; }

/* 23. NOT-FOUND PAGE */
.not-found {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.not-found-inner { max-width: 480px; }
.not-found-code {
  font-family: var(--font-head);
  font-size: 6rem;
  font-weight: 800;
  color: var(--light);
  line-height: 1;
  position: relative;
}
.not-found-code::after {
  content: '404';
  position: absolute;
  inset: 0;
  -webkit-text-stroke: 2px var(--primary);
  color: transparent;
  font-size: 6rem;
}
.not-found h2 { margin: 16px 0 12px; }
.not-found p { color: var(--muted); margin-bottom: 28px; }

/* 24. EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--muted);
}
.empty-state i { font-size: 3rem; margin-bottom: 16px; color: var(--border); }
.empty-state h3 { color: var(--text); margin-bottom: 8px; }
.empty-state p { margin-bottom: 20px; }

/* 25. RESPONSIVE */
@media (max-width: 768px) {
  :root { --header-h: 56px; }
  .hero { padding: 44px 0 52px; }
  .search-box { flex-wrap: wrap; }
  .search-select { min-width: 100%; }
  .search-btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 20px; }
  .hero-stat strong { font-size: 1.25rem; }
  .filter-bar { flex-direction: column; align-items: flex-start; }
  .sort-select { margin-left: 0; width: 100%; }
  .card-header { flex-direction: column; gap: 12px; }
  .card-footer { flex-direction: column; align-items: flex-start; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .detail-hero-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .apply-card { padding: 24px; }
  .logo-sub { display: none; }
  .nav-link { padding: 7px 10px; font-size: 0.85rem; }
}
@media (max-width: 480px) {
  .hero-stats { display: none; }
  .company-card { padding: 20px; }
  .nav-cta { display: none; }
  .wa-float { font-size: 0.8rem; padding: 9px 16px; }
}

/* 26. PRINT */
@media print {
  .site-header, .site-footer, .wa-float, .ad-slot { display: none; }
}

/* 27. REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
