/* Farline landing — navy / orange corporate redesign */
:root {
  --navy: #00204a;
  --navy-deep: #001833;
  --navy-soft: #0a3366;
  --orange: #f27220;
  --orange-hover: #d96212;
  --ink: #12233a;
  --muted: #5a6b7d;
  --line: #e4e9ef;
  --paper: #ffffff;
  --mist: #f4f7fa;
  --foam: #ffffff;
  --font: "Montserrat", system-ui, sans-serif;
  --shadow: 0 10px 30px rgba(0, 32, 74, 0.08);
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
  width: 100%;
  max-width: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.75rem;
  z-index: 100;
}

.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

/* —— Header —— */
.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.28s ease, background 0.28s ease;
}

.top.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 28px rgba(0, 32, 74, 0.12);
}

.top__brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: none;
  flex-shrink: 0;
}

.top__brand img {
  width: 2.6rem;
  height: auto;
  flex-shrink: 0;
}

.top__brand span {
  line-height: 1.2;
  white-space: nowrap;
}

.top__cta-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.top__menu {
  display: none;
  position: relative;
  z-index: 2;
  margin-left: auto;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.top__menu-bars,
.top__menu-bars::before,
.top__menu-bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform 0.2s ease;
}

.top__menu-bars::before,
.top__menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.top__menu-bars::before {
  top: -6px;
}

.top__menu-bars::after {
  top: 6px;
}

.top__menu[aria-expanded="true"] .top__menu-bars {
  background: transparent;
}

.top__menu[aria-expanded="true"] .top__menu-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.top__menu[aria-expanded="true"] .top__menu-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.top__nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 1.8vw, 1.4rem);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.top__nav a {
  text-decoration: none;
  color: var(--navy);
  opacity: 0.85;
}

.top__nav a:hover {
  opacity: 1;
  color: var(--orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn--orange {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.btn--orange:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--ghost-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--ghost-navy:hover {
  background: var(--navy);
  color: #fff;
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.top__wa {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
}

.top__quote {
  padding: 0.65rem 1.1rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  left: 0;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: 7.5rem clamp(1rem, 4vw, 2.5rem) 5.5rem;
  color: #fff;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
}

.hero--image .hero__media {
  will-change: auto;
}

/* Images: fill the box, then crop */
.hero__media img,
.hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Video: do not rely on object-fit (Chromium drops it when a transform
   is applied to <video>). Size with min-width/min-height and center it. */
.hero__media video {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: translate(-50%, -50%);
  filter: brightness(1.12) contrast(1.04) saturate(1.05);
}

.hero__media img {
  filter: none;
  image-rendering: auto;
}

.hero--image .hero__video {
  display: none;
}

.hero--video .hero__photo {
  display: none;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: none;
  image-rendering: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hero--video .hero__video {
    display: none;
  }

  .hero--video .hero__photo {
    display: block;
  }

  .hero__media {
    will-change: auto;
  }
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Light wash only — keep the photo bright like the mockup; soft left tint for tagline readability */
  background:
    linear-gradient(90deg, rgba(0, 24, 51, 0.42) 0%, rgba(0, 24, 51, 0.14) 42%, rgba(0, 24, 51, 0.02) 70%, transparent 100%),
    linear-gradient(180deg, rgba(0, 24, 51, 0.08) 0%, transparent 40%, rgba(0, 24, 51, 0.18) 100%);
}

.hero__mark {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  pointer-events: none;
  text-align: center;
  /* Sit in the upper-middle of the photo so the left headline/CTAs stay clear */
  padding: 5.5rem clamp(1rem, 4vw, 2.5rem) 34vh;
}

.hero__mark-title {
  margin: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: min(46rem, 100%);
  min-width: 0;
  color: rgba(255, 255, 255, 0.96);
  font-family: var(--font);
  font-size: clamp(0.95rem, 2.35vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  text-shadow:
    0 1px 2px rgba(0, 16, 36, 0.45),
    0 8px 28px rgba(0, 16, 36, 0.5);
}

.hero__mark-tagline {
  margin: 0.75rem 0 0;
  box-sizing: border-box;
  width: 100%;
  max-width: min(36rem, 100%);
  min-width: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.78rem, 1.4vw, 0.98rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: break-word;
  text-shadow:
    0 1px 2px rgba(0, 16, 36, 0.4),
    0 6px 22px rgba(0, 16, 36, 0.45);
}

.hero__mark-tagline::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 1px;
  margin: 0 auto 0.8rem;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(242, 114, 32, 0.45);
}

.hero__copy {
  position: relative;
  z-index: 3;
  width: min(46rem, 100%);
  max-width: 100%;
  min-width: 0;
  text-shadow: 0 2px 18px rgba(0, 16, 36, 0.45);
}

.hero__eyebrow {
  margin: 0 0 0.85rem;
  color: var(--orange);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3.5vw, 2.55rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.hero h1 .accent {
  color: var(--orange);
}

.hero__quote {
  margin: 0 0 1.6rem;
  font-size: clamp(0.98rem, 1.7vw, 1.08rem);
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0.95;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— Proof stats —— */
.stats {
  position: relative;
  z-index: 3;
  background: var(--navy);
  color: #fff;
  padding: 1.35rem clamp(1rem, 4vw, 2.5rem);
}

.stats__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.stats__item {
  text-align: center;
  padding: 0.35rem 0.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.stats__item:first-child {
  border-left: 0;
}

.stats__item strong {
  display: block;
  color: var(--orange);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.stats__item span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* —— Trust / compliance logos —— */
.trust {
  position: relative;
  z-index: 3;
  margin: 1.5rem clamp(1rem, 4vw, 2.5rem) 0;
}

.trust__inner {
  display: grid;
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 1.1rem clamp(1rem, 2.5vw, 1.75rem) 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.trust__inner--logos {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem 0.85rem;
  align-items: start;
}

.trust__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  min-width: 0;
  padding: 0 0.2rem;
  box-sizing: border-box;
}

.trust__item picture,
.service-card__media picture,
.client-logo picture {
  display: contents;
}

.trust__logo {
  width: 100%;
  max-width: 7.5rem;
  height: 4.4rem;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  display: block;
  flex-shrink: 0;
}

.trust__caption {
  margin: 0;
  max-width: none;
  width: 100%;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--muted);
}

.trust__caption strong {
  display: block;
  margin-bottom: 0.22rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--navy);
}

/* —— Client logos (infinite marquee) —— */
.clients {
  margin-top: 2rem;
  border-radius: var(--radius);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.clients__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.clients__row + .clients__row {
  margin-top: 0.85rem;
}

.clients__track {
  display: flex;
  width: max-content;
  animation: clients-marquee 42s linear infinite;
  animation-play-state: running;
  will-change: transform;
}

.clients__row--alt .clients__track {
  animation-name: clients-marquee-reverse;
  animation-duration: 52s;
}

.clients:hover .clients__track,
.clients:focus-within .clients__track,
.clients:active .clients__track,
.clients__track:hover {
  animation-play-state: running;
}

.clients__set {
  display: flex;
  flex-shrink: 0;
  gap: 0.85rem;
  padding-right: 0.85rem;
}

.client-logo {
  display: flex;
  flex: 0 0 10.75rem;
  align-items: center;
  justify-content: center;
  width: 10.75rem;
  min-height: 4.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  pointer-events: none;
}

.client-logo img {
  width: 100%;
  max-width: 9.5rem;
  height: 3.15rem;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: none;
}

@keyframes clients-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes clients-marquee-reverse {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

.clients.is-static .clients__viewport {
  -webkit-mask-image: none;
  mask-image: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.clients.is-static .clients__row,
.clients.is-static .clients__track,
.clients.is-static .clients__set {
  display: contents;
}

.clients.is-static .clients__track {
  animation: none;
}

.clients.is-static .clients__set[aria-hidden="true"] {
  display: none;
}

.clients.is-static .client-logo {
  flex: 1 1 8.5rem;
  max-width: 11rem;
  width: auto;
}

.client-logo--empty {
  border-style: dashed;
  background: var(--mist);
}

.client-logo__hint {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.55;
}

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1rem, 4vw, 2.5rem);
}

.section__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

#services .section__inner,
#certificates .section__inner {
  width: min(1360px, 100%);
}

.section__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.section__title {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  line-height: 1.2;
}

.section__lead {
  margin: 0 auto 2.25rem;
  max-width: 40rem;
  color: var(--muted);
  text-align: center;
}

.section--mist {
  background: var(--mist);
}

.section--navy {
  background: var(--navy);
  color: #fff;
}

.section--navy .section__title {
  color: #fff;
}

.section--navy .section__lead {
  color: rgba(255, 255, 255, 0.75);
}

/* —— Services —— */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.service-card {
  flex: 0 0 calc((100% - 2.7rem) / 4);
  width: calc((100% - 2.7rem) / 4);
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: visible;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-card--lead {
  flex: 0 0 calc((100% - 0.9rem) / 2);
  width: calc((100% - 0.9rem) / 2);
}

.service-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: visible;
  background: var(--navy-soft);
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  z-index: 0;
}

.service-card__icon {
  position: absolute;
  left: 0.85rem;
  bottom: -1.15rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 32, 74, 0.18);
}

.service-card__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.service-card__body {
  position: relative;
  z-index: 1;
  padding: 1.75rem 0.75rem 1.1rem;
  background: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
}

.service-card__body h3 {
  margin: 0 0 0.4rem;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
}

.service-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
}

/* —— Advantage —— */
#advantage .section__inner {
  width: min(1320px, 100%);
}

.advantage {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.15rem 1.1rem;
}

.advantage__item {
  text-align: left;
}

.advantage__icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(242, 114, 32, 0.15);
  color: var(--orange);
  display: grid;
  place-items: center;
}

.advantage__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.advantage__item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.advantage__item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.5;
}

.commit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.commit article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
}

.commit h3 {
  margin: 0 0 0.4rem;
  color: var(--navy);
  font-size: 1.02rem;
}

.commit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.clients__note {
  margin: -0.35rem auto 1.35rem;
  max-width: 44rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* —— Gallery (restyled) —— */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-deep);
  position: relative;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__open {
  appearance: none;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  color: inherit;
}

.gallery__open picture {
  display: block;
}

.gallery__item:hover img {
  transform: scale(1.03);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 24, 51, 0.88));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  pointer-events: none;
}

.gallery__item figcaption strong {
  display: block;
  font-weight: 700;
}

.gallery__item figcaption span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0.92;
}

/* —— How we work —— */
.process {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem 2.5rem;
  align-items: center;
}

.process__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy-deep);
}

.process__media img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
  display: block;
}

.process__copy .section__title,
.process__copy .section__eyebrow,
.process__copy .section__lead {
  text-align: left;
}

.process__copy .section__lead {
  margin-bottom: 1.5rem;
}

.process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.process__steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
}

.process__num {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--orange);
  padding-top: 0.15rem;
}

.process__steps h3 {
  margin: 0 0 0.25rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.process__steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* —— Certificates —— */
.certs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.cert-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 0.9rem 0.95rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  min-width: 0;
}

.cert-card:hover {
  border-color: var(--orange);
}

.cert-card__tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.cert-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 0.92rem;
}

.cert-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  flex: 1;
}

.cert-card__open {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

.cert-card:hover .cert-card__open {
  color: var(--orange);
}

/* —— Project lightbox —— */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 16, 36, 0.82);
}

.lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: min(92vh, 900px);
}

.lightbox__figure {
  margin: 0;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}

.lightbox__figure img {
  width: 100%;
  max-height: min(78vh, 780px);
  object-fit: contain;
  background: #000;
}

.lightbox__figure figcaption {
  padding: 0.85rem 1.1rem 1rem;
  background: var(--navy-deep);
  color: #fff;
}

.lightbox__figure strong {
  display: block;
  font-size: 1rem;
}

.lightbox__figure span {
  display: block;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.lightbox__close,
.lightbox__nav {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
}

.lightbox__close {
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  z-index: 2;
}

.lightbox__nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 2;
}

.lightbox__nav--prev {
  left: 0.6rem;
}

.lightbox__nav--next {
  right: 0.6rem;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--orange);
}

body.lightbox-open {
  overflow: hidden;
}

.detail-pop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.detail-pop[hidden] {
  display: none;
}

.detail-pop__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 16, 36, 0.72);
}

.detail-pop__panel {
  position: relative;
  z-index: 1;
  width: min(26rem, 100%);
  max-height: min(70vh, 32rem);
  overflow: auto;
  padding: 1.35rem 1.35rem 1.25rem;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(0, 16, 36, 0.28);
}

.detail-pop__panel h3 {
  margin: 0 2rem 0.7rem 0;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.3;
}

.detail-pop__panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  white-space: pre-line;
}

.detail-pop__link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
}

.detail-pop__link[hidden] {
  display: none;
}

.detail-pop__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 50%;
  background: var(--mist);
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

/* —— Work / track —— */
.section--work {
  background: var(--mist);
}

.track {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.track__head,
.track__row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.track__head {
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.track__company {
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: var(--navy);
}

.track__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.track__cell--svc ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.badge-new {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(242, 114, 32, 0.12);
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.work-more {
  margin: 1.5rem 0 0;
  text-align: center;
}

/* —— Coverage —— */
.section--coverage .section__inner--coverage {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 1.5rem;
  align-items: start;
}

.coverage__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.coverage__list > li {
  list-style: none;
}

.coverage__btn {
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font: inherit;
}

.coverage__btn strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.coverage__btn span {
  color: var(--muted);
  font-size: 0.82rem;
}

.coverage__btn.is-active,
.coverage__btn:hover {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(242, 114, 32, 0.25);
}

.coverage__map-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b1c2e;
  box-shadow: var(--shadow);
}

.coverage__map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.coverage__back {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--orange);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  list-style: none;
}

.coverage__back.is-hidden {
  display: none;
}

.coverage__map-label {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.coverage__map {
  height: min(52vh, 420px);
  width: 100%;
}

.coverage__sites {
  padding: 0.75rem;
  display: grid;
  gap: 0.5rem;
  background: #fff;
}

.coverage__sites.is-hidden {
  display: none;
}

.coverage__site-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: var(--navy);
}

.coverage__site-card strong {
  font-weight: 700;
  min-width: 0;
}

.coverage__site-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}

.coverage__site-card:hover {
  border-color: var(--orange);
}

.coverage__detail {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--mist);
}

.coverage__detail.is-current {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(242, 114, 32, 0.25);
}

.coverage__detail-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.45rem;
}

.coverage__detail-photo {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy-deep);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.coverage__detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coverage__detail-copy h3 {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-size: 1.02rem;
}

.coverage__detail-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.coverage__jobs {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.coverage__job strong {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
}

.coverage__job > span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.coverage__job ul {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink);
  font-size: 0.86rem;
}

.coverage__detail-more {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--orange);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

/* Leaflet DivIcon markers — geometry lives here (landing page does not load styles.css) */
.coverage-region-pin,
.coverage-marker {
  background: transparent !important;
  border: 0 !important;
}

.coverage-region-pin {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.coverage-region-pin__dot,
.coverage-marker__dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1e90ff;
  border: 2px solid #fff;
  box-shadow:
    0 0 0 1px rgba(0, 24, 51, 0.55),
    0 0 12px rgba(30, 144, 255, 0.85);
  flex-shrink: 0;
}

.coverage-region-pin:hover .coverage-region-pin__dot,
.coverage-marker:hover .coverage-marker__dot {
  background: #4aa8ff;
  box-shadow:
    0 0 0 1px rgba(0, 24, 51, 0.55),
    0 0 16px rgba(30, 144, 255, 1);
}

.coverage-region-pin__label {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.coverage-marker {
  position: relative;
  width: 26px;
  height: 26px;
  cursor: pointer;
}

.coverage-marker__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  z-index: 1;
}

.coverage-marker__pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  background: rgba(30, 144, 255, 0.45);
  animation: map-pulse 2.2s ease-out infinite;
  pointer-events: none;
}

.coverage-tooltip {
  background: rgba(0, 32, 74, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  box-shadow: none;
}

.coverage-tooltip.leaflet-tooltip-top::before {
  border-top-color: rgba(255, 255, 255, 0.35);
}

@keyframes map-pulse {
  0% {
    transform: scale(0.55);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.leaflet-control-attribution {
  display: none !important;
}

/* —— FAQ —— */
.faq {
  display: grid;
  gap: 0.65rem;
  max-width: 44rem;
  margin: 0 auto;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0.25rem 1rem;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 0.85rem 0;
  list-style: none;
}

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

.faq__item p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.faq__item a {
  color: var(--orange);
}

/* —— Contact —— */
.section--contact {
  background: var(--mist);
}

.section__inner--split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.contact-intro {
  max-width: 40rem;
}

.section--contact h2 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
}

.contact-cta {
  margin: 1rem 0 1.5rem;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.contact-form__intro {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.contact-form__field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form__optional {
  font-weight: 500;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
}

.contact-form__legal {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.section--contact .contact-form__legal a {
  color: var(--navy);
  font-weight: 600;
}

/* —— Inner legal page (terms.php) —— */
.page--legal {
  padding-top: 4.75rem;
}

.page--legal main {
  padding-right: 5.5rem;
}

.page--legal .page-hero {
  width: min(46rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 0 0;
}

.page--legal .page-hero .section__lead {
  margin-bottom: 0;
}

.page--legal .section--legal {
  padding-top: 1.5rem;
  padding-bottom: calc(clamp(3rem, 8vw, 5rem) + 4.75rem);
}

.page--legal .section__inner--legal {
  width: min(46rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

.page--legal .legal {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

.page--legal .legal h2 {
  margin: 2rem 0 0.65rem;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.page--legal .legal h2:first-child {
  margin-top: 0;
}

.page--legal .legal p,
.page--legal .legal ul {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.page--legal .legal strong {
  color: var(--ink);
  font-weight: 700;
}

.page--legal .legal ul {
  padding-left: 1.25rem;
}

.page--legal .legal li {
  margin-bottom: 0.4rem;
}

.page--legal .legal a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.page--legal .legal a:hover {
  color: var(--orange);
}

.contact-form__actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.contact-form__status {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

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

.contact-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}

.contact-block h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: 1rem;
}

.contact-block p {
  margin: 0.35rem 0;
}

.contact-block a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.contact-block a:hover {
  color: var(--orange);
}

.contact-meta {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.contact-location {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-location__copy {
  padding: 1.25rem 1.4rem;
}

.contact-location h3 {
  margin: 0 0 0.65rem;
  color: var(--navy);
}

.contact-address {
  font-style: normal;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.contact-maps-link {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
}

/* —— Footer / WA —— */
.foot {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 1.5rem 5.25rem 1.5rem clamp(1rem, 4vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

.foot p {
  margin: 0;
}

.foot__links {
  flex: 1 1 100%;
}

.foot a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.foot a:hover {
  color: var(--orange);
}

.wa-float {
  position: fixed;
  right: 1.1rem;
  left: auto;
  bottom: 1.1rem;
  z-index: 50;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

/* —— Mobile —— */
@media (max-width: 1100px) {
  .services {
    gap: 1rem;
  }

  .service-card,
  .service-card--lead {
    flex: 0 0 calc((100% - 2rem) / 3);
    width: calc((100% - 2rem) / 3);
  }

  .service-card__body {
    padding: 1.9rem 1rem 1.25rem;
  }

  .service-card__body h3 {
    font-size: 0.95rem;
  }

  .service-card__body p {
    font-size: 0.82rem;
  }

  .advantage {
    grid-template-columns: repeat(2, 1fr);
  }

  .commit {
    grid-template-columns: 1fr;
  }

  .trust__inner--logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .certs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .trust__inner--logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.15rem 1rem;
  }

  .trust__inner--logos > .trust__item {
    flex: 0 0 calc((100% - 2rem) / 3);
    width: calc((100% - 2rem) / 3);
    max-width: calc((100% - 2rem) / 3);
    box-sizing: border-box;
  }

  .trust__logo {
    max-width: 9.5rem;
    height: 4.25rem;
  }

  .trust__caption {
    max-width: none;
    font-size: 0.7rem;
  }

  .clients__track {
    animation-duration: 56s;
  }

  .clients__row--alt .clients__track {
    animation-duration: 68s;
  }

  .section--coverage .section__inner--coverage,
  .section__inner--split,
  .contact-location,
  .track__head,
  .track__row,
  .process,
  .certs {
    grid-template-columns: 1fr;
  }

  .stats__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats__item:nth-child(3) {
    border-left: 0;
  }

  .process__media img {
    min-height: 18rem;
  }

  .services .service-card,
  .services .service-card--lead {
    flex: 0 0 calc((100% - 1rem) / 2);
    width: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 800px) {
  .top__menu {
    display: inline-flex;
    order: 3;
  }

  .top__nav {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    top: 4.1rem;
    transform: none;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0.5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  .top.is-nav-open .top__nav {
    display: flex;
  }

  .top__nav a {
    padding: 0.85rem 1rem;
    border-radius: 8px;
  }

  .top__nav a:hover {
    background: var(--mist);
  }

  .top__quote span {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding-top: 0;
    padding-bottom: 2.75rem;
  }

  .hero__mark {
    position: relative;
    inset: auto;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    padding: 4.75rem clamp(1rem, 4vw, 2.5rem) 1rem;
  }

  .hero h1 {
    font-size: 1.55rem;
  }

  .hero__quote {
    font-size: 0.95rem;
  }

  .hero__mark-title {
    max-width: 100%;
    font-size: clamp(0.78rem, 3.6vw, 1.15rem);
    letter-spacing: 0.1em;
    line-height: 1.3;
  }

  .hero__mark-tagline {
    letter-spacing: 0.04em;
    padding-inline: 0.25rem;
  }

  .hero__copy {
    margin: 0 auto;
  }

  .hero__eyebrow {
    display: none;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__actions .btn {
    width: min(100%, 22rem);
  }

  .trust__inner--logos > .trust__item {
    flex: 0 0 calc((100% - 1rem) / 2);
    width: calc((100% - 1rem) / 2);
    max-width: calc((100% - 1rem) / 2);
  }

  .stats__inner {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stats__item {
    border-left: 0;
    padding: 0.5rem 0;
  }

  .gallery__open {
    position: absolute;
    inset: 0;
    min-height: 0;
  }

  .gallery__open picture {
    position: absolute;
    inset: 0;
    display: block;
  }

  .client-logo {
    flex-basis: 9.25rem;
    width: 9.25rem;
    min-height: 4.25rem;
    padding: 0.7rem 0.8rem;
  }

  .client-logo img {
    height: 2.75rem;
  }

  .clients__track {
    animation-duration: 64s;
  }

  .clients__row--alt .clients__track {
    animation-duration: 76s;
  }

  .services {
    gap: 0.75rem;
  }

  .services .service-card,
  .services .service-card--lead {
    flex: 0 0 calc((100% - 0.75rem) / 2);
    width: calc((100% - 0.75rem) / 2);
  }

  .service-card__body {
    padding: 1.7rem 0.7rem 1rem;
  }

  .service-card__body h3 {
    font-size: 0.82rem;
  }

  .service-card__body p {
    font-size: 0.74rem;
  }

  .service-card__icon {
    width: 2.15rem;
    height: 2.15rem;
    left: 0.55rem;
    bottom: -0.95rem;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery__item,
  .gallery__item--wide {
    grid-column: auto;
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 0;
  }

  .gallery__item picture {
    position: absolute;
    inset: 0;
    display: block;
  }

  .gallery__item img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .tap-detail__copy {
    display: none;
  }

  .tap-detail {
    cursor: pointer;
  }

  .trust__item.tap-detail strong::after,
  .service-card.tap-detail h3::after,
  .process__steps li.tap-detail h3::after,
  .advantage__item.tap-detail h3::after,
  .commit article.tap-detail h3::after,
  .cert-card.tap-detail h3::after,
  .track__row.tap-detail .track__company::after {
    content: "i";
    display: inline-grid;
    place-items: center;
    width: 1.05rem;
    height: 1.05rem;
    margin-left: 0.4rem;
    border: 1.5px solid var(--orange);
    border-radius: 50%;
    color: var(--orange);
    font-size: 0.68rem;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    vertical-align: 0.08em;
  }

  .track--teaser .track__head .track__cell:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .coverage-marker__pulse {
    animation: none !important;
    opacity: 0.35;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .clients__viewport {
    -webkit-mask-image: none;
    mask-image: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
  }

  .clients__row,
  .clients__track,
  .clients__set {
    display: contents;
  }

  .clients__track {
    animation: none !important;
  }

  .clients__set[aria-hidden="true"] {
    display: none;
  }

  .clients__set {
    padding-right: 0;
  }

  .client-logo {
    flex: 1 1 8.5rem;
    max-width: 11rem;
    width: auto;
  }
}

/* —— Scroll reveal —— */
.reveal {
  opacity: 0;
  transform: translate3d(0, 1.6rem, 0);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.cms-preview-bar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #f27220;
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
}
.cms-preview-bar a {
  color: #fff;
  text-decoration: underline;
}
body.is-cms-preview .top {
  top: 2.2rem;
}

@media (max-width: 800px) {
  .wa-float {
    width: 2.55rem;
    height: 2.55rem;
    right: 0.7rem;
    bottom: 0.7rem;
  }

  .wa-float svg {
    width: 18px;
    height: 18px;
  }
}
