/* nota.css — vista de nota individual del blog.
   Comparte los tokens y el header/footer con blog.html. */

:root{
  --cream:#f5ede0;
  --cream-soft:#faf3e6;
  --green:#243d30;
  --green-soft:#33513f;
  --rose:#d94a72;
  --rose-soft:#ec7f9c;
  --rose-pale:#fbd7de;
  --sage:#c9d7bf;
  --sand:#e8dcc4;
  --text:#3a3428;
  --text-soft:#7a6f5f;
}
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:'Nunito',system-ui,sans-serif;color:var(--text);background:var(--cream);-webkit-font-smoothing:antialiased;text-wrap:pretty}
a{color:var(--rose);text-decoration:none}
a:hover{color:var(--green)}
h1,h2,h3,h4{font-family:'Fraunces',Georgia,serif;font-weight:700;margin:0;letter-spacing:-.02em;color:var(--green)}
p{margin:0}
img{max-width:100%;display:block}

/* ---- Header (igual que el resto del sitio) ---- */
.site-header{position:sticky;top:0;z-index:50;padding:14px 20px;background:rgba(245,238,224,.82);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(45,74,58,.06)}
.site-header .wrap{max-width:1280px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.site-header .brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}
.site-header .brand-name{font-family:'Fraunces',serif;font-weight:700;font-size:20px;line-height:1;letter-spacing:-.02em}
.site-header .brand-name .g{color:var(--green)}
.site-header .brand-name .r{color:var(--rose)}
.site-header .brand-tag{font-size:8.5px;color:var(--rose);letter-spacing:.18em;text-transform:uppercase;margin-top:3px;font-style:italic;font-family:'Fraunces',serif}
.site-header .nav{display:flex;align-items:center;gap:4px}
.site-header .nav a{padding:8px 14px;border-radius:999px;color:var(--green);font-weight:600;font-size:13px;text-decoration:none}
.site-header .nav a.active{background:var(--rose-pale);color:var(--rose)}
.site-header .header-ctas{display:inline-flex;align-items:center;gap:8px}
.site-header .cta-rose{padding:9px 16px;border-radius:999px;background:var(--rose);color:#fff;font-weight:700;font-size:12.5px;text-decoration:none;box-shadow:0 8px 22px -10px rgba(217,74,114,.6);transition:transform .2s}
.site-header .cta-rose:hover{color:#fff;transform:translateY(-2px)}
.site-header .cta-green{padding:9px 16px;border-radius:999px;background:var(--green);color:var(--cream);font-weight:700;font-size:12.5px;text-decoration:none;box-shadow:0 8px 22px -10px rgba(45,74,58,.55);transition:transform .2s}
.site-header .cta-green:hover{color:var(--cream);transform:translateY(-2px)}
@media (max-width:960px){.site-header .nav{display:none}.site-header .header-ctas{display:none}}

/* ---- Cabecera de la nota ---- */
.nota-head{max-width:820px;margin:0 auto;padding:56px 24px 0}
.nota-crumb{font-size:13px;color:var(--text-soft);margin-bottom:28px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.nota-crumb a{color:var(--text-soft);font-weight:600}
.nota-crumb a:hover{color:var(--rose)}
.nota-tagline{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.nota-tag{font-weight:700;font-size:10.5px;letter-spacing:.24em;text-transform:uppercase;padding:5px 12px;border-radius:999px}
.nota-tag--rose{color:var(--rose);background:var(--rose-pale)}
.nota-tag--sage{color:var(--green);background:var(--sage)}
.nota-tag--sand{color:var(--text-soft);background:var(--sand)}
.nota-fecha{font-size:13px;color:var(--text-soft)}
.nota-titulo{font-size:clamp(30px,4.4vw,52px);line-height:1.08;letter-spacing:-.03em;margin:0 0 20px}
.nota-titulo em{font-style:italic;color:var(--rose);font-weight:700}
.nota-bajada{font-size:18px;line-height:1.6;color:var(--text-soft);margin:0 0 28px}
.nota-firma{display:flex;align-items:center;gap:12px;font-size:13.5px;color:var(--text-soft);padding-bottom:36px;border-bottom:1px solid rgba(45,74,58,.1)}
.nota-firma strong{color:var(--green);font-weight:700}
.nota-firma-punto{width:5px;height:5px;border-radius:50%;background:var(--rose);flex-shrink:0}

.nota-cover{max-width:1080px;margin:40px auto 0;padding:0 24px}
.nota-cover img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:24px;box-shadow:0 24px 60px -34px rgba(45,74,58,.4)}

/* ---- Cuerpo ---- */
.nota-body{max-width:720px;margin:0 auto;padding:56px 24px 0;font-size:17px;line-height:1.75}
.nota-body > * + *{margin-top:26px}
.nota-body h2{font-size:clamp(24px,3vw,32px);line-height:1.2;margin-top:52px}
.nota-body h2 em{font-style:italic;color:var(--rose)}
.nota-body h3{font-size:20px;margin-top:38px}
.nota-body p{color:var(--text)}
.nota-body strong{color:var(--green);font-weight:700}
.nota-body ul,.nota-body ol{margin:0;padding-left:24px;display:flex;flex-direction:column;gap:12px}
.nota-body li{line-height:1.7}
.nota-body li::marker{color:var(--rose)}
.nota-dato{background:var(--cream-soft);border-left:4px solid var(--rose);border-radius:0 18px 18px 0;padding:26px 28px;font-size:16.5px}
.nota-dato strong{display:block;font-family:'Fraunces',serif;font-size:15px;font-style:italic;color:var(--rose);margin-bottom:8px;font-weight:600;letter-spacing:.01em}
.nota-cita{font-family:'Fraunces',serif;font-style:italic;font-weight:600;font-size:clamp(20px,2.4vw,26px);line-height:1.35;color:var(--green);text-align:center;padding:20px 0;margin-top:44px}
.nota-cita::before{content:"";display:block;width:44px;height:2px;background:var(--rose);margin:0 auto 24px;border-radius:2px}

.nota-tabla{width:100%;border-collapse:collapse;font-size:15px}
.nota-tabla th,.nota-tabla td{padding:12px 14px;text-align:left;border-bottom:1px solid rgba(45,74,58,.1)}
.nota-tabla th{font-family:'Fraunces',serif;font-size:14px;color:var(--green);font-weight:700}
.nota-tabla tbody tr:nth-child(odd){background:var(--cream-soft)}
.nota-tabla-wrap{overflow-x:auto;border-radius:16px;border:1px solid rgba(45,74,58,.1)}

/* ---- CTA de cierre ---- */
.nota-cta{max-width:720px;margin:72px auto 0;padding:0 24px}
.nota-cta-box{background:var(--green);color:var(--cream);border-radius:28px;padding:clamp(32px,4vw,52px);text-align:center}
.nota-cta-box h2{color:var(--cream);font-size:clamp(24px,3vw,34px);line-height:1.15;margin:0 0 14px}
.nota-cta-box h2 em{font-style:italic;color:var(--rose-soft)}
.nota-cta-box p{color:rgba(245,237,224,.78);font-size:16px;line-height:1.6;margin:0 auto 28px;max-width:44ch}
.nota-cta-botones{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.nota-cta-botones a{padding:15px 30px;border-radius:999px;font-weight:700;font-size:14.5px;text-decoration:none;transition:transform .2s}
.nota-cta-botones a:hover{transform:translateY(-2px)}
.nota-btn-rose{background:var(--rose);color:#fff}
.nota-btn-rose:hover{color:#fff}
.nota-btn-ghost{background:transparent;color:var(--cream);border:1.5px solid rgba(245,237,224,.35)}
.nota-btn-ghost:hover{color:var(--cream);border-color:var(--cream)}

/* ---- Notas relacionadas ---- */
.nota-rel{max-width:1240px;margin:0 auto;padding:96px 24px 100px}
.nota-rel-head{text-align:center;margin-bottom:44px}
.nota-rel-eyebrow{font-weight:700;font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--rose);margin-bottom:14px}
.nota-rel-head h2{font-size:clamp(26px,3.4vw,40px);letter-spacing:-.025em}
.nota-rel-head h2 em{font-style:italic;color:var(--rose)}
.nota-rel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.nota-rel-card{background:#fff;border-radius:22px;overflow:hidden;text-decoration:none;color:var(--text);box-shadow:0 12px 32px -22px rgba(45,74,58,.22);transition:transform .35s,box-shadow .35s;display:flex;flex-direction:column}
.nota-rel-card:hover{transform:translateY(-6px);box-shadow:0 26px 54px -26px rgba(45,74,58,.32);color:var(--text)}
.nota-rel-media{aspect-ratio:4/3;background:var(--cream-soft);overflow:hidden}
.nota-rel-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.nota-rel-card:hover .nota-rel-media img{transform:scale(1.04)}
.nota-rel-body{padding:22px 24px 26px;display:flex;flex-direction:column;gap:10px;flex:1}
.nota-rel-body h3{font-size:19px;line-height:1.25}
.nota-rel-body p{font-size:14px;line-height:1.55;color:var(--text-soft)}
.nota-rel-cta{margin-top:auto;font-weight:700;font-size:11.5px;letter-spacing:.22em;text-transform:uppercase;color:var(--rose)}
@media (max-width:900px){.nota-rel-grid{grid-template-columns:1fr 1fr}}
@media (max-width:600px){
  .nota-rel-grid{grid-template-columns:1fr}
  .nota-body{font-size:16.5px}
  .nota-head{padding-top:36px}
}
