/* ============================================================
   HARTMUT BOCK — Design System
   Umbral Austerity · Abril 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;900&family=Crimson+Pro:ital,wght@0,400;0,600;1,400;1,600&display=swap');

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --bg-dark:    #16161D;
  --bg-mid:     #1e1e28;
  --navy:       #1d35b4;
  --gold:       #C9A870;
  --gold-dim:   #8a6e40;
  --white:      #f6f6f4;
  --white-dim:  #a8a6a0;
  --bg-light:   #f4f2ee;
  --bg-lighter: #faf9f7;

  --font-display: 'Big Shoulders Display', sans-serif;
  --font-body:    'Crimson Pro', Georgia, serif;

  --max-w: 1100px;
  --section-pad: 96px 24px;
  --section-pad-sm: 64px 24px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.65;
  color: #2a2a30;
  background: var(--bg-lighter);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ──────────────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.01em;
}
.serif-italic {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
}

/* ── Layout ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: 760px; }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(22, 22, 29, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 168, 112, 0.15);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--white);
  text-transform: uppercase;
}
.nav__logo span { color: var(--gold); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--gold); }
.nav__cta {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-dark) !important;
  background: var(--gold);
  padding: 10px 20px;
  transition: background 0.2s;
}
.nav__cta:hover { background: #d4b07a !important; color: var(--bg-dark) !important; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 32px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn--gold {
  background: var(--gold);
  color: var(--bg-dark);
}
.btn--gold:hover { background: #d4b07a; }
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(201, 168, 112, 0.5);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn--outline-dark {
  background: transparent;
  color: var(--bg-dark);
  border: 1px solid rgba(22, 22, 29, 0.4);
}
.btn--outline-dark:hover {
  border-color: var(--bg-dark);
  background: var(--bg-dark);
  color: var(--white);
}

/* ── Eyebrow ─────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.eyebrow--dim { color: var(--gold-dim); }

/* ── Gold rule ───────────────────────────────────────────── */
.rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 24px 0;
}
.rule--center { margin: 24px auto; }

/* ── Section: Dark ───────────────────────────────────────── */
.section--dark {
  background: var(--bg-dark);
  color: var(--white);
  padding: var(--section-pad);
}
.section--dark .eyebrow { color: var(--gold); }
.section--mid {
  background: var(--bg-mid);
  color: var(--white);
  padding: var(--section-pad);
}

/* ── Section: Light ──────────────────────────────────────── */
.section--light {
  background: var(--bg-light);
  padding: var(--section-pad);
}
.section--lighter {
  background: var(--bg-lighter);
  padding: var(--section-pad);
}
.section--white {
  background: #fff;
  padding: var(--section-pad);
}

/* ── Section: Gold accent ────────────────────────────────── */
.section--gold-strip {
  background: var(--gold);
  padding: 48px 32px;
  color: var(--bg-dark);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: var(--bg-dark);
  color: var(--white);
  padding: 160px 32px 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(29, 53, 180, 0.06) 100%);
  pointer-events: none;
}
.hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.hero__title em {
  font-style: italic;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--gold);
}
.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.6;
  color: rgba(246, 246, 244, 0.72);
  max-width: 620px;
  margin-bottom: 40px;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Stats / credentials bar ─────────────────────────────── */
.creds {
  background: var(--bg-mid);
  border-top: 1px solid rgba(201, 168, 112, 0.2);
  border-bottom: 1px solid rgba(201, 168, 112, 0.1);
  padding: 40px 32px;
}
.creds__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cred {
  text-align: center;
  padding: 16px;
}
.cred__number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 42px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.cred__label {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.4;
}

/* ── Problem / solution sections ─────────────────────────── */
.prose h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  margin-bottom: 24px;
}
.prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.prose p {
  font-size: 19px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: inherit;
}
.prose p:last-child { margin-bottom: 0; }

/* ── 4 Libertades grid ───────────────────────────────────── */
.libertades {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin: 48px 0;
}
.libertad {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201, 168, 112, 0.12);
  padding: 36px;
  position: relative;
}
.libertad__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold-dim);
  margin-bottom: 12px;
}
.libertad__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  color: var(--white);
  margin-bottom: 10px;
}
.libertad__desc {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--white-dim);
  line-height: 1.6;
}
.libertad__bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: var(--gold);
  width: 48px;
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.testimonial {
  padding: 36px;
  border-left: 2px solid var(--gold);
}
.section--dark .testimonial { background: rgba(255,255,255,0.03); }
.section--light .testimonial { background: #fff; }
.testimonial__quote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 20px;
}
.testimonial__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.testimonial__company {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gold-dim);
  margin-top: 4px;
}

/* ── Perfil de Libertad CTA strip ────────────────────────── */
.pld-strip {
  background: #1a1a24;
  border-top: 1px solid rgba(201, 168, 112, 0.3);
  border-bottom: 1px solid rgba(201, 168, 112, 0.3);
  padding: 72px 32px;
  text-align: center;
}
.pld-strip h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  color: var(--white);
  margin-bottom: 16px;
}
.pld-strip h2 em {
  font-style: italic;
  font-family: var(--font-body);
  color: var(--gold);
}
.pld-strip p {
  font-size: 19px;
  color: var(--white-dim);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.pld-dims {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.pld-dim {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  border: 1px solid rgba(201, 168, 112, 0.25);
  padding: 6px 14px;
}

/* ── Process steps ───────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 48px 0;
}
.step {
  padding: 36px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201, 168, 112, 0.1);
}
.step__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 48px;
  color: rgba(201, 168, 112, 0.2);
  line-height: 1;
  margin-bottom: 16px;
}
.step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.step__desc {
  font-size: 16px;
  color: var(--white-dim);
  line-height: 1.6;
}

/* ── Split layout ────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

/* ── Pull quote ──────────────────────────────────────────── */
.pull-quote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.4;
  border-left: 3px solid var(--gold);
  padding-left: 32px;
  color: var(--white);
}
.pull-quote--dark {
  color: var(--bg-dark);
  border-left-color: var(--navy);
}

/* ── Contact form ────────────────────────────────────────── */
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201, 168, 112, 0.2);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 18px;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(201, 168, 112, 0.6);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: #101015;
  border-top: 1px solid rgba(201, 168, 112, 0.15);
  padding: 48px 32px;
  color: var(--white-dim);
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--white);
  text-transform: uppercase;
}
.footer__logo span { color: var(--gold); }
.footer__links {
  display: flex;
  gap: 28px;
}
.footer__links a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--gold); }
.footer__copy {
  font-size: 13px;
  color: rgba(168, 166, 160, 0.5);
}

/* ── Utility ─────────────────────────────────────────────── */
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-dim { color: var(--white-dim); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.text-center { text-align: center; }

/* ── Hamburger / mobile nav ──────────────────────────────── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.2s;
}

/* ── Numeros grids (sobre.html) ──────────────────────────── */
.numeros-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.numeros-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 2px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .creds__grid { grid-template-columns: repeat(2, 1fr); }
  .libertades { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse { direction: ltr; }
  .numeros-top { grid-template-columns: 1fr; }
  .numeros-bottom { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --section-pad: 64px 20px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .hero { padding: 120px 20px 72px; }
  .creds__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cred__number { font-size: 32px; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .container { padding: 0 20px; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}
