/* ============================================================================
   RevBIS — unified design system
   ----------------------------------------------------------------------------
   Visual language: high-contrast performance editorial.
     · one light canvas, deep navy ink and full-bleed navy blocks
     · mono micro-labels (eyebrows, tags, figures) + tight grotesque headlines
     · rectangular buttons with a 6px radius, hairline grids instead of shadows
     · product tile strips under statements, spotlight cards, giant stat bands
     · generous 7.5rem section rhythm

   Colour is 100% RevBIS, sampled from assets/logo-blue.png:
     deep navy #0b1e3f  +  cyan #04a1cc.

   The shared layer below is identical for both tracks. Each track only
   overrides its accent tokens, applied through [data-track]:

     <html data-track="hotelaria">   →  Hotelaria (cyan field)
     <html data-track="ti">          →  TI & Segurança (navy field)

   Adding a third product = adding one token block. No component forks.
   ============================================================================ */

/* ── Shared tokens ─────────────────────────────────────────────────────────── */
:root {
  /* RevBIS identity — the only two colours in the mark */
  --navy: #0b1e3f;
  --navy-2: #142847;
  --navy-3: #24314c;
  --cyan: #04a1cc;
  --cyan-bright: #38c5e8;
  --cyan-deep: #077ca0;
  --cyan-tint: #e6f4fa;
  --cyan-chip: #cbe9f4;
  --cyan-wash: #f1f9fc;
  --slate-tint: #e8edf5;
  --slate-wash: #f4f6fa;
  --grey: #f4f6f9;
  --grey-2: #eef1f6;

  /* Semantic */
  --ink: var(--navy);
  --ink-2: var(--navy-3);
  --text: var(--ink);
  --text2: #4a5a75;
  --text3: #62718a;
  --bg: #ffffff;
  --bg-rgb: 255,255,255;
  --bg2: var(--grey);
  --dark: var(--navy);
  --border: rgba(11,30,63,0.16);
  --border-soft: rgba(11,30,63,0.10);
  --on-dark: #ffffff;
  --on-dark-2: rgba(255,255,255,0.72);

  /* Geometry — rectangular CTAs, softly rounded cards */
  --radius-btn: 6px;
  --radius-card: 16px;
  --radius-tile: 8px;
  --radius-pill: 999px;
  --header-h: 68px;
  --max-width: 1280px;

  /* Motion */
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);

  /* Type stacks — grotesque for body, mono for micro-labels and figures */
  --font-sans: 'Söhne', 'soehne', -apple-system, BlinkMacSystemFont, 'SF Pro Display',
    'SF Pro Text', 'Helvetica Neue', 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas,
    'Liberation Mono', monospace;

  /* Brand-level accent (entry / shared pages) — cyan block, navy label */
  --accent: var(--cyan);
  --accent-hover: #0fb2dc;
  --accent-ink: var(--navy);
  --accent-light: var(--cyan-bright);
  --tint: var(--cyan-tint);           /* block surface */
  --tint-chip: var(--cyan-chip);      /* chip / badge fill */
  --tint-wash: var(--cyan-wash);      /* barely-there wash */

  --header-total: var(--header-h);
}

html:has(.announce) { --header-total: calc(var(--header-h) + 40px); }

/* ── Track theme: Hotelaria ────────────────────────────────────────────────── */
[data-track="hotelaria"] {
  --accent: var(--cyan);
  --accent-hover: #0fb2dc;
  --accent-ink: var(--navy);
  --accent-light: var(--cyan-bright);
  --tint: var(--cyan-tint);
  --tint-chip: var(--cyan-chip);
  --tint-wash: var(--cyan-wash);
}

/* ── Track theme: TI & Segurança ─────────────────────────────────────────────
   The second half of the identity — navy, the mark's dominant colour, on the
   sober field. Safe hands rather than a bright consumer hue. */
[data-track="ti"] {
  --accent: var(--navy);
  --accent-hover: var(--navy-2);
  --accent-ink: #ffffff;
  --accent-light: var(--cyan-bright);
  --tint: var(--slate-tint);
  --tint-chip: var(--cyan-chip);
  --tint-wash: var(--slate-wash);
}

/* ── Base ──────────────────────────────────────────────────────────────────── */
* { margin:0; padding:0; box-sizing:border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; }

/* Anchors clear the fixed header */
section[id] { scroll-margin-top: calc(var(--header-total) + 16px); }

/* ── Typography ────────────────────────────────────────────────────────────── */
h1,h2,h3,h4 {
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
}

h1 { font-size: clamp(2.6rem, 5.6vw, 4.25rem); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.875rem); line-height: 1.08; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.625rem); }
h4 { font-size: 1.0625rem; letter-spacing: -0.015em; }

p { color: var(--text2); }

/* Mono micro-label — the system's loudest whisper: eyebrows, tags, figures */
.eyebrow,
.mono,
.tag,
.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: block;
  color: var(--cyan-deep);
  margin-bottom: 1.1rem;
}

[data-track="ti"] .eyebrow { color: var(--text3); }

.eyebrow-dark { color: var(--accent-light); }

.mono { color: inherit; }

/* Inline label — reads as a technical marker, not a pastel chip */
.tag {
  display: inline-block;
  color: var(--cyan-deep);
  border: none;
  background: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 1rem;
}

.section-dark .tag,
.cta-section .tag,
.spotlight-card.dark .tag,
.band .tag { color: var(--accent-light); }

/* Highlighted word — cyan on both tracks (used sparingly) */
.grad-text {
  color: var(--cyan-deep);
}

.section-dark .grad-text,
.cta-section .grad-text,
.band .grad-text,
.spotlight-card.dark .grad-text,
.access-bar .grad-text {
  color: var(--cyan-bright);
}

/* ── Layout ────────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section { padding: 7.5rem 0; }

.section-tight { padding: 4rem 0 1rem; }

/* Tighter rhythm for utility pages (client area) */
.section-compact { padding: 5rem 0; }

.section-soft { background: var(--bg2); }

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

.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--on-dark); }
.section-dark p { color: var(--on-dark-2); }
.section-dark .eyebrow { color: var(--accent-light); }

/* Editorial left-aligned header; .section-head--center opts into the
   old centred rhythm where a moment calls for it (client area, CTA). */
.section-head {
  max-width: 720px;
  margin: 0 0 4rem;
  text-align: left;
}

.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 { margin-bottom: 1.15rem; }

/* ── Prose — long-form copy (about, contact, privacy) ──────────────────────── */
.prose { max-width: 46rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 {
  font-size: 1.5rem;
  margin: 2.75rem 0 1rem;
}
.prose p { margin-bottom: 1.1rem; line-height: 1.75; }
.prose ul { margin: 0 0 1.1rem 1.2rem; color: var(--text2); }
.prose li { margin-bottom: 0.4rem; line-height: 1.65; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a:not(.btn) {
  color: var(--cyan-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:not(.btn):hover { color: var(--cyan); }

.section-head p {
  font-size: 1.1875rem;
  line-height: 1.6;
  max-width: 620px;
}

.section-head--center p { margin-left: auto; margin-right: auto; }

.section-tight .section-head { margin-bottom: 0; }

/* ── Announcement bar ──────────────────────────────────────────────────────── */
.announce {
  background: var(--navy);
  color: #ffffff;
  height: 40px;
  display: flex;
  align-items: center;
}

.announce-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.3;
  text-align: center;
}

.announce a {
  font-weight: 600;
  white-space: nowrap;
  color: var(--cyan-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.announce a:hover { color: #ffffff; }

/* ── Buttons — rectangular, 6px radius ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn-lg { padding: 0.9rem 1.9rem; font-size: 1.0625rem; }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* Accent fill — the track's colour with its readable label */
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: var(--accent-hover); }

/* Deep navy fill — the anchor CTA on light canvas */
.btn-navy {
  background: var(--ink);
  color: var(--on-dark);
}
.btn-navy:hover { background: var(--navy-2); }

.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover { background: var(--grey-2); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(11,30,63,0.30);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--on-dark);
  border-color: var(--ink);
}

.section-dark .btn-outline,
.cta-section .btn-outline,
.band .btn-outline {
  color: var(--on-dark);
  border-color: rgba(255,255,255,0.32);
}
.section-dark .btn-outline:hover,
.cta-section .btn-outline:hover,
.band .btn-outline:hover {
  background: var(--on-dark);
  color: var(--ink);
  border-color: var(--on-dark);
}

.link-arrow {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  transition: opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.link-arrow span {
  transition: transform 0.3s var(--ease);
  font-size: 1.1em;
  line-height: 1;
}

.link-arrow:hover { border-bottom-color: currentColor; }
.link-arrow:hover span { transform: translateX(4px); }

.link-arrow-light { color: var(--ink); }

.section-dark .link-arrow-light,
.cta-section .link-arrow-light,
.band .link-arrow-light,
.spotlight-card.dark .link-arrow {
  color: var(--accent-light);
}

.band .link-arrow,
.cta-section .link-arrow { color: var(--on-dark); }

/* ── Header ────────────────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(var(--bg-rgb),0.88);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(var(--bg-rgb),0.98);
  box-shadow: 0 1px 0 rgba(11,30,63,0.06), 0 12px 32px rgba(11,30,63,0.06);
}

/* Header riding over the navy statement hero — dark glass, white type.
   Doubled class so it beats .header.scrolled in the cascade. */
.header.header--over-dark {
  background: rgba(11,30,63,0.82);
  border-bottom-color: rgba(255,255,255,0.12);
  box-shadow: none;
}

.header--over-dark .logo-img--on-light { display: none; }
.header--over-dark .logo-img--on-dark { display: block; }

.header--over-dark .logo-text { color: #ffffff; }

.header--over-dark .nav:not(.open) a { color: rgba(255,255,255,0.82); }

.header--over-dark .track-switch {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
}

.header--over-dark .track-switch a { color: rgba(255,255,255,0.75); }

.header--over-dark .track-switch a.is-active {
  background: #ffffff;
  color: var(--navy);
}

.header--over-dark .btn-navy {
  background: #ffffff;
  color: var(--navy);
}
.header--over-dark .btn-navy:hover { background: var(--cyan-tint); }

.header--over-dark .mobile-toggle span { background: #ffffff; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

/* The white mark only shows while the header rides the navy hero */
.logo-img--on-light { display: block; }
.logo-img--on-dark { display: none; }

.logo-text {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ink);
  opacity: 0.78;
  transition: opacity 0.2s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.nav a:hover { opacity: 1; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.login-link {
  font-size: 0.9375rem;
  color: var(--ink);
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.login-link:hover { opacity: 1; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.25s var(--ease);
  border-radius: 1px;
}

/* ── Track switcher — the audience router control, present on every page ───── */
.track-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.25rem;
  border-radius: var(--radius-tile);
  background: var(--grey-2);
  border: 1px solid var(--border-soft);
}

.track-switch a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text2);
  padding: 0.35rem 0.85rem;
  border-radius: 5px;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}

.track-switch a:hover { color: var(--ink); }

.track-switch a.is-active {
  background: var(--navy);
  color: #ffffff;
}

/* ── Hero — full-bleed statement stage ─────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
}

.hero.hero--stage {
  --rail-col: clamp(170px, 17vw, 300px);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--navy);
  color: #ffffff;
  padding-top: var(--header-total);
}

/* Bottom fade — the rails melt into the canvas on the fold line */
.hero--stage::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 15rem;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11,30,63,0) 0%, var(--navy) 84%);
}

/* ── Photo rails — rounded squares drifting along both edges ──────────────── */
.hero-rails {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  gap: 2.5rem;
  overflow: hidden;
}

.hero-rail--left {
  left: calc(-1 * (var(--rail-col) - clamp(32px, 3.6vw, 64px)));
}

.hero-rail--right {
  right: calc(-1 * (var(--rail-col) - clamp(32px, 3.6vw, 64px)));
}

.hero-rail-col {
  width: var(--rail-col);
  flex-shrink: 0;
}

.hero-rail-strip {
  display: flex;
  flex-direction: column;
}

.hero-rail-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 2.5rem;
  flex-shrink: 0;
}

/* The script stacks three copies of the set, so a single -33.333% shift
   loops the drift seamlessly even in very tall windows; adjacent columns
   alternate direction and speed. */
.hero-rail-strip.is-marquee {
  animation: rail-drift 96s linear infinite;
  will-change: transform;
}

.hero-rail--left .hero-rail-col--a .hero-rail-strip.is-marquee { animation-duration: 88s; }
.hero-rail--left .hero-rail-col--b .hero-rail-strip.is-marquee { animation-duration: 104s; animation-direction: reverse; }
.hero-rail--right .hero-rail-col--a .hero-rail-strip.is-marquee { animation-duration: 96s; animation-direction: reverse; }
.hero-rail--right .hero-rail-col--b .hero-rail-strip.is-marquee { animation-duration: 112s; }

@keyframes rail-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, -33.3333%, 0); }
}

/* The rails are desktop furniture — tablets and phones get a clean canvas */
@media (max-width: 1099px) {
  .hero-rails { display: none; }
}

/* ── Statement column ─────────────────────────────────────────────────────── */
.hero--stage .hero-inner {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2.5rem;
}

.hero--stage .hero-copy {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.hero--stage .hero-tag {
  display: inline-block;
  color: var(--cyan-bright);
  margin-bottom: 1.5rem;
}

/* Stacked statement — uppercase mono lines, one accent line */
.hero-stack {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.4vw, 4rem);
  letter-spacing: -0.01em;
  line-height: 0.98;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 2rem;
}

.hero-line { display: block; }

.hero-line--accent { color: var(--cyan-bright); }

.hero--stage .hero-lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 34rem;
  margin: 0 auto 2.5rem;
  color: rgba(255,255,255,0.75);
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero--stage .hero-buttons {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* CTAs on the navy stage */
.hero--stage .btn-primary { background: var(--cyan); color: var(--navy); }
.hero--stage .btn-primary:hover { background: var(--cyan-bright); }

.hero--stage .btn-outline {
  color: #ffffff;
  border-color: rgba(255,255,255,0.32);
}
.hero--stage .btn-outline:hover {
  background: #ffffff;
  color: var(--navy);
  border-color: #ffffff;
}

.hero--stage .resume-link {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border-color: rgba(255,255,255,0.24);
}
.hero--stage .resume-link:hover { background: rgba(255,255,255,0.16); }

/* ── Partner strip — logos riding the fold line ───────────────────────────── */
.hero-partners {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  padding: 1rem 0 1.75rem;
}

.hero-partners .trust-inner { gap: 1rem; }

.hero-partners .trust-label { color: rgba(255,255,255,0.55); }

.hero-partners .trust-logos img {
  filter: brightness(0) invert(1);
  opacity: 0.5;
}

.hero-partners .trust-logos img:hover {
  filter: brightness(0) invert(1);
  opacity: 1;
}

/* Compact stage for utility pages — the client area gets to the point */
.hero.hero--stage.hero-compact {
  min-height: 0;
  padding-top: calc(var(--header-total) + 5rem);
  padding-bottom: 5.5rem;
}

.hero--stage.hero-compact .hero-inner { padding: 0 2.5rem; }

/* ── Tile band — the modular strip sitting just below the hero ─────────────── */
.section-tile { padding: 5rem 0 0; }

/* ── Product tile strip — the modular row under the statement ──────────────── */
.tile-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  overflow: hidden;
}

/* Four-tile strip (hotelaria) — proportional columns on wide screens */
.tile-strip--4 { grid-template-columns: repeat(4, 1fr); }

.tile {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.4rem 1.35rem 1.5rem;
  background: #fff;
  min-height: 128px;
  transition: background 0.3s var(--ease);
}

.tile:hover { background: var(--tint-wash); }

.tile-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

[data-track="ti"] .tile-label { color: var(--ink); }

.tile-label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

.tile[data-track="ti"] .tile-label i { background: var(--navy); }
.tile[data-track="hotelaria"] .tile-label i { background: var(--cyan); }

.tile strong {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.3;
}

.tile span {
  font-size: 0.8125rem;
  color: var(--text3);
  line-height: 1.45;
}

.tile-arrow {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--ink);
  transition: transform 0.3s var(--ease);
}

.tile:hover .tile-arrow { transform: translateX(4px); }

/* ── Router cards (entry page) — one block per audience track ──────────────── */
.track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.track-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.track-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(11,30,63,0.10);
}

.track-card-media {
  height: 240px;
  overflow: hidden;
  position: relative;
  background: var(--bg2);
}

.track-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.track-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2rem 2.25rem 2.25rem;
}

.track-card .tag { color: var(--cyan-deep); }
.track-card[data-track="ti"] .tag { color: var(--text3); }

.track-card h3 {
  font-size: 1.625rem;
  margin-bottom: 0.7rem;
}

.track-card > .track-card-body > p,
.track-card-body > p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 1.9rem;
}

.track-card-list {
  display: grid;
  margin-bottom: 1.9rem;
}

.track-card-list > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--border-soft);
}

.track-card-list > div:first-child { border-top: none; padding-top: 0; }

.track-card-list strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.track-card-list span {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.5;
}

.track-card-note {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
  line-height: 1.6;
  margin-bottom: 1.9rem;
}

.track-card-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ── Spotlight cards — the two-up highlight row ────────────────────────────── */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.spotlight-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  padding: 2.75rem;
  min-height: 380px;
  overflow: hidden;
}

.spotlight-card.light {
  background: var(--tint);
  color: var(--ink);
}

[data-track="ti"] .spotlight-card.light { background: var(--slate-tint); }

.spotlight-card.dark {
  background: var(--navy);
  color: var(--on-dark);
}

.spotlight-card.dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 360px at 92% 8%, rgba(4,161,204,0.28), transparent 62%);
  pointer-events: none;
}

.spotlight-card > * { position: relative; z-index: 1; }

.spotlight-card h3 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  margin-bottom: 1rem;
  max-width: 460px;
}

.spotlight-card.dark h3 { color: var(--on-dark); }

.spotlight-card p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 1.75rem;
}

.spotlight-card.light p { color: var(--ink-2); }

.spotlight-card .spotlight-cta { margin-top: auto; }

/* Big figure inside a spotlight (e.g. the 24x7 claim) */
.spotlight-figure {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--cyan-deep);
  margin-bottom: 1.25rem;
}

.spotlight-card.dark .spotlight-figure { color: var(--cyan-bright); }

/* ── Stat band — the giant number + CTA moment ─────────────────────────────── */
.stat-band {
  background: var(--navy);
  color: var(--on-dark);
  overflow: hidden;
}

.stat-band-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6.5rem 2.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5rem;
  align-items: center;
}

.stat-big {
  font-family: var(--font-mono);
  font-size: clamp(4.5rem, 11vw, 8.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: #ffffff;
}

.stat-big small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  margin-top: 1.25rem;
}

.stat-copy h2 {
  color: var(--on-dark);
  margin-bottom: 1rem;
  max-width: 560px;
}

.stat-copy p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--on-dark-2);
  max-width: 560px;
  margin-bottom: 2rem;
}

.stat-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Full-bleed band ───────────────────────────────────────────────────────── */
.band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72vh;
  overflow: hidden;
  background: var(--dark);
}

.band-media {
  position: absolute;
  inset: 0;
}

.band-media img,
.band-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Pre-scaled so the parallax drift never exposes an edge */
  transform: scale(1.14);
}

/* The clip fades in over its poster once it is genuinely rendering frames */
.band-media video {
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}

.band-media video.is-live { opacity: 1; }

.band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,30,63,0.90) 0%, rgba(11,30,63,0.62) 55%, rgba(11,30,63,0.2) 100%);
  pointer-events: none;
}

.band-copy {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8rem 2.5rem;
  width: 100%;
}

.band-copy .eyebrow { color: var(--cyan-bright); }

.band-copy h2 {
  color: var(--on-dark);
  margin-bottom: 1.25rem;
  max-width: 640px;
}

.band-copy p {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.band .link-arrow { color: var(--on-dark); }

/* ── Split layout (image + copy) ───────────────────────────────────────────── */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.split-media { margin: 0; }

.split-media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-card);
}

.split-copy h2 { margin-bottom: 1.15rem; }

.split-copy > p {
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.split-list { display: grid; gap: 0; }

.split-list > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-soft);
}

.split-list > div:first-child { border-top: none; padding-top: 0; }

.split-list strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.split-list span {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.5;
}

/* Dark split (About) */
.about-section { background: var(--dark); }

.about-section .split-media img {
  border: 1px solid rgba(255,255,255,0.14);
}

.about-section .split-copy h2 { color: var(--on-dark); }

.about-section .split-copy > p { color: var(--on-dark-2); }

.about-section .advantage-stats { margin-top: 0.5rem; }

/* Split with the media on the left (About / mirrored moments) */
.split-flip .split-copy { order: 2; }
.split-flip .split-media { order: 1; }

/* ── Trust strip ───────────────────────────────────────────────────────────── */
.trust-strip {
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 2rem 0;
  overflow: hidden;
}

.trust-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
}

/* Fade the marquee edges once the script has taken over */
.trust-inner.has-marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.trust-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text3);
  white-space: nowrap;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Marquee — the script duplicates the set, so -50% loops seamlessly.
   Spacing lives on margin-right (not gap) so half the track is exactly
   one full set of logos. */
.trust-logos.is-marquee {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0;
  width: max-content;
  will-change: transform;
  animation: marquee 48s linear infinite;
}

.trust-logos.is-marquee img { margin-right: 3rem; }

.trust-logos.is-marquee:hover { animation-play-state: paused; }

.trust-logos img {
  height: 26px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: all 0.3s var(--ease);
}

.trust-logos img:hover { filter: none; opacity: 1; }

/* ── FAQ — hairline accordion ──────────────────────────────────────────────── */
.faq-list {
  max-width: 860px;
  border-top: 1px solid var(--border);
}

.faq-item { border-bottom: 1px solid var(--border-soft); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.6rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: opacity 0.2s ease;
}

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

.faq-item summary:hover { opacity: 0.65; }

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  transition: transform 0.35s var(--ease);
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  max-width: 720px;
  padding-bottom: 1.75rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text2);
  border: none;
}

.faq-item p a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-item p a:hover { opacity: 0.65; }

/* ── Steps (Como Atuamos) — editorial timeline ─────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border-soft);
}

.step-card {
  padding: 2.5rem 2.5rem 1.5rem 0;
  border-top: 1px solid var(--border-soft);
}

.step-card + .step-card { border-left: 1px solid var(--border-soft); padding-left: 2.5rem; }

.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cyan-deep);
  margin-bottom: 1.25rem;
}

[data-track="ti"] .step-num { color: var(--text3); }

.step-card h3 { font-size: 1.25rem; margin-bottom: 0.45rem; }

.step-card p { font-size: 0.9rem; line-height: 1.55; color: var(--text2); }

/* ── Sectors — editorial index rows ────────────────────────────────────────── */
.sectors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border-soft);
}

.sector-card {
  padding: 1.6rem 2.5rem 1.6rem 0;
  border-top: 1px solid var(--border-soft);
  margin-right: 2.5rem;
  position: relative;
  transition: padding-left 0.35s var(--ease);
}

.sector-card:nth-child(even) {
  margin-right: 0;
  padding-left: 2.5rem;
  border-left: 1px solid var(--border-soft);
}

.sector-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.25s ease;
}

.sector-card h3::after {
  content: '›';
  font-weight: 300;
  color: var(--ink);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.35s var(--ease);
}

.sector-card:hover h3::after { opacity: 1; transform: translateX(0); }

.sector-card p { font-size: 0.9375rem; line-height: 1.55; max-width: 420px; }

/* ── Allocation / impact — numbered rows ───────────────────────────────────── */
.allocation-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: alloc;
  border-bottom: 1px solid var(--border-soft);
}

.allocation-item {
  padding: 2rem 2.5rem 1.5rem 0;
  border-top: 1px solid var(--border-soft);
  counter-increment: alloc;
}

.allocation-item + .allocation-item { border-left: 1px solid var(--border-soft); padding-left: 2.5rem; }

.allocation-item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.allocation-item strong::before {
  content: counter(alloc, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cyan-deep);
  margin-bottom: 0.8rem;
}

[data-track="ti"] .allocation-item strong::before { color: var(--text3); }

.allocation-item span {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.55;
}

/* ── Services grid (TI) — editorial cards ──────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-tile);
  padding: 2rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  counter-increment: proj;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(11,30,63,0.10);
  background: var(--slate-wash);
}

.project-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.project-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text2);
}

.project-card::before {
  content: counter(proj, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text3);
  margin-bottom: 2.5rem;
}
.projects-grid { counter-reset: proj; }

/* ── Report row — governance typographic columns ───────────────────────────── */
.report-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  counter-reset: rep;
  border-bottom: 1px solid var(--border-soft);
}

.report-card {
  padding: 2rem 2.5rem 1.5rem 0;
  border-top: 1px solid var(--border-soft);
  counter-increment: rep;
}

.report-card + .report-card { border-left: 1px solid var(--border-soft); padding-left: 2.5rem; }

.report-card h3 {
  color: var(--ink);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.report-card h3::before {
  content: counter(rep, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text3);
  margin-bottom: 0.8rem;
}

.report-card p { font-size: 0.9rem; line-height: 1.6; }

/* ── Logo wall — editorial grid ────────────────────────────────────────────── */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--border-soft);
}

.logo-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 1rem;
  border-top: 1px solid var(--border-soft);
  border-left: 1px solid var(--border-soft);
  transition: background 0.3s var(--ease);
}

.logo-chip:nth-child(5n+1) { border-left: none; }

.logo-chip:hover { background: #fff; }

.logo-chip img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(1);
  opacity: 0.7;
  transition: all 0.3s var(--ease);
}

.logo-chip:hover img { filter: none; opacity: 1; }

.logo-chip span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

.logo-chip small {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text3);
  text-align: center;
  margin-top: 0.15rem;
}

/* ── CTA block ─────────────────────────────────────────────────────────────── */
.cta-section {
  background:
    radial-gradient(1000px 520px at 50% 0%, rgba(4,161,204,0.22), transparent 62%),
    var(--dark);
}

/* Dark section over a photographic backdrop. The photo is passed inline as
   --photo, so the overlay can layer without killing the accent glow the way an
   inline `background-image` shorthand did. */
.section-photo {
  background-image:
    linear-gradient(rgba(5,7,13,0.78), rgba(5,7,13,0.9)),
    var(--photo);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Photo + the CTA's radial accent glow, layered under the scrim */
.section-photo.cta-section {
  background-image:
    radial-gradient(1000px 500px at 50% 0%, rgba(var(--accent-rgb),0.26), transparent 60%),
    linear-gradient(rgba(5,7,13,0.8), rgba(5,7,13,0.9)),
    var(--photo);
}

.cta-block {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.cta-block h2 {
  color: var(--on-dark);
  margin-bottom: 1.15rem;
}

.cta-block p {
  font-size: 1.1875rem;
  line-height: 1.55;
  margin-bottom: 2.5rem;
}

.cta-block .product-links { margin-bottom: 0; justify-content: center; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: var(--on-dark);
  padding: 5rem 0 2rem;
  font-size: 0.8125rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}

.footer-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo span {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--on-dark);
  letter-spacing: -0.02em;
}

.footer-brand p {
  font-size: 0.8125rem;
  color: var(--on-dark-2);
  line-height: 1.6;
  max-width: 320px;
}

.footer-address {
  font-style: normal;
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-top: 1.4rem;
}

.footer-address strong {
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}

.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  margin-bottom: 1.15rem;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.72);
  margin-bottom: 0.7rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  gap: 1rem;
}

/* ── Form embed ────────────────────────────────────────────────────────────── */
.zoho-form-wrap {
  max-width: 720px;
  margin: 2.5rem auto 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.42);
}

.zoho-form-wrap iframe {
  display: block;
  width: 100%;
  height: 760px;
  border: 0;
  background: #fff;
}

/* ── Product rows (Hotelaria products) — alternating editorial splits ──────── */
.product-block { border-top: 1px solid var(--border-soft); }

.product-block:first-of-type { border-top: none; }

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.product-row .product-copy { order: 1; }
.product-row .product-media { order: 2; }

/* Flipped row: media left, copy right */
.product-row.flip .product-copy { order: 2; }
.product-row.flip .product-media { order: 1; }

.product-copy h2 { margin-bottom: 1rem; }

.product-copy > p {
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 520px;
}

.product-list { display: grid; }

.product-list > div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-soft);
}

.product-list > div:first-child { border-top: none; padding-top: 0; }

.product-list strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.product-list span {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.55;
}

.product-media { margin: 0; }

.product-media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.product-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ── Feature grid with hairline dividers ───────────────────────────────────── */
.product-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-tile);
  overflow: hidden;
  background: #fff;
}

.pf-item {
  padding: 1.75rem;
  border-left: 1px solid var(--border-soft);
}

.pf-item:first-child { border-left: none; }

.pf-item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.pf-item span {
  font-size: 0.85rem;
  color: var(--text2);
  line-height: 1.55;
}

/* ── Advantage (dark) — editorial hairline stats ───────────────────────────── */
.advantage-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.advantage-content h2 { margin-bottom: 1.5rem; }

.advantage-content p {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

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

.adv-stat {
  padding: 1.5rem 2rem 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.16);
}

.adv-stat:nth-child(even) {
  padding-left: 2rem;
  border-left: 1px solid rgba(255,255,255,0.16);
}

.adv-stat-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--on-dark);
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}

.adv-stat-text {
  font-size: 0.875rem;
  color: var(--on-dark-2);
  line-height: 1.45;
}

/* ── Cross-track band — "you may also need the other product" ──────────────── */
.cross-track { border-top: 1px solid var(--border-soft); }

.cross-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.cross-inner > div:first-child { max-width: 640px; }

.cross-inner h2 { margin-bottom: 0.7rem; }

.cross-inner p {
  font-size: 1.0625rem;
  line-height: 1.6;
}

.cross-inner .btn { flex-shrink: 0; }

/* ── Platform access bar — existing hospitality customers ──────────────────── */
.access-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--border-soft);
  padding: 1.4rem 0;
}

.access-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.access-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.access-copy strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.access-copy span {
  font-size: 0.85rem;
  color: var(--text2);
  line-height: 1.5;
  max-width: 560px;
}

.access-inner .btn { flex-shrink: 0; }

/* ── Gallery — editorial mosaic ────────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 208px;
  gap: 1.25rem;
}

.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--bg2);
}

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Navy scrim keeps the caption legible over any photograph */
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,30,63,0) 42%, rgba(11,30,63,0.9) 100%);
  pointer-events: none;
}

.gallery-item figcaption {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.25rem;
  z-index: 2;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── "Continue where you left off" — shown by JS for returning visitors ────── */
.resume-link {
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--tint-wash);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-btn);
  padding: 0.7rem 1.15rem;
  transition: background 0.25s var(--ease);
}
.resume-link:hover { background: var(--tint); }
.resume-link:not([hidden]) { display: inline-flex; }

/* ── Media treatment ───────────────────────────────────────────────────────── */
.product-media,
.split-media,
.track-card-media {
  overflow: hidden;
  position: relative;
}

.track-card-media img,
.gallery-item img,
.product-media img,
.split-media img { transition: transform 1.1s var(--ease); }

.product-media:hover img,
.split-media:hover img,
.track-card:hover .track-card-media img,
.gallery-item:hover img { transform: scale(1.045); }

/* ── Animations ────────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

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

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .tile-strip { grid-template-columns: repeat(3, 1fr); }
  .tile-strip--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .header-inner { gap: 1rem; }
  .nav { gap: 1.35rem; }
  .track-switch a { padding: 0.35rem 0.7rem; font-size: 0.78rem; }
  .container, .header-inner, .hero-inner, .hero--stage .hero-inner, .announce-inner,
  .trust-inner, .access-inner, .stat-band-inner, .band-copy { padding-left: 1.75rem; padding-right: 1.75rem; }
}

@media (max-width: 1000px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-card:nth-child(3) { border-left: none; padding-left: 0; }
  .allocation-list { grid-template-columns: 1fr 1fr; }
  .allocation-item:nth-child(3) { border-left: none; padding-left: 0; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .logo-chip { border-left: 1px solid var(--border-soft); }
  .logo-chip:nth-child(3n+1) { border-left: none; }
  .spotlight-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .advantage-layout { grid-template-columns: 1fr; gap: 3rem; }
  .product-features { grid-template-columns: 1fr 1fr; }
  .pf-item { border-top: 1px solid var(--border-soft); }
  .pf-item:nth-child(odd) { border-left: none; }
  .pf-item:nth-child(-n+2) { border-top: none; }

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

  .split-layout { grid-template-columns: 1fr; gap: 3rem; }
  .split-flip .split-copy { order: 1; }
  .split-flip .split-media { order: 2; }
  .split-media img { height: 340px; }

  .product-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-row .product-copy,
  .product-row.flip .product-copy { order: 1; }
  .product-row .product-media,
  .product-row.flip .product-media { order: 2; }
  .product-media img { height: 340px; }

  .band { min-height: 60vh; }
  .band-copy { padding: 5rem 1.75rem; }

  .stat-band-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 5rem 1.75rem; }

  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide { grid-column: span 1; }

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

  .report-row { grid-template-columns: 1fr; }
  .report-card { border-top: none; padding: 1.5rem 0 0; }
  .report-card + .report-card {
    border-left: none;
    border-top: 1px solid var(--border-soft);
    padding: 1.5rem 0 0;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: var(--header-total);
    left: 0; right: 0;
    background: rgba(var(--bg-rgb),0.98);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1rem; }
  .mobile-toggle { display: block; }

  /* The track switcher stays visible — it is the router, not decoration */
  .header-cta .btn,
  .header-cta .login-link { display: none; }
  .track-switch a { font-size: 0.72rem; padding: 0.3rem 0.6rem; }

  .announce-inner { font-size: 0.72rem; gap: 0.35rem; padding: 0 1rem; }

  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; }

  .tile-strip { grid-template-columns: 1fr 1fr; }
  .tile { min-height: 112px; }

  .section { padding: 4rem 0; }
  .section-head { margin-bottom: 2.5rem; }
  .section-head p { font-size: 1.0625rem; }

  .track-card-body { padding: 1.75rem; }
  .track-card-list > div { grid-template-columns: 1fr; gap: 0.25rem; }

  .cross-inner { flex-direction: column; align-items: flex-start; gap: 1.75rem; }

  .access-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }

  .product-list > div { grid-template-columns: 1fr; gap: 0.25rem; }
  .product-features { grid-template-columns: 1fr; }
  .pf-item { border-left: none; }
  .pf-item:first-child { border-top: none; }

  .spotlight-card { padding: 2rem; min-height: 0; }

  .faq-item summary { font-size: 1rem; padding: 1.35rem 0; gap: 1rem; }

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

  .steps-grid { grid-template-columns: 1fr; }
  .step-card,
  .step-card:nth-child(3) { border-left: none; padding-left: 0; }
  .sectors-grid { grid-template-columns: 1fr; }
  .sector-card,
  .sector-card:nth-child(even) {
    margin-right: 0;
    padding-left: 0;
    border-left: none;
  }
  .allocation-list { grid-template-columns: 1fr; }
  .allocation-item,
  .allocation-item:nth-child(3) { border-left: none; padding-left: 0; }
  .split-list > div { grid-template-columns: 1fr; gap: 0.25rem; }
  .trust-inner { flex-direction: column; gap: 1.25rem; }
  .trust-logos { justify-content: center; }

  .advantage-stats { grid-template-columns: 1fr; }
  .adv-stat,
  .adv-stat:nth-child(even) { padding-left: 0; border-left: none; }

  .logo-wall { grid-template-columns: 1fr 1fr; }
  .logo-chip { border-left: 1px solid var(--border-soft); }
  .logo-chip:nth-child(2n+1) { border-left: none; }

  .gallery { grid-auto-rows: 155px; gap: 0.85rem; }
  .gallery-item figcaption { left: 1rem; right: 1rem; bottom: 0.9rem; }

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

  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .stat-actions .btn { width: 100%; }
  .stat-actions { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
  .tile-strip { grid-template-columns: 1fr; }
  .logo-text { display: none; }
}

/* Stat band — the four proof points sit as hairline columns under the claim */
.stat-band .advantage-stats {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem 5rem;
  grid-template-columns: repeat(4, 1fr);
}

.stat-band .advantage-stats .adv-stat { padding: 1.5rem 2rem 1rem 0; }

.stat-band .advantage-stats .adv-stat + .adv-stat {
  border-left: 1px solid rgba(255,255,255,0.16);
  padding-left: 2rem;
}

@media (max-width: 1100px) {
  .stat-band .advantage-stats { padding-left: 1.75rem; padding-right: 1.75rem; }
}

@media (max-width: 768px) {
  .stat-band .advantage-stats { grid-template-columns: 1fr; }
  .stat-band .advantage-stats .adv-stat + .adv-stat {
    border-left: none;
    padding-left: 0;
  }
}

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

  /* A frozen marquee would sit half-scrolled; drop back to a static row */
  .trust-logos.is-marquee {
    animation: none !important;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
  .trust-logos.is-marquee img.is-clone { display: none; }
  .trust-logos.is-marquee img { margin-right: 0; }
  .trust-inner.has-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .band-media img { transform: none !important; }
  .product-media:hover img,
  .split-media:hover img,
  .gallery-item:hover img,
  .track-card:hover .track-card-media img { transform: none !important; }
}

/* ── Tiles + panels — responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .tile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .split-panel { padding: 1.75rem; }
  .tile { padding: 2rem; }
}
