/* Bakar Transport and Logistics Limited | main stylesheet */

/* Fonts (self hosted, SIL Open Font License) */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow700.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlowcondensed600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlowcondensed700.woff2") format("woff2");
}

/* Design tokens */
:root {
  --color-1: #009baf;
  --color-2: #84b90e;
  --color-3: #dff50f;
  --color-4: #e6f5f7;
  --color-5: #005c66;

  --white: #ffffff;
  --text: #133f44;
  --text-muted: #3f6b71;
  --heading: #005c66;
  --surface-alt: #f1f9fa;
  --line: #cfe7ea;
  --input-border: #557a7e;
  --error: #991b1b;
  --error-bg: #fef2f2;

  --font-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 6px rgba(0, 92, 102, 0.06), 0 8px 24px rgba(0, 92, 102, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 92, 102, 0.12);
  --shadow-lg: 0 30px 60px rgba(0, 40, 45, 0.35);

  --container: 1200px;
  --gutter: 16px;
  --header-h: 60px;
  --logo-h: 46px;
  --section-space: 16px;
  --hero-gradient: linear-gradient(135deg, #005c66 0%, #005c66 50%, #008696 125%);

  color-scheme: light;
}

@media (min-width: 600px) {
  :root {
    --gutter: 24px;
    --header-h: 64px;
    --logo-h: 50px;
    --section-space: 18px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 32px;
    --header-h: 70px;
    --logo-h: 56px;
    --section-space: 20px;
  }
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.1;
  margin: 0 0 0.3em;
  font-weight: 700;
  letter-spacing: 0.005em;
}

h1 {
  font-size: clamp(2.5rem, 1.7rem + 3.6vw, 4.25rem);
}

h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem);
}

h3 {
  font-size: clamp(1.45rem, 1.3rem + 0.6vw, 1.75rem);
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
}

a {
  color: var(--color-5);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

/* The long email address may break onto a new line on small screens */
a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

strong {
  font-weight: 600;
  color: var(--color-5);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid var(--color-1);
  outline-offset: 3px;
}

.on-dark :focus-visible {
  outline-color: var(--white);
}

[hidden] {
  display: none !important;
}

main:focus {
  outline: none;
}

.no-js [data-load-map],
.no-js [data-cookie-settings] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--color-5);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn .icon {
  width: 20px;
  height: 20px;
}

.btn--primary {
  background: var(--color-5);
  border-color: var(--color-5);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--white);
  color: var(--color-5);
}

.btn--light {
  background: var(--white);
  border-color: var(--white);
  color: var(--color-5);
}

.btn--light:hover {
  background: var(--color-4);
  border-color: var(--color-4);
  color: var(--color-5);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--white);
}

.btn--ghost:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--color-5);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-5);
  color: var(--color-5);
}

.btn--outline:hover {
  background: var(--color-5);
  color: var(--white);
}

.btn--block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--color-5);
  text-decoration: none;
}

.text-link .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.text-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.text-link:hover .icon {
  transform: translateX(3px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 92, 102, 0.08);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 92, 102, 0.12);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

/* Logo (BTLL logo image) */
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  border-radius: 8px;
}

.brand__logo {
  width: auto;
  height: var(--logo-h);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 48px;
  min-height: 48px;
  padding: 0 14px;
  border: 2px solid var(--color-5);
  border-radius: 999px;
  background: var(--white);
  color: var(--color-5);
  font-weight: 600;
}

.nav-toggle:hover {
  background: var(--color-4);
}

.nav-toggle__label {
  display: none;
}

@media (min-width: 420px) {
  .nav-toggle__label {
    display: inline;
  }
}

/* Mobile and tablet navigation drawer */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  width: min(88vw, 380px);
  padding: 20px 24px 32px;
  background: var(--white);
  box-shadow: -20px 0 50px rgba(0, 40, 45, 0.25);
  overflow-y: auto;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
}

.nav.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.3s ease, visibility 0s linear 0s;
}

.nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.nav__title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-5);
}

.nav__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--color-5);
  border-radius: 50%;
  background: var(--white);
  color: var(--color-5);
}

.nav__close:hover {
  background: var(--color-4);
}

.nav__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--color-5);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}

.nav__link:hover {
  text-decoration: underline;
}

.nav__link[aria-current="page"] {
  padding-left: 18px;
}

.nav__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--color-1);
  transform: translateY(-50%) rotate(45deg);
}

.nav__item--cta {
  margin-top: 20px;
}

.nav__item--cta .nav__link {
  justify-content: center;
  border: 2px solid var(--color-5);
  border-radius: 999px;
  background: var(--color-5);
  color: var(--white);
}

.nav__item--cta .nav__link:hover {
  background: var(--white);
  color: var(--color-5);
  text-decoration: none;
}

.nav__item--cta .nav__link[aria-current="page"] {
  padding-left: 4px;
}

.nav__item--cta .nav__link[aria-current="page"]::before {
  display: none;
}

.nav__extra {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}

.nav__extra p {
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-5);
}

.nav__extra ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__extra a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--color-5);
  text-decoration: none;
  font-weight: 500;
}

.nav__extra a:hover {
  text-decoration: underline;
}

.nav__extra .icon {
  width: 20px;
  height: 20px;
  color: var(--color-1);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0, 40, 45, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

/* Desktop navigation */
@media (min-width: 1140px) {
  .nav-toggle,
  .nav__top,
  .nav__extra,
  .nav-backdrop {
    display: none;
  }

  .nav {
    position: static;
    z-index: auto;
    flex-direction: row;
    width: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    transform: none;
    visibility: visible;
    transition: none;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: 2px;
  }

  .nav__link {
    min-height: 44px;
    padding: 8px 13px;
    border-bottom: 0;
    border-radius: 8px;
    font-size: 1.0625rem;
  }

  .nav__link::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 4px;
    height: 3px;
    border-radius: 3px;
    background: var(--color-1);
    transform: scaleX(0);
    transition: transform 0.2s ease;
  }

  .nav__link:hover {
    text-decoration: none;
  }

  .nav__link:hover::after,
  .nav__link[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .nav__link[aria-current="page"] {
    padding-left: 13px;
  }

  .nav__link[aria-current="page"]::before {
    display: none;
  }

  .nav__item--cta {
    margin: 0 0 0 10px;
  }

  .nav__item--cta .nav__link {
    padding: 8px 22px;
  }

  .nav__item--cta .nav__link::after {
    display: none;
  }
}

/* Hero (home): full screen photo slideshow with dark text on the light photo background */
/* Hero: text on the left, photo bleeding in from the right and fading softly into it */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  color: var(--text);
  padding: 28px 0 36px;
}

.hero__inner {
  position: relative;
  z-index: 2;
  order: 1;
}

.hero__content {
  position: relative;
  max-width: 560px;
}

.hero h1 {
  margin-bottom: 14px;
  color: var(--heading);
  font-family: var(--font-body);
  font-size: clamp(2rem, 1.25rem + 2.4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.hero__accent {
  color: var(--color-1);
}

.hero__lead {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: 1.125rem;
  color: var(--text);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.hero__img.is-active {
  opacity: 1;
}

/* Phones and small tablets: photo below the text, fading in from the top */
@media (max-width: 859px) {
  .hero__content {
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__media {
    position: relative;
    order: 2;
    width: 100%;
    max-width: 600px;
    margin: -28px auto 0;
    aspect-ratio: 4 / 3;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 26%);
  }
}

/* Larger screens: photo fills the right side and dissolves into the text on its left */
@media (min-width: 860px) {
  .hero {
    display: block;
    padding: 0;
    min-height: min(calc(100vh - var(--header-h) - 32px), 560px);
  }

  .hero__inner {
    display: flex;
    align-items: center;
    min-height: inherit;
  }

  .hero__content {
    max-width: 500px;
    padding: 48px 0;
  }

  .hero__lead {
    font-size: 1.1875rem;
  }

  .hero__media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 62%;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.6) 26%, #000 46%);
    mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.6) 26%, #000 46%);
  }
}

.page-banner::before {
  content: "";
  position: absolute;
  z-index: -1;
  border: 2px solid rgba(0, 155, 175, 0.22);
  border-radius: 28%;
  transform: rotate(45deg);
  pointer-events: none;
}

/* Page banner (inner pages) */
.page-banner {
  position: relative;
  overflow: hidden;
  background: var(--hero-gradient);
  color: var(--color-4);
  padding: 18px 0 20px;
  isolation: isolate;
}

.page-banner::before {
  width: 560px;
  height: 560px;
  right: -260px;
  top: -320px;
  border-color: rgba(230, 245, 247, 0.14);
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 6px;
}

.page-banner__lead {
  max-width: 560px;
  margin: 0;
  font-size: 1.125rem;
  color: var(--color-4);
}

.page-banner--plain {
  padding: 18px 0 20px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--color-4);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb li + li::before {
  content: "\203A";
  color: var(--color-3);
  font-weight: 600;
}

.breadcrumb a {
  color: var(--color-4);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb [aria-current="page"] {
  color: var(--white);
  font-weight: 600;
}

@media (min-width: 1024px) {
  .page-banner,
  .page-banner--plain {
    padding: 22px 0 24px;
  }
}

/* Sections */
.section {
  position: relative;
  padding-block: var(--section-space);
}

.section--alt {
  background: var(--surface-alt);
}

.section--tint {
  background: var(--color-4);
}

.section--tight-top {
  padding-top: calc(var(--section-space) * 0.5);
}

.section__head {
  max-width: 780px;
  margin: 0 auto 16px;
  text-align: center;
}

.section__head--left {
  margin-left: 0;
  text-align: left;
}

.section__lead {
  margin: 0;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 6px;
  color: var(--color-5);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.accent {
  color: var(--color-1);
}

.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.icon-bubble {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-4);
  color: var(--color-1);
  flex: none;
}

.icon-bubble .icon {
  width: 28px;
  height: 28px;
}

.icon-bubble--dark {
  background: var(--color-5);
  color: var(--white);
}

.checklist {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 34px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-4) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005c66' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Flexible card rows that keep a centred last row */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cards > * {
  flex: 1 1 100%;
}

@media (min-width: 600px) {
  .cards > * {
    flex-basis: calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}

@media (min-width: 1024px) {
  .cards--3 > * {
    flex-basis: calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
  }

  .cards--4 > * {
    flex-basis: calc(25% - 18px);
    max-width: calc(25% - 18px);
  }

  .cards--5 > * {
    flex-basis: calc(20% - 19.2px);
    max-width: calc(20% - 19.2px);
  }
}

/* About */
.about-intro {
  display: grid;
  gap: 20px;
  align-items: center;
}

.about-intro__media {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
}

.about-intro__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-intro__text h2 {
  margin-bottom: 10px;
}

.about-facts {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.about-facts li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-facts .icon-bubble {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.about-facts .icon-bubble .icon {
  width: 22px;
  height: 22px;
}

.about-facts div > span {
  display: block;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.about-facts b {
  display: block;
  color: var(--color-5);
  font-weight: 600;
}

@media (min-width: 1024px) {
  .about-intro {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

.mv-grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.mv-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: 18px;
}

.mv-card .icon-bubble {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.mv-card .icon-bubble .icon {
  width: 22px;
  height: 22px;
}

.mv-card h3 {
  margin-bottom: 6px;
  font-size: 1.3rem;
}

.mv-card p {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.6;
}

.mv-card--mission {
  background: var(--color-5);
  color: var(--color-4);
}

.mv-card--mission h3 {
  color: var(--white);
}

.mv-card--mission .icon-bubble,
.safety .icon-bubble {
  background: rgba(230, 245, 247, 0.14);
  color: var(--color-3);
}

.mv-card--vision {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .mv-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 599px) {
  .mv-card {
    gap: 12px;
    padding: 16px 16px 18px;
  }

  .mv-card h3 {
    font-size: 1.2rem;
  }

  .mv-card p {
    font-size: 0.9375rem;
  }
}

@media (min-width: 360px) and (max-width: 599px) {
  .cards--5 > * {
    flex-basis: calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}

.values {
  margin-top: 20px;
}

.values__title {
  margin-bottom: 12px;
  text-align: center;
}

.approach-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.approach-grid .card h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.office-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.office-list li {
  padding: 14px 16px;
  border-left: 4px solid var(--color-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface-alt);
}

.office-list b {
  display: block;
  color: var(--color-5);
  font-weight: 600;
}

@media (min-width: 900px) {
  .approach-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Services */
.services {
  display: grid;
  gap: 24px;
}

.service {
  display: grid;
  gap: 18px;
  align-items: center;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.service__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.service__media--white img {
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
}

.service__body h3 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
}

.service__body > p {
  color: var(--text);
}

.service__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 768px) {
  .service {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .service:nth-child(even) .service__media {
    order: 2;
  }
}

@media (min-width: 1024px) {
  .service {
    gap: 40px;
  }
}

/* Coverage map */
.coverage {
  display: grid;
  gap: 20px;
  align-items: center;
}

.coverage__map {
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}

.coverage__map svg {
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--font-body);
}

.map-country {
  fill: var(--color-4);
  stroke: var(--color-1);
  stroke-width: 2;
  stroke-linejoin: round;
}

.map-route {
  fill: none;
  stroke: var(--color-1);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 0.1 7;
}

.map-dot {
  fill: var(--color-5);
  stroke: var(--white);
  stroke-width: 2.5;
}

.map-dot--office {
  fill: var(--color-1);
}

.map-label {
  fill: var(--color-5);
  font-size: 13px;
  font-weight: 600;
}

.map-sub {
  fill: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
}

.coverage__list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.coverage__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.coverage__list b {
  display: block;
  color: var(--color-5);
  font-weight: 600;
}

.coverage__list div > span {
  display: block;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.coverage__list .icon-bubble {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.coverage__list .icon-bubble .icon {
  width: 22px;
  height: 22px;
}

@media (min-width: 900px) {
  .coverage {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
  }
}

/* Compact sizing: welcome, mission and vision */
.about-intro__media {
  max-width: 460px;
}

.about-intro__media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
}

.about-intro__text h2 {
  margin-bottom: 8px;
}

.about-intro__text p {
  margin-bottom: 0.6em;
  font-size: 0.975rem;
  line-height: 1.6;
}

.about-facts {
  gap: 8px;
  margin-top: 10px;
}

.about-facts li {
  gap: 10px;
}

.about-facts .icon-bubble {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.about-facts .icon-bubble .icon {
  width: 18px;
  height: 18px;
}

.about-facts b {
  font-size: 0.9375rem;
}

.about-facts div > span {
  font-size: 0.875rem;
}

@media (min-width: 600px) {
  .about-facts {
    grid-template-columns: 1fr 1fr;
  }

  .about-facts li:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .about-intro {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 32px;
  }
}

.mv-grid {
  gap: 12px;
  margin-top: 14px;
}

.mv-card {
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
}

.mv-card .icon-bubble {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.mv-card .icon-bubble .icon {
  width: 18px;
  height: 18px;
}

.mv-card h3 {
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.mv-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
}

@media (max-width: 599px) {
  .mv-card {
    padding: 14px;
  }

  .mv-card h3 {
    font-size: 1.1rem;
  }

  .mv-card p {
    font-size: 0.875rem;
  }
}

/* Compact sizing: services */
.services {
  gap: 18px;
}

.service {
  gap: 14px;
}

.service__media {
  width: 100%;
  max-width: 420px;
  justify-self: center;
}

.service__media img {
  aspect-ratio: 16 / 10;
  border-radius: 16px;
}

.service__body h3 {
  margin-bottom: 6px;
  font-size: clamp(1.4rem, 1.25rem + 0.6vw, 1.75rem);
}

.service__body > p {
  margin-bottom: 0.6em;
  font-size: 0.975rem;
  line-height: 1.6;
}

.service .checklist {
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.9375rem;
}

.service .checklist li {
  padding-left: 30px;
}

.service .checklist li::before {
  width: 20px;
  height: 20px;
  background-size: 12px;
}

@media (min-width: 768px) {
  .service {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .service:nth-child(even) {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (min-width: 1024px) {
  .service {
    gap: 32px;
  }
}

/* Compact sizing: where we operate */
.coverage__map {
  max-width: 240px;
}

.coverage__text p {
  margin-bottom: 0.6em;
  font-size: 0.975rem;
  line-height: 1.6;
}

.coverage__list {
  gap: 8px;
  margin-top: 10px;
}

.coverage__list li {
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
}

.coverage__list .icon-bubble {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.coverage__list .icon-bubble .icon {
  width: 18px;
  height: 18px;
}

.coverage__list b {
  font-size: 0.9375rem;
}

.coverage__list div > span {
  font-size: 0.85rem;
}

@media (min-width: 600px) {
  .coverage__map {
    max-width: 300px;
  }

  .coverage__list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .coverage {
    grid-template-columns: 0.6fr 1.4fr;
    gap: 32px;
  }
}

/* Compact sizing: phones */
@media (max-width: 599px) {
  .about-intro__media img {
    aspect-ratio: 16 / 9;
  }

  .about-intro__text p,
  .service__body > p,
  .coverage__text p {
    font-size: 0.9375rem;
    line-height: 1.55;
  }

  .service .checklist {
    font-size: 0.875rem;
  }

  .about-facts {
    grid-template-columns: 1fr 1fr;
  }

  .about-facts li:last-child {
    grid-column: 1 / -1;
  }

  .coverage__map {
    max-width: 190px;
  }

  /* Larger place names so they stay readable on the small map */
  .map-label {
    font-size: 17px;
  }

  .map-sub {
    font-size: 14px;
  }
}

@media (min-width: 360px) and (max-width: 599px) {
  .coverage__list {
    grid-template-columns: 1fr 1fr;
  }

  .coverage__list li {
    align-items: flex-start;
    padding: 9px 10px;
  }

  .coverage__list .icon-bubble {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .coverage__list .icon-bubble .icon {
    width: 16px;
    height: 16px;
  }

  .coverage__list b {
    font-size: 0.875rem;
    line-height: 1.3;
  }

  .coverage__list div > span {
    font-size: 0.8125rem;
    line-height: 1.35;
  }
}

/* Fleet */
.fleet-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.fleet-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.fleet-card__body {
  flex: 1;
  padding: 24px 26px 28px;
}

.fleet-card__body h3 {
  margin-bottom: 10px;
}

.fleet-card__body p {
  margin: 0;
}

.fleet-extra {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.fleet-extra .card h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.fleet-extra .card p {
  margin: 0;
}

.safety {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--color-5);
  color: var(--color-4);
}

.safety h3 {
  margin: 0;
  color: var(--white);
}

.safety p {
  margin: 0;
}

@media (min-width: 900px) {
  .fleet-extra {
    grid-template-columns: 1fr 1fr 1.2fr;
  }
}

/* Why choose us */
.why-card {
  height: 100%;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.why-card h3 {
  margin: 18px 0 10px;
  font-size: 1.5rem;
}

.why-card p {
  margin: 0;
  color: var(--text-muted);
}

/* Team */
.leader {
  display: grid;
  max-width: 920px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.leader__photo img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center 20%;
}

.leader__body {
  padding: 20px 18px 22px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.leader__body p {
  margin: 0 0 0.8em;
}

.leader__role,
.member__role {
  margin: 0 0 14px;
  color: var(--color-5);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.leader__body .leader__role {
  margin-bottom: 10px;
  font-size: 0.8125rem;
}

.leader__body h3 {
  margin-bottom: 4px;
  font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.6rem);
}

.quote {
  position: relative;
  margin: 14px 0 0;
  padding: 14px 16px 14px 46px;
  border-radius: 12px;
  background: var(--color-4);
}

.quote::before {
  content: "\201C";
  position: absolute;
  left: 12px;
  top: 2px;
  color: var(--color-1);
  font-family: var(--font-head);
  font-size: 3.25rem;
  line-height: 1;
}

.quote blockquote {
  margin: 0;
}

.quote p {
  margin: 0 0 6px;
  color: var(--color-5);
  font-size: 0.975rem;
  font-weight: 500;
  line-height: 1.55;
}

.quote figcaption {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

@media (max-width: 599px) {
  .quote {
    padding: 38px 14px 14px;
  }

  .quote::before {
    top: 0;
  }
}

@media (min-width: 900px) {
  .leader {
    grid-template-columns: 280px 1fr;
  }

  .leader__photo img {
    max-height: none;
  }

  .leader__body {
    padding: 26px 30px;
  }
}

.team-grid {
  margin-top: 16px;
}

.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 30px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.member img {
  width: 148px;
  height: 148px;
  margin-bottom: 18px;
  border: 5px solid var(--color-4);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
}

.member h3 {
  margin-bottom: 6px;
  font-size: 1.5rem;
}

.member p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}


/* Team card hover */
.leader,
.js .leader.reveal {
  transition: opacity 0.6s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.member {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.leader__photo {
  overflow: hidden;
}

.leader__photo img {
  transition: transform 0.4s ease;
}

.member img {
  transition: border-color 0.25s ease;
}

.leader:hover,
.js .leader.reveal:hover,
.member:hover {
  border-color: var(--color-1);
  box-shadow: var(--shadow-md);
}

.leader:hover .leader__photo img {
  transform: scale(1.04);
}

.member:hover img {
  border-color: var(--color-1);
}

@media (prefers-reduced-motion: no-preference) {
  .leader:hover,
  .js .leader.reveal:hover,
  .member:hover {
    transform: translateY(-4px);
  }
}

/* Inner pages: first content sits close under the navbar */
.page-start + .section {
  padding-top: 8px;
}

.page-start + .section .about-intro {
  align-items: start;
}

@media (min-width: 1024px) {
  .page-start + .section {
    padding-top: 10px;
  }
}

/* Compact sizing: fleet */
#fleet .cards {
  gap: 14px;
}

.fleet-card {
  border-radius: 16px;
}

.fleet-card img {
  aspect-ratio: 16 / 10;
}

.fleet-card img[src*="fleet/coach"] {
  object-fit: contain;
}

.fleet-card__body {
  padding: 14px 16px 16px;
}

.fleet-card__body h3 {
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.fleet-card__body p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.fleet-extra {
  gap: 12px;
  max-width: 940px;
  margin: 14px auto 0;
}

.fleet-extra .card {
  padding: 16px 18px;
  border-radius: 14px;
}

.fleet-extra .card h3 {
  gap: 10px;
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.fleet-extra .card p,
.safety p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.fleet-extra .icon-bubble,
.safety .icon-bubble {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.fleet-extra .icon-bubble .icon,
.safety .icon-bubble .icon {
  width: 18px;
  height: 18px;
}

.safety {
  gap: 8px;
  padding: 16px 18px;
  border-radius: 14px;
}

.safety h3 {
  font-size: 1.2rem;
}

@media (min-width: 600px) {
  #fleet .cards > * {
    flex-basis: calc(50% - 7px);
    max-width: 300px;
  }
}

@media (min-width: 1024px) {
  #fleet .cards > * {
    flex-basis: calc(33.333% - 10px);
  }
}

/* Fleet cards: the photo opens a larger view */
.fleet-card {
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.fleet-card:hover {
  border-color: var(--color-1);
  box-shadow: var(--shadow-md);
}

.fleet-card__photo {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--white);
}

.fleet-card__photo img {
  display: block;
  transition: transform 0.4s ease;
}

.fleet-card__photo:hover img {
  transform: scale(1.04);
}

.fleet-card__photo:focus-visible {
  outline-offset: -3px;
}

.fleet-card__zoom {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 92, 102, 0.85);
  color: var(--white);
}

.fleet-card__zoom .icon {
  width: 16px;
  height: 16px;
}

/* Compact sizing: why choose us */
#why .cards {
  gap: 12px;
}

.why-card {
  padding: 16px;
  border-radius: 14px;
}

.why-card h3 {
  margin: 10px 0 4px;
  font-size: 1.15rem;
}

.why-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (min-width: 600px) {
  #why .cards > * {
    flex-basis: calc(50% - 6px);
    max-width: 250px;
  }
}

@media (min-width: 1024px) {
  #why .cards > * {
    flex-basis: calc(25% - 9px);
  }
}

/* Compact sizing: team */
.leader {
  max-width: 820px;
  border-radius: 16px;
}

.leader__body {
  padding: 16px 16px 18px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.leader__body p {
  margin-bottom: 0.6em;
}

.leader__body h3 {
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
}

.leader__body .leader__role {
  margin-bottom: 8px;
  font-size: 0.75rem;
}

.quote {
  margin-top: 10px;
  padding: 10px 12px 10px 38px;
  border-radius: 10px;
}

.quote::before {
  left: 10px;
  font-size: 2.5rem;
}

.quote p {
  margin-bottom: 4px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.quote figcaption {
  font-size: 0.75rem;
}

.team-grid {
  margin-top: 14px;
}

#team .cards {
  gap: 12px;
}

.member {
  padding: 16px 14px;
  border-radius: 14px;
}

.member img {
  width: 96px;
  height: 96px;
  margin-bottom: 10px;
  border-width: 4px;
}

.member h3 {
  margin-bottom: 2px;
  font-size: 1.15rem;
}

.member .member__role {
  margin-bottom: 8px;
  font-size: 0.75rem;
}

.member p:last-child {
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (min-width: 600px) {
  #team .cards > * {
    flex-basis: calc(50% - 6px);
    max-width: 250px;
  }
}

@media (min-width: 900px) {
  .leader {
    grid-template-columns: 220px 1fr;
  }

  .leader__body {
    padding: 18px 22px;
  }
}

@media (min-width: 1024px) {
  #team .cards > * {
    flex-basis: calc(25% - 9px);
  }
}

/* Phones: fleet cards as rows, two why cards per row, team members as rows */
@media (max-width: 599px) {
  .fleet-card {
    flex-direction: row;
  }

  .fleet-card__photo {
    width: 38%;
    flex: none;
    border-right: 1px solid var(--line);
  }

  .fleet-card__photo img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-bottom: 0;
  }

  .fleet-card__zoom {
    right: 6px;
    bottom: 6px;
    width: 24px;
    height: 24px;
  }

  .fleet-card__zoom .icon {
    width: 13px;
    height: 13px;
  }

  .fleet-card__body {
    padding: 10px 12px;
  }

  .fleet-card__body h3 {
    font-size: 1.05rem;
  }

  .fleet-card__body p,
  .fleet-extra .card p,
  .safety p,
  .why-card p {
    font-size: 0.85rem;
  }

  .fleet-extra .card,
  .safety {
    padding: 12px 14px;
  }

  .leader__photo img {
    max-height: 200px;
  }

  .leader__body {
    padding: 12px 14px 14px;
    font-size: 0.875rem;
  }

  .quote {
    padding: 30px 12px 10px;
  }

  .member {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 12px;
    align-items: start;
    padding: 12px;
    text-align: left;
  }

  .member img {
    grid-row: 1 / span 3;
    width: 64px;
    height: 64px;
    margin: 0;
    border-width: 3px;
  }

  .member h3,
  .member p {
    grid-column: 2;
  }

  .member h3 {
    font-size: 1.05rem;
  }

  .member .member__role {
    margin-bottom: 4px;
  }

  .member p:last-child {
    font-size: 0.85rem;
  }
}

@media (min-width: 360px) and (max-width: 599px) {
  #why .cards > * {
    flex-basis: calc(50% - 6px);
    max-width: calc(50% - 6px);
  }

  .why-card {
    padding: 12px;
  }

  .why-card h3 {
    font-size: 1.02rem;
  }
}

/* Why choose us: simple cards with a teal top line, no icons */
.why-card {
  height: 100%;
  padding: 16px 16px 18px;
  border: 0;
  border-top: 3px solid var(--color-1);
  border-radius: 0 0 12px 12px;
  background: var(--surface-alt);
  box-shadow: none;
  transition: background-color 0.2s ease;
}

.why-card:hover {
  background: var(--color-4);
}

.why-card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.why-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 599px) {
  .why-card {
    padding: 12px 12px 14px;
  }

  .why-card h3 {
    font-size: 1.02rem;
  }

  .why-card p {
    font-size: 0.85rem;
  }
}

/* Team page: CEO card with a fixed size portrait, left aligned cards, matching widths */
.leader {
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-areas:
    "photo head"
    "body body";
  column-gap: 14px;
  row-gap: 12px;
  align-items: center;
  max-width: 1040px;
  padding: 16px;
}

.leader__photo {
  grid-area: photo;
  width: 96px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--color-4);
}

.leader__photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 20%;
}

.leader__head {
  grid-area: head;
}

.leader__head h3 {
  margin: 0 0 4px;
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
}

.leader__head .leader__role {
  margin: 0;
  font-size: 0.75rem;
}

.leader__body {
  grid-area: body;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.leader__body p {
  margin: 0 0 0.6em;
}

.leader__body .quote {
  margin-top: 10px;
}

@media (min-width: 768px) {
  .leader {
    grid-template-columns: 170px minmax(0, 1fr);
    grid-template-areas:
      "photo head"
      "photo body";
    grid-template-rows: auto 1fr;
    column-gap: 22px;
    row-gap: 10px;
    align-items: start;
    padding: 20px 22px;
  }

  .leader__photo {
    width: 170px;
  }
}

@media (min-width: 1024px) {
  .leader {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .leader__photo {
    width: 190px;
  }
}

.team-grid {
  max-width: 1040px;
  margin-inline: auto;
}

@media (min-width: 600px) {
  #team .cards > * {
    max-width: none;
  }

  .member {
    align-items: flex-start;
    text-align: left;
  }
}

/* About: core values as one panel with thin dividers, no icons */
.values {
  margin-top: 18px;
}

.values__title {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.values__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--line);
  border-top: 3px solid var(--color-1);
  border-radius: 0 0 12px 12px;
  background: var(--line);
}

.values__list li {
  display: flex;
  flex: 1 1 140px;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--heading);
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

@media (max-width: 599px) {
  .values__list li {
    flex-basis: 100%;
    justify-content: flex-start;
    min-height: 0;
    padding: 10px 14px;
    font-size: 1rem;
    text-align: left;
  }
}

/* About: smaller approach and offices cards, no icons */
.approach-grid {
  gap: 12px;
  max-width: 1040px;
  margin: 18px auto 0;
}

.approach-grid .card {
  padding: 16px 18px;
  border-radius: 14px;
}

.approach-grid .card h3 {
  display: block;
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.approach-grid .card p {
  margin: 0 0 0.6em;
  font-size: 0.9rem;
  line-height: 1.55;
}

.approach-grid .card p:last-child {
  margin-bottom: 0;
}

.office-list {
  gap: 0;
}

.office-list li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  padding: 7px 0;
  border-left: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  font-size: 0.9rem;
  line-height: 1.45;
}

.office-list li:first-child {
  padding-top: 0;
}

.office-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.office-list b {
  display: inline;
  font-size: 0.875rem;
}

@media (max-width: 359px) {
  .office-list li {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* About: core values a little larger, raised panel with accent lines */
.values {
  margin-top: 22px;
}

.values__title {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.values__list {
  border-top-width: 4px;
  border-radius: 0 0 14px 14px;
  box-shadow: var(--shadow-md);
}

.values__list li {
  min-height: 84px;
  padding: 18px 16px;
  background: var(--surface-alt);
  font-size: 1.15rem;
}

@media (max-width: 599px) {
  .values__list li {
    min-height: 0;
    padding: 13px 16px;
    font-size: 1.05rem;
  }
}

/* About: approach and offices as raised cards with a header strip */
.approach-grid {
  gap: 16px;
  margin-top: 22px;
}

.approach-grid .card {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 4px solid var(--color-1);
  border-radius: 0 0 14px 14px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.approach-grid .card h3 {
  margin: 0;
  padding: 12px 20px;
  background: var(--color-4);
  border-bottom: 1px solid var(--line);
  font-size: 1.3rem;
}

.approach-grid .card > p,
.approach-grid .card > ul {
  margin-left: 20px;
  margin-right: 20px;
}

.approach-grid .card > p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.approach-grid .card > p:first-of-type,
.approach-grid .card > ul {
  margin-top: 14px;
}

.approach-grid .card > p:last-child,
.approach-grid .card > ul:last-child {
  margin-bottom: 18px;
}

.office-list li {
  grid-template-columns: 124px minmax(0, 1fr);
  padding: 9px 0;
  font-size: 0.95rem;
}

.office-list b {
  font-size: 0.9rem;
}

@media (max-width: 599px) {
  .approach-grid .card h3 {
    padding: 11px 16px;
    font-size: 1.2rem;
  }

  .approach-grid .card > p,
  .approach-grid .card > ul {
    margin-left: 16px;
    margin-right: 16px;
  }

  .office-list li {
    grid-template-columns: 110px minmax(0, 1fr);
  }
}

@media (max-width: 359px) {
  .office-list li {
    grid-template-columns: 1fr;
  }
}

/* About: approach and offices cards with a dark header, lime header on hover */
.approach-grid .card,
.js .approach-grid .card.reveal {
  border-top: 1px solid var(--line);
  border-radius: 14px;
  transition: opacity 0.6s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.approach-grid .card h3 {
  background: var(--color-5);
  border-bottom: 0;
  color: var(--white);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.approach-grid .card:hover,
.approach-grid .card:focus-within {
  border-color: var(--color-1);
  box-shadow: 0 18px 40px rgba(0, 92, 102, 0.22);
}

.approach-grid .card:hover h3,
.approach-grid .card:focus-within h3 {
  background: var(--color-3);
  color: var(--color-5);
}

@media (prefers-reduced-motion: no-preference) {
  .approach-grid .card:hover,
  .js .approach-grid .card.reveal:hover {
    transform: translateY(-4px);
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 16px 72px;
  background: rgba(0, 32, 36, 0.94);
}

.lightbox__figure {
  margin: 0;
  max-width: min(1100px, 100%);
  text-align: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 190px);
  margin: 0 auto;
  border-radius: var(--radius-sm);
  background: var(--white);
}

.lightbox__caption {
  margin-top: 14px;
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 500;
}

.lightbox__count {
  display: block;
  margin-top: 4px;
  color: var(--color-4);
  font-size: 0.9375rem;
}

.lightbox__btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(0, 92, 102, 0.85);
  color: var(--white);
}

.lightbox__btn:hover {
  background: var(--white);
  color: var(--color-5);
}

.lightbox__btn:focus-visible {
  outline-color: var(--white);
}

.lightbox__close {
  top: 12px;
  right: 12px;
}

.lightbox__prev,
.lightbox__next {
  bottom: 12px;
}

.lightbox__prev {
  left: calc(50% - 64px);
}

.lightbox__next {
  right: calc(50% - 64px);
}

@media (min-width: 900px) {
  .lightbox {
    padding: 64px 96px;
  }

  .lightbox__prev,
  .lightbox__next {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .lightbox__prev {
    left: 24px;
  }

  .lightbox__next {
    right: 24px;
  }

  .lightbox__close {
    top: 20px;
    right: 24px;
  }
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 20px;
}

.contact-info h3,
.contact-form h3 {
  margin-bottom: 10px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 14px 0 16px;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-list h4 {
  margin: 2px 0 4px;
  font-size: 1.1875rem;
}

.contact-list p {
  margin: 0;
}

.contact-list a {
  font-weight: 600;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-form {
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

@media (min-width: 600px) {
  .contact-form {
    padding: 36px 34px;
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 32px;
    align-items: start;
  }
}

/* Forms */
.form__note {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.form__row {
  display: grid;
  gap: 0 20px;
}

@media (min-width: 640px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--color-5);
  font-weight: 600;
}

.field .req,
.form__note .req {
  color: var(--error);
}

.field__optional {
  color: var(--text-muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005c66' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-1);
  box-shadow: 0 0 0 3px rgba(0, 155, 175, 0.35);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--color-1);
  outline-offset: 1px;
}

.field [aria-invalid="true"] {
  border-color: var(--error);
}

.field__error {
  display: block;
  margin-top: 6px;
  color: var(--error);
  font-size: 0.9375rem;
  font-weight: 500;
}

.field__error:empty {
  display: none;
}

.field--check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.field--check input {
  flex: none;
  width: 22px;
  height: 22px;
  min-height: 0;
  margin: 3px 0 0;
  padding: 0;
  accent-color: var(--color-5);
}

.field--check label {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-weight: 400;
  font-size: 0.9875rem;
}

.field--check .field__error {
  flex-basis: 100%;
}

.field--check {
  flex-wrap: wrap;
}

.form__hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form__status {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.form__status:empty {
  display: none;
}

.form__status.is-success {
  border: 1px solid var(--color-1);
  background: var(--color-4);
  color: var(--color-5);
}

.form__status.is-error {
  border: 1px solid #fca5a5;
  background: var(--error-bg);
  color: var(--error);
}

.form__noscript {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--error-bg);
  color: var(--error);
}

/* Maps */
.maps {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.map-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 18px 22px;
}

.map-card__head h3 {
  margin: 0;
  font-size: 1.375rem;
}

.map-card__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.map-embed {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--color-4);
}

@supports not (aspect-ratio: 1 / 1) {
  .map-embed {
    height: 0;
    padding-top: 62.5%;
  }
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-embed__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
  color: var(--color-5);
}

.map-embed__placeholder p {
  max-width: 380px;
  margin: 0;
  font-size: 0.9875rem;
}

.map-embed__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.map-embed__actions .btn {
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  font-size: 0.9375rem;
}

@media (min-width: 768px) {
  .maps {
    grid-template-columns: 1fr 1fr;
  }
}

/* Compact sizing: contact section */
.contact-grid {
  gap: 16px;
}

.contact-info h3,
.contact-form h3 {
  margin-bottom: 6px;
  font-size: 1.3rem;
}

.contact-info > p {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

.contact-list {
  gap: 10px;
  margin: 12px 0 14px;
}

.contact-list li {
  gap: 10px;
}

.contact-list .icon-bubble {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.contact-list .icon-bubble .icon {
  width: 18px;
  height: 18px;
}

.contact-list h4 {
  margin: 0 0 2px;
  font-size: 1rem;
}

.contact-list p,
.contact-list address {
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-actions {
  gap: 8px;
}

.contact-actions .btn,
.map-embed__actions .btn {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

.contact-actions .btn .icon {
  width: 18px;
  height: 18px;
}

.contact-form {
  padding: 16px 16px 18px;
  border-radius: 16px;
}

.form__note {
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.form__row {
  gap: 0 14px;
}

.field {
  margin-bottom: 10px;
}

.field label {
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.field input,
.field select,
.field textarea {
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.field select {
  padding-right: 38px;
  background-position: right 12px center;
  background-size: 16px;
}

.field textarea {
  height: 104px;
  min-height: 84px;
}

.field__error {
  margin-top: 4px;
  font-size: 0.85rem;
}

.field--check {
  gap: 10px;
}

.field--check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.field--check label {
  font-size: 0.85rem;
  line-height: 1.5;
}

.contact-form .btn--block {
  min-height: 44px;
  font-size: 0.95rem;
}

.form__status {
  margin-top: 12px;
  padding: 10px 12px;
  font-size: 0.9rem;
}

.maps {
  gap: 12px;
  margin-top: 14px;
}

.map-card {
  border-radius: 14px;
}

.map-card__head {
  gap: 4px 12px;
  padding: 10px 14px;
}

.map-card__head h3 {
  font-size: 1.1rem;
}

.map-card__head p {
  font-size: 0.85rem;
}

.map-embed {
  aspect-ratio: auto;
  height: 200px;
}

.map-embed__placeholder {
  gap: 8px;
  padding: 12px;
}

.map-embed__placeholder .icon-bubble {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.map-embed__placeholder .icon-bubble .icon {
  width: 18px;
  height: 18px;
}

.map-embed__placeholder p {
  max-width: 340px;
  font-size: 0.85rem;
  line-height: 1.45;
}

.map-embed__actions {
  gap: 8px;
}

@media (min-width: 600px) {
  .contact-form {
    padding: 20px 22px 22px;
  }

  .contact-list {
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
  }

  .contact-list li:first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 24px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 599px) {
  .contact-info h3,
  .contact-form h3 {
    font-size: 1.2rem;
  }

  .contact-list p,
  .contact-list address {
    font-size: 0.875rem;
  }

  .contact-actions .btn {
    flex: 1 1 auto;
  }

  .field textarea {
    height: 96px;
  }

  .map-embed {
    aspect-ratio: auto;
    height: 200px;
  }
}

/* Shorter map boxes on wider screens, smaller section intro text */
@media (min-width: 768px) {
  .map-embed {
    aspect-ratio: auto;
    height: 190px;
  }
}

.section__lead {
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 599px) {
  .section__lead {
    font-size: 0.95rem;
  }
}

/* Compact message form */
.contact-form {
  padding: 14px 14px 16px;
  border-radius: 14px;
}

.contact-form h3 {
  margin-bottom: 2px;
  font-size: 1.15rem;
}

.form__note {
  margin-bottom: 8px;
  font-size: 0.8rem;
  line-height: 1.45;
}

.form__row {
  gap: 0 10px;
}

.field {
  margin-bottom: 8px;
}

.field label {
  margin-bottom: 3px;
  font-size: 0.85rem;
  line-height: 1.3;
}

/* 16px text so phones do not zoom in when a field is tapped */
.field input,
.field select,
.field textarea {
  min-height: 38px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 1rem;
  line-height: 1.25;
}

.field select {
  padding-right: 30px;
  background-position: right 10px center;
  background-size: 14px;
}

.field textarea {
  height: 76px;
  min-height: 60px;
}

.field__error {
  margin-top: 3px;
  font-size: 0.8rem;
}

.field--check {
  gap: 8px;
}

.field--check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.field--check label {
  font-size: 0.8rem;
  line-height: 1.45;
}

.contact-form .btn--block {
  min-height: 40px;
  font-size: 0.9rem;
}

.form__status {
  margin-top: 10px;
  padding: 8px 10px;
  font-size: 0.85rem;
}

@media (min-width: 600px) {
  .contact-form {
    padding: 16px 18px 18px;
  }
}

/* Phones: two fields per row */
@media (min-width: 360px) and (max-width: 639px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 599px) {
  .field textarea {
    height: 72px;
  }
}

/* Footer (compact) */
.site-footer {
  position: relative;
  background: var(--color-5);
  color: var(--color-4);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer__main {
  display: grid;
  gap: 24px;
  padding-block: 32px 24px;
}

/* Footer logo: white lettering version for the dark background */
.brand--footer {
  --logo-h: 58px;
  margin: 0 0 10px;
}

.footer__tagline {
  margin-top: 4px;
  color: var(--color-3);
  font-style: italic;
  font-weight: 500;
}

.footer__brand p {
  max-width: 320px;
  margin-bottom: 0;
}

.footer__title {
  position: relative;
  margin: 0 0 12px;
  padding-bottom: 8px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
}

.footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-3);
}

.footer__links {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--color-4);
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer__contact {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer__contact .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--color-3);
}

.footer__contact a {
  color: var(--color-4);
}

.footer__contact a:hover {
  color: var(--white);
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(230, 245, 247, 0.6);
  border-radius: 50%;
  color: var(--white);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.social a:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--color-5);
}

.social .icon {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  background: rgba(0, 32, 36, 0.28);
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-block: 14px;
  font-size: 0.875rem;
}

.footer__bottom p {
  margin: 0;
}

/* Cookie Settings button styled like the other footer links */
.footer__links button {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-4);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer__links button:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer__credit a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer__credit a:hover {
  color: var(--color-3);
  text-decoration-thickness: 2px;
}

/* Phones and tablets: logo on top, Quick Links beside Our Services and Legal, contact details below */
.footer__main {
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
}

.footer__brand,
.footer__col--contact {
  grid-column: 1 / -1;
}

.footer__col--quick {
  grid-row: span 2;
}

.footer__bottom-inner {
  align-items: center;
  text-align: center;
}

@media (min-width: 600px) {
  .footer__main {
    column-gap: 24px;
  }
}

/* Tablets: the three link lists side by side, contact details in two columns */
@media (min-width: 600px) and (max-width: 1023px) {
  .footer__main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer__col--quick {
    grid-row: auto;
  }

  .footer__col--contact .footer__contact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 24px;
  }
}

/* Desktop: five columns in one row, credit in the middle of the bottom bar */
@media (min-width: 1024px) {
  .footer__main {
    grid-template-columns: 1.3fr 0.75fr 1fr 0.8fr 1.25fr;
    gap: 28px;
    padding-block: 40px 28px;
  }

  .footer__brand,
  .footer__col--contact {
    grid-column: auto;
  }

  .footer__col--quick {
    grid-row: auto;
  }

  .footer__bottom-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    text-align: left;
  }

  .footer__copy {
    grid-column: 1;
  }

  .footer__credit {
    grid-column: 2;
    text-align: center;
  }
}

/* Phones: balanced footer, Quick Links beside Our Services, Legal links in one row, left aligned bottom bar */
@media (max-width: 599px) {
  .footer__main {
    row-gap: 20px;
    padding-block: 28px 20px;
  }

  .footer__col--quick {
    grid-row: auto;
  }

  .footer__col--legal {
    grid-column: 1 / -1;
  }

  .footer__col--legal .footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
  }

  .footer__bottom-inner {
    align-items: flex-start;
    gap: 6px;
    padding-block: 14px 18px;
    text-align: left;
  }

  .footer__credit {
    align-self: center;
    text-align: center;
  }
}

/* Small phones: make the footer a little more compact */
@media (max-width: 430px) {
  .site-footer {
    font-size: 0.875rem;
  }

  .footer__main {
    row-gap: 16px;
    padding-block: 22px 16px;
  }

  .brand--footer {
    --logo-h: 48px;
  }

  .footer__title {
    margin-bottom: 10px;
    padding-bottom: 6px;
    font-size: 1.05rem;
  }

  .footer__links a,
  .footer__links button {
    min-height: 26px;
  }

  .footer__contact {
    gap: 8px;
  }

  .footer__bottom-inner {
    padding-block: 12px 14px;
    font-size: 0.8125rem;
  }
}

/* Floating actions */
.float-actions {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  transition: transform 0.3s ease;
}

body.has-cookie-banner .float-actions {
  transform: translateY(calc(-1 * var(--cookie-banner-h, 0px)));
}

.float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 40, 45, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.25s ease, visibility 0s linear 0s;
}

.float-btn:hover {
  transform: translateY(-2px);
}

.float-btn .icon {
  width: 28px;
  height: 28px;
}

.float-btn--whatsapp {
  background: var(--color-5);
  color: var(--white);
}

.float-btn--whatsapp:hover {
  background: var(--color-1);
}

.float-btn--top {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-color: var(--color-5);
  color: var(--color-5);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.2s ease, opacity 0.25s ease, visibility 0s linear 0.25s;
}

.float-btn--top.is-visible {
  opacity: 1;
  visibility: visible;
  transition: transform 0.2s ease, opacity 0.25s ease, visibility 0s linear 0s;
}

.float-btn--top:hover {
  background: var(--color-4);
}

.float-btn--top .icon {
  width: 22px;
  height: 22px;
}

/* Cookie banner and settings */
.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 250;
  max-width: 560px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 20px 50px rgba(0, 40, 45, 0.3);
}

.cookie-banner h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.cookie-banner p {
  margin: 0 0 16px;
  font-size: 0.9875rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner__actions .btn {
  flex: 1 1 auto;
  min-height: 46px;
  padding: 0.55rem 1.1rem;
  font-size: 0.9875rem;
}

@media (min-width: 640px) {
  .cookie-banner {
    left: 20px;
    right: auto;
    bottom: 20px;
  }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 40, 45, 0.6);
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 30px 70px rgba(0, 40, 45, 0.35);
}

.modal__panel h2 {
  margin: 0 48px 8px 0;
  font-size: 1.75rem;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--color-5);
  border-radius: 50%;
  background: var(--white);
  color: var(--color-5);
}

.modal__close:hover {
  background: var(--color-4);
}

.consent-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.consent-option h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
}

.consent-option p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.consent-option__state {
  flex: none;
  color: var(--color-5);
  font-size: 0.9375rem;
  font-weight: 600;
}

.switch {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  width: 56px;
  height: 32px;
}

.switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.switch__track {
  position: absolute;
  inset: 0;
  border: 2px solid var(--input-border);
  border-radius: 999px;
  background: var(--white);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.switch__track::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--input-border);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.switch input:checked + .switch__track {
  background: var(--color-5);
  border-color: var(--color-5);
}

.switch input:checked + .switch__track::after {
  background: var(--white);
  transform: translateX(24px);
}

.switch input:focus-visible + .switch__track {
  outline: 3px solid var(--color-1);
  outline-offset: 3px;
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.modal__actions .btn {
  flex: 1 1 auto;
}

/* Legal pages */
.prose {
  max-width: 820px;
}

.prose h2 {
  margin: 24px 0 8px;
  font-size: clamp(1.6rem, 1.4rem + 0.8vw, 2rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 18px 0 6px;
  font-size: 1.375rem;
}

.prose ul {
  padding-left: 1.3em;
}

.prose li {
  margin-bottom: 6px;
}

.prose__updated {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--color-4);
  color: var(--color-5);
  font-size: 0.9375rem;
  font-weight: 600;
}

.table-wrap {
  position: relative;
  overflow-x: auto;
  margin: 0 0 1.4em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.table-wrap table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.9875rem;
}

.table-wrap th,
.table-wrap td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table-wrap th {
  background: var(--color-4);
  color: var(--color-5);
  font-weight: 600;
}

.table-wrap tr:last-child td {
  border-bottom: 0;
}

/* Not found page */
.notfound {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.notfound__code {
  margin: 0 0 6px;
  color: var(--color-1);
  font-family: var(--font-head);
  font-size: clamp(5rem, 3rem + 10vw, 9rem);
  font-weight: 700;
  line-height: 1;
}

.notfound .hero__actions {
  justify-content: center;
}

/* Scroll reveal (only when JavaScript is running) */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Print */
@media print {
  .site-header,
  .float-actions,
  .cookie-banner,
  .modal,
  .maps,
  .contact-form {
    display: none !important;
  }

  .hero,
  .page-banner {
    background: none;
    color: #000000;
  }

  .hero h1,
  .page-banner h1 {
    color: #000000;
  }
}
