/* Foundations */
:root {
  --navy: #090e2e;
  --navy-2: #0d1338;
  --gold: #b48a5a;
  --cream: #fbfaf3;
  --white: #fff;
  --text: #080e2e;
  --muted: #1b2247;
  --line: #050505;
  --shadow: 0 10px 22px rgba(9, 14, 46, 0.18);
  --font-body: Raleway, Lato, Arial, sans-serif;
  --font-heading: Ubuntu, Raleway, Lato, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
.eyebrow,
.section-title,
.title-box {
  font-family: var(--font-heading);
  letter-spacing: 0;
}

p {
  margin: 0 0 14px;
}

button,
input,
textarea,
select {
  font: inherit;
}

.wrap {
  width: min(100% - 48px, 1160px);
  margin: 0 auto;
}

.wide {
  width: min(100% - 48px, 1600px);
  margin: 0 auto;
}

.rule {
  height: 2px;
  width: min(100% - 92px, 1620px);
  margin: 0 auto;
  background: var(--line);
}

.section {
  padding: 42px 24px;
}

.section.rule-top {
  border-top: 2px solid var(--line);
}

.center {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 94px;
  padding: 11px 22px;
  border: 2px solid currentColor;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.btn.ghost {
  background: transparent;
  box-shadow: none;
}

.btn.small {
  min-height: 34px;
  min-width: 0;
  padding: 8px 16px;
  font-size: 12px;
}

.grid {
  display: grid;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px;
}

/* Header and Navigation */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--cream);
}

.nav-wrap {
  width: min(100%, 1440px);
  min-height: 170px;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
}

.brand {
  display: block;
  flex: 0 0 auto;
}

.brand img {
  width: 300px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus {
  color: var(--gold);
}

.nav a.active {
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border: 1px solid rgba(9, 14, 46, 0.18);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(9, 14, 46, 0.12);
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

@media (min-width: 1101px) and (max-width: 1240px) {
  .nav-wrap {
    padding-inline: 28px;
    gap: 22px;
  }

  .brand img {
    width: 240px;
  }

  .nav {
    gap: 14px;
  }
}

/* Homepage */
.hero {
  padding: 72px 18px 60px;
  background: #fff;
  text-align: center;
}

.hero .eyebrow {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.04;
}

.hero h1 {
  display: none;
}

.hero p:not(.eyebrow) {
  max-width: 1500px;
  margin: 0 auto 42px;
  color: var(--navy);
  font-size: clamp(18px, 2.1vw, 26px);
  line-height: 1.55;
}

.section-title,
.title-box {
  margin: 0 0 34px;
  color: var(--navy);
  font-size: clamp(32px, 3.4vw, 42px);
  font-weight: 900;
  line-height: 1.05;
}

.home-services {
  padding: 36px 24px 18px;
}

.home-services .wrap {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(9, 14, 46, 0.45);
}

.home-services:last-of-type .wrap {
  border-bottom: 0;
}

.card {
  text-align: center;
}

.card-img {
  width: 100%;
  height: 190px;
  margin-bottom: 12px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.card-img-link {
  display: block;
  line-height: 0;
}

.card-img-link .card-img {
  display: block;
}

.mod-award-img {
  object-fit: contain;
  background: #f4f2ef;
}

.card h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.card p {
  max-width: 340px;
  margin: 0 auto 8px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.42;
}

.cta-strip {
  padding: 30px 18px 36px;
  background: var(--navy);
  color: var(--gold);
  text-align: center;
}

.cta-strip .btn {
  background: transparent;
  box-shadow: none;
}

/* Reviews */
.reviews-showcase {
  --review-off-left: translate(-144%, 18px) scale(0.92);
  --review-left: translate(-102%, 18px) scale(0.94);
  --review-center: translate(-50%, -12px) scale(1);
  --review-right: translate(2%, 18px) scale(0.94);
  --review-off-right: translate(44%, 18px) scale(0.92);
  min-height: 306px;
  padding: 34px max(32px, calc((100% - 1040px) / 2)) 46px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  background: #eef2ff;
  color: #050816;
}

.reviews-copy .eyebrow {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 14px;
  text-transform: uppercase;
}

.reviews-copy h2 {
  margin: 0 0 14px;
  max-width: 300px;
  color: #050816;
  font-size: clamp(32px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.1;
}

.reviews-copy p,
.reviews-copy li {
  color: #777b86;
  font-size: 17px;
  line-height: 1.32;
}

.reviews-copy ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.reviews-copy li::before {
  content: "- ";
}

.reviews-stage {
  position: relative;
  min-height: 276px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 10px;
  align-items: center;
}

.review-stack {
  position: relative;
  min-height: 266px;
}

.google-review-card {
  position: absolute;
  top: 12px;
  left: 50%;
  width: min(100%, 248px);
  min-height: 176px;
  padding: 15px 16px 17px;
  border-radius: 9px;
  background: #f7f7f7;
  color: #242424;
  box-shadow: 0 14px 30px rgba(9, 14, 46, 0.13);
  will-change: transform, opacity;
}

.google-review-card.featured {
  z-index: 3;
  opacity: 1;
  transform: var(--review-center);
}

.google-review-card.side {
  z-index: 1;
  opacity: 0.74;
}

.google-review-card.left {
  z-index: 1;
  transform: var(--review-left);
}

.google-review-card.right {
  z-index: 1;
  transform: var(--review-right);
}

.google-review-card.incoming-left {
  z-index: 1;
  opacity: 0;
  transform: var(--review-off-left);
}

.google-review-card.incoming-right {
  z-index: 1;
  opacity: 0;
  transform: var(--review-off-right);
}

.google-review-card.exiting {
  z-index: 0;
}

.review-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  gap: 10px;
  align-items: center;
}

.review-head h3 {
  margin: 0 0 4px;
  color: #3151c7;
  font-size: 18px;
  line-height: 1;
}

.review-head p,
.google-review-card p {
  color: #4f4f4f;
}

.google-review-card > p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.42;
}

.review-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.avatar-purple {
  background: #9b4ac7;
}

.avatar-teal {
  background: #4b9fad;
}

.avatar-photo {
  background: linear-gradient(135deg, var(--gold), var(--navy));
  font-size: 20px;
}

.google-mark {
  color: #9c9c9c;
  font-size: 19px;
  font-weight: 700;
}

.stars {
  margin-top: 14px;
  color: #f2992f;
  font-size: 22px;
  letter-spacing: 2px;
  line-height: 1;
}

.review-arrow {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.78);
  color: #8b8f99;
  font-size: 32px;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(9, 14, 46, 0.08);
  cursor: pointer;
}

.review-stack.slide-right .google-review-card.incoming-left {
  animation: reviewOffLeftToLeft 0.86s cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

.review-stack.slide-right .google-review-card.left {
  z-index: 8;
  animation: reviewLeftToCenter 0.86s cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

.review-stack.slide-right .google-review-card.featured {
  z-index: 6;
  animation: reviewCenterToRight 0.86s cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

.review-stack.slide-right .google-review-card.right.exiting {
  animation: reviewRightToOffRight 0.86s cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

.review-stack.slide-left .google-review-card.left.exiting {
  animation: reviewLeftToOffLeft 0.86s cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

.review-stack.slide-left .google-review-card.featured {
  z-index: 6;
  animation: reviewCenterToLeft 0.86s cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

.review-stack.slide-left .google-review-card.right {
  z-index: 8;
  animation: reviewRightToCenter 0.86s cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

.review-stack.slide-left .google-review-card.incoming-right {
  animation: reviewOffRightToRight 0.86s cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

@keyframes reviewOffLeftToLeft {
  from {
    opacity: 0;
    transform: var(--review-off-left);
  }
  to {
    opacity: 0.74;
    transform: var(--review-left);
  }
}

@keyframes reviewLeftToCenter {
  from {
    opacity: 0.74;
    transform: var(--review-left);
  }
  to {
    opacity: 1;
    transform: var(--review-center);
  }
}

@keyframes reviewCenterToRight {
  from {
    opacity: 1;
    transform: var(--review-center);
  }
  to {
    opacity: 1;
    transform: var(--review-right);
  }
}

@keyframes reviewCenterToLeft {
  from {
    opacity: 1;
    transform: var(--review-center);
  }
  to {
    opacity: 1;
    transform: var(--review-left);
  }
}

@keyframes reviewRightToCenter {
  from {
    opacity: 0.74;
    transform: var(--review-right);
  }
  to {
    opacity: 1;
    transform: var(--review-center);
  }
}

@keyframes reviewOffRightToRight {
  from {
    opacity: 0;
    transform: var(--review-off-right);
  }
  to {
    opacity: 0.74;
    transform: var(--review-right);
  }
}

@keyframes reviewRightToOffRight {
  from {
    opacity: 0.74;
    transform: var(--review-right);
  }
  to {
    opacity: 0;
    transform: var(--review-off-right);
  }
}

@keyframes reviewLeftToOffLeft {
  from {
    opacity: 0.74;
    transform: var(--review-left);
  }
  to {
    opacity: 0;
    transform: var(--review-off-left);
  }
}

/* Content Pages */
.page-hero {
  padding: 48px 18px 70px;
  background: #fff;
  color: var(--navy);
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
}

.page-hero p {
  max-width: 900px;
  margin: 0 auto;
}

.dark,
.text-dark-section {
  background: var(--navy);
  color: var(--gold);
}

.dark h1,
.dark h2,
.dark h3,
.dark p,
.dark li,
.text-dark-section h2,
.text-dark-section p,
.text-dark-section li {
  color: var(--gold);
}

.candidate-services-page .section-separator,
.about-us-page main > .rule,
.online-registration-page main > .rule {
  display: none;
}

.about-text {
  padding: 48px 24px 70px;
}

.about-panel {
  max-width: 1320px;
  margin: 0 auto;
}

.about-panel h2,
.partnerships h2 {
  margin: 0 0 34px;
  text-align: center;
  font-size: clamp(34px, 4vw, 54px);
}

.about-panel p {
  font-size: 18px;
  line-height: 1.55;
}

.leadership,
.partnerships {
  padding: 58px 24px 72px;
}

.leadership {
  background: #fff;
}

.leadership .grid {
  gap: 80px;
}

.leadership .card-img {
  height: 430px;
  border-radius: 8px;
  object-position: top;
}

.partner-card img {
  width: 100%;
  height: 120px;
  padding: 18px;
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
}

.partner-card h3 {
  color: var(--gold);
}

.service-hero,
.candidate-hero {
  width: min(100%, 1440px);
  min-height: 520px;
  margin: 0 auto;
  padding: 64px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 60px;
  align-items: center;
}

.service-hero.dark {
  background: var(--navy);
}

.candidate-services-page .candidate-hero {
  background: var(--cream);
  color: var(--navy);
}

.service-hero h1,
.candidate-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
}

.service-hero p,
.candidate-hero p {
  max-width: 820px;
  font-size: 23px;
  line-height: 1.5;
}

.service-hero img,
.candidate-hero img {
  width: 100%;
  max-width: 430px;
  height: 430px;
  justify-self: center;
  border-radius: 6px;
  object-fit: cover;
}

.text-dark-section {
  padding: 56px 40px;
}

.text-dark-section .wrap {
  width: min(100%, 1320px);
  max-width: 1320px;
}

.text-dark-section h2 {
  margin: 0 0 34px;
  text-align: center;
  font-size: clamp(32px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.15;
}

.text-dark-section p,
.text-dark-section li {
  font-size: 17px;
  line-height: 1.65;
}

.temp-mobile-image {
  display: none;
}

.info-row,
.info-row.reverse {
  width: min(100%, 1180px);
  margin: 32px auto;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.info-row.reverse {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.info-row img,
.info-row.reverse img {
  width: 360px;
  height: 220px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.info-row h2 {
  margin: 0 0 24px;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.15;
}

.info-row p,
.info-row li {
  font-size: 17px;
  line-height: 1.65;
}

/* Client Services */
.candidate-services-page main {
  background: var(--cream);
  color: var(--navy);
}

.client-services-page main {
  background: var(--navy);
  color: var(--gold);
}

.client-hero-panel,
.client-cost-panel {
  width: 100%;
  margin: 0 auto 34px;
  padding: 44px max(24px, calc((100% - 980px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 300px;
  gap: 44px;
  align-items: center;
  background: var(--cream);
  color: var(--navy);
}

.client-hero-panel {
  margin-top: 0;
}

.client-cost-panel {
  margin-bottom: 0;
}

.client-hero-panel h1,
.client-cost-panel h2,
.client-detail-copy h2,
.client-service-card h2 {
  margin: 0 0 16px;
  color: inherit;
  font-weight: 400;
  line-height: 1.12;
  text-transform: none;
}

.client-hero-panel h1 {
  color: var(--navy);
  font-size: clamp(34px, 3.4vw, 48px);
}

.client-cost-panel h2 {
  color: var(--navy);
  font-size: clamp(28px, 2.8vw, 38px);
}

.client-detail-copy h2 {
  color: var(--gold);
  font-size: clamp(28px, 2.8vw, 38px);
}

.client-hero-panel p,
.client-cost-panel p,
.client-service-card p,
.client-detail-copy p {
  font-size: 17px;
  line-height: 1.62;
}

.client-hero-panel .eyebrow,
.client-cost-panel .eyebrow {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 14px;
  text-transform: uppercase;
}

.client-hero-panel img,
.client-cost-panel img,
.client-service-card img,
.client-detail-image img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.client-hero-panel img,
.client-cost-panel img {
  height: 220px;
}

.client-service-grid {
  width: min(100% - 48px, 980px);
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.client-service-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.client-service-card img {
  height: 130px;
}

.client-service-card h2 {
  font-size: 23px;
  text-transform: uppercase;
}

.client-detail-section {
  width: min(100% - 48px, 980px);
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.client-detail-section.reverse {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.client-detail-section.reverse .client-detail-image {
  order: 2;
}

.client-detail-image img {
  height: 230px;
}

.client-cost-panel .btn {
  margin-top: 8px;
}

.candidate-vacancies-cta {
  padding: 10px 24px 58px;
  background: var(--cream);
  text-align: center;
}

.candidate-vacancies-cta .btn {
  min-width: 240px;
}

/* Forms and Branches */
.contact-band {
  padding: 46px 24px;
  background: var(--navy);
  color: var(--gold);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.85fr);
  gap: 56px;
  align-items: start;
}

.contact-band h1,
.contact-band h2 {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 29px;
  font-weight: 400;
}

.contact-band p {
  color: var(--gold);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 46px;
  padding: 13px 14px;
  border: 0;
  border-radius: 4px;
  background: #f5f5f5;
  color: var(--text);
}

.contact-form textarea {
  grid-column: 1 / -1;
  min-height: 100px;
  resize: vertical;
}

.contact-form .full,
.contact-form .contact-actions,
.form-status {
  grid-column: 1 / -1;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.contact-form button {
  justify-self: center;
  background: transparent;
  box-shadow: none;
}

.contact-form input[aria-hidden="true"] {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
}

.contact-form .job-reference-field {
  grid-column: 1 / -1;
  border: 1px solid rgba(180, 138, 90, 0.45);
  background: rgba(180, 138, 90, 0.12);
  font-weight: 700;
}

.cv-upload {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold);
  cursor: pointer;
}

.cv-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.cv-upload svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: #fff;
}

.cv-upload strong {
  color: #fff;
}

.cv-upload span {
  font-size: 13px;
}

.form-status {
  min-height: 24px;
  margin: 16px auto 0;
  color: var(--gold);
  text-align: center;
}

.form-status:empty {
  display: none;
}

.form-status.success {
  color: #fff;
}

.form-status.error {
  color: #ffb4a8;
}

.branches {
  padding: 28px 24px;
}

.branch-card {
  padding: 28px 26px;
  background: var(--navy);
  color: var(--gold);
  text-align: center;
}

.branch-card img {
  width: 100%;
  height: 255px;
  margin-bottom: 24px;
  object-fit: cover;
}

.branch-card h3,
.branch-card p {
  color: var(--gold);
}

/* Online Registration */
.register-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
}

.reg-image {
  min-height: 720px;
  padding: 36px 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--cream);
}

.reg-image img {
  width: min(88%, 690px);
  max-height: 660px;
  object-fit: contain;
}

.reg-text {
  min-height: 720px;
  padding: 78px 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: var(--navy);
  color: var(--gold);
}

.reg-text h2 {
  margin: 0 0 34px;
  color: var(--gold);
  font-size: clamp(30px, 3vw, 34px);
  line-height: 1.08;
  text-transform: uppercase;
}

.reg-text p {
  max-width: 760px;
  color: var(--gold);
  font-size: 18px;
  line-height: 1.55;
}

.reg-text .btn {
  min-width: 300px;
  margin-top: 4px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.registration-form-band {
  padding: 56px 24px 68px;
  background: var(--navy);
}

.registration-form-band .wrap {
  max-width: 1160px;
}

.registration-form-band h2 {
  margin: 0 0 28px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: clamp(34px, 4vw, 42px);
  font-weight: 400;
  text-align: center;
}

.registration-intro {
  max-width: 760px;
  margin: -10px auto 30px;
  color: #fff;
  text-align: center;
}

.registration-intro p {
  margin: 0 0 10px;
  color: inherit;
  font-size: 17px;
  line-height: 1.55;
}

.online-registration-page .contact-form textarea {
  min-height: 115px;
}

/* Jobs */
.jobs-hero {
  padding: 40px 24px 34px;
  background: var(--cream);
  text-align: center;
}

.jobs-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(38px, 4vw, 48px);
}

.jobs-hero p {
  max-width: 760px;
  margin: 0 auto;
}

.job-filter {
  width: 100%;
  max-width: 1120px;
  margin: 18px auto 0;
  padding: 26px 36px;
  border-radius: 4px;
  background: #f4f4f4;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}

.job-search-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.job-search-row > *,
.check-grid > *,
.job-type-columns > * {
  min-width: 0;
}

.job-filter input,
.job-filter select {
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid #bbb;
  border-radius: 4px;
  background: #fff;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  text-align: left;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px 40px;
  margin-top: 12px;
}

.job-type-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 18px 34px;
  margin-top: 12px;
}

.job-type-column .check-list {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 0;
}

.job-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  min-height: 24px;
}

.job-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 2px;
  accent-color: var(--navy);
  position: static;
}

.job-check span {
  display: inline-block;
  line-height: 1.35;
}

.latest-jobs-section {
  background: var(--cream);
  padding: 48px 28px 62px;
}

.latest-jobs-section .wrap {
  width: min(100%, 1460px);
  max-width: 1460px;
}

.jobs-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 26px;
}

.latest-title {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 400;
  line-height: 1.05;
}

#jobCount,
.jobs-list-header small {
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}

.job-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 38px;
}

.job-card {
  position: relative;
  min-height: 300px;
  padding: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: var(--navy);
  background-image:
    linear-gradient(90deg, rgba(9, 14, 46, 0.7), rgba(9, 14, 46, 0.48)),
    var(--job-bg, url("../images/stock/photo-1492168732976-2676c584c675.jpg"));
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.job-card-content {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
}

.job-card h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(27px, 2.2vw, 36px);
  line-height: 1.12;
}

.job-card p {
  margin: 0 0 11px;
  color: #fff;
  font-size: 17px;
}

.job-card .btn {
  min-width: 132px;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
}

.job-card .btn:hover {
  background: #fff;
  color: var(--navy);
}

.jobs-empty {
  margin: 24px 0;
  color: var(--navy);
  text-align: center;
}

.jobs-empty[hidden] {
  display: none;
}

.jobs-register-cta {
  margin-top: 34px;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--navy), #0b1238);
  color: #fff;
  box-shadow: var(--shadow);
}

.jobs-register-cta h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 30px;
  font-weight: 400;
}

.jobs-register-cta p {
  color: #fff;
}

.jobs-register-cta .btn {
  min-width: 230px;
  border-color: var(--gold);
  background: var(--gold);
}

.job-detail {
  padding: 42px 24px 70px;
  background: var(--cream);
}

.job-detail-wrap {
  max-width: 1160px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.job-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: center;
  margin-bottom: 42px;
  padding: 42px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
}

.job-detail-hero h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
}

.job-detail-hero img {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  object-fit: cover;
}

.job-category,
.job-reference {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 800;
}

.job-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.job-meta dt {
  color: var(--gold);
  font-weight: 800;
}

.job-meta dd {
  margin: 0;
}

.job-detail-content {
  max-width: 860px;
  margin: 0 auto;
}

.job-detail-content h2,
.job-detail-content h3 {
  margin: 28px 0 12px;
  color: var(--navy);
}

/* Footer */
.site-footer {
  padding: 26px 18px 28px;
  border: 0;
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.footer-company {
  max-width: 1000px;
  margin: 0 auto 18px;
  color: var(--gold);
  font-size: 13px;
}

.footer-row {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-row p {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 34px;
}

.footer-social a {
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.footer-social svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

/* Tablet and Mobile */
@media (max-width: 1100px) {
  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 700;
    background: rgba(9, 14, 46, 0.36);
  }

  .site-header {
    z-index: 900;
  }

  .nav-wrap {
    min-height: 86px;
    padding: 12px 16px;
  }

  .brand img {
    width: clamp(145px, 48vw, 210px);
  }

  .menu-btn {
    position: relative;
    z-index: 930;
    display: block;
  }

  .menu-btn[aria-expanded="true"] {
    position: fixed;
    top: 18px;
    right: 18px;
    background: var(--navy);
    border-color: var(--navy);
  }

  .menu-btn[aria-expanded="true"] span {
    background: #fff;
  }

  .nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 920;
    max-height: min(78vh, 620px);
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border: 1px solid rgba(9, 14, 46, 0.12);
    border-radius: 22px;
    background: var(--cream);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(28px);
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    width: 100%;
    min-height: 48px;
    padding: 13px 14px;
    border-radius: 13px;
    color: var(--navy);
  }

  .nav a.active {
    padding: 13px 14px;
  }

  .grid-2,
  .grid-3,
  .contact-layout,
  .job-list,
  .register-split,
  .client-hero-panel,
  .client-cost-panel,
  .client-service-grid,
  .client-service-card,
  .client-detail-section,
  .client-detail-section.reverse,
  .service-hero,
  .candidate-hero,
  .info-row,
  .info-row.reverse,
  .job-detail-hero,
  .job-meta {
    grid-template-columns: 1fr;
  }

  .service-hero,
  .candidate-hero {
    min-height: unset;
    padding: 42px 22px;
    gap: 28px;
  }

  .service-hero p,
  .candidate-hero p {
    font-size: 18px;
  }

  .service-hero img,
  .candidate-hero img {
    max-width: 100%;
    height: 320px;
  }

  .client-hero-panel,
  .client-cost-panel,
  .client-service-grid,
  .client-detail-section,
  .client-detail-section.reverse {
    width: min(100% - 32px, 680px);
  }

  .client-hero-panel,
  .client-cost-panel {
    width: 100%;
  }

  .client-hero-panel,
  .client-cost-panel {
    padding: 34px 22px;
    gap: 24px;
  }

  .client-hero-panel img,
  .client-cost-panel img,
  .client-detail-image img {
    height: 240px;
  }

  .client-service-card {
    gap: 16px;
  }

  .client-service-card img {
    height: 220px;
  }

  .client-detail-section.reverse .client-detail-image {
    order: 0;
  }

  .mod-page .home-services .card-img {
    height: clamp(230px, 42vw, 320px);
    object-position: center top;
  }

  .reviews-showcase {
    --review-off-left: translate(-150%, 18px) scale(0.9);
    --review-left: translate(-105%, 18px) scale(0.92);
    --review-center: translate(-50%, 0) scale(1);
    --review-right: translate(5%, 18px) scale(0.92);
    --review-off-right: translate(50%, 18px) scale(0.9);
    min-height: unset;
    padding: 32px 22px 50px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reviews-copy h2 {
    font-size: 32px;
  }

  .reviews-copy p,
  .reviews-copy li {
    font-size: 18px;
  }

  .reviews-stage {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 8px;
    min-height: 292px;
  }

  .review-stack {
    min-height: 282px;
  }

  .google-review-card {
    padding: 16px;
  }

  .google-review-card.featured {
    width: min(100%, 228px);
    transform: var(--review-center);
  }

  .google-review-card.left,
  .google-review-card.right {
    width: 200px;
    top: 28px;
  }

  .google-review-card.left {
    transform: var(--review-left);
  }

  .google-review-card.right {
    transform: var(--review-right);
  }

  .google-review-card > p {
    font-size: 15px;
  }

  .review-head {
    grid-template-columns: 40px minmax(0, 1fr) 18px;
    gap: 10px;
  }

  .review-head h3 {
    font-size: 20px;
  }

  .review-avatar {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .stars {
    font-size: 19px;
    letter-spacing: 1px;
  }

  .review-arrow {
    width: 34px;
    height: 34px;
    font-size: 28px;
  }

  .info-row,
  .info-row.reverse {
    gap: 22px;
    padding: 28px 22px;
  }

  .info-row.reverse img {
    order: -1;
  }

  .temp-mobile-image {
    display: block;
    margin: 0 auto 24px;
  }

  .temp-mobile-image img {
    width: 100%;
    height: 260px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: var(--shadow);
  }

  .desktop-temp-image {
    display: none;
  }

  .info-row img,
  .info-row.reverse img {
    width: 100%;
    height: 240px;
  }

  .register-split:nth-of-type(2) .reg-image {
    order: -1;
  }

  .reg-image,
  .reg-text {
    min-height: auto;
  }

  .reg-image {
    padding: 34px 20px;
  }

  .reg-text {
    padding: 44px 24px;
  }

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

  .job-search-row,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .jobs-list-header,
  .jobs-register-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .wrap,
  .wide {
    width: min(100% - 32px, 1160px);
  }

  .rule {
    width: min(100% - 32px, 1620px);
  }

  .contact-form,
  .check-list,
  .job-type-columns {
    grid-template-columns: 1fr;
  }

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

  .contact-actions .btn,
  .cv-upload {
    width: 100%;
    justify-content: center;
  }

  .job-filter,
  .jobs-register-cta,
  .job-detail-hero {
    padding: 22px;
  }

  .jobs-hero {
    padding-right: 16px;
    padding-left: 16px;
  }

  .jobs-hero p,
  .job-filter {
    max-width: calc(100vw - 32px);
  }

  .job-card {
    min-height: 260px;
  }

  .reviews-showcase {
    --review-off-left: translate(-126%, 14px) scale(0.9);
    --review-left: translate(-84%, 14px) scale(0.9);
    --review-center: translate(-50%, 0) scale(1);
    --review-right: translate(-16%, 14px) scale(0.9);
    --review-off-right: translate(26%, 14px) scale(0.9);
    padding: 28px 14px 42px;
    overflow: hidden;
  }

  .reviews-copy {
    max-width: 330px;
    margin: 0 auto;
    text-align: center;
  }

  .reviews-copy h2 {
    max-width: none;
    font-size: 30px;
  }

  .reviews-copy p {
    font-size: 16px;
  }

  .reviews-stage {
    min-height: 276px;
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 4px;
  }

  .review-stack {
    min-height: 266px;
  }

  .google-review-card {
    width: 218px;
    min-height: 196px;
    padding: 14px;
  }

  .google-review-card.left,
  .google-review-card.right {
    width: 186px;
    top: 32px;
  }

  .google-review-card > p {
    font-size: 14px;
    line-height: 1.35;
  }

  .review-head {
    grid-template-columns: 36px minmax(0, 1fr) 16px;
    gap: 8px;
  }

  .review-head h3 {
    font-size: 17px;
  }

  .review-head p {
    font-size: 13px;
  }

  .review-avatar {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .stars {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .review-arrow {
    width: 30px;
    height: 30px;
    font-size: 24px;
  }

  .site-footer p {
    font-size: 12px;
  }
}
