/* Layout: single column of full-width bands; colors and serif wordmark follow the VEDAM logo (red arrow, grey serif). */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --band: #f6f3f3;
  --ink: #2a2526;
  --muted: #6b6466;
  --line: #e2dcdc;
  --brand: #b23035;       /* logo arrow red */
  --brand-ink: #ffffff;
  --brand-dark: #9b1e13;  /* invoice table red */
  --brand-dark-ink: #ffffff;
  --font-display: "Noto Serif", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius: 6px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171314; --surface: #211b1c; --band: #1c1718; --ink: #efe9e9; --muted: #aaa0a1;
    --line: #352c2d; --brand: #d0484d; --brand-ink: #ffffff; --brand-dark: #e0605a; --brand-dark-ink: #1a0a08;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #171314; --surface: #211b1c; --band: #1c1718; --ink: #efe9e9; --muted: #aaa0a1;
    --line: #352c2d; --brand: #d0484d; --brand-ink: #ffffff; --brand-dark: #e0605a; --brand-dark-ink: #1a0a08;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: max(16px, 4vw); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 700;  letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700;  }
h3 { font-size: 1.15rem; font-weight: 700;  }
p { margin: 0; }
.eyebrow {
  font: 500 0.78rem/1 var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--brand-dark); margin-bottom: 0.9rem;
}

/* Top bar */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.7rem; }
.brand { text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.logo-mark { width: 2.4rem; height: 2.4rem; flex: none; }
.logo-words { display: grid; line-height: 1.05; font-family: var(--font-display); }
.logo-name { color: var(--muted); font-size: 1.2rem; letter-spacing: 0.01em; }
.logo-url { color: var(--muted); opacity: 0.75; font-size: 0.85rem; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--brand-dark); }
.nav .nav-cta {
  background: var(--brand); color: var(--brand-ink);
  padding: 0.5rem 0.9rem; border-radius: var(--radius); font-weight: 600;
}
.nav .nav-cta:hover { color: var(--brand-ink); filter: brightness(1.05); }
.nav-toggle {
  display: none; font: 600 0.9rem var(--font-body);
  background: none; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.45rem 0.8rem; cursor: pointer;
}

/* Hero */
.hero { padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; gap: 1.5rem; }
.hl { color: var(--brand-dark); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.4rem; }
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font: 600 1rem/1 var(--font-body); padding: 0.95rem 1.4rem; border-radius: var(--radius);
  border: 2px solid transparent;
}
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* Route strip */
.route { margin: 2rem 0 0; }
.route-line {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: space-between; position: relative;
}
.route-line::before {
  content: ""; position: absolute; left: 1.2rem; right: 1.2rem; top: 1.2rem; height: 3px;
  background: repeating-linear-gradient(90deg, var(--brand-dark) 0 18px, transparent 18px 28px);
  animation: road 1.6s linear infinite;
}
@keyframes road { to { background-position: 28px 0; } }
@media (prefers-reduced-motion: reduce) { .route-line::before { animation: none; } html { scroll-behavior: auto; } }
.route-line li { position: relative; display: grid; justify-items: center; gap: 0.5rem; min-width: 0; }
.flags { display: flex; height: 2.4rem; align-items: center; }
.flag {
  width: 2.4rem; height: 2.4rem; border-radius: 50%; display: block;
  box-shadow: 0 0 0 1px var(--line), 0 0 0 4px var(--bg); background: var(--bg);
}
.flags .flag + .flag { margin-left: -0.9rem; }
.city { font-size: 0.85rem; color: var(--muted); }
.route figcaption { margin-top: 1rem; font: 500 0.75rem var(--font-mono); color: var(--muted); letter-spacing: 0.06em; }

/* Sections */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-alt { background: var(--band); }
.section h2 { margin-bottom: 2rem; }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; display: grid; gap: 0.6rem; align-content: start;
}
.service p { color: var(--muted); }
.tag {
  justify-self: start; font: 500 0.75rem/1 var(--font-mono); letter-spacing: 0.08em;
  color: var(--brand-dark); border: 1.5px solid var(--brand-dark); border-radius: 3px; padding: 0.3rem 0.45rem;
}

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.steps li { counter-increment: step; display: grid; gap: 0.5rem; border-top: 3px solid var(--brand-dark); padding-top: 1rem; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font: 500 0.8rem var(--font-mono); color: var(--brand-dark); letter-spacing: 0.08em;
}
.steps p { color: var(--muted); }

.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about-text { display: grid; gap: 1rem; max-width: 62ch; min-width: 0; }
.about-text h2 { margin-bottom: 0.4rem; }
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.95rem; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { display: grid; gap: 1rem; min-width: 0; }
.contact-info h2 { margin-bottom: 0.2rem; }
.contact-list { margin: 0.5rem 0 0; display: grid; gap: 0.9rem; }
.contact-list dt { font: 500 0.72rem var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.contact-list dd { margin: 0.15rem 0 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a { color: var(--ink); text-decoration-color: var(--brand); text-underline-offset: 3px; }

.quote {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1rem; min-width: 0;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.quote label { display: grid; gap: 0.35rem; font-size: 0.88rem; font-weight: 500; min-width: 0; }
.quote input, .quote select, .quote textarea {
  font: 400 1rem var(--font-body); color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 4px; padding: 0.7rem 0.75rem; width: 100%;
}
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: 2px solid var(--brand-dark); outline-offset: 0; border-color: var(--brand-dark); }
.quote .invalid { border-color: #c4352b; }
.quote button { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 0.92rem; color: var(--muted); }

.footer { border-top: 1px solid var(--line); padding-block: 1.6rem; font-size: 0.88rem; color: var(--muted); }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; }

/* Narrow screens */
@media (max-width: 820px) {
  .about, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 0.5rem max(16px, 4vw) 1rem;
  }
  .nav.open { display: flex; }
  .nav a { padding-block: 0.75rem; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 0.75rem; text-align: center; border-bottom: 0; }
  .topbar-in { position: relative; }
  .row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .city { font-size: 0.66rem; }
  .flags { height: 2.1rem; }
  .flag { width: 2.1rem; height: 2.1rem; }
  .flags .flag + .flag { margin-left: -1.3rem; }
  .route-line::before { top: 1.05rem; }
}
