/* Spanish hubs — minimal, on-brand, crawler-readable.
   Uses the Finance forest + paper palette from styles.css. */

:root {
  --forest:#013220;
  --forest-2:#024a31;
  --mint:#99edc3;
  --paper:#fff;
  --fog:#f8f9fa;
  --ink:#1a1a1a;
  --mute:#6b7875;
  --line:#d7dfda;
}

body.es-hub {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

.es-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.es-nav .es-brand {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--forest);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.es-nav nav { display: flex; gap: 24px; }
.es-nav nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.es-nav nav a:hover { color: var(--forest); }

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 100px) clamp(20px, 5vw, 60px) 80px;
}

.es-breadcrumb {
  font-size: 13px;
  color: var(--mute);
  margin-bottom: 32px;
}
.es-breadcrumb a { color: var(--forest); text-decoration: none; }
.es-breadcrumb a:hover { text-decoration: underline; }
.es-breadcrumb span[aria-hidden] { margin: 0 8px; opacity: 0.5; }

.es-hero {
  margin-bottom: clamp(40px, 6vw, 72px);
  max-width: 760px;
}
.es-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--forest-2);
  margin: 0 0 14px;
}
.es-hero h1 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--forest);
  margin: 0 0 20px;
}
.es-lead {
  font-family: 'Newsreader', serif;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  max-width: 680px;
}

.es-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.es-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s, transform 0.15s;
}
.es-card:hover {
  border-color: var(--forest);
  transform: translateY(-2px);
}
.es-card-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.es-card h2 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  margin: 0;
  color: var(--forest);
  letter-spacing: -0.01em;
}

.es-guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.es-guide-list li {
  border-bottom: 1px solid var(--line);
}
.es-guide-list a {
  display: block;
  padding: 22px 4px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 19px;
  font-weight: 500;
  color: var(--forest);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.es-guide-list a:hover { color: var(--forest-2); }
.es-guide-list a::after {
  content: ' →';
  color: var(--mute);
  transition: transform 0.15s;
  display: inline-block;
}
.es-guide-list a:hover::after { color: var(--forest); }

.es-footer {
  border-top: 1px solid var(--line);
  padding: 32px clamp(20px, 5vw, 60px);
  font-size: 13px;
  color: var(--mute);
  text-align: center;
}
.es-footer a { color: var(--forest); text-decoration: none; }
.es-footer-disclaimer { font-size: 11px; opacity: 0.7; margin-top: 8px; max-width: 720px; margin-left: auto; margin-right: auto; }
