/* FastTrans & Logistics OÜ
   Palette taken from the company logo: FTL red #CA0103, wordmark navy #030C81. */

:root {
  --red: #ca0103;
  --red-dark: #a50103;
  --red-tint: #fdeced;
  --navy: #030c81;
  --navy-dark: #020858;
  --navy-deep: #01063f;
  --navy-tint: #eef0fb;

  --ink: #14162b;
  --body: #4e5570;
  --muted: #646b89;
  --line: #e2e5ef;
  --soft: #f5f6fb;
  --white: #fff;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(3, 12, 129, .06), 0 6px 16px rgba(3, 12, 129, .06);
  --shadow-md: 0 14px 40px rgba(3, 12, 129, .13);
  --wrap: 1180px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
/* `clip` on the root as well as body: body's value does not reliably reach the
   viewport on iOS Safari, which let the page be panned sideways. */
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font); color: var(--body); background: var(--white);
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
  /* Elements waiting to be revealed sit offset sideways, which would otherwise
     let the page be scrolled horizontally. `clip` contains that without making
     body a scroll container, so the sticky header keeps working. */
  overflow-x: clip;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.16; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.14rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--navy); }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--navy); color: #fff; padding: .7rem 1.1rem; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 4px; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: .97rem; text-decoration: none; cursor: pointer;
  transition: background-color .16s, color .16s, border-color .16s, transform .16s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.on-dark .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.eyebrow { text-transform: uppercase; letter-spacing: .13em; font-size: .74rem; font-weight: 700; color: var(--red); margin: 0 0 .7rem; }
.on-dark .eyebrow { color: #ff6b6d; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; color: var(--navy); }
.link-arrow::after { content: "\2192"; transition: transform .16s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------------- header ---------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar { background: var(--navy-deep); color: #c9cdf0; font-size: .82rem; }
.topbar .wrap { display: flex; gap: 1.5rem; align-items: center; min-height: 36px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: #ff6b6d; }
.topbar .sep { margin-left: auto; color: #8b93d6; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: block; flex: none; }
.brand img { width: 186px; }
.site-nav { display: flex; gap: 1.5rem; margin-left: auto; align-items: center; }
.site-nav > a, .nav-trigger {
  color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 600;
  padding: .45rem 0; border: 0; background: none; font-family: inherit; cursor: pointer;
  border-bottom: 2px solid transparent; display: inline-flex; align-items: center; gap: .3rem;
}
.site-nav > a:hover, .nav-trigger:hover, .site-nav > a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }
.has-drop { position: relative; }
.nav-trigger::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.drop {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
  min-width: 290px; padding: .5rem; display: none; z-index: 20;
}
/* Invisible bridge across the gap under the trigger. Without it the pointer
   leaves .has-drop on its way down to the menu and the menu closes. */
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-drop.open .drop { display: block; }
@media (hover: hover) and (min-width: 1041px) {
  .has-drop:hover .drop, .has-drop:focus-within .drop { display: block; }
}
.drop a { display: block; padding: .6rem .8rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 500; }
.drop a:hover { background: var(--navy-tint); color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang a { padding: .35rem .6rem; font-size: .78rem; font-weight: 700; color: var(--body); text-decoration: none; }
.lang a:hover { background: var(--soft); color: var(--ink); }
.lang a[aria-current="true"] { background: var(--navy); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; padding: 10px 11px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin-bottom: 4px; }
.nav-toggle span:last-child { margin-bottom: 0; }

/* ---------------- hero ---------------- */
.hero { background: linear-gradient(170deg, var(--navy-deep) 0%, var(--navy) 62%, #1a24a8 100%); color: #ced3f5; position: relative; overflow: hidden; }

/* ---- hero with a still photograph behind the headline ---- */
.hero-photo { background: var(--navy-deep); }
.hero-photo::after { content: none; }          /* the scrim replaces the red glow */
.hero-media {
  position: absolute; inset: 0;
  z-index: 0; overflow: hidden;
}
.hero-media-el {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Keeps the headline readable over moving footage, and ties it to the brand. */
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(1,6,63,.93) 0%, rgba(1,6,63,.78) 45%, rgba(3,12,129,.55) 100%),
    linear-gradient(to top, rgba(1,6,63,.9) 0%, transparent 42%);
}
.hero-photo .wrap { position: relative; z-index: 1; }
.hero-photo .hero-copy { max-width: 46rem; }
.hero-photo h1 { text-shadow: 0 2px 24px rgba(1, 6, 63, .5); }
.hero::after { content: ""; position: absolute; inset: auto -10% -45% 55%; height: 70%; background: radial-gradient(closest-side, rgba(202,1,3,.33), transparent); }
.hero .wrap { position: relative; z-index: 1; padding: clamp(3rem, 6vw, 5rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.12rem; color: #c3c9f2; max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.7rem 0 1.4rem; }
.hero-figure img { border-radius: var(--radius-lg); background: #fff; }

/* ---------------- hero slideshow ---------------- */
.hero-slider { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #fff; }
.hero-track { display: flex; margin: 0; padding: 0; list-style: none; will-change: transform; }
.js .hero-track { transition: transform .75s cubic-bezier(.22, .61, .36, 1); }
.hero-slide { min-width: 100%; position: relative; }
.hero-slide img { width: 100%; display: block; aspect-ratio: 800 / 570; object-fit: cover; background: #fff; border-radius: 0; }
.hero-slide.is-svg img { object-fit: contain; }
.hero-cap {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: rgba(1, 6, 63, .88); color: #fff; font-size: .82rem; font-weight: 600;
  padding: .45rem .9rem; border-radius: 999px; text-decoration: none; backdrop-filter: blur(4px);
}
a.hero-cap:hover { background: var(--red); }
.hero-dots { position: absolute; right: 14px; bottom: 16px; z-index: 2; display: flex; gap: 6px; }
.hero-dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(1, 6, 63, .28); transition: width .3s, background-color .3s;
}
.hero-dots button:hover { background: rgba(1, 6, 63, .55); }
.hero-dots button[aria-current="true"] { width: 24px; background: var(--red); }
@media (max-width: 620px) {
  .hero-cap { font-size: .75rem; left: 10px; bottom: 10px; }
  .hero-dots { right: 10px; bottom: 12px; }
}

/* ---------------- named clients ---------------- */
.partner-bar { background: #fff; border-bottom: 1px solid var(--line); padding: 1.8rem 0; }
.partner-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2.5rem; margin: 0; padding: 0; }
.partner-list li { display: grid; grid-template-columns: 110px 1fr; grid-template-rows: auto auto; gap: .15rem 1.2rem; align-items: center; }
.partner-logo { grid-row: span 2; display: grid; place-items: center; }
.partner-logo img { max-width: 100%; max-height: 54px; width: auto; height: auto; display: block; }
.partner-list b { align-self: end; color: var(--navy); font-size: 1.02rem; letter-spacing: -.01em; }
.partner-note { align-self: start; font-size: .88rem; color: var(--body); line-height: 1.5; }
.partner-list-plain { margin-top: 1.8rem; max-width: 620px; }
.partner-list-plain li { grid-template-rows: auto; }
.partner-list-plain b { align-self: center; }

.page-hero { background: var(--navy-deep); color: #c3c9f2; padding: clamp(2.2rem, 4vw, 3.4rem) 0; }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.8rem, 4vw, 3rem); align-items: center; }
/* Three of the owner's service photos are portrait. Left to their natural
   ratio they stand far taller than the text beside them and stretch the hero
   to half again its height, so the figure is capped and crops instead. */
.page-hero-figure img { border-radius: var(--radius-lg); background: #fff; width: 100%; height: auto; max-height: 460px; object-fit: cover; object-position: center; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lead { color: #b7bfee; max-width: 60ch; font-size: 1.06rem; margin-bottom: 0; }
.crumbs { font-size: .82rem; color: #8e97dd; margin-bottom: .9rem; }
.crumbs a { color: #c3c9f2; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------------- sections ---------------- */
.section { padding: clamp(3.2rem, 6vw, 5rem) 0; }
.section-soft { background: var(--soft); }
.section-navy { background: var(--navy-deep); color: #c0c7ef; }
.section-navy h2, .section-navy h3, .section-navy b, .section-navy strong { color: #fff; }
/* Headings default to dark ink, so every dark-background block must override
   it. Keyed off .on-dark rather than each section type, so new dark sections
   are covered automatically. */
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.section-head { max-width: 62ch; margin-bottom: 2.4rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.06rem; }

/* ---------------- cards ---------------- */
.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfd5e8; }
.card h3 { margin-bottom: .4rem; }
.card p { font-size: .94rem; }
.card-link { text-decoration: none; display: block; color: inherit; }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--navy-tint); display: grid; place-items: center; margin-bottom: 1rem; }
.card-icon svg { width: 25px; height: 25px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-icon.red { background: var(--red-tint); }
.card-icon.red svg { stroke: var(--red); }
.card-flag { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--red); background: var(--red-tint); padding: .2rem .55rem; border-radius: 5px; margin-bottom: .7rem; }
.ticks { list-style: none; padding: 0; margin: 1rem 0 0; }
.ticks li { position: relative; padding-left: 1.6rem; font-size: .92rem; margin-bottom: .4rem; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 800; font-size: .85rem; }
.section-navy .ticks li::before { color: #ff6b6d; }

/* photo gallery: real vehicle shots, framed like cards but image-led */

/* temperature strip */
.temps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.6rem; }
.temp-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.temp-box b { display: block; font-size: 1.3rem; color: #fff; font-variant-numeric: tabular-nums; }
.temp-box span { font-size: .87rem; }
.section:not(.section-navy) .temp-box { background: var(--navy-tint); border-color: #d4d9f6; }
.section:not(.section-navy) .temp-box b { color: var(--navy); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.steps li { border-top: 3px solid var(--line); padding-top: 1rem; }
.steps li:first-child { border-top-color: var(--red); }
.step-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: .9rem; margin-bottom: .7rem; }
.steps p { font-size: .92rem; margin: 0; }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.4rem); align-items: center; }
.split img { border-radius: var(--radius-lg); }

/* ---------------- forms ---------------- */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-md); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink); width: 100%;
  border: 1.5px solid var(--line); border-radius: 10px; padding: .68rem .8rem; background: #fff;
  transition: border-color .16s, box-shadow .16s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(3,12,129,.12); }
.field input.invalid, .field select.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(202,1,3,.12); }
.hint { font-size: .8rem; color: var(--muted); margin: -.5rem 0 1rem; }
.notice { background: #fffaf0; border: 1px solid #fde3b0; border-left: 4px solid #e8a33d; border-radius: 10px; padding: .9rem 1.1rem; font-size: .92rem; color: #70501a; margin: 0 0 1.3rem; }
.example { background: var(--navy-tint); border-radius: 10px; padding: .8rem 1rem; font-size: .85rem; color: var(--navy-dark); margin: 0 0 1.2rem; }
.example b { color: var(--navy); }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .87rem; margin: .3rem 0 1.2rem; cursor: pointer; }
.consent input { margin-top: .3rem; width: 17px; height: 17px; accent-color: var(--navy); flex: none; }
.consent.invalid span { color: var(--red); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.form-note { font-size: .8rem; color: var(--muted); margin: .9rem 0 0; }
.form-status { margin-top: 1rem; font-size: .92rem; border-radius: 10px; padding: 0; }
.form-status.ok { background: #e7f7ec; color: #1a6b35; padding: .85rem 1rem; }
.form-status.err { background: var(--red-tint); color: #8e0b0d; padding: .85rem 1rem; }

/* ---------------- rental calendar ---------------- */
.veh { display: flex; gap: .9rem; align-items: flex-start; border: 1.5px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; cursor: pointer; }
.veh:hover { border-color: var(--navy); }
.veh input { margin-top: .35rem; accent-color: var(--navy); }
.veh b { display: block; color: var(--ink); font-size: .96rem; }
.veh span { font-size: .85rem; }
.veh.active { border-color: var(--navy); background: var(--navy-tint); }

/* ---------------- faq ---------------- */
.faq { display: grid; gap: .7rem; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.2rem; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); padding: 1.05rem 2rem 1.05rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--red); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { font-size: .94rem; margin: 0 0 1.15rem; }

/* ---------------- cta band ---------------- */
.cta-band { background: linear-gradient(100deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.3rem 0; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .3rem; }
.cta-band p { margin: 0; color: #bcc3ee; }

/* ---------------- sticky phone bar ---------------- */
.sticky-bar { display: none; }
@media (max-width: 760px) {
  .sticky-bar {
    display: flex; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .sticky-bar .btn { flex: 1; padding: .75rem 1rem; font-size: .92rem; }
  /* Keep the footer clear of the bar. */
  body { padding-bottom: 74px; }
}

/* ---------------- footer ---------------- */
.site-footer { background: #05081f; color: #8f97bd; padding: 3rem 0 1.6rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer a { color: #c3c9e8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-logo img { width: 180px; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.2rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: #6f779c; }

/* ---------------- responsive ---------------- */
@media (max-width: 1040px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav { position: fixed; inset: 112px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem; box-shadow: var(--shadow-md); display: none; max-height: calc(100vh - 112px); overflow-y: auto; }
  .site-nav.open { display: flex; }
  .site-nav > a, .nav-trigger { padding: .85rem 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; }
  .has-drop { position: static; }
  .drop { position: static; transform: none; box-shadow: none; border: 0; padding: 0 0 .6rem .8rem; min-width: 0; }
  .nav-toggle { display: block; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 860px) {
  .hero-grid, .page-hero-grid, .split, .cal-wrap { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-sub .wrap { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .temps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* The sticky bar carries the quote button on phones, so the header does not
     need it; without this the logo, languages, CTA and burger fight for space. */
  .header-actions > .btn { display: none; }
  .topbar .wrap > span:first-child { display: none; }

}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .steps, .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .sep { display: none; }
  .hero-cta .btn { width: 100%; }
}
@media (max-width: 760px) {
  /* At 375px the fixed-width logo plus languages plus burger came to more than
     the available width, pushing the burger off the right edge. */
  .brand img { width: 140px; }
  .header-inner { gap: 1rem; }

  /* No parallax on touch, so the media box needs no spare height to drift
     into; sizing it exactly crops the footage less. */
  .hero-media { top: 0; bottom: 0; }
}

/* ---------------- scroll reveal ----------------
   Only hidden once the inline <head> script has set .js on <html>, so the page
   still reads normally with JavaScript off or blocked. */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal-left { transform: translateX(-56px); }
.js .reveal-right { transform: translateX(56px); }
/* Headings drift in from the left, cards rise, pictures slide: three
   consistent motions rather than one applied everywhere. */
.js .section-head.reveal { transform: translateX(-38px); }
.js .card.reveal { transform: translateY(30px) scale(.985); }
.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity .62s cubic-bezier(.22, .61, .36, 1) var(--rd, 0ms),
              transform .72s cubic-bezier(.22, .61, .36, 1) var(--rd, 0ms);
}

/* Pictures slide into a fixed frame: the frame clips, the image travels and
   settles from a slight overscale, so it reads as a slide rather than a fade. */
.pic-slide { overflow: hidden; border-radius: var(--radius-lg); }
.pic-slide img { width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: center; }
.js .pic-slide { opacity: 1; transform: none; }
.js .pic-slide > * { display: block; }
.js .pic-slide img { opacity: 0; transform: translateX(72px) scale(1.1); will-change: transform; }
.js .pic-slide.from-left img { transform: translateX(-72px) scale(1.1); }
.js .pic-slide.in img {
  opacity: 1; transform: none;
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .9s cubic-bezier(.22, .61, .36, 1);
}
/* Hero pictures sit above the fold, so they play on load, not on scroll. */
.js .hero-figure.pic-slide img,
.js .page-hero-figure.pic-slide img {
  opacity: 1; transform: none;
  animation: slideFromRight .95s cubic-bezier(.22, .61, .36, 1) backwards;
}
@keyframes slideFromRight { from { opacity: 0; transform: translateX(72px) scale(1.1); } to { opacity: 1; transform: none; } }

/* The hero is above the fold: animate it in on load rather than on scroll. */
.hero-grid > div > *, .page-hero-grid > div > * { animation: rise .7s cubic-bezier(.22,.61,.36,1) backwards; }
.hero-grid > div > *:nth-child(2), .page-hero-grid > div > *:nth-child(2) { animation-delay: .07s; }
.hero-grid > div > *:nth-child(3), .page-hero-grid > div > *:nth-child(3) { animation-delay: .14s; }
.hero-grid > div > *:nth-child(4) { animation-delay: .21s; }
.hero-grid > div > *:nth-child(5) { animation-delay: .28s; }
.hero-figure, .page-hero-figure { animation: rise .8s .12s cubic-bezier(.22,.61,.36,1) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }



/* Phones: reveals travel vertically only. Sideways travel pushed elements past
   the viewport edge, which is what let the page be panned; clipping alone was
   not enough on iOS. Must sit after the base reveal rules to take effect. */
@media (max-width: 760px) {
  .js .reveal-left,
  .js .reveal-right,
  .js .section-head.reveal { transform: translateY(26px); }
  .js .pic-slide img,
  .js .pic-slide.from-left img { transform: translateY(20px) scale(1.03); }
}

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

/* ---------------- pieces added for the eight-service structure ---------------- */

/* A second, quieter paragraph under a hero headline or section heading. */
.lead-sm { font-size: 1rem; }
.hero-sub-line { font-size: 1.12rem; font-weight: 600; color: #fff; margin-bottom: .9rem; max-width: 52ch; }
.page-hero .hero-cta { margin-top: 1.6rem; }
.section-lead { max-width: 74ch; margin-top: -.4rem; margin-bottom: 1.8rem; }
.card-note { font-size: .86rem; color: var(--muted); margin-top: .3rem; }

/* Enquiry forms are long now, so they are split into labelled sections. */
.form-col { max-width: 820px; }
.form-section + .form-section { margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.form-section h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: 1rem; }
.field-full { grid-column: 1 / -1; }
.field-hint { font-size: .82rem; color: var(--muted); margin: .4rem 0 0; }
.field input[type="file"] { padding: .55rem; background: var(--soft); cursor: pointer; }
.form-footnote { max-width: 70ch; margin-top: 1.1rem; font-size: .9rem; color: var(--body); }

/* Company and bank details, as label/value pairs. */
.facts { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.6rem; margin: 0; max-width: 620px; }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; }
.facts + .facts { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.details-logo { margin-bottom: 1.4rem; }
.details-grid h3 { margin-bottom: 1.1rem; }

/* Privacy policy and terms: plain running text. */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.22rem; margin: 2.2rem 0 .7rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: .9rem; }

/* Footer additions: company name above the blurb, legal rows, bottom links. */
.footer-name { color: #fff; font-weight: 700; margin-bottom: .5rem; }
.footer-legal { opacity: .72; font-size: .84rem; }
.footer-links { display: flex; gap: 1.4rem; }

@media (max-width: 860px) {
  .partner-list { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr; }
}

/* The attachment route when the form endpoint cannot carry files: a button
   that opens the visitor's own mail client with the enquiry already written. */
.attach-alt { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; margin-bottom: 1rem; }
.attach-alt .btn { background: #fff; }
.attach-alt .field-hint { margin: 0; max-width: 62ch; }
.form-status a { color: inherit; text-decoration: underline; font-weight: 600; }
