:root {
  --navy: #0b1a2e;
  --gold: #c8a46e;
  --cream: #f1efea;
  --ink: #0b1a2e;
  --white: #fff;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
.btn,
nav a {
  font-family: "Outfit", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
/* header */
header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .wrap,
footer .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header .wrap {
  min-height: 64px;
}
.logo {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1;
  color: #fff;
}
.logo small {
  display: block;
  font-size: 0.8rem;
  text-align: right;
  padding-right: 8%;
  margin-top: 3px;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav a {
  font-size: 1.05rem;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
nav a:hover,
nav a.on {
  border-bottom-color: var(--gold);
}
nav a.cta {
  border: 2px solid var(--gold);
  border-radius: 6px;
  padding: 9px 10px;
  margin-left: 8px;
}
nav a.cta:hover {
  background: var(--gold);
  color: var(--navy);
}
.burger {
  display: none;
  background: none;
  border: 1px solid var(--gold);
  color: #fff;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 1rem;
  cursor: pointer;
}
/* hero */
.hero {
  position: relative;
  background-color: var(--navy);
  background-size: cover;
  background-position: right center;
  color: #fff;
  min-height: 400px;
  display: flex;
  align-items: center;
}
.hero::before {
  display: none;
}
.hero .wrap {
  position: relative;
  padding-top: 60px;
  padding-bottom: 60px;
  width: 100%;
}
.hero .in {
  max-width: 520px;
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 26px;
}
.hero p {
  font-size: 0.92rem;
  margin-bottom: 34px;
}
.hero.tall {
  min-height: 460px;
}
.h-home {
  background-image: url(images/hero-home.jpg);
}
.h-dir {
  background-image: url(images/hero-directors.jpg);
}
.h-claims {
  background-image: url(images/hero-claims.jpg);
}
.h-appr {
  background-image: url(images/hero-approach.jpg);
}
.h-enq {
  background-image: url(images/hero-enquiries.jpg);
  min-height: 250px;
}
.h-enq .wrap {
  padding-top: 36px;
  padding-bottom: 36px;
}
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  border: 0;
  border-radius: 4px;
  padding: 12px 22px;
  font-size: 1.05rem;
  cursor: pointer;
}
.btn:hover {
  filter: brightness(1.08);
}
/* stats */
.stats {
  background: var(--cream);
  padding: 26px 0;
}
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stats div {
  padding: 14px 10px;
  border-left: 1px solid var(--navy);
}
.stats div:first-child {
  border-left: 0;
}
.stats b {
  display: block;
  font-family: "Outfit";
  font-size: 1.7rem;
  font-weight: 600;
}
.stats span {
  font-size: 0.78rem;
}
/* quote */
.quote {
  background: var(--cream);
  margin: 50px auto;
  padding: 44px 20px;
  text-align: center;
  border-radius: 6px;
  max-width: 1360px;
  width: calc(100% - 40px);
  position: relative;
}
.quote::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 6%;
  width: 100px;
  height: 1px;
  background: var(--gold);
}
.quote p {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.3;
}
/* sections */
.sec {
  padding: 60px 0;
}
.sec.cream {
  background: var(--cream);
}
.sec h2 {
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 10px;
}
.sec .lead {
  font-size: 0.9rem;
  max-width: 520px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 34px;
}
.step {
  border: 1px solid var(--gold);
  padding: 38px 20px 20px;
  position: relative;
  font-size: 0.82rem;
}
.step i {
  position: absolute;
  top: -22px;
  left: 10px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  font: 600 1.4rem "Outfit";
  font-style: normal;
}
.step h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}
/* directors */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  padding: 40px 0;
}
.card {
  background: var(--cream);
  border-radius: 6px;
  padding: 26px 24px;
  text-align: center;
  flex: 0 1 calc(33.333% - 18px);
  min-width: 260px;
  font-size: 0.84rem;
}
.card h3 {
  font-size: 1.4rem;
  font-weight: 600;
}
.card .role {
  display: block;
  margin: 10px 0 0;
  padding-bottom: 12px;
  position: relative;
  margin-bottom: 14px;
}
.card .role::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 56px;
  transform: translateX(-50%);
  height: 1px;
  background: var(--gold);
}
.team {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}
.band {
  background: var(--cream);
  text-align: center;
  padding: 38px 20px;
}
.band h2 {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 600;
}
.band h3 {
  margin-top: 14px;
  font-size: 1.05rem;
}
/* claims */
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 40px 0 60px;
}
.claim {
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.35);
  min-height: 380px;
}
.claim .img {
  height: 330px;
  background-color: #2d4766;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.claim h3 {
  font-size: 1.4rem;
  padding: 20px 20px 6px;
  font-weight: 600;
}
.claim p {
  padding: 0 20px 28px;
  font-size: 0.84rem;
}
.i-raf {
  background-image: url(images/raf.jpg);
}
.i-rail {
  background-image: url(images/railway.jpg);
  background-position: 80% 72%;
}
.i-pub {
  background-image: url(images/public.jpg);
  background-position: 50% 38%;
}
.i-ins {
  background-image: url(images/insurance.jpg);
  background-position: 50% 70%;
}
.spec {
  background: var(--navy) center/cover;
  color: #fff;
  padding: 70px 0;
  background-image: url(images/medical.jpg);
  background-position: right center;
}
.spec .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.spec h2 {
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.spec p {
  font-size: 0.85rem;
  max-width: 380px;
}
.spec ul {
  list-style: none;
  border-left: 1px solid #5d6b80;
  padding: 10px 0 10px 24px;
}
.spec li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--gold);
  font-size: 0.78rem;
}
.spec li:last-child {
  border: 0;
}
.spec li b {
  display: block;
  font-size: 0.85rem;
}
.ico {
  width: 34px;
  height: 34px;
  flex: none;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.4;
}
/* approach */
.list {
  margin-top: 34px;
  display: grid;
  gap: 14px;
}
.item {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.8rem;
}
.item .box {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--navy);
  display: grid;
  place-items: center;
  flex: none;
}
.item .box img {
  width: 28px;
  height: 28px;
}
.item b {
  display: block;
  font: 600 0.88rem "Outfit";
}
/* enquiries */
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 30px 0;
}
.two h2 {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.perk {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 30px;
  font-size: 0.78rem;
}
.perk .ico {
  width: 48px;
  height: 48px;
  padding: 11px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}
.perk b {
  display: block;
  font-size: 0.85rem;
}
.contact {
  background: var(--cream);
  border-radius: 6px;
  padding: 24px;
}
.contact h2 {
  font-size: 1.8rem;
  margin-bottom: 22px;
  color: #000;
}
.contact .perk {
  margin-top: 16px;
}
.contact .perk .ico {
  border: 0;
  padding: 0;
  border-radius: 0;
  width: 36px;
  height: 36px;
}
.contact a:hover {
  text-decoration: underline;
}
.formbox {
  background: var(--cream);
  border-radius: 6px;
  padding: 16px 18px 24px;
  margin-bottom: 60px;
}
.formbox h3 {
  font-size: 1.5rem;
  font-weight: 600;
  display: inline-block;
  border-bottom: 1px solid var(--gold);
  margin: 4px 0 6px;
}
.formbox label {
  display: block;
  font-size: 0.8rem;
  margin-top: 8px;
}
.formbox input,
.formbox textarea {
  display: block;
  width: 100%;
  border: 1px solid transparent;
  background: #fff;
  padding: 10px 10px;
  margin-top: 4px;
  font:
    0.78rem "Poppins",
    sans-serif;
}
.formbox input:focus,
.formbox textarea:focus {
  border-color: var(--gold);
  outline: 0;
}
.formbox textarea {
  min-height: 110px;
  resize: vertical;
}
.r2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.sub {
  margin-top: 20px;
  font-size: 1.1rem;
  padding: 12px 40px;
  border-radius: 0;
}
.sub[disabled] {
  opacity: 0.6;
  cursor: wait;
}
.msg {
  margin-top: 14px;
  font-size: 0.88rem;
  padding: 12px 14px;
  border-radius: 4px;
  display: none;
}
.msg.ok {
  display: block;
  background: #e3f0e3;
  color: #1f4d27;
}
.msg.err {
  display: block;
  background: #f6e0de;
  color: #7a1f16;
}
.hp {
  position: absolute;
  left: -9999px;
}
/* footer */
footer {
  background: var(--navy);
  color: #fff;
  padding: 14px 0 18px;
}
footer .logo {
  font-size: 1.4rem;
}
footer .row {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold);
}
footer nav {
  gap: 34px;
}
footer nav a {
  font-size: 0.62rem;
  font-family: "Poppins";
}
footer nav a.cta {
  font-size: 0.62rem;
  background: var(--gold);
  color: var(--navy);
  padding: 4px 14px;
  border-radius: 2px;
  margin: 0;
}
footer .legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.58rem;
  margin-top: 12px;
}
footer .legal a:hover {
  text-decoration: underline;
}
@media (max-width: 820px) {
  .burger {
    display: block;
  }
  header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 28px 24px;
    gap: 14px;
  }
  header nav.open {
    display: flex;
  }
  .hero {
    background-position: 70% center;
  }
  .hero::before {
    display: block;
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(11, 26, 46, 0.7);
  }
  .stats .wrap {
    grid-template-columns: 1fr 1fr;
  }
  .stats div:nth-child(3) {
    border-left: 0;
  }
  .steps,
  .grid2,
  .two,
  .spec .wrap,
  .r2 {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .r2 {
    gap: 0;
  }
  footer .row {
    flex-direction: column;
    align-items: flex-start;
  }
  footer nav {
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* nav on one line, logo sized by height */
nav a {
  white-space: nowrap;
}
nav {
  flex-wrap: nowrap;
}
.logo {
  flex: none;
  display: block;
}
.logo img {
  width: auto !important;
  height: 46px;
  display: block;
}
footer .logo img {
  height: 40px;
}
@media (max-width: 1000px) {
  nav {
    gap: 14px;
  }
  nav a {
    font-size: 0.95rem;
  }
  nav a.cta {
    padding: 8px 14px;
  }
}
@media (max-width: 820px) {
  nav a {
    font-size: 1.05rem;
  }
  .logo img {
    height: 40px;
  }
}
