/* ════════════════════════════════════════════════════════════════════════
   PFH GG THEME — Main stylesheet
   Estética: dark gaming + neon violet/pink + tipografía editorial
   ════════════════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
  /* Palette */
  --pfh-bg:        #0a0a0e;
  --pfh-surface:   #14141a;
  --pfh-surface-2: #1a1a22;
  --pfh-border:    #26262f;
  --pfh-ink:       #e8e8ee;
  --pfh-ink-dim:   #b8b8c0;
  --pfh-ink-mute:  #707080;
  --pfh-ink-faint: #555560;

  --pfh-neon-a:    #a855f7;     /* violeta */
  --pfh-neon-b:    #ec4899;     /* rosa */
  --pfh-accent:    #f5a623;     /* dorado (calls, badges) */
  --pfh-grad:      linear-gradient(135deg, var(--pfh-neon-a), var(--pfh-neon-b));

  /* Type */
  --pfh-font-head: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --pfh-font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --pfh-radius:    8px;
  --pfh-radius-lg: 14px;
  --pfh-shadow:    0 6px 24px rgba(0, 0, 0, 0.4);
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pfh-bg);
  color: var(--pfh-ink);
  font-family: var(--pfh-font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--pfh-ink); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--pfh-neon-a); }

/* Animated background grid (sutil) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(168, 85, 247, 0.08), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(236, 72, 153, 0.06), transparent 50%);
  pointer-events: none;
}

/* ── Header ────────────────────────────────────────────────────────────── */
.pfh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pfh-border);
}
.pfh-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
}
.pfh-brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.pfh-brand-logo {
  font-family: var(--pfh-font-head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--pfh-ink);
}
.pfh-brand-glyph { color: var(--pfh-ink); }
.pfh-brand-dot {
  background: var(--pfh-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pfh-brand-gg {
  background: var(--pfh-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pfh-nav {
  flex: 1;
}
.pfh-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
}
.pfh-nav-list a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--pfh-ink-dim);
  letter-spacing: 0.2px;
}
.pfh-nav-list a:hover {
  color: var(--pfh-ink);
}
.pfh-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pfh-search-toggle {
  background: transparent;
  border: 1px solid var(--pfh-border);
  color: var(--pfh-ink-dim);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pfh-search-toggle:hover {
  border-color: var(--pfh-neon-a);
  color: var(--pfh-neon-a);
}
.pfh-search-bar {
  border-top: 1px solid var(--pfh-border);
  background: var(--pfh-surface);
}
.pfh-search-bar form {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  padding: 12px 24px;
  gap: 10px;
}
.pfh-search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--pfh-ink);
  font-size: 15px;
  outline: none;
  font-family: inherit;
}
.pfh-search-bar button {
  background: var(--pfh-grad);
  border: none;
  color: #fff;
  padding: 6px 18px;
  border-radius: var(--pfh-radius);
  cursor: pointer;
  font-weight: 600;
}

/* ── Main wrapper ─────────────────────────────────────────────────────── */
.pfh-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ── HERO (front-page) ────────────────────────────────────────────────── */
.pfh-hero {
  position: relative;
  margin: 0 0 60px;
  border-radius: var(--pfh-radius-lg);
  overflow: hidden;
  background: var(--pfh-surface);
  box-shadow: var(--pfh-shadow);
}
.pfh-hero-link {
  display: block;
  position: relative;
  color: #fff;
}
.pfh-hero-img {
  position: relative;
  aspect-ratio: 16 / 8;
  background: var(--pfh-surface-2);
  overflow: hidden;
}
.pfh-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pfh-hero-link:hover .pfh-hero-img img {
  transform: scale(1.04);
}
.pfh-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 10, 14, 0.2) 0%,
    rgba(10, 10, 14, 0.45) 55%,
    rgba(10, 10, 14, 0.92) 100%);
}
.pfh-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 48px;
}
.pfh-hero-cat {
  display: inline-block;
  font-family: var(--pfh-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--pfh-grad);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.pfh-hero-title {
  font-family: var(--pfh-font-head);
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 54px);
  line-height: 1.05;
  letter-spacing: -1px;
  color: #fff;
  margin: 0 0 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.pfh-hero-excerpt {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 0 14px;
}
.pfh-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
}

/* ── Section headers ─────────────────────────────────────────────────── */
.pfh-section {
  margin: 0 0 60px;
}
.pfh-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pfh-border);
}
.pfh-section-title {
  font-family: var(--pfh-font-head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.3px;
  color: var(--pfh-ink);
  margin: 0;
}
.pfh-section-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--pfh-ink-dim);
}
.pfh-section-link:hover { color: var(--pfh-neon-a); }

/* ── Grid de cards ────────────────────────────────────────────────────── */
.pfh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.pfh-card {
  background: var(--pfh-surface);
  border: 1px solid var(--pfh-border);
  border-radius: var(--pfh-radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.pfh-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.4);
}
.pfh-card-link {
  display: block;
  color: var(--pfh-ink);
}
.pfh-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--pfh-surface-2);
  overflow: hidden;
}
.pfh-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.pfh-card:hover .pfh-card-img img {
  transform: scale(1.06);
}
.pfh-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pfh-grad);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--pfh-font-head);
  font-weight: 700;
  font-size: 48px;
}
.pfh-card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--pfh-font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.pfh-card-body {
  padding: 18px 20px 22px;
}
.pfh-card-title {
  font-family: var(--pfh-font-head);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.2px;
  color: var(--pfh-ink);
  margin: 0 0 8px;
}
.pfh-card-excerpt {
  font-size: 13.5px;
  color: var(--pfh-ink-dim);
  line-height: 1.5;
  margin: 0 0 14px;
}
.pfh-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--pfh-ink-mute);
}
.pfh-dot { color: var(--pfh-ink-faint); }

/* ── CTA Newsletter (front-page) ─────────────────────────────────────── */
.pfh-cta {
  background: var(--pfh-grad);
  border-radius: var(--pfh-radius-lg);
  padding: 48px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pfh-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1), transparent 50%);
}
.pfh-cta-inner {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
}
.pfh-cta h2 {
  font-family: var(--pfh-font-head);
  font-weight: 700;
  font-size: 30px;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}
.pfh-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 24px;
  font-size: 15px;
}
.pfh-cta-form {
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.2);
  padding: 6px;
  border-radius: 999px;
  max-width: 460px;
  margin: 0 auto;
}
.pfh-cta-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  padding: 0 16px;
  outline: none;
  font-family: inherit;
}
.pfh-cta-form input::placeholder { color: rgba(255, 255, 255, 0.55); }
.pfh-cta-form button {
  background: #fff;
  color: #1a1a1a;
  border: none;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

/* ── Single post ──────────────────────────────────────────────────────── */
.pfh-single {
  max-width: 1080px;
  margin: 0 auto;
}
.pfh-single-header {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}
.pfh-single-cats {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.pfh-single-cat {
  display: inline-block;
  font-family: var(--pfh-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--pfh-grad);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
}
.pfh-single-title {
  font-family: var(--pfh-font-head);
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--pfh-ink);
  margin: 0 0 16px;
}
.pfh-single-excerpt {
  font-size: 18px;
  line-height: 1.55;
  color: var(--pfh-ink-dim);
  margin: 0 0 24px;
}
.pfh-single-meta {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}
.pfh-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pfh-author-avatar {
  border-radius: 50%;
  border: 1px solid var(--pfh-border);
}
.pfh-author strong {
  display: block;
  font-size: 14px;
  color: var(--pfh-ink);
}
.pfh-author small {
  font-size: 12px;
  color: var(--pfh-ink-mute);
}
.pfh-single-cover {
  margin: 0 -32px 40px;
  border-radius: var(--pfh-radius-lg);
  overflow: hidden;
  box-shadow: var(--pfh-shadow);
}
.pfh-single-cover img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.pfh-single-cover figcaption {
  text-align: center;
  font-size: 12px;
  color: var(--pfh-ink-mute);
  padding: 10px;
}

.pfh-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 60px;
  margin-top: 40px;
}
@media (max-width: 900px) {
  .pfh-single-layout { grid-template-columns: 1fr; }
}

.pfh-single-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--pfh-ink);
}
.pfh-single-body > * { margin-block: 1.2em; }
.pfh-single-body h2 {
  font-family: var(--pfh-font-head);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.3px;
  margin-top: 2em;
  margin-bottom: 0.6em;
}
.pfh-single-body h3 {
  font-family: var(--pfh-font-head);
  font-weight: 600;
  font-size: 22px;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}
.pfh-single-body p { color: var(--pfh-ink); }
.pfh-single-body a {
  color: var(--pfh-neon-a);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.pfh-single-body a:hover { color: var(--pfh-neon-b); }
.pfh-single-body strong { color: #fff; font-weight: 700; }
.pfh-single-body blockquote {
  border-left: 3px solid var(--pfh-neon-a);
  background: var(--pfh-surface);
  padding: 16px 22px;
  border-radius: 0 var(--pfh-radius) var(--pfh-radius) 0;
  font-style: italic;
  font-size: 1.05em;
  color: var(--pfh-ink-dim);
}
.pfh-single-body img {
  border-radius: var(--pfh-radius);
  margin: 1.5em auto;
}
.pfh-single-body ul, .pfh-single-body ol {
  padding-left: 1.6em;
}
.pfh-single-body li { margin-bottom: 0.4em; }
.pfh-single-body code {
  background: var(--pfh-surface);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--pfh-accent);
}
.pfh-single-body pre {
  background: var(--pfh-surface);
  border: 1px solid var(--pfh-border);
  border-radius: var(--pfh-radius);
  padding: 16px 18px;
  overflow-x: auto;
  font-size: 0.9em;
}
.pfh-single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--pfh-border);
  align-items: center;
}
.pfh-tags-label {
  font-family: var(--pfh-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pfh-ink-mute);
  margin-right: 8px;
}
.pfh-tag {
  display: inline-block;
  font-size: 12.5px;
  background: var(--pfh-surface);
  border: 1px solid var(--pfh-border);
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--pfh-ink-dim);
}
.pfh-tag:hover {
  border-color: var(--pfh-neon-a);
  color: var(--pfh-neon-a);
}

/* ── Sidebar widgets ──────────────────────────────────────────────────── */
.pfh-single-side {
  position: sticky;
  top: 80px;
  align-self: start;
}
.pfh-widget {
  background: var(--pfh-surface);
  border: 1px solid var(--pfh-border);
  border-radius: var(--pfh-radius);
  padding: 18px 20px;
  margin-bottom: 18px;
}
.pfh-widget-title {
  font-family: var(--pfh-font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--pfh-ink);
  margin: 0 0 14px;
}
.pfh-widget-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pfh-widget-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--pfh-border);
}
.pfh-widget-list li:last-child { border-bottom: none; }
.pfh-widget-list a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--pfh-ink);
  display: block;
  line-height: 1.35;
}
.pfh-widget-list a:hover { color: var(--pfh-neon-a); }
.pfh-widget-list small {
  display: block;
  font-size: 11px;
  color: var(--pfh-ink-mute);
  margin-top: 3px;
}
.pfh-widget-cta {
  background: var(--pfh-grad);
  border-color: transparent;
}
.pfh-widget-cta .pfh-widget-title { color: #fff; }
.pfh-widget-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  margin: 0 0 14px;
}
.pfh-widget-cta form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pfh-widget-cta input {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--pfh-radius);
  font-size: 13px;
  font-family: inherit;
}
.pfh-widget-cta input::placeholder { color: rgba(255, 255, 255, 0.5); }
.pfh-widget-cta button {
  background: #fff;
  color: #1a1a1a;
  border: none;
  padding: 9px;
  border-radius: var(--pfh-radius);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

/* ── Related posts ───────────────────────────────────────────────────── */
.pfh-related {
  max-width: 1080px;
  margin: 60px auto 0;
}

/* ── Archive ──────────────────────────────────────────────────────────── */
.pfh-archive-head {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--pfh-border);
}
.pfh-archive-kind {
  display: inline-block;
  font-family: var(--pfh-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pfh-neon-a);
  margin-bottom: 8px;
}
.pfh-archive-title {
  font-family: var(--pfh-font-head);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}
.pfh-archive-desc {
  color: var(--pfh-ink-dim);
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto;
}

/* ── Page (about, contacto) ──────────────────────────────────────────── */
.pfh-page {
  max-width: 760px;
  margin: 0 auto;
}
.pfh-page-header {
  text-align: center;
  margin-bottom: 32px;
}
.pfh-page-title {
  font-family: var(--pfh-font-head);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -1px;
  margin: 0;
}
.pfh-page-body {
  font-size: 17px;
  line-height: 1.75;
}

/* ── 404 ──────────────────────────────────────────────────────────────── */
.pfh-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}
.pfh-404-inner { max-width: 540px; }
.pfh-404-code {
  font-family: var(--pfh-font-head);
  font-weight: 700;
  font-size: clamp(80px, 18vw, 180px);
  line-height: 1;
  background: var(--pfh-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 8px;
  letter-spacing: -4px;
}
.pfh-404-title {
  font-family: var(--pfh-font-head);
  font-weight: 700;
  font-size: 32px;
  margin: 0 0 14px;
}
.pfh-404-text {
  color: var(--pfh-ink-dim);
  font-size: 16px;
  margin: 0 0 30px;
}
.pfh-404-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}
.pfh-btn-primary {
  background: var(--pfh-grad);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--pfh-radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.pfh-btn-primary:hover { color: #fff; filter: brightness(1.1); }
.pfh-btn-ghost {
  background: transparent;
  color: var(--pfh-ink-dim);
  border: 1px solid var(--pfh-border);
  padding: 12px 26px;
  border-radius: var(--pfh-radius);
  cursor: pointer;
  font-family: inherit;
}
.pfh-btn-ghost:hover { color: var(--pfh-ink); border-color: var(--pfh-ink-mute); }
.pfh-404-search form {
  display: flex;
  max-width: 360px;
  margin: 0 auto;
  background: var(--pfh-surface);
  border: 1px solid var(--pfh-border);
  border-radius: var(--pfh-radius);
  overflow: hidden;
}
.pfh-404-search input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--pfh-ink);
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
}
.pfh-404-search button {
  background: var(--pfh-grad);
  color: #fff;
  border: none;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 600;
}

/* ── Pagination ───────────────────────────────────────────────────────── */
.pfh-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}
.pfh-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  background: var(--pfh-surface);
  border: 1px solid var(--pfh-border);
  border-radius: var(--pfh-radius);
  color: var(--pfh-ink-dim);
  font-size: 13px;
  font-weight: 500;
}
.pfh-pagination .page-numbers:hover {
  border-color: var(--pfh-neon-a);
  color: var(--pfh-ink);
}
.pfh-pagination .page-numbers.current {
  background: var(--pfh-grad);
  border-color: transparent;
  color: #fff;
}

/* ── Empty state ──────────────────────────────────────────────────────── */
.pfh-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--pfh-ink-mute);
}
.pfh-empty h3 {
  font-family: var(--pfh-font-head);
  font-weight: 700;
  font-size: 26px;
  color: var(--pfh-ink);
  margin: 0 0 8px;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.pfh-footer {
  background: var(--pfh-surface);
  border-top: 1px solid var(--pfh-border);
  margin-top: 80px;
}
.pfh-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 56px 24px;
}
@media (max-width: 720px) {
  .pfh-footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
.pfh-footer-brand p {
  color: var(--pfh-ink-dim);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 12px 0 0;
  max-width: 320px;
}
.pfh-footer-links h4 {
  font-family: var(--pfh-font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--pfh-ink);
  margin: 0 0 16px;
}
.pfh-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pfh-footer-menu a {
  font-size: 13.5px;
  color: var(--pfh-ink-dim);
}
.pfh-footer-menu a:hover { color: var(--pfh-neon-a); }

.pfh-footer-bottom {
  border-top: 1px solid var(--pfh-border);
  padding: 20px 24px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--pfh-ink-mute);
}
.pfh-footer-bottom p { margin: 0; }
.pfh-footer-bottom a { color: var(--pfh-ink-dim); }
.pfh-footer-bottom a:hover { color: var(--pfh-neon-a); }
@media (max-width: 600px) {
  .pfh-footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .pfh-nav { display: none; }  /* TODO: mobile menu */
  .pfh-hero-content { padding: 20px 24px; }
  .pfh-main { padding: 24px 16px 60px; }
  .pfh-section { margin-bottom: 40px; }
  .pfh-single-cover { margin: 0 0 30px; }
}


/* ═══════════════════════════════════════════════════════════════════════
   SEO BLOCKS — TL;DR + FAQs (inyectados al contenido del post desde inc/seo.php)
   ═══════════════════════════════════════════════════════════════════════ */

/* TL;DR — bloque destacado al inicio del post para AI Overviews */
.pfh-tldr {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.10), rgba(236, 72, 153, 0.08));
  border-left: 4px solid var(--pfh-neon-a, #a855f7);
  border-radius: 6px;
  padding: 16px 20px;
  margin: 0 0 32px;
  position: relative;
}
.pfh-tldr-label {
  display: inline-block;
  font-family: var(--pfh-font-head, 'Space Grotesk'), sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--pfh-grad, linear-gradient(135deg, #a855f7, #ec4899));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.pfh-tldr p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--pfh-text, #e8e8ec);
}

/* FAQs — al final del post */
.pfh-faqs {
  margin: 48px 0 32px;
  padding: 28px 0 0;
  border-top: 1px solid rgba(168, 85, 247, 0.2);
}
.pfh-faqs-title {
  font-family: var(--pfh-font-head, 'Space Grotesk'), sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 20px;
  background: var(--pfh-grad, linear-gradient(135deg, #a855f7, #ec4899));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pfh-faq-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.pfh-faq-item:hover { border-color: rgba(168, 85, 247, 0.3); }
.pfh-faq-item summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--pfh-text, #e8e8ec);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  outline: none;
}
.pfh-faq-item summary::-webkit-details-marker { display: none; }
.pfh-faq-item summary::before {
  content: '+';
  font-family: var(--pfh-font-head, 'Space Grotesk'), sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pfh-neon-a, #a855f7);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.pfh-faq-item[open] summary::before {
  content: '−';
  color: var(--pfh-neon-b, #ec4899);
}
.pfh-faq-answer {
  padding: 0 18px 18px 48px;
  color: var(--pfh-text-soft, #b8b8c0);
  line-height: 1.65;
}
.pfh-faq-answer p { margin: 0 0 10px; }
.pfh-faq-answer p:last-child { margin-bottom: 0; }

