/* ==========================================================================
   Good Hair — Estilos para notas de blog
   Reutiliza la paleta e identidad de la landing (Montserrat / azules oscuros)
   ========================================================================== */

:root{
  --gh-navy: #1c2733;
  --gh-navy-2: #263544;
  --gh-blue: #3d5573;
  --gh-blue-light: #5a7796;
  --gh-text: #2c3540;
  --gh-gray: #5b6570;
  --gh-bg: #f4f6f8;
  --gh-white: #ffffff;
}

*{ box-sizing: border-box; }

body.blog-page{
  margin: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--gh-text);
  background: var(--gh-bg);
  -webkit-font-smoothing: antialiased;
}

a{ text-decoration: none; }

/* ---------- Header ---------- */
.blog-topbar{
  background: var(--gh-navy);
  padding: 14px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.blog-topbar img.blog-logo{
  height: 34px;
}
.blog-topbar .blog-social{
  display: flex;
  gap: 16px;
  align-items: center;
}
.blog-topbar .blog-social img{
  height: 18px;
  width: 18px;
  filter: brightness(0) invert(1);
  opacity: .9;
}

/* ---------- Banner ---------- */
.blog-hero{
  position: relative;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.blog-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,39,51,.15) 0%, rgba(28,39,51,.85) 100%);
}
.blog-hero .blog-hero-inner{
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 6vw 32px;
}
.blog-hero h1{
  color: var(--gh-white);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  max-width: 900px;
  margin: 0;
  line-height: 1.25;
}
.blog-hero .blog-eyebrow{
  color: #cfe0ee;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: inline-block;
}

/* ---------- Content ---------- */
.blog-content{
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 6vw 24px;
}
.blog-content h2.blog-lead{
  color: var(--gh-navy-2);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.blog-content > p.blog-intro{
  color: var(--gh-gray);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 10px;
}
.blog-divider{
  border: none;
  border-top: 1px solid #dde3e8;
  margin: 26px 0;
}
.blog-content h3.blog-question{
  color: var(--gh-navy-2);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.5;
  margin-bottom: 28px;
}

.blog-block{
  margin-bottom: 26px;
}
.blog-tag{
  display: inline-block;
  background: var(--gh-blue);
  color: var(--gh-white);
  font-weight: 700;
  font-size: .92rem;
  padding: 9px 18px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.blog-block .blog-kicker{
  font-style: italic;
  color: var(--gh-blue-light);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: .98rem;
}
.blog-block p{
  color: var(--gh-text);
  line-height: 1.7;
  font-size: .98rem;
  margin-bottom: 10px;
}
.blog-block p strong{
  color: var(--gh-navy-2);
}

/* ---------- Timeline (nota "El futuro") ---------- */
.blog-timeline-title{
  text-align: center;
  color: var(--gh-navy-2);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 10px 0 26px;
}
.blog-timeline{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.blog-timeline .blog-tl-item{
  flex: 1 1 0;
  text-align: center;
  min-width: 140px;
}
.blog-timeline .blog-tl-date{
  display: inline-block;
  background: var(--gh-navy);
  color: var(--gh-white);
  font-weight: 700;
  font-size: .85rem;
  padding: 7px 14px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.blog-timeline .blog-tl-desc{
  font-size: .85rem;
  color: var(--gh-gray);
  line-height: 1.4;
}
.blog-timeline .blog-tl-line{
  flex: 0 0 40px;
  height: 2px;
  background: #c7d0d8;
  margin-top: -34px;
}

/* ---------- Nota destacada / callout ---------- */
.blog-callout{
  background: var(--gh-white);
  border: 1px solid #e2e7eb;
  border-radius: 8px;
  padding: 28px clamp(18px, 4vw, 40px);
  margin: 30px 0 40px;
  text-align: center;
}
.blog-callout h3{
  color: var(--gh-navy-2);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.blog-callout p, .blog-callout li{
  color: var(--gh-text);
  font-size: .95rem;
  line-height: 1.7;
}
.blog-callout ol{
  text-align: left;
  max-width: 560px;
  margin: 0 auto 18px;
  padding-left: 20px;
}

/* ---------- CTA ---------- */
.blog-cta-wrap{
  text-align: center;
  margin: 30px 0 10px;
}
.blog-cta-wrap h3{
  color: var(--gh-navy-2);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.blog-btn{
  display: inline-block;
  background: var(--gh-navy);
  color: var(--gh-white) !important;
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 34px;
  border-radius: 30px;
  transition: background .2s ease, transform .2s ease;
}
.blog-btn:hover{
  background: var(--gh-blue);
  transform: translateY(-1px);
}

/* ---------- Volver / breadcrumb ---------- */
.blog-back{
  max-width: 880px;
  margin: 0 auto;
  padding: 18px 6vw 0;
}
.blog-back a{
  color: var(--gh-blue);
  font-weight: 600;
  font-size: .88rem;
}
.blog-back a:hover{ color: var(--gh-navy); }

/* ---------- Footer ---------- */
.blog-footer{
  background: var(--gh-navy);
  color: #d7dee4;
  padding: 26px 6vw;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: .9rem;
}
.blog-footer .blog-footer-left{
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.blog-footer img.blog-logo{
  height: 30px;
}
.blog-footer .blog-social{
  display: flex;
  gap: 14px;
}
.blog-footer .blog-social img{
  height: 17px;
  width: 17px;
  filter: brightness(0) invert(1);
  opacity: .9;
}

@media (max-width: 640px){
  .blog-timeline{ flex-direction: column; }
  .blog-timeline .blog-tl-line{ display: none; }
  .blog-footer{ flex-direction: column; text-align: center; }
}
