/* ============================================================
   Felipe González Flynn — shared design system
   Linked by every page. Page-specific sections keep their own
   inline <style> block for content unique to that page.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Carbón + Lima — misma paleta que la app de Fokio */
  --black:    #2c2c2c;
  --white:    #ffffff;
  --gray-bg:  #f4f4f4;
  --green:    #16a34a;
  --green-dk: #128a3e;
  --text:     #2c2c2c;
  --muted:    #666666;
  --light:    #aaaaaa;
  --nav-h:    52px;
  --font-body:    'DM Sans', 'Inter', sans-serif;
  --font-display: 'Syne', 'Inter', sans-serif;
  --display:  var(--font-display);
  --radius:   10px;
  --radius-lg: 24px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--gray-bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

img { max-width: 100%; }

/* ── NAVBAR ─────────────────────────────────────── */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--black);
  display: flex;
  align-items: center;
  padding: 0 40px;
}
.nav-brand {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: auto;
  text-decoration: none;
}
.nav-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-actions a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity .2s;
  display: flex;
  align-items: center;
}
.nav-actions a:hover { opacity: 1; }
.nav-at { font-size: 16px; font-weight: 500; }

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  padding: 13px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(0); }
.btn--wrap {
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  max-width: 300px;
}
.btn--primary { background: var(--black); color: var(--white); }
.btn--primary:hover { background: #333; transform: translateY(-2px); }
.btn--accent { background: var(--green); color: var(--white); }
.btn--accent:hover { background: var(--green-dk); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ── ARROW LINK (secondary, in-copy links) ─────────── */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color .2s, gap .2s;
}
.arrow-link:hover { color: var(--green); gap: 14px; }
.arrow-link .arrow { color: var(--green); font-style: normal; }

/* ── SECTION HEADINGS ───────────────────────────── */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

/* ── FADE-IN ANIMATION ──────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── FOOTER ─────────────────────────────────────── */
footer {
  background: var(--gray-bg);
  border-top: 1px solid #d8d8d8;
  padding: 28px 40px 24px;
  text-align: center;
}
.footer-contact { margin-bottom: 8px; }
.footer-contact p { font-size: 11px; color: #aaa; line-height: 1.9; }
.footer-contact a { color: #aaa; text-decoration: none; }
.footer-contact a:hover { color: #666; }
.footer-legal { font-size: 10px; color: #bbb; line-height: 1.9; }
.footer-sitemap {
  border-top: 1px solid #2a2a2a;
  margin-top: 32px;
  padding-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.footer-sitemap-col h4 { font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #555; margin-bottom: 14px; }
.footer-sitemap-col a { display: block; font-size: 11px; color: #888; text-decoration: none; margin-bottom: 8px; transition: color .2s; }
.footer-sitemap-col a:hover { color: #333; }

/* ── SHARED CTA BAND (used at bottom of most pages) ── */
.cta-band {
  background: var(--black);
  padding: 80px 40px;
  text-align: center;
}
.cta-band-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: .01em;
  margin-bottom: 16px;
  line-height: 1.25;
}
.cta-band-sub {
  font-size: 16px;
  color: rgba(255,255,255,.65);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.cta-band-sub strong { color: var(--white); }

@media (max-width: 600px) {
  nav { padding: 0 24px; }
  .nav-brand { display: none; }
  .footer-sitemap { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cta-band { padding: 56px 24px; }
}
