/* =====================================================================
   ENVIALOG GROUP — Corporate website
   Global foundation · Header · Hero · Key figures
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette: white, near-black navy, ENVIALOG blues */
  --color-white:        #ffffff;
  --color-ink:          #0a121c;   /* very dark navy / near-black */
  --color-ink-deep:     #060c14;   /* hero base */
  --color-header-bg:    #04060c;   /* header: near-black, clearly below the hero navy */
  --color-navy:         #0b1f33;   /* text on light, deep brand navy */
  --color-blue:         #0092fa;   /* ENVIALOG blue (accent) */
  --color-blue-bright:  #5fcbff;   /* light accent */

  --color-surface:      #ffffff;   /* main white */
  --color-surface-alt:  #f4f7fa;   /* very light neutral blue-grey */
  --color-surface-blue: #eaf3fa;   /* very light brand blue */

  --color-text:         #0b1f33;
  --color-text-muted:   #5b6b7c;
  --color-text-invert:  #ffffff;
  --color-text-invert-muted: rgba(255, 255, 255, 0.74);

  --color-line:         #dce3ea;                 /* separators on light */
  --color-line-invert:  rgba(255, 255, 255, 0.16); /* separators on dark */

  /* Typography — system stack (no external dependency, no layout shift) */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --fs-body:    1.0625rem;                       /* 17px */
  --fs-lead:    clamp(1.1875rem, 1.7vw, 1.5rem);
  --fs-display: clamp(2.75rem, 7.5vw, 6rem);
  --fs-figure:  clamp(2.25rem, 4vw, 3.25rem);

  /* Spacing */
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Layout */
  --container-max: 1240px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
  --header-h: clamp(64px, 9vw, 92px);
  /* Scroll destination for in-page anchors: clear the fixed header + a restrained gap. */
  --anchor-offset: calc(var(--header-h) + clamp(1rem, 3vw, 1.75rem));

  --radius: 4px;
  --transition: 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

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

.skip-link {
  position: absolute;
  left: var(--space-sm);
  top: -100%;
  z-index: 100;
  background: var(--color-white);
  color: var(--color-navy);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: top var(--transition);
}
.skip-link:focus { top: var(--space-sm); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 1rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
              border-color var(--transition);
}
.btn__arrow { transition: transform var(--transition); }

.btn--hero {
  color: var(--color-white);
  background: var(--color-navy);
  border-color: var(--color-navy);
}
.btn--hero:hover {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}
.btn--hero:hover .btn__arrow { transform: translateX(4px); }

/* =====================================================================
   HEADER — transparent over the hero
   ===================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  /* Distinct from the hero: a flat near-black bar with a restrained 1px edge.
     Fixed so it stays visible while scrolling; the hero content already reserves
     header height via padding, so nothing sits hidden behind it. */
  background: var(--color-header-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.site-header__inner {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 0 var(--container-pad);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.site-header__brand { display: inline-flex; align-items: center; }
.site-header__brand img { height: clamp(28px, 4.6vw, 60px); width: auto; }

/* --- Navigation --- */
.site-nav__list a {
  color: var(--color-text-invert);
  text-decoration: none;
  font-weight: 500;
}

/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--color-text-invert);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; left: 0; top: -7px; }
.nav-toggle__bars::after  { position: absolute; left: 0; top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile navigation ( < 900px ) --- */
@media (max-width: 899.98px) {
  .nav-toggle { display: inline-flex; }

  .site-nav__list {
    position: absolute;
    top: 100%;
    left: var(--container-pad);
    right: var(--container-pad);
    display: grid;
    background: rgba(6, 12, 20, 0.98);
    border: 1px solid var(--color-line-invert);
    border-radius: var(--radius);
    padding: 0.25rem 1.25rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  }
  .site-nav__list a {
    display: block;
    padding: 1rem 0;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--color-line-invert);
  }
  .site-nav__list li:last-child a { border-bottom: 0; }

  /* When JS is available the menu is collapsible; without JS it stays visible. */
  .js .site-nav__list { display: none; }
  .js .site-nav__list.is-open { display: grid; }
}

/* --- Desktop navigation ( >= 900px ) --- */
@media (min-width: 900px) {
  .site-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 2.4vw, 2.5rem);
  }
  .site-nav__list a {
    position: relative;
    font-size: 0.95rem;
    padding: 0.4rem 0;
  }
  .site-nav__list a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 2px;
    background: var(--color-blue-bright);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
  }
  .site-nav__list a:hover::after,
  .site-nav__list a:focus-visible::after { transform: scaleX(1); }
}

/* =====================================================================
   HERO — full-bleed photograph, navy text over the clear left.
   Mobile: stacked (navy text on a light background, photograph below).
   ===================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-surface-alt);
  color: var(--color-text);
  /* Mobile: image hero with text overlay (not stacked). Proportionate height. */
  min-height: clamp(560px, 86svh, 660px);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  padding-top: calc(var(--header-h) + clamp(1.5rem, 5vw, 2.5rem));
  padding-bottom: clamp(2rem, 6vw, 3rem);
}
.hero__content { display: flex; flex-direction: column; align-items: start; }

.hero__title {
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-navy);
}
/* Each line is its own block; it wraps into three lines within the column. */
.hero__title span { display: block; text-wrap: balance; }

/* Narrow phones: shrink the headline just enough to keep "QUE PAQUETES." on a
   single line — three intentional lines (MOVEMOS / MUCHO MÁS / QUE PAQUETES.). */
@media (max-width: 400px) {
  .hero__title { font-size: clamp(2rem, 11vw, 2.75rem); }
}

.hero__lead {
  margin-top: var(--space-md);
  max-width: 46ch;
  font-size: var(--fs-lead);
  line-height: 1.5;
  font-weight: 600;
  color: var(--color-navy);
}

.hero .btn--hero { margin-top: var(--space-lg); align-self: start; }

/* The photograph is the full-bleed background at every width (never a stacked block).
   WebP in production; hero001.png kept as source. */
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;   /* mobile: activity slice (docks · van · worker) */
  z-index: 0;
}

/* Mobile: soft white wash over the top (text area); the photograph stays visible
   below. Lightens for legibility, never darkens — no black layer. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.90) 40%,
    rgba(255, 255, 255, 0.55) 60%,
    rgba(255, 255, 255, 0.12) 78%,
    rgba(255, 255, 255, 0) 92%);
}

/* Desktop keeps the SAME treatment as mobile — clear top wash + text anchored at the
   top — so the bright top of the photograph stays clear behind the text at every
   width. Only the proportions (height, headline size, text column) change. */
@media (min-width: 900px) {
  .hero {
    --hero-h: clamp(470px, 44vw, 660px);   /* proportionate height, not too tall */
    min-height: var(--hero-h);
  }
  .hero__content { max-width: 50rem; }   /* wide enough for "MOVEMOS MUCHO MÁS" on one line */
  .hero__title { font-size: clamp(2.5rem, 4.4vw, 4rem); }
  .hero__lead { max-width: 46ch; }        /* keep the supporting line readable, not full width */
}

/* Subtle entrance — transform/opacity only (no layout shift) */
@media (prefers-reduced-motion: no-preference) {
  .hero__title,
  .hero__lead,
  .hero .btn--hero {
    animation: hero-reveal 0.8s var(--transition) both;
  }
  .hero__lead { animation-delay: 0.1s; }
  .hero .btn--hero { animation-delay: 0.2s; }
}
@keyframes hero-reveal {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* =====================================================================
   KEY FIGURES — light editorial section, no cards
   ===================================================================== */
.figures {
  background: var(--color-surface);
  color: var(--color-text);
  scroll-margin-top: var(--anchor-offset);
}
.figures__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
}

.figures__list {
  display: grid;
  grid-template-columns: 1fr;
}

.figure {
  padding: 1.75rem 0;
  border-top: 1px solid var(--color-line);
}
.figure:first-child { border-top: 0; padding-top: 0; }

.figure__value {
  display: block;
  font-size: var(--fs-figure);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}
.figure__label {
  display: block;
  margin-top: 0.75rem;
  max-width: 22ch;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Two columns on tablet */
@media (min-width: 600px) {
  .figures__list { grid-template-columns: 1fr 1fr; }
  .figure {
    padding: 1.75rem clamp(1rem, 4vw, 2.5rem);
    border-top: 1px solid var(--color-line);
  }
  .figure:first-child, .figure:nth-child(2) { border-top: 0; padding-top: 0; }
  .figure:nth-child(odd) { border-left: 0; padding-left: 0; }
  .figure:nth-child(even) { border-left: 1px solid var(--color-line); }
}

/* Four columns on desktop — restrained vertical separators */
@media (min-width: 960px) {
  .figures__list { grid-template-columns: repeat(4, 1fr); }
  .figure {
    padding: 0.5rem clamp(1.25rem, 2.4vw, 2rem);
    border-top: 0;
    border-left: 1px solid var(--color-line);
  }
  .figure:first-child { border-left: 0; padding-left: 0; }
  /* reset tablet-only rules */
  .figure:nth-child(2) { border-top: 0; }
  .figure:nth-child(odd) { padding-left: clamp(1.25rem, 2.4vw, 2rem); }
  .figure:nth-child(odd):first-child { padding-left: 0; }
  /* Keep each metric value on a single line (e.g. "IT propio"). */
  .figure__value { white-space: nowrap; }
}

/* =====================================================================
   TRANSPORTE — editorial section: label + headline · large image · text.
   No cards, no icons, no gradients. Asymmetric grid; on mobile it collapses
   to the deliberate reading order: label → headline → image → text.
   ===================================================================== */
.transport {
  background: var(--color-surface);
  color: var(--color-text);
}
.transport__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  padding-block: clamp(4rem, 10vw, 7.5rem);
  border-top: 1px solid var(--color-line); /* restrained separator from the figures above */
  display: grid;
  gap: clamp(1.75rem, 6vw, 2.75rem);
}

/* Anchor destination for #transporte. The section's approved top padding lives on
   .transport__inner, so the id sits on the head wrapper (next to the eyebrow/headline)
   instead of the padded section top. scroll-margin-top keeps a restrained breathing
   room above the eyebrow; no header offset is needed because the header is absolute
   and has scrolled out of view at this position. */
.transport__head,
.section-head {
  scroll-margin-top: var(--anchor-offset);
}

/* Reusable editorial eyebrow with a short leading rule */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-blue);
}
.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 2px;
  background: var(--color-blue);
}

.transport__title,
.section-title {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--color-navy);
  max-width: 16ch;
  text-wrap: balance;
}
/* Transport headline is short ("La fuerza de una gran red.") — let it sit on a
   single line in the stacked layout; only wraps naturally on narrow phones.
   The desktop two-column override below reinstates a tighter width. */
.transport__title {
  max-width: none;
  text-wrap: pretty;
}

/* Reserved image area — neutral placeholder, straightforward to swap for a photo */
.transport__media {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-line);
  aspect-ratio: 4 / 3; /* defines height on mobile / when stacked */
}
.transport__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1rem;
  text-align: center;
  color: var(--color-text-muted);
}
.media-placeholder__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.media-placeholder__hint {
  font-size: 0.8125rem;
  opacity: 0.7;
}

.transport__lead,
.section-lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--color-text);
  max-width: 46ch;
}
.transport__support,
.section-support {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  padding-top: clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid var(--color-line); /* restrained separator between the two paragraphs */
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 46ch;
}

/* Desktop: asymmetric composition — label+headline top-left, tall image right,
   text bottom-left so headline and text bookend the image height. */
@media (min-width: 900px) {
  .transport__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "head      media"
      "text      media"
      "services  services";
    column-gap: clamp(2rem, 5vw, 5rem);
    row-gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
  }
  .transport__head  { grid-area: head; }
  .transport__media {
    grid-area: media;
    align-self: stretch;
    aspect-ratio: auto;
    min-height: clamp(380px, 40vw, 520px);
  }
  .transport__text  { grid-area: text; align-self: end; max-width: 42ch; }
  .transport__title { max-width: 13ch; }
  .service-index    { grid-area: services; margin-top: clamp(1rem, 2vw, 2rem); }
}

/* =====================================================================
   SHARED SECTION SCAFFOLD — logistics · technology · GLS · about · contact
   Reuses tokens and the .eyebrow / .media-placeholder / anchor patterns.
   ===================================================================== */
.section-inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  padding-block: clamp(4rem, 9vw, 7rem);
}

/* Light/neutral vs dark treatments (alternation of light and dark sections) */
/* Every content section is light: white, very light neutral (alt), or very light
   brand blue. Only the header and footer are dark. */
.section--alt  { background: var(--color-surface-alt);  color: var(--color-text); }
.section--blue { background: var(--color-surface-blue); color: var(--color-text); }

/* Large typographic figure (3.600 m², +100) — a single statement, not a metrics row */
.big-figure { display: block; margin: 0; }
.big-figure__num {
  display: block;
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-navy);
}
.big-figure__label {
  display: block;
  margin-top: 0.6rem;
  max-width: 24ch;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* Dark-section placeholder variant */
/* =====================================================================
   TRANSPORT — typographic service index (numbered rows, no cards/icons)
   ===================================================================== */
.service-index { list-style: none; margin: 0; padding: 0; }
.service {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(1rem, 3vw, 2.5rem);
  align-items: baseline;
  padding-block: clamp(1.25rem, 3vw, 1.75rem);
  border-top: 1px solid var(--color-line);
}
.service__num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-blue);
  font-variant-numeric: tabular-nums;
}
.service__name {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-navy);
}
.service__desc {
  margin-top: 0.4rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 62ch;
}
@media (min-width: 720px) {
  .service__body {
    display: grid;
    grid-template-columns: minmax(0, 16rem) 1fr;
    column-gap: clamp(1.5rem, 4vw, 3rem);
    align-items: baseline;
  }
  .service__desc { margin-top: 0; }
}

/* =====================================================================
   LOGISTICS — Manresa figure + intro · photograph · support · capabilities · closing.
   Communicates infrastructure across several locations without a property inventory.
   ===================================================================== */
.logistics__inner { display: grid; gap: clamp(1.75rem, 6vw, 2.75rem); }

.logistics__intro .big-figure { margin-bottom: clamp(1rem, 2.5vw, 1.5rem); }

/* Restrained multi-location line — presence in several places, no warehouse counts. */
.logistics__locations {
  margin-top: clamp(1rem, 2.5vw, 1.5rem);
  font-size: clamp(0.75rem, 1.4vw, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-navy);
}

.logistics__media {
  margin: 0; position: relative; overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  aspect-ratio: 4 / 3;
}
.logistics__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Supporting text sits after the photograph here, so drop the shared top separator. */
.logistics__support { margin-top: 0; padding-top: 0; border-top: 0; }

/* Closing line — a confident finish, set off by a fine separator. */
.logistics__closing {
  border-top: 1px solid var(--color-line);
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-navy);
  max-width: 52ch;
}

.cap-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
.cap {
  border-top: 1px solid var(--color-line);
  padding-block: clamp(0.85rem, 2.5vw, 1.15rem);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  font-weight: 600;
  color: var(--color-navy);
}

@media (min-width: 600px) {
  .cap-list { grid-template-columns: 1fr 1fr; column-gap: clamp(1.5rem, 4vw, 3rem); }
}
@media (min-width: 900px) {
  .logistics__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "head     head"
      "intro    media"
      "support  media"
      "caps     caps"
      "closing  closing";
    column-gap: clamp(2rem, 5vw, 5rem);
    row-gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
  }
  .logistics__head    { grid-area: head; }
  .logistics__intro   { grid-area: intro; }
  .logistics__media   { grid-area: media; aspect-ratio: auto; min-height: clamp(360px, 38vw, 520px); align-self: stretch; }
  .logistics__support { grid-area: support; max-width: 46ch; }
  .cap-list           { grid-area: caps; grid-template-columns: repeat(3, 1fr); }
  .logistics__closing { grid-area: closing; }
}

/* =====================================================================
   TECHNOLOGY — dark, text + typographic capability list + slim reserved band
   ===================================================================== */
.technology__inner { display: grid; gap: clamp(1.75rem, 6vw, 2.75rem); }

.tech-caps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
.tech-cap {
  border-top: 1px solid var(--color-line);
  padding-block: clamp(1.1rem, 2.5vw, 1.5rem);
}
.tech-cap__name {
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  font-weight: 700;
  color: var(--color-navy);
}
.tech-cap__desc {
  margin-top: 0.35rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 48ch;
}

.technology__media {
  margin: 0; position: relative; overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  aspect-ratio: 16 / 6;
}
.technology__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (min-width: 900px) {
  .technology__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "head   head"
      "intro  caps"
      "media  media";
    column-gap: clamp(2rem, 5vw, 5rem);
    row-gap: clamp(2.5rem, 5vw, 4rem);
    align-items: start;
  }
  .technology__head { grid-area: head; }
  .technology__text { grid-area: intro; }
  .tech-caps        { grid-area: caps; }
  .technology__media { grid-area: media; }
}

/* =====================================================================
   GLS — restrained transitional band (ENVIALOG owns it)
   ===================================================================== */
.gls { background: var(--color-surface); }
.gls .section-inner {
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.gls__inner { display: grid; gap: clamp(1.5rem, 4vw, 2rem); }
.gls__logo { height: 32px; width: auto; display: block; }

@media (min-width: 900px) {
  .gls__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-areas:
      "head  text"
      "mark  text";
    column-gap: clamp(2rem, 5vw, 5rem);
    row-gap: clamp(1.5rem, 3vw, 2rem);
    align-items: start;
  }
  .gls__head { grid-area: head; }
  .gls__text { grid-area: text; align-self: center; }
  .gls__mark { grid-area: mark; }
}

/* =====================================================================
   ABOUT — full-width panoramic photo band · big +100 · split text
   ===================================================================== */
.about__inner { display: grid; gap: clamp(1.75rem, 6vw, 2.75rem); }

/* Team — clean typographic cards (no photos, avatars, initials or icons) */
.about__team-title {
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-navy);
}
.about__team-intro {
  margin-top: clamp(0.75rem, 1.6vw, 1rem);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 60ch;
}
.team {
  --team-gap: clamp(1rem, 2vw, 1.5rem);
  list-style: none;
  margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--team-gap);
}
.team__card {
  flex: 1 1 100%;             /* mobile: one per row, full width */
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: clamp(1.25rem, 2.5vw, 1.6rem);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}
.team__card::before {        /* small corporate blue rule — not a button */
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 0.85rem;
  background: var(--color-blue);
  border-radius: 2px;
}
.team__name {
  font-size: clamp(1.125rem, 1.6vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-navy);
}
.team__role {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}
@media (min-width: 560px) {
  /* tablet: two per row (equal width); a lone last card stays centred */
  .team__card { flex: 0 1 calc((100% - var(--team-gap)) / 2); }
}
@media (min-width: 900px) {
  /* desktop: three per row; the two on the second row stay centred */
  .team__card { flex-basis: calc((100% - 2 * var(--team-gap)) / 3); }
}

.about__statement {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-navy);
  max-width: 26ch;
}

/* Secondary subsection — standards of the GLS network (certifications belong to GLS
   Spain, not ENVIALOG). Restrained: fine separators, no cards, no icons, no seals. */
.about__certs {
  border-top: 1px solid var(--color-line);
  padding-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
}
.about__certs .eyebrow { margin-bottom: 0; }
.certs__title {
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-navy);
  max-width: 24ch;
}
.certs__intro {
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 68ch;
}
.certs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
.cert {
  border-top: 1px solid var(--color-line);
  padding-block: clamp(0.85rem, 2vw, 1.1rem);
}
.cert:first-child { border-top: 0; }
.cert__code {
  display: block;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-navy);
}
.cert__label {
  display: block;
  margin-top: 0.2rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.4;
}
.certs__note {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 68ch;
}
.certs__link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-blue);
  font-weight: 600;
  text-decoration: none;
}
.certs__link:hover { text-decoration: underline; }
.certs__link-icon { font-size: 0.9em; }

/* Certifications as a horizontal typographic row on desktop, vertical list on mobile */
@media (min-width: 720px) {
  .certs__list { grid-template-columns: repeat(4, 1fr); }
  .cert {
    border-top: 0;
    border-left: 1px solid var(--color-line);
    padding-block: 0;
    padding-inline: clamp(1rem, 2.4vw, 1.75rem);
  }
  .cert:first-child { border-left: 0; padding-left: 0; }
}

@media (min-width: 900px) {
  .about__inner {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-template-areas:
      "head    figure"
      "team    team"
      "text    statement"
      "certs   certs";
    column-gap: clamp(2rem, 5vw, 5rem);
    row-gap: clamp(2.5rem, 5vw, 4rem);
    align-items: start;
  }
  .about__head      { grid-area: head; }
  .about__figure    { grid-area: figure; align-self: end; }
  .about__team      { grid-area: team; }
  .about__text      { grid-area: text; }
  .about__statement { grid-area: statement; align-self: center; }
  .about__certs     { grid-area: certs; }
}

/* =====================================================================
   CLIENTES — access cards to the client web apps (real login screenshots)
   ===================================================================== */
.apps { background: var(--color-surface); }
.apps__inner { display: grid; gap: clamp(1.75rem, 5vw, 2.5rem); }

.apps__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
}
.apps__grid > li { display: flex; }
@media (min-width: 720px) {
  .apps__grid { grid-template-columns: 1fr 1fr; }
}

.app-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.app-card:hover,
.app-card:focus-visible {
  border-color: var(--color-blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(11, 31, 51, 0.10);
}

.app-card__img {
  width: 100%;
  aspect-ratio: 3 / 2;   /* matches the 1200×800 screenshots — no crop, no distortion */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface-alt);
}

.app-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
}
.app-card__name {
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-navy);
}
.app-card__desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.app-card__action {
  margin-top: auto;   /* pins the button to the bottom so all cards align */
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border: 1px solid var(--color-blue);
  border-radius: var(--radius);
  color: var(--color-blue);
  font-weight: 600;
  font-size: 0.95rem;
}
.app-card__action .arrow { transition: transform var(--transition); }
.app-card:hover .app-card__action,
.app-card:focus-visible .app-card__action {
  background: var(--color-blue);
  color: #fff;
}
.app-card:hover .app-card__action .arrow,
.app-card:focus-visible .app-card__action .arrow { transform: translateX(3px); }

/* =====================================================================
   CONTACT — strong centred dark finale, single CTA + phone
   ===================================================================== */
.contact .section-inner { padding-block: clamp(5rem, 11vw, 9rem); }
.contact__inner { text-align: center; }
.contact__title { max-width: 20ch; margin-inline: auto; }
.contact__lead  { margin-top: clamp(1rem, 2vw, 1.5rem); max-width: 54ch; margin-inline: auto; }
.contact__actions {
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.25rem);
}
.contact__phone {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
}
.contact__phone:hover { color: var(--color-blue); }

.btn--primary {
  background: var(--color-blue);
  color: #fff;
  border-color: var(--color-blue);
}
.btn--primary:hover {
  background: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
}
.btn--primary:hover .btn__arrow { transform: translateX(4px); }

/* =====================================================================
   FOOTER — restrained corporate footer (near-black, bookends the header)
   ===================================================================== */
.site-footer { background: var(--color-header-bg); color: var(--color-text-invert); }
.site-footer__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.site-footer__logo img { height: clamp(28px, 4vw, 40px); width: auto; display: block; }
.site-footer__tagline {
  margin-top: 1rem;
  max-width: 40ch;
  color: var(--color-text-invert-muted);
  line-height: 1.6;
}
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.site-footer__nav a,
.site-footer__contact a {
  color: var(--color-text-invert);
  text-decoration: none;
}
.site-footer__nav a:hover,
.site-footer__contact a:hover { color: var(--color-blue-bright); }
.site-footer__contact { display: grid; gap: 0.6rem; align-content: start; }
.site-footer__contact address {
  font-style: normal;
  margin-top: 0.4rem;
  color: var(--color-text-invert-muted);
  line-height: 1.6;
}
.site-footer__base { border-top: 1px solid var(--color-line-invert); }
.site-footer__base-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 1.25rem var(--container-pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}
.site-footer__base p {
  font-size: 0.85rem;
  color: var(--color-text-invert-muted);
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-footer__legal a {
  font-size: 0.85rem;
  color: var(--color-text-invert-muted);
  text-decoration: none;
}
.site-footer__legal a:hover { color: var(--color-blue-bright); }
@media (min-width: 720px) {
  .site-footer__inner {
    grid-template-columns: 1.6fr 1fr 1.2fr;
    align-items: start;
    gap: clamp(2rem, 5vw, 4rem);
  }
}

/* =====================================================================
   Reduced motion — global safety net
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =====================================================================
   CONTACT MODAL — accessible dialog + form
   Light, corporate: white surface, navy text, blue accents. No black inside.
   ===================================================================== */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;                 /* desktop gutter → dialog width min(680, 100vw - 40) */
}
.contact-modal[hidden] { display: none; }

/* Lock the page behind the modal (JS also pins body position for iOS). */
body.contact-modal-open { overflow: hidden; }

.contact-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 51, 0.55);   /* navy scrim — never pure black */
}

.contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100vw - 40px));
  max-height: 90vh;
  overflow-y: auto;                      /* internal scroll only if needed */
  -webkit-overflow-scrolling: touch;
  background: var(--color-surface);
  color: var(--color-navy);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(11, 31, 51, 0.18);   /* restrained, not heavy */
  padding: clamp(24px, 4vw, 40px);
}

.contact-modal__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-navy);
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
}
.contact-modal__close:hover { background: var(--color-surface-alt); color: var(--color-blue); }

.contact-modal__head { padding-right: 2.25rem; }   /* clear the close button */
.contact-modal__title {
  margin-top: 0.5rem;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--color-navy);
}
.contact-modal__intro {
  margin-top: 0.6rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.55;
}

/* ---- Form ---- */
.contact-form {
  --color-error: #c0322b;               /* functional error colour (not a brand colour) */
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
}
.contact-form__required-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.contact-form__required-note span { color: var(--color-blue); font-weight: 700; }

.contact-form__alert {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-error);
  background: #fdeceb;
  color: var(--color-error);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
}
.contact-form__alert[hidden] { display: none; }

/* Honeypot — off-screen but fillable by bots */
.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 1.25rem) clamp(1rem, 3vw, 1.5rem);
  margin-top: clamp(1.25rem, 3vw, 1.5rem);
}
.field--full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy);
}
.field__req { color: var(--color-blue); }
.field__opt { color: var(--color-text-muted); font-weight: 500; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-navy);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: #9aa8b6; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(0, 146, 250, 0.18);
}

/* Invalid state */
.field--invalid input,
.field--invalid select,
.field--invalid textarea { border-color: var(--color-error); }
.field--invalid input:focus,
.field--invalid select:focus,
.field--invalid textarea:focus {
  box-shadow: 0 0 0 3px rgba(192, 50, 43, 0.18);
}
.field__error {
  color: var(--color-error);
  font-size: 0.8125rem;
  font-weight: 500;
}
.field__error[hidden] { display: none; }

/* Checkbox / privacy */
.field--check { gap: 0.5rem; }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--color-navy);
  cursor: pointer;
}
.checkbox input {
  flex: 0 0 auto;
  width: 1.15rem; height: 1.15rem;
  margin-top: 0.12rem;
  accent-color: var(--color-blue);
  cursor: pointer;
}
.contact-form__policy { font-weight: 600; color: var(--color-navy); }

/* Submit */
.contact-form__foot { margin-top: clamp(1.25rem, 3vw, 1.75rem); }
.contact-form__submit { width: 100%; justify-content: center; }
.contact-form__submit[disabled] { opacity: 0.65; cursor: progress; }
.contact-form.is-sending .contact-form__submit .btn__arrow { display: none; }

/* Success panel (replaces the form; the modal stays open) */
.contact-modal__success { text-align: center; padding: clamp(1rem, 4vw, 2rem) 0 0.5rem; }
.contact-modal__success[hidden] { display: none; }
.contact-modal__success:focus { outline: none; }
.contact-modal__success-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: var(--color-blue);
  border-radius: 50%;
}
.contact-modal__success-text {
  max-width: 42ch;
  margin: 0 auto 1.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-navy);
}

/* Open animation — only when motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  .contact-modal__overlay { opacity: 0; transition: opacity 0.2s ease; }
  .contact-modal__dialog {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .contact-modal.is-open .contact-modal__overlay { opacity: 1; }
  .contact-modal.is-open .contact-modal__dialog { opacity: 1; transform: none; }
}

/* Mobile: near-full width, tighter padding, viewport-aware height */
@media (max-width: 560px) {
  .contact-modal { padding: 16px; align-items: flex-start; }
  .contact-modal__dialog {
    width: 100%;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    padding: clamp(20px, 5vw, 24px);
  }
}
@media (max-width: 520px) {
  .contact-form__grid { grid-template-columns: 1fr; }
}

/* Contact modal — short privacy notice (first layer) above the checkbox */
.contact-form__privacy-note {
  padding: 0.85rem 1rem;
  background: var(--color-surface-blue);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}
.contact-form__privacy-note p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.contact-form__privacy-note strong { color: var(--color-navy); font-weight: 700; }
.contact-form__privacy-note a,
.contact-form__policy-link { color: var(--color-blue); font-weight: 600; text-decoration: underline; }
.contact-form__privacy-note a:hover,
.contact-form__policy-link:hover { color: var(--color-navy); }

/* =====================================================================
   LEGAL / LONG-FORM PAGES (Política de privacidad, etc.)
   Light body, comfortable reading measure. Header/footer stay dark.
   ===================================================================== */
.legal-page {
  /* Clear the fixed header (these pages have no hero to reserve its height). */
  padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 3.5rem));
  padding-bottom: clamp(3rem, 8vw, 6rem);
  padding-inline: var(--container-pad);
  background: var(--color-surface);
}
.legal-page__inner {
  max-width: 820px;          /* comfortable 760–900px reading measure */
  margin-inline: auto;
  overflow-wrap: break-word; /* keep long URLs from overflowing narrow screens */
}
.legal-page h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--color-navy);
}
.legal-page__intro {
  margin-top: clamp(1rem, 2.5vw, 1.5rem);
  font-size: clamp(1.0625rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--color-text-muted);
}
.legal-page__updated {
  margin-top: 0.85rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}
.legal-page h2 {
  margin-top: clamp(2.25rem, 4vw, 3rem);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--color-navy);
}
.legal-page p {
  margin-top: 1rem;
  font-size: 1.0625rem;      /* stays legible on mobile — not shrunk */
  line-height: 1.7;
  color: var(--color-text);
}
.legal-page ul {
  margin-top: 1rem;
  padding-left: 1.3rem;
  list-style: disc;
}
.legal-page li {
  margin-top: 0.4rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
}
.legal-page a { color: var(--color-blue); text-decoration: underline; overflow-wrap: anywhere; }
.legal-page a:hover { color: var(--color-navy); }
.legal-page__data {
  margin-top: 1rem;
  padding-left: 0;
  list-style: none;
}
.legal-page__data li { margin-top: 0.5rem; }
.legal-page__data strong { color: var(--color-navy); }

/* Visible placeholder for legally-required data still pending confirmation */
.legal-page__pending {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-navy);
  background: var(--color-surface-blue);
  border: 1px dashed var(--color-blue);
  border-radius: var(--radius);
}

/* Basic print styles — clean printable document (no chrome, black on white) */
@media print {
  .site-header,
  .site-footer,
  .contact-modal,
  .skip-link,
  .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .legal-page { padding: 0; background: #fff; }
  .legal-page__inner { max-width: 100%; }
  .legal-page h1,
  .legal-page h2,
  .legal-page p,
  .legal-page li,
  .legal-page__intro,
  .legal-page__updated { color: #000; }
  .legal-page a { color: #000; text-decoration: underline; }
}

/* =====================================================================
   FUEL SURCHARGE — discreet informational note (end of main, before footer)
   Secondary presence: light differentiated box + corporate blue rule.
   ===================================================================== */
.fuel-note {
  background: var(--color-surface);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.fuel-note__box {
  max-width: 720px;                 /* comfortable reading width on desktop */
  padding: clamp(1.25rem, 3.5vw, 1.75rem) clamp(1.25rem, 3.5vw, 2rem);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-line);
  border-left: 3px solid var(--color-blue);   /* corporate blue rule */
  border-radius: var(--radius);
}
.fuel-note__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.0625rem;             /* secondary — not a section heading size */
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--color-navy);
}
.fuel-note__icon { flex: 0 0 auto; color: var(--color-blue); }
.fuel-note p {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.fuel-note__cta { margin-top: 1rem; }
.fuel-note__cta a {
  font-weight: 600;
  color: var(--color-navy);         /* strong contrast; blue reserved for accents/hover */
  text-decoration: underline;
  text-underline-offset: 2px;
}
.fuel-note__cta a:hover { color: var(--color-blue); }
.fuel-note__arrow { color: var(--color-blue); white-space: nowrap; }
.fuel-note__external {
  vertical-align: -0.15em;
  margin-left: 0.3rem;
  color: var(--color-blue);
}
.fuel-note__disclaimer {
  margin-top: 1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

@media print {
  .fuel-note { display: none !important; }
}
