/* Zentra Capital Group LLC — Corporate site
   Institutional editorial layout. Restrained typography, generous whitespace. */

:root {
  --forest: #2a3220;
  --sage: #7a9060;
  --sage-soft: #a8bc90;
  --cream: #f4f1eb;
  --warm-white: #faf9f6;
  --charcoal: #1a1f14;
  --text-body: #33382b;
  --text-muted: #5c6355;
  --rule: rgba(42, 50, 32, 0.12);
  --rule-soft: rgba(42, 50, 32, 0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  z-index: 200;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.wordmark {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.10em;
  color: var(--forest);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--olive, var(--sage)); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-nav a {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav a:hover { color: var(--sage); }
.site-nav a.active {
  color: var(--forest);
  border-bottom-color: var(--sage);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--forest);
}
.nav-toggle svg { display: block; width: 22px; height: 22px; }

@media (max-width: 768px) {
  .header-inner { padding: 18px 20px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--warm-white);
    border-bottom: 1px solid var(--rule);
    padding: 8px 20px 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--rule-soft);
  }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a.active { border-bottom-color: var(--sage); }
}

/* Containers */
.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) {
  .container, .container-narrow { padding: 0 20px; }
}

/* Sections */
main { display: block; }
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--rule-soft); }
@media (max-width: 640px) {
  section { padding: 56px 0; }
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--forest);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.25;
  margin: 48px 0 16px;
}
h3 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  margin: 32px 0 12px;
}
h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

p { margin-bottom: 18px; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 22px; margin-bottom: 18px; }
li { margin-bottom: 6px; }
strong { color: var(--charcoal); font-weight: 600; }
em { font-style: italic; }

a {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-color: var(--sage);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.15s ease;
}
a:hover { color: var(--sage); }
a:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 2px; }

/* Eyebrow */
.eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--sage);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* Page hero */
.page-hero {
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--rule);
}
.page-hero .lede {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
  margin-top: 8px;
}
@media (max-width: 640px) {
  .page-hero { padding: 64px 0 40px; }
  .page-hero .lede { font-size: 16px; }
}

/* Breadcrumb */
.breadcrumb {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--forest); }
.breadcrumb .sep {
  margin: 0 8px;
  color: var(--rule);
}

/* Cards (article/resource lists) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  display: block;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--sage); transform: translateY(-1px); }
.card .kicker {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--sage);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--forest);
}
.card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 900px) {
  .card-grid, .card-grid.two { grid-template-columns: 1fr; }
}

/* Article body */
.article-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
}
.article-body h2 {
  margin-top: 56px;
}
.article-body h2:first-child { margin-top: 40px; }
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { margin-bottom: 20px; }

/* Disclaimer box (bottom of articles) */
.disclaimer {
  margin-top: 64px;
  padding: 28px 28px 28px 32px;
  background: var(--cream);
  border-left: 3px solid var(--sage);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}
.disclaimer strong { color: var(--forest); }

/* Home: quiénes somos, compromiso */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

/* Info grid (contacto page) */
.info-block {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
}
.info-block h3 { margin-top: 0; }

/* Address block */
address {
  font-style: normal;
  color: var(--text-body);
  line-height: 1.7;
}

/* Section header (small helper) */
.section-header { margin-bottom: 24px; }
.section-header p { color: var(--text-muted); max-width: 620px; }

/* Footer */
.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--rule);
  margin-top: 96px;
}
.footer-cols {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 32px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer-col p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  max-width: 320px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--forest); }
.footer-col .wordmark { display: block; margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid var(--rule);
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px 32px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .footer-cols { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 24px; }
  .footer-bottom { padding: 24px 20px 28px; }
  .site-footer { margin-top: 72px; }
}

/* Divider between article intro and body */
.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 40px 0;
}
