@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --rail: #16202a;
  --ink: #1b2430;
  --muted: #5f6d7a;
  --orange: #e8711a;
  --teal: #0d7c84;
  --line: #e5e9ee;
  --bg: #f5f7f9;
  --white: #ffffff;
  --rail-w: 240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.shell {
  display: grid;
  grid-template-columns: var(--rail-w) 1fr;
  min-height: 100vh;
}

.rail {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--rail);
  color: var(--white);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.15rem 1.15rem;
  z-index: 40;
}
.rail-logo {
  background: var(--white);
  padding: 0.65rem 0.7rem;
  margin-bottom: 1.75rem;
  display: block;
}
.rail-logo img {
  height: auto;
  width: 100%;
  max-height: 88px;
  object-fit: contain;
}

.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}
.rail-nav a {
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.75rem 0.7rem;
  color: rgba(255,255,255,0.58);
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
}
.rail-nav a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.rail-nav a.active {
  color: var(--white);
  background: rgba(232, 113, 26, 0.18);
  border-left: 3px solid var(--orange);
  padding-left: calc(0.7rem - 3px);
}

.rail-foot {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 0.9rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.rail-foot a {
  display: inline-block;
  margin-top: 0.4rem;
  color: #6ec4c9;
  font-weight: 600;
}

.rail-toggle {
  display: none;
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 80;
  border: none;
  background: var(--orange);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
}

.stage { min-width: 0; }

.banner {
  position: relative;
  min-height: 280px;
  background: var(--rail) center/cover no-repeat;
  color: var(--white);
  display: flex;
  align-items: flex-end;
}
.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(22,32,42,0.92) 0%, rgba(22,32,42,0.55) 100%);
}
.banner-inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem clamp(1.25rem, 3vw, 2.5rem);
  max-width: 640px;
}
.banner .label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0a56a;
  margin-bottom: 0.55rem;
}
.banner h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}
.banner p {
  opacity: 0.9;
  font-size: 1.02rem;
  max-width: 36rem;
}

.panel {
  padding: 2.25rem clamp(1.25rem, 3vw, 2.5rem) 2.75rem;
}

.panel h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  font-weight: 750;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.panel p { color: var(--muted); max-width: 48rem; }
.panel p + p { margin-top: 0.85rem; }

.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.media-split img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
.media-split .copy { padding: 1.75rem 1.5rem; }
.media-split .copy h2 { margin-bottom: 0.65rem; }
.media-split.reverse img { order: 2; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.35rem 1.2rem;
}
.card .ico {
  width: 36px;
  height: 36px;
  margin-bottom: 0.85rem;
  color: var(--teal);
}
.card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
}
.card p {
  font-size: 0.92rem;
  color: var(--muted);
}

.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.35rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
}
.cta-box p { color: var(--ink); font-weight: 600; max-width: none; }
.btn {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.15s;
}
.btn:hover { background: #d46312; }
.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--white); }

/* Inner */
.page-head {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 2rem clamp(1.25rem, 3vw, 2.5rem);
}
.page-head h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.4rem;
}
.page-head p { color: var(--muted); max-width: 40rem; }

.steps {
  display: grid;
  gap: 1rem;
}
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.25rem 1.2rem;
}
.step .n {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.step h2 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.95rem; }

.service-grid {
  display: grid;
  gap: 1rem;
}
.service {
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 200px 1fr;
  overflow: hidden;
}
.service img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
}
.service .body { padding: 1.25rem 1.35rem; }
.service h2 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.service p { font-size: 0.95rem; }
.service ul {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.35rem;
}
.service li {
  font-size: 0.92rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--teal);
  color: var(--ink);
}

.stage-foot {
  padding: 1.25rem clamp(1.25rem, 3vw, 2.5rem) 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
}

@media (max-width: 960px) {
  .media-split, .cards, .service { grid-template-columns: 1fr; }
  .media-split.reverse img { order: 0; }
  .media-split img, .service img { min-height: 200px; max-height: 240px; }
}

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .rail {
    position: fixed;
    left: 0;
    top: 0;
    width: min(260px, 88vw);
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    box-shadow: 8px 0 30px rgba(0,0,0,0.2);
  }
  .rail.open { transform: none; }
  .rail-toggle { display: block; }
  .banner { min-height: 320px; }
  .step { grid-template-columns: 48px 1fr; }
}

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