:root {
  --ink: #111820;
  --navy: #06244a;
  --navy-2: #0d376b;
  --orange: #ff6b00;
  --orange-2: #f9a31a;
  --steel: #5f7588;
  --line: #d8e0e7;
  --mist: #eef4f6;
  --paper: #f7f8f4;
  --white: #ffffff;
  --green: #1b8a6b;
  --charcoal: #20262d;
  --shadow: 0 18px 48px rgba(9, 31, 57, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Aptos, Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(255, 107, 0, .45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--orange);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: 116px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.rail-logo {
  width: 86px;
  min-height: 64px;
  display: grid;
  place-items: center;
  background: var(--white);
  border-radius: 8px;
  padding: 7px;
}

.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 28px;
}

.rail-nav a {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 7px;
  color: #d8e4ee;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.rail-nav a:hover,
.rail-nav a[aria-current="page"] {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.rail-contact {
  margin-top: auto;
  display: grid;
  gap: 8px;
  width: 100%;
}

.rail-contact a {
  border-radius: 8px;
  min-height: 44px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
  background: rgba(255, 255, 255, .1);
}

.rail-contact a:first-child {
  background: var(--green);
}

.mobile-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.mobile-header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.mobile-header img {
  width: 142px;
}

.menu-toggle {
  width: 46px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  gap: 4px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  display: block;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  transform: translateX(100%);
  transition: transform .28s ease;
  background: var(--navy);
  color: var(--white);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.drawer-top img {
  width: 156px;
  background: var(--white);
  border-radius: 8px;
  padding: 7px;
}

.drawer-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
}

.drawer-links {
  display: grid;
  gap: 6px;
  margin: 34px 0;
}

.drawer-links a {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-size: 24px;
  font-weight: 850;
}

.drawer-actions {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.page-shell {
  margin-left: 116px;
}

.inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section.compact {
  padding: 64px 0;
}

.section.dark {
  background: var(--navy);
  color: var(--white);
}

.section.white {
  background: var(--white);
}

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

.section-title {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 38px;
  align-items: start;
  margin-bottom: 38px;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-weight: 900;
  font-size: 13px;
}

.label::before {
  content: "";
  width: 28px;
  height: 3px;
  background: currentColor;
}

h1,
h2,
h3,
h4,
.display {
  font-family: Bahnschrift, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0;
}

h1 {
  font-size: 72px;
  max-width: 820px;
}

h2 {
  font-size: 46px;
}

h3 {
  font-size: 25px;
}

h4 {
  font-size: 19px;
}

p {
  margin: 0;
}

.lede {
  font-size: 19px;
  color: #334657;
  max-width: 760px;
}

.dark .lede,
.dark .muted,
.field-hero .muted,
.page-hero .muted {
  color: #d9e4ed;
}

.muted {
  color: #5a6a78;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 900;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn.primary {
  background: var(--orange);
  color: var(--white);
}

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

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

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .42);
  color: var(--white);
}

.btn.outline {
  border-color: var(--line);
  background: var(--white);
  color: var(--navy);
}

.field-hero {
  position: relative;
  min-height: 86svh;
  color: var(--white);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--charcoal);
}

.field-hero.media-left .hero-image {
  object-position: center center;
}

.hero-image,
.page-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.field-hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 21, 42, .94), rgba(3, 21, 42, .68) 44%, rgba(3, 21, 42, .18) 76%),
    linear-gradient(0deg, rgba(3, 21, 42, .88), transparent 42%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 94px 0 46px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 34px;
  align-items: end;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.hero-copy .lede {
  color: #e3edf4;
}

.service-pulse {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(16px);
  border-radius: 8px;
  overflow: hidden;
  max-width: 760px;
}

.pulse-item {
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.pulse-item:last-child {
  border-right: 0;
}

.pulse-item strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  margin-bottom: 6px;
}

.pulse-item span {
  color: #cddbe6;
  font-size: 13px;
  font-weight: 700;
}

.dispatch-panel {
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: rgba(6, 36, 74, .78);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.panel-head {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: #cddbe6;
  font-weight: 800;
  font-size: 13px;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(27, 138, 107, .22);
}

.dispatch-list {
  display: grid;
}

.dispatch-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.dispatch-row:last-child {
  border-bottom: 0;
}

.dispatch-code {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 950;
}

.dispatch-row b {
  display: block;
  margin-bottom: 3px;
}

.dispatch-row span {
  color: #cedbe6;
  font-size: 14px;
}

.service-map {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-lane {
  display: grid;
  grid-template-columns: 88px 220px 1fr 170px;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.service-lane:last-child {
  border-bottom: 0;
}

.lane-code {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 950;
}

.service-lane img {
  width: 220px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.lane-copy {
  display: grid;
  gap: 8px;
}

.lane-copy p {
  color: #526575;
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.mini-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: #405364;
  background: var(--white);
  font-weight: 750;
  font-size: 13px;
}

.lane-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 950;
}

.image-ledger {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: stretch;
}

.ledger-photo {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
}

.ledger-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ledger-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(0deg, rgba(6, 36, 74, .86), transparent);
}

.ledger-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: var(--white);
  z-index: 1;
}

.ledger-stack {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 18px;
}

.ledger-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  display: grid;
  align-content: center;
  gap: 8px;
}

.ledger-item strong {
  font-size: 28px;
  color: var(--navy);
  line-height: 1;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.process-step {
  min-height: 190px;
  padding: 20px 16px;
  border-right: 1px solid var(--line);
  display: grid;
  align-content: space-between;
  gap: 18px;
}

.process-step:last-child {
  border-right: 0;
}

.process-step span {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--white);
  font-weight: 950;
}

.split-band {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  min-height: 620px;
}

.split-copy {
  padding: 82px 9vw 82px 7vw;
  display: grid;
  align-content: center;
  gap: 24px;
}

.split-media {
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amc-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  overflow: hidden;
}

.amc-cell {
  background: rgba(255, 255, 255, .08);
  padding: 24px;
  min-height: 176px;
}

.amc-cell b {
  display: block;
  font-size: 20px;
  margin-bottom: 12px;
}

.amc-cell span {
  color: #dce7ee;
}

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

.project-tile {
  min-height: 280px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.project-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 18%, rgba(3, 21, 42, .9));
}

.project-copy {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.project-copy small {
  font-weight: 900;
  color: var(--orange-2);
}

.quote-strip {
  background: var(--orange);
  color: var(--white);
  padding: 30px 0;
}

.quote-strip .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.quote-strip h2 {
  font-size: 34px;
}

.footer {
  background: #07182f;
  color: #d6e1ea;
  padding: 58px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr .8fr 1fr;
  gap: 34px;
  padding-bottom: 42px;
}

.footer img {
  width: 168px;
  background: var(--white);
  border-radius: 8px;
  padding: 7px;
  margin-bottom: 18px;
}

.footer h3 {
  font-size: 17px;
  margin-bottom: 14px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.footer a,
.footer p,
.footer li {
  color: #c6d3df;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #91a5b7;
  font-size: 14px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 55;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #18b86b;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(24, 184, 107, .34);
  font-weight: 950;
}

.page-hero {
  position: relative;
  min-height: 520px;
  color: var(--white);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
}

.page-hero .inner {
  position: relative;
  z-index: 1;
  padding: 120px 0 58px;
  display: grid;
  gap: 18px;
}

.page-hero h1 {
  font-size: 60px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #d6e1ea;
  font-weight: 800;
  font-size: 14px;
}

.crumbs a {
  color: var(--orange-2);
}

.two-col {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.copy-stack {
  display: grid;
  gap: 20px;
}

.copy-stack p,
.copy-stack li {
  color: #526575;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  padding-left: 30px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--orange);
}

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

.value-card,
.role-card,
.industry-card,
.faq-item,
.form-panel,
.contact-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
}

.value-card p,
.role-card p,
.industry-card p,
.faq-item p {
  color: #526575;
}

.service-detail-grid {
  display: grid;
  gap: 18px;
}

.service-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
}

.service-detail img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.service-detail-body {
  display: grid;
  gap: 14px;
  align-content: center;
}

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

.detail-columns ul {
  margin: 0;
  padding-left: 18px;
  color: #526575;
}

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

.form-panel {
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

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

.field label {
  display: block;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 7px;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfd;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
}

.field textarea {
  min-height: 126px;
  resize: vertical;
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 14px;
}

.contact-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 5px;
}

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

.role-card {
  display: grid;
  gap: 12px;
}

.role-card small {
  color: var(--orange);
  font-weight: 950;
}

.timeline {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.timeline-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  background: var(--white);
  padding: 22px;
}

.timeline-row strong {
  color: var(--orange);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.field-hero .reveal,
.page-hero .reveal {
  opacity: 1;
  transform: none;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  h1 {
    font-size: 60px;
  }

  h2 {
    font-size: 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 84px;
  }

  .dispatch-panel {
    max-width: 680px;
  }

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

  .process-step {
    border-bottom: 1px solid var(--line);
  }

  .process-step:nth-child(4n) {
    border-right: 0;
  }
}

@media (max-width: 980px) {
  .site-rail {
    display: none;
  }

  .mobile-header {
    display: block;
  }

  .page-shell {
    margin-left: 0;
  }

  .field-hero {
    min-height: auto;
  }

  .hero-grid {
    width: min(100% - 36px, 820px);
    padding: 92px 0 38px;
  }

  h1,
  .page-hero h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .section-title,
  .image-ledger,
  .split-band,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-lane {
    grid-template-columns: 72px 170px 1fr;
  }

  .lane-link {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .amc-board,
  .project-grid,
  .values-grid,
  .industry-grid,
  .roles-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail {
    grid-template-columns: 220px 1fr;
  }
}

@media (max-width: 720px) {
  .inner,
  .narrow {
    width: min(100% - 32px, 680px);
  }

  .section {
    padding: 64px 0;
  }

  .hero-grid {
    width: min(100% - 32px, 680px);
  }

  h1,
  .page-hero h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .lede {
    font-size: 17px;
  }

  .service-pulse {
    grid-template-columns: repeat(2, 1fr);
  }

  .pulse-item:nth-child(2) {
    border-right: 0;
  }

  .pulse-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }

  .service-lane,
  .service-detail,
  .timeline-row,
  .quote-strip .inner {
    grid-template-columns: 1fr;
  }

  .service-lane img {
    width: 100%;
  }

  .lane-link {
    grid-column: auto;
  }

  .process-grid,
  .amc-board,
  .project-grid,
  .values-grid,
  .industry-grid,
  .roles-grid,
  .footer-grid,
  .faq-grid,
  .form-grid,
  .detail-columns {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step:nth-child(4n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .ledger-photo,
  .split-media {
    min-height: 340px;
  }

  .quote-strip .inner {
    display: grid;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
