:root {
  --navy: #071b33;
  --navy-soft: #0d2f4f;
  --ocean: #006ba6;
  --ocean-dark: #00517f;
  --sky: #dceef8;
  --white: #ffffff;
  --mist: #f5f7fa;
  --gold: #f59e0b;
  --ink: #172b3a;
  --muted: #5d6c78;
  --line: #d9e2e8;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 10px 28px rgba(7, 27, 51, 0.08);
  --shadow: 0 20px 50px rgba(7, 27, 51, 0.14);
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--ocean);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ocean-dark);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -6rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  color: var(--navy);
  background: var(--gold);
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(7, 27, 51, 0.08);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.8rem;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 0.96rem;
  letter-spacing: 0.015em;
}

.brand-text span {
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-toggle {
  display: none;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  padding: 0.72rem 0.82rem;
  border-radius: 10px;
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 680;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--navy);
  background: var(--sky);
}

.main-nav .nav-cta {
  margin-left: 0.35rem;
  color: var(--navy);
  background: var(--gold);
}

.main-nav .nav-cta:hover {
  color: var(--navy);
  background: #ffb124;
}

/* Buttons and links */
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.15rem;
  border: 2px solid transparent;
  border-radius: 12px;
  color: var(--white);
  background: var(--ocean);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  color: var(--white);
  background: var(--ocean-dark);
  box-shadow: 0 12px 25px rgba(0, 107, 166, 0.24);
  transform: translateY(-2px);
}

.btn:focus-visible,
.text-link:focus-visible,
.service-link:focus-visible,
.service-card h3 a:focus-visible,
.main-nav a:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.55);
  outline-offset: 3px;
}

.btn-gold {
  color: var(--navy);
  background: var(--gold);
}

.btn-gold:hover {
  color: var(--navy);
  background: #ffb124;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.78);
  background: transparent;
}

.btn-secondary:hover {
  color: var(--navy);
  background: var(--white);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-light:hover {
  color: var(--navy);
  background: var(--white);
}

.text-link,
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ocean);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.service-link:hover {
  color: var(--ocean-dark);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 660px;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(7, 27, 51, 0.98) 0%,
    rgba(7, 27, 51, 0.82) 49%,
    rgba(7, 27, 51, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding-block: 7rem;
}

.eyebrow,
.kicker,
.service-category {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.77rem;
  font-weight: 900;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  content: "";
  background: currentColor;
}

.hero h1,
.page-hero h1 {
  margin: 0.25rem 0 1.3rem;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero p {
  max-width: 710px;
  color: #e6f4fb;
  font-size: clamp(1.05rem, 2.1vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

/* Trust strip */
.trust-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  background: var(--navy);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-block: 1.25rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.trust-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(245, 158, 11, 0.16);
  font-size: 0.84rem;
  font-weight: 900;
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item span {
  color: #b8cedd;
  font-size: 0.85rem;
}

/* General sections */
.section {
  padding-block: 6rem;
}

.section-alt {
  background: var(--mist);
}

.intro-section h2,
.section-header h2 {
  margin: 0.2rem 0 1rem;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.kicker {
  color: var(--ocean);
}

.kicker-light {
  color: var(--gold);
}

.section-header {
  max-width: 780px;
  margin-bottom: 2.5rem;
}

.section-header p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-heading-row .section-header {
  margin-bottom: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
}

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

.visual-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.visual-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--radius) - 8px);
  object-fit: cover;
}

/* Services catalogue and highlighted cards */
.services-highlight {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 0%, rgba(0, 107, 166, 0.38), transparent 34%),
    linear-gradient(145deg, var(--navy), #0a3f64);
}

.services-highlight::before {
  position: absolute;
  top: -220px;
  right: -220px;
  width: 520px;
  height: 520px;
  border: 90px solid rgba(245, 158, 11, 0.08);
  border-radius: 50%;
  content: "";
}

.services-highlight .container {
  position: relative;
  z-index: 1;
}

.services-highlight .section-header h2,
.services-highlight .section-header p {
  color: var(--white);
}

.services-highlight .section-header p {
  color: #c9dce8;
}

.services-catalogue {
  background: linear-gradient(180deg, var(--mist) 0, var(--white) 42%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.35rem;
}

.service-card {
  grid-column: span 2;
}

.service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.service-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.services-grid--home {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.service-card:hover {
  border-color: #9fc7dc;
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.service-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eaf3f8;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card-media--contain img {
  padding: 0.75rem;
  object-fit: contain;
  background: linear-gradient(145deg, #eaf6fc, #ffffff);
}

.service-card:hover .service-card-media img {
  transform: scale(1.045);
}

.service-card:hover .service-card-media--contain img {
  transform: scale(1.02);
}

.service-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: var(--white);
  background: rgba(7, 27, 51, 0.82);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card-body {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 1.45rem;
}

.service-category {
  margin: 0 0 0.35rem;
  color: var(--ocean);
}

.service-card h3 {
  margin: 0 0 0.65rem;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.2;
}

.service-card h3 a {
  color: inherit;
  text-decoration: none;
}

.service-card-body > p:not(.service-category) {
  min-height: 3.3em;
  margin: 0 0 1rem;
  color: var(--muted);
}

.service-points {
  display: grid;
  gap: 0.48rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.service-points li {
  position: relative;
  padding-left: 1.35rem;
  color: #405461;
  font-size: 0.92rem;
  line-height: 1.35;
}

.service-points li::before {
  position: absolute;
  top: 0.53em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--gold);
}

.service-link {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.services-highlight .service-card {
  border-color: rgba(255, 255, 255, 0.16);
}

.service-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding: 2rem;
  border: 1px solid #cbdce5;
  border-radius: var(--radius);
  background: var(--sky);
}

.service-support > div {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.service-support-icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  color: var(--white);
  background: var(--ocean);
  font-size: 1.55rem;
  font-weight: 900;
}

.service-support h2 {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-size: 1.35rem;
}

.service-support p {
  margin: 0;
  color: var(--muted);
}

/* Process */
.process {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-item {
  counter-increment: step;
  min-width: 0;
  padding: 1.45rem;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.process-item::before {
  display: block;
  content: "0" counter(step);
  color: var(--ocean);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.process-item h3 {
  margin: 0.4rem 0 0.4rem;
  color: var(--navy);
}

.process-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Call to action */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #0a4c76);
  box-shadow: var(--shadow);
}

.cta h2 {
  margin: 0.35rem 0 0.6rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}

.cta p {
  margin: 0;
  color: #d7e7f0;
}

/* Inner-page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 6rem 4.5rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #0b4f78);
}

.page-hero::after {
  position: absolute;
  top: -190px;
  right: -130px;
  width: 420px;
  height: 420px;
  border: 85px solid rgba(245, 158, 11, 0.13);
  border-radius: 50%;
  content: "";
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 940px;
  font-size: clamp(2.35rem, 5vw, 4.2rem);
}

.page-hero p {
  max-width: 790px;
  color: var(--sky);
  font-size: 1.12rem;
}

.page-hero--services {
  background:
    radial-gradient(circle at 80% 15%, rgba(245, 158, 11, 0.18), transparent 28%),
    linear-gradient(135deg, var(--navy), #0a4d76);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.3rem;
  color: #c4d7e3;
  font-size: 0.88rem;
}

.breadcrumbs a {
  color: var(--white);
}

/* Service detail pages */
.service-hero-image {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
}

.service-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 7;
  border: 8px solid var(--white);
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.service-hero-image--contain img {
  padding: 2.5rem;
  object-fit: contain;
  background: linear-gradient(145deg, #eaf6fc, #ffffff);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 3rem;
}

.sidebar {
  position: sticky;
  top: 110px;
}

.side-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.side-card h2,
.side-card h3 {
  margin-top: 0;
  color: var(--navy);
}

.side-card .btn {
  width: 100%;
}

.rich-text {
  min-width: 0;
}

.rich-text h2 {
  margin-top: 2.8rem;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1.2;
}

.rich-text h2:first-child {
  margin-top: 0;
}

.rich-text h3 {
  margin-top: 2rem;
  color: var(--navy);
  font-size: 1.35rem;
}

.rich-text p,
.rich-text li {
  color: #405461;
}

.rich-text ul,
.rich-text ol {
  padding-left: 1.3rem;
}

.rich-text li + li {
  margin-top: 0.45rem;
}

.notice {
  padding: 1.1rem 1.25rem;
  border-left: 5px solid var(--gold);
  border-radius: 0 12px 12px 0;
  color: #5b4310;
  background: #fff8e7;
}

/* FAQ */
.faq {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  border: 0;
  color: var(--navy);
  background: transparent;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-question span:last-child {
  color: var(--ocean);
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  margin: 0 0 1.15rem;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-question span:last-child {
  transform: rotate(45deg);
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 2rem;
}

.contact-card {
  padding: 1.6rem;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
}

.contact-card h2 {
  margin-top: 0;
}

.contact-card a {
  color: var(--white);
}

.contact-card p {
  color: var(--sky);
}

.form-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-card > h2 {
  margin-top: 0;
  color: var(--navy);
}

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

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.4rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--navy);
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  border: 1px solid #afc2ce;
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ocean);
  outline: 3px solid rgba(0, 107, 166, 0.18);
}

.field [aria-invalid="true"] {
  border-color: #b42318;
}

.error {
  min-height: 1.2em;
  color: #b42318;
  font-size: 0.84rem;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.consent input {
  width: auto;
  margin-top: 0.35rem;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
}

.form-status.show {
  display: block;
}

.form-status.info {
  color: var(--navy);
  background: var(--sky);
}

.form-status.error-state {
  color: #7a271a;
  background: #fdecea;
}

/* Tables and legal pages */
.legal-table {
  width: 100%;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 0.85rem;
  border: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.legal-table th {
  color: var(--navy);
  background: var(--mist);
}

/* Footer */
.site-footer {
  padding-top: 4rem;
  color: #dbe8ef;
  background: #041427;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-brand h2,
.site-footer h3 {
  margin-top: 0;
  color: var(--white);
}

.footer-brand h2 {
  font-size: 1.2rem;
}

.site-footer p,
.site-footer address,
.site-footer li {
  color: #b9cbd6;
  font-style: normal;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.45rem;
}

.site-footer a {
  color: #dbe8ef;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9eb3c0;
  font-size: 0.84rem;
}

/* Utility */
.back-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 80;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--ocean);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.error-page {
  display: grid;
  min-height: 68vh;
  place-items: center;
  padding: 3rem 1rem;
  text-align: center;
}

.error-page strong {
  display: block;
  color: var(--ocean);
  font-size: clamp(5rem, 18vw, 10rem);
  line-height: 0.85;
}

.error-page h1 {
  margin-bottom: 0.5rem;
  color: var(--navy);
}

/* Responsive layouts */
@media (max-width: 1050px) {
  .brand-text strong {
    max-width: 260px;
  }

  .main-nav a {
    padding-inline: 0.58rem;
  }

  .services-grid,
  .services-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: auto;
  }

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

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

@media (max-width: 860px) {
  .header-inner {
    min-height: 74px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 74px;
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    border-bottom: 1px solid transparent;
    background: var(--white);
    opacity: 0;
    transition: max-height 0.28s ease, opacity 0.2s ease,
      padding 0.28s ease;
  }

  .main-nav.open {
    max-height: calc(100vh - 74px);
    padding-block: 1rem 1.3rem;
    border-color: var(--line);
    box-shadow: 0 18px 35px rgba(7, 27, 51, 0.12);
    opacity: 1;
  }

  .main-nav a {
    padding: 0.9rem 1rem;
  }

  .main-nav .nav-cta {
    margin: 0.5rem 0 0;
  }

  .hero {
    min-height: 600px;
  }

  .hero-content {
    padding-block: 5.5rem;
  }

  .trust-grid,
  .grid-2,
  .content-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    gap: 1.2rem;
  }

  .section {
    padding-block: 4.5rem;
  }

  .section-heading-row,
  .service-support,
  .cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading-row {
    display: flex;
  }

  .sidebar {
    position: static;
  }

  .service-support .btn,
  .cta .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, var(--max-width));
  }

  .brand-text strong {
    max-width: 210px;
    font-size: 0.82rem;
  }

  .brand-text span {
    font-size: 0.7rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-media::after {
    background: linear-gradient(
      180deg,
      rgba(7, 27, 51, 0.58) 0%,
      rgba(7, 27, 51, 0.94) 62%,
      rgba(7, 27, 51, 0.98) 100%
    );
  }

  .hero-content {
    padding-block: 4.6rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.4rem);
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .trust-grid {
    padding-block: 1.5rem;
  }

  .services-grid,
  .services-grid--home,
  .process,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card-body > p:not(.service-category) {
    min-height: auto;
  }

  .service-support {
    padding: 1.4rem;
  }

  .service-support > div {
    align-items: flex-start;
  }

  .service-support-icon {
    width: 48px;
    height: 48px;
  }

  .cta {
    padding: 2rem 1.4rem;
  }

  .page-hero {
    padding-block: 4.5rem 3.7rem;
  }

  .service-hero-image {
    margin-top: -1.4rem;
  }

  .service-hero-image img {
    aspect-ratio: 16 / 10;
    border-width: 5px;
    border-radius: 18px;
  }

  .service-hero-image--contain img {
    padding: 1.5rem;
  }

  .rich-text h2 {
    font-size: 1.7rem;
  }

  .form-card {
    padding: 1.35rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
