/* Cuatro Patitas Fighiera — estilos del blog (comparte paleta con el sitio principal) */
:root{
  --azul:#1a3383;
  --indigo:#4f59ca;
  --indigo-d:#3d46ab;
  --celeste:#2aa7cc;
  --celeste-d:#1a8aab;
  --navy:#121a3a;
  --tinta:#1b2140;
  --gris:#5b6178;
  --fondo:#f4f6fd;
  --tinte:#e8edfb;
  --tinte-2:#dde5f9;
  --sombra:0 12px 32px -14px rgba(26,51,131,.28);
  --sombra-s:0 6px 18px -8px rgba(26,51,131,.22);
  --radio:18px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"Nunito","Segoe UI",system-ui,sans-serif;
  background:var(--fondo);color:var(--tinta);line-height:1.65;font-size:16px;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{line-height:1.2;font-weight:900;letter-spacing:-.02em;color:var(--azul)}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{width:100%;max-width:820px;margin:0 auto;padding:0 20px}
.wrap-wide{width:100%;max-width:1100px;margin:0 auto;padding:0 20px}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:46px;padding:.75rem 1.4rem;border-radius:999px;
  font-weight:800;font-size:.95rem;font-family:inherit;border:none;cursor:pointer;
  transition:transform .15s,box-shadow .15s,background .2s;
}
.btn-celeste{background:var(--celeste);color:#fff;box-shadow:0 10px 22px -10px var(--celeste)}
.btn-celeste:hover{background:var(--celeste-d)}
.tag{
  display:inline-block;background:var(--tinte);color:var(--indigo);
  font-weight:800;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;
  padding:.4rem 1rem;border-radius:999px;margin-bottom:1rem;
}

/* HEADER */
header{
  position:sticky;top:0;z-index:100;background:rgba(255,255,255,.92);
  backdrop-filter:blur(12px);border-bottom:1px solid var(--tinte);
}
.nav{display:flex;align-items:center;justify-content:space-between;height:64px;gap:12px;max-width:1100px;margin:0 auto;padding:0 20px}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.brand img{width:42px;height:42px;border-radius:50%;box-shadow:0 2px 8px rgba(26,51,131,.25);flex-shrink:0}
.brand .bt{display:flex;flex-direction:column;line-height:1.05;min-width:0}
.brand .bt b{font-size:1rem;font-weight:900;color:var(--azul);white-space:nowrap}
.brand .bt span{font-size:.62rem;font-weight:800;letter-spacing:.22em;color:var(--celeste);text-transform:uppercase}
.back-link{font-weight:800;font-size:.9rem;color:var(--gris)}
.back-link:hover{color:var(--azul)}

/* BLOG INDEX */
.blog-hero{text-align:center;padding:48px 0 32px}
.blog-hero h1{font-size:clamp(1.9rem,6vw,2.8rem)}
.blog-hero p{color:var(--gris);font-weight:600;margin-top:.8rem;font-size:1.05rem;max-width:52ch;margin-left:auto;margin-right:auto}
.post-grid{display:grid;grid-template-columns:1fr;gap:20px;padding:12px 0 64px}
.post-card{
  background:#fff;border-radius:var(--radio);padding:24px;box-shadow:var(--sombra-s);
  transition:transform .18s ease;display:block;
}
.post-card:hover{transform:translateY(-4px)}
.post-card .cat{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--celeste-d)}
.post-card h2{font-size:1.3rem;margin:.5rem 0 .5rem}
.post-card p{color:var(--gris);font-weight:600;font-size:.94rem}
.post-card .meta{margin-top:14px;font-size:.8rem;color:var(--gris);font-weight:700;display:flex;gap:10px;align-items:center}
@media(min-width:760px){
  .post-grid{grid-template-columns:1fr 1fr;gap:24px}
}

/* ARTICLE */
.article-hero{padding:36px 0 8px}
.article-hero .tag{margin-bottom:14px}
.article-hero h1{font-size:clamp(1.7rem,5.5vw,2.5rem);margin-bottom:14px}
.article-meta{display:flex;gap:14px;flex-wrap:wrap;color:var(--gris);font-weight:700;font-size:.88rem;margin-bottom:8px}
article{padding:20px 0 40px}
article h2{font-size:1.35rem;margin:32px 0 12px}
article h3{font-size:1.1rem;color:var(--indigo);margin:22px 0 8px}
article p{color:var(--tinta);font-weight:500;margin-bottom:14px;font-size:1.02rem}
article ul,article ol{margin:0 0 16px 22px;color:var(--tinta);font-weight:500}
article li{margin-bottom:8px;font-size:1.02rem}
article strong{color:var(--azul);font-weight:800}
.callout{
  background:var(--tinte);border-left:5px solid var(--celeste);border-radius:14px;
  padding:16px 18px;margin:20px 0;font-weight:700;color:var(--azul);font-size:.98rem;
}
.divider{height:1px;background:var(--tinte-2);margin:32px 0}
.cta-box{
  background:linear-gradient(160deg,var(--navy),var(--azul));color:#fff;border-radius:24px;
  padding:32px 26px;text-align:center;margin:36px 0 8px;
}
.cta-box h3{color:#fff;font-size:1.4rem;margin-bottom:10px}
.cta-box p{color:#c6cdea;font-weight:600;margin-bottom:20px}
.related{padding:8px 0 56px}
.related h3{font-size:1.2rem;margin-bottom:16px;color:var(--azul)}
.related-grid{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:640px){.related-grid{grid-template-columns:1fr 1fr}}
.related a{background:#fff;border-radius:14px;padding:16px 18px;box-shadow:var(--sombra-s);font-weight:800;color:var(--azul);display:block;font-size:.95rem}
.related a:hover{color:var(--indigo)}

footer{background:var(--navy);color:#aab1d0;padding:36px 0;text-align:center;font-size:.88rem}
footer img{width:52px;height:52px;border-radius:50%;margin:0 auto 12px}
footer .fb{font-weight:900;color:#fff;font-size:1.02rem}
footer .lema{color:#9fd8ea;font-weight:800;margin-top:4px}
footer .cc{opacity:.55;margin-top:10px}
footer .flinks{margin-top:14px;display:flex;gap:18px;justify-content:center;flex-wrap:wrap}
footer .flinks a{color:#c6cdea;font-weight:700;font-size:.85rem}
footer .flinks a:hover{color:#fff}
