:root {
  --ink: #062c3c;
  --ink-2: #0d506d;
  --paper: #f4f8f9;
  --white: #ffffff;
  --mist: #e2f0f4;
  --muted: #5e7480;
  --line: rgba(13, 80, 109, 0.16);
  --signal: #22a2d6;
  --signal-dark: #0d506d;
  --blue: #8edcf0;
  --radius: 5px;
  --shadow: 0 24px 70px rgba(7, 23, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Bahnschrift, "DIN Alternate", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.005em;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--white);
  background: var(--signal);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 3px;
  color: var(--ink);
  background: var(--signal);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.68);
}

.eyebrow--signal {
  color: var(--signal);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.02;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 860px;
  margin-bottom: 26px;
  color: var(--white);
  font-size: clamp(3.25rem, 7vw, 7.75rem);
  font-weight: 780;
}

h1 .hero-line {
  display: block;
}

h1 .hero-line--signal {
  color: var(--signal);
}

h2 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 5vw, 5rem);
  font-weight: 720;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
}

.lead {
  max-width: 710px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  padding: 0;
  color: var(--ink);
  border-bottom: 1px solid rgba(13, 80, 109, 0.16);
  background: rgba(248, 251, 252, 0.98);
}

.header.is-sticky {
  position: fixed;
  padding: 0;
  background: rgba(248, 251, 252, 0.98);
  box-shadow: 0 8px 28px rgba(3, 35, 48, 0.1);
  animation: slideDown 300ms ease both;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
}

.nav {
  position: relative;
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: min-height 180ms ease;
}

.nav::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 96px;
  height: 2px;
  background: var(--signal);
  content: "";
}

.header.is-sticky .nav {
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: auto;
  height: 54px;
  transition: height 180ms ease;
}

.header.is-sticky .brand-logo {
  height: 47px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  place-items: center;
}

.brand-mark::before {
  position: absolute;
  width: 58px;
  height: 18px;
  border: 2px solid var(--signal);
  border-radius: 50%;
  content: "";
  transform: rotate(-28deg);
}

.brand-mark b {
  color: var(--signal);
  font-size: 0.8rem;
  letter-spacing: -0.08em;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.09em;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav-links a {
  color: rgba(6, 44, 60, 0.72);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.035em;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--signal);
}

.lang-switch {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-items: center;
  padding: 0 2px;
  border: 0;
}

.lang-switch a {
  position: relative;
  min-width: 38px;
  padding: 9px 10px 8px;
  border-radius: 0;
  color: rgba(13, 80, 109, 0.54);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-align: center;
  transition: color 180ms ease;
}

.lang-switch a + a {
  border-left: 1px solid rgba(13, 80, 109, 0.2);
}

.lang-switch a::after {
  position: absolute;
  right: 10px;
  bottom: 3px;
  left: 10px;
  height: 2px;
  background: transparent;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: background 180ms ease, transform 180ms ease;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  color: var(--ink-2);
}

.lang-switch a[aria-current="page"] {
  color: var(--ink-2);
  background: transparent;
}

.lang-switch a[aria-current="page"]::after {
  background: var(--signal);
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 45px;
  height: 45px;
  padding: 0;
  border: 1px solid rgba(13, 80, 109, 0.28);
  border-radius: 3px;
  color: var(--ink-2);
  background: transparent;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  content: "";
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 760;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--signal {
  color: var(--white);
  background: var(--signal);
}

.button--signal:hover {
  background: #087fac;
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.button--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.button--dark {
  color: var(--white);
  background: var(--ink);
}

.arrow {
  font-size: 1.2em;
  line-height: 0;
}

.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 30, 43, 0.99) 0%, rgba(3, 35, 50, 0.91) 36%, rgba(4, 46, 66, 0.34) 72%, rgba(4, 46, 66, 0.18) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 36%),
    url("assets/epm-hero-logistics.png") center / cover no-repeat;
  content: "";
  transform: scale(1.02);
}

.hero::after {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 900px;
  padding: 174px 0 58px;
  align-content: space-between;
}

.hero-copy {
  max-width: 1060px;
}

.hero-copy h1 {
  max-width: 1180px;
  font-size: clamp(3.35rem, 5.6vw, 5.8rem);
}

.hero-line--long {
  max-width: 1160px;
  margin-top: 0.12em;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.67em;
  font-weight: 560;
  letter-spacing: -0.012em;
  line-height: 1.08;
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 690px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-footer {
  display: grid;
  grid-template-columns: 1.05fr 1.45fr;
  align-items: end;
  gap: 56px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pulse {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 8px rgba(34, 162, 214, 0.16);
}

.mode-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  list-style: none;
}

.mode-list li {
  padding: 18px 10px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mode-list li::before {
  display: block;
  width: 5px;
  height: 5px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--signal);
  content: "";
}

.section {
  padding: 130px 0;
}

.section--dark {
  color: var(--white);
  background: var(--ink);
}

.section--mist {
  background: #e4ecec;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 64px;
}

.section-head > div:first-child {
  max-width: 820px;
}

.section-head .lead {
  max-width: 400px;
  margin-bottom: 12px;
}

.section--dark .lead {
  color: rgba(255, 255, 255, 0.6);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 360px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.54);
  transition: transform 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.service-card:hover {
  z-index: 2;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.service-card--wide {
  grid-column: span 7;
}

.service-card--narrow {
  grid-column: span 5;
}

.service-card--third {
  grid-column: span 4;
  min-height: 330px;
}

.service-card--dark {
  color: var(--white);
  background: var(--ink-2);
}

.service-card--dark:hover,
.service-card--dark:focus-visible {
  color: var(--white);
  background: #0a4259;
}

.service-card:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.service-card--signal {
  background: var(--signal);
}

.service-card--signal:hover {
  background: #42b9e8;
}

.service-kicker {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-card--dark .service-kicker {
  color: var(--signal);
}

.service-card p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
}

.service-card--dark p {
  color: rgba(255, 255, 255, 0.62);
}

.card-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  display: grid;
  width: 50px;
  height: 50px;
  border: 1px solid currentColor;
  border-radius: 2px;
  color: var(--muted);
  font-size: 1.2rem;
  place-items: center;
  opacity: 0.7;
}

.service-card--dark .card-icon,
.service-card--signal .card-icon {
  color: currentColor;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  font-size: 0.82rem;
  font-weight: 800;
}

.orchestrator {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.orchestrator-copy p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.12rem;
}

.orchestrator-copy blockquote {
  margin: 42px 0 0;
  padding: 24px 0 24px 24px;
  border-left: 2px solid var(--signal);
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.control-panel {
  position: relative;
  min-height: 580px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(101, 216, 255, 0.11), rgba(255,255,255,0.025));
}

.control-panel::before {
  position: absolute;
  width: 430px;
  height: 430px;
  top: 80px;
  right: -140px;
  border: 1px solid rgba(101, 216, 255, 0.2);
  border-radius: 0;
  box-shadow: 0 0 0 60px rgba(101, 216, 255, 0.025), 0 0 0 120px rgba(101, 216, 255, 0.018);
  content: "";
  transform: rotate(45deg);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
  color: rgba(255,255,255,.52);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--signal);
}

.route {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 20px;
}

.route::before {
  position: absolute;
  z-index: 0;
  top: 40px;
  bottom: 40px;
  left: 40px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(34, 162, 214, .18), rgba(34, 162, 214, .7));
  content: "";
  transform: rotate(-20.8deg);
  transform-origin: top center;
}

.route-step {
  position: relative;
  z-index: 1;
  display: grid;
  width: calc(100% - 114px);
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 2px;
  background: rgba(4, 16, 28, 0.65);
  backdrop-filter: blur(10px);
}

.route-step:nth-child(1) { margin-left: 0; }
.route-step:nth-child(2) { margin-left: 38px; }
.route-step:nth-child(3) { margin-left: 76px; }
.route-step:nth-child(4) { margin-left: 114px; }

.route-number {
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(34, 162, 214, 0.42);
  border-radius: 2px;
  color: var(--signal);
  font-weight: 800;
  place-items: center;
}

.route-step strong,
.route-step small {
  display: block;
}

.route-step strong {
  font-size: 0.95rem;
}

.route-step small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.46);
}

.route-check {
  color: var(--signal);
}

.sectors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.sector {
  min-height: 330px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sector-number {
  display: block;
  margin-bottom: 90px;
  color: var(--muted);
  font-size: 0.75rem;
}

.sector p {
  color: var(--muted);
}

.sector:hover {
  color: var(--white);
  background: var(--ink);
}

.sector:hover p,
.sector:hover .sector-number {
  color: rgba(255, 255, 255, 0.58);
}

.insight-strip {
  padding: 28px 0;
  overflow: hidden;
  color: var(--white);
  background: var(--signal);
}

.marquee {
  display: flex;
  width: max-content;
  gap: 42px;
  font-size: clamp(1.3rem, 2.5vw, 2.1rem);
  font-weight: 780;
  letter-spacing: -0.03em;
  animation: ticker 30s linear infinite;
}

.marquee span::after {
  margin-left: 42px;
  content: "↗";
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.faq-wrap {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 100px;
}

.faq-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq-intro p {
  color: var(--muted);
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: grid;
  width: 100%;
  padding: 28px 0;
  border: 0;
  grid-template-columns: 1fr 34px;
  align-items: center;
  gap: 20px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: clamp(1.06rem, 1.8vw, 1.3rem);
  font-weight: 700;
  text-align: left;
}

.faq-question::after {
  display: grid;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 2px;
  content: "+";
  font-size: 1.2rem;
  font-weight: 400;
  place-items: center;
}

.faq-item.is-open .faq-question::after {
  content: "−";
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms ease;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  max-width: 720px;
  margin: 0 0 28px;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.contact-shell {
  display: grid;
  overflow: hidden;
  border-radius: 4px;
  grid-template-columns: 0.86fr 1.14fr;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.contact-copy {
  position: relative;
  padding: 64px;
  overflow: hidden;
}

.contact-copy::after {
  position: absolute;
  right: -130px;
  bottom: -180px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(34,162,214,.38);
  border-radius: 0;
  box-shadow: 0 0 0 55px rgba(34,162,214,.035), 0 0 0 110px rgba(34,162,214,.022);
  content: "";
  transform: rotate(45deg);
}

.contact-copy h2 {
  font-size: clamp(2.6rem, 4.8vw, 5rem);
}

.contact-copy p {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.62);
}

.contact-points {
  display: grid;
  position: relative;
  z-index: 2;
  gap: 16px;
  margin-top: 48px;
  padding: 0;
  list-style: none;
}

.contact-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-points li::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  content: "";
}

.quote-form {
  display: grid;
  padding: 64px;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: var(--white);
}

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--signal-dark);
}

.form-footer {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
}

.privacy-note,
.form-message {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.form-message {
  color: var(--signal-dark);
  font-weight: 700;
}

.footer {
  padding: 72px 0 34px;
  color: var(--white);
  background: #04101c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr;
  gap: 50px;
}

.footer .brand {
  margin-bottom: 22px;
}

.footer .brand-logo {
  height: 68px;
  padding: 8px 10px;
  border-radius: 2px;
  background: var(--white);
}

.footer-intro p {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.5);
}

.footer h3 {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--signal);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 70px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
}

.footer-bottom > :last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.footer-bottom a,
.footer-cookie-settings {
  color: inherit;
}

.footer-bottom a:hover,
.footer-cookie-settings:hover {
  color: var(--signal);
}

.footer-cookie-settings {
  padding: 0;
  border: 0;
  cursor: pointer;
  font: inherit;
  background: transparent;
}

/* Cookie consent */
.cookie-banner[hidden],
.cookie-modal-backdrop[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  z-index: 500;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  max-width: none;
  margin: 0 auto;
  padding: 22px max(24px, calc((100vw - 1240px) / 2 + 24px));
  border: 0;
  border-top: 2px solid var(--signal);
  border-radius: 0;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  color: var(--ink);
  background: rgba(248, 251, 252, .99);
  box-shadow: 0 -14px 44px rgba(3, 35, 48, .18);
  backdrop-filter: blur(18px);
}

.cookie-banner-copy strong,
.cookie-modal-head strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.98rem;
  letter-spacing: 0.025em;
}

.cookie-banner-copy p,
.cookie-modal-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
}

.cookie-banner-copy a,
.cookie-modal-actions a {
  color: var(--ink-2);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.cookie-button {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid rgba(13, 80, 109, .28);
  border-radius: 0;
  color: var(--ink-2);
  background: var(--white);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: .025em;
}

.cookie-button:hover,
.cookie-button:focus-visible {
  border-color: var(--signal);
}

.cookie-button--primary {
  color: var(--white);
  border-color: var(--signal);
  background: var(--signal);
}

.cookie-button--primary:hover,
.cookie-button--primary:focus-visible {
  background: #087fac;
}

.cookie-button--text {
  border-color: transparent;
  background: transparent;
}

.cookie-modal-open {
  overflow: hidden;
}

.cookie-modal-backdrop {
  position: fixed;
  z-index: 510;
  inset: 0;
  display: grid;
  padding: 24px;
  overflow-y: auto;
  background: rgba(3, 22, 31, .72);
  place-items: center;
  backdrop-filter: blur(7px);
}

.cookie-modal {
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow-y: auto;
  border-top: 3px solid var(--signal);
  border-radius: 0;
  background: var(--white);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .34);
}

.cookie-modal-head {
  display: grid;
  padding: 28px 28px 22px;
  grid-template-columns: 1fr auto;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.cookie-close {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 1.5rem;
  place-items: center;
}

.cookie-categories {
  padding: 0 28px;
}

.cookie-category {
  display: grid;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.cookie-category strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.cookie-category p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}

.cookie-always {
  color: var(--ink-2);
  font-size: .72rem;
  font-weight: 800;
  white-space: nowrap;
}

.cookie-switch {
  position: relative;
  display: block;
  width: 50px;
  height: 28px;
  flex: 0 0 auto;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
}

.cookie-switch span {
  position: absolute;
  inset: 0;
  border-radius: 1px;
  background: #cbd8dd;
  cursor: pointer;
  transition: background 180ms ease;
}

.cookie-switch span::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 0;
  background: var(--white);
  box-shadow: 0 2px 7px rgba(0,0,0,.18);
  content: "";
  transition: transform 180ms ease;
}

.cookie-switch input:checked + span {
  background: var(--signal);
}

.cookie-switch input:checked + span::after {
  transform: translateX(22px);
}

.cookie-switch input:focus-visible + span {
  outline: 3px solid rgba(34, 162, 214, .3);
  outline-offset: 2px;
}

.cookie-modal-actions {
  display: flex;
  padding: 24px 28px 28px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Internal pages */
.page-hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 30, 43, 0.98) 0%, rgba(3, 37, 52, 0.88) 48%, rgba(5, 63, 86, 0.28) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 55%),
    url("assets/epm-hero-logistics.png") 72% center / cover no-repeat;
  content: "";
}

.page-hero::after {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 650px;
  padding: 190px 0 86px;
  flex-direction: column;
  justify-content: flex-end;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
}

.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs span::before { margin-right: 9px; content: "/"; opacity: .5; }

.page-hero h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(3.15rem, 7vw, 7rem);
}

.page-hero .lead {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.page-intro {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 90px;
  align-items: start;
}

.page-aside {
  position: sticky;
  top: 120px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, .65);
}

.page-aside strong {
  display: block;
  margin-bottom: 18px;
  color: var(--ink-2);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.page-aside nav {
  display: grid;
  gap: 2px;
}

.page-aside nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
  font-weight: 650;
}

.page-aside nav a:last-child { border-bottom: 0; }
.page-aside nav a:hover { color: var(--signal); }

.rich-copy > p:first-child {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.35;
  letter-spacing: -.025em;
}

.rich-copy p,
.rich-copy li {
  color: var(--muted);
  font-size: 1.05rem;
}

.rich-copy h2 {
  margin: 76px 0 24px;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.rich-copy h3 {
  margin: 34px 0 14px;
  font-size: 1.45rem;
}

.rich-copy ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 46px;
}

.fact-card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.fact-card .fact-number {
  display: block;
  margin-bottom: 54px;
  color: var(--signal);
  font-size: .75rem;
  font-weight: 800;
}

.fact-card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.fact-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 50px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-step {
  min-height: 280px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-step > span {
  display: block;
  margin-bottom: 78px;
  color: var(--signal);
  font-size: .75rem;
  font-weight: 800;
}

.process-step h3 { font-size: 1.35rem; }
.process-step p { color: var(--muted); font-size: .92rem; }

.comparison {
  width: 100%;
  margin-top: 36px;
  border-collapse: collapse;
  border-top: 2px solid var(--ink-2);
}

.comparison th,
.comparison td {
  padding: 18px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
  vertical-align: top;
}

.comparison th {
  color: var(--ink);
  font-size: .75rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.cta-band {
  position: relative;
  display: grid;
  padding: 64px;
  overflow: hidden;
  border-radius: 4px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
}

.cta-band::after {
  position: absolute;
  right: 14%;
  bottom: -150px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(34, 162, 214, .38);
  border-radius: 0;
  box-shadow: 0 0 0 52px rgba(34,162,214,.04), 0 0 0 104px rgba(34,162,214,.025);
  content: "";
  transform: rotate(45deg);
}

.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { max-width: 760px; margin: 0; font-size: clamp(2rem, 4vw, 3.8rem); }
.cta-band p { max-width: 690px; margin: 16px 0 0; color: rgba(255,255,255,.64); }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  display: flex;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255,255,255,.58);
  transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.related-card:hover { transform: translateY(-4px); background: var(--white); box-shadow: var(--shadow); }
.related-card small { color: var(--signal); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.related-card h3 { margin: 50px 0 0; font-size: 1.45rem; }

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.contact-detail {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.contact-detail small { color: var(--signal); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-detail strong { display: block; margin-top: 28px; font-size: 1.2rem; }
.contact-detail p { margin: 8px 0 0; color: var(--muted); }

.legal-document {
  max-width: 900px;
  margin: 0 auto;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 50px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}

.legal-document h2 {
  margin: 64px 0 20px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.legal-document h3 {
  margin: 34px 0 12px;
  font-size: 1.25rem;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
}

.legal-document li + li { margin-top: 9px; }

.legal-document a {
  color: var(--ink-2);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--ink);
  font-size: .75rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.legal-callout {
  margin-top: 40px;
  padding: 24px;
  border-left: 3px solid var(--signal);
  color: var(--muted);
  background: var(--mist);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: 92px 0 auto;
    display: none;
    padding: 28px max(24px, calc((100vw - 1240px) / 2 + 24px));
    border: 0;
    border-bottom: 2px solid var(--signal);
    border-radius: 0;
    align-items: stretch;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 18px 42px rgba(3, 35, 48, .16);
  }

  .header.is-sticky .nav-links { inset-block-start: 76px; }

  .nav-links.is-open { display: flex; }
  .nav-links a { font-size: 1.15rem; }
  .menu-toggle { display: block; }

  .hero,
  .hero-inner { min-height: 820px; }
  .hero-inner { padding-top: 170px; }
  .hero-footer { grid-template-columns: 1fr; }
  .hero-note { display: none; }
  .mode-list { max-width: none; }

  .section { padding: 95px 0; }
  .section-head { display: block; }
  .section-head .lead { max-width: 650px; }

  .service-card--wide,
  .service-card--narrow,
  .service-card--third { grid-column: span 6; }

  .orchestrator,
  .faq-wrap,
  .page-intro { grid-template-columns: 1fr; }
  .faq-wrap { gap: 50px; }
  .faq-intro { position: static; }
  .sectors { grid-template-columns: repeat(2, 1fr); }

  .contact-shell { grid-template-columns: 1fr; }
  .page-aside { position: static; }
  .facts-grid,
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-banner-actions { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .container { width: min(1240px, calc(100% - 30px)); }
  .header { padding: 0; }
  .nav { min-height: 74px; gap: 10px; padding: 8px 0; }
  .header.is-sticky .nav { min-height: 68px; }
  .brand-logo,
  .header.is-sticky .brand-logo { height: 43px; }
  .menu-toggle { margin-left: auto; }
  .lang-switch { position: absolute; right: 56px; margin-left: 0; }
  .nav-links { inset-block-start: 74px; }
  .header.is-sticky .nav-links { inset-block-start: 68px; }

  .hero,
  .hero-inner { min-height: 780px; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(4,16,28,.98), rgba(4,16,28,.72)),
      linear-gradient(0deg, var(--ink), transparent 45%),
      url("assets/epm-hero-logistics.png") 66% center / cover no-repeat;
  }
  .hero-inner { padding: 124px 0 32px; }
  .hero-copy { min-width: 0; }
  .hero-copy > p:not(.eyebrow),
  .hero-actions,
  .hero-footer { width: 100%; max-width: calc(100vw - 30px); }
  .hero .eyebrow { max-width: 100%; font-size: 0.58rem; letter-spacing: 0.06em; }
  h1 { font-size: clamp(3.25rem, 17vw, 5.3rem); }
  .hero-copy h1 { font-size: clamp(2.65rem, 12.5vw, 4.2rem); }
  .hero-line--long { margin-top: .2em; font-size: .7em; line-height: 1.12; }
  .hero-copy > p:not(.eyebrow) { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .mode-list { grid-template-columns: repeat(3, 1fr); gap: 16px 0; }

  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .bento { display: block; }
  .service-card { min-height: 330px; margin-bottom: 14px; padding: 26px; }

  .orchestrator { gap: 50px; }
  .control-panel { min-height: auto; padding: 18px; }
  .route::before { display: none; }
  .route-step,
  .route-step:nth-child(n) { width: 100%; margin-left: 0; grid-template-columns: 48px 1fr; }
  .route-check { display: none; }

  .sectors { grid-template-columns: 1fr; }
  .sector { min-height: 250px; }
  .sector-number { margin-bottom: 50px; }

  .contact-copy,
  .quote-form { padding: 38px 24px; }
  .quote-form { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .form-footer { grid-column: auto; align-items: stretch; flex-direction: column; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom > :last-child { justify-content: flex-start; }

  .cookie-banner { right: 0; bottom: 0; left: 0; padding: 20px 15px; border-radius: 0; }
  .cookie-banner-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-button { width: 100%; }
  .cookie-modal-backdrop { padding: 10px; align-items: end; }
  .cookie-modal { max-height: calc(100vh - 20px); border-radius: 0; }
  .cookie-modal-head { padding: 22px 20px 18px; }
  .cookie-categories { padding: 0 20px; }
  .cookie-category { gap: 14px; }
  .cookie-modal-actions { padding: 20px; align-items: stretch; flex-direction: column; }

  .page-hero,
  .page-hero-inner { min-height: 580px; }
  .page-hero-inner { padding: 155px 0 60px; }
  .page-hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .facts-grid,
  .related-grid,
  .contact-details { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 26px; }
  .comparison { display: block; overflow-x: auto; }
  .legal-table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
}
