/* ============================================================
   Precise Talent Solutions — Main Stylesheet
   Color Palette: #1A1A1A | #4A4A4A | #9A9A9A | #F5F5F5
   Mobile-First, WCAG 2.1 AA
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --c-black:   #1A1A1A;
  --c-dark:    #4A4A4A;
  --c-mid:     #9A9A9A;
  --c-light:   #F5F5F5;
  --c-white:   #FFFFFF;
  --c-border:  #E0E0E0;
  --c-accent:  #2C2C2C;

  --ff-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.25rem;
  --fs-3xl:  3rem;
  --fs-4xl:  3.75rem;

  --fw-light:   300;
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semi:    600;
  --fw-bold:    700;
  --fw-black:   800;

  --lh-tight:  1.2;
  --lh-snug:   1.4;
  --lh-base:   1.6;
  --lh-loose:  1.8;

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.08);

  --transition: 0.25s ease;
  --transition-slow: 0.45s ease;

  --nav-height: 70px;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-base);
  color: var(--c-black);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Skip to Content (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 9999;
  padding: var(--space-2) var(--space-4);
  background: var(--c-black);
  color: var(--c-white);
  font-weight: var(--fw-semi);
  font-size: var(--fs-sm);
  border-radius: var(--radius-md);
  transition: top var(--transition);
}
.skip-link:focus { top: var(--space-4); outline: 3px solid var(--c-mid); outline-offset: 2px; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* --- Section --- */
.section {
  padding: var(--space-16) 0;
}
.section--light { background: var(--c-light); }
.section--dark  { background: var(--c-black); color: var(--c-white); }
.section--mid   { background: var(--c-dark);  color: var(--c-white); }

.section__label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-mid);
  margin-bottom: var(--space-3);
}
.section--dark .section__label,
.section--mid  .section__label { color: var(--c-mid); }

.section__heading {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  color: var(--c-black);
  margin-bottom: var(--space-4);
}
.section--dark .section__heading,
.section--mid  .section__heading { color: var(--c-white); }

.section__subheading {
  font-size: var(--fs-md);
  color: var(--c-dark);
  line-height: var(--lh-loose);
  max-width: 640px;
}
.section--dark .section__subheading,
.section--mid  .section__subheading { color: var(--c-mid); }

.section__header { margin-bottom: var(--space-12); }
.section__header--center { text-align: center; }
.section__header--center .section__subheading { margin: 0 auto; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); }
h6 { font-size: var(--fs-base); }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem var(--space-8);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  min-height: 48px;
  white-space: nowrap;
  cursor: pointer;
}
.btn:focus-visible {
  outline: 3px solid var(--c-mid);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--c-black);
  color: var(--c-white);
  border: 2px solid var(--c-black);
}
.btn--primary:hover {
  background: var(--c-dark);
  border-color: var(--c-dark);
}

.btn--outline {
  background: transparent;
  color: var(--c-white);
  border: 2px solid var(--c-white);
}
.btn--outline:hover {
  background: var(--c-white);
  color: var(--c-black);
}

.btn--outline-dark {
  background: transparent;
  color: var(--c-black);
  border: 2px solid var(--c-black);
}
.btn--outline-dark:hover {
  background: var(--c-black);
  color: var(--c-white);
}

.btn--lg {
  padding: 1rem var(--space-10);
  font-size: var(--fs-base);
  min-height: 56px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: background var(--transition-slow), box-shadow var(--transition-slow);
}
.nav.scrolled {
  background: rgba(26, 26, 26, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}
.nav__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.nav__logo-mark svg { width: 20px; height: 20px; }
.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav__logo-name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  color: var(--c-white);
  text-transform: uppercase;
}
.nav__logo-tagline {
  font-size: var(--fs-xs);
  color: var(--c-mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-8);
}
.nav__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
  padding: var(--space-2) 0;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-white);
  transition: width var(--transition);
}
.nav__link:hover { color: var(--c-white); }
.nav__link:hover::after { width: 100%; }
.nav__link:focus-visible { outline: 2px solid var(--c-mid); outline-offset: 4px; border-radius: 2px; }

.nav__cta {
  display: none;
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav__toggle:hover { background: rgba(255,255,255,0.1); }
.nav__toggle:focus-visible { outline: 2px solid var(--c-mid); outline-offset: 2px; }
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.nav__mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-6) var(--space-6) var(--space-8);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nav__mobile.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-6);
}
.nav__mobile-link {
  display: block;
  padding: var(--space-3) var(--space-2);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition), padding-left var(--transition);
}
.nav__mobile-link:hover {
  color: var(--c-white);
  padding-left: var(--space-4);
}
.nav__mobile-link:focus-visible { outline: 2px solid var(--c-mid); outline-offset: 2px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-black);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,26,26,0.92) 0%,
    rgba(26,26,26,0.70) 60%,
    rgba(26,26,26,0.50) 100%
  );
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-height);
  padding-bottom: var(--space-20);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-mid);
  margin-bottom: var(--space-6);
}
.hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--c-mid);
}
.hero__title {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  color: var(--c-white);
  margin-bottom: var(--space-6);
  max-width: 800px;
}
.hero__title span {
  color: var(--c-mid);
}
.hero__description {
  font-size: clamp(var(--fs-base), 2vw, var(--fs-lg));
  line-height: var(--lh-loose);
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: var(--space-10);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-top: var(--space-16);
  padding-top: var(--space-10);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero__stat-value {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  color: var(--c-white);
  line-height: 1;
}
.hero__stat-label {
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-mid);
  margin-top: var(--space-1);
}
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  opacity: 0.5;
  animation: bounce 2s infinite;
}
.hero__scroll span {
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-white);
}
.hero__scroll svg { color: var(--c-white); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about__grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
.about__image-wrap {
  position: relative;
}
.about__image {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about__image-accent {
  position: absolute;
  bottom: -var(--space-4);
  right: -var(--space-4);
  width: 120px;
  height: 120px;
  background: var(--c-light);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about__badge {
  position: absolute;
  top: var(--space-6);
  left: var(--space-6);
  background: var(--c-black);
  color: var(--c-white);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about__badge-number {
  display: block;
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  line-height: 1;
}
.about__badge-text {
  font-size: var(--fs-xs);
  color: var(--c-mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}
.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.about__value {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.about__value-icon {
  width: 36px;
  height: 36px;
  background: var(--c-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about__value-icon svg { width: 18px; height: 18px; color: var(--c-black); }
.about__value-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--c-black);
  line-height: 1.3;
}
.about__value-desc {
  font-size: var(--fs-xs);
  color: var(--c-dark);
  margin-top: 2px;
  line-height: var(--lh-base);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services__grid {
  display: grid;
  gap: var(--space-6);
}
.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--c-black);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--c-black);
}
.service-card:hover::before { transform: scaleY(1); }
.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--c-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  transition: background var(--transition);
}
.service-card:hover .service-card__icon { background: var(--c-black); }
.service-card__icon svg { width: 26px; height: 26px; color: var(--c-black); transition: color var(--transition); }
.service-card:hover .service-card__icon svg { color: var(--c-white); }
.service-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-black);
  margin-bottom: var(--space-3);
}
.service-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-dark);
  line-height: var(--lh-loose);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why__grid {
  display: grid;
  gap: var(--space-8);
}
.why-item {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}
.why-item__number {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
  color: rgba(255,255,255,0.08);
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
  text-align: right;
}
.why-item__content {}
.why-item__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  margin-bottom: var(--space-2);
}
.why-item__desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.65);
  line-height: var(--lh-loose);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--c-light);
  overflow: hidden;
}
.testimonial-slider {
  position: relative;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 var(--space-2);
}
.testimonial-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  position: relative;
}
.testimonial-card__quote {
  font-size: 64px;
  line-height: 1;
  color: var(--c-light);
  font-family: Georgia, serif;
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  user-select: none;
}
.testimonial-card__text {
  font-size: var(--fs-md);
  line-height: var(--lh-loose);
  color: var(--c-dark);
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
  padding-top: var(--space-6);
  font-style: italic;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  background: var(--c-black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  flex-shrink: 0;
}
.testimonial-card__name {
  font-weight: var(--fw-semi);
  font-size: var(--fs-base);
  color: var(--c-black);
}
.testimonial-card__role {
  font-size: var(--fs-sm);
  color: var(--c-mid);
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-4);
}
.testimonial-stars svg { width: 16px; height: 16px; color: var(--c-black); }

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--c-black);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-black);
  transition: all var(--transition);
  cursor: pointer;
}
.testimonial-btn:hover { background: var(--c-black); color: var(--c-white); }
.testimonial-btn:focus-visible { outline: 3px solid var(--c-mid); outline-offset: 3px; }
.testimonial-btn svg { width: 18px; height: 18px; }
.testimonial-dots {
  display: flex;
  gap: var(--space-2);
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-mid);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.testimonial-dot.active {
  background: var(--c-black);
  width: 24px;
  border-radius: 4px;
}
.testimonial-dot:focus-visible { outline: 2px solid var(--c-black); outline-offset: 2px; }

/* ============================================================
   CAREERS CTA
   ============================================================ */
.careers-cta {
  background: var(--c-black);
  color: var(--c-white);
  text-align: center;
  padding: var(--space-24) 0;
  position: relative;
  overflow: hidden;
}
.careers-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(74,74,74,0.3) 0%, transparent 60%);
  pointer-events: none;
}
.careers-cta__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-mid);
  margin-bottom: var(--space-4);
}
.careers-cta__title {
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl));
  font-weight: var(--fw-black);
  color: var(--c-white);
  margin-bottom: var(--space-4);
}
.careers-cta__desc {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto var(--space-8);
  line-height: var(--lh-loose);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact__grid {
  display: grid;
  gap: var(--space-12);
}
.contact__info {}
.contact__item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--c-border);
}
.contact__item:last-child { border-bottom: none; }
.contact__item-icon {
  width: 44px;
  height: 44px;
  background: var(--c-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact__item-icon svg { width: 20px; height: 20px; color: var(--c-black); }
.contact__item-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-mid);
  margin-bottom: 3px;
}
.contact__item-value {
  font-size: var(--fs-base);
  color: var(--c-black);
  font-weight: var(--fw-medium);
}
.contact__item-value a { transition: color var(--transition); }
.contact__item-value a:hover { color: var(--c-dark); text-decoration: underline; }

/* ============================================================
   FORMS
   ============================================================ */
.form { width: 100%; }
.form-group {
  margin-bottom: var(--space-5);
}
.form-row {
  display: grid;
  gap: var(--space-5);
}
.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--c-black);
  margin-bottom: var(--space-2);
}
.form-label .required {
  color: #CC0000;
  margin-left: 3px;
}
.form-control {
  width: 100%;
  padding: 0.75rem var(--space-4);
  font-size: var(--fs-base);
  color: var(--c-black);
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 48px;
  -webkit-appearance: none;
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--c-black);
  box-shadow: 0 0 0 3px rgba(26,26,26,0.08);
}
.form-control::placeholder { color: var(--c-mid); }
.form-control.error { border-color: #CC0000; }
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A4A4A' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
  cursor: pointer;
}

.form-check {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--c-black);
  cursor: pointer;
}
.form-check label {
  font-size: var(--fs-sm);
  color: var(--c-dark);
  line-height: var(--lh-base);
  cursor: pointer;
}
.form-check label a { text-decoration: underline; }
.form-check label a:hover { color: var(--c-black); }

.form-field-error {
  font-size: var(--fs-xs);
  color: #CC0000;
  margin-top: var(--space-1);
  display: none;
}
.form-field-error.visible { display: block; }

.form-message {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  display: none;
  margin-bottom: var(--space-5);
}
.form-message.success {
  display: block;
  background: rgba(0, 120, 0, 0.08);
  border: 1px solid rgba(0, 120, 0, 0.3);
  color: #006000;
}
.form-message.error {
  display: block;
  background: rgba(200, 0, 0, 0.06);
  border: 1px solid rgba(200, 0, 0, 0.25);
  color: #AA0000;
}

.file-upload-wrap {
  position: relative;
}
.file-upload-label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.75rem var(--space-4);
  border: 1.5px dashed var(--c-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  background: var(--c-white);
}
.file-upload-label:hover {
  border-color: var(--c-black);
  background: var(--c-light);
}
.file-upload-label svg { width: 20px; height: 20px; color: var(--c-mid); flex-shrink: 0; }
.file-upload-text { font-size: var(--fs-sm); color: var(--c-dark); }
.file-upload-text span { color: var(--c-mid); font-size: var(--fs-xs); display: block; margin-top: 2px; }
input[type="file"] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.file-name-display { font-size: var(--fs-xs); color: var(--c-dark); margin-top: var(--space-2); display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--c-black);
  color: var(--c-white);
  padding: var(--space-16) 0 0;
}
.footer__grid {
  display: grid;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand {}
.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.footer__logo-mark {
  width: 40px;
  height: 40px;
  background: var(--c-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer__logo-mark svg { width: 22px; height: 22px; }
.footer__logo-name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-white);
}
.footer__desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.55);
  line-height: var(--lh-loose);
  max-width: 320px;
}
.footer__col-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-mid);
  margin-bottom: var(--space-5);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__link {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.footer__link:hover { color: var(--c-white); }
.footer__link:focus-visible { outline: 2px solid var(--c-mid); outline-offset: 2px; border-radius: 2px; }
.footer__contact-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: var(--space-3);
}
.footer__contact-item svg { width: 16px; height: 16px; color: var(--c-mid); flex-shrink: 0; margin-top: 3px; }
.footer__contact-text {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.65);
  line-height: var(--lh-snug);
}
.footer__contact-text a { transition: color var(--transition); }
.footer__contact-text a:hover { color: var(--c-white); }
.footer__bottom {
  padding: var(--space-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  text-align: center;
}
.footer__copy {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}
.footer__legal a {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer__legal a:hover { color: rgba(255,255,255,0.8); }
.footer__legal a:focus-visible { outline: 2px solid var(--c-mid); border-radius: 2px; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 500;
  width: 44px;
  height: 44px;
  background: var(--c-black);
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--c-dark); transform: translateY(-2px); }
.back-to-top:focus-visible { outline: 3px solid var(--c-mid); outline-offset: 3px; }
.back-to-top svg { width: 18px; height: 18px; }

/* ============================================================
   INNER PAGE HERO (privacy, terms, apply)
   ============================================================ */
.page-hero {
  background: var(--c-black);
  padding: calc(var(--nav-height) + var(--space-16)) 0 var(--space-16);
}
.page-hero__eyebrow {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-mid);
  margin-bottom: var(--space-3);
}
.page-hero__title {
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl));
  font-weight: var(--fw-black);
  color: var(--c-white);
  margin-bottom: var(--space-3);
}
.page-hero__desc {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-4) 0;
  margin-bottom: var(--space-8);
  font-size: var(--fs-sm);
  color: var(--c-mid);
  border-bottom: 1px solid var(--c-border);
}
.breadcrumb a {
  color: var(--c-dark);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--c-black); text-decoration: underline; }
.breadcrumb a:focus-visible { outline: 2px solid var(--c-black); border-radius: 2px; }
.breadcrumb__separator { color: var(--c-border); }

/* ============================================================
   LEGAL PAGES (Privacy, Terms)
   ============================================================ */
.legal-content {
  max-width: 800px;
}
.legal-content h2 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--c-black);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--c-border);
}
.legal-content h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.legal-content h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semi);
  color: var(--c-black);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}
.legal-content p {
  font-size: var(--fs-base);
  color: var(--c-dark);
  line-height: var(--lh-loose);
  margin-bottom: var(--space-4);
}
.legal-content ul {
  list-style: disc;
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}
.legal-content ul li {
  font-size: var(--fs-base);
  color: var(--c-dark);
  line-height: var(--lh-loose);
  margin-bottom: var(--space-2);
}
.legal-content .last-updated {
  font-size: var(--fs-sm);
  color: var(--c-mid);
  margin-bottom: var(--space-8);
  padding: var(--space-3) var(--space-4);
  background: var(--c-light);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--c-black);
}

/* ============================================================
   APPLICATION PAGE
   ============================================================ */
.apply-intro {
  background: var(--c-light);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-8);
}
.apply-intro h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-3);
}
.apply-intro p {
  font-size: var(--fs-sm);
  color: var(--c-dark);
  line-height: var(--lh-loose);
}
.form-section-title {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--c-black);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--c-black);
  margin-bottom: var(--space-5);
  margin-top: var(--space-8);
}
.form-section-title:first-child { margin-top: 0; }

/* ============================================================
   404 PAGE
   ============================================================ */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-black);
  text-align: center;
  padding: var(--space-8);
}
.page-404__inner {
  max-width: 500px;
}
.page-404__number {
  font-size: clamp(6rem, 20vw, 10rem);
  font-weight: var(--fw-black);
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: var(--space-2);
  user-select: none;
}
.page-404__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  margin-bottom: var(--space-4);
}
.page-404__desc {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.6);
  line-height: var(--lh-loose);
  margin-bottom: var(--space-8);
}
.page-404__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.w-full { width: 100%; }

/* Loading spinner */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.75;
}
.btn-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Divider */
.divider {
  height: 1px;
  background: var(--c-border);
  margin: var(--space-8) 0;
}

/* ============================================================
   RESPONSIVE — Tablet (768px+)
   ============================================================ */
@media (min-width: 768px) {
  .container { padding: 0 var(--space-8); }

  .nav__links { display: flex; }
  .nav__cta { display: flex; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none; }

  .section { padding: var(--space-20) 0; }

  .hero__stats { gap: var(--space-16); }

  .about__grid {
    grid-template-columns: 1fr 1fr;
  }
  .about__image { height: 440px; }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__grid {
    grid-template-columns: 1fr 1.5fr;
  }

  .form-row { grid-template-columns: 1fr 1fr; }

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .testimonial-slide { padding: 0 var(--space-4); }
}

/* ============================================================
   RESPONSIVE — Desktop (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  :root { --nav-height: 76px; }

  .container { padding: 0 var(--space-10); }
  .section { padding: var(--space-24) 0; }

  .services__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .why__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-12);
  }
}

/* ============================================================
   RESPONSIVE — Wide (1280px+)
   ============================================================ */
@media (min-width: 1280px) {
  .container { padding: 0 var(--space-12); }
}

/* ============================================================
   PRINT STYLESHEET
   ============================================================ */
@media print {
  .nav,
  .nav__mobile,
  .back-to-top,
  .hero__scroll,
  .careers-cta,
  .testimonials,
  .footer,
  .form,
  .btn { display: none !important; }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    padding: 2cm 0 1cm;
    background: #fff !important;
    color: #000 !important;
  }
  .hero__bg, .hero__overlay { display: none !important; }
  .hero__title, .hero__description { color: #000 !important; }

  .section { padding: 1cm 0; }
  .container { max-width: 100%; padding: 0; }

  h1, h2, h3 { page-break-after: avoid; }
  p, li { orphans: 3; widows: 3; }

  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }

  img { max-width: 100% !important; }

  .legal-content h2 { border-top: 1pt solid #ccc; }
}
