:root {
  --navy: #0b1f3a;
  --navy-light: #14315a;
  --navy-deep: #071527;
  --ink: #101828;
  --muted: #5b6472;
  --gold: #b78846;
  --gold-light: #d9b878;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --border: #e4e7ec;
  --radius: 14px;
  --radius-pill: 999px;
  --max-width: 1080px;
  --font-display: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 12px;
}

/* Subtle film-grain overlay for texture */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.025;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark { display: block; flex-shrink: 0; }

.logo-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
}

.nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav a:hover { color: var(--navy); }

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  transition: background 0.15s ease, transform 0.15s ease;
}

.nav-cta:hover { background: var(--navy-light); transform: translateY(-1px); }

/* Hero */
.hero {
  position: relative;
  padding: 140px 0 110px;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(600px 400px at 85% -10%, rgba(183, 136, 70, 0.14), transparent 60%),
    radial-gradient(700px 500px at -10% 20%, rgba(11, 31, 58, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 65%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 31, 58, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 58, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.hero h1 {
  font-size: 54px;
  font-weight: 700;
  margin-bottom: 22px;
}

.hero h1 .accent {
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(11, 31, 58, 0.45);
}

.btn-primary:hover { background: var(--navy-light); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border);
}

.btn-ghost:hover { border-color: var(--navy); transform: translateY(-1px); }

/* Sections */
.section { padding: 96px 0; }

.section h2 {
  font-size: 34px;
}

/* About */
.about { background: var(--bg-alt); }

.about-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 52px;
  align-items: start;
}

.about-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.01em;
  box-shadow: 0 16px 32px -12px rgba(11, 31, 58, 0.5);
  border: 4px solid #fff;
}

.about-title {
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 18px;
}

.about-bio {
  color: var(--muted);
  max-width: 600px;
  font-size: 16px;
}

/* Track record */
.track-record { background: var(--bg); }

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 40px 0 64px;
}

.stat {
  background: var(--bg-alt);
  padding: 28px 20px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 6px;
}

.stat-label {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}

.timeline {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 44px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: -41px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-marker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.timeline-date {
  display: inline-block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 6px;
}

.timeline-content h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--muted);
  max-width: 620px;
  margin: 0;
}

.track-note {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: var(--bg);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 32px -20px rgba(11, 31, 58, 0.25);
}

.service-number {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* LatAm */
.latam {
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
}

.latam-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 400px at 90% 10%, rgba(183, 136, 70, 0.18), transparent 60%),
    radial-gradient(600px 500px at 10% 100%, rgba(255, 255, 255, 0.05), transparent 60%);
}

.latam-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.latam .eyebrow { color: var(--gold-light); }

.latam h2 { color: #fff; }

.latam-copy {
  color: #c4cbda;
  font-size: 17px;
  margin: 0;
}

/* Contact */
.contact { text-align: center; background: var(--bg-alt); }

.contact-inner { max-width: 560px; margin: 0 auto; }

.contact-copy {
  color: var(--muted);
  margin-bottom: 28px;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 16px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  max-width: 260px;
  margin: 14px 0 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin: 0 0 12px;
}

.footer-col p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.footer-col a {
  color: var(--muted);
  text-decoration: none;
}

.footer-col a:hover { color: var(--navy); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.footer-domain {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
}

/* Legal pages */
.legal-page {
  padding: 72px 0 96px;
}

.legal-page .container { max-width: 760px; }

.legal-page h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 40px;
}

.legal-page h2 {
  font-size: 20px;
  margin: 36px 0 12px;
}

.legal-page p, .legal-page li {
  color: var(--muted);
  font-size: 15px;
}

.legal-page a { color: var(--navy); }

/* Responsive */
@media (max-width: 800px) {
  .nav { gap: 16px; }
  .hero { padding: 110px 0 80px; }
  .hero h1 { font-size: 34px; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { margin: 0 auto; }
  .service-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .timeline { padding-left: 26px; }
  .timeline-marker { left: -35px; }
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
