:root {
  --navy: #0b2550;
  --blue: #1662a8;
  --red: #d61f32;
  --green: #1f8a70;
  --ink: #142033;
  --muted: #627086;
  --line: #dfe6ef;
  --paper: #f7f9fc;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(13, 35, 73, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 230, 239, 0.8);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  position: relative;
}

.nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  content: "";
  background: var(--red);
  transition: width 180ms ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 140px clamp(20px, 5vw, 72px) 72px;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("assets/hero.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 24, 52, 0.92), rgba(7, 24, 52, 0.62) 48%, rgba(7, 24, 52, 0.12)),
    linear-gradient(0deg, rgba(7, 24, 52, 0.78), rgba(7, 24, 52, 0.02) 38%);
}

.hero-content {
  position: relative;
  width: min(790px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb3ba;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-copy {
  width: min(660px, 100%);
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-actions,
.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.btn.primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 10px 26px rgba(214, 31, 50, 0.26);
}

.btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.btn.full {
  width: 100%;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-band div {
  min-height: 118px;
  padding: 24px clamp(18px, 5vw, 54px);
  border-right: 1px solid var(--line);
}

.trust-band div:last-child {
  border-right: 0;
}

.trust-band strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1;
}

.trust-band span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 410px;
  color: var(--muted);
}

.text-link {
  color: var(--blue);
  font-weight: 800;
}

.services,
.credentials,
.structure {
  background: var(--paper);
}

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

.service-card {
  overflow: hidden;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(13, 35, 73, 0.06);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.service-card img.logo-card {
  padding: 30px;
  object-fit: contain;
  background: var(--white);
}

.service-card img.wide-logo {
  padding: 38px 24px;
}

.service-card div {
  padding: 24px;
}

.service-card p {
  color: var(--muted);
}

.accent-card {
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), #123a73);
}

.accent-card h3,
.accent-card p {
  color: var(--white);
}

.pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
}

.structure {
  padding-top: clamp(52px, 7vw, 88px);
}

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

.capability-list article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.capability-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
}

.capability-list p {
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

figure {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  margin: 0;
  border-radius: 8px;
  background: var(--navy);
}

figure img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 220ms ease;
}

figure:hover img {
  transform: scale(1.04);
}

figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(7, 24, 52, 0.78);
  font-weight: 800;
}

.credential-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.credential-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

.credential-panel img {
  width: 100%;
  border-radius: 8px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 0.78fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
}

.contact-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  color: var(--navy);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9d4e3;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
}

.footer div {
  max-width: 620px;
}

.footer img:first-child {
  width: 240px;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 8px;
  background: var(--white);
}

.footer .qr {
  width: 92px;
  height: 92px;
  align-self: center;
  border-radius: 8px;
  background: var(--white);
}

@media (max-width: 980px) {
  .service-grid,
  .gallery,
  .capability-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact,
  .credential-panel,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: grid;
  }

  .hero {
    min-height: 88vh;
    padding: 116px 20px 46px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(7, 24, 52, 0.9), rgba(7, 24, 52, 0.42));
  }

  .trust-band,
  .service-grid,
  .gallery,
  .capability-list {
    grid-template-columns: 1fr;
  }

  .trust-band div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card {
    min-height: auto;
  }

  figure,
  figure img {
    min-height: 310px;
  }

  .footer {
    display: grid;
  }
}
