/* ==============================================
   BRAND KIT CSS - Identidad Visual Gattaca
   Tokens + Tipografía + Componentes
   ============================================== */

/* Fuentes */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;600&family=IBM+Plex+Mono:wght@400;500&family=Space+Grotesk:wght@600;650;700&display=swap");

:root {
  /* Colors - Paleta Gattaca */
  --bg: #F4F1E8;           /* Porcelain - fondo principal */
  --text: #15181B;         /* Graphite - texto principal */
  --muted: #C7CDD3;        /* Fog - líneas, divisores */
  --blue: #1F3A5F;         /* Future Blue - dirección, visión */
  --green: #1E5E59;        /* Bridge Green - transición */
  --gold: #C9A24E;         /* Sincere Gold - decisión (semántico) */

  /* Typography */
  --font-head: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Scale */
  --h1: clamp(40px, 4vw, 56px);
  --h2: clamp(28px, 2.6vw, 40px);
  --h3: clamp(22px, 2vw, 26px);
  --body: 17px;
  --small: 13px;

  /* Line-height */
  --lh-tight: 1.15;
  --lh-body: 1.65;

  /* Spacing (8pt system) */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 40px;
  --s-5: 64px;
  --s-6: 96px;

  /* Radius & borders */
  --r: 12px;
  --b1: 1px;
  --b2: 2px;

  /* Shadows (muy suaves) */
  --shadow: 0 8px 24px rgba(21,24,27,.08);
}

/* ==============================================
   RESET & BASE
   ============================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: var(--lh-body);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==============================================
   LAYOUT
   ============================================== */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--s-6);
}

@media (max-width: 1200px) {
  .container {
    padding: 0 var(--s-5);
  }
}

@media (max-width: 900px) {
  .container {
    padding: 0 var(--s-3);
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 var(--s-2);
  }
}

.section {
  padding: var(--s-6) 0;
}

@media (max-width: 768px) {
  .section {
    padding: var(--s-5) 0;
  }
}

/* ==============================================
   TYPOGRAPHY
   ============================================== */

.h1 {
  font-family: var(--font-head);
  font-size: var(--h1);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 var(--s-3) 0;
}

.h2 {
  font-family: var(--font-head);
  font-size: var(--h2);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 650;
  margin: 0 0 var(--s-3) 0;
}

.h3 {
  font-family: var(--font-head);
  font-size: var(--h3);
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 var(--s-2) 0;
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  max-width: 72ch;
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

p {
  margin: 0 0 var(--s-2) 0;
  max-width: 72ch;
}

/* ==============================================
   DIVIDERS
   ============================================== */

.hr {
  height: 1px;
  background: var(--muted);
  opacity: 0.7;
  border: 0;
  margin: var(--s-4) 0;
}

/* ==============================================
   NAVIGATION
   ============================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(244, 241, 232, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(199, 205, 211, 0.5);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-2) 0;
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: var(--s-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  opacity: 0.8;
  transition: opacity 0.2s ease;
  padding: var(--s-1) 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link.active {
  opacity: 1;
  border-bottom-color: var(--blue);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s-1);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(244, 241, 232, 0.98);
    flex-direction: column;
    padding: var(--s-3);
    gap: var(--s-2);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--muted);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: var(--s-2) 0;
    border-bottom: 1px solid rgba(199, 205, 211, 0.3);
  }
}

/* Spacer for fixed nav */
.nav-spacer {
  height: 72px;
}

/* ==============================================
   BUTTONS
   ============================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--blue);
  color: var(--bg);
}

.btn-primary:hover {
  background: #2a4a75;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(199, 205, 211, 0.95);
}

.btn-secondary:hover {
  border-color: var(--text);
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==============================================
   CARDS
   ============================================== */

.card {
  border: 1px solid rgba(199, 205, 211, 0.85);
  border-radius: var(--r);
  padding: var(--s-4);
  background: rgba(244, 241, 232, 0.75);
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2);
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Principle cards */
.principle-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.principle-card .mono {
  opacity: 0.6;
}

.principle-card .h3 {
  margin-bottom: var(--s-1);
}

.principle-card p {
  opacity: 0.85;
  margin: 0;
}

/* Article cards */
.article-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  gap: var(--s-2);
}

.article-meta .mono {
  opacity: 0.7;
}

.article-card .h3 {
  margin: 0;
}

.article-card p {
  margin: 0;
  opacity: 0.85;
}

.article-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  border: 1px solid rgba(199, 205, 211, 0.9);
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* Case cards */
.case-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2);
}

@media (max-width: 600px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

.case-item .mono {
  opacity: 0.6;
  margin-bottom: 6px;
}

.case-item p {
  margin: 0;
}

/* ==============================================
   SEMANTIC ELEMENTS
   ============================================== */

/* Decisión (dorado - uso semántico) */
.decision {
  display: inline;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--gold);
}

/* Quote */
.quote {
  border-left: 2px solid var(--muted);
  padding-left: var(--s-3);
  margin: var(--s-4) 0;
  font-style: italic;
}

.quote.mark {
  border-left-color: var(--gold);
}

/* Axiom */
.axiom {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin: var(--s-4) 0;
  padding-left: var(--s-3);
  border-left: 3px solid var(--gold);
}

/* ==============================================
   HERO SECTION
   ============================================== */

.hero {
  padding: var(--s-6) 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 78ch;
}

.hero .mono {
  opacity: 0.7;
  margin-bottom: var(--s-2);
}

.hero .h1 {
  margin-bottom: var(--s-3);
}

.hero .lead {
  margin-bottom: var(--s-4);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: var(--s-5) 0;
  }
}

/* Hero identity (P0) */
.hero-identity {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--blue);
  margin: 0 0 var(--s-3) 0;
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--muted);
}

/* ==============================================
   CREDENTIALS BAR (P0)
   ============================================== */

.credentials-bar {
  padding: var(--s-4) 0;
  background: rgba(199, 205, 211, 0.15);
  border-top: 1px solid rgba(199, 205, 211, 0.5);
  border-bottom: 1px solid rgba(199, 205, 211, 0.5);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  font-size: 15px;
  line-height: 1.5;
}

.credential-icon {
  color: var(--green);
  font-weight: 600;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .credentials-grid {
    grid-template-columns: 1fr;
    gap: var(--s-2);
  }
}

/* ==============================================
   CONTACT STYLES (P0)
   ============================================== */

.contact-email {
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0.02em;
}

.contact-email a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.contact-email a:hover {
  border-bottom-color: var(--blue);
}

.contact-separator {
  margin: 0 var(--s-2);
  opacity: 0.5;
}

.contact-direct {
  display: flex;
  align-items: center;
  gap: var(--s-1);
  flex-wrap: wrap;
}

.contact-link-main {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
}

.contact-link-main:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

.contact-link {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.contact-link:hover {
  opacity: 1;
}

/* Privacy notice (P0) */
.privacy-notice {
  margin-top: var(--s-3);
  font-size: 13px;
  opacity: 0.7;
}

.privacy-notice a {
  color: var(--text);
  text-decoration: underline;
}

.privacy-notice a:hover {
  opacity: 1;
}

/* ==============================================
   METHOD SECTION (Flujo)
   ============================================== */

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2);
  margin: var(--s-4) 0;
}

@media (max-width: 900px) {
  .method-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .method-steps {
    grid-template-columns: 1fr;
  }
}

.method-step {
  padding: var(--s-3);
  border: 1px solid var(--muted);
  border-radius: var(--r);
  position: relative;
}

.method-step::after {
  content: "→";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--muted);
}

.method-step:last-child::after {
  display: none;
}

@media (max-width: 900px) {
  .method-step::after {
    display: none;
  }
}

.method-step .mono {
  color: var(--blue);
  margin-bottom: var(--s-1);
}

.method-step p {
  margin: 0;
  font-size: 15px;
  opacity: 0.9;
}

/* ==============================================
   FOOTER
   ============================================== */

.footer {
  padding: var(--s-5) 0;
  border-top: 1px solid var(--muted);
  margin-top: var(--s-5);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.footer-brand {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
}

.footer-links {
  display: flex;
  gap: var(--s-3);
}

.footer-link {
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.footer-link:hover {
  opacity: 1;
}

.footer-signature {
  width: 100%;
  text-align: center;
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid rgba(199, 205, 211, 0.5);
}

.footer-signature .axiom {
  border: none;
  padding: 0;
  margin: 0;
  font-size: 18px;
}

/* ==============================================
   CONTACT SECTION
   ============================================== */

.contact-options {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-4);
  flex-wrap: wrap;
}

.contact-form {
  max-width: 500px;
  margin-top: var(--s-4);
}

.form-group {
  margin-bottom: var(--s-3);
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--s-1);
  opacity: 0.8;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--muted);
  border-radius: var(--r);
  background: rgba(244, 241, 232, 0.5);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* ==============================================
   PAGE-SPECIFIC: MANIFIESTO
   ============================================== */

.manifiesto-section {
  margin-bottom: var(--s-5);
}

.manifiesto-section .h3 {
  color: var(--blue);
  margin-bottom: var(--s-2);
}

.manifiesto-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.manifiesto-list li {
  padding-left: var(--s-3);
  position: relative;
  margin-bottom: var(--s-2);
}

.manifiesto-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted);
}

/* ==============================================
   PAGE-SPECIFIC: PENSAMIENTO
   ============================================== */

.article-filters {
  display: flex;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid var(--muted);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--blue);
  color: var(--bg);
  border-color: var(--blue);
}

/* ==============================================
   PAGE-SPECIFIC: ARTICLE
   ============================================== */

.article-header {
  margin-bottom: var(--s-5);
}

.article-header .mono {
  opacity: 0.7;
  margin-bottom: var(--s-2);
}

.article-content {
  max-width: 72ch;
}

.article-content h2 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
  margin: var(--s-5) 0 var(--s-3) 0;
  color: var(--text);
}

.article-content p {
  margin-bottom: var(--s-3);
}

.article-content ul,
.article-content ol {
  margin: var(--s-3) 0;
  padding-left: var(--s-4);
}

.article-content li {
  margin-bottom: var(--s-1);
}

/* ==============================================
   UTILITIES
   ============================================== */

.text-center {
  text-align: center;
}

.text-muted {
  opacity: 0.7;
}

.mt-1 { margin-top: var(--s-1); }
.mt-2 { margin-top: var(--s-2); }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }

.mb-1 { margin-bottom: var(--s-1); }
.mb-2 { margin-bottom: var(--s-2); }
.mb-3 { margin-bottom: var(--s-3); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-5 { margin-bottom: var(--s-5); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==============================================
   DIAGRAMS (Infografías Gattaca)
   ============================================== */

.diagram-container {
  margin: var(--s-4) 0;
  border: 1px solid var(--muted);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg);
}

.diagram-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Diagram caption */
.diagram-caption {
  padding: var(--s-2) var(--s-3);
  border-top: 1px solid var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .diagram-container {
    margin: var(--s-3) calc(-1 * var(--s-2));
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

/* ==============================================
   P1 IMPROVEMENTS - Formatos de colaboración
   ============================================== */

.formato-card {
  display: flex;
  flex-direction: column;
}

.formato-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.formato-duracion {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green);
  margin: 0;
}

.formato-entregables {
  margin-top: auto;
}

.entregables-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.entregables-list li {
  position: relative;
  padding-left: var(--s-2);
  margin-bottom: 6px;
  opacity: 0.85;
}

.entregables-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 11px;
}

/* ==============================================
   P1 IMPROVEMENTS - Casos con métricas
   ============================================== */

.case-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .case-grid-3 {
    grid-template-columns: 1fr;
  }
}

.case-metrica {
  margin-top: var(--s-2);
  padding-top: var(--s-2);
  border-top: 1px solid rgba(199, 205, 211, 0.5);
  font-size: 14px;
}

/* ==============================================
   P1 IMPROVEMENTS - Ahora estoy pensando en...
   ============================================== */

.pensando-section {
  background: rgba(199, 205, 211, 0.1);
  border-top: 1px solid rgba(199, 205, 211, 0.5);
  border-bottom: 1px solid rgba(199, 205, 211, 0.5);
}

.pensando-grid {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.pensando-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  padding: var(--s-3);
  border: 1px solid var(--muted);
  border-radius: var(--r);
  background: var(--bg);
  transition: all 0.2s ease;
}

.pensando-item:hover {
  border-color: var(--blue);
  transform: translateX(4px);
}

.pensando-icon {
  color: var(--gold);
  font-weight: 600;
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.pensando-content .h3 {
  margin: 0 0 4px 0;
  font-size: 18px;
}

.pensando-content p {
  margin: 0;
  font-size: 15px;
  opacity: 0.85;
}

/* ==============================================
   P1 IMPROVEMENTS - Tags clickables
   ============================================== */

.tag-clickable {
  cursor: pointer;
  transition: all 0.2s ease;
}

.tag-clickable:hover {
  background: var(--blue);
  color: var(--bg);
  border-color: var(--blue);
}

.tag-clickable.active {
  background: var(--gold);
  color: var(--text);
  border-color: var(--gold);
}

.tag-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==============================================
   P1 IMPROVEMENTS - Artículo: Resumen + Checklist
   ============================================== */

.articulo-resumen,
.articulo-checklist {
  margin: var(--s-4) 0;
  padding: var(--s-3);
  background: rgba(199, 205, 211, 0.15);
  border-radius: var(--r);
  border-left: 3px solid var(--blue);
}

.resumen-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resumen-list li {
  position: relative;
  padding-left: var(--s-3);
  margin-bottom: var(--s-2);
}

.resumen-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blue);
}

.resumen-list li:last-child {
  margin-bottom: 0;
}

.checklist-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  margin-bottom: var(--s-2);
}

.checklist-list li:last-child {
  margin-bottom: 0;
}

.checklist-icon {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ==============================================
   P1 IMPROVEMENTS - CTA suave en artículos
   ============================================== */

.articulo-cta {
  background: rgba(31, 58, 95, 0.05);
  border-top: 1px solid rgba(199, 205, 211, 0.5);
}

.cta-box {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.cta-box .h3 {
  color: var(--blue);
  margin-bottom: var(--s-2);
}

/* ==============================================
   P1 IMPROVEMENTS - Qué incluir en mensaje
   ============================================== */

.que-esperar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}

@media (max-width: 900px) {
  .que-esperar-grid {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }
}

.que-incluir-box {
  background: rgba(199, 205, 211, 0.15);
  padding: var(--s-4);
  border-radius: var(--r);
  border-left: 3px solid var(--gold);
}

.que-incluir-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.que-incluir-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
}

.que-incluir-list li:last-child {
  margin-bottom: 0;
}

.que-incluir-icon {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  background: rgba(201, 162, 78, 0.15);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.que-incluir-list strong {
  color: var(--blue);
}

/* ==============================================
   P1 IMPROVEMENTS - Sobre page
   ============================================== */

.sobre-intro {
  max-width: 72ch;
}

.sobre-intro .lead {
  margin-bottom: var(--s-3);
}

.sobre-intro .lead strong {
  color: var(--blue);
}

/* ==============================================
   P2 IMPROVEMENTS - Accesibilidad
   ============================================== */

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--bg);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r);
  z-index: 10000;
  font-weight: 500;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: var(--s-2);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Focus states visibles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.nav-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.filter-btn:focus-visible,
.tag-clickable:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Main content focus */
main:focus {
  outline: none;
}

/* ==============================================
   P2 IMPROVEMENTS - Recursos / Lead Magnets
   ============================================== */

.recursos-grid {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.recurso-card {
  display: flex;
  flex-direction: column;
}

.recurso-header {
  margin-bottom: var(--s-2);
}

.recurso-header .h2 {
  margin: var(--s-1) 0 0 0;
}

.recurso-subtitulo {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--green);
  margin: var(--s-1) 0 0 0;
}

.recurso-preview {
  background: rgba(199, 205, 211, 0.1);
  padding: var(--s-3);
  border-radius: 8px;
}

.recurso-items {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.recurso-items li {
  position: relative;
  padding-left: var(--s-3);
  margin-bottom: var(--s-1);
  opacity: 0.85;
}

.recurso-items li::before {
  content: "□";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.recurso-cta {
  margin-top: auto;
}

.recurso-axiom {
  font-size: 16px;
  margin: var(--s-2) 0 0 0;
  border: none;
  padding: 0;
  text-align: center;
}

/* Recurso detail page */
.back-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue);
  margin-bottom: var(--s-3);
  transition: opacity 0.2s ease;
}

.back-link:hover {
  opacity: 0.7;
}

.recurso-detail-header {
  max-width: 72ch;
}

.recurso-subtitulo-detail {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--green);
  margin: var(--s-1) 0 var(--s-3) 0;
}

.recurso-detail-content {
  max-width: 72ch;
}

.recurso-seccion {
  margin-bottom: var(--s-5);
}

.recurso-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recurso-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  padding: var(--s-2);
  margin-bottom: var(--s-1);
  background: rgba(199, 205, 211, 0.1);
  border-radius: 8px;
}

.recurso-checklist li:hover {
  background: rgba(199, 205, 211, 0.2);
}

.checklist-box {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.recurso-download-section {
  background: rgba(31, 58, 95, 0.05);
  border-top: 1px solid rgba(199, 205, 211, 0.5);
}

.recurso-download-box {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.recurso-download-form {
  text-align: left;
}

.download-form-row {
  display: flex;
  gap: var(--s-2);
}

.download-form-row .form-input {
  flex: 1;
}

@media (max-width: 600px) {
  .download-form-row {
    flex-direction: column;
  }
  
  .download-form-row .btn {
    width: 100%;
    justify-content: center;
  }
}

.download-confirmation,
.newsletter-confirmation {
  padding: var(--s-3);
  background: rgba(30, 94, 89, 0.1);
  border-radius: var(--r);
  border-left: 3px solid var(--green);
}

.confirmation-message {
  margin: 0;
  color: var(--green);
  font-weight: 500;
}

/* ==============================================
   P2 IMPROVEMENTS - Newsletter
   ============================================== */

.newsletter-section {
  background: rgba(199, 205, 211, 0.1);
  border-top: 1px solid rgba(199, 205, 211, 0.5);
  border-bottom: 1px solid rgba(199, 205, 211, 0.5);
}

.newsletter-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  align-items: start;
}

@media (max-width: 900px) {
  .newsletter-box {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }
}

.newsletter-content .h2 {
  margin-top: 0;
}

.newsletter-promesa {
  list-style: none;
  padding: 0;
  margin: 0;
}

.newsletter-promesa li {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-1);
  font-size: 15px;
}

.promesa-check {
  color: var(--green);
  font-weight: 600;
}

.newsletter-form-container {
  background: var(--bg);
  padding: var(--s-4);
  border-radius: var(--r);
  border: 1px solid var(--muted);
}

.newsletter-form .form-group {
  margin-bottom: var(--s-2);
}

/* ==============================================
   P2 IMPROVEMENTS - Performance / Typography
   ============================================== */

/* Optimización de fuentes - usar font-display: swap */
/* Ya está en el preload del Layout */

/* Reducir CLS con aspect-ratio para imágenes */
img {
  max-width: 100%;
  height: auto;
}

/* Smooth scroll solo para usuarios que no prefieren reduced motion */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
