:root {
  --navy: #0c2340;
  --navy-2: #16345c;
  --blue: #1d4e89;
  --teal: #0f766e;
  --teal-2: #115e59;
  --orange: #e06a12;
  --orange-2: #c2560c;
  --gray: #f4f6f8;
  --line: #e2e8f0;
  --text: #142033;
  --muted: #526173;
  --white: #fff;
  --shadow: 0 1px 2px rgba(12, 35, 64, 0.04), 0 10px 28px rgba(12, 35, 64, 0.06);
  --radius: 16px;
  --wrap: 1200px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --header: 4.5rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.rx {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 3.2vw, 2.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); letter-spacing: -0.02em; }
h3 { font-size: 1.05rem; }
p { margin: 0; }

.rx-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.8rem;
  z-index: 30;
  border-radius: 8px;
}
.rx-skip:focus { top: 0.5rem; }

.rx-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rx-wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.rx-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.rx-util {
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.rx-util__row,
.rx-bar__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rx-util__row {
  justify-content: flex-end;
  min-height: 2.75rem;
}

.rx-bar__row { min-height: var(--header); }

.rx-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  text-decoration: none;
  min-width: 0;
}

.rx-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: none;
}

.rx-brand strong,
.rx-brand small { display: block; line-height: 1.15; }
.rx-brand strong { font-size: 1rem; }
.rx-brand small { color: var(--muted); font-size: 0.75rem; font-weight: 600; }

.rx-toggle,
.rx-lang {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
  flex: none;
}

.rx-toggle__btn,
.rx-lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.3rem 0.75rem;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.rx-toggle__btn.is-on { background: var(--navy); color: var(--white); }
.rx--b2b .rx-toggle__btn.is-on { background: var(--blue); }
.rx--b2c .rx-toggle__btn.is-on { background: var(--teal); }
.rx-lang a.is-on { background: var(--gray); }

.rx-burger {
  display: none;
  margin-left: auto;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
}

.rx-drawer {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  min-width: 0;
}

.rx-drawer__tools { display: none; }

.rx-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.rx-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  white-space: nowrap;
}

.rx-nav a:hover { background: var(--gray); }
.rx-nav a.rx-btn { margin-left: 0.35rem; }
.rx-nav a.rx-btn--orange:hover { background: var(--orange-2); }
.rx-nav a.rx-btn--navy:hover { background: var(--navy-2); }

.rx-kicker {
  margin: 0 0 0.45rem;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rx--b2c .rx-kicker { color: var(--teal); }

.rx-lead { color: var(--muted); font-size: 1.02rem; max-width: 42rem; }

.rx-section { padding: 4.5rem 0; }
.rx-section--gray { background: var(--gray); }
.rx-section--tight { padding: 3rem 0; }
.rx-section__head { margin-bottom: 1.5rem; max-width: 40rem; }
.rx-section__head h2 { margin-bottom: 0.45rem; }
.rx-subhead { margin: 2rem 0 0.85rem; font-size: 1.15rem; }

.rx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.05rem;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.rx-btn--orange { background: var(--orange); color: var(--white); }
.rx-btn--orange:hover { background: var(--orange-2); }
.rx-btn--blue { background: var(--blue); color: var(--white); }
.rx-btn--blue:hover { background: var(--navy-2); }
.rx-btn--teal { background: var(--teal); color: var(--white); }
.rx-btn--teal:hover { background: var(--teal-2); }
.rx-btn--navy { background: var(--navy); color: var(--white); }
.rx-btn--navy:hover { background: var(--navy-2); }
.rx-btn--ghost { background: var(--white); color: var(--navy); border: 1px solid var(--line); }
.rx-btn--ghost:hover { border-color: #b7c3d1; }

.rx-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }

.rx-gate { padding: 1rem 0 0; background: var(--navy); }
.rx-gate__grid {
  width: min(1440px, calc(100% - 1.5rem));
  margin: 0 auto 1rem;
  display: grid;
  gap: 0.75rem;
}

.rx-gate__panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 28rem;
  border-radius: 18px;
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
  isolation: isolate;
}

.rx-gate__panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rx-gate__panel::after {
  content: "";
  position: absolute;
  inset: 0;
}

.rx-gate__panel--b2b::after {
  background: linear-gradient(180deg, rgba(12, 35, 64, 0.08) 15%, rgba(12, 35, 64, 0.88) 100%);
}
.rx-gate__panel--b2c::after {
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.08) 15%, rgba(8, 48, 46, 0.88) 100%);
}

.rx-gate__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  width: 100%;
  padding: 1.6rem;
}

.rx-gate__copy small {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rx-gate__copy strong {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.25;
  max-width: 16em;
  font-weight: 800;
}

.rx-gate__copy em {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
}

.rx-hero { padding: 3.5rem 0 1rem; background: linear-gradient(180deg, #f7f9fb, #fff 70%); }
.rx-hero__grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.rx-hero__copy { display: grid; gap: 1rem; }
.rx-hero__copy h1 { max-width: 16ch; }
.rx-hero__media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
}
.rx-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 460px;
  object-fit: cover;
}

.rx-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}
.rx-facts li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--navy);
}

.rx-stats,
.rx-pillars,
.rx-cards,
.rx-jobs {
  display: grid;
  gap: 1rem;
}

.rx-stats article,
.rx-pillars article,
.rx-card,
.rx-job,
.rx-callout,
.rx-contact,
.rx-address {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.rx-stats article,
.rx-pillars article { padding: 1.1rem 1.15rem 1.2rem; }

.rx-stats span,
.rx-pillars span {
  display: block;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.rx--b2c .rx-pillars span,
.rx-steps--teal li::before { background: var(--teal); }
.rx-stats strong,
.rx-stats small { display: block; }
.rx-stats strong { margin-top: 0.35rem; color: var(--navy); font-size: 1.02rem; line-height: 1.35; }
.rx-stats small { margin-top: 0.2rem; color: var(--muted); }

.rx-pillars h3 { margin: 0.45rem 0 0.35rem; }
.rx-pillars p,
.rx-note,
.rx-job__meta { color: var(--muted); }
.rx-note { margin-top: 0.9rem; font-size: 0.95rem; }
.rx-more { margin-top: 1.1rem; font-weight: 700; }

.rx-card {
  display: grid;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rx-card img,
.rx-card__fallback {
  width: 100%;
  height: 168px;
  object-fit: cover;
}
.rx-card__fallback { display: block; background: var(--navy); }
.rx-card__body { display: block; padding: 0.95rem 1rem 1.1rem; }
.rx-card strong { display: block; color: var(--navy); font-size: 1.02rem; }
.rx-card em { display: block; margin-top: 0.3rem; color: var(--muted); font-style: normal; font-size: 0.92rem; line-height: 1.45; }
.rx-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(12, 35, 64, 0.1); }

.rx-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rx-chips a {
  text-decoration: none;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 650;
  font-size: 0.92rem;
}
.rx-chips a:hover { border-color: #9aafc4; }

.rx-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  counter-reset: step;
}
.rx-steps li {
  display: grid;
  gap: 0.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}
.rx-steps li::before {
  content: counter(step);
  counter-increment: step;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
}
.rx-steps strong,
.rx-steps span { display: block; }
.rx-steps span { color: var(--muted); font-size: 0.92rem; }

.rx-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rx-docs li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.rx-band,
.rx-contact,
.rx-split-note {
  display: grid;
  gap: 1rem;
  align-items: center;
}
.rx-band h2,
.rx-contact h2 { margin-bottom: 0.4rem; }
.rx-contact,
.rx-callout { padding: 1.4rem; }
.rx-callout { margin-top: 1.5rem; display: grid; gap: 0.7rem; justify-items: start; }
.rx-callout h3 { font-size: 1.2rem; }

.rx-jobs { margin-top: 1rem; }
.rx-job {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 1rem;
  padding: 0.9rem;
  align-items: center;
}
.rx-job img,
.rx-job .rx-card__fallback {
  width: 148px;
  height: 112px;
  object-fit: cover;
  border-radius: 10px;
}
.rx-job h3 { margin-bottom: 0.25rem; }
.rx-job__meta { font-size: 0.9rem; }
.rx-job__detail { display: none; margin-top: 0.45rem; }
.rx-job.is-open .rx-job__detail { display: block; }
.rx-job[hidden] { display: none; }
.rx-job .rx-actions { margin-top: 0.75rem; }

.rx-filters { display: none; gap: 0.75rem; margin: 0.9rem 0 0; }
.rx-filters.is-open { display: grid; }
.rx-filters label { display: grid; gap: 0.35rem; font-weight: 700; font-size: 0.92rem; }
.rx-filters select,
.rx-filters input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font: inherit;
  background: var(--white);
  color: var(--text);
}
.rx-filter-toggle { margin-top: 0.2rem; }

.rx-address {
  padding: 1.2rem 1.25rem;
  font-style: normal;
  line-height: 1.7;
  color: var(--navy);
}
.rx-address strong { display: block; margin-bottom: 0.35rem; }

.rx-footer {
  background: var(--navy);
  color: #d5e0ec;
  padding: 3rem 0 1.25rem;
}
.rx-footer .rx-kicker { color: #9eb4cc; }
.rx-footer a { color: #fff; text-decoration: none; }
.rx-footer a:hover { text-decoration: underline; }
.rx-footer h2 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.rx-footer__grid { display: grid; gap: 1.6rem; }
.rx-footer__grid section { min-width: 0; }
.rx-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.4rem; }
.rx-footer address { font-style: normal; margin-top: 0.85rem; line-height: 1.7; }
.rx-footer__license { color: #fff; font-weight: 700; margin: 0.8rem 0; }
.rx-footer .rx-note { color: #c5d2e0; }
.rx-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
}

.rx-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 0.5rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  z-index: 18;
}
.rx-sticky .rx-btn { flex: 1; }
body.rx--b2b,
body.rx--b2c { padding-bottom: 5.25rem; }

@media (max-width: 1079px) {
  .rx-util { display: none; }
  .rx-burger { display: inline-flex; align-items: center; justify-content: center; }
  .rx-bar { position: relative; }
  .rx-drawer {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 0.75rem 1rem 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .rx-drawer.is-open { display: flex; }
  .rx-drawer__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .rx-nav { flex-direction: column; align-items: stretch; }
  .rx-nav a { padding: 0.7rem 0.2rem; }
  .rx-nav a.rx-btn { margin: 0.35rem 0 0; }
  .rx-hero__media img { max-height: 320px; }
}

@media (min-width: 720px) {
  .rx-stats,
  .rx-cards { grid-template-columns: 1fr 1fr; }
  .rx-jobs { grid-template-columns: 1fr; }
  .rx-pillars { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .rx-gate__grid { grid-template-columns: 1fr 1fr; }
  .rx-gate__panel { min-height: 34rem; }
  .rx-hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; }
  .rx-hero__media img { min-height: 420px; }
  .rx-band,
  .rx-contact,
  .rx-split-note { grid-template-columns: 1.4fr auto; }
  .rx-filters,
  .rx-filters.is-open { display: grid; grid-template-columns: 1fr 1fr 1.1fr; }
  .rx-filter-toggle { display: none; }
  .rx-steps { grid-template-columns: repeat(5, 1fr); }
  .rx-footer__grid { grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr; }
  .rx-sticky { display: none; }
  body.rx--b2b,
  body.rx--b2c { padding-bottom: 0; }
}

@media (min-width: 1080px) {
  .rx-cards,
  .rx-stats,
  .rx-pillars { grid-template-columns: repeat(4, 1fr); }
  .rx-jobs { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rx-card { transition: none; }
  .rx-card:hover { transform: none; }
}
