/* BTconsult – public site. One family (Archivo, variable width): wide for headings,
   normal for text. Colour comes from the logo green and the two cars themselves. */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #1e2a23;
  --ink-soft: #4d5a52;
  --paper: #f6f7f5;
  --white: #ffffff;
  --line: #d6dbd7;
  --green: #008836;
  --green-dark: #006b2a;
  --asphalt: #3c4246;
  --marking: #f0efe9;
  --marking-yellow: #f2c230;
  --volvo: #94643a;
  --ford: #a3242b;
  --error: #b42318;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--font); font-stretch: 100%; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green-dark); text-underline-offset: .18em; }
h1, h2, h3 { margin: 0; font-weight: 750; line-height: 1.05; }
h1, h2 { font-stretch: 125%; letter-spacing: -.01em; }
p { margin: 0 0 .9em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; padding: 8px 12px; background: var(--ink); color: var(--white); z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* buttons: one shape, one colour */
.btn { display: inline-block; padding: .8em 1.4em; border: 0; border-radius: 4px; background: var(--green); color: var(--white); font: 650 1rem/1.2 var(--font); font-stretch: 112%; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--green-dark); }
.btn:disabled { background: #c3cac5; color: #6c766f; cursor: not-allowed; }
.btn-wide { width: 100%; }
.quiet { color: var(--ink); font-weight: 600; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover { text-decoration: underline; }

/* intro */
.intro { padding: 56px 0 64px; }
.intro h1 { font-size: clamp(2.5rem, 7vw, 5.25rem); font-weight: 800; max-width: 11em; }
.lead { margin-top: 28px; max-width: 36em; font-size: 1.25rem; color: var(--ink-soft); }
.intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 32px 0 0; }

/* the road: today's availability, painted on the asphalt */
.road {
  background-color: var(--asphalt);
  background-image: linear-gradient(90deg, var(--marking) 0 56%, transparent 56% 100%);
  background-size: 72px 5px;
  background-repeat: repeat-x;
  background-position: 0 calc(100% - 34px);
  border-top: 12px solid #a7ada8;
  padding: 40px 0 76px;
}
.road-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.spot { display: flex; flex-direction: column; gap: 6px; color: var(--marking); text-decoration: none; }
.spot img { width: 100%; max-width: 460px; aspect-ratio: 8 / 3; object-fit: contain; object-position: left bottom; margin-bottom: 4px; }
.spot-name { font-weight: 600; color: #c6ccc8; }
.spot-status { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; font-stretch: 125%; line-height: 1; }
.spot-status.is-free { color: var(--marking); }
.spot-status.is-busy { color: var(--marking-yellow); }
.spot:hover .spot-name { text-decoration: underline; }

/* cars: two spec sheets side by side */
/* Both cards share one row grid (subgrid), so title, text, table, equipment and button line up. */
.cars { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, auto); column-gap: 32px; row-gap: 0; padding: 72px 0; }
.car { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; padding: 0 28px 28px; background: var(--white); border: 1px solid var(--line); border-top: 8px solid var(--car, var(--ink)); }
.car-volvo-v90 { --car: var(--volvo); }
.car-ford-tourneo { --car: var(--ford); }
.car-head { padding-top: 24px; }
.car h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.car-variant { margin: 6px 0 0; color: var(--ink-soft); }
.car-tagline { margin: 16px 0 20px; }
.specs { width: 100%; border-collapse: collapse; align-self: start; }
.specs th, .specs td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs tr:first-child th, .specs tr:first-child td { border-top: 1px solid var(--line); }
.specs th { width: 42%; font-weight: 400; color: var(--ink-soft); }
.specs td { font-weight: 650; }
.equip { margin-top: 16px; }
.equip summary { cursor: pointer; font-weight: 650; padding: 6px 0; }
.equip ul { margin: 8px 0 0; padding: 0; list-style: none; }
.equip li { padding: 0 0 7px 16px; position: relative; }
.equip li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--car, var(--ink)); }
/* Status line at the top of the row, button at the bottom: both line up across the cards. */
.car-foot { align-self: stretch; padding-top: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.car-foot .btn { margin-top: auto; }
.car-foot .booked { margin-bottom: 16px; }
.car-foot .car-status { margin-bottom: 16px; }
.car-status { font-weight: 650; margin: 0; }
.car-status.is-free { color: var(--green-dark); }
.booked { margin: -10px 0 0; color: var(--ink-soft); font-size: .95rem; }

/* how it works: a real sequence, so numbered */
.how { background: var(--white); border-block: 1px solid var(--line); padding: 72px 0; }
.how h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-size: 3.5rem; font-weight: 800; font-stretch: 125%; line-height: 1; color: var(--green); margin-bottom: 14px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); max-width: 22em; }

/* inquiry */
.contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; padding: 80px 0 96px; }
.contact h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 20px; }
.contact-text p { color: var(--ink-soft); max-width: 26em; }
address { margin-top: 28px; font-style: normal; line-height: 1.6; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form fieldset:disabled { opacity: .5; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 6px; font-weight: 650; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field input:not([type=checkbox]), .field select, .field textarea {
  width: 100%; padding: .7em .8em; font: inherit; color: var(--ink);
  background: var(--white); border: 1px solid #b9c1bb; border-radius: 4px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.field textarea { resize: vertical; }
.has-error input:not([type=checkbox]), .has-error select, .has-error textarea { border-color: var(--error); }
.err { margin: 6px 0 0; color: var(--error); font-size: .95rem; }
.check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { flex: none; width: 18px; height: 18px; margin-top: .2em; accent-color: var(--green); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 12px 0 0; color: var(--ink-soft); font-size: .95rem; }
.notice { margin-bottom: 24px; padding: 14px 16px; border-left: 6px solid; background: var(--white); }
.notice-ok { border-color: var(--green); }
.notice-busy { border-color: var(--marking-yellow); }
.notice-err { border-color: var(--error); }

/* captcha (Cloudflare Turnstile iframe) */
.cf-turnstile { min-height: 65px; }

/* other pages */
.page { padding: 48px 0 96px; max-width: 42em; }
.page h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 28px; }
.page h2 { font-size: 1.25rem; font-stretch: 112%; margin: 32px 0 8px; }

/* footer */
.foot { background: var(--ink); color: #c9d1cc; padding: 36px 0; font-size: .95rem; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; }
.foot p { margin: 0; }
.foot a { color: var(--white); }

@media (max-width: 860px) {
  .road-inner, .cars, .contact { grid-template-columns: 1fr; }
  .cars { grid-template-rows: none; row-gap: 32px; }
  .car { grid-row: auto; grid-template-rows: none; }
  .road-inner { gap: 40px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .contact { gap: 32px; }
}
@media (max-width: 560px) {
  .nav { gap: 16px; font-size: .95rem; }
  .nav a:not(:last-child) { display: none; }
  .brand img { height: 34px; }
  .intro { padding: 32px 0 44px; }
  .lead { font-size: 1.1rem; }
  .car { padding: 0 18px 22px; }
  .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
