/* Transportes Talhadas: site styles.
   One file, no build step. Sections follow the order of the page. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  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;
}

/* Colour tokens. Each pair is light / dark; components only use the
   unsuffixed names. See brand/README.md for the brand colours. */
:root {
  --navy: #26426c;
  --ink: #1c1b17;

  --bg-light: #fff;              --bg-dark: #050505;
  --wash-light: #f4f6fa;         --wash-dark: #0b0b0b;
  --surface-light: #fff;         --surface-dark: #101010;
  --text-light: #1c1b17;         --text-dark: #f5f5f2;
  --text-soft-light: #4a4d55;    --text-soft-dark: #a6a6a1;
  --line-light: #dce2ea;         --line-dark: #242424;
  --field-light: #848e9c;        --field-dark: #6f6f6b;
  --accent-light: #26426c;       --accent-dark: #ffb000;
  --accent-hover-light: #1b3152; --accent-hover-dark: #ffc640;
  --tint-light: #e8edf5;         --tint-dark: #1d1708;
  --button-light: #26426c;       --button-dark: #ffb000;
  --button-hover-light: #1b3152; --button-hover-dark: #ffc640;
  --button-text-light: #fff;     --button-text-dark: #050505;
  --footer-light: #12213a;       --footer-dark: #000;
  --success-light: #1d6b3a;      --success-dark: #7ddba0;
  --error-light: #a61b1b;        --error-dark: #ff8f80;
  --header-light: rgb(255 255 255 / 0.8);   --header-dark: rgb(5 5 5 / 0.8);
  --shade-light: rgb(18 33 58 / 0.12);      --shade-dark: rgb(0 0 0 / 0.45);
  --backdrop-light: rgb(18 33 58 / 0.25);   --backdrop-dark: rgb(0 0 0 / 0.55);

  /* Gradients, glows, shadows and lit edges. The dark theme lights the page
     with amber; the light theme uses navy shadows and pale blue light. */
  --card-top-light: var(--surface-light);   --card-top-dark: #171717;
  --card-edge-light: transparent;           --card-edge-dark: rgb(255 255 255 / 0.05);
  --card-shadow-light: rgb(18 33 58 / 0.16);  --card-shadow-dark: transparent;
  --card-hover-light: rgb(38 66 108 / 0.45);  --card-hover-dark: rgb(255 176 0 / 0.5);
  --glow-card-light: rgb(18 33 58 / 0.3);   --glow-card-dark: var(--glow-dark);
  --badge-start-light: #3b62a0;             --badge-start-dark: var(--accent-dark);
  --badge-end-light: var(--navy);           --badge-end-dark: #ff8a00;
  --badge-icon-light: #fff;                 --badge-icon-dark: var(--bg-dark);
  --callout-start-light: #3b62a0;           --callout-start-dark: var(--accent-dark);
  --callout-end-light: var(--navy);         --callout-end-dark: #ff8a00;
  --callout-text-light: #fff;               --callout-text-dark: var(--bg-dark);
  --callout-soft-light: rgb(255 255 255 / 0.85);  --callout-soft-dark: rgb(5 5 5 / 0.85);
  --chip-ring-light: rgb(38 66 108 / 0.3);  --chip-ring-dark: rgb(255 176 0 / 0.5);
  --chip-text-light: var(--accent-light);   --chip-text-dark: var(--text-dark);
  --bar-glow-light: transparent;            --bar-glow-dark: var(--accent-dark);
  --glow-light: rgb(59 98 160 / 0.22);      --glow-dark: rgb(255 176 0 / 0.14);
  --glow-warm-light: rgb(59 98 160 / 0.12);  --glow-warm-dark: rgb(255 120 0 / 0.08);
  --glow-photo-light: rgb(18 33 58 / 0.45);  --glow-photo-dark: rgb(255 176 0 / 0.22);
  --glow-button-light: rgb(38 66 108 / 0.5);  --glow-button-dark: rgb(255 176 0 / 0.45);
  --glow-footer-light: rgb(124 160 220 / 0.18);  --glow-footer-dark: rgb(255 176 0 / 0.07);
  --photo-edge-light: rgb(18 33 58 / 0.08);  --photo-edge-dark: rgb(255 255 255 / 0.08);
  --seam-light: rgb(38 66 108 / 0.25);      --seam-dark: rgb(255 176 0 / 0.3);
  --footer-edge-light: transparent;         --footer-edge-dark: var(--line-dark);
  /* The contour lines behind the hero: slate in the light theme, white in the
     dark one, at the strengths of the files in backgrounds/png/. */
  --topo-ink-light: rgb(31 41 55 / 0.15);   --topo-ink-dark: rgb(255 255 255 / 0.11);

  /* Browsers without light-dark() always get the light theme. */
  --bg: var(--bg-light);
  --wash: var(--wash-light);
  --surface: var(--surface-light);
  --text: var(--text-light);
  --text-soft: var(--text-soft-light);
  --line: var(--line-light);
  --field-border: var(--field-light);
  --accent: var(--accent-light);
  --accent-hover: var(--accent-hover-light);
  --tint: var(--tint-light);
  --button: var(--button-light);
  --button-hover: var(--button-hover-light);
  --footer-bg: var(--footer-light);
  --success: var(--success-light);
  --error: var(--error-light);
  --header-bg: var(--header-light);
  --shade: var(--shade-light);
  --backdrop: var(--backdrop-light);
  --button-text: var(--button-text-light);
  --card-top: var(--card-top-light);
  --card-edge: var(--card-edge-light);
  --card-shadow: var(--card-shadow-light);
  --card-hover: var(--card-hover-light);
  --glow-card: var(--glow-card-light);
  --badge-start: var(--badge-start-light);
  --badge-end: var(--badge-end-light);
  --badge-icon: var(--badge-icon-light);
  --callout-start: var(--callout-start-light);
  --callout-end: var(--callout-end-light);
  --callout-text: var(--callout-text-light);
  --callout-soft: var(--callout-soft-light);
  --chip-ring: var(--chip-ring-light);
  --chip-text: var(--chip-text-light);
  --bar-glow: var(--bar-glow-light);
  --glow: var(--glow-light);
  --glow-warm: var(--glow-warm-light);
  --glow-photo: var(--glow-photo-light);
  --glow-button: var(--glow-button-light);
  --glow-footer: var(--glow-footer-light);
  --photo-edge: var(--photo-edge-light);
  --seam: var(--seam-light);
  --footer-edge: var(--footer-edge-light);
  --topo-ink: var(--topo-ink-light);
  --on-dark: #fff;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 76rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(4rem, 9vw, 7rem);
  --header-h: 4.5rem;
  --shadow: 0 12px 32px var(--shade);

  color-scheme: light;
}

/* Themes. Without a choice the page follows the operating system ("system");
   theme.js sets data-theme="light" or "dark" when the visitor picks one. */
@supports (color: light-dark(#000, #fff)) {
  :root {
    color-scheme: light dark;
    --bg: light-dark(var(--bg-light), var(--bg-dark));
    --wash: light-dark(var(--wash-light), var(--wash-dark));
    --surface: light-dark(var(--surface-light), var(--surface-dark));
    --text: light-dark(var(--text-light), var(--text-dark));
    --text-soft: light-dark(var(--text-soft-light), var(--text-soft-dark));
    --line: light-dark(var(--line-light), var(--line-dark));
    --field-border: light-dark(var(--field-light), var(--field-dark));
    --accent: light-dark(var(--accent-light), var(--accent-dark));
    --accent-hover: light-dark(var(--accent-hover-light), var(--accent-hover-dark));
    --tint: light-dark(var(--tint-light), var(--tint-dark));
    --button: light-dark(var(--button-light), var(--button-dark));
    --button-hover: light-dark(var(--button-hover-light), var(--button-hover-dark));
    --footer-bg: light-dark(var(--footer-light), var(--footer-dark));
    --success: light-dark(var(--success-light), var(--success-dark));
    --error: light-dark(var(--error-light), var(--error-dark));
    --header-bg: light-dark(var(--header-light), var(--header-dark));
    --shade: light-dark(var(--shade-light), var(--shade-dark));
    --backdrop: light-dark(var(--backdrop-light), var(--backdrop-dark));
    --button-text: light-dark(var(--button-text-light), var(--button-text-dark));
    --card-top: light-dark(var(--card-top-light), var(--card-top-dark));
    --card-edge: light-dark(var(--card-edge-light), var(--card-edge-dark));
    --card-shadow: light-dark(var(--card-shadow-light), var(--card-shadow-dark));
    --card-hover: light-dark(var(--card-hover-light), var(--card-hover-dark));
    --glow-card: light-dark(var(--glow-card-light), var(--glow-card-dark));
    --badge-start: light-dark(var(--badge-start-light), var(--badge-start-dark));
    --badge-end: light-dark(var(--badge-end-light), var(--badge-end-dark));
    --badge-icon: light-dark(var(--badge-icon-light), var(--badge-icon-dark));
    --callout-start: light-dark(var(--callout-start-light), var(--callout-start-dark));
    --callout-end: light-dark(var(--callout-end-light), var(--callout-end-dark));
    --callout-text: light-dark(var(--callout-text-light), var(--callout-text-dark));
    --callout-soft: light-dark(var(--callout-soft-light), var(--callout-soft-dark));
    --chip-ring: light-dark(var(--chip-ring-light), var(--chip-ring-dark));
    --chip-text: light-dark(var(--chip-text-light), var(--chip-text-dark));
    --bar-glow: light-dark(var(--bar-glow-light), var(--bar-glow-dark));
    --glow: light-dark(var(--glow-light), var(--glow-dark));
    --glow-warm: light-dark(var(--glow-warm-light), var(--glow-warm-dark));
    --glow-photo: light-dark(var(--glow-photo-light), var(--glow-photo-dark));
    --glow-button: light-dark(var(--glow-button-light), var(--glow-button-dark));
    --glow-footer: light-dark(var(--glow-footer-light), var(--glow-footer-dark));
    --photo-edge: light-dark(var(--photo-edge-light), var(--photo-edge-dark));
    --seam: light-dark(var(--seam-light), var(--seam-dark));
    --footer-edge: light-dark(var(--footer-edge-light), var(--footer-edge-dark));
    --topo-ink: light-dark(var(--topo-ink-light), var(--topo-ink-dark));
  }

  :root[data-theme="light"] {
    color-scheme: light;
  }

  :root[data-theme="dark"] {
    color-scheme: dark;
  }

  /* Things that swap rather than recolour: the header logo turns white
     (the brand's version for dark backgrounds) and the map has a dark file. */
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .brand img {
      filter: brightness(0) invert(1);
    }

    :root:not([data-theme="light"]) .map--light {
      display: none;
    }

    :root:not([data-theme="light"]) .map--dark {
      display: block;
    }
  }

  :root[data-theme="dark"] .brand img {
    filter: brightness(0) invert(1);
  }

  :root[data-theme="dark"] .map--light {
    display: none;
  }

  :root[data-theme="dark"] .map--dark {
    display: block;
  }
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* No "Save image" menu when an image is pressed and held in Safari on iPhone
   and iPad. site.js does the same for right-clicks and other phones. */
img {
  height: auto;
  -webkit-touch-callout: none;
}

/* Corners are square throughout. Browsers may give buttons and form fields
   rounded corners of their own, so these are set to square here. */
button,
input,
select,
textarea {
  border-radius: 0;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
address {
  margin: 0;
}

address {
  font-style: normal;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  font-weight: 760;
}

h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem);
  font-weight: 720;
}

h3 {
  font-size: 1.1875rem;
  font-weight: 660;
  letter-spacing: -0.005em;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.site-footer :focus-visible {
  outline-color: var(--on-dark);
}

.callout :focus-visible {
  outline-color: var(--callout-text);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--button);
  color: var(--button-text);
  font-weight: 650;
}

.skip-link:focus {
  top: 1rem;
  color: var(--button-text);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

/* Layout */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--seam), transparent);
}

.section--wash {
  background: linear-gradient(180deg, var(--wash), var(--bg));
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head > p:not(.eyebrow) {
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: 1.125rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* A short bar before each section label. */
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 0 12px var(--bar-glow);
}

.lead {
  color: var(--text-soft);
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.media img {
  width: 100%;
  box-shadow: 0 0 0 1px var(--photo-edge), 0 30px 80px -40px var(--glow-photo);
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.375rem;
  border: 2px solid var(--button);
  background: var(--button);
  box-shadow: 0 12px 32px -12px var(--glow-button);
  color: var(--button-text);
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.button:hover {
  border-color: var(--button-hover);
  background: var(--button-hover);
  color: var(--button-text);
}

.button--ghost {
  border-color: var(--accent);
  background: transparent;
  box-shadow: none;
  color: var(--accent);
}

.button--ghost:hover {
  border-color: var(--accent-hover);
  background: var(--tint);
  color: var(--accent-hover);
}

.button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.brand {
  margin-right: auto;
}

.brand img {
  width: auto;
  height: clamp(2.75rem, 2rem + 1.5vw, 3.25rem);
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--text);
  font-weight: 560;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle .icon {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 62rem) {
  /* On wide screens the menu is always visible, in the header row. */
  .site-nav[popover],
  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 2rem;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    background: none;
    color: inherit;
  }

  .site-nav ul {
    display: flex;
    gap: 1.75rem;
  }
}

@media (max-width: 61.99rem) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav:popover-open {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: calc(100dvh - var(--header-h));
    margin: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    overflow: auto;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
  }

  .site-nav:popover-open::backdrop {
    background: var(--backdrop);
  }

  .site-nav li a {
    display: block;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.125rem;
  }
}

/* Browsers without the Popover API: show the menu as a wrapped row. */
@supports not selector(:popover-open) {
  .menu-toggle {
    display: none;
  }

  .header-inner {
    flex-wrap: wrap;
    padding-block: 0.75rem;
  }

  .site-nav,
  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem;
  }
}

/* Language menu */

.lang {
  position: relative;
}

.lang summary {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.625rem;
  font-weight: 620;
  list-style: none;
  cursor: pointer;
}

.lang summary::-webkit-details-marker {
  display: none;
}

.lang summary:hover {
  background: var(--wash);
}

.lang[open] summary {
  background: var(--tint);
}

.lang summary .icon {
  width: 1.125rem;
  height: 1.125rem;
}

.lang-list {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 60;
  min-width: 11rem;
  margin: 0;
  padding: 0.375rem;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.lang-list a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.lang-list a:hover {
  background: var(--wash);
}

.lang-list a[aria-current] {
  color: var(--accent);
  font-weight: 650;
}

/* Top bar: email, language and theme. It scrolls away; the header below stays. */

.topbar {
  position: relative;
  z-index: 55;
  border-bottom: 1px solid var(--line);
  background: var(--wash);
  font-size: 0.875rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 1rem;
  min-height: 2.75rem;
}

.topbar-email {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-right: auto;
  color: var(--text-soft);
  text-decoration: none;
}

.topbar-email:hover {
  color: var(--accent);
}

.topbar-email .icon {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 40rem) {
  .topbar-email {
    display: inline-flex;
  }
}

.topbar .lang summary {
  min-height: 2.25rem;
  padding-block: 0.25rem;
}

/* Theme switch: three radio buttons drawn as one segmented control.
   Hidden until theme.js has run and the browser supports light-dark(). */

.theme-switch {
  display: none;
  gap: 2px;
  margin: 0;
  padding: 2px;
  border: 1px solid var(--line);
  background: var(--surface);
}

@supports (color: light-dark(#000, #fff)) {
  .js .theme-switch {
    display: inline-flex;
  }
}

.theme-switch label {
  position: relative;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--text-soft);
  cursor: pointer;
}

.theme-switch input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.theme-switch label:hover {
  color: var(--text);
}

.theme-switch label:has(input:checked) {
  background: var(--tint);
  color: var(--accent);
}

.theme-switch label:has(input:focus-visible) {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
}

.theme-switch .icon {
  width: 1rem;
  height: 1rem;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(2.5rem, 6vw, 5rem) var(--section);
  background:
    radial-gradient(56rem 30rem at 88% 18%, var(--glow), transparent 70%),
    radial-gradient(40rem 24rem at 0% 100%, var(--glow-warm), transparent 70%);
}

/* Contour lines of the terrain around the company's yard, behind the hero
   text (backgrounds/README.md). One mask image draws the lines for both
   themes and --topo-ink colours them, so a theme switch downloads nothing.
   The yard's marker sits at 14% across and 88% down in the drawing, and the
   same point of the hero. isolation above keeps z-index -1 inside the hero:
   the lines lie over its glows and under its content. Browsers without masks
   skip the lines, and so does forced-colours mode (Windows high contrast). */
@supports (mask-image: none) or (-webkit-mask-image: none) {
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: var(--topo-ink);
    -webkit-mask: url("/assets/img/hero-topo.avif") 14% 88% / cover no-repeat;
    mask: url("/assets/img/hero-topo.avif") 14% 88% / cover no-repeat;
    pointer-events: none;
  }
}

@media (forced-colors: active) {
  .hero::before {
    display: none;
  }
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero .lead {
  max-width: 36rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.facts strong {
  display: block;
  color: var(--accent);
  font-size: 1.125rem;
  font-weight: 720;
  line-height: 1.3;
}

/* The caption sits close under its heading, with tight line spacing. */
.facts span {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-soft);
  font-size: 0.9375rem;
  line-height: 1.45;
}

@media (max-width: 35.99rem) {
  .facts {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  /* On phones each fact reads as one sentence. */
  .facts strong,
  .facts span {
    display: inline;
  }
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 62%;
  box-shadow: 0 0 0 1px var(--photo-edge), 0 40px 100px -30px var(--glow-photo);
}

@media (min-width: 62rem) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero-media img {
    aspect-ratio: 4 / 5;
  }
}

/* Services */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-top), var(--surface));
  box-shadow: inset 0 1px 0 var(--card-edge), 0 18px 40px -24px var(--card-shadow);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--card-hover);
  box-shadow: inset 0 1px 0 var(--card-edge), 0 24px 48px -28px var(--glow-card);
}

@media (prefers-reduced-motion: no-preference) {
  .card:hover {
    transform: translateY(-2px);
  }
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-soft);
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--badge-start), var(--badge-end));
  box-shadow: 0 10px 28px -10px var(--glow-button);
  color: var(--badge-icon);
}

.icon-badge .icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Cargo */

.check-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.check-list .icon {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.25rem;
  color: var(--accent);
}

.callout {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, var(--callout-start), var(--callout-end));
  box-shadow: 0 30px 60px -30px var(--glow-button);
  color: var(--callout-text);
}

.callout h3 {
  margin-bottom: 0.5rem;
}

.callout p {
  color: var(--callout-soft);
}

/* Fleet */

.loading-modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}

.loading-modes div {
  padding: 1rem 1.125rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
}

.loading-modes dt {
  font-weight: 660;
}

.loading-modes dd {
  color: var(--text-soft);
  font-size: 0.9375rem;
}

.photo-pair {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.photo-pair img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--photo-edge), 0 30px 80px -40px var(--glow-photo);
}

@media (min-width: 40rem) {
  .photo-pair {
    grid-template-columns: 1fr 1fr;
  }
}

/* Coverage */

.country-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.country-list li {
  padding: 0.375rem 0.875rem;
  box-shadow: inset 0 0 0 1px var(--chip-ring);
  color: var(--chip-text);
  font-size: 0.9375rem;
  font-weight: 620;
}

.map {
  width: 100%;
  height: auto;
}

/* Only one of the two map files shows; the theme rules at the top swap them. */
.map--dark {
  display: none;
}

/* How we work */

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 2rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.values li {
  padding-top: 1.25rem;
  border-top: 2px solid var(--accent);
}

.values h3 {
  margin-bottom: 0.375rem;
}

.values p {
  color: var(--text-soft);
}

/* About */

.about-text h2 {
  margin-bottom: 1.25rem;
}

.about-text p + p {
  margin-top: 1rem;
}

.credentials {
  display: grid;
  gap: 0.875rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.credentials li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.credentials .icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.125rem;
  color: var(--accent);
}

.credentials strong {
  display: block;
}

.credentials span {
  color: var(--text-soft);
  font-size: 0.9375rem;
}

.about-media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* FAQ */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icon {
  color: var(--accent);
  transition: transform 0.2s;
}

.faq details[open] summary .icon {
  transform: rotate(180deg);
}

.faq details > p {
  max-width: 42rem;
  padding-bottom: 1.25rem;
  color: var(--text-soft);
}

/* Contact */

.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 1rem;
}

.contact-list .icon-badge {
  margin: 0;
}

.contact-list h3 {
  margin-bottom: 0.125rem;
  color: var(--text-soft);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list a {
  overflow-wrap: anywhere;
}

.form {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-top), var(--surface));
  box-shadow: 0 40px 90px -50px var(--glow-button);
}

.form h3 {
  font-size: 1.375rem;
}

.form-intro {
  margin-top: 0.375rem;
  color: var(--text-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.125rem 1.25rem;
  margin-top: 1.5rem;
}

.field {
  display: grid;
  gap: 0.375rem;
  align-content: start;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 620;
}

.field .optional {
  color: var(--text-soft);
  font-weight: 400;
}

.field-hint {
  color: var(--text-soft);
  font-size: 0.875rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.875rem;
  border: 1px solid var(--field-border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

.field ::placeholder {
  color: var(--text-soft);
  opacity: 1;
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--accent);
  outline-offset: 1px;
}

.botcheck {
  display: none !important;
}

.form-note {
  margin-top: 1.25rem;
  color: var(--text-soft);
  font-size: 0.875rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-status {
  font-weight: 620;
}

.form-status[data-state="success"] {
  color: var(--success);
}

.form-status[data-state="error"] {
  color: var(--error);
}

@media (max-width: 40rem) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Two-column sections on wide screens */

@media (min-width: 62rem) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split--media-first > :last-child {
    order: -1;
  }

  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: start;
  }
}

/* Footer */

.site-footer {
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  background:
    radial-gradient(50rem 18rem at 50% 0%, var(--glow-footer), transparent 70%),
    var(--footer-bg);
  box-shadow: inset 0 1px 0 var(--footer-edge);
  color: rgb(255 255 255 / 0.8);
  font-size: 0.9375rem;
}

.site-footer a {
  color: var(--on-dark);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--on-dark);
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 2.5rem;
}

.footer-brand img {
  width: 11.5rem;
  margin-bottom: 1rem;
}

.site-footer h2 {
  margin-bottom: 1rem;
  color: var(--on-dark);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links .icon {
  display: inline-block;
  width: 0.875rem;
  height: 0.875rem;
  margin-left: 0.25rem;
  vertical-align: -0.1em;
}

/* Official logo, used unaltered (red "negativo" version for dark backgrounds). */
.complaints-book {
  display: inline-block;
  margin-top: 0.25rem;
}

.complaints-book img {
  width: 140px;
}

.footer-note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

/* Links inside running text need more than colour to stand out. */
.site-footer .footer-note a {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.15);
  font-size: 0.875rem;
}

.footer-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-langs a[aria-current] {
  text-decoration: underline;
}

/* Text pages (privacy policy, thank-you pages, 404) */

.page-head {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
}

.page-head .lead {
  max-width: 40rem;
  margin-top: 1rem;
}

.prose {
  max-width: 46rem;
  padding-bottom: var(--section);
}

.prose h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.5rem;
}

.prose p,
.prose ul {
  margin-bottom: 1rem;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.375rem;
}

.updated {
  margin-top: 0.75rem;
  color: var(--text-soft);
  font-size: 0.9375rem;
}

.notice {
  display: grid;
  place-content: center;
  gap: 1rem;
  min-height: 60vh;
  padding-block: 4rem;
  text-align: center;
}

.notice .actions {
  justify-content: center;
}

.notice-langs {
  display: grid;
  gap: 1.75rem;
  max-width: 40rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

/* Print */

@media print {
  .site-header,
  .site-footer,
  .actions,
  .form {
    display: none;
  }
}

/* Keeps short codes such as the postal code on one line. */
.nowrap {
  white-space: nowrap;
}
