/* =========================================================
   RECRUITMENT WEBSITE TEMPLATE — MAIN STYLESHEET
   ---------------------------------------------------------
   CUSTOMISE: Change the variables in :root to rebrand the
   whole site (colours, fonts, radius, spacing, widths).
   ========================================================= */

:root {
  /* Brand colours */
  --color-primary: #13285a;        /* main brand colour (buttons, links) */
  --color-primary-dark: #0b1a3d;   /* hover state */
  --color-accent: #a8803a;         /* highlight colour */
  --color-dark: #0d1c3f;           /* headings, dark sections */
  --color-text: #36405a;           /* body text */
  --color-muted: #6b7286;          /* secondary text */
  --color-bg: #ffffff;             /* page background */
  --color-bg-alt: #f7f4ee;         /* alternate section background */
  --color-border: #e6e1d6;
  --color-success: #16a34a;
  --color-error: #dc2626;

  /* Typography */
  --font-heading: "Marcellus", "Times New Roman", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Layout */
  --container-width: 1180px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 16px 40px rgba(15, 23, 42, 0.14);
  --section-padding: 96px;
  --header-height: 76px;
  --transition: 0.25s ease;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-dark); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 400; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 400; }
h3 { font-size: 1.25rem; font-weight: 400; letter-spacing: 0.01em; }
h1, h2 { text-wrap: balance; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.section { padding: var(--section-padding) 0; }
.section--alt { background: var(--color-bg-alt); }
.section--dark { background: var(--color-dark); color: #cbd5e1; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--color-muted); font-size: 1.08rem; margin-top: 14px; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--color-accent); margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: 2px solid transparent; cursor: pointer; transition: all var(--transition);
  font-family: inherit;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-dark); color: #fff; transform: translateY(-2px); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { filter: brightness(0.94); color: #fff; transform: translateY(-2px); }
.btn--outline { border-color: var(--color-primary); color: var(--color-primary); background: transparent; }
.btn--outline:hover { background: var(--color-primary); color: #fff; }
.btn--light { background: #fff; color: var(--color-primary); }
.btn--light:hover { background: #f3eee3; color: var(--color-primary-dark); }
.btn--block { width: 100%; }

/* ---------- Header / navigation ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; height: var(--header-height);
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow var(--transition), border-color var(--transition);
}
.header.is-scrolled { box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06); border-color: var(--color-border); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: flex; align-items: center; gap: 12px; color: var(--color-dark); }
.logo:hover { color: var(--color-dark); }
.logo__img { height: 48px; width: auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-heading); font-size: 1.45rem; letter-spacing: 0.14em; color: var(--color-primary); }
.logo__sub { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-accent); margin-top: 5px; }
.footer .logo__img { height: 44px; background: #fff; border-radius: 10px; padding: 5px; }
.footer .logo__name { color: #fff; }
.logo span.highlight { color: var(--color-primary); }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 30px; }
.nav__link { display: inline-block; color: var(--color-dark); font-weight: 500; position: relative; padding: 6px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--color-primary); transition: width var(--transition);
}
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--color-primary); }
.nav__link--cta { background: var(--color-primary); color: #fff; padding: 10px 24px; border-radius: 999px; }
.nav__link--cta:hover, .nav__link--cta.is-active { background: var(--color-primary-dark); color: #fff; }
.nav__link--cta::after { display: none; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 10px; width: 24px; height: 2px; background: var(--color-dark); transition: all var(--transition); content: "";
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 90px 0 110px;
  background: radial-gradient(circle at 85% 20%, rgba(168, 128, 58, 0.15), transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(19, 40, 90, 0.12), transparent 45%),
              var(--color-bg-alt);
}
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero__lead { font-size: 1.15rem; color: var(--color-muted); margin: 22px 0 34px; max-width: 540px; }
.hero h1 .highlight { color: var(--color-accent); display: block; }

.search-box {
  display: flex; gap: 10px; background: #fff; padding: 10px; border-radius: 999px; box-shadow: var(--shadow); max-width: 580px;
}
.search-box input, .search-box select {
  flex: 1; border: 0; outline: none; padding: 10px 16px; font: inherit; color: var(--color-dark); background: transparent; min-width: 0;
}
.search-box select { flex: 0 0 auto; border-left: 1px solid var(--color-border); cursor: pointer; }
.hero__tags { margin-top: 22px; font-size: 0.9rem; color: var(--color-muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px; background: #fff;
  border: 1px solid var(--color-border); font-size: 0.82rem; color: var(--color-text); cursor: pointer; transition: all var(--transition);
}
.tag:hover { border-color: var(--color-primary); color: var(--color-primary); }

.hero__visual { position: relative; }
.hero__card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px;
}
.hero__card + .hero__card { margin-top: 18px; }
.hero__card--float { position: absolute; right: -24px; bottom: -70px; width: 230px; animation: float 5s ease-in-out infinite; }
.mini-profile { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--color-primary), #3b5a9a);
}
.avatar--alt { background: linear-gradient(135deg, var(--color-accent), #d4b07a); }
.avatar--green { background: linear-gradient(135deg, #10b981, #6ee7b7); }
.mini-profile small { color: var(--color-muted); display: block; }
.progress { height: 8px; border-radius: 99px; background: var(--color-bg-alt); margin-top: 18px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--color-primary), var(--color-accent)); border-radius: inherit; }
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600;
  background: rgba(22, 163, 74, 0.1); color: var(--color-success);
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 80px 0; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary-dark) 100%);
}
.page-hero h1 { color: #fff; }
.page-hero p { max-width: 620px; margin: 16px auto 0; color: #cbd5e1; font-size: 1.1rem; }
.breadcrumb { font-size: 0.9rem; margin-bottom: 14px; color: #94a3b8; }
.breadcrumb a { color: #fff; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 24px; }
.stat__number { font-family: var(--font-heading); font-size: 2.6rem; font-weight: 700; color: var(--color-primary); }
.section--dark .stat__number { color: #fff; }
.stat__label { color: var(--color-muted); }
.section--dark .stat__label { color: #94a3b8; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 32px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.card h3 { margin: 18px 0 10px; }
.card p { color: var(--color-muted); }
.card__link { display: inline-flex; gap: 6px; margin-top: 18px; font-weight: 600; }

.icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(19, 40, 90, 0.1); color: var(--color-primary);
}
.icon svg { width: 26px; height: 26px; }
.icon--accent { background: rgba(168, 128, 58, 0.12); color: var(--color-accent); }

/* ---------- Job listings ---------- */
.jobs-toolbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--color-border); background: #fff;
  font: inherit; font-weight: 500; cursor: pointer; transition: all var(--transition); color: var(--color-text);
}
.filter-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter-btn.is-active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

.job {
  display: flex; align-items: center; gap: 20px; background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 22px 26px; transition: all var(--transition);
}
.job:hover { box-shadow: var(--shadow); border-color: transparent; }
.job + .job { margin-top: 14px; }
.job__logo {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  font-weight: 700; font-family: var(--font-heading); background: var(--color-bg-alt); color: var(--color-primary);
}
.job__info { flex: 1; min-width: 0; }
.job__info h3 { font-size: 1.08rem; margin-bottom: 4px; }
.job__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.88rem; color: var(--color-muted); }
.job__type { font-size: 0.78rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: rgba(19, 40, 90, 0.08); color: var(--color-primary); white-space: nowrap; }
.job .btn { padding: 10px 20px; }
.jobs-empty { text-align: center; color: var(--color-muted); padding: 30px; display: none; }

/* ---------- Steps / process ---------- */
.steps { counter-reset: step; }
.step { position: relative; text-align: center; padding: 20px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}
.step p { color: var(--color-muted); margin-top: 8px; }

/* ---------- Split (text + visual) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split__visual { order: -1; }
.split__visual {
  border-radius: var(--radius-lg); min-height: 380px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary) 0%, #3b5a9a 60%, var(--color-accent) 130%);
  display: grid; place-items: center; color: rgba(255,255,255,0.9);
}
.split__visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.split__visual .placeholder-label { font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 700;
  background: rgba(22, 163, 74, 0.12); color: var(--color-success);
}
.split h2 { margin-bottom: 18px; }
.split .btn { margin-top: 20px; }

/* ---------- Testimonials ---------- */
.slider { position: relative; max-width: 780px; margin: 0 auto; overflow: hidden; }
.slider__track { display: flex; transition: transform 0.5s ease; }
.testimonial { flex: 0 0 100%; text-align: center; padding: 10px 20px; }
.testimonial blockquote { font-size: 1.25rem; font-style: italic; color: var(--color-dark); margin-bottom: 28px; }
.section--dark .testimonial blockquote { color: #fff; }
.testimonial .mini-profile { justify-content: center; text-align: left; }
.slider__dots { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }
.slider__dots button {
  width: 10px; height: 10px; border-radius: 99px; border: 0; background: var(--color-border); cursor: pointer; transition: all var(--transition);
}
.slider__dots button.is-active { width: 30px; background: var(--color-primary); }

/* ---------- Pricing / plans ---------- */
.plan { text-align: center; position: relative; }
.plan--featured { border: 2px solid var(--color-primary); }
.plan__ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--color-primary); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 4px 14px; border-radius: 999px;
}
.plan__price { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700; color: var(--color-dark); margin: 12px 0; }
.plan__price small { font-size: 0.95rem; color: var(--color-muted); font-weight: 400; }
.plan .checklist { text-align: left; margin: 22px 0 28px; }

/* ---------- Team ---------- */
.team-member { text-align: center; }
.team-member .avatar { width: 110px; height: 110px; margin: 0 auto; font-size: 1.8rem; }
.team-member h3 { margin: 18px 0 4px; }
.team-member .role { color: var(--color-primary); font-size: 0.92rem; font-weight: 500; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--color-border); }
.timeline__item { position: relative; padding-bottom: 36px; }
.timeline__item::before {
  content: ""; position: absolute; left: -34px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 4px solid var(--color-primary);
}
.timeline__year { font-weight: 700; color: var(--color-primary); font-family: var(--font-heading); }
.timeline__item p { color: var(--color-muted); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; margin-bottom: 14px; overflow: hidden; }
.faq__question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; background: none; border: 0; text-align: left; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--color-dark); font-size: 1.02rem;
}
.faq__question::after { content: "+"; font-size: 1.5rem; color: var(--color-primary); transition: transform var(--transition); }
.faq__item.is-open .faq__question::after { transform: rotate(45deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq__answer p { padding: 0 24px 22px; color: var(--color-muted); }

/* ---------- CTA band ---------- */
.cta {
  border-radius: var(--radius-lg); padding: 64px; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); right: -80px; top: -120px;
}
.cta h2 { color: #fff; }
.cta p { color: #d9dfec; max-width: 560px; margin: 14px auto 30px; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; position: relative; z-index: 1; }
.cta .btn--outline { border-color: #fff; color: #fff; }
.cta .btn--outline:hover { background: #fff; color: var(--color-primary); }

/* ---------- Marquee ----------
   CUSTOMISE: edit the items in the HTML; speed is --marquee-speed. */
.marquee {
  --marquee-speed: 40s;
  background: var(--color-primary); color: #fff; padding-block: 22px; overflow: hidden;
  border-top: 3px solid var(--color-accent); border-bottom: 3px solid var(--color-accent);
}
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-speed) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item { font-family: var(--font-heading); font-size: 1.35rem; letter-spacing: 0.08em; white-space: nowrap; padding: 0 28px; }
.marquee__item::after {
  content: ""; display: inline-block; width: 9px; height: 9px; background: var(--color-accent);
  transform: rotate(45deg); margin-left: 56px; vertical-align: middle;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Clients / logos ---------- */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 56px; opacity: 0.65; }
.logos span { font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; color: var(--color-muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info .card { padding: 24px; display: flex; gap: 18px; align-items: flex-start; }
.contact-info .card:hover { transform: none; }
.contact-info .card + .card { margin-top: 16px; }
.contact-info h3 { margin: 0 0 4px; font-size: 1.05rem; }
.contact-info p { margin: 0; }

.form { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 40px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__group { margin-bottom: 18px; }
.form__group label { display: block; font-weight: 500; color: var(--color-dark); margin-bottom: 6px; font-size: 0.94rem; }
.form__group input, .form__group select, .form__group textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--color-border); border-radius: 10px;
  font: inherit; color: var(--color-dark); background: #fff; transition: border-color var(--transition), box-shadow var(--transition);
}
.form__group input:focus, .form__group select:focus, .form__group textarea:focus {
  outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(19, 40, 90, 0.12);
}
.form__group textarea { resize: vertical; min-height: 130px; }
.form__group.has-error input, .form__group.has-error select, .form__group.has-error textarea { border-color: var(--color-error); }
.form__error { display: none; color: var(--color-error); font-size: 0.84rem; margin-top: 5px; }
.form__group.has-error .form__error { display: block; }
.form__tabs { display: flex; gap: 8px; background: var(--color-bg-alt); padding: 6px; border-radius: 999px; margin-bottom: 26px; }
.form__tabs button {
  flex: 1; padding: 10px; border: 0; border-radius: 999px; background: none; cursor: pointer; font: inherit; font-weight: 600; color: var(--color-muted);
}
.form__tabs button.is-active { background: #fff; color: var(--color-primary); box-shadow: 0 2px 8px rgba(15,23,42,0.08); }
.form__success {
  display: none; padding: 16px 20px; border-radius: 10px; margin-bottom: 20px;
  background: rgba(22, 163, 74, 0.1); color: var(--color-success); font-weight: 500;
}
.form__success.is-visible { display: block; }

.map {
  margin-top: 16px; border-radius: var(--radius-lg); overflow: hidden; min-height: 240px;
  background: repeating-linear-gradient(45deg, #efe9dc, #efe9dc 12px, #f7f4ee 12px, #f7f4ee 24px);
  display: grid; place-items: center; color: var(--color-muted);
}
.map iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--color-dark); color: #94a3b8; padding: 72px 0 0; font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; }
.footer a { color: #94a3b8; }
.footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 0.85rem; font-weight: 600;
}
.socials a:hover { background: var(--color-primary); color: #fff; }
.newsletter { display: flex; margin-top: 14px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,0.08); }
.newsletter input { flex: 1; min-width: 0; padding: 12px 16px; border: 0; background: transparent; color: #fff; font: inherit; outline: none; }
.newsletter button { border: 0; padding: 0 18px; background: var(--color-primary); color: #fff; font-weight: 600; cursor: pointer; font: inherit; }
.footer__bottom {
  margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.88rem;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--color-primary); color: #fff; font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--transition); z-index: 90;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Scroll reveal ---------- */
.reveal { transform: translateY(16px); transition: transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.muted { color: var(--color-muted); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  :root { --section-padding: 76px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-height); left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; padding: 20px; border-bottom: 1px solid var(--color-border);
    box-shadow: 0 20px 30px rgba(15,23,42,0.08); transform: translateY(-120%); transition: transform 0.35s ease; z-index: -1;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: block; padding: 14px 0; border-bottom: 1px solid var(--color-border); }
  .nav__link::after { display: none; }
  .nav__link--cta { margin-top: 16px; text-align: center; border-bottom: 0; padding: 12px 24px; }

  .hero .container, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; }
  .split--reverse .split__visual { order: 0; }
  .split__visual { min-height: 280px; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  :root { --section-padding: 60px; }
  .grid--2, .grid--3, .grid--4, .footer__grid, .form__row { grid-template-columns: 1fr; }
  .search-box { flex-direction: column; border-radius: var(--radius); }
  .search-box select { border-left: 0; border-top: 1px solid var(--color-border); }
  .hero__card--float { position: static; width: auto; margin-top: 18px; animation: none; }
  .job { flex-wrap: wrap; }
  .job .btn { width: 100%; }
  .cta { padding: 44px 24px; }
  .form { padding: 26px 20px; }
}

/* =========================================================
   HR CONSULTING & RECRUITMENT ADDITIONS
   ========================================================= */

/* ---------- Services dropdown ---------- */
.nav__item--has-menu { position: relative; }
.nav__list { align-items: center; }
.nav__parent {
  display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; cursor: pointer;
  font: inherit; line-height: inherit; font-weight: 500; color: var(--color-dark); padding: 6px 0; position: relative;
}
/* underline: same as the other menu links */
.nav__parent::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--color-primary); transition: width var(--transition);
}
.nav__parent:hover::after, .nav__parent.is-active::after, .nav__item--has-menu:hover .nav__parent::after { width: 100%; }
.nav__parent:hover, .nav__parent.is-active { color: var(--color-primary); }
.nav__caret {
  width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform var(--transition);
}
.nav__item--has-menu:hover .nav__caret, .nav__item--has-menu.is-open .nav__caret { transform: translateY(1px) rotate(225deg); }
.dropdown {
  position: absolute; top: calc(100% + 16px); left: -20px; width: 290px; padding: 8px; background: #fff;
  border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-hover);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--transition); z-index: 120;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav__item--has-menu:hover .dropdown, .nav__item--has-menu:focus-within .dropdown, .nav__item--has-menu.is-open .dropdown {
  opacity: 1; visibility: visible; transform: none;
}
.dropdown__link { display: block; padding: 12px 14px; border-radius: 8px; color: var(--color-dark); border-left: 3px solid transparent; }
.dropdown__link strong { display: block; font-weight: 600; }
.dropdown__link span { display: block; font-size: 0.84rem; color: var(--color-muted); margin-top: 2px; }
.dropdown__link:hover, .dropdown__link.is-active { background: var(--color-bg-alt); color: var(--color-primary); border-left-color: var(--color-accent); }

/* ---------- Hero highlight cards ---------- */
.highlight { display: flex; align-items: center; gap: 16px; }
.highlight .icon { flex-shrink: 0; }
.highlight strong { display: block; color: var(--color-dark); font-size: 1.05rem; }
.highlight small { color: var(--color-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Image placeholder (replace with <img>) ---------- */
.media {
  border-radius: var(--radius); background: linear-gradient(135deg, var(--color-primary) 0%, #3b5a9a 65%, var(--color-accent) 140%);
  aspect-ratio: 16 / 9; max-width: 100%; display: grid; place-items: center; padding: 20px; text-align: center;
  color: rgba(255,255,255,0.85); font-size: 0.82rem; letter-spacing: 0.04em; position: relative; overflow: hidden;
}
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__visual .placeholder-label { max-width: 80%; text-align: center; text-transform: none; letter-spacing: 0.02em; line-height: 1.5; }

/* ---------- Two service paths ---------- */
.path { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.path .media { border-radius: 0; }
.path__body { padding: 30px 32px 32px; display: flex; flex-direction: column; flex: 1; }
.path__body h3 { margin: 0 0 10px; font-size: 1.6rem; }
.path__body .checklist { margin: 18px 0 6px; }
.path__body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Feature list (icon + title + text) ---------- */
.feature { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); }
.feature .icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; }
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; margin: 2px 0 4px; }
.feature p { color: var(--color-muted); font-size: 0.93rem; }
.feature--simple { align-items: center; }
.feature--simple h3 { margin: 0; }

/* ---------- Engagement model ---------- */
.phases { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.phase { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 36px; border-top: 4px solid var(--color-accent); }
.phase--two { border-top-color: var(--color-primary); }
.phase__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.phase__label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent); }
.duration { padding: 6px 14px; border-radius: 999px; background: rgba(19, 40, 90, 0.08); color: var(--color-primary); font-weight: 600; font-size: 0.85rem; white-space: nowrap; }
.phase h3 { font-size: 1.55rem; margin-bottom: 10px; }
.phase > p { color: var(--color-muted); }
.phase h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-dark); margin: 24px 0 12px; }
.renewal {
  margin-top: 28px; padding: 30px 36px; border-radius: var(--radius-lg); background: var(--color-primary); color: #d9dfec;
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center;
}
.renewal .icon { background: rgba(255,255,255,0.1); color: var(--color-accent); }
.renewal h3 { color: #fff; margin-bottom: 6px; }
.renewal p + p { margin-top: 8px; }

/* Compact 3-step summary */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: flow; }
.flow__step { position: relative; padding: 30px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.flow__step::before {
  counter-increment: flow; content: counter(flow, decimal-leading-zero); font-family: var(--font-heading); font-size: 2.2rem; color: var(--color-accent); line-height: 1; display: block; margin-bottom: 14px;
}
.flow__step h3 { margin-bottom: 4px; }
.flow__step .duration { display: inline-block; margin: 8px 0 12px; }
.flow__step p { color: var(--color-muted); }

/* ---------- Checklist variants ---------- */
.checklist--cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 48px; }
.section--dark .checklist li { color: #e2e8f0; font-size: 1.05rem; }
.section--dark .checklist li::before { background: rgba(168, 128, 58, 0.22); color: #d4b07a; }
.why { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.why p { color: #aab4c8; margin-top: 16px; }

/* ---------- Steps variants ---------- */
.grid--5 { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step h3 { font-size: 1.12rem; }

/* ---------- Industry tiles ---------- */
.tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.tile { padding: 12px 22px; border: 1px solid var(--color-border); border-radius: 999px; background: #fff; font-weight: 500; color: var(--color-dark); }

/* ---------- Slim banner ---------- */
.banner {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 32px 40px; border-radius: var(--radius-lg); background: var(--color-bg-alt); border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
}
.banner p { color: var(--color-dark); font-size: 1.08rem; max-width: 640px; }

/* ---------- Leadership profile ---------- */
.profile { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: center; }
.profile__photo { aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius-lg); background: linear-gradient(160deg, #3b5a9a, var(--color-primary)); display: grid; place-items: center; color: rgba(255,255,255,0.85); font-size: 0.85rem; text-align: center; padding: 20px; border-bottom: 5px solid var(--color-accent); }
.profile .role { color: var(--color-accent); font-weight: 600; margin: 6px 0 18px; }

/* Placeholder text the client must replace */
.ph { color: var(--color-accent); font-weight: 600; }

/* Plan card without price */
.plan .icon { margin: 0 auto; }

@media (max-width: 1024px) {
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav { max-height: calc(100vh - var(--header-height)); overflow-y: auto; }
  .nav__item--has-menu { border-bottom: 1px solid var(--color-border); }
  .nav__parent { width: 100%; justify-content: space-between; padding: 14px 0; }
  .nav__parent::after { display: none; }
  .dropdown, .nav__item--has-menu:hover .dropdown, .nav__item--has-menu:focus-within .dropdown {
    position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    padding: 0 0 10px; display: none;
  }
  .nav__item--has-menu.is-open .dropdown { display: block; }
  .dropdown::before { display: none; }
  .phases, .why, .profile { grid-template-columns: 1fr; }
  .profile__photo { max-width: 320px; }
  .renewal { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid--5, .checklist--cols { grid-template-columns: 1fr; }
  .phase, .path__body { padding: 26px 22px; }
  .renewal, .banner { padding: 26px 22px; }
}

/* ---------- Logo descriptor (header only) ---------- */
.logo__tagline {
  margin-left: 6px; padding-left: 16px; border-left: 1px solid var(--color-border);
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 500; line-height: 1.45;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted); white-space: nowrap;
}
@media (max-width: 480px) { .logo__tagline { display: none; } }

/* Mobile menu: fully hidden when closed */
@media (max-width: 860px) {
  .nav { transform: translateY(calc(-100% - var(--header-height))); visibility: hidden; transition: transform 0.35s ease, visibility 0.35s; }
  .nav.is-open { transform: translateY(0); visibility: visible; }
}

/* ---------- Wide Services dropdown (2 columns) ---------- */
@media (min-width: 861px) {
  .dropdown--wide { width: 580px; left: 50%; margin-left: -290px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
}

/* ---------- Hero highlight carousel ---------- */
.hero { overflow: clip; }
.hero .container > *, .hero__visual { min-width: 0; }

.hc { --hc-time: 5s; position: relative; max-width: 470px; margin-left: auto; padding: 0 22px 22px 0; }
/* stacked "deck" layers behind the card */
.hc::before, .hc::after { content: ""; position: absolute; border-radius: 26px; }
.hc::before { inset: 22px 0 0 22px; background: linear-gradient(135deg, var(--color-accent), #d4b07a); opacity: 0.9; }
.hc::after { inset: 11px 11px 11px 11px; background: #3b5a9a; opacity: 0.55; }

.hc__card {
  position: relative; z-index: 1; overflow: hidden; border-radius: 26px; padding: 34px 36px 30px; color: #c9d3e6;
  background: radial-gradient(120% 90% at 100% 0%, rgba(212,176,122,0.22) 0%, rgba(212,176,122,0) 55%),
              linear-gradient(150deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  box-shadow: 0 30px 60px rgba(11, 26, 61, 0.28);
}
.hc__card::after { /* faint ring decoration */
  content: ""; position: absolute; width: 260px; height: 260px; right: -90px; bottom: -110px; border-radius: 50%;
  border: 1px solid rgba(212,176,122,0.25); box-shadow: 0 0 0 40px rgba(255,255,255,0.025);
}
.hc__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.hc__label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #d4b07a; display: inline-flex; align-items: center; gap: 10px; }
.hc__label::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.hc__count { font-size: 0.85rem; color: rgba(255,255,255,0.5); font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.hc__count b { color: #fff; font-weight: 600; }

.hc__slides { display: grid; }
.hc__slide { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; pointer-events: none; }
.hc__slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hc__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(212,176,122,0.14); color: #d4b07a; border: 1px solid rgba(212,176,122,0.35);
}
.hc__icon svg { width: 28px; height: 28px; }
.hc__slide h3 { color: #fff; font-size: 2rem; line-height: 1.15; margin-bottom: 12px; }
.hc__slide p { font-size: 1.02rem; line-height: 1.6; color: #b9c4da; max-width: 34ch; }

.hc__bottom { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; margin-top: 34px; }
.hc__progress { flex: 1; display: flex; gap: 8px; }
.hc__seg { flex: 1; height: 4px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,0.16); cursor: pointer; overflow: hidden; position: relative; }
.hc__seg::before { content: ""; position: absolute; inset: -10px 0; } /* bigger click area */
.hc__seg span { display: block; height: 100%; width: 0; border-radius: inherit; background: #d4b07a; }
.hc__seg.is-done span { width: 100%; }
.hc__seg.is-active span { animation: hc-fill var(--hc-time) linear forwards; }
.hc.is-paused .hc__seg.is-active span { animation-play-state: paused; }
@keyframes hc-fill { from { width: 0; } to { width: 100%; } }

.hc__arrows { display: flex; gap: 8px; }
.hc__arrow {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); color: #fff; transition: all var(--transition);
}
.hc__arrow svg { width: 18px; height: 18px; }
.hc__arrow:hover { background: #d4b07a; border-color: #d4b07a; color: var(--color-primary-dark); }
.hc__arrow:focus-visible, .hc__seg:focus-visible { outline: 2px solid #d4b07a; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .hc__slide { transition: none; transform: none; }
  .hc__seg.is-active span { animation: none; width: 100%; }
}
@media (max-width: 860px) { .hc { margin-left: 0; max-width: 520px; } }
@media (max-width: 600px) {
  .hc { padding: 0 14px 14px 0; }
  .hc::before { inset: 14px 0 0 14px; } .hc::after { inset: 7px; }
  .hc__card { padding: 26px 24px 24px; border-radius: 22px; }
  .hc__slide h3 { font-size: 1.55rem; }
  .hc__top { margin-bottom: 22px; }
}

/* ---------- Contact form states ---------- */
.form__fail { display: none; padding: 16px 20px; border-radius: 10px; margin-bottom: 20px; background: rgba(220, 38, 38, 0.08); color: var(--color-error); font-weight: 500; }
.form__fail.is-visible { display: block; }
.form__fail a { color: inherit; text-decoration: underline; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Centre an incomplete last row of cards (e.g. 5 services in 3 columns) */
@media (min-width: 861px) {
  .grid--center { display: flex; flex-wrap: wrap; justify-content: center; }
  .grid--center > * { flex: 0 0 calc((100% - 56px) / 3); }
}

/* Photo panels: match the photo's shape so nobody gets cut off at the sides */
.split__visual:has(img) { min-height: 0 !important; aspect-ratio: 3 / 2; height: auto; }
@media (min-width: 861px) {
  .dropdown--wide { width: 730px; left: auto; right: -170px; margin-left: 0; }
}

/* ---------- Contact page (phone-first) ---------- */
.contact-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: start; }
.call-panel {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 48px 44px; color: #c9d3e6;
  background: radial-gradient(120% 90% at 100% 0%, rgba(212,176,122,0.22) 0%, rgba(212,176,122,0) 55%),
              linear-gradient(150deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  box-shadow: 0 30px 60px rgba(11, 26, 61, 0.22);
}
.call-panel::after { content: ""; position: absolute; width: 300px; height: 300px; right: -110px; bottom: -130px; border-radius: 50%; border: 1px solid rgba(212,176,122,0.25); box-shadow: 0 0 0 44px rgba(255,255,255,0.025); }
.call-panel__label { display: inline-flex; align-items: center; gap: 10px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #d4b07a; }
.call-panel__label::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.call-panel__number { display: block; margin: 18px 0 14px; font-family: var(--font-heading); font-size: clamp(2rem, 4.2vw, 3rem); color: #fff; letter-spacing: 0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.call-panel__number:hover { color: #d4b07a; }
.call-panel__text { font-size: 1.05rem; max-width: 36ch; }
.call-panel__hours { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,0.08); color: #fff; font-size: 0.92rem; }
.call-panel__hours svg { width: 18px; height: 18px; color: #d4b07a; }
.call-panel__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.call-panel__actions .btn svg { width: 18px; height: 18px; }
.btn--ghost-light { border-color: rgba(255,255,255,0.45); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--color-primary); }

.contact-list { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 18px; align-items: center; padding: 22px 24px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); }
.contact-item h3 { font-size: 1.02rem; margin-bottom: 2px; }
.contact-item p { color: var(--color-muted); overflow-wrap: anywhere; }
.contact-list .map { margin-top: 0; }

@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .call-panel { padding: 34px 24px; } .call-panel__actions .btn { flex: 1 1 100%; } }

/* Tablet & mobile: centre the hero carousel */
@media (max-width: 860px) {
  .hero__visual { max-width: none; width: 100%; }
  .hc { margin-left: auto; margin-right: auto; }
}

/* Tablet only: centre the hero text to line up with the centred carousel */
@media (min-width: 601px) and (max-width: 860px) {
  .hero .container > div:first-child { text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
}

/* ---------- Service explorer (homepage "Our services") ----------
   Desktop: list on the left, large photo panel on the right.
   Phones/tablets: accordion. */
.svx { position: relative; display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 40px; min-height: 540px; }
.svx__list { display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--color-border); }
.svx__item { border-bottom: 1px solid var(--color-border); }
.svx__tab {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  padding: 22px 8px 22px 22px; background: none; border: 0; border-left: 3px solid transparent; cursor: pointer; font: inherit;
  transition: background var(--transition), border-color var(--transition);
}
.svx__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.svx__name { font-family: var(--font-heading); font-size: 1.4rem; color: var(--color-muted); line-height: 1.2; transition: color var(--transition); }
.svx__hint { font-size: 0.9rem; color: var(--color-muted); opacity: 0.8; }
.svx__arrow { width: 22px; height: 22px; flex-shrink: 0; color: var(--color-accent); opacity: 0; transform: translateX(-8px); transition: all var(--transition); }
.svx__tab:hover .svx__name { color: var(--color-dark); }
.svx__tab:hover .svx__arrow { opacity: 0.6; transform: none; }
.svx__item.is-active .svx__tab { border-left-color: var(--color-accent); background: rgba(255,255,255,0.65); }
.svx__item.is-active .svx__name { color: var(--color-dark); }
.svx__item.is-active .svx__arrow { opacity: 1; transform: none; }
.svx__tab:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* Panels sit in the right-hand column on desktop */
.svx__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: calc(59% - 20px); border-radius: var(--radius-lg); overflow: hidden;
  opacity: 0; visibility: hidden; transform: scale(0.98); transition: opacity 0.5s ease, transform 0.6s ease, visibility 0.5s;
  box-shadow: 0 30px 60px rgba(11, 26, 61, 0.18); background: var(--color-primary);
}
.svx__item.is-active .svx__panel { opacity: 1; visibility: visible; transform: none; }
.svx__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svx__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,26,61,0) 25%, rgba(11,26,61,0.55) 55%, rgba(11,26,61,0.94) 100%); }
.svx__content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 36px 38px; color: #d9dfec; }
.svx__eyebrow { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #d4b07a; }
.svx__content h3 { color: #fff; font-size: 2rem; margin: 8px 0 10px; }
.svx__content p { max-width: 46ch; color: #d9dfec; }
.svx__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.svx__tags li { padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; color: #fff; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); backdrop-filter: blur(4px); }
.svx__more { text-align: center; margin-top: 44px; color: var(--color-muted); }
.svx__more a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { .svx__panel { transition: none; } }

/* Tablet & phone: accordion */
@media (max-width: 860px) {
  .svx { display: block; min-height: 0; }
  .svx__list { border-top: 1px solid var(--color-border); }
  .svx__tab { padding: 18px 8px 18px 16px; }
  .svx__name { font-size: 1.25rem; }
  .svx__arrow { opacity: 1; transform: rotate(90deg); transition: transform var(--transition); }
  .svx__item.is-active .svx__arrow { transform: rotate(-90deg); }
  .svx__panel { position: relative; width: auto; height: 0; margin: 0; border-radius: var(--radius); box-shadow: none; transform: none; }
  .svx__item.is-active .svx__panel { height: auto; aspect-ratio: 4 / 5; max-height: 560px; margin: 0 0 18px; }
  .svx__content { padding: 26px 22px; }
  .svx__content h3 { font-size: 1.55rem; }
}
@media (min-width: 601px) and (max-width: 860px) { .svx__item.is-active .svx__panel { aspect-ratio: 16 / 11; } }

/* Phones/tablets: photo on top, text on a solid navy block for readability */
@media (max-width: 860px) {
  .svx__item.is-active .svx__panel { aspect-ratio: auto; max-height: none; }
  .svx__panel img { position: relative; display: block; height: 220px; }
  .svx__panel::after { display: none; }
  .svx__content { position: relative; }
}
@media (min-width: 601px) and (max-width: 860px) { .svx__panel img { height: 300px; } }

/* Service explorer autoplay: gold progress line under the active service */
.svx { --svx-time: 5s; }
.svx__tab { position: relative; }
.svx__bar { position: absolute; left: -3px; right: 0; bottom: -1px; height: 2px; background: transparent; pointer-events: none; }
.svx__bar span { display: block; height: 100%; width: 0; background: var(--color-accent); }
.svx.is-auto .svx__item.is-active .svx__bar span { animation: svx-fill var(--svx-time) linear forwards; }
.svx.is-auto.is-paused .svx__item.is-active .svx__bar span { animation-play-state: paused; }
@keyframes svx-fill { from { width: 0; } to { width: 100%; } }
@media (max-width: 860px) { .svx__bar { display: none; } }

/* =========================================================
   HERO BACKGROUND ART — three highlight cards behind the hero.
   Clear on the right; faded and blurred on the left, under the
   headline. (Replaces the earlier hero carousel.)
   ========================================================= */
.hero--art { position: relative; min-height: 620px; display: flex; align-items: center; padding: 100px 0 110px; }
.hero--art .container { position: relative; z-index: 2; display: block; }
.hero--art .container > div { max-width: 580px; }

.hero__art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__art-inner { position: relative; height: 100%; max-width: var(--container-width); margin: 0 auto; }
.hero__glow { position: absolute; right: 6%; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(212,176,122,0.35) 0%, rgba(212,176,122,0) 65%); }
.hero__glow::after { content: ""; position: absolute; inset: 70px; border-radius: 50%; border: 1px dashed rgba(168,128,58,0.35); }

.hero-card {
  position: absolute; display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px; border-radius: 22px; color: #c9d3e6;
  background: radial-gradient(120% 100% at 100% 0%, rgba(212,176,122,0.2) 0%, rgba(212,176,122,0) 55%),
              linear-gradient(150deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 30px 60px rgba(11, 26, 61, 0.25);
  animation: hero-float 7s ease-in-out infinite;
}
.hero-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.hero-card p { font-size: 0.93rem; line-height: 1.55; color: #b9c4da; }
.hero-card__icon { flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #d4b07a; background: rgba(212,176,122,0.14); border: 1px solid rgba(212,176,122,0.35); }
.hero-card__icon svg { width: 24px; height: 24px; }
.hero-card--a { right: 20px; top: 12%; width: 360px; }
.hero-card--b { right: 33%; top: 30%; width: 380px; animation-delay: -2.3s; }
.hero-card--c { right: 40px; top: 64%; width: 350px; animation-delay: -4.6s; }
@keyframes hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* The veil: blurs and fades the left side so the headline stays readable */
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(246,243,237,0.96) 0%, rgba(246,243,237,0.9) 36%, rgba(246,243,237,0.62) 50%, rgba(246,243,237,0) 66%);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 40%, transparent 66%); mask-image: linear-gradient(90deg, #000 0%, #000 40%, transparent 66%);
}
@media (prefers-reduced-motion: reduce) { .hero-card { animation: none; } }

/* Laptop: pull the cards in a little */
@media (max-width: 1100px) {
  .hero-card--a { width: 320px; } .hero-card--b { width: 330px; right: 36%; } .hero-card--c { width: 310px; }
}
/* Tablet & phone: show the cards normally below the text (no blur) */
@media (max-width: 860px) {
  .hero--art { display: block; min-height: 0; padding: 72px 0 64px; }
  .hero--art .container > div { max-width: none; }
  .hero__art { position: relative; inset: auto; order: 2; margin-top: 0; pointer-events: auto; }
  .hero--art .container { margin-bottom: 36px; }
  .hero__art-inner { display: grid; gap: 14px; padding: 0 20px; max-width: 560px; }
  .hero__glow, .hero__veil { display: none; }
  .hero-card { position: relative; inset: auto; width: auto !important; right: auto !important; top: auto !important; animation: none; padding: 22px; }
  .hero-card h3 { font-size: 1.15rem; }
}

/* =========================================================
   HERO — photo with highlight badges (replaces the hero art)
   ========================================================= */
.hero--photo { padding: 80px 0 96px; }
.hero--photo .container { grid-template-columns: 1.05fr 0.95fr; gap: 72px; }
.hero__photo { position: relative; max-width: 470px; margin-left: auto; width: 100%; padding: 26px 26px 26px 0; }
.hero__img { position: relative; z-index: 1; aspect-ratio: 4 / 4.6; max-width: 100%; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px rgba(11, 26, 61, 0.22); background: var(--color-primary); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 42% center; }
.hero__frame { position: absolute; z-index: 0; top: 0; right: 0; bottom: 52px; left: 52px; border: 2px solid var(--color-accent); border-radius: 32px; opacity: 0.55; }
.hero__dots { position: absolute; z-index: 0; left: -34px; bottom: 0; width: 140px; height: 140px; opacity: 0.5;
  background-image: radial-gradient(var(--color-primary) 1.4px, transparent 1.6px); background-size: 16px 16px; }
.hero-badge {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  background: rgba(255,255,255,0.96); border-radius: 16px; box-shadow: 0 18px 40px rgba(11, 26, 61, 0.16);
  border: 1px solid rgba(19,40,90,0.06); white-space: nowrap; animation: badge-float 6s ease-in-out infinite;
}
.hero-badge strong { display: block; color: var(--color-dark); font-size: 0.95rem; font-weight: 600; line-height: 1.2; }
.hero-badge small { display: block; color: var(--color-muted); font-size: 0.78rem; margin-top: 2px; }
.hero-badge__icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--color-primary); color: #d4b07a; }
.hero-badge__icon svg { width: 20px; height: 20px; }
.hero-badge--a { top: 54px; left: -64px; }
.hero-badge--b { top: 62%; right: -34px; animation-delay: -2s; }
.hero-badge--c { bottom: 26px; left: -44px; animation-delay: -4s; }
@keyframes badge-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero-badge { animation: none; } }

@media (max-width: 1100px) {
  .hero-badge--a { left: -30px; } .hero-badge--c { left: -20px; } .hero-badge--b { right: -16px; }
}
@media (max-width: 860px) {
  .hero--photo { padding: 64px 0 72px; }
  .hero--photo .container { grid-template-columns: 1fr; gap: 48px; }
  .hero__photo { margin: 0 auto; max-width: 440px; padding: 20px 20px 20px 0; }
  .hero-badge--a { left: -8px; top: 36px; } .hero-badge--b { right: -6px; } .hero-badge--c { left: -8px; bottom: 36px; }
}
@media (max-width: 480px) {
  .hero__photo { padding: 14px 14px 14px 0; }
  .hero__frame { left: 30px; bottom: 30px; }
  .hero__dots { display: none; }
  .hero-badge { padding: 9px 12px 9px 9px; gap: 9px; border-radius: 13px; }
  .hero-badge__icon { width: 32px; height: 32px; border-radius: 9px; }
  .hero-badge__icon svg { width: 16px; height: 16px; }
  .hero-badge strong { font-size: 0.82rem; }
  .hero-badge small { display: none; }
  .hero-badge--a { left: -4px; top: 24px; } .hero-badge--b { right: -2px; } .hero-badge--c { left: -4px; bottom: 28px; }
}

/* Hero badges: static (no floating animation) */
.hero-badge { animation: none; }
