/* ==========================================================================
   MasarDubai.ae — Main stylesheet
   ========================================================================== */
:root {
  --blue: #1d6ae5;
  --blue-600: #1557c4;
  --blue-800: #0d3a8a;
  --blue-900: #0a2a63;
  --blue-50: #eef4fe;
  --blue-100: #dce8fd;
  --green: #72bb35;
  --green-600: #5a9e22;
  --green-50: #f0f8e8;
  --green-100: #e0f1d0;
  --grey-dot: #8e8e8e;

  --ink: #0f1b2d;
  --ink-2: #2b3a52;
  --muted: #5d6a7e;
  --line: #e2e8f1;
  --line-2: #eef2f7;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --warn: #d98a00;
  --warn-50: #fff6e5;
  --danger: #d6384b;
  --danger-50: #fdecee;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06);
  --shadow: 0 6px 24px -8px rgba(15, 27, 45, .14);
  --shadow-lg: 0 20px 50px -18px rgba(13, 58, 138, .35);
  --header-h: 76px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-800); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); letter-spacing: -.015em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(29, 106, 229, .45); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: 12px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--green); border-radius: 2px; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.02rem; }
.section-head .eyebrow::after { content: ''; width: 22px; height: 2px; background: var(--green); border-radius: 2px; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }
.section-head-row p { margin: 6px 0 0; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .92rem; line-height: 1.2; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
  white-space: nowrap; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -6px rgba(29, 106, 229, .6); }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 16px -6px rgba(114, 187, 53, .65); }
.btn-green:hover { background: var(--green-600); color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue-100); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-50); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--blue); }
.btn-white { background: #fff; color: var(--blue-800); }
.btn-white:hover { background: var(--blue-50); color: var(--blue-800); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn-danger { background: var(--danger-50); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-lg { padding: 15px 28px; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 8px 14px; font-size: .82rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Header ---------- */
.topbar { background: var(--blue-900); color: rgba(255,255,255,.85); font-size: .8rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: rgba(255,255,255,.9); }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 22px; }
.topbar-links i { color: var(--green); margin-right: 6px; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.scrolled { box-shadow: 0 6px 20px -12px rgba(15,27,45,.25); border-color: var(--line); }
.site-header .container { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 34px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; list-style: none; gap: 2px; }
.main-nav a {
  display: block; white-space: nowrap; padding: 8px 13px; border-radius: 8px; font-size: .9rem; font-weight: 500; color: var(--ink-2);
}
.main-nav a:hover { color: var(--blue); background: var(--blue-50); }
.main-nav a.active { color: var(--blue); }
.main-nav a.active::after { content: ''; display: block; height: 2px; background: var(--green); border-radius: 2px; margin-top: 2px; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.15rem; color: var(--ink);
}
.mobile-only, .drawer-head, .drawer-contact, .nav-overlay { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(114,187,53,.35), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(29,106,229,.55), transparent 60%),
    linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 45%, var(--blue-600) 100%);
  padding: 80px 0 88px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.9) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 18px; font-size: clamp(2rem, 3.4vw, 2.85rem); }
.hero h1 .one-line { white-space: nowrap; color: #fff; }
.hero h1 span { color: #a6e27a; }
.hero-lead { font-size: 1.08rem; color: rgba(255,255,255,.85); max-width: 560px; margin-bottom: 30px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: .82rem; margin-bottom: 22px;
}
.hero-badge b { background: var(--green); color: #fff; border-radius: 99px; padding: 2px 10px; font-weight: 600; font-size: .75rem; }
.hero-trust { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust div { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: rgba(255,255,255,.85); }
.hero-trust i { color: #a6e27a; font-size: 1.05rem; }

/* ---------- Hero job search ---------- */
.hero-search {
  position: relative; background: #fff; color: var(--ink-2); border-radius: 24px; overflow: hidden;
  box-shadow: 0 0 0 8px rgba(255,255,255,.1), 0 40px 70px -25px rgba(3, 15, 45, .7);
}
.hs-top {
  display: flex; align-items: center; gap: 14px; padding: 22px 26px;
  background: linear-gradient(120deg, var(--blue-50) 0%, #f4faee 100%); border-bottom: 1px solid var(--line-2);
}
.hs-ico {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; color: #fff; font-size: 1.15rem;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%); box-shadow: 0 8px 18px -6px rgba(29,106,229,.55);
}
.hs-title { flex: 1; min-width: 0; }
.hs-title h2 { font-size: 1.22rem; margin: 0; line-height: 1.25; }
.hs-title p { margin: 2px 0 0; font-size: .82rem; color: var(--muted); }
.hs-live {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; flex-shrink: 0;
  background: #fff; border: 1px solid var(--green-100); font-size: .78rem; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.hs-live b { color: var(--green-600); }
.hs-live .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); position: relative; }
.hs-live .pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: var(--green); opacity: .35; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(1.8); opacity: 0; } }

.hs-body { padding: 22px 26px 24px; }
.hs-field { margin-bottom: 14px; min-width: 0; }
.hs-field label { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.hs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hs-input { position: relative; }
.hs-input i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font-size: .82rem; pointer-events: none; transition: background .2s, color .2s; }
.hs-input input, .hs-input select {
  width: 100%; padding: 14px 14px 14px 50px; border: 1.5px solid var(--line); border-radius: 13px; background: #fff;
  font-size: .9rem; font-weight: 500; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none; text-overflow: ellipsis;
}
.hs-input input::placeholder { font-weight: 400; color: #8a95a8; }
.hs-input select {
  cursor: pointer; padding-right: 32px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235d6a7e' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
}
.hs-input:hover input, .hs-input:hover select { border-color: var(--blue-100); }
.hs-input input:focus, .hs-input select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,106,229,.12); }
.hs-input:focus-within i { background: var(--blue); color: #fff; }

.hs-btn {
  margin-top: 6px; padding: 16px 22px; border-radius: 14px; font-size: 1rem; color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-800) 100%);
  box-shadow: 0 14px 26px -12px rgba(29,106,229,.75);
}
.hs-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(29,106,229,.85); }
.hs-btn .arrow { margin-left: 4px; font-size: .85rem; transition: transform .25s var(--ease); }
.hs-btn:hover .arrow { transform: translateX(4px); }

.hs-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .78rem; color: var(--muted); }
.hs-popular span { font-weight: 500; margin-right: 2px; }
.hs-popular span i { color: #f5820b; }
.hs-popular a { padding: 5px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-weight: 500; transition: all .2s; }
.hs-popular a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Search box ---------- */
.search-box {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 0;
  background: #fff; border-radius: 16px; padding: 8px; box-shadow: var(--shadow-lg);
}
.search-field { position: relative; display: flex; align-items: center; border-right: 1px solid var(--line); }
.search-field:nth-child(3) { border-right: 0; }
.search-field i { position: absolute; left: 16px; color: var(--blue); font-size: .95rem; pointer-events: none; }
.search-field input, .search-field select {
  width: 100%; border: 0; background: transparent; padding: 14px 14px 14px 42px; font-size: .92rem; color: var(--ink);
  outline: none; appearance: none; -webkit-appearance: none; cursor: pointer;
}
.search-field input { cursor: text; }
.search-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235d6a7e' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.search-box .btn { padding: 14px 26px; border-radius: 11px; }
.search-tags { margin-top: 18px; font-size: .85rem; color: rgba(255,255,255,.75); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.search-tags a { color: #fff; background: rgba(255,255,255,.12); padding: 4px 12px; border-radius: 99px; font-size: .8rem; }
.search-tags a:hover { background: rgba(255,255,255,.22); }

.search-float { margin-top: -56px; position: relative; z-index: 5; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
  color: var(--ink);
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-100); color: var(--ink); }
.cat-card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--blue-50); color: var(--blue); font-size: 1.25rem; transition: background .25s, color .25s;
}
.cat-card:nth-child(even) .ico { background: var(--green-50); color: var(--green-600); }
.cat-card:hover .ico { background: var(--blue); color: #fff; }
.cat-card:nth-child(even):hover .ico { background: var(--green); color: #fff; }
.cat-card h3 { font-size: .98rem; margin: 0 0 2px; }
.cat-card span { font-size: .82rem; color: var(--muted); }

/* ---------- Job cards ---------- */
.job-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.job-list { display: grid; gap: 14px; }
.job-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 22px 18px; display: flex; flex-direction: column; overflow: hidden;
  transition: box-shadow .25s, border-color .25s, transform .25s var(--ease);
}
.job-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--green)); opacity: 0; transition: opacity .25s;
}
.job-card:hover { box-shadow: var(--shadow); border-color: var(--blue-100); transform: translateY(-3px); }
.job-card:hover::before { opacity: 1; }
.job-card.is-featured { border-color: #f6e3ae; background: linear-gradient(180deg, #fffcf3 0%, #fff 38%); }
.job-logo {
  width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center;
  font-weight: 700; font-size: 1.05rem; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-800));
}
.job-logo.g { background: linear-gradient(135deg, var(--green), var(--green-600)); }
.job-logo.d { background: linear-gradient(135deg, #3a4a63, var(--ink)); }
.jc-head { display: flex; gap: 14px; align-items: flex-start; }
.jc-titles { flex: 1; min-width: 0; }
.job-title { font-size: 1.08rem; margin: 2px 0 3px; line-height: 1.3; }
.job-title a { color: var(--ink); }
.job-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.job-card:hover .job-title a { color: var(--blue); }
.job-company { font-size: .86rem; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.job-company .verified { color: var(--green); font-size: .78rem; }
.job-company .dot { width: 3px; height: 3px; border-radius: 50%; background: #b7c1d0; }
.jc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; }
.jc-tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 8px;
  background: var(--bg-soft); border: 1px solid var(--line-2); font-size: .78rem; font-weight: 500; color: var(--ink-2); white-space: nowrap;
}
.jc-tag i { color: var(--blue); font-size: .78rem; width: 14px; text-align: center; }
.jc-tag.cat { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-800); }
.jc-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-top: 16px; border-top: 1px dashed var(--line); flex-wrap: wrap;
}
.jc-salary { display: flex; align-items: center; gap: 12px; }
.jc-salary .ico { width: 40px; height: 40px; border-radius: 11px; background: var(--green-50); color: var(--green-600); display: grid; place-items: center; font-size: 1rem; flex-shrink: 0; }
.jc-salary span { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 500; line-height: 1.3; }
.jc-salary strong { display: block; font-size: 1.02rem; color: var(--ink); font-weight: 700; line-height: 1.35; white-space: nowrap; }
.jc-salary strong small { font-size: .78rem; font-weight: 500; color: var(--muted); }
.jc-foot .btn { position: relative; z-index: 2; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.job-meta i { color: var(--blue); margin-right: 5px; width: 13px; text-align: center; }

.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px;
  font-size: .72rem; font-weight: 600; line-height: 1.3; white-space: nowrap;
}
.badge-blue { background: var(--blue-50); color: var(--blue); }
.badge-green { background: var(--green-50); color: var(--green-600); }
.badge-warn { background: var(--warn-50); color: var(--warn); }
.badge-danger { background: var(--danger-50); color: var(--danger); }
.badge-grey { background: var(--line-2); color: var(--muted); }
.badge-featured { background: linear-gradient(90deg, #fff4d6, #ffe9ad); color: #9a6a00; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 12px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .82rem; color: var(--ink-2); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step {
  position: relative; padding: 28px 24px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  text-align: center;
}
.step .num {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue); font-size: 1.4rem; position: relative;
}
.step .num::after {
  counter-increment: step; content: counter(step); position: absolute; top: -4px; right: -4px; width: 24px; height: 24px;
  border-radius: 50%; background: var(--green); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center;
  border: 2px solid #fff;
}
.step h3 { font-size: 1.02rem; }
.step p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Fee section ---------- */
.fee-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.fee-card {
  position: relative; background: #fff; border-radius: 22px; padding: 36px; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.fee-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.fee-card .label { font-size: .85rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.fee-price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 4px; }
.fee-price .cur { font-size: 1.3rem; font-weight: 600; color: var(--blue); }
.fee-price .amt { font-size: 4rem; font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.fee-price .per { color: var(--muted); font-size: .9rem; }
.check-list { list-style: none; display: grid; gap: 12px; margin: 22px 0 28px; }
.check-list li { display: flex; gap: 12px; align-items: start; font-size: .92rem; }
.check-list i { color: var(--green); margin-top: 4px; }
.pay-logos { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 16px; font-size: .8rem; color: var(--muted); flex-wrap: wrap; }
.pay-logos i { font-size: 1.5rem; color: var(--ink-2); }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s var(--ease); }
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.why-card .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font-size: 1.2rem; margin-bottom: 18px; }
.why-card:nth-child(3n+2) .ico { background: var(--green-50); color: var(--green-600); }
.why-card h3 { font-size: 1.05rem; }
.why-card p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 24px; padding: 56px; color: #fff;
  background: radial-gradient(600px 300px at 100% 0%, rgba(114,187,53,.45), transparent 60%), linear-gradient(135deg, var(--blue-800), var(--blue));
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; max-width: 560px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page hero ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800) 60%, var(--blue-600)); color: #fff;
  padding: 56px 0 60px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(114,187,53,.35), transparent 65%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.82); margin: 0; max-width: 640px; }
.breadcrumb { padding: 0; margin: 0 0 14px; display: flex; gap: 8px; list-style: none; font-size: .82rem; margin-bottom: 14px; color: rgba(255,255,255,.7); flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; opacity: .5; }

/* ---------- Jobs listing layout ---------- */
.listing { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.filters {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px;
  position: sticky; top: calc(var(--header-h) + 20px);
}
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.filters-head h3 { margin: 0; font-size: 1.02rem; }
.filters-head button { background: none; border: 0; color: var(--blue); font-size: .82rem; font-weight: 500; cursor: pointer; }
.filter-group { padding: 16px 0; border-top: 1px solid var(--line-2); }
.filter-group:first-of-type { border-top: 0; padding-top: 4px; }
.filter-group > label, .filter-group > .fg-title { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.check-opt { display: flex; align-items: center; gap: 10px; font-size: .88rem; padding: 4px 0; cursor: pointer; color: var(--ink-2); }
.check-opt input { width: 17px; height: 17px; accent-color: var(--blue); cursor: pointer; }
.list-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.list-toolbar .count { font-size: .92rem; color: var(--muted); }
.list-toolbar .count b { color: var(--ink); }
.list-toolbar select { width: auto; min-width: 180px; }
.filter-toggle { display: none; }
.empty-state { text-align: center; padding: 60px 20px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.empty-state i { font-size: 2.4rem; color: var(--blue-100); margin-bottom: 14px; }

/* ---------- Job details ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.detail-head {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 22px;
  display: flex; gap: 20px; align-items: start;
}
.detail-head .job-logo { width: 72px; height: 72px; font-size: 1.4rem; border-radius: 18px; }
.detail-head h1 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-bottom: 4px; }
.detail-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 22px; }
.detail-block h2 { font-size: 1.12rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.detail-block h2 i { color: var(--blue); font-size: .95rem; width: 32px; height: 32px; border-radius: 9px; background: var(--blue-50); display: grid; place-items: center; }
.bullet-list { list-style: none; display: grid; gap: 10px; }
.bullet-list li { position: relative; padding-left: 26px; font-size: .93rem; }
.bullet-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 1px; color: var(--green); font-size: .8rem; }
.summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary-card h3 { font-size: 1.02rem; margin-bottom: 14px; }
.summary-list { list-style: none; margin-bottom: 20px; }
.summary-list li { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: .88rem; }
.summary-list li:last-child { border-bottom: 0; }
.summary-list i { width: 34px; height: 34px; border-radius: 9px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.summary-list span { color: var(--muted); display: block; font-size: .76rem; line-height: 1.3; }
.summary-list b { color: var(--ink); font-weight: 600; }
.note-box { background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--radius); padding: 14px 16px; font-size: .84rem; color: var(--ink-2); margin-top: 14px; display: flex; gap: 10px; }
.note-box i { color: var(--green-600); margin-top: 3px; }
.note-box.blue { background: var(--blue-50); border-color: var(--blue-100); }
.note-box.blue i { color: var(--blue); }
.note-box.warn { background: var(--warn-50); border-color: #ffe2a8; }
.note-box.warn i { color: var(--warn); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .84rem; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--danger); }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea, select.input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  font-size: .92rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; outline: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select, select.input {
  appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235d6a7e' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,106,229,.12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field .error { display: none; color: var(--danger); font-size: .78rem; margin-top: 6px; }
.field.invalid .error { display: block; }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; pointer-events: none; }
.input-icon input { padding-left: 40px !important; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); cursor: pointer; padding: 8px; }
.check-row { display: flex; gap: 10px; align-items: start; font-size: .88rem; cursor: pointer; }
.check-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); flex-shrink: 0; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.35rem; margin-bottom: 4px; }
.form-card > .muted { margin-bottom: 24px; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.form-divider { grid-column: 1 / -1; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); padding-top: 8px; border-top: 1px solid var(--line-2); margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt input { display: none; }
.chip-opt span { display: inline-block; padding: 7px 14px; border-radius: 99px; border: 1.5px solid var(--line); font-size: .82rem; cursor: pointer; transition: all .2s; }
.chip-opt input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side {
  background: radial-gradient(600px 400px at 100% 0%, rgba(114,187,53,.35), transparent 60%), linear-gradient(145deg, var(--blue-900), var(--blue-600));
  color: #fff; padding: 64px; display: flex; flex-direction: column; justify-content: center;
}
.auth-side h2 { color: #fff; }
.auth-side p { color: rgba(255,255,255,.82); }
.auth-side .check-list li { color: rgba(255,255,255,.92); }
.auth-side .check-list i { color: #a6e27a; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 20px; background: var(--bg-soft); }
.auth-box { width: 100%; max-width: 440px; }

/* ---------- Stepper ---------- */
.stepper { display: flex; list-style: none; margin-bottom: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; gap: 6px; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted); font-weight: 500; position: relative; }
.stepper li:not(:last-child)::after { content: ''; flex: 1; height: 2px; background: var(--line); border-radius: 2px; margin: 0 6px; min-width: 12px; }
.stepper .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--line-2); color: var(--muted); font-weight: 600; flex-shrink: 0; transition: all .3s; }
.stepper li.active { color: var(--ink); }
.stepper li.active .dot { background: var(--blue); color: #fff; box-shadow: 0 0 0 5px var(--blue-50); }
.stepper li.done .dot { background: var(--green); color: #fff; }
.stepper li.done::after { background: var(--green); }
.step-panel { display: none; animation: fadeUp .35s var(--ease); }
.step-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Upload ---------- */
.dropzone {
  position: relative; border: 2px dashed var(--blue-100); background: var(--blue-50); border-radius: var(--radius);
  padding: 28px 20px; text-align: center; transition: border-color .2s, background .2s; cursor: pointer;
}
.dropzone:hover, .dropzone.drag { border-color: var(--blue); background: #e6effd; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone i.big { font-size: 2rem; color: var(--blue); margin-bottom: 8px; }
.dropzone strong { display: block; color: var(--ink); font-size: .95rem; }
.dropzone span { font-size: .8rem; color: var(--muted); }
.file-list { list-style: none; margin-top: 12px; display: grid; gap: 8px; }
.file-list li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); background: #fff; border-radius: 10px; font-size: .85rem; }
.file-list li i.fa-file-lines, .file-list li i.fa-file-image, .file-list li i.fa-file-pdf { color: var(--blue); font-size: 1.1rem; }
.file-list li .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.file-list li .size { color: var(--muted); font-size: .78rem; }
.file-list li button { background: none; border: 0; color: var(--danger); cursor: pointer; padding: 4px; }
.file-list li.err { border-color: #f5c2c9; background: var(--danger-50); }
.file-list li.err .size { color: var(--danger); }

.flow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .8rem; margin: 16px 0; }
.flow span { padding: 6px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.flow i { color: var(--green); font-size: .7rem; }

/* ---------- Payment ---------- */
.pay-summary { background: var(--bg-soft); border-radius: var(--radius); padding: 20px; margin-bottom: 22px; }
.pay-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .92rem; }
.pay-row.total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 14px; font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.pay-opt input { display: none; }
.pay-opt label {
  display: flex; gap: 14px; align-items: center; padding: 18px; border: 2px solid var(--line); border-radius: var(--radius);
  cursor: pointer; transition: all .2s; background: #fff; height: 100%;
}
.pay-opt label:hover { border-color: var(--blue-100); }
.pay-opt input:checked + label { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 4px rgba(29,106,229,.08); }
.pay-opt .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-size: 1.3rem; color: var(--blue); flex-shrink: 0; }
.pay-opt .ico.pp { color: #5f259f; font-weight: 800; font-size: 1rem; }
.pay-opt strong { display: block; color: var(--ink); font-size: .95rem; }
.pay-opt small { color: var(--muted); font-size: .78rem; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .8rem; color: var(--muted); margin-top: 14px; }
.secure-note i { color: var(--green); }

/* ---------- Success ---------- */
.success-card { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.success-top { text-align: center; padding: 40px 32px 28px; background: linear-gradient(180deg, var(--green-50), #fff); }
.success-icon {
  width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: #fff; font-size: 2.2rem;
  display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 0 0 10px var(--green-100);
  animation: pop .5s var(--ease);
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.receipt { padding: 8px 32px 32px; }
.receipt-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-2); font-size: .92rem; }
.receipt-row span { color: var(--muted); }
.receipt-row b { color: var(--ink); text-align: right; word-break: break-all; }

/* ---------- Dashboard ---------- */
body[data-page="dashboard"] .dash:not(.ready) { visibility: hidden; }
.dash { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - var(--header-h)); background: var(--bg-soft); }
.dash-side { background: #fff; border-right: 1px solid var(--line); padding: 24px 16px; position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow-y: auto; }
.dash-user { display: flex; gap: 12px; align-items: center; padding: 8px 10px 22px; border-bottom: 1px solid var(--line-2); margin-bottom: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff; display: grid; place-items: center; font-weight: 600; flex-shrink: 0; }
.dash-user strong { display: block; color: var(--ink); font-size: .92rem; line-height: 1.3; }
.dash-user span { font-size: .76rem; color: var(--muted); }
.dash-nav { list-style: none; display: grid; gap: 2px; }
.dash-nav a, .dash-nav button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border-radius: 10px; font-size: .88rem;
  color: var(--ink-2); background: none; border: 0; cursor: pointer; text-align: left; font-weight: 500;
}
.dash-nav a i, .dash-nav button i { width: 18px; text-align: center; color: var(--muted); }
.dash-nav a:hover, .dash-nav button:hover { background: var(--bg-soft); color: var(--blue); }
.dash-nav .active { background: var(--blue-50) !important; color: var(--blue) !important; }
.dash-nav .active i { color: var(--blue); }
.dash-nav .count { margin-left: auto; background: var(--green); color: #fff; font-size: .7rem; padding: 1px 8px; border-radius: 99px; }
.dash-nav .sep { height: 1px; background: var(--line-2); margin: 10px 0; }
.dash-main { padding: 32px; min-width: 0; }
.dash-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.dash-title h1 { font-size: 1.5rem; margin: 0; }
.dash-title p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.dash-panel { display: none; animation: fadeUp .3s var(--ease); }
.dash-panel.active { display: block; }
.dash-mobile-nav { display: none; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; display: flex; gap: 14px; align-items: center; }
.stat .ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font-size: 1.15rem; flex-shrink: 0; }
.stat .ico.g { background: var(--green-50); color: var(--green-600); }
.stat .ico.w { background: var(--warn-50); color: var(--warn); }
.stat .ico.r { background: var(--danger-50); color: var(--danger); }
.stat span { font-size: .78rem; color: var(--muted); display: block; }
.stat strong { font-size: 1.3rem; color: var(--ink); line-height: 1.25; display: block; }
.progress { height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; margin-top: 6px; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: 99px; transition: width .6s var(--ease); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; font-size: 1.08rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.mini-job { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.mini-job:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-job .job-logo { width: 44px; height: 44px; font-size: .9rem; border-radius: 11px; }
.mini-job .info { flex: 1; min-width: 0; }
.mini-job .info a { color: var(--ink); font-weight: 600; font-size: .92rem; display: block; }
.mini-job .info a:hover { color: var(--blue); }
.mini-job .info span { font-size: .8rem; color: var(--muted); }

.status-list { list-style: none; display: grid; gap: 12px; }
.status-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: .9rem; }
.status-list li > span { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.status-list li > span i { color: var(--blue); width: 18px; text-align: center; }

.notif { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.notif:last-child { border-bottom: 0; }
.notif .ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex-shrink: 0; }
.notif .ico.g { background: var(--green-50); color: var(--green-600); }
.notif p { margin: 0; font-size: .9rem; color: var(--ink); }
.notif span { font-size: .78rem; color: var(--muted); }
.notif.unread p { font-weight: 600; }

.toggle { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle span { position: absolute; inset: 0; background: var(--line); border-radius: 99px; cursor: pointer; transition: .25s; }
.toggle span::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .25s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.toggle input:checked + span { background: var(--green); }
.toggle input:checked + span::before { transform: translateX(20px); }
.setting-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.setting-row:last-child { border-bottom: 0; }
.setting-row strong { display: block; color: var(--ink); font-size: .92rem; font-weight: 500; }
.setting-row span { font-size: .8rem; color: var(--muted); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
table.table { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 640px; }
.table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; background: var(--bg-soft); padding: 12px 16px; white-space: nowrap; }
.table td { padding: 14px 16px; border-top: 1px solid var(--line-2); color: var(--ink-2); vertical-align: middle; }
.table tr:hover td { background: #fafcff; }
.table td b { color: var(--ink); font-weight: 600; }
.table .actions { display: flex; gap: 6px; }
.icon-btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--muted); display: inline-grid; place-items: center; cursor: pointer; transition: all .2s; font-size: .8rem; }
.icon-btn:hover { color: var(--blue); border-color: var(--blue-100); background: var(--blue-50); }
.icon-btn.del:hover { color: var(--danger); border-color: #f5c2c9; background: var(--danger-50); }
.table-tools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.table-tools .input { width: auto; flex: 1; min-width: 160px; padding: 10px 14px; }
.table-tools select.input { flex: 0 1 180px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.faq-nav { position: sticky; top: calc(var(--header-h) + 20px); list-style: none; display: grid; gap: 4px; }
.faq-nav a { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 10px; color: var(--ink-2); font-size: .9rem; font-weight: 500; }
.faq-nav a i { color: var(--blue); width: 18px; }
.faq-nav a:hover { background: var(--blue-50); color: var(--blue); }
.faq-group { margin-bottom: 36px; scroll-margin-top: calc(var(--header-h) + 20px); }
.faq-group h2 { font-size: 1.2rem; margin-bottom: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 10px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 500; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: .95rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '\2b'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .8rem; color: var(--blue); width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50); display: grid; place-items: center; flex-shrink: 0; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding: 0 20px 18px; color: var(--muted); font-size: .92rem; }
.faq-item .answer p:last-child { margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-visual { position: relative; border-radius: 24px; padding: 36px; background: linear-gradient(145deg, var(--blue-50), var(--green-50)); }
.about-visual .inner { background: #fff; border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.about-visual .inner img { width: 100%; max-width: 320px; margin: 0 auto 22px; }
.num-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.num-grid div { background: var(--bg-soft); border-radius: 12px; padding: 16px; text-align: center; }
.num-grid strong { display: block; font-size: 1.6rem; color: var(--blue); line-height: 1.2; }
.num-grid div:nth-child(even) strong { color: var(--green-600); }
.num-grid span { font-size: .8rem; color: var(--muted); }
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mv-card { padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.mv-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--blue); }
.mv-card.g::before { background: var(--green); }
.mv-card .ico { font-size: 1.6rem; color: var(--blue); margin-bottom: 14px; }
.mv-card.g .ico { color: var(--green-600); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.office-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 18px; }
.office-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 16px; }
.office-card h3 .flag { font-size: 1.3rem; }
.info-list { list-style: none; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 14px; align-items: start; font-size: .9rem; }
.info-list li i { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.info-list li span { display: block; font-size: .76rem; color: var(--muted); }
.info-list li a, .info-list li b { color: var(--ink); font-weight: 500; word-break: break-word; }
.quick-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.qc { display: flex; gap: 14px; align-items: center; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); transition: box-shadow .2s, transform .2s var(--ease); }
.qc:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.qc i { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 1.2rem; background: var(--blue-50); color: var(--blue); flex-shrink: 0; }
.qc.wa i { background: #e7f8ee; color: #1faa53; }
.qc.g i { background: var(--green-50); color: var(--green-600); }
.qc span { font-size: .78rem; color: var(--muted); display: block; }
.qc b { font-weight: 600; font-size: .92rem; word-break: break-word; }

/* ---------- Legal prose ---------- */
.prose-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.toc strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .86rem; }
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--blue); }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.25rem; margin: 36px 0 12px; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); font-size: .95rem; }
.prose ul { padding-left: 20px; margin-bottom: 1em; display: grid; gap: 6px; }
.prose .highlight { background: var(--green-50); border-left: 4px solid var(--green); padding: 18px 20px; border-radius: 0 12px 12px 0; margin: 20px 0; }
.prose .highlight p:last-child { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1a33; color: rgba(255,255,255,.72); font-size: .9rem; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-logo img { height: 30px; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #a6e27a; }
.footer-contact li { display: flex; gap: 12px; align-items: start; }
.footer-contact i { color: var(--green); margin-top: 5px; width: 16px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; transition: background .2s; }
.socials a:hover { background: var(--green); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .82rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom .links { display: flex; gap: 20px; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 10px 24px -8px rgba(37,211,102,.7);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* ---------- Modal & toast ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(10,22,44,.55); backdrop-filter: blur(3px); }
.modal.open { display: flex; animation: fadeIn .2s; }
.modal-box { background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 720px; max-height: 90vh; overflow-y: auto; padding: 28px; box-shadow: var(--shadow-lg); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-head h3 { margin: 0; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.toast-wrap { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 300; display: grid; gap: 10px; width: calc(100% - 40px); max-width: 420px; }
.toast { background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 12px; font-size: .88rem; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-lg); animation: toastIn .3s var(--ease); }
.toast i { color: #a6e27a; }
.toast.error i { color: #ff8a98; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

.demo-banner { background: var(--warn-50); color: #7a5200; font-size: .8rem; text-align: center; padding: 8px 16px; border-bottom: 1px solid #ffe2a8; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }


/* ---------- Plan validity (dashboard) ---------- */
.plan-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; margin-bottom: 24px;
  padding: 24px 28px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(120deg, #fff 0%, #fff 55%, var(--green-50) 100%);
}
.plan-card[data-state="expiring"] { background: linear-gradient(120deg, #fff 0%, #fff 55%, var(--warn-50) 100%); border-color: #ffe2a8; }
.plan-card[data-state="expired"], .plan-card[data-state="none"] { background: linear-gradient(120deg, #fff 0%, #fff 55%, var(--danger-50) 100%); border-color: #f5c2c9; }
.plan-ring { position: relative; width: 124px; height: 124px; flex-shrink: 0; }
.plan-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.plan-ring circle { fill: none; stroke-width: 10; }
.plan-ring .track { stroke: var(--line-2); }
.plan-ring .bar { stroke: var(--green); stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.plan-card[data-state="expiring"] .plan-ring .bar { stroke: var(--warn); }
.plan-card[data-state="expired"] .plan-ring .bar, .plan-card[data-state="none"] .plan-ring .bar { stroke: var(--danger); }
.plan-ring-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.plan-ring-num strong { font-size: 2rem; font-weight: 700; color: var(--ink); line-height: 1; }
.plan-ring-num span { font-size: .72rem; color: var(--muted); margin-top: 4px; }
.plan-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.plan-name { font-size: .8rem; font-weight: 600; color: var(--muted); }
.plan-info h3 { font-size: 1.12rem; margin: 0 0 14px; }
.plan-dates { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-bottom: 14px; }
.plan-dates span { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.plan-dates b { font-size: .92rem; color: var(--ink); font-weight: 600; }
.plan-progress { height: 8px; max-width: 460px; }
.plan-pill { display: inline-flex !important; align-items: center; gap: 5px; margin-top: 6px; padding: 2px 9px; border-radius: 99px; font-size: .7rem !important; font-weight: 600; background: var(--green-50); color: var(--green-600) !important; }
.plan-pill.expiring { background: var(--warn-50); color: var(--warn) !important; }
.plan-pill.expired, .plan-pill.none { background: var(--danger-50); color: var(--danger) !important; }
.plan-pill:empty { display: none !important; }
@media (max-width: 768px) {
  .plan-card { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 22px 18px; gap: 16px; }
  .plan-top, .plan-dates { justify-content: center; }
  .plan-progress { margin: 0 auto; }
  .plan-cta, .plan-cta .btn { width: 100%; }
}


/* ---------- Interviews (dashboard) ---------- */
.iv-filter { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; }
.iv-filter button { border: 0; background: none; padding: 8px 16px; border-radius: 9px; font-size: .85rem; font-weight: 500; color: var(--muted); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.iv-filter button span { background: var(--line-2); color: var(--ink-2); border-radius: 99px; padding: 0 7px; font-size: .72rem; }
.iv-filter button.active { background: var(--blue); color: #fff; }
.iv-filter button.active span { background: rgba(255,255,255,.25); color: #fff; }
#ivList { display: grid; gap: 18px; }
.iv-card { display: grid; grid-template-columns: 92px 1fr; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; position: relative; overflow: hidden; }
.iv-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--blue), var(--green)); }
.iv-card.is-past { opacity: .78; }
.iv-card.is-past::before { background: var(--line); }
.iv-card.is-cancelled::before { background: var(--danger); }
.iv-date { text-align: center; border-radius: 16px; padding: 12px 6px; background: linear-gradient(160deg, var(--blue), var(--blue-800)); color: #fff; align-self: start; box-shadow: 0 10px 22px -10px rgba(29,106,229,.6); }
.iv-card.is-past .iv-date { background: var(--bg-soft); color: var(--muted); box-shadow: none; border: 1px solid var(--line); }
.iv-date .m { display: block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.iv-date strong { display: block; font-size: 2.1rem; line-height: 1.1; font-weight: 700; }
.iv-date .w { display: block; font-size: .75rem; opacity: .85; }
.iv-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.iv-head h3 { font-size: 1.12rem; margin: 0 0 2px; }
.iv-company { font-size: .86rem; color: var(--muted); }
.iv-company i { color: var(--blue); margin-right: 4px; }
.iv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.iv-grid > div { position: relative; padding: 12px 12px 12px 46px; background: var(--bg-soft); border-radius: 12px; min-width: 0; }
.iv-grid > div.wide { grid-column: 1 / -1; }
.iv-grid i { position: absolute; left: 12px; top: 13px; width: 24px; height: 24px; border-radius: 7px; background: #fff; color: var(--blue); display: grid; place-items: center; font-size: .75rem; }
.iv-grid span { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.iv-grid b { font-size: .88rem; color: var(--ink); font-weight: 600; word-break: break-word; }
.iv-grid b a { color: var(--blue); font-weight: 500; }
.iv-docs { border: 1px dashed var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.iv-docs > span { font-size: .78rem; font-weight: 600; color: var(--ink); }
.iv-docs > span i { color: var(--green-600); margin-right: 4px; }
.iv-docs ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 8px; }
.iv-docs li { font-size: .8rem; padding: 4px 10px; border-radius: 99px; background: var(--green-50); color: var(--ink-2); }
.iv-docs li::before { content: '\2713'; color: var(--green-600); font-weight: 700; margin-right: 5px; }
.iv-note { display: flex; gap: 10px; font-size: .85rem; color: var(--ink-2); background: var(--warn-50); border: 1px solid #ffe2a8; border-radius: 12px; padding: 11px 14px; margin-bottom: 16px; }
.iv-note i { color: var(--warn); margin-top: 3px; }
.iv-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.iv-next { display: flex; align-items: center; gap: 18px; padding: 18px 22px; margin-bottom: 24px; border-radius: var(--radius-lg); color: #fff; background: radial-gradient(400px 200px at 100% 0, rgba(114,187,53,.45), transparent 60%), linear-gradient(135deg, var(--blue-800), var(--blue)); }
.iv-next-ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.15); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.iv-next-info { flex: 1; min-width: 0; }
.iv-next-info h3 { color: #fff; font-size: 1.02rem; margin: 6px 0 2px; }
.iv-next-info p { margin: 0; font-size: .84rem; color: rgba(255,255,255,.85); }
.iv-next-info p i { color: #a6e27a; }
.iv-next .btn { background: #fff; color: var(--blue-800); box-shadow: none; }
@media (max-width: 768px) {
  .iv-card { grid-template-columns: 1fr; padding: 18px; gap: 14px; }
  .iv-date { display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 10px; }
  .iv-date strong { font-size: 1.5rem; }
  .iv-grid { grid-template-columns: 1fr; }
  .iv-actions .btn { flex: 1 1 calc(50% - 8px); }
  .iv-next { flex-wrap: wrap; padding: 18px; }
  .iv-next .btn { width: 100%; }
}


/* ---------- Email OTP ---------- */
.otp-card { text-align: center; max-width: 560px; margin: 0 auto; }
.otp-ico { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 22px; display: grid; place-items: center; font-size: 1.9rem; color: #fff; background: linear-gradient(135deg, var(--blue), var(--green)); box-shadow: 0 14px 30px -12px rgba(29,106,229,.6); }
.otp-email { color: var(--ink); word-break: break-all; }
.otp-inputs { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 22px 0 10px; }
.otp-inputs input {
  width: 52px; height: 60px; text-align: center; font-size: 1.5rem; font-weight: 700; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg-soft); outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.otp-inputs input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(29,106,229,.14); }
.otp-inputs input.filled { border-color: var(--blue-100); background: #fff; }
.otp-inputs input.bad { border-color: var(--danger); background: var(--danger-50); animation: shake .35s; }
.otp-sep { width: 10px; height: 2px; background: var(--line); border-radius: 2px; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.otp-error { min-height: 22px; color: var(--danger); font-size: .84rem; margin-bottom: 12px; }
.otp-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; font-size: .86rem; color: var(--muted); }
.otp-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.otp-link { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 600; cursor: pointer; font-size: .86rem; display: inline-flex; align-items: center; gap: 5px; }
.otp-link:disabled { color: var(--muted); font-weight: 500; cursor: default; }
@media (max-width: 420px) {
  .otp-inputs { gap: 6px; }
  .otp-inputs input { width: 42px; height: 52px; font-size: 1.3rem; border-radius: 11px; }
  .otp-sep { width: 6px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-toggle { display: grid; place-items: center; }
  .header-actions { display: none; }
  .mobile-only, .drawer-contact { display: block; }
  .drawer-head { display: flex; }
  .nav-overlay { display: block; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); margin: 0; z-index: 210;
    background: #fff; display: flex; flex-direction: column; overflow-y: auto;
    box-shadow: -20px 0 50px -10px rgba(10, 22, 44, .3);
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
  .drawer-head img { height: 26px; width: auto; }
  .drawer-close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; }
  .drawer-close:hover { background: var(--bg-soft); color: var(--blue); }
  .main-nav ul { flex-direction: column; gap: 2px; padding: 12px; }
  .main-nav a { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; font-size: .98rem; border-radius: 10px; }
  .main-nav ul a::after { content: '\f054'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .7rem; color: #b7c1d0; background: none; height: auto; margin: 0; display: block; }
  .main-nav a.active { background: var(--blue-50); color: var(--blue); }
  .main-nav a.active::after { color: var(--blue); }
  .main-nav .mobile-actions { display: grid; gap: 10px; padding: 16px 18px 24px; margin-top: auto; border-top: 1px solid var(--line-2); }
  .main-nav .mobile-actions a { justify-content: center; }
  .main-nav .mobile-actions a::after { display: none; }
  .drawer-contact { padding: 0 18px 22px; font-size: .84rem; display: grid; gap: 8px; }
  .drawer-contact a { padding: 0; color: var(--muted); justify-content: flex-start; gap: 10px; font-size: .84rem; }
  .drawer-contact a i { color: var(--green); width: 16px; }
  .nav-overlay { position: fixed; inset: 0; z-index: 205; background: rgba(10, 22, 44, .5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav-overlay.show { opacity: 1; visibility: visible; }
  html.nav-open { overflow: hidden; }
}
}

@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  :root { --header-h: 68px; }
  .topbar-links span.hide-md { display: none; }

  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .search-box { grid-template-columns: 1fr 1fr; gap: 6px; }
  .search-field { border: 1px solid var(--line); border-radius: 10px; }
  .search-field:first-child { grid-column: 1 / -1; }
  .search-box .btn { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .fee-wrap, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .listing { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 150; border-radius: 0; overflow-y: auto; transform: translateX(-100%); transition: transform .3s var(--ease); top: 0; }
  .filters.open { transform: none; }
  .filter-toggle { display: inline-flex; }
  .filters .close-filters { display: inline-flex !important; }
  .detail-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-mobile-nav { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 20; scrollbar-width: none; }
  .dash-mobile-nav::-webkit-scrollbar { display: none; }
  .dash-mobile-nav button { flex-shrink: 0; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: .82rem; font-weight: 500; cursor: pointer; color: var(--ink-2); display: flex; gap: 6px; align-items: center; }
  .dash-mobile-nav button.active { background: var(--blue); border-color: var(--blue); color: #fff; }
  .faq-layout, .prose-layout { grid-template-columns: 1fr; }
  .faq-nav { position: static; display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; }
  .faq-nav a { white-space: nowrap; border: 1px solid var(--line); background: #fff; }
  .toc { position: static; }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 14.5px; }
  .section { padding: 60px 0; }
  .section-sm { padding: 44px 0; }
  .section-head { margin-bottom: 32px; }
  .topbar { display: none; }
  .logo img { height: 28px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-card { flex-direction: column; text-align: center; padding: 18px 12px; gap: 10px; }
  .job-grid { grid-template-columns: 1fr; }
  .why-grid, .mv-grid { grid-template-columns: 1fr; }
  .quick-contact { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .pay-methods { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; }
  .form-card { padding: 22px; }
  .detail-head { flex-direction: column; padding: 22px; }
  .detail-block { padding: 22px; }
  .stepper { padding: 12px; gap: 2px; }
  .stepper li:not(:last-child)::after { margin: 0 4px; min-width: 8px; }
  .stepper li .lbl { display: none; }
  .stepper li.active .lbl { display: inline; }
  .dash-main { padding: 20px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .receipt { padding: 8px 20px 24px; }
  .success-top { padding: 32px 20px 22px; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .search-box { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { flex-direction: column; align-items: start; padding: 16px; gap: 10px; }
  .job-card { padding: 18px 18px 16px; }
  .jc-tags { margin: 14px 0 16px; }
  .jc-foot .btn { width: 100%; }
  .job-logo { width: 46px; height: 46px; font-size: .9rem; }
  .jc-head .badge-featured span { display: none; }
  .jc-head .badge-featured { padding: 6px 8px; }
  .fee-card { padding: 26px 22px; }
  .hs-top { padding: 18px; gap: 12px; }
  .hs-ico { width: 42px; height: 42px; }
  .hs-title p { display: none; }
  .hs-title h2 { font-size: 1.05rem; }
  .hs-live { padding: 5px 10px; }
  .hs-body { padding: 18px 18px 20px; }
  .hero-search { box-shadow: 0 0 0 5px rgba(255,255,255,.1), 0 30px 60px -25px rgba(3,15,45,.7); }
  .hs-row { grid-template-columns: 1fr; gap: 0; }
  .hero .btn-lg { flex: 1; }
  .hero h1 .one-line { white-space: normal; }
  .hero-trust { gap: 14px; }
  .fee-price .amt { font-size: 3.2rem; }
  .cta-band .actions, .cta-band .actions .btn { width: 100%; }
  .form-actions .btn { flex: 1; }
  .receipt-row { flex-direction: column; gap: 2px; }
  .receipt-row b { text-align: left; }
}

@media print {
  .site-header, .topbar, .site-footer, .wa-float, .no-print, .demo-banner, .dash-side, .dash-mobile-nav { display: none !important; }
  body { background: #fff; }
  .success-card { box-shadow: none; border: 1px solid #ccc; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Laravel version additions
   ========================================================================== */
.avatar-xs { width: 28px; height: 28px; font-size: .7rem; display: inline-grid; place-items: center; }
.header-actions .btn-ghost { gap: 8px; }
.main-nav .mobile-actions form .btn { width: 100%; }

/* Dashboard nav items rendered as links/forms */
.dash-nav form { margin: 0; }
.dash-mobile-nav a, .dash-mobile-nav form button {
  flex-shrink: 0; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: .82rem; font-weight: 500;
  cursor: pointer; color: var(--ink-2); display: flex; gap: 6px; align-items: center; white-space: nowrap;
}
.dash-mobile-nav a.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.dash-mobile-nav form { margin: 0; flex-shrink: 0; }
.iv-filter a { padding: 8px 16px; border-radius: 9px; font-size: .85rem; font-weight: 500; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.iv-filter a span { background: var(--line-2); color: var(--ink-2); border-radius: 99px; padding: 0 7px; font-size: .72rem; }
.iv-filter a.active { background: var(--blue); color: #fff; }
.iv-filter a.active span { background: rgba(255,255,255,.25); color: #fff; }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pager .pg { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: inline-grid; place-items: center; font-size: .88rem; font-weight: 500; color: var(--ink-2); }
.pager a.pg:hover { border-color: var(--blue); color: var(--blue); }
.pager .pg.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager .pg.disabled { opacity: .45; }

/* Stripe payment box */
.stripe-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px; border: 2px solid var(--blue); background: var(--blue-50); border-radius: var(--radius); }
.stripe-left { display: flex; align-items: center; gap: 14px; }
.stripe-left > i { font-size: 2.4rem; color: #635bff; }
.stripe-left strong { display: block; color: var(--ink); font-size: .95rem; }
.stripe-left small { color: var(--muted); font-size: .78rem; }
.stripe-cards { display: flex; gap: 8px; font-size: 1.6rem; color: var(--ink-2); }

/* Field errors from the server */
.field.invalid .error:empty { display: none; }
.otp-inputs.is-bad input { border-color: var(--danger); }
code { font-size: .8rem; background: var(--bg-soft); padding: 1px 6px; border-radius: 5px; }
