/* HR Staffing - Main Stylesheet */
/* Color scheme from Hr-Staffing-Logo.png: teal/cyan + dark gray */

:root {
  /* Logo colors: teal/cyan primary, dark gray secondary */
  --primary: #00ACAC;
  --primary-dark: #009B9B;
  --primary-bg: #0a2e2e;
  --primary-bg-dark: #061f1f;
  --accent: #00BFBF;
  --accent-hover: #00ACAC;
  --secondary: #666666;
  --light: #f5f7fa;
  --white: #ffffff;
  --text: #2c3e50;
  --text-muted: #6c757d;
  --border: #dee2e6;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Mobile: prevent horizontal overflow */
main {
  overflow-x: hidden;
  min-width: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Header wrapper (top bar + header) */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* Top bar */
.top-bar {
  background: var(--accent);
  color: var(--primary-bg);
  padding: 0.4rem 0;
  padding-top: calc(0.4rem + env(safe-area-inset-top));
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-link {
  color: var(--primary-bg);
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.top-bar-link:hover {
  opacity: 1;
  color: var(--primary-bg-dark);
}

.top-bar-hours {
  opacity: 0.9;
}

.top-bar-apply {
  background: var(--primary-bg);
  color: var(--white) !important;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.top-bar-apply:hover {
  background: var(--primary-bg-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Header - light bg, dark text */
.header {
  background: var(--white);
  color: var(--text);
  padding: 0.85rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: padding 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 3px solid transparent;
}

.header-wrapper.scrolled .header {
  padding: 0.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-bottom-color: var(--accent);
}

.header-wrapper.scrolled .top-bar {
  padding: 0.25rem 0;
  padding-top: calc(0.25rem + env(safe-area-inset-top));
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-bg);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.logo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.logo span {
  color: var(--primary);
  margin-left: 0.15rem;
}

/* Logo image (from Hr-Staffing-Logo.png) */
.logo {
  flex-shrink: 0;
}
.logo-img {
  height: 42px;
  width: auto;
  min-width: 0;
  max-width: 220px;
  display: block;
  object-fit: contain;
}
.logo .logo-img {
  margin: 0;
}
.footer-logo .logo-img {
  height: 38px;
  margin-bottom: 0.5rem;
}

.nav ul {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  position: relative;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--primary-bg);
  background: rgba(0, 172, 172, 0.08);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
}

.btn-apply-nav {
  background: var(--accent);
  color: var(--primary-bg) !important;
  padding: 0.55rem 1.35rem !important;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-left: 0.5rem;
  box-shadow: 0 2px 12px rgba(0, 172, 172, 0.35);
}

.btn-apply-nav:hover {
  background: var(--accent-hover);
  color: var(--primary-bg) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 172, 172, 0.45);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-bg);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background 0.25s ease;
}

.menu-toggle:hover {
  background: rgba(0, 172, 172, 0.1);
}

/* Hero */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--primary-bg-dark) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7.5rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 46, 46, 0.88) 0%, rgba(6, 31, 31, 0.92) 100%);
  pointer-events: none;
}

/* Hero background: light gradient over image so image is visible; hero.jpg or fallback URL */
.hero.hero-with-image {
  background-image:
    linear-gradient(135deg, rgba(10, 46, 46, 0.55) 0%, rgba(6, 31, 31, 0.7) 100%),
    url('../images/hero.jpg'),
    url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
}

.hero.hero-with-image::before {
  display: none;
}

/* Overlay only when NO background image; when hero has image, gradient is in background-image above */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 46, 46, 0.75) 0%, rgba(6, 31, 31, 0.8) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero.hero-with-image .hero-overlay {
  display: none; /* image + gradient in background-image only, so image is visible */
}

.hero:not(.hero-with-image) .hero-overlay {
  display: block;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-bg);
  background: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero-title,
.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.0rem);
  color: var(--white);
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-title-accent {
  color: var(--accent);
}

.hero-tagline {
  font-size: 1.35rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.75rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto 1.75rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btn-hero {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.btn-hero-outline {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.7);
  animation: heroScrollBounce 2s ease-in-out infinite;
}

.hero-scroll-icon {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid currentColor;
  border-radius: 12px;
  position: relative;
}

.hero-scroll-icon::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: currentColor;
  border-radius: 2px;
  animation: heroScrollDot 2s ease-in-out infinite;
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

@keyframes heroScrollDot {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Hero entrance animations */
.animate-hero .hero-badge {
  animation: fadeInUp 0.7s ease-out forwards;
  opacity: 0;
}

.animate-hero .hero-title {
  animation: fadeInUp 0.8s ease-out 0.1s forwards;
  opacity: 0;
}

.animate-hero .hero-tagline {
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.animate-hero .hero-sub {
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

.animate-hero .hero-buttons {
  animation: fadeInUp 0.8s ease-out 0.45s forwards;
  opacity: 0;
}

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

/* Scroll-triggered animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.visible:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll.visible:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll.visible:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll.visible:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll.visible:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll.visible:nth-child(6) { transition-delay: 0.5s; }
.animate-on-scroll.visible:nth-child(7) { transition-delay: 0.6s; }
.animate-on-scroll.visible:nth-child(8) { transition-delay: 0.7s; }

/* Stats bar */
.stats-bar {
  background: var(--white);
  padding: 3rem 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 2;
  margin: -2rem auto 0;
  border-radius: 16px;
  max-width: 1200px;
}

.stats-bar .section {
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 0.5rem 0;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
  display: inline-block;
}

.stat-suffix {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-weight: 500;
}

/* Section banner images (home) */
.section-image-wrap,
.industries-image-wrap,
.testimonials-image-wrap {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 2rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.section-banner-img,
.industries-banner-img,
.testimonials-banner-img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  display: block;
}
.industries-image-wrap { margin-bottom: 1.5rem; }
.testimonials-image-wrap { max-height: 220px; }
.testimonials-banner-img { max-height: 200px; }

/* Pride section (two-column with image) */
.pride-section {
  background: var(--white);
}
.pride-section .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.pride-section .intro-image {
  order: 2;
}
.pride-section .section-intro {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

/* Get Started with background */
.get-started-with-bg {
  position: relative;
  overflow: hidden;
}
.get-started-bg {
  position: absolute;
  inset: 0;
  background: url('../images/workforce2.png') center/cover no-repeat;
  opacity: 0.2;
}
.get-started-content {
  position: relative;
  z-index: 1;
}

/* Why Choose / Features */
.why-choose {
  background: var(--light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 172, 172, 0.15);
  border-color: rgba(0, 172, 172, 0.3);
}

.feature-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
}

.feature-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Our Values (about page) */
.our-values {
  background: var(--light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--accent);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(232, 163, 23, 0.15);
  color: var(--accent);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Team section (about page) */
.team-section {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--light);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid transparent;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 172, 172, 0.3);
}

.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.team-name {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Industries */
.industries-section {
  background: var(--white);
}

.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.industry-tag {
  padding: 0.6rem 1.25rem;
  background: var(--light);
  color: var(--primary);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.industry-tag:hover {
  background: var(--accent);
  color: var(--primary-bg);
  transform: scale(1.05);
}

/* Quick jobs / Popular categories */
.quick-jobs {
  background: var(--light);
}

.quick-jobs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.quick-job-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 2px solid transparent;
  color: inherit;
}

.quick-job-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: var(--accent);
}

.quick-job-icon {
  font-size: 2.25rem;
  display: block;
  margin-bottom: 0.75rem;
}

.quick-job-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.quick-job-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Utilities */
.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: var(--text);
}

.text-center {
  text-align: center;
}

.section-cta {
  margin-top: 2rem;
}

.contact-card-btn {
  margin-top: 0.5rem;
  display: inline-block;
}

.contact-info-card a:not(.btn) {
  color: var(--primary);
  font-weight: 500;
}

.contact-info-card a:not(.btn):hover {
  color: var(--accent);
}

.btn-outline-dark {
  color: var(--primary);
  border: 2px solid var(--primary);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}

/* Button pulse */
.btn-pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 172, 172, 0.4); }
  50% { transform: scale(1.02); box-shadow: 0 0 0 12px rgba(0, 172, 172, 0); }
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  min-height: 44px;
  min-width: 44px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  line-height: 1.4;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-bg);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--primary-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,172,172,0.4);
}

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

.btn-outline:hover {
  background: var(--accent);
  color: var(--primary-bg);
}

/* Section common */
.section {
  padding: 4.5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Intro / Defining section */
.intro-section {
  background: var(--light);
}

.intro-section .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.intro-section h2 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.intro-section p {
  color: var(--text);
  margin-bottom: 1rem;
}

.intro-section .btn {
  margin-top: 0.5rem;
}

.intro-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--primary);
  min-height: 280px;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

/* Get Started */
.get-started {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 4rem 1.5rem;
}

.get-started h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.get-started p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-color: var(--accent);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-card-link {
  color: inherit;
  display: block;
}

.service-card-link:hover {
  color: inherit;
}

.service-card-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.service-card-link:hover .service-card-more {
  transform: translateX(4px);
}

/* Service detail page */
.service-detail-content {
  max-width: 720px;
  margin: 0 auto;
}

.service-detail-lead {
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.service-detail-content h2 {
  font-size: 1.35rem;
  color: var(--primary);
  margin: 2rem 0 0.75rem 0;
}

.service-detail-content h2:first-of-type {
  margin-top: 0;
}

.service-detail-content p {
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.service-detail-list {
  margin: 1rem 0 1.5rem 1.5rem;
  padding-left: 1.5rem;
  color: var(--text);
  line-height: 1.7;
  list-style: disc;
}

.service-detail-list li {
  margin-bottom: 0.5rem;
}

.service-detail-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.service-detail-cta .btn {
  margin: 0;
}

/* Testimonials */
.testimonials {
  background: var(--light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
  color: var(--text);
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

/* Contact CTA */
.contact-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
}

.contact-cta h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.contact-cta p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.contact-cta .btn-primary {
  margin: 0 0.5rem 0.5rem 0;
}

/* Footer */
.footer {
  background: var(--primary-bg);
  color: rgba(255, 255, 255, 0.85);
  padding: 0;
}

.footer-cta {
  background: linear-gradient(135deg, rgba(0, 191, 191, 0.2) 0%, rgba(0, 172, 172, 0.08) 100%);
  border-top: 1px solid rgba(0, 191, 191, 0.2);
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.footer-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-cta p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

.footer-cta .btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 1.5rem 2.5rem;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.footer-brand .footer-logo span {
  color: var(--accent);
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0.9;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer ul {
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 0.6rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-hours p,
.footer-contact p {
  margin: 0 0 0.35rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-bottom {
  text-align: center;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  opacity: 0.85;
  background: rgba(0, 0, 0, 0.15);
}

.footer-bottom-link {
  color: rgba(255, 255, 255, 0.9);
  margin-left: 0.5rem;
}

.footer-bottom-link:hover {
  color: var(--accent);
}

/* 404 / error page */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.error-page h1 {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.error-page p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}
.error-page .btn {
  margin: 0 0.5rem 0.5rem 0;
}

/* Page header (for inner pages) */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 8rem 1.5rem 3rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  opacity: 0.9;
}

.breadcrumb {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* Apply Now form page */
.apply-page .section {
  padding-top: 2rem;
}

/* Success banner after form submit */
.form-success-banner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(0, 172, 172, 0.15) 0%, rgba(0, 191, 191, 0.1) 100%);
  border: 1px solid rgba(0, 172, 172, 0.3);
  border-radius: 12px;
  margin-top: calc(5rem + env(safe-area-inset-top));
  margin-bottom: -1rem;
}
.form-success-banner p {
  margin: 0;
  color: var(--primary-bg);
  font-size: 1.05rem;
}
.form-error-banner {
  background: rgba(200, 60, 60, 0.1);
  border-color: rgba(200, 60, 60, 0.35);
}
.form-error-banner p { color: #8b2635; }

.form-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border);
  overflow: hidden;
}

.form-card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 2rem 2.5rem;
  text-align: center;
}

.form-card-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-bg);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.form-card-header h2 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem 0;
  color: var(--white);
  font-weight: 700;
}

.form-card-desc {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.form-card-desc .required {
  color: var(--accent);
}

.form-card form {
  padding: 2rem 2.5rem 2.5rem;
}

.form-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-section-title {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.form-section-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--accent);
  color: var(--primary-bg);
  border-radius: 50%;
  font-size: 0.85rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.form-group label .required {
  color: #c00;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group textarea {
  min-height: 100px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,172,172,0.2);
}

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

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

.form-group textarea {
  resize: vertical;
  padding: 0.75rem 0.9rem;
}

.checkbox-group,
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.checkbox-group label,
.radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  cursor: pointer;
}

.checkbox-group input,
.radio-group input {
  width: auto;
  margin: 0;
  accent-color: var(--accent);
}

.checkbox-group-inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.checkbox-group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1rem;
}

.form-check-item,
.form-radio-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  cursor: pointer;
  font-weight: 500;
  color: var(--text);
}

.form-check-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.form-check-pill:hover {
  border-color: var(--accent);
  background: rgba(0, 172, 172, 0.08);
}

.form-check-pill:has(input:checked) {
  border-color: var(--accent);
  background: rgba(0, 172, 172, 0.12);
}

.form-group .hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.form-section-label {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.file-upload {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
  background: var(--light);
  cursor: pointer;
  transition: var(--transition);
}

.file-upload:hover {
  border-color: var(--accent);
  background: rgba(0, 172, 172, 0.08);
}

.file-upload input {
  display: none;
}

.file-upload-icon {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.file-upload-text {
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 0.35rem 0;
}

.file-upload .hint {
  margin-bottom: 0;
}

.agree-group {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--light);
  border-radius: 8px;
  font-size: 0.9rem;
}

.agree-group label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 500;
}

.agree-group input {
  width: auto;
  margin-top: 0.25rem;
}

.form-actions {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.form-actions .btn {
  padding: 0.85rem 2rem;
}

.btn-submit {
  flex: 1;
  min-width: 200px;
}

.btn-reset {
  color: var(--primary);
  border: 2px solid var(--border);
  background: transparent;
}

.btn-reset:hover {
  border-color: var(--primary);
  background: var(--light);
  color: var(--primary);
}

/* Contact page */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info-card {
  background: var(--light);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
}

.contact-info-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-form-wrap {
  max-width: 600px;
  margin: 0 auto;
}

/* Contact page map */
.contact-map-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
  border: 1px solid var(--border);
}

.contact-map {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
  background: var(--light);
}

.contact-map-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 320px;
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.contact-map-overlay p {
  margin: 0 0 0.35rem 0;
  font-size: 0.95rem;
  color: var(--text);
}

.contact-map-overlay p:first-child {
  margin-top: 0;
}

.contact-map-overlay .btn-map-directions {
  margin-top: 0.75rem;
  display: inline-block;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

/* Careers / Jobs list */
.jobs-list {
  max-width: 800px;
  margin: 0 auto;
}

.job-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  transition: var(--transition);
}

.job-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.job-item h3 {
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.job-item .meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Preloader (optional) */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255,255,255,0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Top bar responsive - compact on mobile */
@media (max-width: 768px) {
  .top-bar {
    padding: 0.3rem 0;
    padding-top: calc(0.3rem + env(safe-area-inset-top));
    font-size: 0.78rem;
  }

  .top-bar-inner {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding: 0 0.75rem;
  }

  .top-bar-left,
  .top-bar-right {
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  .top-bar-hours {
    display: none;
  }

  .top-bar-apply {
    display: none; /* hero has main CTA; less clutter */
  }
}

@media (max-width: 480px) {
  .top-bar {
    padding: 0.25rem 0;
    padding-top: calc(0.25rem + env(safe-area-inset-top));
  }

  .top-bar-inner {
    flex-direction: row;
    justify-content: center;
    padding: 0 0.5rem;
    gap: 0.5rem;
  }

  .top-bar-left {
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
  }

  .top-bar-link {
    font-size: 0.75rem;
  }
}

/* Responsive - Mobile first */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(280px, 85vw);
    max-width: 280px;
    height: 100vh;
    height: 100dvh;
    background: var(--primary-bg);
    padding: 5rem 1.5rem 1.5rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    transition: var(--transition);
    box-shadow: -4px 0 20px rgba(0,0,0,0.2);
    overflow-y: auto;
    z-index: 1001;
    -webkit-overflow-scrolling: touch;
  }

  .nav.open {
    right: 0;
  }

  .nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav a {
    display: block;
    padding: 1rem 0;
    min-height: 44px;
    line-height: 24px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
  }

  .nav a:hover,
  .nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
  }

  .nav a.active::after {
    background: var(--accent);
  }

  .nav .btn-apply-nav {
    color: var(--primary-bg) !important;
    background: var(--accent);
    margin-left: 0;
    margin-top: 0.5rem;
    display: inline-block;
  }

  .header {
    padding: 0.6rem 0;
  }

  .header-inner {
    padding: 0 1rem;
  }

  .hero {
    padding: 4rem 1rem 2.5rem;
    padding-top: calc(4rem + env(safe-area-inset-top));
    padding-bottom: calc(2.5rem + env(safe-area-inset-bottom));
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero.hero-with-image {
    background-size: cover;
    background-position: center center;
  }

  .hero-content {
    padding: 0 0.5rem;
    width: 100%;
  }

  .hero .hero-badge {
    margin-bottom: 1rem;
    font-size: 0.72rem;
    padding: 0.38rem 0.9rem;
  }

  .hero .hero-title {
    font-size: 1.85rem;
    margin-bottom: 0.4rem;
  }

  .hero .hero-tagline {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
  }

  .hero .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.55;
  }

  .hero-buttons {
    gap: 0.75rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .stats-bar {
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 2rem 1rem;
  }

  .section-inner {
    padding-left: 0;
    padding-right: 0;
  }

  .contact-cta .section,
  .get-started .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .intro-section .section-inner,
  .pride-section .section-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro-image {
    min-height: 220px;
    order: -1;
  }

  .section-image-wrap,
  .industries-image-wrap,
  .testimonials-image-wrap {
    margin-bottom: 1.5rem;
    border-radius: 12px;
  }
  .section-banner-img,
  .industries-banner-img { max-height: 200px; }
  .testimonials-banner-img { max-height: 160px; }

  .intro-image img {
    min-height: 220px;
  }

  .page-header {
    padding: 5.5rem 1rem 2rem;
  }

  .page-header h1 {
    font-size: 1.75rem;
  }

  .footer-cta-inner {
    flex-direction: column;
  }

  .footer-cta p {
    font-size: 1rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    padding: 2.5rem 1.25rem 2rem;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
    text-align: center;
  }

  .footer h4 {
    margin-top: 0.5rem;
  }

  .footer ul {
    text-align: center;
  }

  .footer-hours,
  .footer-contact {
    text-align: center;
  }

  .footer > .footer-inner > div:last-child {
    text-align: center;
  }

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

  .form-card {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }

  .form-card-header {
    padding: 1.5rem 1.25rem;
  }

  .form-card-header h2 {
    font-size: 1.35rem;
  }

  .form-card form {
    padding: 1.5rem 1.25rem 2rem;
  }

  .form-section {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
  }

  .form-section-title {
    font-size: 1rem;
  }

  .form-section-title span {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.8rem;
  }

  .checkbox-group-grid {
    grid-template-columns: 1fr;
  }

  .checkbox-group-inline {
    flex-direction: column;
    align-items: stretch;
  }

  .form-check-pill {
    justify-content: center;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-submit {
    min-width: 0;
    width: 100%;
  }

  .btn-reset {
    width: 100%;
  }

  .apply-page .section {
    padding-left: 0;
    padding-right: 0;
  }

  .contact-map {
    height: 320px;
  }

  .contact-map-wrap {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }

  .contact-map-overlay {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }

  .service-detail-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-detail-cta .btn {
    width: 100%;
    max-width: 280px;
  }

  .job-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .job-item .btn {
    width: 100%;
  }

  .contact-cta .btn,
  .get-started .btn {
    width: 100%;
    margin: 0.25rem 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    margin: -1.5rem 1rem 0;
    padding: 2rem 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-suffix {
    font-size: 1.5rem;
  }

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

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

  .industry-tag {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

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

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .header {
    padding: 0.5rem 0;
  }

  .header-inner {
    padding: 0 0.75rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .logo-img {
    height: 36px;
    max-width: 180px;
  }

  .hero {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: calc(3.5rem + env(safe-area-inset-top));
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }

  .hero h1,
  .hero .hero-title {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .hero .hero-tagline {
    font-size: 1.05rem;
  }

  .hero .hero-sub {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .hero .hero-badge {
    font-size: 0.68rem;
    padding: 0.32rem 0.75rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-buttons .btn,
  .hero-buttons .btn-hero-outline {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
  }

  .hero-scroll-hint {
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
  }

  .hero-scroll-icon {
    width: 20px;
    height: 32px;
  }

  .section {
    padding: 2.5rem 0.75rem;
  }

  .section-title h2 {
    font-size: 1.35rem;
  }

  .industries-grid {
    gap: 0.5rem;
  }

  .industry-tag {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  .form-card {
    padding: 1.25rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 2rem 1rem 1.5rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    text-align: center;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer .btn-primary,
  .footer-cta .btn {
    width: 100%;
    max-width: 280px;
    min-height: 44px;
  }

  .checkbox-group label,
  .radio-group label {
    min-height: 44px;
    align-items: center;
  }

  .file-upload {
    padding: 1.25rem;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .quick-jobs-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }

  .section-image-wrap,
  .industries-image-wrap,
  .testimonials-image-wrap {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    max-width: calc(100% - 1.5rem);
  }

  .contact-cta .btn,
  .get-started .btn {
    min-height: 44px;
  }

  .page-header {
    padding-top: calc(5.5rem + env(safe-area-inset-top));
  }
}
