/* ==========================================================================
   Sarwin HR Solutions — shared design system (2026 redesign)
   Navy #182A47 / Red #DC2626 / Blue #1D4ED8 accent, Figtree
   Shared across all pages: reset, tokens, nav, buttons, footer, animations.
   ========================================================================== */

:root {
  --navy: #182A47;
  --navy-deep: #101d33;
  --red: #DC2626;
  --red-deep: #b91c1c;
  --ink: #111827;
  --ink-soft: #5b6472;
  --line: #e5e7eb;
  --paper: #ffffff;
  --bg-tint: #f8fafc;
  --sky: #b9ccEb;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Top nav ===== */
.topbar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 90;
  transition: box-shadow 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}
.topbar::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--red) 50%, var(--navy) 100%);
}

.topbar.is-scrolled {
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(16, 29, 51, 0.1);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.brand:hover { opacity: 0.85; }

.brand img {
  height: 30px;
  width: auto;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.1px;
  color: var(--ink);
}

.topnav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 10px 18px;
  border-radius: 999px;
  isolation: isolate;
  transition: color 0.25s ease;
}
.topnav a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--bg-tint);
  transform: scale(0.85);
  opacity: 0;
  z-index: -1;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}
.topnav a:hover {
  color: var(--navy);
}
.topnav a:hover::before {
  transform: scale(1);
  opacity: 1;
}
.topnav a.active {
  color: var(--navy);
  font-weight: 700;
}
.topnav a.active::before {
  background: var(--bg-tint);
  transform: scale(1);
  opacity: 1;
}
.topnav a.active::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

/* ===== Simple dropdown (single-column, one menu item) ===== */
.nav-drop {
  position: relative;
}

.nav-drop > .nav-drop-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  isolation: isolate;
  font: inherit;
  letter-spacing: 0.1px;
  color: var(--ink-soft);
  transition: color 0.25s ease;
}
.nav-drop > .nav-drop-label::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--bg-tint);
  transform: scale(0.85);
  opacity: 0;
  z-index: -1;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.nav-drop > .nav-drop-label .chev {
  width: 9px;
  height: 9px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-drop:hover > .nav-drop-label,
.nav-drop:focus-within > .nav-drop-label {
  color: var(--navy);
}
.nav-drop:hover > .nav-drop-label::before,
.nav-drop:focus-within > .nav-drop-label::before {
  transform: scale(1);
  opacity: 1;
}

.nav-drop:hover > .nav-drop-label .chev,
.nav-drop:focus-within > .nav-drop-label .chev {
  transform: rotate(180deg);
}

.nav-drop-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(16, 29, 51, 0.16);
  padding: 14px;
  min-width: 270px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 50;
}

.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-drop-eyebrow {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 4px 10px 10px;
}

.nav-drop-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-drop-panel a:hover {
  background: var(--bg-tint);
  color: var(--navy);
}

.nav-drop-ico {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg-tint);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-drop-ico svg { width: 16px; height: 16px; }
.nav-drop-panel a:hover .nav-drop-ico {
  background: var(--navy);
  color: #fff;
}

/* ===== Enquiry form ===== */
.enquiry-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(16, 29, 51, 0.14);
}

.enquiry-benefits {
  position: relative;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 44px 38px;
  overflow: hidden;
}

.enquiry-benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}

.enquiry-benefits::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,38,38,0.28), transparent 70%);
  pointer-events: none;
}

.enquiry-benefits > * { position: relative; z-index: 1; }

.enquiry-benefits .badge-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.enquiry-benefits h3 {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px;
  letter-spacing: -0.3px;
}

.enquiry-benefits > p {
  font-size: 14px;
  color: var(--sky);
  line-height: 1.6;
  margin: 0 0 28px;
}

.enquiry-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.enquiry-benefit-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.enquiry-benefit-item .ico {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.enquiry-benefit-item .ico svg { width: 16px; height: 16px; }
.enquiry-benefit-item:hover .ico { transform: scale(1.12) rotate(-6deg); background: var(--red); }

.enquiry-benefit-item p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
  margin: 0;
}
.enquiry-benefit-item strong { display: block; font-size: 14.5px; font-weight: 700; color: #fff; margin-bottom: 2px; }

.enquiry-card {
  background: var(--paper);
  padding: 40px 38px;
}

.enquiry-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.enquiry-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--ink);
  margin-bottom: 7px;
}

.enquiry-field .input-wrap {
  position: relative;
}

.enquiry-field .input-wrap svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
  pointer-events: none;
}

.enquiry-field input {
  width: 100%;
  padding: 12px 14px 12px 38px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-tint);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.enquiry-field input:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(220,38,38,0.1);
}

.enquiry-field .input-wrap:has(input:focus) svg {
  color: var(--red);
}

.enquiry-form .btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  box-shadow: 0 10px 26px rgba(220, 38, 38, 0.28);
}
.enquiry-form .btn-primary:hover {
  box-shadow: 0 14px 32px rgba(220, 38, 38, 0.38);
}

.enquiry-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  text-align: center;
  margin: 14px 0 0;
}

.form-alert {
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  margin-bottom: 18px;
}

.form-alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.form-alert-error { background: #fee2e2; color: var(--red-deep); border: 1px solid #fca5a5; }
.form-alert ul { margin: 0; padding-left: 18px; }

@media (max-width: 900px) {
  .enquiry-split { grid-template-columns: 1fr; border-radius: 18px; }
}

@media (max-width: 640px) {
  .enquiry-row { grid-template-columns: 1fr; gap: 0; }
  .enquiry-card, .enquiry-benefits { padding: 28px 22px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn:hover { transform: translateY(-2.5px); }
.btn:active { transform: translateY(-0.5px); transition-duration: 0.12s; }
.btn > svg { width: 15px; height: 15px; flex: 0 0 auto; }

.btn-primary {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-deep) 55%, var(--red) 100%);
  background-size: 220% 100%;
  background-position: 0% 0%;
  color: #fff;
  box-shadow: 0 1px 2px rgba(153,27,27,0.25), 0 6px 16px rgba(220,38,38,0.22);
  transition: background-position 0.6s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}
.btn-primary:hover {
  background-position: 100% 0%;
  box-shadow: 0 2px 4px rgba(153,27,27,0.3), 0 16px 32px rgba(220, 38, 38, 0.38);
}
.btn-primary:active { box-shadow: 0 1px 2px rgba(153,27,27,0.3), 0 4px 10px rgba(220,38,38,0.3); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  overflow: hidden;
}
.btn-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}
.btn-outline:hover { color: #fff; border-color: var(--navy); box-shadow: 0 10px 24px rgba(16, 29, 51, 0.22); }
.btn-outline:hover::before { transform: scale(2.2); }

.btn-ghost-light {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  overflow: hidden;
}
.btn-ghost-light::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.16);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}
.btn-ghost-light:hover { border-color: rgba(255,255,255,0.6); box-shadow: 0 10px 24px rgba(0,0,0,0.25); }
.btn-ghost-light:hover::before { transform: scale(2.2); }

.btn-lg { padding: 13px 26px; font-size: 15px; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  margin: -6px 0 -6px -2px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.mobile-nav-toggle:hover { background: var(--bg-tint); }

.hamburger {
  display: block;
  position: relative;
  width: 22px;
  height: 16px;
}
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, top 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 7px; }
.hamburger span:nth-child(3) { top: 14px; }

.mobile-nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.mobile-nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* ===== Mobile drawer ===== */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 29, 51, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 98;
}
.mobile-drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: var(--paper);
  box-shadow: -20px 0 50px rgba(16, 29, 51, 0.2);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
  flex: 0 0 auto;
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.mobile-drawer-head::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 50%, transparent 100%);
}
.mobile-drawer-head .brand img { height: 22px; display: block; }

.mobile-drawer-close {
  background: rgba(255,255,255,0.12);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.mobile-drawer-close:hover { background: var(--red); color: #fff; transform: rotate(90deg); }
.mobile-drawer-close svg { width: 17px; height: 17px; }

.mobile-drawer-body {
  padding: 10px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
}

.mobile-drawer-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 14px 12px 6px;
}

.mobile-nav-ico {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg-tint);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.mobile-nav-ico svg { width: 16px; height: 16px; }

.mobile-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.mobile-nav-link:hover, .mobile-nav-link:active { background: var(--bg-tint); }
.mobile-nav-link:hover .mobile-nav-ico { background: #eef1f6; }
.mobile-nav-link.active { background: var(--bg-tint); color: var(--navy); }
.mobile-nav-link.active .mobile-nav-ico { background: var(--navy); color: #fff; }
.mobile-nav-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--red);
}

.mobile-nav-accordion { border-radius: 12px; overflow: hidden; }

.mobile-nav-accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 14px;
  border-radius: 12px;
  border: none;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1px;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease;
}
.mobile-nav-accordion-toggle:hover { background: var(--bg-tint); }
.mobile-nav-accordion-toggle:hover .mobile-nav-ico { background: #eef1f6; }
.mobile-nav-accordion-toggle span { flex: 1 1 auto; text-align: left; }
.mobile-nav-accordion-toggle .chev { width: 12px; height: 12px; flex: 0 0 auto; color: var(--ink-soft); transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.mobile-nav-accordion.is-open .mobile-nav-accordion-toggle .chev { transform: rotate(180deg); }
.mobile-nav-accordion.is-open .mobile-nav-accordion-toggle { background: var(--bg-tint); }
.mobile-nav-accordion.is-open .mobile-nav-accordion-toggle .mobile-nav-ico { background: var(--navy); color: #fff; }

.mobile-nav-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding-left: 12px;
  display: flex;
  flex-direction: column;
}
.mobile-nav-accordion.is-open .mobile-nav-accordion-panel { max-height: 280px; }

.mobile-nav-accordion-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.mobile-nav-accordion-panel a svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--ink-soft); }
.mobile-nav-accordion-panel a:hover { background: var(--bg-tint); color: var(--navy); }
.mobile-nav-accordion-panel a:hover svg { color: var(--navy); }

.mobile-drawer-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  margin: 0 0 14px;
  background: var(--bg-tint);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s ease;
}
.mobile-drawer-contact:hover { background: #eef1f6; }
.mobile-drawer-contact-ico {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-drawer-contact-ico svg { width: 16px; height: 16px; }
.mobile-drawer-contact-text { display: flex; flex-direction: column; gap: 1px; }
.mobile-drawer-contact-text strong {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
}
.mobile-drawer-contact-text span { font-size: 14.5px; font-weight: 700; color: var(--navy); }

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px 22px;
  border-top: 1px solid var(--line);
  flex: 0 0 auto;
}
.mobile-drawer-actions .btn { justify-content: center; width: 100%; }

.mobile-drawer-body > * { opacity: 0; transform: translateX(14px); }
.mobile-drawer.is-open .mobile-drawer-body > * {
  animation: mobileNavItemIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.mobile-drawer.is-open .mobile-drawer-body > *:nth-child(1) { animation-delay: 0.05s; }
.mobile-drawer.is-open .mobile-drawer-body > *:nth-child(2) { animation-delay: 0.09s; }
.mobile-drawer.is-open .mobile-drawer-body > *:nth-child(3) { animation-delay: 0.13s; }
.mobile-drawer.is-open .mobile-drawer-body > *:nth-child(4) { animation-delay: 0.17s; }
.mobile-drawer.is-open .mobile-drawer-body > *:nth-child(5) { animation-delay: 0.21s; }
.mobile-drawer.is-open .mobile-drawer-body > *:nth-child(6) { animation-delay: 0.25s; }
.mobile-drawer.is-open .mobile-drawer-body > *:nth-child(7) { animation-delay: 0.29s; }
@keyframes mobileNavItemIn { to { opacity: 1; transform: translateX(0); } }

body.mobile-nav-open { overflow: hidden; }

/* ===== Shared entrance/scroll animation ===== */
.fade-up {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
}

.reveal-up.in-view {
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ===== Page hero (interior pages) ===== */
.page-hero {
  position: relative;
  background: var(--navy);
  background-image: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 70px 0 56px;
  overflow: hidden;
  text-align: center;
}

.page-hero-glow {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 380px;
  background: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.2) 0%, rgba(220, 38, 38, 0.05) 45%, transparent 70%);
  pointer-events: none;
}

.page-hero .eyebrow {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--sky);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.page-hero .lead {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1.65;
  color: var(--sky);
  margin: 0 auto;
  max-width: 560px;
}

.page-hero .crumbs {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 14px;
}
.page-hero .crumbs a { color: rgba(255,255,255,0.8); text-decoration: none; }
.page-hero .crumbs a:hover { text-decoration: underline; }

/* ===== Section header ===== */
.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 46px;
}

.section-head .kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red-deep);
  display: block;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.4px;
}

.section-head p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}

/* ===== Footer ===== */
footer {
  position: relative;
  background:
    radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px) 0 0/24px 24px,
    var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 68px 0 28px;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 50%, transparent 100%);
}

footer::after {
  content: "";
  position: absolute;
  bottom: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(220,38,38,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.foot-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.8fr 0.8fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.foot-grid.foot-grid-3col {
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
}

.foot-grid.foot-grid-5col {
  grid-template-columns: 1.15fr 0.8fr 0.75fr 0.8fr 1fr;
}

.foot-brand {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.foot-brand img {
  height: 24px;
  width: auto;
  display: block;
}

.foot-grid > div > p {
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 250px;
  color: rgba(255,255,255,0.55);
}

.foot-rating {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 7px 13px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
}
.foot-rating svg { width: 13px; height: 13px; color: var(--red); }
.foot-rating span { font-weight: 600; color: rgba(255,255,255,0.55); }

.foot-col h5 {
  position: relative;
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 18px;
  padding-left: 13px;
}
.foot-col h5::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
}

.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.foot-col a {
  display: inline-flex;
  text-decoration: none;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  transition: color 0.2s ease, transform 0.2s ease;
}
.foot-col a:hover { color: #fff; transform: translateX(3px); }

.foot-col .reach-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot-col .reach-item a { transition: color 0.2s ease; }
.foot-col .reach-item a:hover { transform: none; }

.reach-ico {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.reach-ico svg {
  width: 14px;
  height: 14px;
  color: #f87171;
}
.reach-item:hover .reach-ico {
  background: var(--red);
  border-color: var(--red);
}
.reach-item:hover .reach-ico svg { color: #fff; }

.foot-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}
.foot-bottom > span:not(:last-of-type)::after {
  content: "•";
  margin-left: 12px;
  color: rgba(255,255,255,0.2);
}

.foot-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.65);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.foot-to-top svg { width: 12px; height: 12px; transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1); }
.foot-to-top:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
.foot-to-top:hover svg { transform: translateY(-2px); }

/* ==========================================================================
   Shared components — reused across home, employer, and jobseeker pages.
   Keep these here, not in a page's @push('styles'), or they silently
   won't apply anywhere else that reuses the same markup.
   ========================================================================== */

/* ===== Services — asymmetric bento grid ===== */
.services {
  padding: 90px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(220,38,38,0.16), transparent 70%);
  pointer-events: none;
}

.services .section-head .kicker { color: #fca5a5; }
.services .section-head h2 { color: #fff; }
.services .section-head p { color: var(--sky); }

.service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 18px;
}

.service-card {
  grid-column: span 3;
  grid-row: span 1;
  border-radius: 16px;
  padding: 28px 26px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  opacity: 0;
  transform: translateY(20px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:nth-child(1) { grid-column: 1 / 4; grid-row: 1; background: linear-gradient(150deg, var(--red) 0%, var(--red-deep) 100%); }
.service-card:nth-child(2) { grid-column: 1 / 4; grid-row: 2 / 4; background: linear-gradient(150deg, #2c4166 0%, var(--navy) 100%); }
.service-card:nth-child(3) { grid-column: 4 / 7; grid-row: 2 / 4; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%); }
.service-card:nth-child(4) { grid-column: 4 / 7; grid-row: 1; background: linear-gradient(135deg, var(--red-deep) 0%, var(--navy-deep) 100%); }

.service-card.in-view {
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.service-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card .icon svg { width: 22px; height: 22px; }

.service-card:hover .icon {
  transform: scale(1.14) rotate(-6deg);
  background: rgba(255,255,255,0.28);
}

.service-card.in-view .icon {
  animation: iconPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes iconPop {
  from { transform: scale(0.4) rotate(-12deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}

.service-card .cities {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.service-card h4 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
}

.service-card:nth-child(2) h4, .service-card:nth-child(3) h4 { font-size: 23px; }

.service-features { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.service-features li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: rgba(255,255,255,0.88); }
.service-features li svg { width: 15px; height: 15px; color: rgba(255,255,255,0.9); flex: 0 0 auto; }

.service-card p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
  margin: 0;
}

/* ===== Sectors ===== */
.sectors {
  background: var(--bg-tint);
  padding: 80px 0;
}

.sector-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 880px;
  margin: 0 auto;
}

.sector-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: box-shadow 0.25s ease, transform 0.25s ease, filter 0.25s ease;
  cursor: default;
}

.sector-chip svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.sector-chip:hover svg { transform: scale(1.15) rotate(-8deg); }

.sector-chip.in-view {
  animation: chipPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes chipPop {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.sector-chip:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 18px rgba(16, 29, 51, 0.16);
  transform: translateY(-3px) scale(1.04);
}

.sector-chip.c1 { background: #fee2e2; color: var(--red-deep); }
.sector-chip.c2 { background: #e6eaf2; color: var(--navy); }
.sector-chip.c3 { background: #fecaca; color: var(--red-deep); }
.sector-chip.c4 { background: #d7deeb; color: var(--navy-deep); }
.sector-chip.c5 { background: var(--red); color: #fff; }

/* ===== Career + pricing comparison ===== */
.career-section {
  padding: 80px 0;
}

.career-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.career-copy .kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  display: block;
  margin-bottom: 12px;
}

.career-copy h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.4px;
}

.career-copy p.desc {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 26px;
}

.career-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.career-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.career-point .check {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fee2e2;
  color: var(--red-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.career-point p {
  font-size: 14.5px;
  color: var(--ink);
  margin: 0;
  line-height: 1.5;
}

.career-point strong { font-weight: 700; }

.price-compare {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-card {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(165deg, #eef2ff 0%, #ffffff 55%);
}

.price-card.in-view { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.price-card:nth-child(2) { animation-delay: 0.12s; }

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(16, 29, 51, 0.1);
}

.price-card.featured {
  border-color: var(--red);
  box-shadow: 0 10px 26px rgba(220, 38, 38, 0.14);
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #fff1f2 0%, #ffffff 55%);
}

.price-card.featured::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(220,38,38,0.08), transparent);
  pointer-events: none;
}

.price-card.featured.in-view::after {
  animation: shimmerSweep 1.4s ease 0.6s 1;
}

@keyframes shimmerSweep {
  to { left: 130%; }
}

.price-card .badge-pop {
  position: absolute;
  top: -12px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(220,38,38,0.35);
}
.price-card .badge-pop svg { width: 11px; height: 11px; }

.price-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}

.price-card-head h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
}

.price-tag { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.price-tag .amt { font-size: 38px; font-weight: 800; color: var(--ink); letter-spacing: -1px; }
.price-tag .per { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.price-card.featured .price-tag .amt { color: var(--red-deep); }

.price-equiv {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--red-deep);
  background: #fee2e2;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0 0 18px;
}
.price-card:not(.featured) .price-equiv { color: var(--navy); background: var(--bg-tint); }

.price-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.price-list li {
  font-size: 13.5px;
  color: var(--ink-soft);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.price-list li::before {
  content: "✓";
  color: var(--red);
  font-weight: 700;
  flex: 0 0 auto;
}

/* ===== Registration forms (Free / Student / Special) ===== */
.reg-section {
  background: var(--bg-tint);
  padding: 70px 0 90px;
}

.reg-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.reg-trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-bottom: 34px;
}
.reg-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.reg-trust-item svg { width: 16px; height: 16px; color: var(--red); flex: 0 0 auto; }

.reg-card {
  background: var(--paper);
  border-radius: 20px;
  padding: 42px 40px;
  box-shadow: 0 24px 60px rgba(16, 29, 51, 0.1);
}

.reg-card-head { text-align: center; margin-bottom: 30px; }
.reg-card-head h3 { font-size: 22px; font-weight: 800; color: var(--ink); margin: 0 0 8px; letter-spacing: -0.3px; }
.reg-card-head p { font-size: 14px; color: var(--ink-soft); margin: 0; }

.reg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.reg-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--ink);
  margin-bottom: 7px;
}

.reg-field .reg-input-wrap { position: relative; }

.reg-field .reg-input-wrap > svg.reg-ico {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
  pointer-events: none;
}

.reg-field input,
.reg-field select {
  width: 100%;
  padding: 12px 14px 12px 38px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-tint);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.reg-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 34px;
  cursor: pointer;
}

.reg-field .reg-chevron {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--ink-soft);
  pointer-events: none;
}

.reg-field input:focus,
.reg-field select:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(220,38,38,0.1);
}

.reg-field .reg-input-wrap:has(input:focus) svg.reg-ico,
.reg-field .reg-input-wrap:has(select:focus) svg.reg-ico {
  color: var(--red);
}

.reg-file-wrap {
  position: relative;
  border: 1.5px dashed var(--line);
  border-radius: 9px;
  background: var(--bg-tint);
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.reg-file-wrap:has(input:focus) { border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(220,38,38,0.1); }
.reg-file-wrap .reg-file-ico {
  width: 36px; height: 36px; border-radius: 9px; flex: 0 0 auto;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.reg-file-wrap .reg-file-ico svg { width: 17px; height: 17px; }
.reg-file-wrap .reg-file-text { flex: 1; min-width: 0; }
.reg-file-wrap .reg-file-text strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.reg-file-wrap .reg-file-text span { display: block; font-size: 11.5px; color: var(--ink-soft); margin-top: 2px; }
.reg-file-wrap input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}

.reg-submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

.reg-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  text-align: center;
  margin: 16px 0 0;
}

.reg-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 20px;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.reg-divider::before,
.reg-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.reg-google-btn {
  width: 100%;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.reg-google-btn:hover { background: var(--bg-tint); box-shadow: 0 8px 18px rgba(16,29,51,0.1); }
.reg-google-mark {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; flex: 0 0 auto;
}

@media (max-width: 900px) {
  .topnav, .nav-actions { display: none; }
  .mobile-nav-toggle { display: block; }
  .foot-grid, .foot-grid.foot-grid-3col, .foot-grid.foot-grid-5col { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 27px; }
  .page-hero { padding: 56px 0 44px; }
  .service-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .service-card, .service-card:nth-child(1), .service-card:nth-child(2), .service-card:nth-child(3), .service-card:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 170px;
  }
  .career-grid { grid-template-columns: 1fr; }
  .career-copy h2 { font-size: 25px; }
  .reg-row { grid-template-columns: 1fr; gap: 0; }
  .reg-card { padding: 30px 24px; }
}

@media (max-width: 600px) {
  footer { padding: 48px 0 96px; }
  .foot-grid, .foot-grid.foot-grid-3col, .foot-grid.foot-grid-5col { grid-template-columns: 1fr; gap: 34px; }
  .foot-grid > div > p { max-width: 100%; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot-bottom > span:not(:last-of-type)::after { content: none; }
  .foot-to-top { align-self: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up, .reveal-up, .service-card, .sector-chip, .price-card, .service-card .icon, .price-card.featured::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .service-card:hover, .service-card:hover .icon, .sector-chip:hover, .price-card:hover {
    transform: none !important;
  }
  .btn:hover, .btn:active { transform: none !important; }
  .btn-outline::before, .btn-ghost-light::before { transition: none !important; }
  .mobile-drawer-body > * { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Google Map embed — shared by the employer and jobseeker contact pages.
   ========================================================================== */
.map-section { max-width: 1080px; margin: 0 auto; }
.map-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.map-eyebrow {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.map-head p { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0; max-width: 480px; line-height: 1.5; }
.map-embed {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(16,29,51,0.08);
}
.map-embed iframe { width: 100%; height: 380px; display: block; border: 0; }
@media (max-width: 640px) {
  .map-embed iframe { height: 280px; }
  .map-head { align-items: flex-start; }
}

/* ==========================================================================
   Policy / legal content pages — shared by every terms/privacy/refund/
   pricing/cancellation page on both the employer and jobseeker side.
   ========================================================================== */
.policy-section { padding: 70px 0 100px; }
.policy-layout { display: grid; grid-template-columns: 240px 1fr; gap: 54px; align-items: start; }

.policy-toc {
  position: sticky;
  top: 24px;
  background: var(--bg-tint);
  border-radius: 14px;
  padding: 22px 20px;
}
.policy-toc h5 { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--ink-soft); margin: 0 0 14px; }
.policy-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.policy-toc a { text-decoration: none; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); transition: color 0.2s ease; }
.policy-toc a:hover { color: var(--red-deep); }
.policy-toc .policy-updated { font-size: 12px; color: var(--ink-soft); margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); line-height: 1.6; }

.policy-body { max-width: 720px; }
.policy-body h2 { font-size: 20px; font-weight: 800; color: var(--navy); margin: 42px 0 14px; scroll-margin-top: 24px; }
.policy-body h2:first-child { margin-top: 0; }
.policy-body p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.8; margin: 0 0 16px; }
.policy-body ul { margin: 0 0 16px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.policy-body li { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; }
.policy-body strong { color: var(--ink); }
.policy-body a { color: var(--red-deep); font-weight: 600; text-decoration: none; }
.policy-body a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc { position: static; }
}
