:root {
  --ink: #1b1b1b;
  --muted: #5a5a5a;
  --line: #c9c9c9;
  --red: #f4472d;
  --red-deep: #d42414;
  --green: #b6f23a;
  --bg: #ffffff;
  --footer: #2b2b2b;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --display: "Archivo Black", "Arial Black", sans-serif;
  --gutter: clamp(16px, 5vw, 78px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 22px;
  font-size: 17px; font-weight: 500;
  border: 1px solid var(--ink);
  transition: background .2s, color .2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--outline { background: #fff; color: var(--ink); }
.btn--outline:hover { background: #f1f1f1; }
.btn--lg { height: 64px; padding: 0 40px; font-size: 20px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; }
.nav__inner { display: flex; align-items: center; gap: 36px; height: 116px; }
.logo {
  font-family: var(--sans); font-weight: 700;
  font-size: 32px; letter-spacing: -1.2px; line-height: 1;
  display: inline-flex; align-items: flex-end; gap: 3px;
}
.logo__dot { width: 9px; height: 9px; background: var(--red); border-radius: 50%; margin-bottom: 4px; }
.nav__menu { display: flex; gap: 14px; flex: 1; }
.nav__link { font-size: 19px; color: #2a2a2a; padding: 6px 4px; }
.nav__link:hover { color: #000; }
.has-caret::after {
  content: ""; display: inline-block;
  width: 5px; height: 5px; margin-left: 14px;
  border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor;
  transform: translateY(-4px) rotate(45deg);
}
.nav__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; }
.icon-btn svg { width: 30px; height: 30px; }
.login { font-size: 19px; margin: 0 8px; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.nav__burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 7px; margin-left: auto; }
.nav__burger span { display: block; height: 2px; background: var(--ink); }

/* ---------- Hero ---------- */
.hero { overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; min-height: 756px; }
.hero__copy { padding-block: 40px 60px; max-width: 800px; }
.eyebrow {
  font-family: var(--mono); text-transform: uppercase;
  letter-spacing: .22em; font-size: 15px; color: #333;
  margin-bottom: 28px;
}
h1 {
  font-weight: 400;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.2; letter-spacing: -0.02em;
  margin-bottom: 40px;
}
.hero__lead {
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.65; color: #222;
  max-width: 740px; margin-bottom: 48px;
}
.hero__cta { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero__link { font-size: 20px; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }

/* Hero visual */
.hero__visual { position: relative; height: 756px; margin-right: calc(-1 * var(--gutter)); }
.ribbon {
  position: absolute; inset: 0 -40px 0 0;
  width: calc(100% + 40px); height: 100%;
  filter: drop-shadow(0 18px 30px rgba(180, 20, 10, .18));
}
.status-card {
  position: absolute; top: 48px; left: 38%;
  width: 360px; height: 240px;
  background: #fff; border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
  padding: 30px;
}
.status-card__head { display: flex; align-items: center; gap: 14px; margin-left: 40px; }
.status-card__head strong { display: block; font-weight: 500; font-size: 20px; }
.status-card__head small { color: #777; font-size: 13px; }
.status-card__icon {
  flex: 0 0 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff1ee; color: var(--red-deep);
}
.status-card__icon svg { width: 28px; height: 28px; }
.status-card__progress { margin: 64px 0 10px auto; width: 90px; height: 10px; background: #eee; border-radius: 5px; overflow: hidden; }
.status-card__progress span { display: block; width: 93%; height: 100%; background: var(--green); }
.status-card__meta { float: right; font-size: 12px; color: #444; }

.cert {
  position: absolute; top: 128px; left: 18%;
  width: 358px; height: 552px;
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, #8e8cf5 0, #b8b0f0 10%, #f3dfe8 95%);
  box-shadow: 0 30px 70px rgba(60, 20, 80, .35);
  padding: 0 8px 8px;
  animation: float 6s ease-in-out infinite;
}
.cert__top {
  display: flex; justify-content: space-between; align-items: center;
  height: 58px; padding: 0 30px;
  font-family: var(--mono); font-size: 9px; color: #333;
}
.cert__top strong { font-family: var(--display); font-size: 16px; letter-spacing: .04em; }
.cert__body {
  height: 430px; padding-top: 18px;
  background: radial-gradient(ellipse at 30% 10%, #2f3542, #151920 70%);
  text-align: center; color: #fff;
}
.cert__tag { font-family: var(--mono); font-size: 9px; color: var(--green); letter-spacing: .14em; }
.cert__body h3 {
  font-family: var(--display); font-weight: 400;
  font-size: 44px; line-height: .95; margin: 8px 0 18px;
}
.cert__drive { position: relative; width: 150px; height: 92px; margin: 0 auto 18px; }
.drive {
  width: 150px; height: 92px; border-radius: 8px;
  background: linear-gradient(145deg, #c9ced6, #858c98);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.25);
  display: grid; place-items: center;
}
.drive span {
  width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle, #5d636d 0 12%, #aab1bb 13% 60%, #939aa5 61%);
}
.cert__check {
  position: absolute; right: -14px; bottom: -12px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green); color: #1b3a00;
  display: grid; place-items: center; font-weight: 700; font-size: 20px;
  box-shadow: 0 0 0 4px #151920;
}
.cert__rows { margin: 0 32px 16px; text-align: left; font-size: 11px; }
.cert__rows div { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.cert__rows dt { color: #9aa2ae; font-family: var(--mono); }
.cert__rows dd.ok { color: var(--green); }
.cert__cta {
  display: inline-block; background: var(--green); color: #1b3a00;
  font-size: 10px; font-weight: 700; padding: 9px 22px; letter-spacing: .04em;
}
.cert__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 30px 0; }
.cert__grid div { height: 40px; border-radius: 6px 6px 0 0; background: linear-gradient(135deg, #4a4f58, #9aa2ae); }

@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Trust bar ---------- */
.trust { display: flex; align-items: center; background: var(--red); color: #fff; height: 106px; overflow: hidden; }
.trust__text {
  flex: 0 0 auto; width: clamp(260px, 26vw, 440px);
  padding-left: clamp(16px, 5vw, 106px); padding-right: 24px;
  font-size: 19px; line-height: 1.25;
  background: var(--red); position: relative; z-index: 2;
}
.marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track {
  display: flex; align-items: center; gap: 72px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 36px)); } }

.brand { white-space: nowrap; line-height: 1; }
.b-bold { font-family: var(--display); font-size: 21px; letter-spacing: .02em; }
.b-mono { font-family: var(--mono); font-weight: 500; font-size: 20px; letter-spacing: .06em; }
.b-italic { font-style: italic; font-weight: 600; font-size: 24px; }
.b-badge {
  font-family: var(--display); font-size: 12px; text-align: center; line-height: 1.05;
  background: #fff; color: var(--red); padding: 6px 7px;
}

/* ---------- Services intro ---------- */
.agents { padding-block: 124px 120px; text-align: center; }
.agents h2 {
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 64px);
  letter-spacing: -0.015em; margin-bottom: 36px;
}
.agents p {
  max-width: 1140px; margin: 0 auto 48px;
  font-size: clamp(18px, 1.5vw, 25px); line-height: 1.5; color: #222;
}

/* ---------- Footer ---------- */
.footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 20px var(--gutter);
  background: var(--footer); color: #fff; font-size: 20px;
}
.footer__brand { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.footer__mark { width: 34px; height: 34px; border-radius: 8px; background: #fff; position: relative; }
.footer__mark::after {
  content: ""; position: absolute; inset: 11px;
  background: var(--red); border-radius: 50%;
}
.footer__credit { font-size: 15px; color: #bbb; }

/* ---------- Enquiry page ---------- */
.enquire { padding-block: 48px 120px; }
.enquire__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.enquire__intro { position: sticky; top: 140px; }
.enquire__intro h1 { margin-bottom: 28px; }
.enquire__intro .hero__lead { margin-bottom: 36px; }
.enquire__points { list-style: none; display: grid; gap: 14px; font-size: 18px; }
.enquire__points span {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; margin-right: 12px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 14px; font-weight: 700;
}

.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { display: grid; gap: 8px; font-size: 15px; font-weight: 500; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"],
.form select, .form textarea {
  width: 100%; min-height: 56px; padding: 14px 16px;
  font: inherit; font-size: 17px; font-weight: 400; color: var(--ink);
  border: 1px solid var(--line); border-radius: 0; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.form textarea { resize: vertical; }
.form select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231b1b1b' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(244,71,45,.18); }
.was-validated :invalid { border-color: var(--red-deep); }

.form__chips { border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.form__chips legend { font-size: 15px; font-weight: 500; margin-bottom: 10px; }
.form__chips label { display: block; }
.form__chips input { position: absolute; opacity: 0; pointer-events: none; }
.form__chips span {
  display: inline-block; padding: 10px 16px; font-weight: 400;
  border: 1px solid var(--line); cursor: pointer; transition: all .15s;
}
.form__chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.form__chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(244,71,45,.35); }

.form__error { color: var(--red-deep); font-size: 15px; }
.form .btn { justify-self: start; }

.form__success { text-align: center; padding: 60px 20px; border: 1px solid var(--line); }
.form__success-icon {
  width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%;
  background: var(--green); color: #1b3a00; display: grid; place-items: center;
  font-size: 30px; font-weight: 700;
}
.form__success h2 { font-weight: 400; font-size: 36px; margin-bottom: 14px; }
.form__success p { color: var(--muted); font-size: 18px; margin-bottom: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav__menu { gap: 4px; }
  .nav__link { font-size: 16px; }
  .has-caret::after { margin-left: 8px; }
  .login { font-size: 16px; }
  .nav__actions .btn { font-size: 15px; padding: 0 16px; }
}
@media (max-width: 1040px) {
  .nav__menu, .nav__actions { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { height: 80px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { height: 640px; margin-right: 0; }
  .cert { left: 50%; margin-left: -179px; }
  .status-card { left: auto; right: 0; }
  .trust { flex-direction: column; height: auto; padding-block: 24px; gap: 20px; align-items: stretch; }
  .trust__text { width: auto; text-align: center; padding: 0 16px; }
  .marquee__track { gap: 52px; }
  .enquire__inner { grid-template-columns: 1fr; gap: 48px; }
  .enquire__intro { position: static; }
}
@media (max-width: 560px) {
  .logo { font-size: 26px; }
  .btn--lg { height: 56px; padding: 0 28px; font-size: 18px; }
  .hero__visual { height: 560px; }
  .cert { transform: scale(.82); transform-origin: top center; animation: none; top: 90px; }
  .status-card { width: 270px; height: 180px; padding: 20px; top: 20px; }
  .status-card__head { margin-left: 0; }
  .status-card__head strong { font-size: 16px; }
  .status-card__progress { margin-top: 36px; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
  .footer { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track, .cert { animation: none; }
}

/* Spam honeypot: off-screen, not display:none (some bots skip hidden fields) */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn:disabled { opacity: .6; cursor: progress; }
.form__success h2:focus { outline: none; }

/* Layout fixes: keep nav items on one line, keep status card text clear of the certificate */
.nav__link, .login, .nav__actions .btn { white-space: nowrap; }
.nav__inner { gap: 28px; }
.status-card { left: auto; right: 16px; width: 330px; padding-left: 110px; }
.status-card__head { margin-left: 0; }
.status-card__head strong { font-size: 18px; white-space: nowrap; }
@media (max-width: 1360px) {
  .nav__inner { gap: 20px; }
  .nav__menu { gap: 0; }
  .nav__link { font-size: 16px; }
  .has-caret::after { margin-left: 7px; }
  .login { font-size: 16px; margin: 0 2px; }
  .nav__actions { gap: 8px; }
  .nav__actions .btn { font-size: 15px; padding: 0 14px; }
}
@media (max-width: 1180px) {
  .nav__menu, .nav__actions { display: none; }
  .nav__burger { display: flex; }
}
@media (max-width: 1040px) {
  .status-card { padding-left: 30px; }
}
@media (max-width: 560px) {
  .status-card { padding-left: 20px; right: 0; }
  .status-card__head strong { font-size: 15px; }
}
@media (min-width: 1041px) {
  .status-card { width: 350px; padding-left: 120px; padding-right: 20px; }
  .status-card__icon { display: none; }
  .status-card__head strong { font-size: 17px; }
}
.enquire__points li { display: flex; align-items: flex-start; line-height: 1.45; }
.enquire__points span { flex: 0 0 26px; }


/* Slim nav: few enough items to show at every width */
@media (max-width: 1180px) {
  .nav__menu, .nav__actions { display: flex; }
}
@media (max-width: 560px) {
  .nav__menu, .nav__actions .icon-btn { display: none; }
  .nav__actions .btn { height: 40px; padding: 0 14px; font-size: 15px; }
}
@media (max-width: 480px) {
  .nav__actions .login { display: none; }
  .logo { font-size: 24px; }
}

/* 404 page: fill the screen so the footer sits at the bottom */
.notfound { min-height: calc(100vh - 190px); display: flex; align-items: center; }

/* Image logo in the header */
.logo img { display: block; height: 34px; width: auto; }
@media (max-width: 560px) { .logo img { height: 28px; } }
@media (max-width: 480px) { .logo img { height: 25px; } }
