/* MSS Adjusters v4 — styles.css
   Design language: Institutional B2B authority — typography-first, teal brand accent
   Skills: high-end-visual-design · impeccable · design-taste-frontend · emil-design-eng · brandkit
   Font: Montserrat (headings) · Barlow (body) — Inter banned (reflex-reject)
   Palette: cool-tinted neutrals anchored to teal #00b8a9 + navy #0b1829
*/

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

/* ── CUSTOM SCROLLBAR ─────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #0b1829; }
::-webkit-scrollbar-thumb { background: #00b8a9; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #00d4c4; }
* { scrollbar-width: thin; scrollbar-color: #00b8a9 #0b1829; }

:root {
  /* ── Brand palette ── */
  --accent:    #00b8a9;
  --accent-d:  #008a82;
  --accent-l:  #e8faf8;
  --black:     #080d12;
  --navy:      #0b1829;
  --dark:      #0f1f30;
  --white:     #ffffff;
  --off:       #f5f8fa;   /* cool off-white — slight blue tint */
  --text:      #18202e;   /* navy-tinted dark text */
  --mid:       #576070;   /* cool mid gray */
  --border:    #dce4ed;   /* cool light border */
  --border-d:  #c8d4e0;
  --surface:   #f0f4f8;   /* card surface */
  --sp:        clamp(80px, 9vw, 120px);

  /* ── Emil Kowalski easing — strong, intentional ── */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Shadows — no harsh drop shadows (high-end-visual-design) ── */
  --shadow-sm:   0 1px 3px rgba(8,13,18,0.06), 0 1px 2px rgba(8,13,18,0.04);
  --shadow-md:   0 4px 16px rgba(8,13,18,0.08), 0 2px 6px rgba(8,13,18,0.04);
  --shadow-lg:   0 12px 40px rgba(8,13,18,0.10), 0 4px 12px rgba(8,13,18,0.06);
  --shadow-glow: 0 0 0 3px rgba(0,184,169,0.15);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Global focus ring (impeccable: a11y) ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Reduced motion (impeccable: a11y) ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── PAGE-LOAD BAR / TOP PROGRESS (Feature 2) ──── */
.plb {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0;
  background: var(--accent);
  z-index: 9999;
  transition: width .3s var(--ease-out), opacity .4s ease;
  pointer-events: none;
  box-shadow: 0 0 8px var(--accent), 0 0 4px rgba(0,184,169,.4);
}

/* ── TOPBAR — hidden homepage (merged into unified navbar) ── */
.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 7px 52px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .74rem; color: var(--mid);
  position: relative; z-index: 600;
}
body.page-home .topbar { display: flex; }
.tb-left  { display: flex; gap: 14px; align-items: center; }
.tb-divider { color: var(--border); }
.tb-left a { color: var(--mid); text-decoration: none; transition: color .2s; }
.tb-left a:hover { color: var(--accent); }
.tb-right { display: flex; align-items: center; }

/* Language dropdown */
.lang-drop { position: relative; }
.lang-sel {
  display: flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--border);
  padding: 5px 12px;
  color: var(--text); font-size: .74rem;
  font-family: 'Montserrat', sans-serif; font-weight: 600; letter-spacing: .3px;
  cursor: pointer; user-select: none;
  transition: border-color .2s;
}
.lang-sel:hover { border-color: var(--accent); }
.flag-cur { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; display: block; flex-shrink: 0; }
.flag-img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; display: block; flex-shrink: 0; }
.lang-caret { color: var(--mid); transition: transform .2s; flex-shrink: 0; }
.lang-drop.open .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  min-width: 170px;
  box-shadow: var(--shadow-md);
  display: none; z-index: 600;
}
.lang-drop.open .lang-menu { display: block; }
.lang-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px;
  cursor: pointer; font-size: .78rem;
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  color: var(--mid);
  border-bottom: 1px solid var(--border);
  transition: background .15s, color .15s;
}
.lang-opt:last-child { border-bottom: none; }
.lang-opt:hover  { background: var(--off); color: var(--navy); }
.lang-opt.active { color: var(--accent); }
.lang-opt-label  { font-size: .78rem; }

/* ── NAVBAR ────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 500;
  background: var(--white);
  padding: 0 52px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }

/* Unified navbar (homepage) — single bar with micro contact row */
body.page-home .navbar { height: 70px; padding: 0 52px; gap: 32px; }

/* Brand block (logo + contact micro-line) */
.nav-brand { display: flex; flex-direction: column; gap: 5px; flex-shrink: 0; }
.nav-contact-micro {
  display: flex; align-items: center; gap: 9px;
  font-size: 11px; color: var(--mid); line-height: 1;
}
.nav-contact-micro a { color: var(--mid); text-decoration: none; transition: color 150ms; }
.nav-contact-micro a:hover { color: var(--accent); }
.nav-contact-micro span { color: var(--border); }

/* Right actions block */
.nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

/* ── MEGA MENU ──────────────────────────────────── */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 40px 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  opacity: 0; pointer-events: none;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
  z-index: 400;
}
/* navbar es el contenedor para centrar el dropdown */
.navbar { position: relative; }
.nav-links li.has-mega { position: static; }
.nav-links li.has-mega:hover .mega-menu {
  opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0);
}
/* Servicios: 62% de pantalla, centrado */
.nav-links .mega-menu {
  width: 62vw;
  min-width: 600px;
}
.mega-col { display: flex; flex-direction: column; }
.mega-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem; font-weight: 700;
  color: var(--black); letter-spacing: .5px;
  text-transform: uppercase; margin-bottom: 10px;
}
.mega-col-rule { width: 100%; height: 1.5px; background: var(--accent); margin-bottom: 16px; }
.mega-col a {
  display: block;
  font-size: .84rem; color: var(--mid);
  text-decoration: none; padding: 7px 0;
  border-bottom: 1px solid transparent;
  transition: color 150ms, padding-left 150ms;
}
.mega-col a:hover { color: var(--accent); padding-left: 6px; }

/* ── Quiénes Somos: mega-menu 2 columnas, 55% de pantalla, centrado ── */
.mega-menu.qs-mega,
.mega-menu.eq-mega {
  width: 55vw;
  min-width: 480px;
  max-width: 780px;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  padding: 32px 52px 36px;
}

.nav-logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem; font-weight: 800;
  color: var(--navy); letter-spacing: 2px; text-transform: uppercase;
}
.nav-logo-name .dot { color: var(--accent); }
.nav-logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: .52rem; color: var(--mid);
  letter-spacing: 3px; text-transform: uppercase; margin-top: 3px;
}

.nav-links {
  display: flex; align-items: center; list-style: none;
}
.nav-links li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 5px;
  height: 68px; line-height: 68px; padding: 0 15px;
  color: var(--navy); text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .8px; text-transform: uppercase;
  white-space: nowrap; position: relative;
  transition: color .2s;
}
.nav-links > li > a::after {
  content: '';
  position: absolute; top: 0; left: 15px; right: 15px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform .25s;
}
.nav-links > li > a:hover { color: var(--accent); }
.nav-links > li > a:hover::after { transform: scaleX(1); }

.nav-links li.has-sub > a .arr { transition: transform .2s; color: var(--mid); }
.nav-links li.has-sub:hover > a .arr { transform: rotate(180deg); }

.sub-menu {
  position: absolute; top: 100%; left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  min-width: 220px;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s;
  z-index: 400;
}
.nav-links li.has-sub:hover .sub-menu {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.sub-menu li { border-bottom: 1px solid var(--border); }
.sub-menu li:last-child { border-bottom: none; }
.sub-menu a {
  display: block; padding: 13px 20px;
  color: var(--mid);
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem; font-weight: 600; letter-spacing: .5px;
  text-decoration: none;
  transition: color .2s, background .2s;
}
.sub-menu a:hover { color: var(--accent); background: var(--off); }

.nav-cta { display: flex; align-items: center; }
.btn-nav {
  background: var(--accent); color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: .67rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 13px 28px; text-decoration: none;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(0,184,169,0.4);
  transition: background 200ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 160ms var(--ease-out);
  white-space: nowrap; cursor: pointer; border: none;
}
@media (hover: hover) and (pointer: fine) { .btn-nav:hover { background: var(--accent-d); } }
.btn-nav:active { transform: scale(0.97); }

.hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 6px; flex-direction: column; gap: 5px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); transition: transform 280ms var(--ease-out), opacity 200ms; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mob-nav {
  display: none; position: fixed; inset: 0;
  background: var(--dark); z-index: 450;
  padding: 80px 40px 40px; flex-direction: column; overflow-y: auto;
}
.mob-nav.open { display: flex; }
.mob-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: var(--white); font-size: 1.4rem; cursor: pointer;
}
.mob-nav a {
  display: block; padding: 17px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: rgba(255,255,255,.7); text-decoration: none;
  font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
}
.mob-nav a:hover { color: var(--accent); }
.mob-cta {
  margin-top: 28px;
  background: var(--accent); color: var(--white) !important;
  font-size: .8rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 16px; text-align: center;
  text-decoration: none; display: block; border: none !important;
  border-radius: 100px;
}

/* ─────────────────────────────────────────────────────
   SITE HEADER — sticky two-level wrapper
───────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
}

/* Level 1 — topbar */
.h-topbar {
  height: 32px;
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
  padding: 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.h-topbar-left {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: #999999; font-family: 'Barlow', sans-serif;
}
.h-topbar-left a {
  color: #999999; text-decoration: none;
  transition: color .15s;
}
.h-topbar-left a:hover { color: var(--accent); }
.h-tb-sep { color: #dddddd; }
.h-topbar-right {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: #555555;
}
.h-portal-link {
  color: #555555; text-decoration: none; font-size: 11px;
  transition: color .15s;
}
.h-portal-link:hover { color: var(--accent); }

/* Level 2 — main nav */
.h-mainnav {
  height: 64px;
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  padding: 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  position: relative;
}
.h-logo {
  text-decoration: none; display: flex; flex-direction: column;
  line-height: 1; flex-shrink: 0;
}
.h-logo-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; font-weight: 800;
  color: #0a0a0a; letter-spacing: 2px;
}
.h-dot { color: var(--accent); }
.h-logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; color: #aaaaaa;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-top: 3px; display: block;
}
.h-nav-links {
  display: flex; align-items: center; list-style: none;
  gap: 0; flex: 1; justify-content: center;
}
.h-nav-links li { position: relative; }
.h-nav-links > li > a {
  display: flex; align-items: center; gap: 5px;
  height: 64px; line-height: 64px; padding: 0 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 500;
  color: #222222; text-decoration: none;
  white-space: nowrap; position: relative;
  transition: color .2s;
}
.h-nav-links > li > a::after {
  content: '';
  position: absolute; top: 0; left: 18px; right: 18px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform .25s;
}
.h-nav-links > li > a:hover { color: var(--accent); }
.h-nav-links > li > a:hover::after { transform: scaleX(1); }
.h-nav-links li.has-sub > a .arr { transition: transform .2s; color: #aaa; }
.h-nav-links li.has-sub:hover > a .arr { transform: rotate(180deg); }

/* h-mainnav es el contenedor para centrar el dropdown */
.h-nav-links li.has-mega { position: static; }
.h-mainnav { position: relative; }
.h-nav-links li.has-mega:hover .mega-menu { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
/* Servicios new-nav: 62% centrado */
.h-nav-links .mega-menu {
  width: 62vw;
  min-width: 600px;
}

.h-nav-actions { flex-shrink: 0; }
.h-nav-cta {
  display: inline-flex; align-items: center;
  background: var(--accent); color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 13px 28px; border-radius: 100px;
  text-decoration: none; border: none; cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,184,169,0.45), 0 1px 6px rgba(0,0,0,0.1);
  transition: background 200ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .h-nav-cta:hover {
    background: var(--accent-d);
    box-shadow: 0 6px 28px rgba(0,184,169,0.6), 0 2px 8px rgba(0,0,0,0.12);
    transform: translateY(-1px);
  }
}
.h-nav-cta:active { transform: scale(0.97); box-shadow: 0 2px 10px rgba(0,184,169,0.3); }

/* ─────────────────────────────────────────────────────
   HERO 2 — #f7f8f9 bg, animated map, glass card
───────────────────────────────────────────────────── */
@keyframes mapPulse {
  0%,100% { fill: #b8bec4; opacity: 0.26; }
  50%     { fill: #9ecec8; opacity: 0.38; }
}
@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-18px,14px) scale(1.08); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(14px,-18px) scale(1.1); }
}
@keyframes orbFloat3 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(-10px,10px) scale(1.05); }
  66%     { transform: translate(10px,-8px) scale(0.97); }
}

.hero2 {
  position: relative;
  overflow: visible;
  background: #f7f8f9;
  padding: 80px 60px 10px;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Layer 1: map — full-bleed background like background-size:cover */
.hero2-map {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  min-width: 100%;
  pointer-events: none;
  z-index: 0;
}
/* D3-rendered SVG fills the container automatically */
.hero2-map svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Layer 2: orbs */
.hero2-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.hero2-orb-a {
  width: 300px; height: 300px;
  background: rgba(0,184,169,0.22);
  filter: blur(70px);
  top: -40px; right: 60px;
  animation: orbFloat1 10s ease-in-out infinite;
}
.hero2-orb-b {
  width: 200px; height: 200px;
  background: rgba(0,140,200,0.15);
  filter: blur(55px);
  bottom: 30px; right: 220px;
  animation: orbFloat2 13s ease-in-out infinite;
}
.hero2-orb-c {
  width: 150px; height: 150px;
  background: rgba(60,220,170,0.13);
  filter: blur(45px);
  top: 80px; right: 380px;
  animation: orbFloat3 11s ease-in-out infinite;
}

/* Layer 3: left text */
.hero2-left {
  position: relative;
  z-index: 2;
}
.hero2-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700;
  color: var(--accent); letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 28px;
}
.hero2-eyebrow::before { display: none; }
.hero2-h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 800;
  color: #080808;
  line-height: 1.07;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  max-width: 520px;
}
.hero2-intro {
  font-size: 16px;
  font-weight: 500;
  color: #09192a;
  line-height: 1.55;
  max-width: 480px;
  margin-bottom: 10px;
}
.hero2-body {
  font-size: 14px;
  font-weight: 400;
  color: #3a4a5a;
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 24px;
}
.hero2-sub {
  font-size: 15px;
  color: #666666;
  line-height: 1.65;
  max-width: 440px;
}

/* Layer 4: glass card */
.hero2-card-wrap {
  position: relative;
  z-index: 2;
}
.hero2-card {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.50);
  border-radius: 14px;
  padding: 32px 30px;
  position: relative;
  overflow: hidden;
}
.hero2-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.30) 0%,
    rgba(255,255,255,0.05) 60%,
    rgba(0,184,169,0.08) 100%
  );
  border-radius: 14px;
  pointer-events: none;
}
.hero2-card-eyebrow {
  position: relative; z-index: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px; font-weight: 700;
  color: var(--accent); letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 14px;
}
.hero2-card-title {
  position: relative; z-index: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px; font-weight: 700;
  color: #0a0a0a; line-height: 1.3;
  margin-bottom: 14px;
}
.hero2-card-body {
  position: relative; z-index: 1;
  font-size: 13.5px; color: #444444;
  line-height: 1.65; margin-bottom: 22px;
}
.hero2-card-link {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700;
  color: var(--accent); letter-spacing: 0.08em;
  text-decoration: none; text-transform: uppercase;
  transition: gap .2s, opacity .2s;
}
.hero2-card-link:hover { opacity: 0.75; }

/* Responsive hero2 */
@media (max-width: 900px) {
  .hero2 { grid-template-columns: 1fr; padding: 60px 24px; min-height: auto; gap: 40px; }
  .hero2-orb-a { right: 20px; width: 200px; height: 200px; }
  .hero2-orb-b { right: 40px; width: 150px; height: 150px; }
  .hero2-orb-c { display: none; }
}

/* ─────────────────────────────────────────────────────
   1. SPLIT HERO (homepage) — legacy, kept for compat
   Left 60%: big headline + sub + single CTA
   Right 40%: floating translucent card
───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #ffffff;
}
.hero-bg-slider { display: none; } /* photo slider hidden — white bg hero */
.hero-slide { display: none; }
.hero-overlay { display: none; } /* no dark overlay — white bg */

/* world map ghost — gray continents on white hero (Sedgwick style) */
.hero-map {
  position: absolute; bottom: -20px; left: -5%; width: 110%; height: 100%;
  z-index: 0; pointer-events: none; overflow: hidden;
  background: url("https://upload.wikimedia.org/wikipedia/commons/8/80/World_map_-_low_resolution.svg") center/110% no-repeat;
  opacity: 0.35;
  filter: grayscale(100%) brightness(1.4);
}
.hero-map > * { display: none; }

.hero-split {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.58fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  padding-top: clamp(120px, 14vw, 160px);
  padding-bottom: clamp(80px, 10vw, 120px);
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 52px;
  padding-right: 52px;
}

/* Left column */
.hero-left { display: flex; flex-direction: column; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: .6rem; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1px; background: var(--accent); flex-shrink: 0;
}
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 800; color: #111827;
  line-height: 1.0; letter-spacing: -1.5px; margin-bottom: 28px;
}
.hero-sub {
  font-size: 1.02rem; color: #555;
  line-height: 1.8; margin-bottom: 48px; max-width: 460px;
}
.btn-hero {
  display: inline-flex; align-items: center;
  background: var(--accent); color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 16px 36px; border-radius: 100px;
  text-decoration: none; border: none; cursor: pointer;
  align-self: flex-start;
  transition: background 200ms var(--ease-out), transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .btn-hero:hover { background: var(--accent-d); } }
.btn-hero:active { transform: scale(0.97); }

/* Right floating card — light teal tint on white hero */
.hero-right-card {
  background: rgba(0,184,169,0.06);
  border: 1px solid rgba(0,184,169,0.25);
  border-radius: 12px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: clamp(36px, 4vw, 52px) clamp(28px, 3.5vw, 44px);
}
.hrc-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: .58rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.hrc-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 700; color: #111827;
  line-height: 1.25; margin-bottom: 18px; letter-spacing: -.2px;
}
.hrc-body {
  font-size: .9rem; color: #555;
  line-height: 1.75; margin-bottom: 28px;
}
.hrc-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid rgba(0,184,169,.4);
  padding-bottom: 3px;
  transition: gap .2s, border-color .2s;
}
.hrc-link:hover { gap: 16px; border-color: var(--accent); }
.hrc-link svg { flex-shrink: 0; }

/* Ghost stats bar (below hero-left) */
.hero-stats-bar {
  grid-column: 1 / -1;
  display: flex; align-items: center;
  border-top: 1px solid rgba(0,0,0,.1);
  padding-top: 36px;
  gap: 0;
}
.hsb-stat { flex: 1; padding-right: 36px; }
.hsb-sep { width: 1px; height: 36px; background: rgba(0,0,0,.15); margin-right: 36px; }
.hs-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem; font-weight: 800; color: #111827; line-height: 1;
}
.hs-label {
  font-size: .6rem; color: #888;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-top: 5px; font-family: 'Montserrat', sans-serif; font-weight: 600;
}

/* ─────────────────────────────────────────────────────
   2. WORLD MAP STATS SECTION
   Dark near-black, SVG world map at 8% opacity, large numbers
───────────────────────────────────────────────────── */
.world-map-section {
  position: relative;
  background: var(--dark);
  padding: 100px 0;
  overflow: hidden;
}
.wm-bg {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.09; pointer-events: none; overflow: hidden;
}
.wm-bg svg { width: 100%; height: auto; fill: var(--white); }

.wm-inner {
  position: relative; z-index: 1;
  max-width: 1240px; margin: 0 auto; padding: 0 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.wm-stat {
  padding: 0 48px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.wm-stat:first-child { padding-left: 0; }
.wm-stat:last-child { border-right: none; }
.wm-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3.5rem, 5vw, 4.5rem);
  font-weight: 800; color: var(--white);
  line-height: 1; margin-bottom: 14px;
  letter-spacing: -2px;
}
.wm-num span { color: var(--accent); }
.wm-label {
  font-family: 'Montserrat', sans-serif;
  font-size: .62rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: #888;
  display: block; margin-bottom: 10px;
}
.wm-desc {
  font-size: .88rem; color: rgba(255,255,255,.3);
  line-height: 1.65; max-width: 280px;
}

/* ─────────────────────────────────────────────────────
   3. EDITORIAL IMAGE CARD GRID (services/industries)
   4+ columns, image top 3:2, label + desc + solid CTA
───────────────────────────────────────────────────── */
.eic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}
.eic-card {
  background: var(--white);
  display: flex; flex-direction: column;
  cursor: default;
  border-right: 1px solid var(--border);
}
.eic-card:nth-child(3n) { border-right: none; }
.eic-card:nth-child(n+4) { border-top: 1px solid var(--border); }

.eic-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--off);
}
.eic-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform .75s cubic-bezier(.25,.46,.45,.94);
}
.eic-card:hover .eic-img img { transform: scale(1.05); }

.eic-body {
  padding: 26px 24px 30px;
  display: flex; flex-direction: column; flex: 1;
}
.eic-cat {
  font-family: 'Montserrat', sans-serif;
  font-size: .57rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.eic-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem; font-weight: 700;
  color: var(--black); line-height: 1.25;
  margin-bottom: 12px; letter-spacing: -.1px;
}
.eic-desc {
  font-size: .87rem; color: var(--mid);
  line-height: 1.72; flex: 1; margin-bottom: 22px;
}
.eic-cta {
  display: inline-flex; align-items: center;
  background: var(--black); color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: .62rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 10px 20px; text-decoration: none; border: none;
  align-self: flex-start; cursor: pointer;
  transition: background 200ms var(--ease-out), transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .eic-cta:hover { background: var(--accent); } }
.eic-cta:active { transform: scale(0.97); }

/* ─────────────────────────────────────────────────────
   4. FEATURE MANIFESTO (why-us / differentiators)
   Two-col: left = big 2–3 word heading, right = description
   Separated by thin horizontal rules — NO icons
───────────────────────────────────────────────────── */
.manifesto { display: flex; flex-direction: column; }

.manifesto-row {
  display: grid;
  grid-template-columns: 1fr 1.9fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
  padding: 52px 0;
  border-top: 1px solid var(--border);
}
.manifesto-row:last-child { border-bottom: 1px solid var(--border); }

.manifesto-head {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 800; color: var(--black);
  line-height: 1.12; letter-spacing: -.5px;
}
.manifesto-eyebrow {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: .57rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.manifesto-body {
  font-size: 1rem; color: var(--mid);
  line-height: 1.82; max-width: 580px;
}
.manifesto-body strong { color: var(--text); font-weight: 600; }

/* ─────────────────────────────────────────────────────
   5. FULL-BLEED IMAGE + TEXT OVERLAY
   Left: headline + 3 paragraphs
   Right: image takes 50% viewport, bleeds to edge
───────────────────────────────────────────────────── */
.fbit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
  background: var(--off);
}
.fbit-text {
  padding: clamp(80px, 9vw, 120px) clamp(40px, 5vw, 72px);
  display: flex; flex-direction: column; justify-content: center;
  background: var(--off);
}
.fbit-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: .58rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
.fbit-eyebrow::before { display: none; }
.fbit-headline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.9rem);
  font-weight: 800; color: var(--black);
  line-height: 1.1; letter-spacing: -.5px; margin-bottom: 32px;
}
.fbit-rule { display: none; }
.fbit-p {
  font-size: .95rem; color: var(--mid);
  line-height: 1.82; margin-bottom: 18px; max-width: 440px;
}
.fbit-p:last-of-type { margin-bottom: 0; }
.fbit-cta {
  display: inline-flex; align-items: center;
  background: var(--black); color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 15px 32px; border-radius: 100px; text-decoration: none; border: none;
  margin-top: 32px; align-self: flex-start;
  transition: background 200ms var(--ease-out), transform 160ms var(--ease-out);
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { .fbit-cta:hover { background: var(--accent); } }
.fbit-cta:active { transform: scale(0.97); }
.fbit-img {
  position: relative; overflow: hidden;
  background: var(--navy);
}
.fbit-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.25,.46,.45,.94);
}
.fbit:hover .fbit-img img { transform: scale(1.03); }

/* Reversed variant: image left, text right */
.fbit.fbit-rev { grid-template-areas: "img text"; }
.fbit.fbit-rev .fbit-img { grid-area: img; }
.fbit.fbit-rev .fbit-text { grid-area: text; }

/* ─────────────────────────────────────────────────────
   LINES OF ACTION SECTION (dark editorial list)
───────────────────────────────────────────────────── */
.lines-hero {
  background: var(--off);
  position: relative; overflow: hidden;
  padding: var(--sp) 40px;
}
.lines-hero::before, .lines-hero::after { content: none; display: none; }
.lines-card {
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(rgba(0,0,0,0.72),rgba(0,0,0,0.72)), url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1400&q=80') center/cover no-repeat;
  max-width: 1200px; margin: 0 auto;
}
.lines-hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 80px;
  padding: var(--sp) clamp(40px,5vw,80px);
  align-items: start;
}
.ls-left { position: sticky; top: 88px; }
.lh-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: .58rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.lh-eyebrow::before { display: none; }
.lh-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800; color: var(--white);
  line-height: 1.05; letter-spacing: -1px; margin-bottom: 0;
}
.lh-rule { width: 36px; height: 2px; background: var(--accent); margin: 20px 0 24px; }
.lh-desc {
  font-size: .95rem; color: rgba(255,255,255,.45);
  line-height: 1.8; margin-bottom: 36px;
}
.lh-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--white);
  font-family: 'Montserrat', sans-serif; font-size: .7rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 14px 28px; text-decoration: none;
  transition: background 200ms var(--ease-out), transform 160ms var(--ease-out);
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { .lh-cta:hover { background: var(--accent-d); } }
.lh-cta:active { transform: scale(0.97); }

/* Lines items — FIX 3: editorial list, no numbers */
.ls-right { display: flex; flex-direction: column; }
.ls-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  background: transparent;
  transition: background 180ms var(--ease-out), padding-left 180ms var(--ease-out);
  cursor: pointer;
  padding-left: 0; padding-right: 0;
}
.ls-item:first-child { border-top: 1px solid rgba(255,255,255,.08); }
@media (hover: hover) and (pointer: fine) {
  .ls-item:hover { background: rgba(255,255,255,.04); padding-left: 12px; padding-right: 12px; }
}
.lsi-body { display: flex; flex-direction: column; gap: 6px; }
.lsi-num { display: none; } /* FIX 3: no numbered labels */
.lsi-title {
  font-family: 'Montserrat', sans-serif; font-size: 1.05rem; font-weight: 700;
  color: var(--white); letter-spacing: -.1px; line-height: 1.2;
}
.lsi-tags { font-size: .8rem; color: rgba(255,255,255,.38); line-height: 1.5; }
.lsi-arr  { color: rgba(255,255,255,.25); flex-shrink: 0; transition: color 180ms, transform 180ms var(--ease-out); }
.ls-item:hover .lsi-arr { color: var(--accent); transform: translateX(8px); }

/* ─────────────────────────────────────────────────────
   INDUSTRIES header row (above eic-grid)
───────────────────────────────────────────────────── */
.ind-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 40px; gap: 32px;
}
.ind-quote {
  font-family: 'Montserrat', sans-serif; font-size: .88rem; font-weight: 500;
  color: var(--mid); max-width: 300px; text-align: right;
  line-height: 1.65; font-style: italic;
}

/* ─────────────────────────────────────────────────────
   GLOBAL SECTION (hubs) — FIX 4: white background, dark text
───────────────────────────────────────────────────── */
.global-dark {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: var(--sp) 0;
  position: relative; overflow: hidden;
}
.gd-inner {
  position: relative; z-index: 1;
  max-width: 960px; margin: 0 auto; padding: 0 52px;
  text-align: left;
}
.gd-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: .58rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.gd-eyebrow::before { display: none; }
.gd-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800; color: var(--black);
  line-height: 1.08; letter-spacing: -1px; margin-bottom: 22px;
}
.gd-body {
  font-size: 1rem; color: var(--mid);
  line-height: 1.8; margin-bottom: 56px;
  max-width: 620px;
}
.gd-hubs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  margin-bottom: 52px;
}
.gd-hub {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
  transition: background 200ms;
}
.gd-hub:hover { background: var(--off); }
.gd-hub strong {
  font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 700;
  color: var(--black); letter-spacing: .3px;
}
.gd-hub span { font-size: .87rem; color: var(--mid); line-height: 1.6; }
.gd-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--black); color: var(--white);
  font-family: 'Montserrat', sans-serif; font-size: .7rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 15px 36px; text-decoration: none;
  cursor: pointer;
  transition: background 200ms var(--ease-out), transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .gd-cta:hover { background: var(--accent); } }
.gd-cta:active { transform: scale(0.97); }

/* ─────────────────────────────────────────────────────
   PATTERN A — SPLIT WITH CHECKLIST ("Por que MSS")
   Left 50%: headline + paragraph + CTA
   Right 50%: value points with teal dash + dividers
───────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
  padding-top: var(--sp);
  padding-bottom: var(--sp);
}
.why-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800; color: var(--black);
  line-height: 1.08; letter-spacing: -1px;
  margin-bottom: 22px; text-wrap: balance;
}
.why-body {
  font-size: .97rem; color: var(--mid);
  line-height: 1.82; margin-bottom: 32px;
  max-width: 420px;
}
.why-items { display: flex; flex-direction: column; }
.why-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.why-item:first-child { border-top: 1px solid var(--border); }
.wi-dash {
  color: var(--accent); font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
  margin-top: 1px; line-height: 1;
}
.wi-label {
  font-family: 'Montserrat', sans-serif;
  font-size: .88rem; font-weight: 700;
  color: var(--black); margin-bottom: 4px;
}
.wi-desc { font-size: .82rem; color: var(--mid); line-height: 1.65; }

/* ─────────────────────────────────────────────────────
   EDITORIAL 2-COL (insights / about)
───────────────────────────────────────────────────── */
.ed-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.ed-card { display: flex; flex-direction: column; }
.ed-cat {
  font-family: 'Montserrat', sans-serif; font-size: .6rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.ed-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800; color: var(--black);
  line-height: 1.15; letter-spacing: -.3px; margin-bottom: 28px;
}
.ed-photo {
  width: 100%; aspect-ratio: 16/9; overflow: hidden;
  margin-bottom: 26px; background: var(--off);
}
.ed-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
}
.ed-card:hover .ed-photo img { transform: scale(1.04); }
.ed-body {
  font-size: .92rem; color: var(--mid); line-height: 1.8;
  flex: 1; margin-bottom: 24px;
}
.ed-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  color: var(--black); text-decoration: none;
  border-bottom: 1.5px solid var(--black); padding-bottom: 2px;
  transition: gap .2s, color .2s, border-color .2s; width: fit-content;
}
.ed-link:hover { gap: 16px; color: var(--accent); border-bottom-color: var(--accent); }

/* ─────────────────────────────────────────────────────
   ABOUT STRIP (two-col text)
───────────────────────────────────────────────────── */
.about-strip {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px); align-items: start;
}
.as-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: .58rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.as-eyebrow::before { display: none; }
.as-headline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800; color: var(--black);
  line-height: 1.1; letter-spacing: -.4px; margin-bottom: 20px;
}
.as-body { font-size: .95rem; color: var(--mid); line-height: 1.82; margin-bottom: 20px; }
.as-vals-label {
  font-family: 'Montserrat', sans-serif; font-size: .6rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--black);
  margin: 28px 0 14px;
}
.as-vals-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.as-vals-list li {
  display: flex; align-items: center; gap: 14px;
  font-size: .9rem; color: var(--text); padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.as-vals-list li::before {
  content: ''; width: 24px; height: 1px;
  background: var(--accent); flex-shrink: 0;
}

/* ─── Manifesto rows (replaces about-strip in DOM) ─── */
#about-full { background: #f5f5f3; }
.manifesto-rows { max-width: 1200px; margin: 0 auto; padding: 0 52px; }
.man-row {
  display: grid; grid-template-columns: 45% 1fr;
  gap: 80px; padding: 60px 0;
  border-bottom: 1px solid #d8d8d8;
  align-items: start;
}
.man-row:last-child { border-bottom: none; }
.man-head {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800; color: #111; line-height: 1.1; letter-spacing: -.5px;
}
.man-body { font-size: 1rem; color: #555; line-height: 1.75; }

/* ─── Insights section ─── */
.insights-section { background: #ffffff; padding: var(--sp) 0; }
.insights-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; max-width: 1200px; margin: 48px auto 0; padding: 0 52px;
}
.insight-card { display: flex; flex-direction: column; gap: 20px; }
.insight-eyebrow {
  font-family: 'Montserrat', sans-serif; font-size: .6rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--accent);
}
.insight-title {
  font-family: 'Montserrat', sans-serif; font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 700; color: #111; line-height: 1.2; letter-spacing: -.2px;
}
.insight-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px;
}
.insight-desc { font-size: .9rem; color: #555; line-height: 1.7; }
.insight-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif; font-size: .7rem; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase; color: var(--accent);
  text-decoration: none; border-bottom: 1px solid rgba(0,184,169,.4); padding-bottom: 2px;
  align-self: flex-start; transition: gap .2s, border-color .2s;
}
.insight-link:hover { gap: 14px; border-color: var(--accent); }

/* ─────────────────────────────────────────────────────
   TEAM — dark rounded card, horizontal rows
───────────────────────────────────────────────────── */
#team { background: var(--off); }
.team-intro-p {
  font-size: .95rem; color: var(--mid); line-height: 1.7;
  max-width: 620px; margin: 12px 0 44px;
}

/* ── Capabilities Bento ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.bento-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 250ms var(--ease-out), transform 250ms var(--ease-out);
}
.bento-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.bento-b:hover { box-shadow: 0 8px 32px rgba(0,184,169,0.15); }
/* 5-col layout matching React source */
.bento-a { grid-column: 1 / 4; }
#features .bento-a { background: #ffffff; border-color: var(--border); border-radius: 0; }
.bento-b { grid-column: 4 / 6; gap: 0; }
#features .bento-b {
  background: var(--navy);
  border-color: transparent;
  border-radius: 0;
  color: #ffffff;
}
.bento-c { grid-column: 1 / 3; }
#features .bento-c { background: #ffffff; border-color: var(--border); border-radius: 0; }
.bento-d { grid-column: 3 / 6; }
#features .bento-d { background: var(--accent-l); border-color: rgba(0,184,169,0.2); }
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-a { grid-column: 1 / 3; }
  .bento-b { grid-column: 1 / 3; }
  .bento-c { grid-column: 1; }
  .bento-d { grid-column: 2; }
}
@media (max-width: 600px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-a, .bento-b, .bento-c, .bento-d { grid-column: 1; }
}

.bento-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: .65rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--mid);
}
.bento-eyebrow-teal { color: var(--accent); }
.bento-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.18rem; font-weight: 700;
  color: var(--black); line-height: 1.35;
}
.bento-title-sm { font-size: 1rem; }
.bento-body { font-size: .85rem; color: var(--mid); line-height: 1.7; }

/* Steps inside Card A */
.bento-steps {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 4px;
}
.bento-step {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px;
  background: var(--off); border-radius: 10px;
}
.bstep-num {
  font-family: 'Montserrat', sans-serif;
  font-size: .65rem; font-weight: 800;
  color: var(--accent); letter-spacing: .05em; flex-shrink: 0;
}
.bstep-txt { font-size: .85rem; color: var(--black); font-weight: 500; }

/* Stats inside Card B — explicit colors, no inheritance gaps */
.bento-stat-row {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 0;
}
.bento-b .bento-stat-row { border-bottom: 1px solid rgba(255,255,255,0.07); }
.bento-b .bento-stat-row:last-child { border-bottom: none; }
.bento-divider { display: none; }  /* replaced by border-bottom above */
.bstat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem; font-weight: 800;
  color: #ffffff !important; line-height: 1;
  flex-shrink: 0; min-width: 68px;
  letter-spacing: -0.02em;
}
.bstat-plus { font-size: 1.5rem; color: var(--accent); }
.bstat-sm   { font-size: 1.5rem; min-width: 68px; letter-spacing: 0; }
.bstat-lbl  { font-size: .78rem; color: rgba(255,255,255,0.55) !important; line-height: 1.55; }

/* Icon in Card C */
.bento-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--off); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}

/* Tags in Card D */
.bento-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.btag {
  display: inline-block;
  padding: 5px 12px; border-radius: 100px;
  background: #ffffff; border: 1px solid #b2f0eb;
  font-size: .72rem; font-weight: 600;
  color: var(--accent); white-space: nowrap;
}

/* ── Team Showcase ── */
.tshow {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-bottom: 16px;
}
@media (min-width: 768px) {
  .tshow { flex-direction: row; align-items: flex-start; gap: 56px; }
}
.tshow-grid { display: flex; gap: 12px; flex-shrink: 0; }
.tshow-col  { display: flex; flex-direction: column; gap: 12px; }
.tshow-col:nth-child(2) { margin-top: 68px; }
.tshow-col:nth-child(3) { margin-top: 34px; }

.tphoto {
  overflow: hidden; border-radius: 14px;
  cursor: pointer; flex-shrink: 0;
  width: 148px; height: 178px;
  transition: opacity 300ms ease;
}
.tphoto img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) brightness(0.75);
  transition: filter 400ms ease;
}
.tphoto.ts-active img { filter: grayscale(0) brightness(1); }
.tphoto.ts-dimmed    { opacity: 0.45; }

.tshow-list {
  display: flex; flex-direction: column;
  gap: 22px; flex: 1; padding-top: 6px;
}
.tlist-row { cursor: pointer; transition: opacity 300ms ease; }
.tlist-row.ts-dimmed { opacity: 0.35; }

.tlist-name-wrap { display: flex; align-items: center; gap: 10px; }
.tlist-dot {
  width: 16px; height: 11px; border-radius: 5px;
  background: #cbd5e1; flex-shrink: 0;
  transition: background 300ms ease, width 300ms ease;
}
.tlist-row.ts-active .tlist-dot { background: #0f172a; width: 20px; }

.tlist-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  color: #94a3b8; transition: color 300ms ease;
}
.tlist-row.ts-active .tlist-name { color: #0f172a; }

.tlist-social {
  display: flex; align-items: center; gap: 3px; margin-left: 2px;
  opacity: 0; transform: translateX(-8px);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
}
.tlist-row.ts-active .tlist-social { opacity: 1; transform: translateX(0); pointer-events: auto; }
.tlist-social a {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 5px;
  color: #94a3b8; text-decoration: none;
  transition: color 150ms, background 150ms;
}
.tlist-social a:hover { color: #0f172a; background: rgba(15,23,42,0.07); }
.tlist-social svg { width: 10px; height: 10px; }

.tlist-role {
  margin-top: 5px; padding-left: 26px;
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
.tlist-bio {
  margin-top: 0; padding-left: 26px;
  font-size: 0.83rem; color: var(--mid); line-height: 1.65;
  max-height: 0; overflow: hidden;
  transition: max-height 400ms ease, margin-top 300ms ease;
}
.tlist-row.ts-active .tlist-bio { max-height: 120px; margin-top: 7px; }
.tlist-cred {
  display: none;
}

@media (max-width: 600px) {
  .tshow-grid { overflow-x: auto; padding-bottom: 8px; }
  .tphoto { width: 110px; height: 132px; }
}

/* ─────────────────────────────────────────────────────
   METHODOLOGY — editorial horizontal rules
───────────────────────────────────────────────────── */
.meth-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.meth-step {
  padding: 36px 28px 36px 0;
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.meth-step:last-child { border-right: none; }
.meth-step::before {
  content: ''; position: absolute; top: -1px; left: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width .7s ease;
}
.meth-step.reveal::before { width: calc(100% - 28px); }
.step-num {
  font-family: 'Montserrat', sans-serif;
  font-size: .6rem; font-weight: 700;
  letter-spacing: 3px; color: var(--accent);
  text-transform: uppercase; margin-bottom: 16px;
}
.step-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem; font-weight: 800; color: var(--white);
  line-height: 1.25; margin-bottom: 12px;
}
.step-body { font-size: .85rem; color: rgba(255,255,255,.38); line-height: 1.72; }

/* ─────────────────────────────────────────────────────
   SUPPORT CTA
───────────────────────────────────────────────────── */
.support-cta { background: #ffffff; padding: 100px 0; border-top: 1px solid #eee; }
.support-cta .container {
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 20px; text-align: center; max-width: 700px; margin: 0 auto;
}
.sct-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800; color: #111; letter-spacing: -.5px; line-height: 1.1;
}
.sct-sub {
  font-size: 1rem; color: #666; line-height: 1.7; max-width: 560px;
}
.sct-actions { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.sct-links { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }
.sct-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  color: #111; text-decoration: none;
  padding-bottom: 3px; border-bottom: 1px solid var(--accent);
  transition: color .2s, gap .2s; cursor: pointer;
}
.sct-link:hover { color: var(--accent); gap: 16px; }

/* ─────────────────────────────────────────────────────
   PAGE HERO (subpages)
───────────────────────────────────────────────────── */
.page-hero {
  position: relative;
  background: var(--dark);
  overflow: hidden;
  padding: clamp(140px, 16vw, 180px) 0 clamp(80px, 10vw, 110px);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('img/hero-2.jpg') center/cover no-repeat;
  opacity: 0.15;
}
.page-hero-inner {
  position: relative; z-index: 1;
}
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: .58rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.page-hero .eyebrow::before { display: none; }
.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 800; color: var(--white);
  line-height: 1.0; letter-spacing: -1px; margin-bottom: 22px;
}
.page-hero-sub {
  font-size: 1.02rem; color: rgba(255,255,255,.52);
  line-height: 1.8; max-width: 560px;
}

/* ─────────────────────────────────────────────────────
   SECTION COMMONS
───────────────────────────────────────────────────── */
.sec       { padding: var(--sp) 0; }
.sec-white { background: var(--white); }
.sec-light { background: var(--off); }
.sec-dark  { background: var(--dark); }
.container { max-width: 1240px; margin: 0 auto; padding: 0 52px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif; font-size: .6rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { display: none; }
.sec-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  font-weight: 800; color: var(--black); line-height: 1.1; letter-spacing: -.5px;
}
.sec-title.light { color: var(--white); }
.sec-rule  { display: none; }
.sec-lead  { font-size: 1rem; color: var(--mid); line-height: 1.8; max-width: 580px; }

.btn-primary {
  display: inline-block;
  background: var(--navy); color: var(--white);
  font-family: 'Montserrat', sans-serif; font-size: .7rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 14px 28px; text-decoration: none;
  border-radius: 100px;
  transition: background 220ms var(--ease-out), box-shadow 220ms var(--ease-out), transform 140ms var(--ease-out);
  cursor: pointer; border: none;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent); box-shadow: 0 4px 20px rgba(0,184,169,0.4); }
.btn-primary:active { transform: scale(0.98); box-shadow: none; }

/* ─────────────────────────────────────────────────────
   EQUIPO — TEAM GRID
───────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  margin-bottom: 64px;
  border: 1px solid #e4e9ee;
}
.team-card {
  padding: 52px 44px 48px;
  background: #ffffff;
  border-right: 1px solid #e4e9ee;
  transition: background 240ms ease;
}
.team-card:last-child { border-right: none; }
.team-card:hover { background: #f7f9fb; }

.team-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  background: var(--accent);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem; font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 32px;
}
.team-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.08rem; font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 8px;
}
.team-role {
  font-family: 'Inter', sans-serif;
  font-size: .6rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e4e9ee;
}
.team-bio {
  font-family: 'Inter', sans-serif;
  font-size: .93rem; font-weight: 400;
  color: #5a6a7a;
  line-height: 1.78;
  margin-bottom: 32px;
}
.team-cred {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: .57rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--dark);
  border: 1.5px solid #cdd5dc;
  padding: 5px 13px;
}

.team-motto {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(.75rem, 1.4vw, .92rem);
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--dark);
  opacity: 0.22;
}

@media (max-width: 960px) {
  .team-grid {
    grid-template-columns: 1fr;
    border: none;
    gap: 1px;
    background: #e4e9ee;
  }
  .team-card {
    border-right: none;
    padding: 40px 32px;
    background: #ffffff;
  }
}
@media (max-width: 600px) {
  .team-card { padding: 32px 20px; }
  .team-initials { width: 46px; height: 46px; font-size: .65rem; }
}

/* ─────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────── */
/* ─────────────────────────────────────────────────────
   LANGUAGE DETECTION BANNER
───────────────────────────────────────────────────── */
.lang-banner {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 48px));
  z-index: 9100;
  background: var(--navy);
  border-left: 3px solid var(--accent);
  color: #ffffff;
  padding: 20px 48px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: clamp(320px, 46vw, 560px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 420ms ease;
  pointer-events: none;
  opacity: 0;
}
.lang-banner--visible {
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
  opacity: 1;
}
.lang-banner__inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.lang-banner__icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.lang-banner__msg {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
}
.lang-banner__msg strong { color: #ffffff; font-weight: 700; }
.lang-banner__actions {
  display: flex;
  gap: 8px;
}
.lang-banner__btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 0;
  white-space: nowrap;
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out);
}
.lang-banner__btn--yes {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(0,184,169,0.4);
}
.lang-banner__btn--yes:hover { background: var(--accent-d); }
.lang-banner__btn--no {
  background: transparent;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.18);
}
.lang-banner__btn--no:hover { color: #ffffff; border-color: rgba(255,255,255,0.5); }
.lang-banner__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 150ms;
}
.lang-banner__close:hover { color: #ffffff; }
@media (max-width: 600px) {
  .lang-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    transform: translateX(0) translateY(calc(100% + 48px));
  }
  .lang-banner--visible { transform: translateX(0) translateY(0); }
  .lang-banner__btn { flex: 1; text-align: center; }
}

footer { background: var(--dark); padding: 64px 0 28px; border-top: 1px solid rgba(255,255,255,.04); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px; padding-bottom: 44px; margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-tagline { font-size: .82rem; color: rgba(255,255,255,.28); line-height: 1.8; max-width: 270px; margin-top: 18px; }
.fc h4 {
  font-family: 'Montserrat', sans-serif; font-size: .58rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.22); margin-bottom: 16px;
}
.fc a, .fc p {
  display: block; font-size: .8rem; color: rgba(255,255,255,.38);
  text-decoration: none; margin-bottom: 9px; line-height: 1.6; transition: color .2s;
}
.fc a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .7rem; color: rgba(255,255,255,.16);
}

/* ─────────────────────────────────────────────────────
   SCROLL ANIMATIONS
───────────────────────────────────────────────────── */
/* Emil: translateY(12px) not 22px — subtle entry. cubic-bezier strong ease-out */
.fade-up { opacity: 0; transform: translateY(10px); transition: opacity 380ms var(--ease-out), transform 380ms var(--ease-out); }
.fade-up.in { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 40ms; }
.fade-up.d2 { transition-delay: 80ms; }
.fade-up.d3 { transition-delay: 120ms; }
/* Respect user preference */
@media (prefers-reduced-motion: reduce) {
  .fade-up { transition: opacity 200ms ease; transform: none; }
}
/* ── Slide & Scale animations ─────────────────────────── */
.slide-left  { opacity: 0; transform: translateX(-36px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.slide-right { opacity: 0; transform: translateX( 36px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.scale-in    { opacity: 0; transform: scale(.90);        transition: opacity 420ms ease-out, transform 420ms ease-out; }
.slide-left.in, .slide-right.in { opacity: 1; transform: translateX(0); }
.scale-in.in { opacity: 1; transform: scale(1); }
.slide-left.d1, .slide-right.d1, .scale-in.d1, .anim-d1 { transition-delay:  80ms; }
.slide-left.d2, .slide-right.d2, .scale-in.d2, .anim-d2 { transition-delay: 160ms; }
.slide-left.d3, .slide-right.d3, .scale-in.d3            { transition-delay: 240ms; }
/* Mobile: slides become simple fade-up (no lateral shift when stacked) */
@media (max-width: 768px) {
  .slide-left, .slide-right { transform: translateY(12px); }
  .slide-left.in, .slide-right.in { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .slide-left, .slide-right, .scale-in { transition: opacity 200ms ease; transform: none !important; }
}

/* ─────────────────────────────────────────────────────
   CONTACT MODAL
───────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 800;
  background: rgba(10,10,10,.75); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: #0d1b2a; width: 100%; max-width: 640px;
  max-height: 92vh; overflow-y: auto; position: relative;
  transform: translateY(28px); transition: transform .35s var(--ease-out);
  border-top: 3px solid var(--accent);
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,.07); border: none;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; color: rgba(255,255,255,.6);
  transition: background 180ms var(--ease-out), color 180ms;
}
.modal-close:hover { background: rgba(255,255,255,.14); color: var(--white); }
.modal-close:active { transform: scale(0.97); }

/* ── 4-step progress bar ── */
.modal-progress {
  display: flex; align-items: center; padding: 28px 40px 0;
  gap: 0;
}
.mp-step {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif; font-size: .58rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: rgba(255,255,255,.3); transition: color .3s;
  flex-shrink: 0;
}
.mp-step.active { color: var(--accent); }
.mp-step.done   { color: rgba(255,255,255,.55); }
.mp-num {
  width: 22px; height: 22px; border: 1.5px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; font-weight: 800; flex-shrink: 0; transition: background .3s, border-color .3s;
}
.mp-step.active .mp-num { background: var(--accent); border-color: var(--accent); color: var(--white); }
.mp-step.done .mp-num   { background: rgba(0,184,169,.15); border-color: var(--accent); color: var(--accent); }
.mp-line { flex: 1; height: 1px; background: rgba(255,255,255,.1); margin: 0 8px; }

/* ── Panels ── */
.modal-panels { padding: 28px 40px 36px; }
.modal-panel { display: none; }
.modal-panel.active { display: block; animation: panelSlideIn 280ms var(--ease-out); }
@keyframes panelSlideIn {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}
.modal-panel.slide-out { animation: panelSlideOut 200ms var(--ease-out) forwards; }
@keyframes panelSlideOut {
  to { opacity: 0; transform: translateX(-18px); }
}

/* ── Labels & subtitles ── */
.s-label {
  font-family: 'Montserrat', sans-serif; font-size: .8rem; font-weight: 800;
  color: var(--white); margin-bottom: 6px; line-height: 1.3;
}
.s-sub { font-size: .82rem; color: rgba(255,255,255,.45); margin-bottom: 22px; }

/* ── Form fields (dark) ── */
.fg { margin-bottom: 16px; }
.fg label, .fg > label {
  display: block; font-family: 'Montserrat', sans-serif;
  font-size: .58rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 7px;
}
.fg input, .fg textarea, .fg select {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  font-family: inherit; font-size: .87rem; color: var(--white);
  outline: none; transition: border-color .2s; box-sizing: border-box;
}
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,.2); }
.fg select { color: rgba(255,255,255,.75); }
.fg select option { background: #0d1b2a; color: var(--white); }
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: var(--accent); }
.fg textarea { min-height: 110px; resize: vertical; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ── Radio groups ── */
.radio-group { display: flex; flex-direction: column; gap: 8px; }
.radio-group--row { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.radio-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: 1px solid rgba(255,255,255,.1);
  cursor: pointer; transition: border-color .2s, background .2s;
}
.radio-opt:hover { border-color: var(--accent); background: rgba(0,184,169,.06); }
.radio-opt input[type=radio] { accent-color: var(--accent); width: 14px; height: 14px; flex-shrink: 0; }
.radio-opt span { font-size: .84rem; color: rgba(255,255,255,.75); }
.radio-opt:has(input:checked) { border-color: var(--accent); background: rgba(0,184,169,.08); }
.radio-opt:has(input:checked) span { color: var(--white); }

/* ── Form actions ── */
.form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.btn-fnext {
  display: flex; align-items: center; gap: 7px;
  background: var(--accent); color: var(--white);
  font-family: 'Montserrat', sans-serif; font-size: .7rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 12px 24px; border: none; cursor: pointer;
  transition: background 200ms var(--ease-out), transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .btn-fnext:hover { background: var(--accent-d); } }
.btn-fnext:active { transform: scale(0.97); }
.btn-submit { background: var(--white); color: var(--navy); }
@media (hover: hover) and (pointer: fine) { .btn-submit:hover { background: var(--accent); color: var(--white); } }
.btn-fback {
  display: flex; align-items: center; gap: 6px;
  background: none; color: rgba(255,255,255,.4);
  font-family: 'Montserrat', sans-serif; font-size: .7rem; font-weight: 600;
  padding: 12px 0; border: none; cursor: pointer;
  transition: color .2s;
}
.btn-fback:hover { color: rgba(255,255,255,.75); }

/* ── Confirm card (step 4) ── */
.confirm-card {
  border: 1px solid rgba(255,255,255,.1); padding: 22px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.cc-row { display: flex; gap: 12px; font-size: .84rem; }
.cc-key {
  font-family: 'Montserrat', sans-serif; font-size: .58rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); min-width: 110px; padding-top: 2px;
}
.cc-val { color: rgba(255,255,255,.8); line-height: 1.5; }

/* ── Success state ── */
.form-success { display: none; text-align: center; padding: 52px 20px; }
.success-icon {
  width: 52px; height: 52px; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px; color: var(--white);
}
.form-success h3 {
  font-family: 'Montserrat', sans-serif; font-size: 1.15rem; font-weight: 800;
  color: var(--white); margin-bottom: 10px;
}
.form-success p { font-size: .87rem; color: rgba(255,255,255,.5); }
.success-time { font-size: .82rem; color: var(--accent); margin-top: 8px; font-weight: 600; }

/* ── Scrollbar inside modal ── */
.modal-box::-webkit-scrollbar { width: 3px; }
.modal-box::-webkit-scrollbar-track { background: #0d1117; }
.modal-box::-webkit-scrollbar-thumb { background: rgba(0,184,169,.5); }

/* hub-pills (still used in contacto.html) */
.hub-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.hub-pill {
  padding: 5px 12px; background: var(--white);
  font-size: .68rem; font-family: 'Montserrat', sans-serif;
  font-weight: 600; color: var(--navy); border: 1px solid var(--border);
}
.email-rows { display: flex; flex-direction: column; gap: 7px; }
.email-row  { display: flex; gap: 8px; align-items: baseline; font-size: .83rem; }
.email-row span {
  color: var(--accent); font-weight: 600; font-size: .65rem;
  text-transform: uppercase; letter-spacing: .5px; font-family: 'Montserrat', sans-serif;
}
.email-row a { color: var(--mid); text-decoration: none; transition: color .2s; }
.email-row a:hover { color: var(--accent); }

/* ─────────────────────────────────────────────────────
   CONTACT PAGE (standalone form)
───────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
  padding: 80px 0;
}
.ct-info-block { display: flex; flex-direction: column; gap: 32px; }
.ct-info-label {
  font-family: 'Montserrat', sans-serif;
  font-size: .6rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.ct-info-val { font-size: .93rem; color: var(--mid); line-height: 1.65; }
.ct-info-val a { color: var(--black); text-decoration: none; font-weight: 500; }
.ct-info-val a:hover { color: var(--accent); }
.ct-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 52px 48px;
}
.ct-form-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem; font-weight: 800;
  color: var(--black); margin-bottom: 30px; letter-spacing: -.3px;
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.cf-group label {
  font-family: 'Montserrat', sans-serif;
  font-size: .6rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--mid);
}
.cf-group input,
.cf-group select,
.cf-group textarea {
  border: 1px solid var(--border);
  padding: 12px 16px;
  font-size: .9rem; color: var(--navy);
  font-family: 'Barlow', sans-serif;
  background: var(--white);
  transition: border-color .2s;
  width: 100%;
}
.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,184,169,.08);
}
.cf-group textarea { min-height: 130px; resize: vertical; }
.cf-submit {
  display: inline-flex; align-items: center;
  background: var(--accent); color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 15px 36px; border: none; cursor: pointer;
  transition: background .2s;
  margin-top: 8px;
}
.cf-submit:hover { background: var(--accent-d); }
.cf-success {
  display: none;
  background: rgba(0,184,169,.07);
  border: 1px solid rgba(0,184,169,.3);
  padding: 24px 28px;
  color: var(--navy);
  font-size: .93rem; line-height: 1.6; margin-top: 20px;
}

/* ─────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-split      { grid-template-columns: 1fr; gap: 48px; }
  .hero-right-card { max-width: 500px; }
  .hero-stats-bar  { flex-wrap: wrap; }
  .lines-hero      { padding: var(--sp) 20px; }
  .lines-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .ls-left         { position: static; }
  .man-row         { grid-template-columns: 1fr; gap: 20px; }
  .insights-grid   { grid-template-columns: 1fr; }
  .tshow { gap: 32px; }
  .wm-inner        { grid-template-columns: 1fr 1fr 1fr; }
  .eic-grid        { grid-template-columns: 1fr 1fr; }
  .eic-card:nth-child(3n) { border-right: 1px solid var(--border); }
  .eic-card:nth-child(2n) { border-right: none; }
  .eic-card:nth-child(n+3) { border-top: 1px solid var(--border); }
  .fbit            { grid-template-columns: 1fr; }
  .fbit.fbit-rev   { grid-template-areas: "img" "text"; }
  .fbit-img        { aspect-ratio: 16/9; }
  .ed-grid         { grid-template-columns: 1fr; }
  .manifesto-rows  { padding: 0 20px; }
  .meth-steps      { grid-template-columns: 1fr 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .gd-hubs         { grid-template-columns: 1fr; }
  .modal-inner     { grid-template-columns: 1fr; }
  .modal-info      { border-right: none; border-bottom: 1px solid var(--border); }
  .manifesto-row   { grid-template-columns: 1fr 1.4fr; gap: 40px; }
  .contact-layout  { grid-template-columns: 1fr; gap: 40px; }
  .ind-header      { flex-direction: column; align-items: flex-start; }
  .ind-quote       { text-align: left; }
}
@media (max-width: 768px) {
  :root          { --sp: 60px; }
  .topbar        { padding: 8px 20px; }
  .navbar        { padding: 0 20px; }
  .h-topbar      { padding: 0 20px; }
  .h-mainnav     { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .h-nav-links   { display: none; }
  .h-nav-actions { display: none; }
  .hamburger     { display: flex; }
  .container     { padding: 0 20px; }
  .hero-split    { padding: 100px 20px 72px; }
  .wm-inner      { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; }
  .wm-stat       { padding: 0 0 32px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .wm-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .eic-grid      { grid-template-columns: 1fr; }
  .eic-card:nth-child(n) { border-right: none; border-top: 1px solid var(--border); }
  .eic-card:first-child  { border-top: none; }
  .fbit-text     { padding: 52px 24px; }
  .manifesto-row { grid-template-columns: 1fr; gap: 20px; padding: 36px 0; }
  .manifesto-head { font-size: 1.4rem; }
  .tshow-grid    { gap: 8px; }
  .tphoto        { width: 100px; height: 120px; }
  .meth-steps    { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 28px; }
  .fg-row        { grid-template-columns: 1fr; }
  .support-cta .container { flex-direction: column; align-items: flex-start; }
  .tb-left a:last-child  { display: none; }
  .tb-divider            { display: none; }
  .cf-row        { grid-template-columns: 1fr; }
  .ct-form-wrap  { padding: 36px 24px; }
  .hero-stats-bar .hsb-sep { display: none; }
  .hero-stats-bar { flex-direction: column; gap: 20px; }
  .gd-inner      { padding: 0 20px; }
}
@media (max-width: 480px) {
  .hero h1    { font-size: 2.4rem; }
  .modal-form { padding: 32px 20px; }
  .modal-info { padding: 32px 20px; }
}

/* ─────────────────────────────────────────────────────
   HERO LEFT — flex column + CTA button
───────────────────────────────────────────────────── */
.hero2-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  width: 45%;
  padding: 0;
}
.hero2-left::before {
  content: '';
  position: absolute;
  inset: -48px -64px;
  background: radial-gradient(ellipse at 50% 45%, rgba(247,248,249,0.92) 42%, transparent 72%);
  z-index: -1;
  pointer-events: none;
}
.hero2-cta {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 0;
  text-decoration: none;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 32px;
  box-shadow: 0 6px 28px rgba(0,184,169,0.5), 0 2px 8px rgba(0,0,0,0.1);
  transition: background 200ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 160ms var(--ease-out);
}
@media (hover:hover) and (pointer:fine) {
  .hero2-cta:hover {
    background: var(--accent-d);
    box-shadow: 0 10px 36px rgba(0,184,169,0.65), 0 3px 10px rgba(0,0,0,0.12);
    transform: translateY(-2px);
  }
}
.hero2-cta:active { transform: scale(0.97); box-shadow: 0 3px 12px rgba(0,184,169,0.3); }

/* ─────────────────────────────────────────────────────
   HERO IMAGE ACCORDION
───────────────────────────────────────────────────── */
.hero2-accordion {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  gap: 8px;
  height: clamp(420px, 57vh, 600px);
  width: 65%;
}
.ha-panel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  flex: 1 0 52px;
  transition: flex-grow 750ms cubic-bezier(0.4, 0, 0.2, 1);
}
.ha-panel.active { flex-grow: 7; }
.ha-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}
.ha-panel:hover img { transform: scale(1.04); }
.ha-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
  z-index: 1;
}
.ha-label {
  position: absolute;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  z-index: 2;
  white-space: nowrap;
  transition: bottom 350ms var(--ease-out), left 350ms var(--ease-out), transform 350ms var(--ease-out), opacity 250ms var(--ease-out);
}
.ha-panel.active .ha-label {
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
}
.ha-panel:not(.active) .ha-label {
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
}

/* ─────────────────────────────────────────────────────
   GALLERY SECTION — Lines of Action carousel
───────────────────────────────────────────────────── */
.gallery-sec {
  background: var(--off);
  padding: var(--sp) 0 0;
  overflow: hidden;
}
.gallery-hdr {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.gallery-desc {
  font-size: .95rem;
  color: var(--mid);
  line-height: 1.7;
  max-width: 500px;
  margin-top: 6px;
}
.gallery-btns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.gal-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background 200ms, color 200ms, border-color 200ms;
}
.gal-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.gal-btn:disabled { opacity: 0.35; pointer-events: none; }

.gallery-track-wrap { overflow: hidden; }
.gallery-track {
  display: flex;
  gap: 20px;
  padding: 0 52px 52px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery-track::-webkit-scrollbar { display: none; }

.gallery-card {
  flex: 0 0 340px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 400px;
  scroll-snap-align: start;
  text-decoration: none;
  display: block;
  cursor: pointer;
}
.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease-out);
}
.gallery-card:hover img { transform: scale(1.05); }
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(9,25,42,0) 0%,
    rgba(9,25,42,0.38) 45%,
    rgba(9,25,42,0.82) 100%
  );
}
.gallery-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gallery-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}
.gallery-card-desc {
  font-size: .78rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin-bottom: 8px;
}
.gallery-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #ffffff;
  transition: gap 200ms;
}
.gallery-card:hover .gallery-card-link { gap: 10px; }

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 0 52px;
}
.g-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  border: none;
  cursor: pointer;
  transition: background 200ms;
  padding: 0;
}
.g-dot.active { background: var(--accent); }

/* ─────────────────────────────────────────────────────
   FEATURE SPOTLIGHT — Global Bridge
───────────────────────────────────────────────────── */
.feat-spot {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: var(--sp) 0;
}
.fs-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.fs-left { display: flex; flex-direction: column; }
.fs-preheader {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.fs-preheader svg { flex-shrink: 0; color: var(--accent); }
.fs-preheader span {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.fs-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.fs-desc {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.82;
  margin-bottom: 36px;
  max-width: 480px;
}
.fs-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--black);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 15px 36px;
  text-decoration: none;
  align-self: flex-start;
  cursor: pointer;
  border: none;
  transition: background 200ms var(--ease-out), transform 160ms var(--ease-out);
}
@media (hover:hover) and (pointer:fine) { .fs-btn:hover { background: var(--accent); } }
.fs-btn:active { transform: scale(0.97); }

.fs-hubs {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.fs-hub {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.fs-hub strong {
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.fs-hub span { font-size: .85rem; color: var(--mid); line-height: 1.6; }

.fs-right { position: relative; }
@keyframes fsFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
.fs-img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
  box-shadow: 0 24px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.08);
  animation: fsFloat 6s ease-in-out infinite;
}

/* ─────────────────────────────────────────────────────
   FOOTER 2
───────────────────────────────────────────────────── */
.footer2 {
  background: var(--dark);
  padding: 64px 0 28px;
  border-top: 1px solid rgba(255,255,255,.04);
}
.f2-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.f2-brand { display: flex; flex-direction: column; }
.f2-logo { display: flex; flex-direction: column; gap: 3px; margin-bottom: 18px; }
.f2-logo-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: rgba(255,255,255,.85);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.f2-dot { color: var(--accent); }
.f2-logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: .5rem;
  color: rgba(255,255,255,.22);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.f2-tagline { font-size: .82rem; color: rgba(255,255,255,.28); line-height: 1.8; max-width: 260px; }
.f2-col-h {
  font-family: 'Montserrat', sans-serif;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.22);
  margin-bottom: 18px;
}
.f2-col a, .f2-col p {
  display: block;
  font-size: .8rem;
  color: rgba(255,255,255,.38);
  text-decoration: none;
  margin-bottom: 10px;
  line-height: 1.6;
  transition: color .2s;
}
.f2-col a:hover { color: var(--accent); }
.f2-contact-email {
  font-size: .73rem;
  color: rgba(255,255,255,.25);
  text-decoration: none;
  transition: color .2s;
  display: block;
  margin-top: 4px;
}
.f2-contact-email:hover { color: var(--accent); }
.f2-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .7rem;
  color: rgba(255,255,255,.16);
  flex-wrap: wrap;
  gap: 12px;
}
.f2-bottom-links { display: flex; gap: 20px; }
.f2-bottom-links a {
  color: rgba(255,255,255,.16);
  text-decoration: underline;
  font-size: .7rem;
  transition: color .2s;
}
.f2-bottom-links a:hover { color: rgba(255,255,255,.4); }

/* ── Responsive for new components ── */
@media (max-width: 1100px) {
  .fs-wrap { grid-template-columns: 1fr; gap: 48px; }
  .fs-hubs { flex-wrap: wrap; gap: 24px; }
  .gallery-track { padding: 0 20px 40px; }
  .f2-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero2-accordion { display: none; }
  .hero2-left { width: 90%; }
  .fs-wrap { padding: 0 20px; }
  .fs-hubs { flex-direction: column; gap: 16px; }
  .fs-img { animation: none; }
  .gallery-hdr { flex-direction: column; align-items: flex-start; gap: 16px; }
  .gallery-track { padding: 0 20px 40px; }
  .gallery-card { flex: 0 0 280px; min-height: 320px; }
  .f2-grid { grid-template-columns: 1fr; gap: 28px; }
  .f2-bottom { flex-direction: column; align-items: flex-start; }
  .f2-bottom-links { flex-direction: column; gap: 8px; }
}

/* ─────────────────────────────────────────────────────
   BENTO INDUSTRIES GRID
───────────────────────────────────────────────────── */
.bento-sec {
  background: var(--dark);
  padding: var(--sp) 0;
}
.bento-hdr {
  text-align: center;
  margin-bottom: 52px;
}
.bento-hdr .eyebrow { color: var(--accent); }
.bento-hdr .sec-title { color: #ffffff; display: block; }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.bento-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px 28px;
  overflow: hidden;
  cursor: default;
  transition: border-color 350ms ease, background 350ms ease;
}
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    500px circle at var(--mouse-x, -400px) var(--mouse-y, -400px),
    rgba(0,184,169,0.12),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 350ms ease;
  pointer-events: none;
}
.bento-card:hover { border-color: rgba(0,184,169,0.3); background: rgba(255,255,255,0.06); }
.bento-card:hover::before { opacity: 1; }
.bento-card.span-2 { grid-column: span 2; }
.bento-card-cat {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.bento-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 800; color: #ffffff;
  line-height: 1.2; margin-bottom: 12px;
}
.bento-card-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}
.bento-card-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px;
}
.bento-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--accent);
  background: rgba(0,184,169,0.1);
  border: 1px solid rgba(0,184,169,0.22);
  padding: 4px 10px; border-radius: 20px;
}
@media (max-width: 960px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.span-2,
  .bento-card.span-3 { grid-column: span 1; }
}

/* Bento Light variant (white background) */
.bento-light { background: #ffffff; }
.bento-light .bento-card {
  background: #f7f8f9;
  border-color: rgba(0,0,0,0.07);
}
.bento-light .bento-card::before {
  background: radial-gradient(
    500px circle at var(--mouse-x,-400px) var(--mouse-y,-400px),
    rgba(0,184,169,0.07),
    transparent 40%
  );
}
.bento-light .bento-card:hover { border-color: rgba(0,184,169,0.3); background: #ffffff; }
.bento-light .bento-card-cat { color: var(--accent); }
.bento-light .bento-card-title { color: var(--dark); }
.bento-light .bento-card-desc { color: #64748b; }
.bento-light .bento-hdr .sec-title { color: var(--dark); }

/* ─────────────────────────────────────────────────────
   KEY INDUSTRIES — Image Cards
───────────────────────────────────────────────────── */
/* ── SPOTLIGHT (Lines of Action) ─────────────────────────────────────────── */
.spotlight-sec {
  background: #ffffff;
  padding: var(--sp) 0;
}
.spotlight-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.spotlight-tab {
  padding: 9px 22px;
  border-radius: 100px;
  border: 1.5px solid #e2e8f0;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: background 200ms var(--ease-out), border-color 200ms var(--ease-out), color 200ms var(--ease-out);
  letter-spacing: 0.02em;
}
.spotlight-tab:hover { border-color: var(--accent); color: var(--accent); }
.spotlight-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
/* ── GLOBE FEATURE (Lines of Action) ─────────────────────────────────────── */
.gfeat-sec {
  background: #f7f8f9;
  padding: var(--sp) 1.5rem;  /* padding lateral mínimo — card full-width */
}
.gfeat-card {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
  width: 100%;
}
.gfeat-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 64px 64px 96px;   /* bottom extra para que el globo sangre hacia abajo */
}
.gfeat-text {
  flex: 0 1 480px;
  z-index: 1;
}
.gfeat-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.gfeat-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 400;
  color: #111827;
  line-height: 1.35;
  margin: 0 0 28px;
}
.gfeat-heading-muted {
  color: #6b7280;
}
.gfeat-lines {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gfeat-lines li {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #0f766e;
  background: rgba(0,184,169,0.09);
  border: 1px solid rgba(0,184,169,0.22);
  border-radius: 6px;
  padding: 6px 14px;
}
/* Botón: pill oscuro con flecha — estilo component original */
.gfeat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #ffffff;
  border-radius: 0;
  padding: 13px 26px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 200ms var(--ease-out), transform 150ms var(--ease-out);
}
.gfeat-btn:hover { background: var(--accent); transform: translateY(-1px); }
/* Columna derecha: marca el espacio; el posicionador sangra fuera (card lo clipea) */
.gfeat-globe-wrap {
  position: relative;
  flex: 1 0 auto;
  align-self: stretch;  /* llena toda la altura de la card */
  min-height: 400px;
}
.gfeat-globe-positioner {
  position: absolute;
  top: 50%;
  right: -160px;
  width: 580px;
  height: 580px;
  transform: translateY(-50%) scale(1.4);
  transform-origin: center;
}
#lines-globe {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 600ms ease;
  cursor: grab;
}
#lines-globe:active { cursor: grabbing; }
@media (max-width: 960px) {
  .gfeat-inner { flex-direction: column-reverse; padding: 48px 32px 40px; gap: 0; }
  .gfeat-globe-wrap { align-self: auto; min-height: 260px; width: 100%; }
  .gfeat-globe-positioner { top: 50%; right: -80px; width: 360px; height: 360px; transform: translateY(-50%) scale(1.2); }
  .gfeat-text { flex: none; width: 100%; }
}

/* Gradient A: blanco puro → teal vibrante, horizontal (de un lado al otro) */
.spotlight-card {
  background: linear-gradient(to right, #ffffff 0%, #d4f7f1 38%, #00c9b0 100%);
  border-radius: 24px;
  padding: 0;
  overflow: visible;             /* la columna derecha gestiona su propio clip */
  position: relative;
  transition: background 500ms ease;
}
/* Gradient B: blanco puro → azul vibrante, horizontal */
.spotlight-card.grad-b {
  background: linear-gradient(to right, #ffffff 0%, #cce9fb 38%, #0284c7 100%);
}
.spotlight-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
  min-height: 460px;
}
.spotlight-left {
  padding: 60px 36px 60px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.spotlight-pre {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.spotlight-pre svg { flex-shrink: 0; }
.spotlight-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin: 0 0 24px;
}
.spotlight-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.spotlight-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #334155;
  line-height: 1.5;
}
.spotlight-bullets li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.spotlight-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 30px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 200ms, transform 150ms;
  align-self: flex-start;
}
.spotlight-btn:hover { background: var(--accent-d); transform: translateY(-1px); }
/* Columna derecha: clip con radio matching card, imagen PNG flota sin caja */
.spotlight-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0 24px 24px 0;
}
.spotlight-img {
  width: auto;
  max-width: 88%;
  height: 360px;
  display: block;
  object-fit: contain;
  /* drop-shadow sobre fondo transparente — da profundidad sin caja */
  filter: drop-shadow(0 28px 56px rgba(0,0,0,0.18)) drop-shadow(0 8px 16px rgba(0,0,0,0.10));
  transition: opacity 350ms ease;
}
/* Badges posicionados desde .spotlight-card (position:relative)
   straddling el límite columna-texto / columna-imagen (~41% del ancho) */
.spotlight-badge {
  position: absolute;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 12px;
  padding: 10px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.05);
  white-space: nowrap;
  z-index: 4;
  pointer-events: none;
}
.spotlight-badge:nth-child(2) { top: 16%;    left: 36%; }
.spotlight-badge:nth-child(3) { top: 46%;    left: 31%; }
.spotlight-badge:nth-child(4) { bottom: 16%; left: 38%; }
@media (max-width: 900px) {
  .spotlight-grid { grid-template-columns: 1fr; min-height: auto; }
  .spotlight-left { padding: 40px 28px 28px; }
  .spotlight-right { order: -1; border-radius: 24px 24px 0 0; min-height: 260px; }
  .spotlight-img { height: 220px; max-width: 70%; }
  .spotlight-badge:nth-child(2) { top: 10%; left: 10px; }
  .spotlight-badge:nth-child(3) { top: 44%; left: 6px; }
  .spotlight-badge:nth-child(4) { bottom: 10%; left: 14px; }
}

/* ── GALLERY CAROUSEL (Key Industries) ───────────────────────────────────── */
.gallery-sec {
  background: #f7f8f9;
  padding: var(--sp) 0;
}
.gallery-hdr {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}
.gallery-title { color: var(--dark); }
.gallery-arrows { display: flex; gap: 10px; }
.gallery-arr {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms var(--ease-out), border-color 200ms var(--ease-out), color 200ms var(--ease-out);
  color: var(--dark);
}
.gallery-arr:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.gallery-arr:disabled { opacity: 0.35; cursor: not-allowed; }
.gallery-arr:disabled:hover { background: #fff; border-color: #cbd5e1; color: var(--dark); }
.gallery-viewport { overflow: hidden; width: 100%; }
.gallery-track {
  display: flex;
  gap: 20px;
  transition: transform 520ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.gallery-card {
  flex: 0 0 var(--gallery-card-w, 340px);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 440px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: box-shadow 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.gallery-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.gallery-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 450ms ease;
  display: block;
}
.gallery-card:hover img { transform: scale(1.05); }
.gallery-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.84) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
}
.gallery-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  color: #fff;
}
.gallery-card-cat {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.gallery-card-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem; font-weight: 800;
  line-height: 1.25; margin-bottom: 12px;
}
.gallery-card-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.gallery-card-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
}
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.gallery-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 200ms, transform 200ms;
  padding: 0;
}
.gallery-dot.active { background: var(--accent); transform: scale(1.3); }
@media (max-width: 768px) {
  .gallery-card { flex: 0 0 280px; height: 360px; }
  .gallery-track { padding-left: 20px; padding-right: 20px; }
  .gallery-hdr { flex-direction: column; align-items: flex-start; gap: 16px; }
}
