:root {
  --ink: #10191a;
  --muted: #667172;
  --teal: #0b847c;
  --teal-dark: #0a3333;
  --teal-soft: #dff0ed;
  --sand: #e9e3d6;
  --cream: #f6f4ee;
  --line: rgba(16, 25, 26, .16);
  --white: #fff;
  --shadow: 0 24px 80px rgba(8, 35, 35, .16);
  --radius: 24px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; left: 20px; top: -80px; padding: 12px 18px; background: var(--white); color: var(--ink); border-radius: 12px; }
.skip-link:focus { top: 20px; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  color: #071e1e;
  background: rgba(246, 244, 238, .96);
  border-bottom: 1px solid rgba(16,25,26,.1);
  box-shadow: 0 8px 34px rgba(16,25,26,.055);
  backdrop-filter: blur(16px);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { background: rgba(246, 244, 238, .985); border-color: var(--line); box-shadow: 0 12px 44px rgba(16,25,26,.09); }
.header-inner { min-height: 92px; display: grid; grid-template-columns: 210px minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.brand { flex: 0 0 auto; display: flex; min-height: 44px; align-items: center; }
.brand img { width: 176px; height: auto; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 1.7vw, 26px); min-width: 0; margin: 0; }
.main-nav a { position: relative; color: #071e1e; text-decoration: none; font-size: 14px; font-weight: 720; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--teal); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.header-phone { display: grid; grid-template-columns: 34px auto; grid-template-rows: auto auto; align-items: center; min-height: 52px; padding: 7px 14px 7px 9px; border: 1px solid rgba(11,132,124,.22); border-radius: 999px; color: #071e1e; background: rgba(11,132,124,.065); text-decoration: none; line-height: 1.1; transition: border-color .2s, background .2s, transform .2s; }
.header-phone::before { content: "☎"; grid-row: 1 / 3; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--white); background: var(--teal); font-size: 13px; }
.header-phone:hover { border-color: var(--teal); background: rgba(11,132,124,.12); transform: translateY(-1px); }
.header-phone span { align-self: end; font-size: 9px; color: #586565; text-align: center; text-transform: uppercase; letter-spacing: .11em; }
.header-phone strong { align-self: start; font-size: 13px; white-space: nowrap; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--white); padding: 13px 11px; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; background: var(--teal); color: var(--white); font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #42bcb2; outline-offset: 3px; }
.button-small { min-height: 44px; padding-inline: 19px; font-size: 13px; }
.button-light { background: var(--white); color: var(--teal-dark); }
.button-dark { background: var(--ink); color: var(--white); }
.button-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button-large { min-height: 62px; padding-inline: 34px; font-size: 17px; }

.hero { min-height: 0; padding-top: 92px; color: var(--white); background: var(--teal-dark); overflow: hidden; }
.hero-content { padding: 64px 0 62px; }
.hero-copy { max-width: 960px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; color: rgba(255,255,255,.72); font-size: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
.eyebrow span { width: 34px; height: 2px; background: #72d9cf; }
.hero h1 { max-width: 980px; margin: 0; font-size: clamp(56px, 7.4vw, 108px); line-height: .94; letter-spacing: -.06em; font-weight: 760; }
.hero h1 em { color: #91d9d1; font-style: normal; }
.hero-lead { max-width: 780px; margin: 30px 0 30px; color: rgba(255,255,255,.74); font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.text-link { text-decoration: none; font-weight: 700; }
.text-link span { display: inline-block; margin-left: 8px; font-size: 20px; transition: transform .2s; }
.text-link:hover span { transform: translate(4px, 4px); }
.hero-facts { max-width: 900px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 52px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-facts div { display: grid; gap: 5px; }
.hero-facts dt { font-size: 24px; font-weight: 780; }
.hero-facts dd { margin: 0; color: rgba(255,255,255,.56); font-size: 12px; line-height: 1.35; }
.hero-visual {
  position: relative;
  width: 100%;
  min-height: 0;
  padding: clamp(18px, 3.2vw, 44px) clamp(12px, 3vw, 42px);
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 16% 12%, rgba(143,225,215,.12), transparent 28%),
    linear-gradient(180deg, #071e1e 0%, #0a3333 100%);
}
.hero-window {
  position: relative;
  width: min(100%, 1620px);
  margin-inline: auto;
  padding: clamp(10px, 1.35vw, 20px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: clamp(30px, 4.5vw, 70px);
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,0) 24%),
    linear-gradient(135deg, #162829 0%, #071213 48%, #031011 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -18px 34px rgba(0,0,0,.34),
    0 34px 90px rgba(0,0,0,.35);
}
.hero-window::before {
  content: "";
  position: absolute;
  inset: clamp(14px, 1.8vw, 28px);
  z-index: 3;
  border: 1px solid rgba(213,255,249,.18);
  border-radius: clamp(22px, 3.5vw, 52px);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.32),
    inset 0 0 34px rgba(0,0,0,.34);
  pointer-events: none;
}
.hero-window::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: clamp(18px, 2.2vw, 36px);
  left: clamp(28px, 5vw, 90px);
  right: clamp(28px, 18vw, 320px);
  height: clamp(34px, 6vw, 92px);
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(255,255,255,.18), rgba(255,255,255,0));
  filter: blur(.2px);
  opacity: .42;
  pointer-events: none;
}
.hero-media {
  position: relative;
  height: clamp(360px, 46vw, 760px);
  overflow: hidden;
  border: 0;
  border-radius: clamp(24px, 3.8vw, 56px);
  background: #071e1e url("/assets/hero-video-poster.jpg") center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4,18,18,.02) 0%, rgba(4,18,18,.16) 52%, rgba(4,18,18,.46) 100%),
    linear-gradient(90deg, rgba(4,18,18,.28), transparent 26%, transparent 74%, rgba(4,18,18,.28));
  pointer-events: none;
}
.hero-video,
.hero-video-fallback {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.9) contrast(1.04);
}
.hero-video {
  position: absolute;
  inset: 0;
}
.hero-video-fallback { opacity: 0; }
.hero-sound {
  position: absolute;
  z-index: 6;
  top: clamp(24px, 3.2vw, 48px);
  right: clamp(24px, 3.8vw, 62px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 8px 15px 8px 10px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: var(--white);
  background: rgba(7,30,30,.58);
  box-shadow: 0 14px 38px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.hero-sound:hover { transform: translateY(-1px); background: rgba(7,30,30,.72); border-color: rgba(255,255,255,.42); }
.hero-sound[aria-pressed="true"] { color: #062323; background: rgba(145,217,209,.92); border-color: rgba(145,217,209,.95); }
.hero-sound-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: inherit; background: rgba(255,255,255,.14); font-weight: 850; line-height: 1; }
.hero-sound[aria-pressed="true"] .hero-sound-icon { background: rgba(7,30,30,.1); }
.hero-marquee { display: flex; align-items: center; height: 70px; margin-top: 35px; overflow: hidden; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.42); font-size: 13px; font-weight: 750; letter-spacing: .11em; white-space: nowrap; }
.hero-marquee div { animation: marquee 24s linear infinite; }
@keyframes marquee { to { transform: translateX(-40%); } }

.section { padding: 120px 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 80px; align-items: end; margin-bottom: 70px; }
.section-head h2 { margin: 10px 0 0; font-size: clamp(42px, 5vw, 68px); line-height: 1.02; letter-spacing: -.045em; }
.section-head > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.section-number { margin: 0; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .13em; }

.services { background: var(--cream); }
.service-list { border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 90px 1fr 60px; gap: 20px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; transition: padding .25s ease, color .25s ease; }
.service-item:hover { padding-left: 18px; color: var(--teal); }
.service-index { color: var(--muted); font-size: 13px; }
.service-item h3 { margin: 0 0 7px; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.03em; }
.service-item p { max-width: 720px; margin: 0; color: var(--muted); line-height: 1.55; }
.service-arrow { justify-self: end; font-size: 33px; }

.dark-section { color: var(--white); background: var(--ink); }
.section-head-light > p { color: rgba(255,255,255,.58); }
.section-head-light .section-number { color: #77d6cd; }
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; perspective: 1200px; }
.advantage { position: relative; min-height: 390px; padding: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: linear-gradient(155deg, rgba(255,255,255,.065), rgba(255,255,255,.015)); transition: border-color .35s, background .35s, transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.advantage::before { content: ""; position: absolute; inset: auto -35% -55% 15%; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(67,217,201,.24), transparent 68%); opacity: 0; transform: translateY(35px); transition: opacity .45s, transform .45s; }
.advantage:last-child { border-right: 0; }
.advantage:hover { z-index: 2; border-color: rgba(119,214,205,.72); background: linear-gradient(155deg, rgba(11,132,124,.48), rgba(255,255,255,.035)); box-shadow: 0 28px 70px rgba(0,0,0,.28); transform: translateY(-12px) rotateX(2deg); }
.advantage:hover::before { opacity: 1; transform: none; }
.advantage-top { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; }
.advantage strong { color: #77d6cd; font-size: 12px; letter-spacing: .12em; }
.advantage-icon { width: 78px; height: 78px; padding: 13px; border: 1px solid rgba(119,214,205,.32); border-radius: 20px; color: #77d6cd; background: rgba(119,214,205,.055); transform: rotate(-3deg); transition: color .35s, background .35s, transform .55s cubic-bezier(.2,.8,.2,1); }
.advantage-icon path, .advantage-icon circle { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 220; stroke-dashoffset: 220; }
.advantage.revealed .advantage-icon path, .advantage.revealed .advantage-icon circle { animation: draw-icon 1.2s .18s ease forwards; }
.advantage:hover .advantage-icon { color: var(--white); background: rgba(255,255,255,.12); transform: rotate(0) scale(1.08); }
.advantage h3 { position: relative; z-index: 1; margin: 92px 0 14px; font-size: 27px; }
.advantage p { margin: 0; color: rgba(255,255,255,.62); line-height: 1.55; }
.advantage:hover p, .advantage:hover strong { color: var(--white); }
.advantage-tag { position: absolute; z-index: 1; left: 28px; bottom: 25px; color: rgba(255,255,255,.42); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; transition: color .3s; }
.advantage:hover .advantage-tag { color: rgba(255,255,255,.78); }
@keyframes draw-icon { to { stroke-dashoffset: 0; } }

.cases { background: var(--white); }
.case-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 330px 330px; gap: 18px; }
.case { position: relative; margin: 0; overflow: hidden; border-radius: 18px; background: var(--ink); }
.case-large { grid-row: 1 / 3; }
.case-wide { grid-column: 2 / 4; }
.case img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.case:hover img { transform: scale(1.045); opacity: .72; }
.case figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; color: var(--white); text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.case figcaption span { display: block; margin-bottom: 5px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.case figcaption strong { font-size: 22px; }
.case-story-link { position: absolute; z-index: 2; inset: 0; border-radius: inherit; }
.case-story-link:focus-visible { outline: 4px solid var(--gold); outline-offset: -7px; }
.case figcaption { z-index: 1; pointer-events: none; }

.process { background: var(--sand); }
.process .section-head { align-items: center; }
.rail-stage { position: relative; min-height: 390px; margin: -12px 0 58px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 28px; color: var(--white); background: radial-gradient(circle at 78% 12%, rgba(31,139,131,.28), transparent 34%), linear-gradient(155deg, #061c1d 0%, #0a3434 48%, #07534d 100%); box-shadow: 0 30px 90px rgba(10,51,51,.2); }
.rail-stage::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.24) 100%); pointer-events: none; }
.rail-stage::after { content: ""; position: absolute; z-index: 5; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5,25,26,.5), transparent 8%, transparent 92%, rgba(5,25,26,.55)); }
.rail-sky { position: absolute; inset: 0; overflow: hidden; opacity: .22; }
.rail-sky::before, .rail-sky::after, .rail-sky span { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.rail-sky::before { width: 520px; height: 520px; top: -410px; right: 5%; }
.rail-sky::after { width: 290px; height: 290px; top: -230px; right: 16%; }
.rail-sky span:nth-child(1) { width: 4px; height: 4px; top: 45px; left: 10%; background: #77d6cd; box-shadow: 180px 45px 0 #77d6cd, 500px -5px 0 #77d6cd, 860px 36px 0 #77d6cd; }
.rail-sky span:nth-child(2) { width: 1px; height: 180px; left: 24%; bottom: 62px; border: 0; border-left: 1px dashed rgba(255,255,255,.3); }
.rail-sky span:nth-child(3) { width: 1px; height: 150px; right: 22%; bottom: 62px; border: 0; border-left: 1px dashed rgba(255,255,255,.3); }
.train-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.freight-stream { position: absolute; z-index: 3; inset: 0; overflow: hidden; }
.freight-consist { --loco-head: 270px; position: absolute; left: 0; bottom: 66px; display: flex; align-items: flex-end; width: max-content; padding-right: 120px; will-change: transform; animation: train-cross 56s linear infinite; }
.rail-stage:not(.revealed) .freight-consist { animation-play-state: paused; }
.stream-car { position: relative; flex: 0 0 210px; height: 132px; margin-right: 6px; color: #9de4db; filter: drop-shadow(0 9px 8px rgba(0,0,0,.26)); }
.stream-car::after { content: ""; position: absolute; right: -9px; bottom: 21px; width: 14px; height: 5px; border-radius: 3px; background: #809c99; }
.stream-car > svg { position: absolute; left: 8px; right: 8px; bottom: 36px; width: calc(100% - 16px); height: 96px; overflow: visible; }
.stream-car use { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.stream-car svg path, .stream-car svg circle { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.stream-car svg .load-fill { fill: currentColor; fill-opacity: .12; }
.stream-car.load-gold { color: #e3c477; }.stream-car.load-silver { color: #d8e4e2; }
.stream-bed { position: absolute; left: 0; right: 0; bottom: 24px; height: 14px; border-radius: 3px; background: linear-gradient(180deg, #e3c477, #a9803d); box-shadow: inset 0 -4px 0 rgba(63,43,18,.42); }
.stream-bed::before { content: ""; position: absolute; inset: 3px 10px auto; height: 3px; background: repeating-linear-gradient(90deg, rgba(8,43,43,.52) 0 22px, transparent 22px 30px); }
.stream-wheels { position: absolute; left: 20px; right: 20px; bottom: 0; display: flex; justify-content: space-between; }
.stream-wheels i { display: block; width: 30px; height: 30px; border: 7px solid #041719; border-radius: 50%; background: #78918e; box-shadow: inset 0 0 0 3px #0b3030, 0 2px 0 rgba(255,255,255,.08); animation: wheel-spin .72s linear infinite; }
.stream-locomotive { position: relative; flex: 0 0 270px; height: 145px; margin: 0 0 -3px 4px; filter: drop-shadow(0 12px 12px rgba(0,0,0,.3)); }
.stream-locomotive > svg { width: 100%; height: 100%; overflow: visible; }
.loco-body { fill: #078b82; stroke: #8fded5; stroke-width: 3; }.loco-nose { fill: #08746e; stroke: #8fded5; stroke-width: 3; }
.loco-detail { fill: #153f40; stroke: #c0e4df; stroke-width: 3; }.loco-accent { fill: #e2c274; }
.loco-wheel { fill: #041719; stroke: #78918e; stroke-width: 6; transform-box: fill-box; transform-origin: center; animation: wheel-spin .72s linear infinite; }
.loco-hub { fill: #8aa19e; }.loco-lamp { fill: #fff5bd; filter: drop-shadow(8px 0 9px rgba(255,245,189,.9)); animation: lamp-pulse 1.8s ease-in-out infinite; }
.rail-track { position: absolute; z-index: 2; left: 0; right: 0; bottom: 55px; height: 18px; border-top: 4px solid #b9cac6; border-bottom: 4px solid #8aa19d; background: rgba(3,19,20,.45); }
.rail-track span { position: absolute; left: -36px; right: -36px; top: 4px; height: 20px; opacity: .75; background: repeating-linear-gradient(90deg, #aa8c55 0 6px, transparent 6px 31px); }
@keyframes train-cross { from { transform: translateX(calc(-100% + var(--loco-head))); } to { transform: translateX(100vw); } }
@keyframes wheel-spin { to { transform: rotate(360deg); } }
@keyframes lamp-pulse { 50% { filter: drop-shadow(12px 0 15px rgba(255,245,189,1)); } }
.process-line { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.process-card { position: relative; min-height: 310px; padding: 22px 20px 20px; overflow: hidden; border: 1px solid rgba(10,51,51,.14); border-radius: 22px; background: rgba(255,255,255,.44); box-shadow: 0 12px 40px rgba(10,51,51,.04); transition: transform .42s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s, box-shadow .3s; }
.process-card::before { content: ""; position: absolute; inset: auto -35% -55% 10%; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(11,132,124,.2), transparent 68%); opacity: 0; transition: opacity .35s, transform .45s; transform: translateY(30px); }
.process-card:hover { z-index: 2; border-color: rgba(11,132,124,.5); background: rgba(255,255,255,.76); box-shadow: 0 24px 60px rgba(10,51,51,.14); transform: translateY(-10px); }
.process-card:hover::before { opacity: 1; transform: none; }
.process-number { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--white); background: var(--teal-dark); font-size: 10px; font-weight: 850; transition: color .3s, background .3s, transform .4s; }
.process-card:hover .process-number { color: var(--teal-dark); background: #8fe1d7; transform: rotate(8deg) scale(1.08); }
.process-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 78px; height: 78px; border: 1px solid rgba(11,132,124,.24); border-radius: 22px; color: var(--teal-dark); background: rgba(11,132,124,.07); transition: color .3s, background .3s, transform .48s cubic-bezier(.2,.8,.2,1); }
.process-icon svg { width: 54px; height: 54px; overflow: visible; }
.process-icon path, .process-icon circle { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke-dashoffset .8s ease, transform .4s ease; }
.process-icon .process-accent { color: var(--teal); stroke: currentColor; stroke-dasharray: 60; stroke-dashoffset: 60; }
.process-card:hover .process-icon { color: var(--white); background: var(--teal); transform: translateY(-4px) rotate(-3deg) scale(1.06); }
.process-card:hover .process-accent { color: #dff8f5; stroke-dashoffset: 0; }
.process-card:nth-child(2):hover .process-icon { transform: translateY(-4px) rotate(3deg) scale(1.06); }
.process-card:nth-child(4):hover .process-icon svg { animation: process-train .8s ease-in-out infinite alternate; }
.process-card:nth-child(5):hover .process-icon { animation: process-pin .7s ease-in-out infinite alternate; }
.process-line h3 { position: relative; z-index: 1; margin: 52px 0 12px; font-size: clamp(20px, 1.6vw, 25px); letter-spacing: -.025em; }
.process-line p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.process-card small { position: absolute; z-index: 1; left: 20px; bottom: 18px; color: rgba(10,51,51,.48); font-size: 9px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
@keyframes process-train { to { transform: translateX(5px); } }
@keyframes process-pin { to { transform: translateY(-4px); } }

.documents { background: var(--cream); }
.document-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.document-card {
  position: relative;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 20px;
  min-height: 188px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(10,51,51,.12);
  border-radius: 26px;
  color: var(--ink);
  background: rgba(255,255,255,.72);
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(10,51,51,.07);
  transition: transform .32s cubic-bezier(.2,.8,.2,1), border-color .28s, background .28s, box-shadow .28s;
}
.document-card::before {
  content: "";
  position: absolute;
  inset: auto -22% -52% 22%;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18,169,158,.2), transparent 68%);
  opacity: 0;
  transition: opacity .28s, transform .32s;
  transform: translateY(24px);
}
.document-card::after {
  content: "↧";
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--teal-dark);
  background: rgba(18,169,158,.12);
  font-size: 22px;
  font-weight: 800;
  transition: color .28s, background .28s, transform .32s;
}
.document-card:hover {
  border-color: rgba(18,169,158,.46);
  background: var(--white);
  box-shadow: 0 26px 70px rgba(10,51,51,.13);
  transform: translateY(-8px);
}
.document-card:hover::before { opacity: 1; transform: none; }
.document-card:hover::after { color: var(--white); background: var(--teal); transform: translateY(-3px); }
.document-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: end center;
  width: 82px;
  height: 102px;
  padding: 0 10px 16px;
  border: 2px solid rgba(10,51,51,.16);
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(155deg, #0a3333, #0b847c);
  box-shadow: inset 0 -18px 34px rgba(0,0,0,.14);
}
.document-icon::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 28px;
  height: 28px;
  border-left: 2px solid rgba(10,51,51,.16);
  border-bottom: 2px solid rgba(10,51,51,.16);
  border-radius: 0 14px 0 12px;
  background: rgba(255,255,255,.75);
}
.document-icon span { position: relative; z-index: 1; font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.document-icon-doc { background: linear-gradient(155deg, #192444, #126f9d); }
.document-copy { position: relative; z-index: 1; display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding-right: 34px; }
.document-copy small { color: var(--teal); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.document-copy strong { margin-top: 22px; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.05; letter-spacing: -.035em; }
.document-copy em { margin-top: auto; color: var(--muted); font-size: 14px; font-style: normal; font-weight: 700; }

.cta-section { padding: 62px 0; color: var(--white); background: var(--teal); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 390px); gap: 32px; align-items: center; }
.cta-section h2 { margin: 0; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -.05em; }
.eyebrow-light { margin-bottom: 24px; color: rgba(255,255,255,.72); }
.cta-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.cta-actions > a { display: flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: rgba(255,255,255,.9); font-size: 14px; font-weight: 740; text-align: center; text-decoration: none; }
.cta-actions > a:not(.max-button):hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); }
.cta-actions .button { width: 100%; min-height: 56px; padding-inline: 20px; font-size: 15px; }
.cta-actions .max-button { min-height: 56px; margin-top: 0; padding: 0 20px; gap: 12px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; color: var(--teal-dark); background: var(--white); text-decoration: none; box-shadow: 0 16px 38px rgba(4,51,49,.18); transition: transform .25s, box-shadow .25s; }
.cta-actions .max-button:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(4,51,49,.24); }
.max-button span { font-size: 25px; }

.site-footer { padding: 48px 0 22px; background: #071e1e; color: var(--white); }
.site-footer .container { width: min(calc(100% - 48px), 1040px); }
.footer-grid { display: grid; grid-template-columns: minmax(220px, .9fr) minmax(250px, .85fr) minmax(320px, 1fr); gap: clamp(34px, 5vw, 72px); align-items: start; }
.footer-grid img { width: 160px; height: auto; padding: 7px; border-radius: 8px; background: var(--white); }
.footer-grid h2 { margin: 6px 0 18px; font-size: 12px; text-transform: uppercase; letter-spacing: .13em; }
.footer-grid p { margin: 0; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.55; }
.footer-brand p { max-width: 330px; margin-top: 16px; }
.footer-contacts { display: grid; gap: 14px; }
.footer-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.footer-grid a, .footer-legal a, .footer-button { display: inline-flex; min-height: 0; align-items: center; color: rgba(255,255,255,.72); background: none; border: 0; padding: 0; text-decoration: none; cursor: pointer; font-size: 14px; line-height: 1.35; }
.footer-grid a:hover, .footer-legal a:hover, .footer-button:hover { color: var(--white); text-decoration: underline; }
.footer-legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); }
.footer-legal a, .footer-legal .footer-button { min-height: 30px; color: rgba(255,255,255,.48); font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 16px; color: rgba(255,255,255,.38); font-size: 12px; }
.footer-credit { margin-top: 10px; text-align: center; color: rgba(255,255,255,.42); font-size: 12px; line-height: 1.5; }
.footer-credit a { color: rgba(255,255,255,.66); text-decoration: none; }
.footer-credit a:hover { color: var(--white); text-decoration: underline; }

dialog { border: 0; padding: 0; color: var(--ink); background: transparent; }
dialog::backdrop { background: rgba(4,18,18,.72); backdrop-filter: blur(7px); }
.request-dialog { width: min(760px, calc(100% - 24px)); max-height: calc(100vh - 24px); }
.request-form, .cookie-form { position: relative; padding: 42px; border-radius: 24px; background: var(--cream); box-shadow: var(--shadow); }
.request-form h2, .cookie-form h2 { margin: 8px 0 10px; font-size: 42px; letter-spacing: -.04em; }
.form-intro { margin: 0 0 28px; color: var(--muted); }
.dialog-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 28px; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.request-form label > span, .wide-field > span { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 750; }
input, select, textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid rgba(16,25,26,.22); border-radius: 12px; background: var(--white); color: var(--ink); }
textarea { resize: vertical; }
.wide-field { display: block; margin-top: 18px; }
.check-row { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin-top: 17px; align-items: start; color: var(--muted); font-size: 13px; line-height: 1.5; }
.check-row input { width: 20px; min-height: 20px; margin: 1px 0 0; accent-color: var(--teal); }
.check-row span { margin: 0 !important; font-weight: 450 !important; }
.check-row a { color: var(--teal); }
.button-submit { width: 100%; margin-top: 24px; }
.form-status { min-height: 24px; margin: 12px 0 0; text-align: center; font-size: 13px; }
.form-status.is-success { color: var(--teal); }
.form-status.is-error { color: #a62f2f; }

.cookie-banner { position: fixed; z-index: 150; left: 50%; bottom: 18px; display: grid; grid-template-columns: minmax(280px, 1fr) auto; gap: 20px; align-items: center; width: min(860px, calc(100% - 32px)); padding: 16px 16px 16px 20px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; color: var(--white); background: rgba(7,30,30,.94); box-shadow: 0 18px 64px rgba(0,0,0,.24); backdrop-filter: blur(18px); transform: translateX(-50%); }
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { font-size: 16px; }
.cookie-banner p { max-width: 640px; margin: 4px 0 0; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.45; }
.cookie-banner a { color: var(--white); }
.cookie-actions { display: flex; align-items: center; justify-content: flex-end; }
.cookie-accept { min-width: 128px; min-height: 48px; color: var(--white); border-color: #12a99e; background: #12a99e; box-shadow: 0 8px 30px rgba(18,169,158,.32); }
.cookie-accept:hover { background: #17b9ad; transform: translateY(-2px); }
.cookie-dialog { width: min(620px, calc(100% - 24px)); }
.cookie-option { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cookie-option strong { font-size: 18px; }
.cookie-option p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.cookie-option input { width: 22px; min-height: 22px; accent-color: var(--teal); }
.toast { position: fixed; z-index: 200; right: 24px; bottom: 24px; max-width: 420px; padding: 16px 20px; border-radius: 14px; color: var(--white); background: var(--ink); box-shadow: var(--shadow); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.revealed { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }

@media (max-width: 1180px) {
  .main-nav { gap: 18px; }
  .hero h1 { font-size: clamp(54px, 8.5vw, 92px); }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .header-inner { grid-template-columns: 180px minmax(0, 1fr) auto; gap: 16px; }
  .header-actions .button { display: none; }
}

@media (max-width: 1024px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .header-inner { min-height: 76px; display: flex; }
  .menu-toggle { display: block; order: 3; margin-left: auto; }
  .header-actions { order: 2; margin-left: auto; }
  .header-phone { display: none; }
  .main-nav { position: fixed; inset: 76px 16px auto; display: grid; gap: 0; padding: 18px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity .22s, transform .22s; }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .main-nav a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .hero { padding-top: 76px; }
  .hero-content { padding: 52px 0 56px; }
  .hero-visual { min-height: 0; padding: clamp(14px, 2.6vw, 28px) clamp(10px, 2.4vw, 24px); }
  .hero-window { border-radius: clamp(28px, 5vw, 56px); }
  .hero-media { height: clamp(330px, 52vw, 560px); border-radius: clamp(22px, 4vw, 44px); }
  .hero-facts { margin-top: 45px; }
  .section { padding: 88px 0; }
  .section-head, .cta-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-head { margin-bottom: 48px; }
  .section-head .button { justify-self: start; }
  .case-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 420px 280px 300px; }
  .case-large { grid-column: 1 / 3; grid-row: auto; }
  .case-wide { grid-column: 1 / 3; }
  .process-line { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-card { min-height: 275px; }
  .process-card:last-child { grid-column: 1 / 3; min-height: 245px; }
  .document-grid { grid-template-columns: 1fr; }
  .document-card { min-height: 160px; }
  .site-footer .container { width: min(calc(100% - 32px), 1040px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 44px; }
  .footer-links { grid-column: 1 / -1; }
  .footer-link-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-actions { justify-content: flex-end; }
  .rail-stage { min-height: 330px; margin-bottom: 45px; }
  .freight-consist { --loco-head: 235px; bottom: 60px; animation-duration: 52s; }
  .stream-car { flex-basis: 180px; height: 116px; }
  .stream-car > svg { bottom: 33px; height: 82px; }
  .stream-locomotive { flex-basis: 235px; height: 128px; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .brand img { width: 145px; }
  .hero { min-height: 0; }
  .hero-content { padding: 38px 0 46px; }
  .hero-visual { min-height: 0; padding: 10px; }
  .hero-window { padding: 8px; border-radius: 28px; }
  .hero-window::before { inset: 12px; border-radius: 22px; }
  .hero-window::after { top: 18px; left: 26px; right: 70px; height: 36px; opacity: .34; }
  .hero-media { height: clamp(240px, 64vw, 360px); border-radius: 22px; }
  .hero-sound { top: 18px; right: 18px; min-height: 42px; padding: 7px 12px 7px 8px; font-size: 13px; }
  .hero-sound-icon { width: 26px; height: 26px; }
  .hero h1 { font-size: clamp(46px, 15vw, 64px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { min-height: 44px; display: flex; align-items: center; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div { grid-template-columns: 100px 1fr; align-items: baseline; }
  .section-head h2 { font-size: 42px; }
  .service-item { grid-template-columns: 44px 1fr; }
  .service-arrow { display: none; }
  .advantage-grid { grid-template-columns: 1fr; }
  .advantage { min-height: 330px; }
  .advantage h3 { margin-top: 70px; }
  .advantage-icon { width: 68px; height: 68px; }
  .case-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(4, 300px); }
  .case-large, .case-wide { grid-column: auto; }
  .process-line { grid-template-columns: 1fr; gap: 12px; }
  .process-card, .process-card:last-child { grid-column: auto; min-height: 0; padding: 18px 18px 18px 104px; }
  .process-icon { position: absolute; left: 16px; top: 18px; width: 70px; height: 70px; }
  .process-icon svg { width: 46px; height: 46px; }
  .process-number { top: 16px; right: 16px; }
  .process-line h3 { margin: 4px 42px 8px 0; font-size: 22px; }
  .process-line p { min-height: 44px; }
  .process-card small { position: static; display: block; margin-top: 12px; }
  .document-card { grid-template-columns: 64px 1fr; gap: 16px; min-height: 148px; padding: 18px; border-radius: 22px; }
  .document-icon { width: 64px; height: 82px; border-radius: 14px; }
  .document-icon::before { width: 22px; height: 22px; border-radius: 0 12px 0 10px; }
  .document-copy { padding-right: 28px; }
  .document-copy strong { margin-top: 14px; font-size: 23px; }
  .cta-section h2 { font-size: 43px; }
  .cta-actions { width: 100%; grid-template-columns: 1fr; }
  .cta-actions .button, .cta-actions .max-button, .cta-actions > a { width: 100%; }
  .site-footer { padding: 40px 0 20px; }
  .site-footer .container { width: min(calc(100% - 24px), 1040px); }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid img { width: 150px; }
  .footer-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
  .footer-grid a, .footer-legal a, .footer-button { min-height: 34px; }
  .footer-legal { justify-content: flex-start; gap: 6px 18px; margin-top: 26px; }
  .footer-bottom { flex-direction: column; gap: 8px; margin-top: 14px; }
  .request-form, .cookie-form { padding: 30px 20px 22px; }
  .request-form h2, .cookie-form h2 { padding-right: 35px; font-size: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .cookie-banner { bottom: 10px; width: calc(100% - 20px); padding: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-accept { width: 100%; }
  .cookie-accept { min-width: 0; }
  .rail-stage { min-height: 270px; margin-inline: -2px; border-radius: 20px; }
  .freight-consist { --loco-head: 195px; bottom: 47px; padding-right: 70px; animation-duration: 48s; }
  .stream-car { flex-basis: 145px; height: 98px; margin-right: 4px; }
  .stream-car > svg { bottom: 29px; height: 70px; }
  .stream-bed { bottom: 20px; height: 11px; }
  .stream-wheels { left: 14px; right: 14px; }
  .stream-wheels i { width: 23px; height: 23px; border-width: 5px; }
  .stream-car::after { right: -7px; bottom: 18px; width: 10px; }
  .stream-locomotive { flex-basis: 195px; height: 107px; }
  .rail-track { bottom: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
