/* Option B — light, white, large typography. Same navy #102943 and gold #E6B84F. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/InterVariable.woff2") format("woff2");
}
:root {
  --navy: #102943;
  --gold: #e6b84f;
  --ink: #102943;
  --muted: #5a6a7a;
  --line: #e8e8e8;
  --bg: #ffffff;
  --soft: #f7f7f5;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: #0a3a6a; }
.skip {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0);
}
.skip:focus, .skip:focus-visible {
  width: auto; height: auto; clip: auto; left: 16px; top: 16px;
  padding: 8px 12px; background: var(--gold); z-index: 100; font-weight: 700;
}
.wrap { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.brand img { width: 34px; height: 34px; }
.brand-name { font-weight: 800; letter-spacing: 0.1em; font-size: 0.92rem; }
.brand-llc { display: block; font-size: 0.58rem; letter-spacing: 0.16em; color: var(--muted); font-weight: 600; margin-top: 3px; }
.nav-toggle {
  display: none; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font: inherit; font-size: 0.8rem; font-weight: 650; cursor: pointer;
  flex: 0 0 auto; white-space: nowrap; color: var(--navy);
}
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-wrap: nowrap; }
.nav a { text-decoration: none; color: var(--ink); font-size: 0.92rem; font-weight: 550; padding: 8px 11px; white-space: nowrap; }
.nav a.header-login, .nav a.btn-navy { color: #fff; }
.nav a:hover { color: var(--navy); }
.lang {
  display: inline-flex; flex: 0 0 auto; width: 5.4rem; min-width: 5.4rem; max-width: 5.4rem;
  border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-left: 8px;
}
.lang-btn {
  appearance: none; border: 0; background: transparent; color: var(--muted);
  font: inherit; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 6px 10px; cursor: pointer; flex: 0 0 auto; min-width: 2.4rem;
}
.lang-btn[aria-pressed="true"] { background: var(--navy); color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 700; font-size: 0.95rem;
  border-radius: 4px; padding: 14px 22px; border: 1px solid transparent; line-height: 1.2;
}
.btn-navy, .header-login { background: var(--navy); color: #fff; }
.btn-navy:hover, .header-login:hover { background: #18375a; color: #fff; }
.header-login { margin-left: 6px; padding: 9px 16px; font-size: 0.84rem; white-space: nowrap; border-radius: 4px; }
.btn-gold { background: var(--navy); color: #fff; }
.btn-gold:hover { background: #18375a; color: #fff; }
.btn-ghost, .btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover, .btn-outline:hover { background: var(--navy); color: #fff; }
.nav-toggle:focus-visible, .lang-btn:focus-visible, .btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}

/* Hero — typographic, on white */
.hero {
  background: var(--bg);
  color: var(--ink);
  padding: 8.5vh 0 9vh;
  border-bottom: 1px solid var(--line);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--navy); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; margin: 0 0 28px;
}
.hero-kicker::before { content: ""; width: 36px; height: 3px; background: var(--gold); }
.hero h1 {
  font-size: clamp(3.1rem, 8vw, 6.15rem);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin: 0 0 28px;
  max-width: 13.5ch;
  color: var(--navy);
}
.hero-lead {
  max-width: 36em;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.section { padding: 104px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-label {
  margin: 0 0 12px; color: #9a7420; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.section h2 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  font-weight: 750;
}
.section-intro { max-width: 38em; color: var(--muted); margin: 0 0 52px; font-size: 1.08rem; }

.services-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px;
  border-top: 1px solid var(--line);
}
.service {
  display: grid; grid-template-columns: 2.6rem 1fr; gap: 8px 18px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.service-num { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; color: #9a7420; padding-top: 8px; }
.service h3 { margin: 0 0 6px; font-size: 1.55rem; letter-spacing: -0.03em; font-weight: 700; line-height: 1.15; }
.service p { margin: 0; color: var(--muted); font-size: 1rem; }

.markets { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; align-items: stretch; }
.market {
  background: transparent; border: 0; border-right: 1px solid var(--line);
  border-radius: 0; padding: 8px 18px 8px 0; min-height: 0;
  display: flex; flex-direction: column; justify-content: flex-start;
  box-shadow: none;
}
.market:last-child { border-right: 0; padding-right: 0; }
.market:not(:first-child) { padding-left: 18px; }
.market strong {
  display: flex; align-items: center; min-height: 1.7em;
  font-size: clamp(1.15rem, 1.45vw, 1.4rem);
  letter-spacing: -0.03em; font-weight: 750;
  line-height: 1.15; white-space: nowrap;
}
.market span { color: var(--muted); font-size: 0.82rem; margin-top: 8px; line-height: 1.35; min-height: 2.6em; }

.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: start; }
.contact-card {
  background: var(--soft); color: var(--ink);
  border-radius: 0; padding: 0; border: 0;
}
.contact-card h2, .aside-note h3 { color: var(--ink); }
.contact-card .section-label { color: #9a7420; }
.contact-card p { color: var(--muted); }
.contact-list { list-style: none; margin: 36px 0 0; padding: 0; }
.contact-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list a, .contact-list span.value { color: var(--navy); text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.contact-list a:hover { color: #0a3a6a; }
.contact-list .label {
  display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #9a7420; font-weight: 700; margin-bottom: 6px;
}
.aside-note { background: transparent; border: 0; border-left: 3px solid var(--gold); border-radius: 0; padding: 8px 0 8px 28px; }
.aside-note h3 { margin: 0 0 10px; font-size: 1.6rem; letter-spacing: -0.03em; }
.aside-note p { color: var(--muted); margin: 0 0 22px; }

.site-footer { background: var(--bg); color: var(--muted); padding: 36px 0 32px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: flex-start; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 800; letter-spacing: 0.08em; font-size: 0.9rem; }
.footer-brand img, .footer-brand svg { width: 28px; height: 28px; flex-shrink: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 550; }
.footer-links a:hover { color: var(--navy); }
.copyright { width: 100%; margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }

.page-hero { background: var(--bg); color: var(--ink); padding: 72px 0 28px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 8px 0 0; font-size: clamp(2.8rem, 6vw, 4.6rem); letter-spacing: -0.045em; font-weight: 750; line-height: 1; }
.page-hero .meta { margin: 16px 0 0; color: var(--muted); }
.page-hero .hero-kicker { color: var(--navy); }
.prose { padding: 56px 0 96px; max-width: 760px; }
.prose h2 { margin: 2.2em 0 0.6em; font-size: 1.35rem; letter-spacing: -0.02em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; }
.prose .legal-note { font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 3em; padding-top: 1.2em; }
.steps { list-style: none; padding: 0; margin: 0 0 1.5em; counter-reset: step; }
.steps li {
  position: relative; padding: 16px 16px 16px 64px; border-top: 1px solid var(--line);
  border-radius: 0; background: transparent; margin: 0; color: var(--muted);
}
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 16px; font-weight: 750; color: #9a7420;
}

html[lang="es"] .lang-en { display: none !important; }
html[lang="en"] .lang-es { display: none !important; }

@media (max-width: 1100px) {
  .markets { grid-template-columns: 1fr; gap: 0; }
  .market, .market:not(:first-child) {
    border-right: 0; border-bottom: 1px solid var(--line);
    padding: 16px 0;
  }
  .market:last-child { border-bottom: 0; }
  .market strong { font-size: 1.55rem; }
}
@media (max-width: 860px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .nav-toggle { display: inline-flex; margin-left: 8px; }
  .lang { margin-left: auto; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px; flex-direction: column; align-items: stretch;
  }
  .nav.open { display: flex; }
  .header-login { margin: 8px 0 0; width: 100%; }
  .services-list, .markets, .contact-grid { grid-template-columns: 1fr; gap: 0; }
  .market, .market:not(:first-child) { padding: 16px 0; border-right: 0; }
  .hero { padding: 48px 0 56px; }
  .hero h1 { max-width: 12ch; }
  .section { padding: 72px 0; }
  .service h3 { font-size: 1.35rem; }
  .market strong { font-size: 1.55rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
