/* ============================================================
   COMPASS — styles.css  v2
   ============================================================ */

/* ---- RESET & BASE ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #060F1E;
  --bg2:      #0A1E38;
  --bg3:      #0D2D5E;
  --blue:     #1B4F8A;
  --accent:   #4B89D4;
  --gold:     #C9952A;
  --gold-lt:  #E8B547;
  --text:     #E5EAF3;
  --muted:    #7A8BA8;
  --border:   rgba(75,137,212,.18);
  --r:        10px;
  --r-lg:     18px;
  --nav-h:    68px;
  --max:      1180px;
  --px:       clamp(20px, 5vw, 72px); /* responsive horizontal padding */
  --trans:    .28s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
em { font-family: 'Fraunces', Georgia, serif; font-style: italic; color: var(--gold-lt); }
b  { font-weight: 600; }
ul, ol { list-style: none; }
img, svg { display: block; }

/* ---- CONTAINER ------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--px) * 2);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* ---- TYPOGRAPHY HELPERS ---------------------------------- */
.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: block;
}
.eyebrow.on-dark { color: var(--gold); }

.h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.h2.on-dark { color: #fff; }

.lead { font-size: 1.05rem; color: var(--muted); line-height: 1.75; }
.muted { color: var(--muted); font-size: .95rem; line-height: 1.7; }
.muted.on-dark { color: rgba(229,234,243,.5); }

.sec-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

/* ---- BUTTONS --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans);
  white-space: nowrap;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 20px rgba(201,149,42,.3);
}
.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(201,149,42,.4);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  font-size: 1rem;
  padding: 15px 28px;
  box-shadow: 0 4px 24px rgba(201,149,42,.35);
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost.on-dark { border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.8); }
.btn-ghost.on-dark:hover { border-color: var(--gold-lt); color: var(--gold-lt); }

/* ---- REVEAL ANIMATION ------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--px);
  transition: background var(--trans), border-color var(--trans);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6,15,30,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
}
.brand-mark { width: 30px; height: 30px; color: var(--text); }
.brand-word  { color: var(--text); }
.brand.on-dark .brand-mark,
.brand.on-dark .brand-word { color: #fff; }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: .87rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--trans);
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  background: rgba(201,149,42,.1);
  border: 1px solid rgba(201,149,42,.3);
  color: var(--gold-lt);
  transition: all var(--trans);
}
.nav-cta:hover { background: rgba(201,149,42,.18); border-color: var(--gold); }
.nav-cta .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(.7); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Background stage */
.hero-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(75,137,212,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75,137,212,.06) 1px, transparent 1px);
  background-size: 64px 64px;
}

.compass-wrap {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(600px, 52vw);
  height: min(600px, 52vw);
}
.compass-svg { width: 100%; height: 100%; opacity: .45; }

.compass-svg .needle {
  animation: needle-rotate 14s ease-in-out infinite alternate;
}
@keyframes needle-rotate {
  0%   { transform: rotate(-20deg); }
  40%  { transform: rotate(10deg); }
  70%  { transform: rotate(-5deg); }
  100% { transform: rotate(16deg); }
}
.compass-svg .floaters circle {
  animation: float-dot 4s ease-in-out infinite alternate;
}
.compass-svg .floaters circle:nth-child(2) { animation-delay: .8s; }
.compass-svg .floaters circle:nth-child(3) { animation-delay: 1.6s; }
.compass-svg .floaters circle:nth-child(4) { animation-delay: 2.4s; }
@keyframes float-dot {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* Hero content — acts as its own container */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(var(--max) + var(--px) * 2);
  margin: 0 auto;
  padding: 80px var(--px) 80px;
}
.hero-content > * { max-width: 580px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201,149,42,.4);
  animation: pulse-ring 2.2s ease infinite;
  flex-shrink: 0;
}
@keyframes pulse-ring {
  0%  { box-shadow: 0 0 0 0 rgba(201,149,42,.5); }
  70% { box-shadow: 0 0 0 10px rgba(201,149,42,0); }
  100%{ box-shadow: 0 0 0 0 rgba(201,149,42,0); }
}

.hero-h1 {
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.04em;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 26px;
}
.hero-h1 .line { display: flex; gap: .22em; }
.hero-h1 .italic {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-lt);
}
.hero-h1 .word {
  display: inline-block;
  animation: word-in .7s cubic-bezier(.16,1,.3,1) both;
}
.hero-h1 .line:nth-child(2) .word { animation-delay: .12s; }
@keyframes word-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 36px;
}
.hero-sub em { font-size: inherit; }

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  max-width: 420px;
}
.hs {
  padding: 20px 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(13,30,56,.4);
}
.hs:nth-child(2n)  { border-right: none; }
.hs:nth-child(n+3) { border-bottom: none; }
.hs-num {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 5px;
}
.hs-label { font-size: .73rem; color: var(--muted); font-weight: 500; }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: .5;
}
.line-down {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: line-drop 1.6s ease-in-out infinite;
}
@keyframes line-drop {
  0%,100% { transform: scaleY(1); opacity: .6; }
  50%      { transform: scaleY(.4); opacity: .2; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(to right, var(--bg2), transparent); }
.marquee::after  { right: 0; background: linear-gradient(to left,  var(--bg2), transparent); }

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
  padding: 16px 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.m-item {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 18px;
  white-space: nowrap;
}
.m-dot { color: var(--gold); font-size: .55rem; opacity: .5; }

/* ============================================================
   WE ARE
   ============================================================ */
.we-are { padding: 112px 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.col-l { position: sticky; top: calc(var(--nav-h) + 32px); }
.col-l .h2 { margin-bottom: 0; }

.checklist { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.checklist li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
}
.cl-mark {
  flex-shrink: 0;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: rgba(201,149,42,.12);
  border: 1.5px solid var(--gold);
  margin-top: 3px;
  position: relative;
}
.cl-mark::after {
  content: '';
  position: absolute;
  left: 4px; top: 4px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ============================================================
   MERCADOS
   ============================================================ */
.mercados { padding: 112px 0; background: var(--bg2); }

.mercados-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: start;
}
.mercados-side {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}
.mercados-side .h2  { margin-bottom: 14px; }
.mercados-side .muted { margin-bottom: 30px; }

.mercados-nav { display: flex; flex-direction: column; gap: 6px; }
.mn-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: var(--r);
  border: 1.5px solid transparent;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
  font-family: inherit;
  transition: all var(--trans);
}
.mn-btn .mn-flag { font-size: 1.15rem; }
.mn-btn .mn-meta {
  margin-left: auto;
  font-size: .7rem;
  font-weight: 400;
  opacity: .55;
}
.mn-btn:hover { background: rgba(75,137,212,.06); color: var(--text); border-color: var(--border); }
.mn-btn.active {
  background: rgba(201,149,42,.08);
  color: var(--text);
  border-color: rgba(201,149,42,.35);
}
.mn-btn.active .mn-meta { color: var(--gold); opacity: 1; }

.mc { display: none; animation: fade-in .32s ease; }
.mc.active { display: block; }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.mc-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,149,42,.28);
  background: rgba(201,149,42,.07);
  padding: 4px 11px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.mc-h {
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  margin-bottom: 16px;
  max-width: 520px;
}
.mc-p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 26px;
  max-width: 560px;
}

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips li {
  font-size: .76rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 20px;
  background: rgba(75,137,212,.09);
  border: 1px solid var(--border);
  color: var(--accent);
}

.latam-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lg {
  background: rgba(13,45,94,.4);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
}
.lg-flag { font-size: 1.4rem; margin-bottom: 7px; }
.lg-c { font-weight: 700; font-size: .88rem; margin-bottom: 4px; }
.lg-d { font-size: .76rem; color: var(--muted); line-height: 1.5; }

/* ============================================================
   SERVICIOS
   ============================================================ */
.servicios { padding: 112px 0; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.svc {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-right-width: 0;
  border-bottom-width: 0;
  background: rgba(10,20,44,.3);
  transition: background var(--trans);
}
.svc:hover { background: rgba(27,79,138,.14); }
/* right border on last of each row */
.svc:nth-child(3n)   { border-right: 1px solid var(--border); }
/* bottom border on first row */
.svc:nth-child(-n+3) { border-bottom: 1px solid var(--border); }
/* outer corners */
.svc:nth-child(1) { border-radius: var(--r-lg) 0 0 0; }
.svc:nth-child(3) { border-radius: 0 var(--r-lg) 0 0; border-right: 1px solid var(--border); }
.svc:nth-child(4) { border-radius: 0 0 0 var(--r-lg); }
.svc:nth-child(6) { border-radius: 0 0 var(--r-lg) 0; border-right: 1px solid var(--border); }
/* Add surrounding border via outline trick */
.svc-grid {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.svc { border-radius: 0 !important; border: none; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.svc:nth-child(3n) { border-right: none; }
.svc:nth-child(n+4){ border-bottom: none; }

.svc-num {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--accent);
  opacity: .4;
  margin-bottom: 18px;
}
.svc-icon { width: 38px; height: 38px; margin-bottom: 18px; color: var(--accent); }
.svc-icon svg { width: 100%; height: 100%; }
.svc-h { font-size: 1rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.svc-p { font-size: .86rem; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.svc-list { display: flex; flex-direction: column; gap: 7px; }
.svc-list li {
  font-size: .78rem;
  color: var(--muted);
  padding-left: 13px;
  position: relative;
}
.svc-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .6;
}

/* ============================================================
   DIFERENCIADORES
   ============================================================ */
.diff { background: var(--bg3); padding: 112px 0; }

.diff-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}
.diff-l { position: sticky; top: calc(var(--nav-h) + 32px); }
.diff-l .h2 { margin-bottom: 18px; }

.diff-list { display: flex; flex-direction: column; }
.dl-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--trans);
}
.dl-item:last-child { border-bottom: none; }
.dl-num {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 5px;
  transition: color var(--trans);
}
.dl-title {
  font-size: 1rem;
  font-weight: 700;
  opacity: .38;
  margin-bottom: 5px;
  transition: opacity var(--trans);
}
.dl-meta {
  font-size: .82rem;
  color: var(--muted);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .3s, max-height .4s;
}
.dl-bar {
  height: 2.5px;
  border-radius: 2px;
  background: rgba(255,255,255,.06);
  margin-top: 12px;
  overflow: hidden;
  opacity: 0;
  transition: opacity .3s;
}
.dl-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s cubic-bezier(.4,0,.2,1) .1s;
}
.dl-item.active .dl-num   { color: var(--gold); }
.dl-item.active .dl-title { opacity: 1; }
.dl-item.active .dl-meta  { opacity: .7; max-height: 60px; }
.dl-item.active .dl-bar   { opacity: 1; }
.dl-item.active .dl-bar span { transform: scaleX(1); }

/* ============================================================
   PROCESO
   ============================================================ */
.proceso { padding: 112px 0; }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 8px;
}
.tl-line {
  position: absolute;
  top: 18px;
  left: 24px; right: 24px;
  height: 1.5px;
  background: var(--border);
  z-index: 0;
}
.tl-progress {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  width: 0;
  transition: width 1.4s cubic-bezier(.4,0,.2,1);
}
.tl-step {
  padding: 50px 24px 20px;
  position: relative;
  z-index: 1;
}
.tl-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--muted);
  position: absolute;
  top: 13px; left: 24px;
  transition: border-color .4s, background .4s, box-shadow .4s;
}
.tl-step.visible .tl-dot {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(201,149,42,.18);
}
.tl-day {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 9px;
}
.tl-h { font-size: 1rem; font-weight: 700; margin-bottom: 9px; letter-spacing: -.01em; }
.tl-p { font-size: .84rem; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.tl-meta { font-size: .73rem; font-weight: 600; color: var(--accent); opacity: .65; }

/* ============================================================
   EQUIPO
   ============================================================ */
.equipo { padding: 112px 0; background: var(--bg2); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.tm {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(10,20,44,.3);
  transition: background var(--trans);
}
.tm:hover { background: rgba(27,79,138,.15); }
.tm:nth-child(3n)  { border-right: none; }
.tm:nth-child(n+4) { border-bottom: none; }
.tm-role {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.tm-d { font-size: .86rem; color: var(--muted); line-height: 1.7; }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testi { padding: 112px 0; background: var(--bg3); }

.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.tcard {
  background: rgba(6,15,30,.5);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: border-color var(--trans), transform var(--trans);
}
.tcard:hover { border-color: rgba(201,149,42,.3); transform: translateY(-4px); }
.tquote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 4rem;
  line-height: .5;
  color: var(--gold);
  opacity: .3;
  margin-bottom: 16px;
  user-select: none;
}
.tcard blockquote {
  font-size: .93rem;
  color: rgba(229,234,243,.78);
  line-height: 1.75;
  margin-bottom: 22px;
}
.tcard blockquote::before,
.tcard blockquote::after { content: ''; }
.tname { font-size: .88rem; font-weight: 700; margin-bottom: 3px; }
.tmeta { font-size: .76rem; color: var(--muted); }

.kpi-band {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: rgba(6,15,30,.45);
  overflow: hidden;
}
.kp { padding: 30px 20px; text-align: center; }
.kp-n {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 7px;
}
.kp-n span { font-size: 1.3rem; color: var(--gold); }
.kp-l { font-size: .76rem; color: var(--muted); font-weight: 500; }
.kp-sep { width: 1px; background: var(--border); align-self: stretch; }

/* ============================================================
   CTA / CONTACTO
   ============================================================ */
.cta {
  position: relative;
  background: var(--bg);
  padding: 128px 0;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-bg svg { width: 100%; height: 100%; }
.cta-inner { position: relative; z-index: 1; max-width: 680px; }

.cta-h {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 20px;
}
.cta-h .gold { color: var(--gold-lt); }
.cta-p {
  font-size: .98rem;
  color: rgba(229,234,243,.5);
  line-height: 1.7;
  margin-bottom: 40px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.cta-meta {
  display: flex;
  gap: 28px;
  justify-content: center;
  font-size: .8rem;
  color: rgba(229,234,243,.35);
  flex-wrap: wrap;
}
.cta-meta b { color: rgba(229,234,243,.55); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #020A14;
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.f-brand .brand { margin-bottom: 12px; }
.f-tag { font-size: .8rem; color: var(--muted); max-width: 210px; line-height: 1.6; }
.f-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.f-h {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.f-cols a {
  display: block;
  font-size: .83rem;
  color: rgba(122,139,168,.65);
  padding: 4px 0;
  transition: color var(--trans);
}
.f-cols a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .76rem;
  color: var(--muted);
  opacity: .45;
}
.f-version { font-size: .7rem; }

/* ============================================================
   RESPONSIVE — Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --px: 36px; }

  .mercados-grid { grid-template-columns: 280px 1fr; gap: 40px; }
  .diff-grid      { grid-template-columns: 280px 1fr; gap: 52px; }

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

  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .t-grid    { grid-template-columns: 1fr 1fr; }
  .t-grid .tcard:last-child { grid-column: 1 / -1; max-width: 420px; margin: 0 auto; width: 100%; }

  .kpi-band { grid-template-columns: 1fr 1fr; }
  .kp-sep:nth-child(even) { display: none; }
  .kp:nth-child(-n+4):nth-child(odd):not(:last-child) { border-bottom: 1px solid var(--border); }
}

/* ============================================================
   RESPONSIVE — Mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 58px; --px: 20px; }

  /* Nav */
  .nav-links { display: none; }

  /* Hero */
  .hero-content > * { max-width: 100%; }
  .compass-wrap {
    right: -30%;
    top: 50%;
    transform: translateY(-50%);
    width: 90vw;
    height: 90vw;
    opacity: .18;
  }
  .hero-stats { max-width: 100%; }
  .hero-h1 { font-size: clamp(2.8rem, 11vw, 4rem); }

  /* Sections */
  .two-col {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .col-l { position: static; }

  .mercados-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .mercados-side { position: static; }

  .diff-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .diff-l { position: static; }

  /* Services 1 col on mobile */
  .svc-grid { grid-template-columns: 1fr; }

  /* Timeline vertical */
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .tl-line  { display: none; }
  .tl-step  { padding: 20px 20px 20px 48px; border-bottom: 1px solid var(--border); }
  .tl-step:last-child { border-bottom: none; }
  .tl-dot   { left: 14px; top: 24px; }

  /* Team */
  .team-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .t-grid { grid-template-columns: 1fr; }
  .t-grid .tcard:last-child { grid-column: auto; max-width: none; }

  /* KPI band */
  .kpi-band {
    grid-template-columns: 1fr 1fr;
  }
  .kp-sep { display: none; }
  .kp {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .kp:nth-child(2n) { border-right: none; }
  .kp:nth-last-child(-n+2) { border-bottom: none; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .f-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  /* CTA */
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { justify-content: center; }
  .cta-meta { flex-direction: column; gap: 8px; }

  /* LATAM grid */
  .latam-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — Small mobile (≤420px)
   ============================================================ */
@media (max-width: 420px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats .hs { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-stats .hs:last-child { border-bottom: none; }
  .f-cols { grid-template-columns: 1fr; }
  .kpi-band { grid-template-columns: 1fr; }
  .kp { border-right: none; }
}
