/* ============================================
   estilo.css — Villeda Consulting Group, Inc.
   Generado a partir de los bloques <style> del
   documento original. Incluye: sitio principal,
   página del libro (.book-page) y los 4 artículos
   de "insight" (.insight-article), con reglas
   comunes unificadas para no repetir código.
   Nota: se renombró de .insight a .insight-article
   porque .insight ya se usaba en la home para las
   filas de la lista "Selected thinking" — con el
   mismo nombre, ambas reglas se habrían pisado.
   ============================================ */

/* Estilos de las páginas */ 
  :root{
    --navy:#1F3864;
    --navy-soft:#2E4374;
    --gold:#B8860B;
    --ink:#333333;
    --muted:#6b7280;
    --paper:#FCFBF8;
    --paper-2:#F4F1EA;
    --line:#e4e0d6;
    --maxw:1080px;
    --serif:'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  }
  *{box-sizing:border-box;margin:0;padding:0;}
  html{scroll-behavior:smooth;}
  body{font-family:'Inter',system-ui,sans-serif;color:var(--ink);background:var(--paper);line-height:1.65;font-size:18px;-webkit-font-smoothing:antialiased;}
  h1,h2,h3{font-family:'Source Serif 4',Georgia,serif;color:var(--navy);font-weight:500;line-height:1.15;letter-spacing:-0.01em;}
  a{color:inherit;text-decoration:none;}
  .wrap{max-width:var(--maxw);margin:0 auto;padding:0 32px;}

  /* nav */
  header{position:sticky;top:0;background:rgba(252,251,248,.9);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);z-index:50;}
  .nav{display:flex;align-items:center;justify-content:space-between;height:74px;}
  .brand{font-family:'Source Serif 4',serif;font-size:20px;font-weight:600;color:var(--navy);letter-spacing:.01em;}
  .brand span{color:var(--gold);}
  .tabs{display:flex;gap:38px;}
  .tabs a{font-size:14px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);padding:6px 0;border-bottom:2px solid transparent;transition:.2s;cursor:pointer;}
  .tabs a:hover,.tabs a.active{color:var(--navy);border-color:var(--gold);}

  /* hero */
  .hero{padding:0px 0 96px;border-bottom:1px solid var(--line);}
  .eyebrow{font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);font-weight:600;margin-bottom:26px;}
  .hero h1{font-size:52px;max-width:24ch;margin-bottom:28px;font-weight:500;}
  .hero p{font-size:21px;color:var(--muted);max-width:54ch;margin-bottom:40px;}
  .cta{display:inline-block;background:var(--navy);color:#fff;font-size:14px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;padding:15px 30px;transition:.2s;}
  .cta:hover{background:var(--navy-soft);}
  .cta.ghost{background:transparent;color:var(--navy);border:1px solid var(--navy);margin-left:14px;}
  .cta.ghost:hover{background:var(--navy);color:#fff;}

  /* section scaffolding */
  section.block{padding:88px 0;border-bottom:1px solid var(--line);}
  .sec-label{font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-weight:600;margin-bottom:18px;}
  .block h2{font-size:36px;margin-bottom:22px;max-width:20ch;}
  .lead{font-size:19px;color:var(--muted);max-width:60ch;margin-bottom:46px;}

  /* services */
  .svc-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--line);border:1px solid var(--line);}
  .svc{background:var(--paper);padding:34px 32px;}
  .svc h3{font-size:21px;margin-bottom:10px;}
  .svc p{font-size:16px;color:var(--muted);line-height:1.6;}
  .svc .n{font-family:'Source Serif 4',serif;font-size:14px;color:var(--gold);font-weight:600;display:block;margin-bottom:14px;}

  /* insights */
  .insight{display:grid;grid-template-columns:120px 1fr;gap:28px;padding:30px 0;border-top:1px solid var(--line);align-items:baseline;}
  .insight:last-child{border-bottom:1px solid var(--line);}
  .insight .date{font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-weight:500;}
  .insight h3{font-size:23px;margin-bottom:8px;transition:.2s;}
  .insight:hover h3{color:var(--gold);}
  .insight p{font-size:16px;color:var(--muted);}

  /* book strip */
  .book{display:grid;grid-template-columns:160px 1fr;gap:40px;align-items:center;background:var(--paper-2);padding:46px 44px;border:1px solid var(--line);}
  /* .book .cover{aspect-ratio:6/9;background:linear-gradient(160deg,var(--navy),#162a4d);color:#fff;display:flex;flex-direction:column;justify-content:center;padding:18px;border-radius:2px;box-shadow:0 14px 30px rgba(31,56,100,.22);} */
  .book .cover{aspect-ratio:9/9;background:linear-gradient(160deg,var(--navy),#162a4d);color:#fff;display:flex;flex-direction:column;justify-content:center;padding:0px;border-radius:2px;box-shadow:0 14px 30px rgba(31,56,100,.22);}
  .book .cover .t1{font-family:'Source Serif 4',serif;font-size:23px;font-weight:600;line-height:1.05;}
  .book .cover .t2{font-family:'Source Serif 4',serif;font-size:23px;font-weight:600;color:var(--gold);line-height:1.05;margin-top:2px;}
  .book .cover .sub{font-size:9px;letter-spacing:.06em;text-transform:uppercase;color:#c9d3e6;margin-top:14px;line-height:1.4;}
  .book h3{font-size:26px;margin-bottom:12px;}
  .book p{font-size:16px;color:var(--muted);max-width:48ch;margin-bottom:20px;}

  /* contact */
  .contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;}
  .field{margin-bottom:20px;}
  .field label{display:block;font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:7px;}
  .field input,.field textarea{width:100%;border:1px solid var(--line);background:#fff;padding:13px 15px;font-family:inherit;font-size:16px;color:var(--ink);border-radius:2px;}
  .field input:focus,.field textarea:focus{outline:none;border-color:var(--navy);}
  .contact-info p{font-size:16px;color:var(--muted);margin-bottom:14px;}
  .contact-info .k{color:var(--navy);font-weight:600;}

.footer {
   position: fixed;
   left: 0;
   bottom: 0;
   width: 100%;
   background-color: #F2F2F2;
   color: #2254A6;
   text-align: center;
   font-size: 10px;
   padding:5px;
}

/*
  footer{position: fixed sticky;bottom:0; padding:10px 0;text-align:center;color:var(--muted);font-size:14px;}
  footer .brand{font-size:16px;display:block;margin-bottom:8px;}
*/
  .note{background:#fff;border:1px dashed var(--gold);border-radius:3px;padding:10px 16px;font-size:13px;color:var(--muted);margin:0 auto 0;max-width:var(--maxw);}
  .note b{color:var(--navy);}

  @media(max-width:760px){
    body{font-size:17px;}
    .tabs{gap:18px;}
    .tabs a{font-size:12px;}
    .brand{font-size:17px;}
    .hero{padding:0px 0 60px;}
    .hero h1{font-size:36px;}
    .hero p{font-size:18px;}
    .svc-grid{grid-template-columns:1fr;}
    .insight{grid-template-columns:1fr;gap:6px;}
    .book{grid-template-columns:1fr;text-align:left;}
    .book .cover{max-width:150px;}
    .contact-grid{grid-template-columns:1fr;gap:32px;}
    .cta.ghost{margin-left:0;margin-top:12px;}
  }

/* @import MUST precede all other rules or the browser ignores it. */
    @import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@400;500;600&display=swap');

    /* ---- Brand tokens (scoped to .book-page so nothing leaks into the site) ---- */
    .book-page {
      --navy:     #1F3864;
      --gold:     #B8860B;
      --paper:    #FCFBF8;
      --paper-2:  #F4F1EA;
      --ink:      #333333;
      --ink-mute: #5A5A5A;
      --rule:     #E5E1D6;
      --serif:    'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
      --sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

      max-width: 840px;
      margin: 0 auto;
      padding: 4rem 1.5rem 5rem;
      background: var(--paper);
      color: var(--ink);
      font-family: var(--serif);
      font-size: 18px;
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
    }

    /* ---- Eyebrow ---- */
    .book-page .bp-eyebrow {
      font-family: var(--sans);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--gold);
      margin: 0 0 1.25rem;
    }

    /* ---- Title & subtitle ---- */
    .book-page .bp-title {
      font-family: var(--serif);
      font-weight: 600;
      color: var(--navy);
      font-size: clamp(2.2rem, 5vw, 3.4rem);
      line-height: 1.1;
      margin: 0 0 0.6rem;
      letter-spacing: -0.01em;
    }
    .book-page .bp-subtitle {
      font-family: var(--serif);
      font-style: italic;
      color: var(--ink-mute);
      font-size: clamp(1.1rem, 2.2vw, 1.35rem);
      line-height: 1.4;
      margin: 0 0 2.5rem;
      font-weight: 400;
    }

    /* ---- Hook + cover row ---- */
    .book-page .bp-hero {
      display: grid;
      grid-template-columns: minmax(0, 240px) 1fr;
      gap: 2.25rem;
      align-items: center;
      margin: 0 0 3rem;
      padding: 2rem 0 2.5rem;
      border-top: 1px solid var(--rule);
      border-bottom: 1px solid var(--rule);
    }
    .book-page .bp-cover {
      width: 100%;
      height: auto;
      display: block;
      box-shadow:
        0 1px 2px rgba(0,0,0,0.10),
        0 10px 28px rgba(31,56,100,0.22);
      border-radius: 2px;
    }
    .book-page .bp-hook {
      font-family: var(--serif);
      font-weight: 600;
      color: var(--navy);
      font-size: clamp(1.5rem, 3vw, 2rem);
      line-height: 1.22;
      margin: 0;
      letter-spacing: -0.005em;
    }
    .book-page .bp-hook span {
      display: block;
    }
    .book-page .bp-hook .bp-hook-2 {
      color: var(--gold);
      margin-top: 0.35rem;
    }

    /* ---- Summary paragraphs ---- */
    .book-page .bp-summary p {
      margin: 0 0 1.15rem;
    }
    .book-page .bp-summary p:last-child {
      margin-bottom: 0;
    }
    .book-page .bp-summary em {
      font-style: italic;
    }

    /* ---- Get-the-book box ---- */
    .book-page .bp-getbook {
      margin: 3rem 0 3rem;
      padding: 2rem 2rem 2.25rem;
      background: var(--paper-2);
      border-left: 3px solid var(--gold);
    }
    .book-page .bp-getbook-label {
      font-family: var(--sans);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--gold);
      margin: 0 0 0.85rem;
    }
    .book-page .bp-getbook-title {
      font-family: var(--serif);
      font-weight: 600;
      color: var(--navy);
      font-size: 1.55rem;
      line-height: 1.25;
      margin: 0 0 0.35rem;
    }
    .book-page .bp-getbook-prices {
      font-family: var(--sans);
      color: var(--ink-mute);
      font-size: 0.95rem;
      margin: 0 0 1.4rem;
    }
    .book-page .bp-buybar {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin: 0 0 1.4rem;
    }
    .book-page .bp-btn {
      display: inline-block;
      font-family: var(--sans);
      font-weight: 500;
      font-size: 0.95rem;
      letter-spacing: 0.01em;
      text-decoration: none;
      padding: 0.75rem 1.4rem;
      border-radius: 2px;
      transition: background 0.15s ease, transform 0.15s ease;
      cursor: pointer;
    }
    .book-page .bp-btn-primary {
      background: var(--navy);
      color: #ffffff;
      border: 1px solid var(--navy);
    }
    .book-page .bp-btn-primary:hover {
      background: #16294a;
    }
    .book-page .bp-btn-secondary {
      background: transparent;
      color: var(--navy);
      border: 1px solid var(--navy);
    }
    .book-page .bp-btn-secondary:hover {
      background: rgba(31,56,100,0.06);
    }
    .book-page .bp-rg {
      font-family: var(--serif);
      font-style: italic;
      color: var(--ink-mute);
      font-size: 1rem;
      margin: 1rem 0 0;
      padding-top: 1rem;
      border-top: 1px solid var(--rule);
    }
    .book-page .bp-rg a {
      color: var(--navy);
      text-decoration: none;
      border-bottom: 1px solid var(--gold);
    }
    .book-page .bp-rg a:hover {
      color: var(--gold);
    }

    /* ---- Bio ---- */
    .book-page .bp-bio {
      margin: 3rem 0 0;
      padding-top: 2rem;
      border-top: 1px solid var(--rule);
      font-size: 1rem;
      color: var(--ink-mute);
      line-height: 1.65;
    }
    .book-page .bp-bio-label {
      font-family: var(--sans);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--gold);
      margin: 0 0 0.85rem;
    }
    .book-page .bp-bio p {
      margin: 0 0 0.85rem;
    }
    .book-page .bp-bio p:last-child {
      margin: 0;
    }
    .book-page .bp-bio a {
      color: var(--navy);
      text-decoration: none;
      border-bottom: 1px solid var(--gold);
    }
    .book-page .bp-bio a:hover {
      color: var(--gold);
    }

    /* ---- Responsive: mobile ---- */
    @media (max-width: 640px) {
      .book-page {
        padding: 2.5rem 1.25rem 3.5rem;
        font-size: 17px;
      }
      .book-page .bp-hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: left;
      }
      .book-page .bp-cover {
        max-width: 220px;
      }
      .book-page .bp-getbook {
        padding: 1.5rem 1.25rem 1.75rem;
      }
      .book-page .bp-buybar {
        flex-direction: column;
      }
      .book-page .bp-btn {
        text-align: center;
      }
    }

/* ============================================
   Artículos "insight" (Insight-01 - 11+)
   Reglas comunes a los 11 artículos, unificadas
   ============================================ */
.insight-article{
  max-width:680px;
  margin:0 auto;
  padding:72px 24px 96px;
  font-family:var(--serif);
  font-size:19px;
  line-height:1.7;
}
.insight-article h1{
  font-family:var(--serif);
  color:var(--navy);
  font-weight:600;
  font-size:2.15rem;
  line-height:1.2;
  letter-spacing:-0.01em;
  margin:0 0 20px;
}
.insight-article .deck{
  font-style:italic;
  color:var(--muted);
  font-size:1.2rem;
  line-height:1.5;
  margin:0 0 18px;
}
.insight-article .date{
  font-family:var(--serif);
  text-transform:uppercase;
  letter-spacing:0.12em;
  font-size:0.72rem;
  font-weight:600;
  color:var(--gold);
  margin:0 0 28px;
}
.insight-article hr{
  border:0;
  height:2px;
  width:64px;
  background:var(--gold);
  margin:0 0 40px;
}
.insight-article p{margin:0 0 22px;}
.insight-article strong{color:var(--navy);font-weight:600;}
.insight-article .bio{
  margin-top:44px;
  padding-top:22px;
  border-top:1px solid #e4e0d6;
  font-style:italic;
  font-size:0.95rem;
  color:var(--muted);
  line-height:1.6;
}
.insight-article .bio cite{font-style:normal;color:var(--navy);}
.insight-article .bio a{color:var(--gold);text-decoration:none;border-bottom:1px solid rgba(184,134,11,.4);}
.insight-article .bio a:hover{border-bottom-color:var(--gold);}

/* Extra: solo usado en "Asking AI the right question about your operation" */
.insight-article .callout{
  color:#2E4057;
  font-style:italic;
  font-weight:600;
  font-size:1.12rem;
  line-height:1.5;
  border-left:3px solid #2E75B6;
  padding-left:20px;
  margin:0 0 22px;
}

/* Extra: solo usado en "What replaces forecasting" (notas al pie) */
.insight-article .fnref a{color:var(--gold);text-decoration:none;font-size:0.72em;vertical-align:super;}
.insight-article .footnotes{margin-top:40px;padding-top:18px;border-top:1px solid #e4e0d6;font-size:0.85rem;color:var(--muted);line-height:1.55;}
.insight-article .footnotes p{margin:0;}
.insight-article .footnotes a{color:var(--gold);text-decoration:none;}

/* Extra: solo usado en las Lessons 1 y 2 (serie "Burden of Proof") */
.insight-article .section-label{font-weight:600;color:var(--navy);font-size:0.85rem;text-transform:uppercase;letter-spacing:0.08em;margin:0 0 8px;}

.insight-article .principle-table{width:100%;border-collapse:collapse;font-size:0.82rem;line-height:1.4;margin:0 0 22px;}
.insight-article .principle-table th{background:var(--navy);color:#fff;padding:8px 10px;text-align:left;font-weight:600;}
.insight-article .principle-table td{padding:8px 10px;border-bottom:1px solid #e4e0d6;vertical-align:top;}
.insight-article .principle-table tr:nth-child(odd) td{background:#f5f8fd;}
.insight-article .principle-table tr:nth-child(even) td{background:#fff;}

.insight-article .data-table{width:100%;border-collapse:collapse;font-size:0.88rem;line-height:1.4;margin:0 0 22px;}
.insight-article .data-table th{background:var(--navy);color:#fff;padding:8px 10px;text-align:left;font-weight:600;}
.insight-article .data-table td{padding:7px 10px;border-bottom:1px solid #e4e0d6;}
.insight-article .data-table tr:nth-child(odd) td{background:#f5f8fd;}
.insight-article .data-table tr:nth-child(even) td{background:#fff;}

.insight-article .prompt-box{background:#fff8e1;border:2px solid var(--gold);border-radius:4px;padding:20px;margin:0 0 22px;font-size:0.95rem;font-style:italic;color:var(--ink);}
.insight-article .prompt-box .label{font-style:normal;font-weight:600;color:var(--gold);display:block;margin-bottom:8px;font-size:0.82rem;text-transform:uppercase;letter-spacing:0.04em;}

.insight-article .response-box{border:2px solid #2E75B6;border-radius:4px;padding:20px;margin:0 0 22px;font-size:0.95rem;color:#993C1D;}
.insight-article .response-box .label{font-weight:600;color:#993C1D;display:block;margin-bottom:8px;font-size:0.82rem;text-transform:uppercase;letter-spacing:0.04em;}
.insight-article .response-box.right{color:var(--ink);}
.insight-article .response-box.right .label{color:#2E75B6;}
.insight-article .response-box p{margin:0 0 10px;}
.insight-article .response-box p:last-child{margin:0;}

.insight-article .analysis{font-size:0.95rem;color:var(--ink);margin:0 0 22px;padding-left:20px;border-left:3px solid #993C1D;}

@media (max-width:520px){
  .insight-article{font-size:18px;padding:48px 20px 72px;}
  .insight-article h1{font-size:1.8rem;}
  .insight-article .principle-table{font-size:0.72rem;}
  .insight-article .principle-table th,
  .insight-article .principle-table td{padding:6px;}
}
