/* ═══════════════════════════════════════════════════════════════
   Blog Hemma Bogotá — estilos (PHP). Porta los tokens y el diseño
   de global.css + blog.css + componentes del proyecto Astro.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --charcoal: #2F2F2F;
  --ink: #1d1d1b;
  --stone: #B8B2A6;
  --sand: #E7E1D6;
  --offwhite: #F7F4ED;
  --sage: #7D8B7A;
  --gold: #C9A46A;
  --clay: #CDAA8A;
  --charcoal-70: rgba(47, 47, 47, .70);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Outfit', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.blog-body { font-family: var(--sans); background: var(--offwhite); color: var(--charcoal); line-height: 1.65; font-size: 17px; overflow-x: hidden; }
::selection { background: var(--gold); color: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; }
main { min-height: 60vh; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ─── Header ─────────────────────────────────────────────── */
.blh { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(18px, 5vw, 48px); background: color-mix(in srgb, var(--offwhite) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid color-mix(in srgb, var(--charcoal) 8%, transparent); }
.blh-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.blh-brand img { width: 42px; height: 42px; border-radius: 50%; }
.blh-word { font-family: var(--serif); font-size: 1.32rem; color: var(--charcoal); letter-spacing: .01em; }
.blh-word em { font-style: normal; color: var(--gold); }
.blh-nav { display: flex; gap: 26px; margin-left: auto; }
.blh-nav a { font-family: var(--sans); font-size: .9rem; letter-spacing: .04em; color: var(--charcoal); text-decoration: none; transition: color .2s; }
.blh-nav a:hover, .blh-nav a[aria-current="page"] { color: var(--gold); }
.blh-cta { font-family: var(--sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; background: var(--gold);
  color: #fff; padding: 10px 22px; border-radius: 4px; text-decoration: none; }
@media (max-width: 760px) { .blh-nav { display: none; } .blh-cta { margin-left: auto; } }

/* ─── Contenedores y utilidades ──────────────────────────── */
.bl-wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(18px, 5vw, 48px); }
.bl-eyebrow { font-family: var(--sans); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.bl-pill { display: inline-block; font-family: var(--sans); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); border-radius: 999px; padding: 5px 12px; }
.bl-meta { font-family: var(--sans); font-size: .86rem; color: var(--charcoal-70); }

/* ─── Hero listado ───────────────────────────────────────── */
.bl-hero-dark { position: relative; overflow: hidden; isolation: isolate; background: #1d1d1b; }
.bl-hero-dark::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(29,29,27,.6), rgba(29,29,27,.9)); }
.bl-hero-inner { position: relative; z-index: 3; max-width: 820px; margin: 0 auto; padding: clamp(56px,7vw,104px) clamp(20px,5vw,48px); }
.bl-hero-dark h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem,5vw,3.6rem); line-height: 1.07; color: #fff; margin: 14px 0 .3em; letter-spacing: -.015em; }
.bl-hero-dark p { font-family: var(--sans); font-size: 1.14rem; line-height: 1.65; color: rgba(255,255,255,.82); margin: 0; }
.bl-count { margin-top: 16px !important; font-size: .85rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--gold) !important; }
.bl-list { padding-top: clamp(46px, 6vw, 80px); padding-bottom: 20px; }
.bl-more-wrap { text-align: center; margin-top: 48px; }
.bl-more { font-family: var(--sans); font-size: .92rem; letter-spacing: .04em; color: var(--charcoal);
  background: transparent; border: 1px solid color-mix(in srgb, var(--gold) 70%, transparent);
  padding: 13px 34px; border-radius: 6px; cursor: pointer; transition: all .25s; text-decoration: none; display: inline-block; }
.bl-more:hover { background: var(--gold); border-color: var(--gold); color: #1d1d1b; }

/* ─── Grid + tarjetas ────────────────────────────────────── */
.bl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 30px; }
.bl-card { display: flex; flex-direction: column; background: #fff; border: 1px solid color-mix(in srgb, var(--charcoal) 8%, transparent);
  border-radius: 8px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.bl-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -28px rgba(0,0,0,.4); }
.bl-card a { text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.bl-card-im { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--sand); }
.bl-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bl-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.28rem; line-height: 1.25; color: var(--charcoal); margin: 2px 0 4px; }
.bl-card p { font-family: var(--sans); font-size: .94rem; color: var(--charcoal-70); line-height: 1.6; margin: 0; }
.bl-card .bl-meta { margin-top: 6px; }
.bl-card .bl-read { margin-top: auto; font-family: var(--sans); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); padding-top: 12px; }
.bl-card-feat { grid-column: 1 / -1; }
.bl-card-feat a { display: grid; grid-template-columns: 1.3fr 1fr; }
.bl-card-feat .bl-card-im { height: 100%; aspect-ratio: auto; min-height: 280px; }
.bl-card-feat h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
@media (max-width: 720px) { .bl-card-feat a { grid-template-columns: 1fr; } .bl-card-feat .bl-card-im { min-height: 0; aspect-ratio: 16/10; } }

/* ─── Artículo ───────────────────────────────────────────── */
.bl-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 980px) { .bl-layout { grid-template-columns: 1fr; } .bl-side { order: 2; } }

.art-hero-dark { position: relative; overflow: hidden; isolation: isolate; background: #1d1d1b; }
.art-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .30; z-index: 0; }
.art-hero-dark::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(29,29,27,.74), rgba(29,29,27,.93)); }
.art-hero-inner { position: relative; z-index: 3; max-width: 900px; margin: 0 auto; padding: clamp(52px, 7vw, 96px) clamp(20px, 5vw, 48px); }
.art-hero-dark h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.13; color: #fff; margin: .45em 0 .35em; letter-spacing: -.015em; }
.art-hero-dark .art-lead { font-family: var(--sans); font-size: clamp(1.05rem,2.2vw,1.28rem); line-height: 1.6; color: rgba(255,255,255,.84); margin: 0 0 26px; max-width: 70ch; }
.art-hero-dark .art-cat { margin: 18px 0 6px; color: var(--gold); border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.art-byline { display: flex; flex-direction: column; gap: 3px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); }
.art-hero-dark .art-author { font-family: var(--sans); font-weight: 600; color: #fff; font-size: 1rem; }
.art-hero-dark .bl-meta { color: rgba(255,255,255,.72); }
.art-hero-dark .bl-bc, .art-hero-dark .bl-bc a { color: rgba(255,255,255,.72); }
.art-hero-dark .bl-bc a:hover { color: var(--gold); }
.art-hero-dark .bl-bc [aria-current="page"] { color: #fff; }
.art-hero-dark .bl-bc-sep { color: rgba(255,255,255,.35); }
.art-grid { padding-top: 44px; }
.art-related { margin-top: 64px; }
.art-related h2 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; color: var(--charcoal); margin: 0 0 24px; }

/* ─── Breadcrumbs ────────────────────────────────────────── */
.bl-bc { font-family: var(--sans); font-size: .82rem; color: var(--charcoal-70); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bl-bc a { color: var(--charcoal-70); text-decoration: none; }
.bl-bc a:hover { color: var(--gold); }
.bl-bc-sep { color: color-mix(in srgb, var(--charcoal) 30%, transparent); }
.bl-bc [aria-current="page"] { color: var(--charcoal); }

/* ─── Prosa ──────────────────────────────────────────────── */
.article-body { font-family: var(--sans); font-size: 1.135rem; line-height: 1.82; color: #3a3936; }
.article-body > *:first-child { margin-top: 0; }
.article-body p { margin: 0 0 1.25em; }
.article-body h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.55rem, 3vw, 2.05rem); line-height: 1.2; color: var(--charcoal); margin: 1.45em 0 .55em; letter-spacing: -.01em; }
.article-body h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 2.2vw, 1.5rem); color: var(--charcoal); margin: 1.7em 0 .5em; }
.article-body h4 { font-family: var(--sans); font-weight: 600; font-size: 1.06rem; color: var(--charcoal); margin: 1.5em 0 .4em; }
.article-body h5 { font-family: var(--sans); font-weight: 600; font-size: .95rem; color: var(--charcoal); margin: 1.4em 0 .35em; letter-spacing: .01em; }
.article-body h6 { font-family: var(--sans); font-weight: 700; font-size: .8rem; color: var(--charcoal-70); margin: 1.3em 0 .3em; text-transform: uppercase; letter-spacing: .12em; }
.article-body a { color: var(--charcoal); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; transition: color .2s; }
.article-body a:hover { color: var(--gold); }
.article-body ul, .article-body ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.article-body li { margin: .4em 0; }
.article-body img { width: 100%; height: auto; border-radius: 6px; margin: 1.6em 0; display: block; }
.article-body blockquote { border-left: 3px solid var(--gold); margin: 1.6em 0; padding: .2em 0 .2em 1.2em; font-family: var(--serif); font-style: italic; color: var(--charcoal); }
.article-body hr { border: 0; border-top: 1px solid color-mix(in srgb, var(--charcoal) 12%, transparent); margin: 1.25em 0; }
.article-body strong { color: var(--charcoal); font-weight: 600; }

/* ─── Sidebar ────────────────────────────────────────────── */
.bl-side h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--charcoal); margin: 0 0 14px; }
.bl-side .bl-box { background: #fff; border: 1px solid color-mix(in srgb, var(--charcoal) 8%, transparent); border-radius: 8px; padding: 22px 22px; margin-bottom: 24px; }
.bl-catlist a { display: flex; justify-content: space-between; gap: 10px; font-family: var(--sans); font-size: .95rem; color: #3a3936; padding: 7px 0; border-bottom: 1px solid color-mix(in srgb, var(--charcoal) 7%, transparent); text-decoration: none; }
.bl-catlist a:hover { color: var(--gold); }
.bl-catlist a span { color: var(--charcoal-70); font-size: .82rem; }
.bl-recent a { display: block; font-family: var(--sans); padding: 9px 0; border-bottom: 1px solid color-mix(in srgb, var(--charcoal) 7%, transparent); text-decoration: none; }
.bl-recent a small { color: var(--gold); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.bl-recent a span { display: block; color: #3a3936; font-size: .96rem; line-height: 1.35; margin-top: 3px; }
.bl-recent a:hover span { color: var(--gold); }
.bl-cta-card { background: var(--charcoal); color: var(--offwhite); border-radius: 8px; padding: 26px 24px; }
.bl-cta-card h4 { color: var(--offwhite); }
.bl-cta-card p { font-family: var(--sans); font-size: .92rem; color: color-mix(in srgb, var(--offwhite) 78%, transparent); line-height: 1.6; margin: 0 0 16px; }
.bl-cta-card .blh-cta { display: inline-block; margin: 0 8px 8px 0; }

/* ─── Booking CTA ────────────────────────────────────────── */
.booking-cta { position: relative; overflow: hidden; isolation: isolate; background: #1d1d1b;
  border-radius: 12px; padding: clamp(40px,5vw,64px) clamp(24px,5vw,56px); margin: 60px auto 0; max-width: 980px; }
.booking-cta::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, transparent 30%, rgba(201,164,106,.16) 50%, transparent 70%);
  background-size: 220% 100%; animation: bcta-sheen 7s ease-in-out infinite; }
.booking-cta::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--gold) 32%, transparent); border-radius: 12px; }
.bcta-in { position: relative; z-index: 3; text-align: center; }
.bcta-eyebrow { font-family: var(--sans); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.booking-cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem,3.4vw,2.4rem); color: #fff; margin: .4em 0 .3em; line-height: 1.15; }
.booking-cta h2 em { font-style: italic; color: var(--gold); }
.booking-cta p { font-family: var(--sans); color: rgba(255,255,255,.78); max-width: 58ch; margin: 0 auto 26px; line-height: 1.65; }
.bcta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.bcta-wa { font-family: var(--sans); font-size: .86rem; letter-spacing: .05em; background: var(--gold); color: #1d1d1b;
  font-weight: 600; padding: 13px 28px; border-radius: 5px; text-decoration: none; animation: bcta-pulse 2.8s ease-in-out infinite; }
.bcta-ghost { font-family: var(--sans); font-size: .86rem; letter-spacing: .05em; color: #fff; border: 1px solid rgba(255,255,255,.4);
  padding: 13px 24px; border-radius: 5px; text-decoration: none; transition: border-color .3s, color .3s; }
.bcta-ghost:hover { border-color: var(--gold); color: var(--gold); }
@keyframes bcta-sheen { 0%,100% { background-position: 120% 0; } 50% { background-position: -20% 0; } }
@keyframes bcta-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(201,164,106,.45); } 50% { box-shadow: 0 0 22px 4px rgba(201,164,106,.22); } }
@media (prefers-reduced-motion: reduce) { .booking-cta::before, .bcta-wa { animation: none; } }

/* ─── Footer ─────────────────────────────────────────────── */
.bl-footer { background: var(--ink); color: rgba(255,255,255,.72); margin-top: 72px; padding: 48px clamp(18px,5vw,48px) 36px; }
.bl-footer-in { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.bl-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.bl-footer a:hover { color: var(--gold); }
.bl-footer-nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; }
.bl-footer-brand { font-family: var(--serif); font-size: 1.2rem; color: #fff; }
.bl-footer-brand em { font-style: normal; color: var(--gold); }
.bl-footer small { display: block; width: 100%; max-width: 1180px; margin: 22px auto 0; font-size: .78rem; color: rgba(255,255,255,.4); }

/* ─── WhatsApp FAB ───────────────────────────────────────── */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-family: var(--sans);
  font-size: .9rem; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.wa-fab svg { width: 22px; height: 22px; fill: #fff; }
.wa-fab span { line-height: 1.1; }
.wa-fab small { display: block; font-weight: 400; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
@media (max-width: 520px) { .wa-fab .wa-txt { display: none; } .wa-fab { padding: 14px; } }
