/* ============================================================
   Bender Growth · global.css
   Tokens, reset, y componentes compartidos por todas las páginas.
   ============================================================ */

/* --- Tokens --- */
:root {
  --ink: #0E1C2E;
  --ink-2: #15273F;
  --bone: #ECE7DD;
  --bone-2: #FFFFFF;
  --gold: #C2A06B;
}

/* --- Reset / base --- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
}

::selection { background: var(--gold); color: var(--ink); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, li { margin: 0; padding: 0; }
ul { list-style: none; }

/* Foco visible accesible para elementos interactivos */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* --- Nav --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(236, 231, 221, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(14, 28, 46, 0.12);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.nav-logo img { height: 56px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 13px; font-weight: 500; color: rgba(14,28,46,0.65); letter-spacing: 0.02em; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: var(--bone) !important;
  padding: 13px 22px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; border: 1px solid var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
  transition: color .2s;
}
.nav-cta:hover { color: var(--gold) !important; }

@media (max-width: 860px) {
  .nav-inner { height: 72px; padding: 0 18px; }
  .nav-logo img { height: 44px; }
  .nav-links { gap: 18px; }
  .nav-links a:not(.nav-cta) { display: none; }
}

/* --- Botones --- */
.btn-dark {
  background: var(--ink); color: var(--bone);
  padding: 18px 36px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid var(--ink);
  display: inline-flex; align-items: center; gap: 14px;
  transition: background .2s, color .2s;
}
.btn-dark:hover { background: var(--ink-2); color: var(--gold); }

.btn-gold {
  background: var(--gold); color: var(--ink);
  padding: 20px 36px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.20em; text-transform: uppercase;
  border: 1px solid var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  transition: background .2s, border-color .2s;
}
.btn-gold:hover { background: var(--bone); border-color: var(--bone); }

.btn-ghost {
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(14,28,46,0.65);
  padding: 18px 4px; border-bottom: 1px solid rgba(14,28,46,0.25);
  display: inline-flex; align-items: center; gap: 10px;
  transition: color .2s, border-color .2s;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }

/* --- Eyebrows --- */
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--gold);
}
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.34em;
  text-transform: uppercase; color: rgba(14,28,46,0.65);
  border: 1px solid rgba(14,28,46,0.16); background: rgba(255,255,255,0.5);
  padding: 9px 16px;
}
.eyebrow-pill::before {
  content: ""; display: inline-block; width: 5px; height: 5px;
  background: var(--gold); border-radius: 50%;
}

/* --- Sistema de secciones --- */
.section { padding: 128px 28px; }
.section-inner { max-width: 1240px; margin: 0 auto; }
.section.dark { background: var(--ink); color: var(--bone); position: relative; overflow: hidden; }
.section.white { background: var(--bone-2); border-top: 1px solid rgba(14,28,46,0.10); border-bottom: 1px solid rgba(14,28,46,0.10); }
.section.bone { background: var(--bone); border-bottom: 1px solid rgba(14,28,46,0.10); }

.dotgrid {
  position: absolute; inset: 0; opacity: 0.06; pointer-events: none;
  background-image: radial-gradient(circle at 2px 2px, var(--bone) 1px, transparent 0);
  background-size: 32px 32px;
}

h2.section-title {
  font-size: clamp(30px, 3.6vw, 44px); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.12; color: var(--ink);
  max-width: 22ch; text-wrap: balance;
}
h2.section-title.light { color: var(--bone); }

/* --- Encabezado de sección centrado (compartido) --- */
.section-head {
  text-align: center; margin: 0 auto 72px;
  max-width: 720px;
  display: flex; flex-direction: column; align-items: center;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.15; color: var(--ink);
  max-width: 24ch; text-wrap: balance;
}
.section-head p {
  font-size: 17px; color: rgba(14,28,46,0.62);
  margin-top: 20px; max-width: 56ch; line-height: 1.55; text-wrap: pretty;
}

/* --- Marco de foto (fundador) — compartido por ambas páginas --- */
.photo-frame {
  background: var(--bone-2); border: 1px solid rgba(14,28,46,0.14);
  padding: 8px;
}
.photo-frame .photo {
  aspect-ratio: 4/5; background: var(--ink);
  background-image: url("/assets/img/fotos/damian-bender.jpg");
  background-size: cover; background-position: center 22%;
}
.photo-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 14px; padding: 0 4px;
}
.photo-meta span:first-child {
  font-size: 10px; font-weight: 600; letter-spacing: 0.30em;
  text-transform: uppercase; color: rgba(14,28,46,0.55);
}
.photo-meta .hr-gold {
  flex: 1; height: 1px; background: var(--gold); margin: 0 14px;
}
.photo-meta span:last-child {
  font-size: 10px; font-weight: 600; letter-spacing: 0.30em;
  text-transform: uppercase; color: var(--gold);
}

/* --- Átomos de fundador compartidos --- */
.fundador-role {
  font-size: 14px; color: rgba(14,28,46,0.55);
  padding-bottom: 22px; border-bottom: 1px solid rgba(14,28,46,0.14);
  margin-bottom: 32px; letter-spacing: 0.02em;
}
.fundador-content p.bio {
  font-size: 16px; line-height: 1.7; color: rgba(14,28,46,0.72);
  margin-bottom: 22px; text-wrap: pretty;
}
.fundador-content p.bio strong { color: var(--ink); font-weight: 600; }

/* --- Footer --- */
footer {
  background: var(--ink); color: var(--bone);
  padding: 80px 28px 40px;
}
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 32px; margin-bottom: 56px;
}
.footer-logo img { height: 56px; width: auto; }
.footer-nav {
  display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
}
.footer-nav a {
  font-size: 12px; letter-spacing: 0.20em; text-transform: uppercase;
  color: rgba(236,231,221,0.65); font-weight: 600;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--bone); }
.footer-nav a.footer-li { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 16px; padding-top: 32px;
  border-top: 1px solid rgba(236,231,221,0.12);
}
.footer-bottom span {
  font-size: 11px; letter-spacing: 0.20em; text-transform: uppercase;
  color: rgba(236,231,221,0.45); font-weight: 500;
}
