/* ==========================================================================
   TT US LLC — homepage stylesheet (home.css)
   Used only by index.html. index-es.html and privacy-policy.html keep styles.css.

   Contents
     1. Design tokens (colours, fonts, sizes)  <- change brand values here
     2. Base
     3. Helpers (container, icons, skip link, section titles)
     4. Buttons
     5. Site header + section nav
     6. Hero
     7. About Us + "Contact me" card
     8. What We Do
     9. Key Benefits
    10. Payments & Commissions / Support & Communication
    11. Contact Form band
    12. Footer
    13. Motion, reduced motion, forced colours

   Breakpoints (mobile-first; only these four widths are used)
     480px   large phones   header "Español" shows its text label
     640px   tablets        two-column grids, header portal button always shown
     960px   laptops        side-by-side layouts, hero artwork
     1200px  desktops       roomier proportions
   The header's section nav uses the same widths written in em (60em = 960px, 75em = 1200px
   at the normal text size), so it steps aside when a visitor enlarges the browser's text size.
   "max-width" queries use the value minus 0.02px (e.g. 639.98px, or 74.99em) so ranges never overlap.
   The "Contact me" card also adapts to its own width with container queries (270 / 540 / 1080px).
   ========================================================================== */


/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  /* Brand */
  --brand: #265fa6;          /* logo blue */
  --brand-hover: #2c6bba;
  --brand-700: #1b4b86;
  --navy-950: #040e1f;
  --navy-900: #071a33;
  --navy-800: #0b2447;
  --navy-700: #123463;
  --sky-100: #e6effa;
  --sky-200: #cfe0f6;
  --sky-300: #9cc3f5;
  --amber: #f4b45c;          /* accent (flight path, focus ring on dark) */
  --amber-soft: #ffd79c;

  /* Neutrals */
  --ink: #0c1b30;            /* headings */
  --ink-2: #1d2e46;
  --text: #3a4b62;           /* body text */
  --muted: #56667d;          /* small labels */
  --paper: #fff;
  --tint: #f2f6fb;
  --tint-2: #e9eff8;
  --line: #dfe6f0;
  --line-strong: #c9d5e5;
  --field-border: #8190a6;   /* 3.2:1 on white: form fields stay visible */

  /* Logo bars drawn with <use href="#brand-bars">: upper bar / lower bar.
     Brand colours only: blue on light backgrounds, white on dark ones. */
  --bars-a: var(--brand);
  --bars-b: var(--brand);

  /* Type */
  --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --measure: 32em;           /* max line length for body text: about 70 characters of Inter */

  /* Shape & depth */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgb(12 27 48 / 0.05), 0 2px 8px rgb(12 27 48 / 0.04);
  --shadow-md: 0 2px 4px rgb(12 27 48 / 0.04), 0 18px 40px -14px rgb(12 27 48 / 0.18);
  --shadow-lg: 0 4px 10px rgb(4 14 31 / 0.08), 0 40px 80px -24px rgb(4 14 31 / 0.42);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  --section-y: clamp(72px, 9vw, 128px);
  --slant: clamp(36px, 5.5vw, 96px);   /* height of the slanted hero / contact edges */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --focus: var(--brand);     /* focus ring colour; amber on dark surfaces */

  /* Skyline photo used on phones (hero + contact band). From 640px the CSS uses bg-hero.jpg. */
  --hero-photo-sm: url("assets/bg-hero-sm.jpg");
}

/* High-density phone screens get the larger photo, so the skyline stays sharp */
@supports (background-image: image-set(url("assets/bg-hero-sm.jpg") 1x)) {
  :root { --hero-photo-sm: image-set(url("assets/bg-hero-sm.jpg") 1x, url("assets/bg-hero.jpg") 2x); }
}

@media (min-width: 640px) {
  :root { --header-h: 72px; }
}


/* ==========================================================================
   2. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Anchors and keyboard focus never land under the fixed header */
  scroll-padding-top: calc(var(--header-h) + 16px);
}

/* Smooth scrolling for in-page links (e.g. "Request access"), only if the visitor allows motion.
   Switched on after the page has loaded (.is-loaded, see the script at the end of index.html), so
   opening a link like index.html#contact still jumps straight to the right place. */
@media (prefers-reduced-motion: no-preference) {
  html.is-loaded { scroll-behavior: smooth; }
}

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

img { max-width: 100%; }

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--ink);
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: var(--brand); }

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

.site-header,
.hero,
.on-dark,
.site-footer { --focus: var(--amber); }


/* ==========================================================================
   3. Helpers
   ========================================================================== */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Keeps a few words together (e.g. "Turne-Trans", or a word and the dash after it) */
.nowrap { white-space: nowrap; }

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

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flag {
  width: 22px;
  height: 15px;
  flex: none;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.25);
}

.skip-link {
  --focus: var(--amber);   /* it appears over the dark header, so it uses the amber ring */
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-md);
}
.skip-link:focus { top: 12px; }

/* Sections share one vertical rhythm */
.section { padding-block: var(--section-y); }

/* Where a header link lands. By default a section stops 16px below the header
   (see scroll-padding-top above). These sections stop flush under it instead, so no
   sliver of the section before them shows (the contact band's slanted top edge then
   starts right at the header). */
.about,
.what,
.benefits,
.contact { scroll-margin-top: -16px; }

/* Section titles, with the small two-bar logo mark above them */
.title-mark {
  display: block;
  width: 30px;
  height: 31px;
  margin-bottom: 20px;
}
.on-dark .title-mark { --bars-a: #fff; --bars-b: #fff; }

.title {
  margin: 0 0 24px;
  font-size: clamp(2rem, 1.35rem + 2vw, 3.125rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.028em;
  overflow-wrap: break-word;   /* only matters when a word is wider than the screen (large text) */
}
.on-dark .title { color: #fff; }

.lead {
  margin: 0;
  max-width: var(--measure);
  color: var(--ink-2);
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.6;
  overflow-wrap: break-word;
}


/* ==========================================================================
   4. Buttons
   ========================================================================== */
.btn {
  --btn-h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    box-shadow 0.25s ease, transform 0.25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }

.btn--sm { --btn-h: 44px; gap: 8px; padding: 0 16px; border-radius: var(--r-sm); font-size: 0.875rem; }
.btn--lg { --btn-h: 58px; padding: 0 26px; border-radius: var(--r-md); font-size: 1rem; }
.btn--block { width: 100%; }

/* Solid logo-blue */
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 10px 24px -12px rgb(38 95 166 / 0.9);
}
.btn--primary:hover {
  background: var(--brand-hover);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.2), 0 14px 28px -12px rgb(38 95 166 / 0.95);
}

/* White with a blue arrow "orb" (main hero call to action) */
.btn--light {
  gap: 16px;
  padding-right: 9px;
  background: #fff;
  color: var(--navy-900);
  box-shadow: 0 18px 40px -16px rgb(0 0 0 / 0.55);
}
.btn--light:hover { background: #f3f7fd; }
.btn__orb {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
}

/* Frosted outline for dark backgrounds */
.btn--glass {
  background: rgb(255 255 255 / 0.08);
  color: #fff;
  border-color: rgb(255 255 255 / 0.32);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgb(255 255 255 / 0.16); border-color: rgb(255 255 255 / 0.55); }

/* Quiet outline used in the header */
.btn--ghost {
  background: rgb(255 255 255 / 0.08);
  color: #fff;
  border-color: rgb(255 255 255 / 0.26);
}
.btn--ghost:hover { background: rgb(255 255 255 / 0.16); border-color: rgb(255 255 255 / 0.5); }


/* ==========================================================================
   5. Site header + section nav
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  min-height: var(--header-h); /* grows instead of clipping if a visitor enlarges text */
  color: #fff;
  background: rgb(7 22 45 / 0.94);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 -1px 0 rgb(255 255 255 / 0.08), 0 12px 32px -16px rgb(4 14 31 / 0.6);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
/* With JavaScript: see-through over the hero, frosted navy after scrolling.
   Without JavaScript the header simply stays solid. */
.js .site-header:not(.is-scrolled) {
  background: linear-gradient(180deg, rgb(4 14 31 / 0.62), rgb(4 14 31 / 0));
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

/* Very short screens (e.g. 400% zoom): the header scrolls away instead of covering a quarter of the view */
@media (max-height: 340px) {
  html { scroll-padding-top: 16px; }
  .site-header { position: absolute; }
}

.site-header__inner { display: flex; align-items: center; gap: 12px; }

/* The logo pushes everything else (section nav + buttons) to the right as one group */
.site-header__brand { display: inline-flex; flex: none; margin-right: auto; border-radius: 12px; }
.logo {
  display: block;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: contain;
  /* Same blue as the logo image, so its rounded corners blend in with no light edge */
  background: var(--brand);
  box-shadow: 0 6px 16px -6px rgb(0 0 0 / 0.5);
}

.site-header__actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
}

/* Phones: a compact portal button (the header is the only place it appears).
   The Español flag sits last, so it keeps its place at the right edge. */
@media (max-width: 639.98px) {
  .site-header__actions { flex: 0 1 auto; min-width: 0; }
  .site-header__cta { padding: 4px 14px; font-size: 0.8125rem; line-height: 1.15; white-space: normal; text-align: center; }
}
@media (max-width: 479.98px) {
  .site-header__cta .icon { display: none; }
}

/* "Español" shows the flag only on small phones. The word stays in the page for screen readers. */
@media (max-width: 479.98px) {
  .site-header .btn--lang { width: 44px; padding: 0; }
  .site-header .btn--lang .btn__label {
    /* visually hidden */
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

.site-header .btn--lang { flex: none; }  /* never squashed, even at 320px */

/* Section nav (laptops and up); labels match the section headings */
.site-nav { display: none; }
.site-nav__list { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--nav-pad, 12px);
  border-radius: var(--r-sm);
  color: rgb(255 255 255 / 0.86);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.site-nav__link::after {
  /* amber underline on hover */
  content: "";
  position: absolute;
  left: var(--nav-pad, 12px);
  right: var(--nav-pad, 12px);
  bottom: 7px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}
.site-nav__link:hover { color: #fff; }
.site-nav__link:hover::after { transform: scaleX(1); }

/* em, not px: see the note on breakpoints at the top of this file */
@media (min-width: 60em) {
  .site-nav { display: block; margin-right: 12px; --nav-pad: 10px; }
}
/* Laptops (960–1199px): a tighter row, so the header still fits when a visitor
   increases letter and word spacing (WCAG 1.4.12). The portal button drops its arrow here. */
@media (min-width: 60em) and (max-width: 74.99em) {
  .site-header__inner { gap: 8px; }
  .site-nav { margin-right: 0; --nav-pad: clamp(6px, calc(3.4vw - 27px), 14px); }
  .site-nav__list { gap: 0; }
  .site-header__actions .btn--sm { padding-inline: 14px; }
  .site-header__cta .icon { display: none; }
}
@media (min-width: 75em) {
  .site-nav { --nav-pad: 14px; }
}


/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 176px) 0 calc(var(--slant) + 56px);
  color: #fff;
  /* Phones: skyline across the top, text on a deep navy fade below it */
  background:
    linear-gradient(180deg,
      rgb(4 14 31 / 0.66) 0,
      rgb(4 14 31 / 0.2) 96px,
      rgb(4 14 31 / 0.22) 170px,
      rgb(4 14 31 / 0.8) 262px,
      rgb(4 14 31 / 0.94) 360px,
      rgb(4 14 31 / 0.97) 100%),
    var(--hero-photo-sm) 58% 0 / auto 470px no-repeat,
    var(--navy-900);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
}

/* Tablets: photo fills the hero, navy strongest where the text sits (lower left) */
@media (min-width: 640px) {
  .hero {
    min-height: clamp(640px, 86svh, 860px);
    padding-top: calc(var(--header-h) + 200px);
    background:
      linear-gradient(180deg, rgb(4 14 31 / 0.6) 0, rgb(4 14 31 / 0) 150px),
      linear-gradient(8deg, rgb(4 14 31 / 0.96) 0%, rgb(5 18 38 / 0.9) 36%, rgb(8 28 58 / 0.5) 62%, rgb(10 36 72 / 0.34) 100%),
      url("assets/bg-hero.jpg") 64% 40% / cover no-repeat,
      var(--navy-900);
  }
}

/* Laptops and up: text on the left over a navy fade, skyline clear on the right */
@media (min-width: 960px) {
  .hero {
    align-items: center;
    min-height: clamp(620px, 94svh, 920px);
    padding-top: calc(var(--header-h) + 48px);
    background:
      linear-gradient(180deg, rgb(4 14 31 / 0.62) 0, rgb(4 14 31 / 0) 170px),
      linear-gradient(90deg, rgb(4 14 31 / 0.95) 0%, rgb(5 18 38 / 0.86) 32%, rgb(8 28 58 / 0.6) 58%, rgb(10 36 72 / 0.44) 100%),
      linear-gradient(0deg, rgb(4 14 31 / 0.8) 0%, rgb(4 14 31 / 0) 34%),
      url("assets/bg-hero.jpg") 62% 45% / cover no-repeat,
      var(--navy-900);
  }
}

/* Desktops: the text column is narrower relative to the screen, so the photo side
   can be lighter (and a more neutral navy) to let the skyline and bridge lights show */
@media (min-width: 1200px) {
  .hero {
    background:
      linear-gradient(180deg, rgb(4 14 31 / 0.55) 0, rgb(4 14 31 / 0) 150px),
      linear-gradient(90deg, rgb(4 14 31 / 0.95) 0%, rgb(5 18 38 / 0.86) 32%, rgb(6 20 40 / 0.6) 52%, rgb(6 20 40 / 0.36) 70%, rgb(6 20 40 / 0.3) 100%),
      linear-gradient(0deg, rgb(4 14 31 / 0.8) 0%, rgb(4 14 31 / 0) 34%),
      url("assets/bg-hero.jpg") 62% 45% / cover no-repeat,
      var(--navy-900);
  }
}

.hero__inner { position: relative; }

.hero__title {
  margin: 0 0 clamp(24px, 3vw, 36px);
  color: #fff;
  font-size: clamp(3.5rem, 1.4rem + 8.6vw, 8.75rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  word-spacing: 0.08em;
}
/* "LLC" in light blue; a gradient where the browser supports gradient text */
.hero__title-accent { color: var(--sky-300); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__title-accent {
    background: linear-gradient(100deg, #e0ecfc 0%, #a9cbf5 55%, #86b4ef 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.hero__lead {
  max-width: 35rem;
  margin: 0;
  padding-left: 18px;
  border-left: 3px solid var(--amber);
  color: rgb(255 255 255 / 0.94);
  font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3125rem);
  line-height: 1.6;
  /* keeps the text crisp over the odd bright light in the photo */
  text-shadow: 0 1px 2px rgb(4 14 31 / 0.55);
}

/* "Request access" (scrolls down to the contact form): full width on phones */
.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 32px;
}
.hero__cta .btn { white-space: normal; text-align: center; }  /* may wrap if text is enlarged */
.hero__cta .btn--light { align-self: stretch; justify-content: space-between; padding-left: 22px; text-align: left; }

@media (min-width: 640px) {
  .hero__lead { padding-left: 22px; }
  .hero__cta { flex-direction: row; flex-wrap: wrap; gap: 14px; margin-top: clamp(32px, 4vw, 48px); }
  .hero__cta .btn--light { align-self: auto; justify-content: center; padding-left: 26px; }
}

/* Hero artwork: frosted logo bars + a dotted amber flight path taking off between them.
   The box uses the same coordinates as the SVG viewBox (-50 -110 480 440), so the bars
   and the path always line up. Shown from 960px; hidden on smaller screens. */
.hero__art {
  --art-w: clamp(300px, 27vw, 440px);
  display: none;
  position: absolute;
  z-index: -1;
  /* Sits right of the One World Trade Center tower (about 67% across the photo), but the
     plane (at 96% of the box width) never goes more than about 120px past the content
     column on wide screens, and stays at least 56px clear of the screen edge. */
  top: 50%;
  left: min(69vw, calc(50% + 720px - 0.96 * var(--art-w)), calc(100% - 56px - 0.96 * var(--art-w)));
  width: var(--art-w);
  aspect-ratio: 480 / 440;
  translate: 0 -38%;
  pointer-events: none;
}
@media (min-width: 960px) {
  .hero__art { display: block; }
}

/* Glass panes: the logo bars, as % of the bars' 292 x 304 box (same shapes as #brand-bars) */
.hero__bar {
  position: absolute;
  left: 10.417%;      /*  50 / 480 */
  top: 25%;           /* 110 / 440 */
  width: 60.833%;     /* 292 / 480 */
  height: 69.091%;    /* 304 / 440 */
  background: linear-gradient(35deg, rgb(156 195 245 / 0.04) 10%, rgb(156 195 245 / 0.18) 100%);
  -webkit-backdrop-filter: blur(5px) saturate(135%);
  backdrop-filter: blur(5px) saturate(135%);
}
.hero__bar--1 { clip-path: polygon(0% 39.47%, 72.26% 0%, 72.26% 30.59%, 0% 70.39%); }
.hero__bar--2 {
  clip-path: polygon(27.74% 69.08%, 100% 29.28%, 100% 60.2%, 27.74% 100%);
  background: linear-gradient(35deg, rgb(38 95 166 / 0.08) 10%, rgb(38 95 166 / 0.32) 100%);
}

.hero__route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.hero__bar-edges {
  --bars-a: none;
  --bars-b: none;
  stroke: url(#hero-bar-edge);
  stroke-width: 0.8;
}
.hero__route-path {
  fill: none;
  stroke: rgb(244 180 92 / 0.9);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 0.1 10;
  vector-effect: non-scaling-stroke;
}
.hero__route-origin { fill: var(--navy-900); stroke: var(--amber); stroke-width: 2.5; }
.hero__route-plane { fill: var(--amber); }


/* ==========================================================================
   7. About Us + "Contact me" card
   ========================================================================== */
.about { padding-top: calc(var(--section-y) * 0.8); }

/* Phones and tablets: text, then the "Contact me" card below it.
   Laptops and up: text on the left, the card on the right. */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

.about__ceo {
  max-width: var(--measure);
  margin: 28px 0 0;
  padding-left: 20px;
  border-left: 3px solid var(--brand);
  color: var(--text);
}

.contact-card {
  container-type: inline-size;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.contact-card__head {
  display: flex;
  flex-wrap: wrap;   /* the route drops below the title only if text is greatly enlarged */
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 18px;
}
.contact-card__title {
  flex: none;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
/* Small dotted route with a plane, next to the "Contact me" title */
.contact-card__route {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  max-width: 220px;
  color: var(--brand);
}
.contact-card__dot {
  flex: none;
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.contact-card__dot--end { background: var(--amber); border-color: var(--amber); }
.contact-card__dash {
  flex: 1;
  height: 2px;
  background: radial-gradient(circle, currentColor 1px, transparent 1.6px) 0 50% / 7px 2px repeat-x;
  opacity: 0.55;
}
.contact-card__plane { flex: none; width: 20px; height: 20px; fill: currentColor; }

.contact-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 0;
}
@container (min-width: 540px) {
  .contact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Each tile is one big link: the <a>::after stretches over the whole tile */
.contact-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 68px;
  padding: 12px 46px 12px 70px;
  border-radius: var(--r-md);
  background: var(--tint);
  line-height: 1.3;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-item:hover {
  background: var(--tint-2);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.contact-item__label {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
}
.contact-item__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  translate: 0 -50%;
  border-radius: 12px;
  background: #fff;
  color: var(--brand);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgb(38 95 166 / 0.1);
  pointer-events: none;  /* clicks fall through to the tile's link */
  transition: background-color 0.2s ease, color 0.2s ease;
}
.contact-item:hover .contact-item__icon { background: var(--brand); color: #fff; }
.contact-item__value { margin: 0; min-width: 0; }
.contact-item__value a {
  color: var(--ink);
  font-size: 0.9875rem;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
  /* when keyboard focus scrolls a tile into view, keep the whole tile (and its ring) clear of the header */
  scroll-margin-top: 36px;
  scroll-margin-bottom: 16px;
}
.contact-item__value a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-md);
}
.contact-item:hover .contact-item__value a { color: var(--brand); }
.contact-item__value a:focus-visible { outline: none; }
.contact-item__value a:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 2px; }
.contact-item__go {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  translate: 0 -50%;
  color: #6a7f9e;        /* 3.7:1 on the tile */
  pointer-events: none;  /* the arrow is part of the link: clicks fall through to it */
  transition: color 0.2s ease, transform 0.25s var(--ease);
}
.contact-item:hover .contact-item__go { color: var(--brand); }

/* Small phones: slimmer side padding so "Message on WhatsApp" fits on one line */
@media (max-width: 479.98px) {
  .contact-item { padding: 12px 38px 12px 62px; }
  .contact-item__icon { left: 10px; }
  .contact-item__go { right: 12px; }
}
/* Very narrow card (320px screens): smaller icon chip and value text, for the same reason */
@container (max-width: 270px) {
  .contact-item { padding: 12px 30px 12px 54px; }
  .contact-item__icon { left: 8px; width: 36px; height: 36px; border-radius: 10px; }
  .contact-item__go { right: 10px; width: 16px; height: 16px; }
  .contact-item__value a { font-size: 0.875rem; }
}

/* The card sits in a wrapper that adds a dot grid behind its top-right corner
   and a small logo badge on its bottom-left corner (laptops and up). */
.about__aside { position: relative; isolation: isolate; }
.about__aside::before {
  content: "";
  display: none;
  position: absolute;
  z-index: -1;
  top: -24px;
  right: -24px;
  width: 124px;
  height: 124px;
  background-image: radial-gradient(rgb(38 95 166 / 0.32) 1.6px, transparent 1.8px);
  background-size: 14px 14px;
}
.about__badge {
  display: none;
  position: absolute;
  left: -22px;
  bottom: -22px;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--brand);
  box-shadow: var(--shadow-md);
  --bars-a: #fff;
  --bars-b: #fff;
}
.about__badge svg { width: 30px; height: 31px; }

@media (min-width: 960px) {
  .about__grid {
    grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr);
    column-gap: clamp(56px, 7vw, 104px);
    align-items: center;
  }
  .about__aside::before { display: block; }
  .about__badge { display: grid; }
}


/* ==========================================================================
   8. What We Do
   ========================================================================== */
.band--tint {
  background:
    radial-gradient(60% 50% at 100% 0%, rgb(38 95 166 / 0.07), transparent 70%),
    linear-gradient(180deg, var(--tint) 0%, #f7f9fd 100%);
  border-block: 1px solid var(--line);
}

.what { padding-bottom: 0; }
.what .title { margin-bottom: 28px; }
.what__grid { display: grid; gap: 20px; }

/* First sentence as a large statement */
.what__statement {
  max-width: 30ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.05rem + 1.3vw, 2.125rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.what__body {
  max-width: var(--measure);
  margin: 0;
  color: var(--text);
  line-height: 1.75;
}

/* Laptops: statement and body side by side in equal columns */
@media (min-width: 960px) {
  .what__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(48px, 6vw, 96px);
    align-items: start;
  }
  .what__body {
    padding-left: 28px;
    border-left: 2px solid var(--line-strong);
  }
}
/* Desktops: more room for the statement */
@media (min-width: 1200px) {
  .what__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}


/* ==========================================================================
   9. Key Benefits
   ========================================================================== */
.benefits { padding-top: clamp(64px, 7vw, 96px); }
.benefits .title { margin-bottom: 36px; }

.benefits__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* White tile: icon beside the text on phones, icon above the text from 640px */
.benefit {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.benefit__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  color: var(--brand);
  background: linear-gradient(145deg, #edf3fc, #dbe7f7);
  box-shadow: inset 0 0 0 1px rgb(38 95 166 / 0.12);
}
.benefit__icon .icon { width: 24px; height: 24px; }
.benefit__text {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;   /* a word wider than its card (very large text) wraps instead of widening the columns */
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* Lead tile: navy with the logo bars as a watermark */
.benefit--lead {
  overflow: hidden;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  min-height: 220px;
  padding: 26px;
  border-color: transparent;
  background:
    radial-gradient(80% 70% at 100% 0%, rgb(38 95 166 / 0.55), transparent 70%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  box-shadow: var(--shadow-md);
}
.benefit--lead .benefit__text {
  max-width: 18ch;
  text-wrap: balance;  /* even lines, no lone last word */
  color: #fff;
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.benefit--lead .benefit__icon {
  color: var(--amber);
  background: rgb(255 255 255 / 0.08);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18);
}
.benefit__bars {
  position: absolute;
  right: -40px;
  bottom: -52px;
  width: 230px;
  height: 240px;
  --bars-a: rgb(156 195 245 / 0.13);
  --bars-b: rgb(156 195 245 / 0.07);
  pointer-events: none;
}

@media (min-width: 640px) {
  .benefits__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .benefit {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 26px;
  }
  .benefit__icon { width: 52px; height: 52px; }
  .benefit__text { font-size: 1.125rem; line-height: 1.38; }
  .benefit--lead { grid-column: 1 / -1; min-height: 200px; gap: 32px; }
  .benefit__bars { right: 24px; bottom: -60px; width: 250px; height: 260px; }
}
@media (min-width: 960px) {
  .benefits__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
  .benefit { padding: 28px; }
  .benefit--lead { grid-column: 1; grid-row: 1 / span 2; min-height: 0; padding: 34px; }
  .benefit__bars { right: -44px; bottom: -56px; width: 280px; height: 292px; }
}


/* ==========================================================================
   10. Payments & Commissions / Support & Communication
   ========================================================================== */
.pair { padding-bottom: calc(var(--section-y) * 0.6); }  /* the contact band's slant adds its own space */
.pair__grid { display: grid; gap: 20px; }

.feature {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
  box-shadow: var(--shadow-sm);
}
.feature::before {
  /* amber tab on the top edge */
  content: "";
  position: absolute;
  top: 0;
  left: clamp(24px, 4vw, 48px);
  width: 64px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--amber);
}
.feature__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.feature__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #3a78c4 0%, var(--brand) 45%, var(--navy-700) 100%);
  box-shadow: 0 12px 26px -12px rgb(38 95 166 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.2);
}
.feature__icon .icon { width: 24px; height: 24px; }
.feature__title {
  min-width: 0;             /* long words may break rather than spill out of the card */
  margin: 0;
  overflow-wrap: break-word;
  hyphens: auto;
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.026em;
}
.feature__text {
  position: relative;
  z-index: 1;
  max-width: var(--measure);
  margin: 0;
  color: var(--text);
  line-height: 1.75;
}
.feature__bars {
  position: absolute;
  right: -40px;
  bottom: -46px;
  width: 190px;
  height: 198px;
  --bars-a: rgb(38 95 166 / 0.06);
  --bars-b: rgb(38 95 166 / 0.06);
  pointer-events: none;
}

@media (min-width: 640px) {
  .feature__head { gap: 18px; }
  .feature__icon { width: 56px; height: 56px; border-radius: 16px; }
  .feature__icon .icon { width: 26px; height: 26px; }
}
@media (min-width: 960px) {
  .pair__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}


/* ==========================================================================
   11. Contact Form band (dark, with the skyline)
   ========================================================================== */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--section-y) + var(--slant));
  color: #fff;
  background:
    radial-gradient(55% 70% at 90% 0%, rgb(38 95 166 / 0.45), transparent 70%),
    linear-gradient(180deg, rgb(7 26 51 / 0.92) 0%, rgb(7 26 51 / 0.8) 50%, rgb(4 14 31 / 0.92) 100%),
    var(--hero-photo-sm) 40% 55% / cover no-repeat,
    var(--navy-900);
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
}
@media (min-width: 640px) {
  .contact {
    background:
      radial-gradient(55% 70% at 90% 0%, rgb(38 95 166 / 0.45), transparent 70%),
      linear-gradient(90deg, rgb(7 26 51 / 0.94) 0%, rgb(7 26 51 / 0.84) 45%, rgb(7 26 51 / 0.72) 100%),
      linear-gradient(0deg, rgb(4 14 31 / 0.85) 0%, rgb(4 14 31 / 0) 40%),
      url("assets/bg-hero.jpg") 50% 62% / cover no-repeat,
      var(--navy-900);
  }
}

/* minmax(0, …): a long word (e.g. "¿Empezamos?" with enlarged text) wraps instead of widening the column */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }

/* "Ready to get started?": three numbered steps joined by a dotted line, like a flight route */
.steps {
  counter-reset: step;
  display: grid;
  gap: 22px;
  max-width: 32rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps__item {
  counter-increment: step;
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 18px;
  align-items: start;
}
/* at least as tall as a two-line step, so every connector shows a few dots */
.steps__item:not(:last-child) { min-height: 66px; }
.steps__item::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid transparent;   /* shows as an outline in Windows high-contrast mode */
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 5px rgb(38 95 166 / 0.28);
}
.steps__item:not(:last-child)::after {
  /* dotted connector from this circle down to the next one */
  content: "";
  position: absolute;
  left: 21px;            /* centre of the 44px circle */
  top: 54px;
  bottom: -14px;
  width: 2px;
  background: radial-gradient(circle, rgb(255 255 255 / 0.5) 1px, transparent 1.4px) 50% 0 / 2px 7px repeat-y;
}
.steps__text {
  margin: 0;
  padding-top: 9px;      /* lines the first line up with the middle of the circle */
  color: rgb(255 255 255 / 0.9);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.5;
}
.contact__more { margin: 36px 0 0; }

.form-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin: 0;
  padding: clamp(22px, 4vw, 44px);
  border-radius: var(--r-xl);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgb(255 255 255 / 0.1);
  --focus: var(--brand);
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field__label {
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}
.field__optional { color: var(--muted); font-weight: 500; }
.field__input {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 13px 16px;
  border: 1.5px solid var(--field-border);
  border-radius: 12px;
  background: #f7f9fc;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
textarea.field__input { min-height: 132px; resize: vertical; }
.field__input:hover { border-color: #5f6f88; background: #fff; }
/* Focus: blue border plus a solid blue ring just outside it */
.field__input:focus {
  border-color: var(--brand);
  background: #fff;
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.form-card__actions { padding-top: 4px; }

@media (min-width: 640px) {
  .form-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .contact__grid {
    grid-template-columns: 5fr 7fr;
    column-gap: clamp(56px, 7vw, 104px);
    align-items: center;
  }
}


/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer {
  padding: 22px 0;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  background: var(--navy-950);
  color: rgb(255 255 255 / 0.74);
  font-size: 0.875rem;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.site-footer__mark { display: block; width: 36px; height: 36px; border-radius: 9px; }
.site-footer__legal { margin: 0; line-height: 1.5; text-wrap: balance; }
/* The line prefers to break between the two parts. "reserved. | Privacy Policy" never breaks,
   so the "|" can never start or end a line; "All rights" may wrap only if text is enlarged. */
.site-footer__part { display: inline-block; text-wrap: balance; }
.site-footer__keep { white-space: nowrap; }
.site-footer__sep { margin: 0 8px; color: rgb(255 255 255 / 0.5); }
.site-footer a {
  display: inline-block;
  padding-block: 12px;
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.4);
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.site-footer a:hover { color: var(--amber-soft); text-decoration-color: currentColor; }

/* Phones with enlarged text: the link itself may wrap between "Privacy" and "Policy"
   (never next to the "|"); its padding still gives a 44px tap area. */
@media (max-width: 639.98px) {
  .site-footer__inner { align-items: safe center; }
  .site-footer__keep a { display: inline; white-space: normal; }
}

@media (min-width: 640px) {
  .site-footer__inner { flex-direction: row; justify-content: space-between; gap: 12px 24px; text-align: left; }
}


/* ==========================================================================
   13. Motion, reduced motion, forced colours
   ========================================================================== */

/* Hover lifts: only for real mouse pointers, and only if motion is welcome */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn--primary:hover,
  .btn--glass:hover { transform: translateY(-1px); }
  .btn--light:hover { transform: translateY(-2px); }
  .btn:hover .icon { transform: translate(2px, -2px); }
  .btn--scroll:hover .icon { transform: translateY(3px); }   /* "Request access" points down */
  .form-card__submit:hover .icon { transform: translate(3px, -3px) rotate(-6deg); }
  .contact-item:hover .contact-item__go { transform: translateX(3px); }
}

/* One-time entrance for the hero (content is fully visible without it) */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__title { animation: rise 0.7s var(--ease) 0.04s backwards; }
  .hero__lead { animation: rise 0.7s var(--ease) 0.14s backwards; }
  .hero__cta { animation: rise 0.7s var(--ease) 0.24s backwards; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Windows high-contrast / forced colours: plain text instead of gradient text,
   and visible borders on buttons */
@media (forced-colors: active) {
  .hero__title-accent {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: CanvasText;
  }
  /* solid system button face, so buttons keep their shape over the photos */
  .btn,
  .btn:hover { border: 1px solid ButtonText; background-color: ButtonFace; color: ButtonText; }
  /* cards keep a visible edge */
  .contact-item,
  .benefit,
  .feature,
  .form-card,
  .accred-card { border: 1px solid CanvasText; }
  /* drop the photo bands, so focus rings and text sit on plain Canvas */
  .hero,
  .contact { background-image: none; }
  .about__badge { display: none; }
}


/* ==========================================================================
   14. Accreditation (under the contact form): IATAN + ARC logos and certificates
   ========================================================================== */
.accred { background: var(--tint); }
.accred__head { max-width: 46rem; margin: 0 auto 40px; text-align: center; }
.accred__flag {
  display: block;
  width: 42px;
  height: 28px;
  margin: 0 auto 18px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.accred__title { margin-bottom: 14px; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.625rem); }
.accred__code { margin: 0; color: var(--text); font-size: 1.0625rem; }
.accred__number { color: var(--ink); font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }

/* Phones: one card per row. From 640px: the two side by side. */
.accred__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .accred__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.accred-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}
/* Logos share one row height so the two certificates line up */
.accred-card__logo { display: grid; place-items: center; height: 96px; }
.accred-card__logo img { width: auto; max-width: 100%; max-height: 96px; height: auto; }
.accred-card__logo img[src$="logo-arc.jpg"] { max-height: 57px; }

/* Certificate: click opens it full size */
.accred-card__cert {
  display: block;
  margin-top: auto;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
}
.accred-card__cert img { display: block; width: 100%; height: auto; }
.accred-card__cert:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .accred-card__cert img { transition: transform 0.35s var(--ease); }
  .accred-card__cert:hover img { transform: scale(1.02); }
}
