:root {
  --charcoal: #303136;
  --charcoal-2: #202125;
  --red: #ed1c24;
  --red-dark: #c91118;
  --white: #ffffff;
  --off-white: #f5f5f3;
  --line: #dedede;
  --muted: #666970;
  --max: 1240px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(20, 20, 25, .10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--red);
}

h1, h2, h3, h4 {
  line-height: 1.05;
  letter-spacing: -.04em;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

h3 { font-size: 1.55rem; }

p { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 4px;
  font-weight: 800;
  font-size: .92rem;
  transition: .25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: rgba(255,255,255,.4);
  color: white;
}

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

/* Navigation */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

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

.brand img {
  width: 190px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: .85rem;
  font-weight: 700;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width .25s ease;
}

.nav-links a.is-active {
  box-shadow: inset 0 -2px 0 var(--red);
}

.nav-links a.is-active::after {
  width: 100%;
}

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

.nav-cta { display: flex; gap: 12px; }

.nav-links .nav-cta-link {
  min-height: 46px;
  padding: 0 20px;
  margin-left: 6px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  position: relative;
  color: var(--charcoal);
  transition: color .25s ease;
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease, top .25s ease, width .25s ease;
  transform-origin: center;
}

.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }

.nav.mobile-open .menu-toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.nav.mobile-open .menu-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(.5);
}

.nav.mobile-open .menu-toggle span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.nav.mobile-open .menu-toggle {
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 1003;
  color: var(--charcoal);
}

/* Shared reusable layout and section primitives */
section { padding: 120px 0; }

.page-service section { padding: 110px 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-image {
  min-height: 580px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(237,28,36,.12), transparent),
    url("https://images.unsplash.com/photo-1565610222536-ef125c59da2e?auto=format&fit=crop&w=1200&q=85") center/cover;
  position: relative;
  overflow: hidden;
}

.about-split-image {
  min-height: 660px;
  background:
    linear-gradient(135deg, rgba(237,28,36,.12), transparent),
    url("public/about-warehouse.jpg") center/cover;
}

.image-badge {
  position: absolute;
  right: 25px;
  bottom: 25px;
  background: var(--red);
  color: white;
  padding: 24px;
  width: 210px;
}

.image-badge strong {
  display: block;
  font-size: 2.7rem;
  line-height: 1;
  margin-bottom: 8px;
}

.feature-list {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.feature-list-tight { margin-top: 28px; }

.feature {
  display: flex;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.feature-number {
  color: var(--red);
  font-weight: 900;
  font-size: .9rem;
  padding-top: 3px;
}

.feature h4 { margin-bottom: 5px; font-size: 1.05rem; }
.feature p { font-size: .92rem; }

.feature-title-sm { font-size: 1.05rem; margin-bottom: 6px; }
.feature-title-xs { font-size: 1rem; margin-bottom: 6px; }

.section-copy-lg { font-size: 1.08rem; }
.section-copy-md { font-size: 1.08rem; }
.section-copy-sm { font-size: 1.12rem; }

.mt-20 { margin-top: 20px; }
.mt-22 { margin-top: 22px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-34 { margin-top: 34px; }

.mw-760 { max-width: 760px; }
.mw-720 { max-width: 720px; }
.mw-680 { max-width: 680px; }
.mw-650 { max-width: 650px; }

.fs-108 { font-size: 1.08rem; }
.fs-105 { font-size: 1.05rem; }
.fs-100 { font-size: 1rem; }

.bg-off-white { background: var(--off-white); }

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

.feature-grid-spaced { margin-top: 34px; }

.feature-card {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow);
}

.feature-card .kicker {
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  margin-bottom: 18px;
}

.feature-card p { font-size: .92rem; margin-top: 12px; }

.panel {
  background: var(--off-white);
  padding: 34px;
  border: 1px solid rgba(0,0,0,.05);
}

.panel-title-lg { font-size: clamp(2rem, 4vw, 3.2rem); }

.cta {
  background:
    linear-gradient(110deg, rgba(237,28,36,.95), rgba(170,13,19,.95)),
    url("https://images.unsplash.com/photo-1553413077-190dd305871c?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: white;
  padding: 100px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta h2 { max-width: 680px; }

.cta p {
  color: rgba(255,255,255,.8);
  max-width: 640px;
  margin-top: 20px;
}

.cta .btn {
  background: white;
  color: var(--charcoal);
  white-space: nowrap;
}

.cta .btn:hover { background: var(--charcoal); color: white; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.55);
  font-size: .85rem;
  flex-wrap: wrap;
}

/* Home page: Hero */
.page-home h1 {
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  max-width: 900px;
}

.page-home h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.page-home .hero {
  min-height: 820px;
  padding: 180px 0 90px;
  background:
    linear-gradient(90deg, rgba(20,21,24,.97) 0%, rgba(20,21,24,.88) 42%, rgba(20,21,24,.36) 100%),
    url("https://images.unsplash.com/photo-1586528116493-da8b0b5a7b1b?auto=format&fit=crop&w=2200&q=85") center/cover;
  color: white;
  position: relative;
  display: flex;
  align-items: center;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(transparent, var(--white));
  opacity: .12;
}

.hero-content { position: relative; z-index: 1; }
.hero-copy { max-width: 650px; font-size: 1.15rem; color: rgba(255,255,255,.74); margin-bottom: 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  position: absolute;
  right: 5%;
  bottom: 12%;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.2);
}

.hero-stat {
  padding: 22px 28px;
  min-width: 160px;
  background: rgba(30,31,35,.65);
  backdrop-filter: blur(10px);
}

.hero-stat strong {
  display: block;
  font-size: 2.2rem;
  color: white;
  line-height: 1;
  margin-bottom: 7px;
}

.hero-stat span {
  color: rgba(255,255,255,.65);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}

/* Home page: Trust strip */
.trust-strip {
  background: var(--red);
  color: white;
  padding: 25px 0;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: .88rem;
}

.trust-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.5);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.15rem;
}

/* Home page: Capabilities and data sections */
.section-heading {
  max-width: 760px;
  margin-bottom: 58px;
}

.section-heading p {
  font-size: 1.08rem;
  margin-top: 22px;
  max-width: 680px;
}

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

.capability-card {
  min-height: 410px;
  padding: 30px;
  border: 1px solid var(--line);
  background: white;
  display: block;
  color: inherit;
  transition: .3s ease;
  position: relative;
  overflow: hidden;
}

.capability-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--red);
}

.capability-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: .3s ease;
}

.capability-card:hover::before { transform: scaleX(1); }

.capability-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--off-white);
  color: var(--red);
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 32px;
}

.capability-card h3 { margin-bottom: 16px; }
.capability-card p { font-size: .91rem; margin-bottom: 22px; }

.capability-card ul {
  list-style: none;
  display: grid;
  gap: 9px;
}

.capability-card li {
  font-size: .83rem;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}

.capability-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}

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

.data-visual {
  min-height: 500px;
  background: var(--charcoal);
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
}

.data-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.dashboard {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  gap: 16px;
  align-content: center;
}

.dash-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 16px;
}

.dash-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  padding: 22px;
}

.dash-card small {
  display: block;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .65rem;
  margin-bottom: 10px;
}

.dash-card strong {
  font-size: 2rem;
  color: white;
}

.bar-chart {
  height: 110px;
  display: flex;
  align-items: end;
  gap: 8px;
  margin-top: 14px;
}

.bar {
  flex: 1;
  background: var(--red);
  min-height: 20%;
}

.bar-44 { height: 44%; }
.bar-51 { height: 51%; }
.bar-62 { height: 62%; }
.bar-68 { height: 68%; }
.bar-76 { height: 76%; }
.bar-82 { height: 82%; }
.bar-92 { height: 92%; }
.bar-100 { height: 100%; }

/* Home page: Logos section */
.logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.logo-placeholder {
  height: 100px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: #999;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: .25s ease;
}

.logo-placeholder:hover {
  border-color: var(--red);
  color: var(--charcoal);
}

/* Home page: Contact section */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 25px;
  margin-top: 35px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  background: var(--off-white);
  color: var(--red);
  display: grid;
  place-items: center;
  font-weight: 900;
  flex: 0 0 auto;
}

.contact-item strong { display: block; margin-bottom: 3px; }
.contact-item span { color: var(--muted); font-size: .9rem; }

.contact-form {
  padding: 38px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }

label {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 14px 15px;
  font: inherit;
  background: white;
  color: var(--charcoal);
  outline: none;
  transition: border .2s ease;
}

input:focus, select:focus, textarea:focus { border-color: var(--red); }

textarea { min-height: 130px; resize: vertical; }

.form-submit {
  margin-top: 20px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit[disabled] {
  opacity: .8;
  cursor: wait;
}

.form-submit .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: form-submit-spin .8s linear infinite;
}

.form-submit.is-loading .spinner {
  display: inline-block;
}

@keyframes form-submit-spin {
  to { transform: rotate(360deg); }
}

/* Shared footer */
footer {
  background: var(--charcoal-2);
  color: white;
  padding: 60px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-brand img {
  width: 220px;
  background: white;
  padding: 8px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255,255,255,.55);
  max-width: 350px;
  font-size: .9rem;
}

footer h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 18px;
}

footer ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

footer li, footer a {
  color: rgba(255,255,255,.55);
  font-size: .87rem;
}

footer a:hover { color: white; }

.copyright {
  padding-top: 22px;
  color: rgba(255,255,255,.4);
  font-size: .78rem;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* Page-specific hero backgrounds */
/* Home page: Hero background and layout */
.page-home .hero {
  min-height: 820px;
  padding: 180px 0 90px;
  background:
    linear-gradient(90deg, rgba(20,21,24,.97) 0%, rgba(20,21,24,.88) 42%, rgba(20,21,24,.36) 100%),
    url("https://images.unsplash.com/photo-1586528116493-da8b0b5a7b1b?auto=format&fit=crop&w=2200&q=85") center/cover;
  color: white;
  position: relative;
  display: flex;
  align-items: center;
}

/* Warehousing page: Hero */
.page-warehousing .hero {
  min-height: 720px;
  padding: 180px 0 90px;
  background:
    linear-gradient(90deg, rgba(20,21,24,.97) 0%, rgba(20,21,24,.88) 42%, rgba(20,21,24,.36) 100%),
    url("public/warehousing-hero.jpg") center/cover;
  color: white;
  display: flex;
  align-items: center;
}

/* About page: Hero */
.page-about .hero {
  min-height: 720px;
  padding: 180px 0 90px;
  background:
    linear-gradient(90deg, rgba(20,21,24,.97) 0%, rgba(20,21,24,.88) 42%, rgba(20,21,24,.36) 100%),
    url("public/homepage-operations.jpg") center/cover;
  color: white;
  display: flex;
  align-items: center;
}

/* Value-added page: Hero */
.page-value-added .hero {
  min-height: 720px;
  padding: 180px 0 90px;
  background:
    linear-gradient(90deg, rgba(20,21,24,.97) 0%, rgba(20,21,24,.88) 42%, rgba(20,21,24,.36) 100%),
    url("public/value-added-hero.jpg") center/cover;
  color: white;
  display: flex;
  align-items: center;
}

/* Shipping page: Hero */
.page-shipping .hero {
  min-height: 720px;
  padding: 180px 0 90px;
  background:
    linear-gradient(90deg, rgba(20,21,24,.97) 0%, rgba(20,21,24,.88) 42%, rgba(20,21,24,.36) 100%),
    url("public/shipping-hero.jpg") center/cover;
  color: white;
  display: flex;
  align-items: center;
}

/* IT page: Hero */
.page-it .hero {
  min-height: 720px;
  padding: 180px 0 90px;
  background:
    linear-gradient(90deg, rgba(20,21,24,.97) 0%, rgba(20,21,24,.88) 42%, rgba(20,21,24,.36) 100%),
    url("public/it-hero.jpg") center/cover;
  color: white;
  display: flex;
  align-items: center;
}

/* QA & Security page: Hero */
.page-qa-security .hero {
  min-height: 680px;
  padding: 180px 0 90px;
  background:
    linear-gradient(90deg, rgba(18,19,22,.88) 0%, rgba(18,19,22,.72) 42%, rgba(18,19,22,.28) 100%),
    url("public/qa-hero.jpg") center/cover;
  color: white;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.page-qa-security .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-qa-security .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(transparent, var(--white));
  opacity: .10;
  pointer-events: none;
}

.page-qa-security .hero .eyebrow,
.page-qa-security .hero h1,
.page-qa-security .hero p {
  color: white;
}

.page-qa-security .hero .eyebrow::before {
  background: var(--red);
}

.page-qa-security .hero .hero-copy {
  max-width: 760px;
  color: rgba(255,255,255,.76);
}

.page-qa-security .hero .btn {
  background: var(--red);
  color: white;
}

.page-qa-security .hero .btn-primary {
  box-shadow: 0 18px 30px rgba(237,28,36,.18);
}

.page-qa-security .hero-content {
  position: relative;
  z-index: 1;
}

.page-qa-security .hero-copy-block {
  position: relative;
  z-index: 1;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(transparent, var(--white));
  opacity: .12;
}

/* Warehousing page: Robotics showcase */
.robotics-showcase {
  padding: 120px 0;
  background:
    radial-gradient(circle at top left, rgba(237,28,36,.16), transparent 30%),
    linear-gradient(180deg, #1d1e21 0%, #25272b 100%);
  color: white;
}

.robotics-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center;
}

.robotics-copy .eyebrow,
.robotics-copy h2,
.robotics-copy p,
.robotics-copy h3 {
  color: white;
}

.robotics-copy p {
  color: rgba(255,255,255,.74);
}

.robotics-gallery {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: stretch;
}

.robotics-photo {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  min-height: 100%;
}

.robotics-photo-large {
  grid-row: 1 / span 2;
  min-height: 560px;
}

.robotics-photo-small {
  align-self: end;
  min-height: 330px;
}

.robotics-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.robotics-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.62) 100%);
}

.robotics-photo figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  color: white;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.robotics-photo-small {
  transform: translateY(18px);
}

.robotics-showcase .feature {
  border-bottom-color: rgba(255,255,255,.12);
}

.robotics-showcase .feature-number {
  color: #ffb3b3;
}

.robotics-showcase .feature p {
  color: rgba(255,255,255,.72);
}

/* About page: Why Raywood band */
.about-why-band {
  padding: 88px 0;
  background:
    radial-gradient(circle at top right, rgba(237,28,36,.14), transparent 28%),
    linear-gradient(180deg, #232428 0%, #2b2c31 100%);
  color: white;
}

.about-why-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 28px;
  align-items: center;
}

.about-why-copy .eyebrow,
.about-why-copy h2,
.about-why-copy p {
  color: white;
}

.about-why-copy p {
  color: rgba(255,255,255,.76);
}

.about-why-highlights {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.about-why-highlight {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
}

.about-why-highlight strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
}

.about-why-highlight span {
  color: rgba(255,255,255,.74);
}

.about-why-visual {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}

.about-why-visual img {
  width: 100%;
  height: 700px;
  display: block;
  object-fit: cover;
}

/* Shared service pages: Hero and content alignment */
.page-service .hero-content { position: relative; z-index: 1; }
.page-service .hero-copy { max-width: 680px; font-size: 1.12rem; color: rgba(255,255,255,.74); margin: 28px 0 36px; }
.page-service .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.page-service .stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 60px;
}

.page-service .stat {
  padding: 22px 24px;
  background: rgba(30,31,35,.68);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
}

.page-service .stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
}

.page-service .stat span {
  color: rgba(255,255,255,.65);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}

.page-service .feature-card { min-height: 260px; }
.page-service .split { gap: 70px; }
.page-service .panel-title-lg { max-width: none; }

/* QA & Security page: Feature grid and supporting sections */
.page-qa-security .feature-grid {
  grid-template-columns: repeat(2, 1fr);
}

.page-qa-security .feature-grid-spaced {
  margin-top: 28px;
}

.page-qa-security .feature-card {
  min-height: 240px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfa 100%);
  border-top: 4px solid var(--red);
  box-shadow: none;
}

.page-qa-security .feature-card .kicker {
  color: var(--charcoal);
  opacity: .72;
}

.page-qa-security .bg-off-white {
  background: linear-gradient(180deg, #fafafa 0%, #f0f2f4 100%);
}

.page-qa-security .split {
  align-items: start;
  gap: 56px;
}

.page-qa-security .panel {
  background: white;
  border-left: 5px solid var(--red);
  box-shadow: none;
}

.page-qa-security .feature-list .feature {
  border-bottom-color: rgba(48,49,54,.12);
}

.page-qa-security .feature-number {
  color: var(--charcoal);
}

/* Value-added page: Overview, workflow, and support cards */
.page-value-added .value-added-overview {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  margin-top: 36px;
}

.page-value-added .value-added-story-card,
.page-value-added .value-added-capabilities-card,
.page-shipping .shipping-card,
.page-shipping .shipping-ops-card {
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 32px;
}

.page-value-added .value-added-story-card.large {
  min-height: 100%;
}

@media (max-width: 1000px) {
  .about-why-band {
    padding: 72px 0;
  }

  .about-why-layout {
    grid-template-columns: 1fr;
  }

  .about-why-visual {
    border-radius: 24px;
  }

  .about-why-visual img {
    height: 480px;
  }
}

.page-value-added .workflow-steps {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.page-value-added .workflow-step {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.page-value-added .workflow-step:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-value-added .workflow-step span {
  color: var(--red);
  font-weight: 800;
  font-size: .84rem;
  min-width: 36px;
}

.page-value-added .value-added-side {
  display: grid;
  gap: 18px;
}

.page-value-added .value-added-story-card.highlight {
  background: linear-gradient(135deg, #7a2d0d 0%, #b54b14 100%);
  color: white;
}

.page-value-added .value-added-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.page-value-added .value-added-list li {
  padding-left: 14px;
  position: relative;
}

.page-value-added .value-added-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--red);
}

.page-value-added .status-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.page-value-added .status-chip {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  padding: 12px 14px;
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
}

.page-value-added .value-added-capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.page-value-added .value-added-capabilities-card.wide {
  grid-column: 1 / -1;
}

/* Shipping page: Overview, modes, timeline, and network */
.page-shipping .shipping-overview {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  margin-top: 36px;
}

.page-shipping .shipping-card.accent {
  background: linear-gradient(135deg, #19204d 0%, #38418f 100%);
  color: white;
}

.page-shipping .shipping-card.accent .eyebrow,
.page-shipping .shipping-card.accent h4,
.page-shipping .shipping-card.accent p {
  color: inherit;
}

.page-shipping .shipping-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.page-shipping .shipping-mode {
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--off-white);
}

.page-shipping .timeline {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.page-shipping .timeline-item {
  display: flex;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.page-shipping .timeline-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-shipping .timeline-item span {
  color: #b8c0ff;
  font-weight: 800;
}

.page-shipping .shipping-ops {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.page-shipping .shipping-network-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.page-shipping .shipping-network-card {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* Home page: Hero, stats, capabilities, data, and contact */
.page-home .hero-content { position: relative; z-index: 1; }
.page-home .hero h1 { margin-bottom: 28px; }
.page-home .hero h1 span { color: var(--red); }
.page-home .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.page-home .hero-stats {
  position: absolute;
  right: 5%;
  bottom: 12%;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.2);
}

.page-home .hero-stat {
  padding: 22px 28px;
  min-width: 160px;
  background: rgba(30,31,35,.65);
  backdrop-filter: blur(10px);
}

.page-home .hero-stat strong {
  display: block;
  font-size: 2.2rem;
  color: white;
  line-height: 1;
  margin-bottom: 7px;
}

.page-home .hero-stat span {
  color: rgba(255,255,255,.65);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}

.page-home .hero { min-height: 820px; }
.page-home .hero-copy { max-width: 650px; font-size: 1.15rem; margin-bottom: 38px; }
.page-home .section-heading p { font-size: 1.08rem; }
.page-home .cta h2 { max-width: 680px; }
.page-home footer { padding: 60px 0 25px; }

.page-service footer { padding: 28px 0 30px; }
.page-service .footer-inner { display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.55); font-size: .85rem; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 1000px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }

  .nav.mobile-open .nav-links {
    display: grid;
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    top: 88px;
    padding-top: 8px;
  }

  .nav.mobile-open {
    inset: 0;
    height: 100vh;
    background:
      linear-gradient(135deg, rgba(32,33,37,.99), rgba(48,49,54,.97)),
      var(--charcoal-2);
    z-index: 1001;
    overflow-y: auto;
    animation: navReveal .28s ease;
  }

  .nav.mobile-open .nav-inner {
    min-height: 100vh;
    width: 100%;
    max-width: none;
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 22px 30px 30px;
  }

  .nav.mobile-open .brand {
    display: none;
  }

  .nav.mobile-open .menu-toggle {
    position: fixed;
    top: 18px;
    right: 24px;
    z-index: 1003;
    color: white !important;
  }

  .nav.mobile-open .menu-toggle span {
    background: white;
  }

  .nav.mobile-open .nav-links {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 14px;
    overflow-y: auto;
    z-index: 1001;
    position: absolute;
    left: 0;
    right: 0;
    top: 88px;
    padding: 18px 28px 32px;
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    background:
      linear-gradient(135deg, rgba(32,33,37,.99), rgba(48,49,54,.97)),
      var(--charcoal-2);
  }

  .nav.mobile-open .nav-links a {
    color: white;
    font-size: clamp(1.55rem, 4vw, 2.25rem);
    font-weight: 700;
    padding: 6px 0;
    width: fit-content;
  }

  .nav.mobile-open .nav-links a::after {
    height: 3px;
    background: rgba(237,28,36,.95);
  }

  @keyframes navReveal {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
  }

  .trust-grid,
  .capability-grid,
  .feature-grid,
  .page-service .stat-row,
  .page-value-added .value-added-overview,
  .page-shipping .shipping-overview,
  .page-value-added .value-added-capabilities,
  .page-shipping .shipping-ops { grid-template-columns: repeat(2, 1fr); }

  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 35px 0; }
  .process-card:nth-child(2)::after { display: none; }

  .hero-stats {
    position: static;
    margin-top: 60px;
    width: fit-content;
  }

  .page-home .hero,
  .page-service .hero { min-height: auto; }

  .split,
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }

  .split-image { min-height: 440px; }

  .about-split-image { min-height: 500px; }

  .logos { grid-template-columns: repeat(3, 1fr); }

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

  .cta-inner { display: grid; }

  .robotics-layout,
  .robotics-gallery { grid-template-columns: 1fr; }

  .robotics-photo-large,
  .robotics-photo-small {
    min-height: 300px;
    transform: none;
  }
}

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

  section,
  .page-service section { padding: 80px 0; }

  .brand img { width: 155px; }

  .page-home .hero,
  .page-service .hero { padding-top: 145px; }
  .page-qa-security .hero-content {
    grid-template-columns: 1fr;
  }
  .page-qa-security .hero-visual {
    justify-content: flex-start;
  }
  .page-qa-security .hero-visual-shell {
    width: min(100%, 560px);
  }

  .page-home h1,
  .page-service h1 { font-size: 3.2rem; }

  .hero-stats,
  .trust-grid,
  .capability-grid,
  .feature-grid,
  .process-grid,
  .logos,
  .footer-grid,
  .form-grid,
  .page-service .stat-row,
  .page-value-added .value-added-overview,
  .page-shipping .shipping-overview,
  .page-value-added .value-added-capabilities,
  .page-shipping .shipping-ops,
  .page-shipping .shipping-mode-grid,
  .page-shipping .shipping-network-grid,
  .page-value-added .status-row { grid-template-columns: 1fr; }

  .hero-stats { width: 100%; }
  .hero-stat { min-width: 0; }
  .process-card:not(:last-child)::after { display: none; }
  .contact-form { padding: 24px; }
  .field.full { grid-column: auto; }
  .copyright { display: grid; }
}