/* RUTANICA marketing site — shared stylesheet */
:root {
  --navy: #0e1a2b;
  --navy-soft: #16263d;
  --amber: #ffb020;
  --amber-deep: #c77e00;
  --paper: #ffffff;
  --mist: #eef2f6;
  --ink: #1b2a41;
  --muted: #4d5f78;
  --line: #d9e1ec;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
header.site {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  flex-wrap: wrap;
}
.brand { font-weight: 800; letter-spacing: 0.14em; font-size: 1.15rem; text-decoration: none; color: #fff; }
.brand span { color: var(--amber); }
nav.links { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: 0.93rem; }
nav.links a { color: #cfdaea; text-decoration: none; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--amber); }
.soon {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--amber);
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  white-space: nowrap;
}
.lang-switch {
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}
.lang-switch a { color: #cfdaea; text-decoration: none; padding: 0 0.15rem; }
.lang-switch a:hover { color: var(--amber); }
.lang-switch a[aria-current="true"] { color: var(--amber); }
.head-right { display: flex; align-items: center; gap: 1rem; }

/* Hero (home) */
.hero { background: var(--navy); color: #fff; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding: 4rem 0 4.5rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.9rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p.lead { margin-top: 1.2rem; font-size: 1.15rem; color: #c3cfe2; max-width: 34rem; }
.hero-cta { margin-top: 2rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  border-radius: 10px;
  font-size: 1rem;
}
.btn:hover { background: #ffc14d; }
.btn-ghost {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 2px;
}
.hero figure { margin: 0; }
.hero svg.route { width: 100%; height: auto; display: block; }
.hero figcaption { font-size: 0.8rem; color: #7d8ca3; margin-top: 0.5rem; }

/* Page title band (interior pages) */
.page-head { background: var(--navy); color: #fff; }
.page-head .wrap { padding-top: 3rem; padding-bottom: 3rem; }
.page-head .kicker { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.18em; color: var(--amber); }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -0.01em; margin-top: 0.4rem; }
.page-head p { margin-top: 0.8rem; color: #c3cfe2; max-width: 44rem; font-size: 1.1rem; }

/* Sections */
section.block { padding: 4rem 0; }
section.band { background: var(--mist); }
section.dark { background: var(--navy); color: #fff; }
h2.title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.01em; }
h2.title + p.standfirst { margin-top: 0.7rem; color: var(--muted); max-width: 44rem; font-size: 1.08rem; }
.dark h2.title + p.standfirst { color: #b9c6d8; }

/* Service rows */
.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2.8rem;
  padding-top: 2.8rem;
  border-top: 2px solid var(--line);
}
.service:first-of-type { border-top: 0; }
.service .num {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--amber-deep);
}
.service h3 { font-size: 1.6rem; margin: 0.3rem 0 0.8rem; }
.service p { color: var(--muted); }
.service ul { list-style: none; margin-top: 1.1rem; }
.service li { padding: 0.45rem 0 0.45rem 1.7rem; position: relative; }
.service li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.95rem;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--amber);
  border-radius: 2px;
  transform: rotate(45deg);
}
.more-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 2px;
}

/* How-it-works steps */
ol.steps { list-style: none; margin-top: 2.2rem; counter-reset: step; }
ol.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-top: 2px solid var(--line);
  align-items: baseline;
}
ol.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--amber-deep);
}
ol.steps strong { display: block; font-size: 1.12rem; }
ol.steps p { color: var(--muted); max-width: 46rem; }

/* Fleet grid */
.fleet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 2.5rem;
  border: 2px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.fleet div { padding: 1.3rem 1.2rem; border-bottom: 2px solid var(--line); }
.fleet div:nth-child(-n+4) { background: var(--mist); }
.band .fleet div:nth-child(-n+4) { background: #fff; }
.fleet div:nth-child(n+5) { border-bottom: 0; }
.fleet div:nth-child(odd) { border-right: 2px solid var(--line); }
.fleet strong { display: block; font-size: 1.05rem; }
.fleet span { font-size: 0.92rem; color: var(--muted); }
.fleet a { color: inherit; text-decoration: none; }
.fleet a:hover strong { color: var(--amber-deep); }

/* Safety numbered rows */
ol.safety { list-style: none; margin-top: 2.2rem; }
ol.safety li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-top: 1px solid #2a3d58;
  align-items: baseline;
}
ol.safety li:last-child { border-bottom: 1px solid #2a3d58; }
ol.safety .n { font-size: 1.9rem; font-weight: 800; color: var(--amber); }
ol.safety strong { display: block; font-size: 1.15rem; margin-bottom: 0.2rem; }
ol.safety p { color: #b9c6d8; max-width: 46rem; }

/* Drivers */
.driver-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}
.driver-grid h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.driver-grid p, .driver-grid li { color: var(--muted); }
.driver-grid ul { list-style: none; margin-top: 0.8rem; }
.driver-grid li { padding: 0.35rem 0 0.35rem 1.5rem; position: relative; }
.driver-grid li::before { content: "—"; position: absolute; left: 0; color: var(--amber-deep); font-weight: 800; }
.driver-cta {
  margin-top: 2.2rem;
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.driver-cta p { color: #c3cfe2; max-width: 36rem; }
.driver-cta strong { display: block; font-size: 1.3rem; color: #fff; margin-bottom: 0.3rem; }

/* FAQ */
details.faq {
  border: 2px solid var(--line);
  border-radius: 10px;
  margin-top: 1rem;
  padding: 1.1rem 1.3rem;
  background: #fff;
}
details.faq:first-of-type { margin-top: 2rem; }
details.faq summary { font-weight: 700; font-size: 1.05rem; cursor: pointer; }
details.faq p { margin-top: 0.6rem; color: var(--muted); }

/* Cross-page link cards (simple rows, not a card grid) */
.xlinks { margin-top: 2.5rem; border-top: 2px solid var(--line); }
.xlinks a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0.2rem;
  border-bottom: 2px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.1rem;
}
.xlinks a span { font-weight: 400; font-size: 0.95rem; color: var(--muted); }
.xlinks a:hover { color: var(--amber-deep); }
.xlinks a::after { content: "→"; color: var(--amber-deep); font-weight: 800; }

footer.site {
  background: var(--navy);
  color: #7d8ca3;
  padding: 2.5rem 0;
  font-size: 0.9rem;
}
footer.site .bar { padding: 0; }
footer.site p { margin-top: 1rem; max-width: 48rem; }
footer.site a { color: #cfdaea; }
footer.site a:hover { color: var(--amber); }
footer.site .contact { margin-top: 1.2rem; font-size: 1rem; }
footer.site .admin { margin-top: 1rem; font-size: 0.85rem; color: #66788f; }

@media (max-width: 60rem) {
  .hero-grid, .service, .driver-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 2.8rem 0 3rem; }
  .hero figure { max-width: 28rem; }
  .fleet { grid-template-columns: 1fr; }
  .fleet div { border-right: 0 !important; border-bottom: 2px solid var(--line) !important; }
  .fleet div:last-child { border-bottom: 0 !important; }
  .fleet div:nth-child(-n+4), .band .fleet div:nth-child(-n+4) { background: transparent; }
  .fleet div:nth-child(odd) { background: var(--mist); }
  ol.safety li { grid-template-columns: 3rem 1fr; }
  .xlinks a { font-size: 1rem; }
  .xlinks a span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
