/* ============================================
   ARICA — Careers Page
   ============================================ */

.careers-page {
  --cr-pad: clamp(1.5rem, 3vw, 2.25rem);
  overflow-x: hidden;
}

.cr-hero {
  position: relative;
  overflow: hidden;
}

.cr-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cr-hero__bg-base {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #010728 0%, #0a2560 45%, #1378f3 100%);
}

.cr-hero__bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 70% at 85% 40%, rgba(76, 147, 228, 0.4) 0%, transparent 65%);
  pointer-events: none;
}

.cr-hero__bg-texture {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  mix-blend-mode: overlay;
}

.cr-hero__bg-texture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cr-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding: calc(var(--header-h, 80px) + 1.25rem) 0 2rem;
}

.cr-hero__text {
  color: #fff;
}

.cr-hero__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.cr-hero__heading {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.cr-hero__desc {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.cr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cr-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.cr-hero__btn--primary {
  background: #fff;
  color: #0a1f44;
}

.cr-hero__btn--primary:hover {
  transform: translateY(-2px);
  background: #e8f1fc;
}

.cr-hero__btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.cr-hero__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.cr-hero__visual {
  display: flex;
  justify-content: center;
}

.cr-hero__visual img {
  width: min(100%, 480px);
  height: auto;
  max-height: 260px;
  object-fit: cover;
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 10;
}

.cr-breadcrumb {
  background: #f7f9fc;
  border-bottom: 1px solid rgba(15, 40, 80, 0.08);
  padding: 0.6rem 0;
}

.cr-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: #5b6b85;
}

.cr-breadcrumb__list a {
  color: #1378f3;
  text-decoration: none;
}

.cr-breadcrumb__list a:hover {
  text-decoration: underline;
}

.cr-breadcrumb__sep {
  opacity: 0.5;
}

.cr-breadcrumb__current {
  color: #0a1f44;
  font-weight: 600;
}

.cr-section {
  padding: var(--cr-pad) 0;
  background: #fff;
  scroll-margin-top: calc(var(--header-h, 80px) + 0.75rem);
}

.cr-section--alt {
  background: linear-gradient(180deg, #f4f8fd 0%, #eef4fb 100%);
}

.cr-section__header {
  max-width: 760px;
  margin-bottom: 1.75rem;
}

.cr-section__header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.cr-section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0a1f44;
  margin: 0.65rem 0 0.85rem;
}

.cr-section__lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #3d4f6a;
  margin: 0;
}

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

.cr-value {
  background: #fff;
  border: 1px solid rgba(15, 40, 80, 0.08);
  border-radius: 16px;
  padding: 1.35rem 1.2rem;
  box-shadow: 0 8px 24px rgba(10, 40, 90, 0.04);
  transition: transform 0.3s var(--ease, ease), box-shadow 0.3s;
}

.cr-section--alt .cr-value {
  background: #fff;
}

.cr-value:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(10, 40, 90, 0.08);
}

.cr-value__icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  color: #1378f3;
  background: rgba(19, 120, 243, 0.1);
  border-radius: 12px;
  margin-bottom: 0.85rem;
}

.cr-value__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.cr-value__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0a1f44;
  margin: 0 0 0.45rem;
}

.cr-value__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #3d4f6a;
}

.cr-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.cr-perks__list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.cr-perks__list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid rgba(15, 40, 80, 0.08);
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #3d4f6a;
  box-shadow: 0 8px 24px rgba(10, 40, 90, 0.04);
}

.cr-perks__list svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: #1378f3;
  margin-top: 0.15rem;
}

.cr-perks__visual {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(10, 37, 96, 0.1);
  aspect-ratio: 16 / 11;
  background: #e8f1fc;
}

.cr-perks__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cr-jobs {
  display: grid;
  gap: 0.85rem;
}

.cr-job {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(15, 40, 80, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(10, 40, 90, 0.04);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.cr-job:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(10, 40, 90, 0.08);
  border-color: rgba(19, 120, 243, 0.25);
}

.cr-job__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0a1f44;
  margin: 0 0 0.35rem;
}

.cr-job__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
  color: #5b6b85;
}

.cr-job__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cr-job__meta svg {
  width: 0.95rem;
  height: 0.95rem;
  color: #1378f3;
}

.cr-job__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: #1378f3;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.cr-job__btn:hover {
  background: #0d5fc4;
  transform: translateY(-1px);
}

.cr-cta {
  padding: var(--cr-pad) 0 calc(var(--cr-pad) + 0.5rem);
  background: #fff;
}

.cr-cta__box {
  padding: 2rem 1.75rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #010728 0%, #0a2560 50%, #1378f3 100%);
  color: #fff;
  text-align: center;
}

.cr-cta__title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.cr-cta__box p {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.cr-cta__box .btn-white {
  display: inline-flex;
}

@media (max-width: 1024px) {
  .cr-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .cr-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cr-hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .cr-hero__actions {
    justify-content: center;
  }

  .cr-perks {
    grid-template-columns: 1fr;
  }

  .cr-perks__visual {
    order: -1;
    max-height: 260px;
  }
}

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

  .cr-job {
    grid-template-columns: 1fr;
  }

  .cr-job__btn {
    width: 100%;
  }

  .cr-cta__box {
    padding: 1.4rem 1.2rem;
  }
}
