/* Guías bunqr — estética EDITORIAL (artículos) + PORTFOLIO (hub).
   Se carga DESPUÉS de legal.css (usa sus :root vars y reset). */

:root { --edge: rgba(19, 19, 22, 0.12); }

/* ====================================================================
   NAV claro y minimal (compartido)
   ==================================================================== */
.a-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(22px, 5vw, 56px);
  max-width: 1120px; margin: 0 auto;
}
.a-nav .l-mark { color: var(--ink); }
.a-nav .l-mark .b { height: 20px; width: auto; }
.a-nav .l-mark .wm { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.a-back { font-size: 13px; font-weight: 550; color: var(--ink2); text-decoration: none; }
.a-back:hover { color: var(--ink); }

/* masthead centrado (reemplaza la barra logo+botón) */
.m-head { text-align: center; padding: 24px 20px 22px; border-bottom: 1px solid var(--edge); }
.m-head .l-mark { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; }
.m-head .l-mark .b { height: 19px; width: auto; }
.m-head .l-mark .wm { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
/* volver a guías, discreto, dentro de la cabecera del artículo */
.a-up { display: inline-block; margin-bottom: 22px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink3); text-decoration: none; }
.a-up:hover { color: var(--ink); }

/* acento serif italic */
.ser { font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; letter-spacing: 0; }

/* ====================================================================
   ARTÍCULO EDITORIAL (páginas de guía)
   ==================================================================== */
.a-head { max-width: 760px; margin: 0 auto; padding: clamp(20px, 5vh, 46px) clamp(22px, 5vw, 40px) 0; text-align: center; }
.a-cat { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink3); margin-bottom: 22px; }
.a-head h1 {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-weight: 400; font-style: normal;
  font-size: clamp(34px, 6vw, 60px); line-height: 1.04; letter-spacing: -0.01em;
  color: var(--ink); margin: 0;
}
.a-head h1 .ser { font-style: italic; } /* mismo font; matiz italic para acento */
.a-rule { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 26px 0 0; }
.a-rule .d { width: 5px; height: 5px; border-radius: 50%; background: var(--ink3); }
.a-meta { margin-top: 22px; font-size: 13px; color: var(--ink3); display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: center; }
.a-meta .dot { opacity: 0.5; }

.a-body { max-width: 660px; margin: 0 auto; padding: clamp(34px, 6vh, 56px) clamp(22px, 5vw, 40px) 70px; counter-reset: sec; }
.a-body p { font-size: 17px; line-height: 1.72; color: var(--ink2); margin-bottom: 20px; }
.a-body strong { color: var(--ink); font-weight: 600; }
.a-body a[href^="http"], .a-body a[href^="mailto"], .a-body a[href^="../"] { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.a-lead { font-size: 20px !important; line-height: 1.6 !important; color: var(--ink) !important; margin-bottom: 26px !important; }
/* letra capital */
.a-lead::first-letter {
  font-family: "Instrument Serif", Georgia, serif; font-weight: 400;
  font-size: 4.6em; line-height: 0.82; float: left; margin: 6px 12px 0 0; color: var(--ink);
}

/* secciones numeradas 01 — Título */
.a-body h2 {
  font-size: clamp(21px, 3vw, 25px); font-weight: 640; letter-spacing: -0.015em; color: var(--ink);
  margin: 48px 0 14px; padding-top: 30px; border-top: 1px solid var(--edge);
}
.a-body h2::before {
  counter-increment: sec; content: counter(sec, decimal-leading-zero);
  display: block; font-size: 12px; font-weight: 650; letter-spacing: 0.18em;
  color: var(--ink3); margin-bottom: 12px; font-family: -apple-system, "Segoe UI", sans-serif;
}
.a-body h3 { font-size: 17px; font-weight: 640; color: var(--ink); margin: 26px 0 8px; }
.a-body ul { margin: 0 0 20px 2px; padding-left: 22px; }
.a-body li { font-size: 17px; line-height: 1.62; color: var(--ink2); margin-bottom: 10px; }

/* FAQ: mismas h2 pero SIN numerar */
.a-body.qa h2::before { content: none; }
.a-body.qa h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }

/* cita destacada con autor (tipo tarjeta editorial) */
.a-quote {
  margin: 40px 0; padding: 28px 30px; border: 1px solid var(--edge); border-radius: 16px;
  background: rgba(233, 228, 216, 0.26);
}
.a-quote p {
  font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400;
  font-size: 23px; line-height: 1.4; color: var(--ink); margin: 0 0 14px !important;
}
.a-quote .a-by { font-size: 12px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink3); }

/* figura inline con pie */
.a-fig { margin: 40px 0; }
.a-fig img { width: 100%; border-radius: 14px; display: block; }
.a-fig figcaption { margin-top: 10px; font-size: 13px; color: var(--ink3); text-align: center; }

/* nota */
.l-note, .a-note { margin: 28px 0; padding: 18px 22px; border: 1px solid var(--edge); border-radius: 14px; background: rgba(19,19,22,0.028); font-size: 15px; color: var(--ink2); }

/* ====================================================================
   CTA (oscuro, marca bunqr) — compartido
   ==================================================================== */
.g-cta {
  margin: 52px 0 8px; padding: 40px clamp(24px, 5vw, 44px);
  border-radius: 22px; background: radial-gradient(125% 145% at 50% 0%, #17181c 0%, #0b0c10 60%);
  color: #fdfdfc; text-align: center; box-shadow: 0 26px 64px -32px rgba(0, 0, 0, 0.6);
}
.g-cta .g-b { height: 26px; width: auto; color: var(--bone); margin-bottom: 16px; }
.g-cta h2 {
  font-family: "Instrument Serif", Georgia, serif; font-weight: 400 !important; font-style: normal;
  color: #fdfdfc !important; font-size: clamp(24px, 3.8vw, 33px) !important; letter-spacing: -0.01em; margin: 0 0 12px !important;
}
.g-cta h2 .ser { color: var(--bone); font-style: italic; }
.g-cta p { color: rgba(253, 253, 252, 0.72) !important; font-size: 15.5px !important; max-width: 48ch; margin: 0 auto 22px !important; line-height: 1.6; }
.g-btn {
  display: inline-block; background: var(--bone); color: #0b0c10 !important;
  font-size: 15px; font-weight: 680; letter-spacing: -0.01em; text-decoration: none !important;
  padding: 13px 28px; border-radius: 999px; transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.g-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(233, 228, 216, 0.55); }
.g-cta .g-fine { margin-top: 14px !important; font-size: 12.5px !important; color: rgba(253, 253, 252, 0.5) !important; }

/* relacionadas */
.g-related { max-width: 660px; margin: 56px auto 0; padding: 0 clamp(22px, 5vw, 40px) 60px; }
.g-related .g-rt { font-size: 12px; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink3); margin-bottom: 8px; }
.g-related a { display: block; text-decoration: none !important; color: var(--ink) !important; font-size: 17px; font-weight: 560; padding: 15px 0; border-bottom: 1px solid var(--edge); }
.g-related a:last-child { border-bottom: none; }
.g-related a:hover { color: var(--ink2) !important; }
.g-related a .arw { color: var(--ink3); float: right; }

/* ====================================================================
   HUB PORTFOLIO
   ==================================================================== */
.h-hero { max-width: 900px; margin: 0 auto; padding: clamp(30px, 7vh, 76px) clamp(22px, 5vw, 40px) clamp(30px, 5vh, 52px); text-align: center; }
.h-hero .a-cat { color: var(--ink3); }
.h-hero h1 {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-weight: 400;
  font-size: clamp(36px, 6.6vw, 68px); line-height: 1.02; letter-spacing: -0.015em; color: var(--ink); margin: 0;
}
.h-hero h1 .ser { font-style: italic; }
.h-hero .h-sub { max-width: 54ch; margin: 24px auto 0; font-size: clamp(16px, 2vw, 19px); line-height: 1.55; color: var(--ink2); }

.p-wrap { max-width: 1120px; margin: 0 auto; padding: clamp(20px, 4vh, 40px) clamp(22px, 5vw, 56px) 30px; }
.p-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 36px); }
.p-card { text-decoration: none !important; color: var(--ink) !important; display: flex; flex-direction: column; }
.p-card .p-img { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #e7e3db; }
.p-card .p-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.p-card:hover .p-img img { transform: scale(1.04); }
.p-card .p-h { margin-top: 16px; font-size: 20px; font-weight: 640; letter-spacing: -0.01em; }
.p-card .p-d { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--ink2); }
.p-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.p-tag { font-size: 10.5px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink3); border: 1px solid var(--edge); border-radius: 999px; padding: 5px 10px; }

/* ====================================================================
   FOOTER claro
   ==================================================================== */
.a-foot { border-top: 1px solid var(--edge); max-width: 1120px; margin: 0 auto; padding: 30px clamp(22px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: center; font-size: 13px; color: var(--ink3); }
.a-foot a { color: var(--ink2); text-decoration: none; }
.a-foot a:hover { color: var(--ink); }
.a-foot .sep { opacity: 0.4; }

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 620px) {
  .p-grid { grid-template-columns: 1fr; }
  .a-lead::first-letter { font-size: 3.8em; }
}
