/* RJS Shipping Services
   Visual system adapted from the reference logistics site:
   navy headings, sky buttons, orange accents, ice section backgrounds.
   Typography: Montserrat for headings, Karla for text. */

:root {
  --navy: #001d67;
  --navy-deep: #00124a;
  --ink: #0c2348;
  --text: #5b7d9a;
  --orange: #f2931f;
  --orange-hot: #ff5e14;
  --sky: #34ccff;
  --sky-deep: #12b7ef;
  --ice: #eaf7ff;
  --mist: #cee2ff;
  --line: #d7e6f2;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(0, 29, 103, 0.1);
  --radius: 14px;
  --header: 92px;
  --container: 1160px;
  --font-sans: "Karla", "Segoe UI", sans-serif;
  --font-display: "Montserrat", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.45em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 14px;
  z-index: 1000;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--sky-deep);
  outline-offset: 3px;
}

/* Header */

#header-slot {
  min-height: var(--header);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 29, 103, 0.08);
  border-bottom-color: rgba(0, 29, 103, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 210px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.site-nav ul a {
  position: relative;
  padding: 6px 0;
}

.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav ul a:hover,
.site-nav ul a.is-active {
  color: var(--orange-hot);
}

.site-nav ul a:hover::after,
.site-nav ul a.is-active::after {
  transform: scaleX(1);
}

.nav-backdrop {
  display: none;
}

.drawer-top,
.drawer-foot {
  display: none;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  background: var(--white);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  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);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 6px;
  border: 0;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sky {
  background: var(--sky);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(52, 204, 255, 0.28);
}

.btn-sky:hover {
  background: var(--sky-deep);
  color: var(--white);
}

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

.btn-ice:hover {
  background: #b9d4ff;
  color: var(--navy);
}

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

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

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
}

.text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.service-card:hover .text-link,
.text-link:hover {
  color: var(--orange-hot);
}

.service-card:hover .text-link::after,
.text-link:hover::after {
  transform: translateX(4px);
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  height: calc(100vh - var(--header));
  max-height: 920px;
  color: var(--white);
  display: grid;
  background: var(--navy-deep);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 18, 74, 0.94) 0%, rgba(0, 18, 74, 0.82) 34%, rgba(0, 18, 74, 0.42) 62%, rgba(0, 18, 74, 0.18) 100%);
}

.hero-content {
  position: absolute;
  z-index: 2;
  top: 46%;
  left: max(24px, calc((100% - var(--container)) / 2));
  transform: translateY(-50%);
  width: min(680px, calc(100% - 48px));
  margin: 0;
  padding-bottom: 20px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(44px, 5.4vw, 74px);
  font-weight: 800;
  margin: 0 0 18px;
}

.hero-line-light {
  display: block;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.hero-line {
  display: block;
}

.hero p {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.92);
}

.hero-phone {
  color: var(--white);
  font-weight: 700;
}

.hero-phone span {
  color: var(--sky);
  font-weight: 400;
  margin-right: 8px;
}

.hero-dots {
  position: absolute;
  z-index: 3;
  left: max(24px, calc((100% - var(--container)) / 2));
  bottom: 28px;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--sky);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-head h2,
.page-intro h2,
.split h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.ice {
  background: var(--ice);
}

/* Services */

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

.service-card {
  min-width: 0;
}

.service-card-link {
  display: block;
  height: 100%;
}

.service-card-media {
  height: 210px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

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

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

.service-card-body {
  position: relative;
  margin: -32px 14px 8px;
  background: var(--white);
  border-radius: 12px;
  padding: 20px 18px 18px;
  box-shadow: var(--shadow);
  min-height: 168px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 14px;
}

/* About split */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 16px;
}

.about-photo::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 28px -18px -18px 28px;
  border: 2px solid var(--sky);
  border-radius: 16px;
}

.photo-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: var(--white);
  color: var(--navy);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  max-width: 240px;
}

.photo-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 2px;
}

.photo-badge span {
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}

.check-list {
  margin: 18px 0 26px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--sky-deep);
  border-bottom: 2px solid var(--sky-deep);
  transform: rotate(-45deg);
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  box-shadow: 0 10px 30px rgba(0, 29, 103, 0.06);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  color: var(--sky);
  line-height: 1;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 22px;
}

/* Quote */

.quote-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.quote-copy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
  padding: 48px 40px;
}

.quote-copy h2,
.quote-copy .eyebrow,
.quote-copy a {
  color: var(--white);
}

.quote-copy a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quote-copy .eyebrow::before {
  background: var(--orange);
}

.quote-form,
.contact-form {
  padding: 36px 36px 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #f8fbfe;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sky);
  background: var(--white);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #d64545;
  background: #fff8f8;
}

.field-error {
  min-height: 1em;
  color: #b42318;
  font-size: 13px;
  line-height: 1.3;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.form-note {
  font-size: 13px;
  color: var(--text);
}

.form-success {
  background: var(--ice);
  border-radius: 12px;
  padding: 22px;
  color: var(--ink);
}

.form-success h3 {
  margin-bottom: 8px;
}

.summary {
  background: var(--white);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 14px 0;
  font-size: 15px;
  white-space: pre-wrap;
}

/* Mission */

.mission-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.mission-visual {
  position: relative;
  min-height: 460px;
  border-radius: 16px;
  overflow: hidden;
}

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

.mission-visual figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.mission-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 18, 74, 0.05), rgba(0, 18, 74, 0.72));
}

.mission-cards {
  display: grid;
  gap: 18px;
}

.plain-card,
.icon-card,
.insight-card,
.office-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0, 29, 103, 0.06);
}

.plain-card {
  padding: 26px 26px 22px;
}

.plain-card h3 {
  font-size: 22px;
}

.mission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* Capabilities — visual stand-in for a counter band, without invented figures */

.capability-band {
  position: relative;
  color: var(--white);
  padding: 88px 0;
  overflow: hidden;
}

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

.capability-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 18, 74, 0.88), rgba(0, 29, 103, 0.72));
}

.capability-band .container {
  position: relative;
  z-index: 1;
}

.capability-band h2 {
  color: var(--white);
  max-width: 640px;
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 28px;
}

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

.capability {
  border-top: 2px solid var(--sky);
  padding-top: 16px;
}

.capability strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
}

.capability span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

/* Why */

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

.icon-card {
  padding: 24px 20px 22px;
  min-height: 210px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ice);
  color: var(--navy);
  margin-bottom: 14px;
}

.icon-badge svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-card h3 {
  font-size: 18px;
}

.icon-card p {
  font-size: 15px;
}

/* Lanes */

.lane-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.lane-map {
  background: linear-gradient(180deg, #f4fbff, #e7f4ff);
  border-radius: 18px;
  padding: 28px 22px 18px;
  border: 1px solid #d5ebf8;
}

.lane-map svg {
  width: 100%;
  height: auto;
  display: block;
}

.lane-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.lane-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.lane-list strong {
  color: var(--navy);
}

/* Insights */

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

.insight-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.insight-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.insight-card div {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.insight-card h3 {
  font-size: 20px;
}

.article {
  max-width: 760px;
}

.article + .article {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.article img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 22px;
}

.article h2 {
  font-size: clamp(28px, 3vw, 36px);
}

/* CTA + contact strip */

.cta-band {
  background:
    radial-gradient(circle at 90% 10%, rgba(52, 204, 255, 0.28), transparent 32%),
    linear-gradient(100deg, var(--navy-deep), var(--navy) 55%, #08306e);
  color: var(--white);
  padding: 78px 0;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(32px, 4vw, 52px);
  max-width: 680px;
}

.cta-band p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 24px;
}

.contact-strip {
  padding: 72px 0 36px;
}

.office-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 16px;
}

.office-card {
  padding: 22px 20px;
}

.office-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.office-card a {
  color: var(--navy);
  font-weight: 700;
}

.office-card a:hover {
  color: var(--orange-hot);
}

.phone-xl {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 0;
}

.footer-accent {
  height: 6px;
  background: linear-gradient(90deg, var(--orange) 0 28%, var(--sky) 28% 62%, var(--navy) 62%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr 1fr;
  gap: 32px;
  padding: 56px 0 36px;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-brand img {
  width: 190px;
  height: auto;
  background: var(--white);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 14px;
}

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

.site-footer li + li {
  margin-top: 8px;
}

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0 22px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Inner pages */

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

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

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 18, 74, 0.82), rgba(0, 18, 74, 0.45));
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding: 48px 0 36px;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 8px;
}

.crumbs {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 700;
}

.crumbs a:hover {
  color: var(--sky);
}

.prose-block {
  max-width: 740px;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

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

.service-detail img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
}

.service-detail.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.service-detail.reverse img {
  order: 2;
}

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

.contact-card {
  background: var(--ice);
  border-radius: 16px;
  padding: 28px 24px;
}

.contact-card h2 {
  font-size: 28px;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.map-frame {
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
  min-height: 360px;
  background: var(--ice);
  border: 1px solid var(--line);
}

.map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

/* Dialog */

.track-dialog {
  width: min(520px, calc(100% - 32px));
  border: 0;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 24px 80px rgba(0, 18, 74, 0.28);
}

.track-dialog::backdrop {
  background: rgba(0, 18, 74, 0.55);
}

.dialog-inner {
  padding: 26px 24px 22px;
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.dialog-close {
  border: 0;
  background: var(--ice);
  color: var(--navy);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

/* Motion — content stays visible unless JavaScript enables reveals */

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

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.hero-content .hero-line-light,
.hero-content .hero-line,
.hero-content p,
.hero-content .hero-actions,
.hero-content .hero-phone {
  animation: fade-up 0.7s ease both;
}

.hero-content .hero-line { animation-delay: 0.08s; }
.hero-content p { animation-delay: 0.16s; }
.hero-content .hero-actions { animation-delay: 0.24s; }
.hero-content .hero-phone { animation-delay: 0.32s; }

.lane-route {
  stroke-dasharray: 6 8;
  animation: dash 18s linear infinite;
}

@keyframes dash {
  to { stroke-dashoffset: -280; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-content .hero-line-light,
  .hero-content .hero-line,
  .hero-content p,
  .hero-content .hero-actions,
  .hero-content .hero-phone,
  .lane-route { animation: none; }
  .hero-slide,
  .service-card img,
  .icon-card,
  .insight-card,
  .btn,
  .site-nav,
  .nav-backdrop { transition: none; }
}

/* Responsive */

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

  .footer-grid,
  .office-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .split.reverse,
  .mission-grid,
  .lane-layout,
  .quote-panel,
  .contact-layout,
  .service-detail,
  .service-detail.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-detail.reverse img {
    order: 0;
  }

  .about-photo::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(0, 18, 74, 0.48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    position: fixed;
    z-index: 80;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    margin: 0;
    padding: 22px 22px 32px;
    background: var(--white);
    box-shadow: -18px 0 50px rgba(0, 18, 74, 0.18);
    overflow-y: auto;
    transform: translateX(104%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.45s;
  }

  body.nav-open .site-nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
  }

  .drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }

  .drawer-top img {
    width: 168px;
    height: auto;
  }

  .drawer-close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: var(--ice);
    color: var(--navy);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    flex: 0 0 auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-bottom: 18px;
  }

  .site-nav ul a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 10px;
    border-bottom: 0;
  }

  .site-nav ul a::after {
    display: none;
  }

  .site-nav ul a.is-active,
  .site-nav ul a:hover {
    background: var(--ice);
    color: var(--navy);
  }

  .site-nav ul a.is-active {
    box-shadow: inset 3px 0 0 var(--orange);
  }

  .site-nav .btn {
    width: 100%;
    margin-top: 8px;
  }

  .drawer-foot {
    display: block;
    margin-top: auto;
    padding-top: 22px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
  }

  .drawer-foot a {
    color: var(--navy);
    font-weight: 700;
  }
}

@media (max-width: 1180px) and (min-width: 1041px) {
  .site-nav { gap: 14px; }
  .site-nav ul { gap: 14px; }
  .brand img { width: 176px; }
  .btn { padding: 12px 16px; }
}

@media (max-width: 720px) {
  :root { --header: 78px; }

  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .brand img { width: 150px; }

  .section { padding: 64px 0; }

  .hero {
    min-height: 620px;
    height: auto;
  }

  .hero-content {
    left: 16px;
    width: calc(100% - 32px);
    top: 42%;
  }

  .hero h1 { font-size: 40px; }

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

  .service-grid,
  .why-grid,
  .capability-grid,
  .insight-grid,
  .steps,
  .footer-grid,
  .office-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-card-media { height: 200px; }

  .about-photo img,
  .article img { height: 240px; }

  .mission-visual { min-height: 280px; }

  .quote-copy,
  .quote-form,
  .contact-form { padding: 24px 18px; }

  .lane-list li { grid-template-columns: 1fr; gap: 2px; }

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

  .phone-xl { font-size: 28px; }
}
