/* Careers page */
.car-page .page-hero--program { position: relative; overflow: hidden; }

/* Hero */
.car-hero {
  background: linear-gradient(145deg, #003752 0%, #0077B6 48%, #005A8C 100%);
  min-height: 440px;
  padding: 108px 0 64px;
}
.car-hero.page-hero--program::before {
  display: block;
  background:
    radial-gradient(circle at 88% 22%, rgba(255, 255, 255, 0.1) 0%, transparent 42%),
    radial-gradient(circle at 8% 78%, rgba(168, 216, 240, 0.12) 0%, transparent 38%);
}

.car-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.05fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  max-width: 1180px;
}

.car-hero-copy { min-width: 0; position: relative; z-index: 2; }
.car-hero-copy > * { animation: carHeroFade 0.7s ease-out both; }
.car-hero-copy .breadcrumb { animation-delay: 0.05s; }
.car-hero-copy .page-tagline { animation-delay: 0.12s; color: rgba(255, 255, 255, 0.92); }
.car-hero-copy h1 { animation-delay: 0.22s; margin-bottom: 14px; }
.car-hero-copy .page-lead { animation-delay: 0.35s; margin-bottom: 22px; }
.car-hero-copy .page-hero-actions { animation-delay: 0.48s; }

.car-hero .btn-primary {
  background: #fff;
  color: #0077B6;
  box-shadow: 0 8px 24px rgba(0, 35, 55, 0.2);
}
.car-hero .btn-primary:hover {
  background: #EBF5FB;
  color: #005A8C;
  box-shadow: 0 10px 28px rgba(0, 35, 55, 0.24);
}
.car-hero .btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
}
.car-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

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

.car-hero-graphic {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.car-hero-marquee { overflow: hidden; width: 100%; }
.car-hero-marquee-track {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  animation: carMarqueeLeft 30s linear infinite;
}
.car-hero-marquee--bottom .car-hero-marquee-track {
  animation-name: carMarqueeRight;
  animation-duration: 34s;
}
@keyframes carMarqueeLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes carMarqueeRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.car-hero-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #0077B6;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 24px rgba(0, 40, 70, 0.15);
  white-space: nowrap;
}
.car-hero-chip i { font-size: 12px; }
.car-hero-chip--mint { color: #047857; }
.car-hero-chip--gold { color: #B45309; }

.car-hero-collage {
  position: relative;
  height: 210px;
  margin: 2px 0;
}
.car-hero-card {
  position: absolute;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(0, 35, 60, 0.28);
  animation: carCardFloat 7s ease-in-out infinite;
}
.car-hero-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.car-hero-card--1 {
  width: 54%;
  height: 80%;
  top: 2%;
  left: 0;
  z-index: 2;
  --car-rot: -3deg;
}
.car-hero-card--2 {
  width: 48%;
  height: 74%;
  top: 0;
  right: 0;
  z-index: 3;
  --car-rot: 4deg;
  animation-delay: -2.2s;
}
.car-hero-card--3 {
  width: 46%;
  height: 68%;
  bottom: 0;
  left: 22%;
  z-index: 1;
  --car-rot: -1deg;
  animation-delay: -4.5s;
}
@keyframes carCardFloat {
  0%, 100% { transform: translateY(0) rotate(var(--car-rot, 0deg)); }
  50% { transform: translateY(-9px) rotate(var(--car-rot, 0deg)); }
}

.car-hero-gptw {
  position: absolute;
  top: 36%;
  right: 4%;
  z-index: 4;
  width: 58px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 35, 60, 0.22);
  animation: carCardFloat 6s ease-in-out infinite;
  animation-delay: -1.2s;
}
.car-hero-gptw img { display: block; width: 100%; height: auto; }

/* Main layout */
.car-page .page-main {
  max-width: 1180px;
  padding: 48px 40px 80px;
}

.car-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}
.car-benefit {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 20px 18px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.car-benefit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 55, 90, 0.08);
  border-color: rgba(0, 119, 182, 0.2);
}
.car-benefit-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: #EBF5FB;
  color: #0077B6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.car-benefit h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #1A202C;
  margin-bottom: 6px;
}
.car-benefit p {
  font-size: 13px;
  color: #718096;
  line-height: 1.55;
  margin: 0;
}

.car-apply-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, #003752 0%, #0077B6 55%, #005A8C 100%);
  border-radius: 20px;
  padding: 32px 36px;
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 55, 90, 0.22);
  margin-bottom: 48px;
}
.car-apply-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.car-apply-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  margin-bottom: 8px;
}
.car-apply-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin: 0;
  max-width: 560px;
}
.car-apply-text a:not(.btn-primary) {
  color: #a8d8f0;
  font-weight: 600;
}
.car-apply-action { flex-shrink: 0; }
.car-apply-action .btn-primary {
  background: #fff;
  color: #0077B6;
  white-space: nowrap;
}
.car-apply-action .btn-primary:hover {
  background: #EBF5FB;
  color: #005A8C;
}

.car-section-head {
  margin-bottom: 28px;
}
.car-eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0077B6;
  margin-bottom: 10px;
}
.car-section-head h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: #1A202C;
  margin-bottom: 10px;
}
.car-fields-lead {
  font-size: 16px;
  color: #4A5568;
  line-height: 1.7;
  margin: 0;
  max-width: 640px;
}

.car-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.car-field {
  position: relative;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 24px 22px 22px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.car-field::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0077B6, #48CAE4);
  opacity: 0;
  transition: opacity 0.2s;
}
.car-field:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 55, 90, 0.1);
  border-color: rgba(0, 119, 182, 0.2);
}
.car-field:hover::before { opacity: 1; }
.car-field-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(145deg, #EBF5FB 0%, #D6EEF9 100%);
  color: #0077B6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}
.car-field h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1A202C;
  margin-bottom: 8px;
}
.car-field p {
  font-size: 14px;
  color: #718096;
  line-height: 1.6;
  margin: 0;
}
.car-field--highlight {
  background: linear-gradient(160deg, #F0F9FF 0%, #fff 100%);
  border-color: rgba(0, 119, 182, 0.22);
}
.car-field--highlight::before { opacity: 1; }

.car-gptw-band {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #F8FAFC 0%, #EBF5FB 100%);
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 28px 32px;
  margin-bottom: 48px;
}
.car-gptw-band img {
  width: 72px;
  height: auto;
  flex-shrink: 0;
}
.car-gptw-band h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #1A202C;
  margin-bottom: 6px;
}
.car-gptw-band p {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.6;
  margin: 0 0 12px;
  max-width: 520px;
}
.car-gptw-band a {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #0077B6;
}
.car-gptw-band a:hover { color: #005A8C; }

.car-page .page-cta-band { margin-top: 0; }

@media (max-width: 992px) {
  .car-benefits { grid-template-columns: repeat(2, 1fr); }
  .car-fields { grid-template-columns: repeat(2, 1fr); }
  .car-apply-band { grid-template-columns: 1fr; text-align: left; }
  .car-apply-action .btn-primary { width: 100%; text-align: center; }
}

@media (max-width: 900px) {
  .car-hero-split { grid-template-columns: 1fr; }
  .car-hero-graphic { max-width: 520px; margin: 4px auto 0; }
  .car-hero-collage { height: 190px; }
}

@media (max-width: 768px) {
  .car-page .page-main { padding: 36px 20px 64px; }
  .car-benefits { grid-template-columns: 1fr 1fr; gap: 10px; }
  .car-benefit { padding: 16px 12px; }
  .car-benefit h3 { font-size: 13px; }
  .car-benefit p { font-size: 12px; }
  .car-apply-band { padding: 24px 20px; }
  .car-fields { grid-template-columns: 1fr; }
  .car-gptw-band { flex-direction: column; text-align: center; padding: 24px 20px; }
  .car-gptw-band p { margin-left: auto; margin-right: auto; }
}

@media (max-width: 600px) {
  .car-hero { padding: 92px 0 48px; min-height: auto; }
  .car-hero-collage { height: 165px; }
  .car-hero-chip { font-size: 10px; padding: 7px 12px; }
  .car-hero-gptw { width: 46px; padding: 4px; }
  .car-benefits { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .car-hero-copy > *,
  .car-hero-card,
  .car-hero-gptw,
  .car-hero-marquee-track { animation: none; }
}
