/* ikou landing page — estilo rich */

body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

/* ==== Nav ==== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px max(env(safe-area-inset-right), 28px) 18px max(env(safe-area-inset-left), 28px);
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 20, .55);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav:hover { border-bottom-color: var(--stroke) }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .nav { background: rgba(245, 243, 255, .72) }
}
:root[data-theme="light"] .nav { background: rgba(245, 243, 255, .72) }
:root[data-theme="dark"]  .nav { background: rgba(10, 10, 20, .55) }
.brand-mark {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.brand-glyph {
  font-size: 30px; font-weight: 700; line-height: 1;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
}
.brand-name {
  font-size: 22px; font-weight: 700; letter-spacing: -0.03em;
  color: var(--text);
}
.nav-actions {
  display: flex; gap: 10px; align-items: center;
}
.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px; font-weight: 500;
  padding: 8px 6px;
  transition: color .2s;
}
.nav-link:hover { color: var(--text) }
.nav .btn { padding: 9px 16px; font-size: 14px; border-radius: 12px }
.nav-link.is-active { color: var(--text); font-weight: 700 }
.nav-burger {
  display: none;
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--stroke); background: var(--glass);
  cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-burger span {
  width: 18px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg) }
.nav-burger.open span:nth-child(2) { opacity: 0 }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg) }

@media (max-width: 820px) {
  .nav-burger { display: flex }
  .nav-actions {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 16px;
    background: color-mix(in srgb, var(--bg-1) 92%, transparent);
    border-bottom: 1px solid var(--stroke);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  }
  .nav-actions.open { display: flex }
  .nav-actions .nav-link,
  .nav-actions .btn { text-align: center; padding: 10px 12px; border-radius: 10px }
  .nav-actions .btn { width: 100% }
  .nav { position: relative }
  .nav-theme-btn { align-self: center; margin-top: 4px }
}

/* ==== Hero ==== */
.hero {
  display: flex; align-items: center; justify-content: center;
  padding: 60px 24px 40px;
  max-width: 1180px; width: 100%; margin: 0 auto;
}
.hero-content {
  max-width: 900px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.hero-badge {
  display: inline-flex;
  padding: 6px 14px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--stroke);
  font-size: 12.5px; font-weight: 600; color: var(--text-dim);
  letter-spacing: -0.01em;
}
.hero-title {
  margin: 0;
  font-size: clamp(38px, 8vw, 78px);
  font-weight: 800; letter-spacing: -0.038em; line-height: 1.03;
  color: var(--text);
}
.hero-sub {
  margin: 0;
  font-size: clamp(15px, 2.4vw, 20px);
  color: var(--text-dim);
  font-weight: 500; line-height: 1.55;
  letter-spacing: -0.01em; max-width: 640px;
}
.hero-cta {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px;
}
.btn.big { padding: 15px 26px; font-size: 16px; border-radius: 14px }
.hero-meta {
  font-size: 12.5px; color: var(--text-faint); font-weight: 500; margin-top: -8px;
}

/* Mockup iPhone */
.mock-tabs {
  display: inline-flex; gap: 4px; margin: 0 auto 14px;
  padding: 4px; background: var(--glass); border-radius: 999px;
  border: 1px solid var(--stroke);
}
.mock-tab {
  padding: 8px 18px; border-radius: 999px;
  border: 0; background: transparent; color: var(--text-dim);
  font: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: background .2s, color .2s;
}
.mock-tab.on { background: var(--accent-gradient); color: #fff }
.mock-tab:hover:not(.on) { color: var(--text) }
.mock-badge {
  display: inline-block;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(120,115,245,.14); border: 1px solid rgba(120,115,245,.3);
  font-size: 11px; font-weight: 700; color: #bdc6ff;
  margin-bottom: 10px;
}
.mock-badge.live {
  background: rgba(94,229,161,.14); border-color: rgba(94,229,161,.3); color: #90efb5;
}
.mock-count {
  text-align: center; padding: 10px 0 14px;
}
.mc-n {
  font-size: 42px; font-weight: 800; line-height: 1;
  background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mc-l { font-size: 11px; color: var(--text-dim); font-weight: 600; margin-top: 4px }
.mock-budget {
  padding: 8px 10px; margin-top: 10px;
  background: rgba(94,229,161,.10); border: 1px solid rgba(94,229,161,.3);
  border-radius: 10px; font-size: 11px; color: #90efb5;
}
.mock-todo { background: rgba(255,209,102,.08) !important; border-color: rgba(255,209,102,.25) !important }

.hero-mock {
  margin-top: 32px;
  perspective: 1400px;
}
.mock-phone {
  width: 280px; height: 570px;
  background: linear-gradient(180deg, #1a1a2a, #0d0d18);
  border-radius: 44px;
  border: 8px solid #2a2a3e;
  padding: 8px;
  box-shadow:
    0 40px 80px -20px rgba(120, 115, 245, .35),
    0 20px 60px -10px rgba(255, 110, 196, .25),
    0 0 0 1px rgba(255,255,255,.1);
  transform: rotateX(6deg);
  transition: transform .3s ease;
}
.mock-phone:hover { transform: rotateX(0deg) }
.mock-screen {
  width: 100%; height: 100%;
  background:
    radial-gradient(400px 260px at 20% -10%, #2a1248, transparent 60%),
    radial-gradient(300px 220px at 100% 30%, #1a0f2e, transparent 55%),
    #0a0a14;
  border-radius: 32px;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
  text-align: left;
  font-size: 12px;
  color: #fff;
  /* Forzamos textos claros sin depender del tema del sitio (es un móvil demo) */
  --text: #fff;
  --text-dim: rgba(255,255,255,.62);
  --text-faint: rgba(255,255,255,.38);
}
.mock-screen .mock-hi,
.mock-screen .mock-trip strong { color: #fff }
.mock-screen .mock-dim { color: rgba(255,255,255,.5) }
.mock-screen .mock-trip { color: rgba(255,255,255,.72) }
.mock-status {
  display: flex; justify-content: space-between;
  font-size: 10px; font-weight: 600; color: var(--text-dim);
  padding: 0 4px;
}
.mock-content { display: flex; flex-direction: column; gap: 10px }
.mock-hi {
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px;
}
.mock-trip {
  font-size: 12px; color: var(--text-dim); line-height: 1.5;
}
.mock-trip strong { color: var(--text); font-size: 13px }
.mock-dim { color: var(--text-faint); font-size: 11px }
.mock-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 11px;
}
.mock-card > div:first-child { font-size: 12px; margin-bottom: 3px }
.mock-quick {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  margin-top: 4px;
}
.mock-quick span {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 10px 0;
  text-align: center; font-size: 20px;
}

@media (max-width: 500px) {
  .mock-phone { width: 240px; height: 490px; border-radius: 36px }
  .mock-screen { padding: 12px 14px; border-radius: 26px }
}

/* ==== Secciones genéricas ==== */
.section { padding: 80px 24px }
@media (max-width: 720px) { .section { padding: 50px 20px } }
.section-inner { max-width: 1180px; margin: 0 auto }
.section-lead {
  text-align: center; margin-bottom: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-faint);
}
.section-title {
  margin: 0;
  font-size: clamp(28px, 4.8vw, 44px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
}
.section-sub {
  margin: 0; max-width: 560px;
  font-size: 15px; color: var(--text-dim); font-weight: 500;
}

/* ==== Steps ==== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.step { padding: 26px; display: flex; flex-direction: column; gap: 8px }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #ff6ec4, #7873f5);
  color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
  box-shadow: 0 6px 20px rgba(120, 115, 245, .35);
}
.step h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.02em }
.step p { margin: 0; font-size: 14px; color: var(--text-dim); line-height: 1.55; font-weight: 500 }

/* ==== Features grid ==== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.feature { padding: 22px; display: flex; flex-direction: column; gap: 8px }
.feat-icon { font-size: 30px; line-height: 1; margin-bottom: 6px }
.feature h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.02em }
.feature p { margin: 0; font-size: 13.5px; color: var(--text-dim); line-height: 1.5; font-weight: 500 }

/* ==== Compare ==== */
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
@media (max-width: 720px) { .compare { grid-template-columns: 1fr } }
.compare-col { padding: 26px }
.compare-col ul {
  margin: 0; padding-left: 20px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px; line-height: 1.55; font-weight: 500;
}
.compare-title {
  font-size: 16px; font-weight: 700; margin-bottom: 14px;
}
.compare-them { opacity: .7 }
.compare-them ul { color: var(--text-dim) }
.compare-us {
  border-color: rgba(94, 229, 161, .35);
  background: linear-gradient(180deg, rgba(94, 229, 161, .06), transparent 60%), var(--glass);
}
.compare-us ul { color: var(--text) }

/* ==== Trust ==== */
.trust-section { padding: 40px 24px }
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
}
.trust-item { text-align: center; display: flex; flex-direction: column; gap: 6px }
.trust-num { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; line-height: 1 }
.trust-lbl { font-size: 13px; color: var(--text-dim); font-weight: 500 }

/* ==== FAQ ==== */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 720px; margin: 0 auto }
.faq-item {
  padding: 0;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none }
.faq-item summary::after {
  content: "+"; font-size: 20px; font-weight: 500; color: var(--text-faint);
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg) }
.faq-item p {
  padding: 0 22px 20px;
  margin: 0;
  font-size: 14px; color: var(--text-dim); line-height: 1.6; font-weight: 500;
}

/* ==== CTA final ==== */
.cta-section { padding: 40px 24px 80px }
.cta-card {
  text-align: center; padding: 50px 30px;
  display: flex; flex-direction: column; gap: 14px; align-items: center;
  background:
    radial-gradient(600px 300px at 50% -20%, rgba(255, 110, 196, .18), transparent 60%),
    var(--glass);
}
.cta-badge {
  display: inline-flex; padding: 5px 12px; border-radius: 999px;
  background: rgba(255,110,196,.15); border: 1px solid rgba(255,110,196,.3);
  font-size: 12px; font-weight: 600; color: #ffb0dc;
  margin-bottom: 6px;
}
.cta-card h2 { margin: 0; font-size: clamp(26px, 4.5vw, 38px); font-weight: 700; letter-spacing: -0.02em }
.cta-card p { margin: 0; font-size: 16px; color: var(--text-dim); font-weight: 500; line-height: 1.55 }
.cta-card .btn { margin-top: 10px }

/* ==== Footer ==== */
.foot {
  border-top: 1px solid var(--stroke);
  padding: 50px 24px 30px;
  margin-top: 40px;
}
.foot-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr; gap: 40px;
}
@media (max-width: 720px) { .foot-inner { grid-template-columns: 1fr; gap: 30px } }
.foot-brand .brand-mark { margin-bottom: 12px }
.foot-tag { margin: 0; font-size: 13px; color: var(--text-dim); font-weight: 500; line-height: 1.55 }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px }
.foot-col { display: flex; flex-direction: column; gap: 10px }
.foot-col-title {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 4px;
}
.foot-col a {
  color: var(--text-dim); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.foot-col a:hover { color: var(--text) }
.foot-bottom {
  max-width: 1180px; margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
  text-align: center; font-size: 12px; color: var(--text-faint);
  font-weight: 500;
}

/* Blog */
.blog-wrap { max-width: 1000px; margin: 0 auto; padding: 40px 20px 80px }
.blog-header { text-align: center; margin-bottom: 40px }
.blog-title { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 12px }
.blog-sub { font-size: 16px; color: var(--text-dim); max-width: 560px; margin: 0 auto; line-height: 1.5 }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px }
.blog-card {
  background: var(--glass); border: 1px solid var(--stroke);
  border-radius: 18px; padding: 22px 20px;
  transition: transform .2s, background .2s, border-color .2s;
  cursor: pointer;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.blog-card:hover { transform: translateY(-3px); background: var(--glass-strong); border-color: var(--stroke-strong) }
.blog-flag { font-size: 32px; margin-bottom: 10px; line-height: 1 }
.blog-card h2 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 8px; line-height: 1.35 }
.blog-card p { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; margin: 0 0 12px }
.blog-meta { font-size: 11px; color: var(--text-faint); font-weight: 600; letter-spacing: .04em; text-transform: uppercase }
.blog-cta {
  margin-top: 60px; padding: 40px 20px; text-align: center;
  background: linear-gradient(135deg, rgba(255,110,196,.10), rgba(120,115,245,.10));
  border: 1px solid rgba(255,255,255,.1); border-radius: 20px;
}
.blog-cta h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px }
.blog-cta p { color: var(--text-dim); margin: 0 0 20px }

/* Post individual */
.post-wrap { max-width: 720px; margin: 0 auto; padding: 30px 20px 60px }
.post-meta { font-size: 12px; color: var(--text-faint); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px }
.post-title { font-size: clamp(28px, 5vw, 42px); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 14px; line-height: 1.15 }
.post-lead { font-size: 17px; color: var(--text-dim); line-height: 1.55; margin: 0 0 30px }
.post-wrap h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 30px 0 10px }
.post-wrap p, .post-list { font-size: 15px; line-height: 1.65; color: var(--text) }
.post-list { padding-left: 22px; margin: 0 0 10px }
.post-list li { margin-bottom: 6px }
.post-cta {
  margin-top: 46px; padding: 30px 24px; text-align: center;
  background: linear-gradient(135deg, rgba(255,110,196,.10), rgba(120,115,245,.10));
  border: 1px solid rgba(255,255,255,.1); border-radius: 20px;
}
.post-cta h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px }
.post-cta p { color: var(--text-dim); margin: 0 0 18px }

/* Blog cards enlazables */
.blog-card { text-decoration: none; color: inherit }

/* ============ BLOG mejorado ============ */
.blog-hero {
  padding: 60px 24px 40px; text-align: center;
  background: radial-gradient(ellipse at top, rgba(255,110,196,.10), transparent 60%),
              radial-gradient(ellipse at bottom left, rgba(120,115,245,.08), transparent 50%);
  border-radius: 24px; margin-bottom: 30px;
  border: 1px solid var(--stroke);
}
.blog-hero .blog-title { font-size: clamp(38px, 6vw, 56px); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 12px; line-height: 1.1 }
.blog-hero .blog-sub { font-size: clamp(15px, 2vw, 18px); color: var(--text-dim); line-height: 1.55; max-width: 560px; margin: 0 auto }

.blog-cats { display: flex; gap: 8px; margin: 30px 0 20px; flex-wrap: wrap; justify-content: center }
.blog-cat-chip {
  padding: 6px 14px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--stroke);
  color: var(--text-dim); font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.blog-cat-chip:hover, .blog-cat-chip.active {
  background: var(--accent-gradient); border-color: transparent; color: #fff;
}

.blog-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.blog-card .blog-flag {
  width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,110,196,.10), rgba(120,115,245,.10));
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin-bottom: 14px;
  border: 1px solid var(--stroke);
}
.blog-card h2 { min-height: 46px }
.blog-card p { flex: 1 }
.blog-card .blog-read {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--stroke);
  font-size: 13px; font-weight: 700; color: #bdc6ff;
  display: flex; align-items: center; gap: 6px;
}
.blog-card.soon {
  opacity: .6; cursor: not-allowed; pointer-events: none; position: relative;
}
.blog-card.soon::after {
  content: "PRÓXIMAMENTE";
  position: absolute; top: 14px; right: 14px;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(255,209,102,.14); border: 1px solid rgba(255,209,102,.3);
  color: #ffd166; font-size: 10px; font-weight: 800; letter-spacing: .06em;
}

/* ============ POSTS mejorados ============ */
.post-hero-card {
  padding: 60px 40px; margin-bottom: 30px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,110,196,.14), rgba(120,115,245,.14));
  border: 1px solid var(--stroke);
  position: relative; overflow: hidden;
}
.post-hero-card::before {
  content: ""; position: absolute;
  right: -60px; bottom: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.06), transparent 70%);
}
.post-hero-icon { font-size: 72px; line-height: 1; margin-bottom: 12px }
.post-hero-cat {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--glass-strong); border: 1px solid var(--stroke);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 14px;
}
.post-hero-title { font-size: clamp(30px, 5vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 16px }
.post-hero-lead { font-size: clamp(15px, 2vw, 18px); color: var(--text-dim); line-height: 1.6; max-width: 640px; margin: 0 }
.post-hero-meta { margin-top: 16px; font-size: 12px; color: var(--text-faint); display: flex; gap: 10px; flex-wrap: wrap }
.post-hero-meta span { display: inline-flex; align-items: center; gap: 4px }

.post-toc {
  padding: 20px 24px; margin: 30px 0;
  background: var(--glass); border: 1px solid var(--stroke); border-radius: 16px;
}
.post-toc-title { font-size: 11px; color: var(--text-faint); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px }
.post-toc ol { padding-left: 20px; margin: 0; font-size: 14px; color: var(--text-dim) }
.post-toc ol li { margin: 4px 0 }
.post-toc a { color: var(--text); text-decoration: none; font-weight: 500 }
.post-toc a:hover { color: #bdc6ff }

.post-callout {
  padding: 16px 20px; margin: 20px 0;
  border-radius: 12px;
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14.5px; line-height: 1.55;
}
.post-callout .pc-icon { font-size: 24px; flex-shrink: 0; line-height: 1 }
.post-callout.tip  { background: rgba(94,229,161,.08); border: 1px solid rgba(94,229,161,.28); color: #90efb5 }
.post-callout.warn { background: rgba(255,209,102,.08); border: 1px solid rgba(255,209,102,.28); color: #ffd166 }
.post-callout.info { background: rgba(120,115,245,.08); border: 1px solid rgba(120,115,245,.28); color: #bdc6ff }
.post-callout strong { color: #fff }
:root[data-theme="light"] .post-callout strong { color: #0c0c14 }

.post-quote {
  padding: 22px 26px; margin: 30px 0;
  border-left: 4px solid #7873f5;
  background: linear-gradient(90deg, rgba(120,115,245,.08), transparent);
  font-size: clamp(17px, 2.4vw, 22px); font-weight: 600; font-style: italic;
  color: var(--text); line-height: 1.4; letter-spacing: -0.01em;
  border-radius: 0 12px 12px 0;
}
.post-quote::before { content: "\201C"; font-size: 36px; color: #7873f5; margin-right: 8px; line-height: 0; vertical-align: -8px }

.post-datacards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px; margin: 20px 0;
}
.post-datacard {
  padding: 18px 16px; text-align: center;
  background: var(--glass); border: 1px solid var(--stroke); border-radius: 14px;
}
.pdc-n { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1;
  background: linear-gradient(135deg, #ff6ec4, #7873f5);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.pdc-l { font-size: 11.5px; color: var(--text-dim); font-weight: 600; margin-top: 4px }

.post-checklist {
  margin: 30px 0; padding: 24px 26px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(94,229,161,.06), rgba(120,115,245,.06));
  border: 1px solid var(--stroke);
}
.post-checklist-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.post-checklist-title { font-size: 16px; font-weight: 800; margin: 0; letter-spacing: -0.01em }
.post-checklist ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px }
.post-checklist li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; background: rgba(255,255,255,.04); border-radius: 10px;
  font-size: 14px; color: var(--text);
}
.post-checklist li::before {
  content: "☐"; font-size: 16px; color: var(--text-faint);
}

.post-numbered {
  counter-reset: postnum; display: flex; flex-direction: column; gap: 14px; margin: 22px 0;
}
.post-numbered .pn-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; background: var(--glass); border: 1px solid var(--stroke); border-radius: 14px;
}
.pn-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #ff6ec4, #7873f5);
  color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 4px 12px rgba(120,115,245,.3);
}
.pn-body h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700 }
.pn-body p { margin: 0; font-size: 14px; color: var(--text-dim); line-height: 1.55 }

/* ============ POSTS · nivel cremita ============ */
.post-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, #ff6ec4, #7873f5);
  width: 0%; z-index: 100;
  transition: width .08s linear;
}

.post-hero-card {
  padding: clamp(30px, 5vw, 60px) clamp(24px, 4vw, 50px);
  margin-bottom: 30px;
}
.post-hero-icon {
  font-size: clamp(48px, 8vw, 80px);
  display: inline-block;
  animation: floatIcon 4s ease-in-out infinite;
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(0) }
  50%      { transform: translateY(-8px) rotate(3deg) }
}

/* Encabezados con anclas visibles */
.post-wrap h2 {
  scroll-margin-top: 90px;
  position: relative;
  padding-left: 22px;
  margin-top: 44px !important;
}
.post-wrap h2::before {
  content: "";
  position: absolute; left: 0; top: 12px; bottom: 12px;
  width: 4px; border-radius: 3px;
  background: linear-gradient(180deg, #ff6ec4, #7873f5);
}

/* Author card */
.post-author {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; margin: 40px 0 20px;
  background: var(--glass); border: 1px solid var(--stroke);
  border-radius: 16px;
}
.pa-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #ff6ec4, #7873f5);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
}
.pa-body { flex: 1 }
.pa-name { font-size: 14px; font-weight: 700 }
.pa-bio { font-size: 12.5px; color: var(--text-dim); margin-top: 2px }

/* ============ Share bloque cremita ============ */
.post-share {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; margin: 36px 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,110,196,.08), rgba(120,115,245,.08));
  border: 1px solid var(--stroke);
  flex-wrap: wrap;
}
.post-share-lbl {
  font-size: 14px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 6px;
  margin-right: 4px;
}
.post-share a {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  font-size: 18px; font-weight: 600;
  padding: 0; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s;
  position: relative;
}
.post-share a:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 10px 22px rgba(0,0,0,.25); filter: brightness(1.08) }
/* Detectar por texto y colorear con :nth-child porque no cambiamos HTML */
.post-share a:nth-of-type(1) { background: #000 }                               /* X */
.post-share a:nth-of-type(2) { background: linear-gradient(135deg, #25d366, #128c7e) } /* WhatsApp */
.post-share a:nth-of-type(3) { background: linear-gradient(135deg, #1877f2, #0e5db8) } /* Facebook */
/* Oculta el texto residual detrás, sólo se ve el emoji */
.post-share a { font-size: 0 }
.post-share a::before {
  font-size: 20px; line-height: 1;
}
.post-share a:nth-of-type(1)::before { content: "𝕏" }
.post-share a:nth-of-type(2)::before { content: "💬" }
.post-share a:nth-of-type(3)::before { content: "f"; font-family: Georgia, serif; font-weight: 900; font-style: italic; color: #fff }

/* ============ Related cremita ============ */
.post-related {
  margin-top: 60px; padding-top: 34px;
  border-top: 1px solid var(--stroke);
}
.post-related-lbl {
  font-size: 12px; color: var(--text-faint); font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 6px;
}
.post-related-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px;
}
.pr-card {
  position: relative; overflow: hidden;
  padding: 26px 24px; border-radius: 18px;
  background: var(--glass); border: 1px solid var(--stroke);
  text-decoration: none; color: var(--text);
  transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
  display: flex; flex-direction: column; gap: 12px;
}
.pr-card::before {
  content: ""; position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,110,196,.10), transparent 70%);
  transition: transform .3s ease;
  pointer-events: none;
}
.pr-card:hover {
  transform: translateY(-4px);
  background: var(--glass-strong);
  border-color: rgba(120,115,245,.35);
  box-shadow: 0 20px 40px -12px rgba(120,115,245,.20);
}
.pr-card:hover::before { transform: scale(1.4) }
.pr-flag {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; line-height: 1; margin-bottom: 0;
  background: linear-gradient(135deg, rgba(255,110,196,.14), rgba(120,115,245,.14));
  border: 1px solid var(--stroke);
}
.pr-title {
  font-size: 16px; font-weight: 700; letter-spacing: -0.015em;
  line-height: 1.35; margin-bottom: 0;
}
.pr-meta {
  font-size: 12px; color: var(--text-faint); font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.pr-card::after {
  content: "Leer →";
  font-size: 12.5px; font-weight: 700;
  color: #bdc6ff;
  margin-top: 4px;
  transition: transform .2s ease;
}
.pr-card:hover::after { transform: translateX(4px) }

/* Post checklist mejorado */
.post-checklist {
  position: relative;
  overflow: hidden;
}
.post-checklist::before {
  content: ""; position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(94,229,161,.06), transparent 70%);
  pointer-events: none;
}
.post-checklist li {
  transition: background .18s;
  cursor: default;
}
.post-checklist li:hover { background: rgba(255,255,255,.06) }

/* Datacards con hover */
.post-datacard {
  transition: transform .2s, border-color .2s;
}
.post-datacard:hover { transform: translateY(-3px); border-color: var(--stroke-strong) }

/* Numbered items con hover */
.pn-item {
  transition: transform .2s, border-color .2s, background .2s;
}
.pn-item:hover { border-color: var(--stroke-strong); background: var(--glass-strong) }

/* ============ FOOTER cremita ============ */
.footer {
  margin-top: 80px;
  padding: 60px max(env(safe-area-inset-right), 32px) 30px max(env(safe-area-inset-left), 32px);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255,110,196,.06), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(120,115,245,.06), transparent 55%),
    var(--glass);
  border-top: 1px solid var(--stroke);
  position: relative; overflow: hidden;
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,110,196,.4), rgba(120,115,245,.4), transparent);
}
.footer-cols {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 720px) {
  .footer { padding: 40px 24px 24px }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 30px 20px }
  .footer-cols > div:first-child { grid-column: 1 / -1 }
}
.footer-cols > div:first-child { padding-right: 20px }
.footer-cols .brand-mark {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; margin-bottom: 12px;
}
.footer-cols .brand-glyph { font-size: 34px }
.footer-cols .brand-name { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; color: var(--text) }
.footer-tag {
  color: var(--text-dim); font-size: 14px; line-height: 1.5;
  margin: 0 0 14px; max-width: 260px;
}
.footer-lbl {
  font-size: 11px; color: var(--text-faint); font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px;
}
.footer-cols > div a {
  display: block; padding: 4px 0;
  color: var(--text-dim); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color .18s, transform .18s;
}
.footer-cols > div a:not(.brand-mark):hover {
  color: var(--text);
  transform: translateX(3px);
}
.footer-social {
  display: flex; gap: 8px; margin-top: 10px;
}
.footer-social a {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--glass-strong); border: 1px solid var(--stroke);
  color: var(--text) !important; padding: 0 !important;
  transition: transform .18s, background .18s !important;
}
.footer-social a:hover { transform: translateY(-2px) !important; background: var(--accent-gradient); color: #fff !important }
.footer-bottom {
  max-width: 1180px; margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  color: var(--text-faint); font-size: 12.5px; font-weight: 500;
}
.footer-bottom a { color: var(--text-dim); text-decoration: none }
.footer-bottom a:hover { color: var(--text) }
.footer-bottom .heart { color: #ff6ec4 }
