/*
Theme Name: Clint IA
Theme URI: https://clint.cl
Author: Clint IA
Description: Tema oscuro a medida para Clint IA (cursos y membresía), inspirado en higgsfield.ai.
Version: 0.2.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: clint-ia
*/
:root {
  --bg: #030304;
  --bg-elev: #0f1113;
  --card: #131517;
  --card-2: #1c1e20;
  --border: #292b2c;
  --lime: #d1fe17;
  --lime-muted: #829b19;
  --magenta: #ff005b;
  --coral: #ff6568;
  --text: #f3f4f4;
  --muted: #9aa0a6;
  --dim: #6a7076;
  --radius: 22px;
  --nav-h: 72px;
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

/* Grain + ambient glow */
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(3, 3, 4, 0.78);
  border-bottom: 1px solid rgba(41, 43, 44, 0.85);
}
.nav-inner {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--lime);
  color: #111;
  font-weight: 900;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  letter-spacing: -0.06em;
  box-shadow: 0 0 18px rgba(209, 254, 23, 0.28);
}
.logo .ia { color: var(--lime); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 8px;
  flex: 1;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.925rem;
  border-radius: 999px;
  padding: 11px 18px;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn-lime {
  background: var(--lime);
  color: #11150a;
  box-shadow: 0 0 0 1px rgba(209, 254, 23, 0.15), 0 0 28px rgba(209, 254, 23, 0.28);
}
.btn-lime:hover { transform: translateY(-1px); box-shadow: 0 0 36px rgba(209, 254, 23, 0.42); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: #3c3f41; background: rgba(255,255,255,0.03); }
.btn-lg { padding: 14px 22px; font-size: 0.98rem; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
}

/* Hero */
.hero {
  position: relative;
  padding: 88px 0 100px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.hero-glow.a {
  width: 680px; height: 680px;
  top: -220px; left: 50%;
  transform: translateX(-62%);
  background: radial-gradient(circle, rgba(209,254,23,0.14) 0%, rgba(209,254,23,0.04) 34%, transparent 68%);
}
.hero-glow.b {
  width: 520px; height: 520px;
  top: 80px; right: -140px;
  background: radial-gradient(circle, rgba(255,0,91,0.16) 0%, rgba(255,101,104,0.07) 40%, transparent 70%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime-muted);
  border: 1px solid #2c3314;
  background: rgba(209, 254, 23, 0.06);
  padding: 6px 11px 6px 8px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}
h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.55rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin-bottom: 22px;
}
h1 .accent { color: var(--lime); }
.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-meta {
  display: flex;
  gap: 28px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  max-width: 480px;
}
.hero-meta b {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero-meta span { font-size: 0.78rem; color: var(--dim); }

/* Floating course stack */
.hero-visual { position: relative; height: 480px; }
.preview-card {
  position: absolute;
  width: 300px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0,0,0,0.45);
}
.preview-card .thumb {
  height: 168px;
  position: relative;
}
.preview-card .body { padding: 14px 16px 16px; }
.preview-card .kicker {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lime-muted);
  margin-bottom: 4px;
}
.preview-card h3 { font-size: 0.98rem; letter-spacing: -0.03em; font-weight: 700; }
.pc1 { top: 28px; left: 36px; transform: rotate(-6deg); z-index: 2; }
.pc2 { top: 86px; right: 0; transform: rotate(5deg); z-index: 3; }
.pc3 { bottom: 8px; left: 90px; transform: rotate(-2deg); z-index: 1; width: 260px; opacity: 0.92; }
.thumb-lock {
  position: absolute;
  top: 12px; right: 12px;
  display: flex; align-items: center; gap: 5px;
  background: rgba(3,3,4,0.72);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.play-dot {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(209,254,23,0.92);
  color: #111;
  display: grid; place-items: center;
  box-shadow: 0 0 24px rgba(209,254,23,0.35);
}

.g-sketches { background: linear-gradient(145deg, #1a2208 0%, #0c0d06 42%, #2a1608 100%); }
.g-ai { background: linear-gradient(145deg, #2a0614 0%, #0c0d10 50%, #1a1024 100%); }
.g-edit { background: linear-gradient(145deg, #201016 0%, #0b0c0e 48%, #3a1a16 100%); }
.g-tiktok { background: linear-gradient(160deg, #10180a 0%, #0a0c0d 45%, #14220c 100%); }
.g-humor { background: linear-gradient(145deg, #2c0812 0%, #0d0d0f 50%, #3a1520 100%); }
.g-hooks { background: linear-gradient(150deg, #16180a 0%, #0c0d10 40%, #2a0c18 100%); }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.7;
}
.g-sketches .orb { width: 140px; height: 140px; background: #d1fe17; top: -20px; left: -20px; opacity: 0.28; }
.g-ai .orb { width: 160px; height: 160px; background: #ff005b; right: -30px; top: 10px; opacity: 0.4; }
.g-edit .orb { width: 130px; height: 130px; background: #ff6568; bottom: -20px; left: 30px; opacity: 0.45; }
.g-tiktok .orb { width: 120px; height: 120px; background: #d1fe17; right: 20px; bottom: -10px; opacity: 0.3; }
.g-humor .orb { width: 150px; height: 150px; background: #ff005b; left: -20px; bottom: 0; opacity: 0.35; }
.g-hooks .orb { width: 110px; height: 110px; background: #d1fe17; left: 40px; top: -10px; opacity: 0.28; }
.g-hooks .orb.alt { width: 90px; height: 90px; background: #ff6568; right: -10px; bottom: 10px; opacity: 0.35; filter: blur(16px); }

/* Sections */
section { padding: 88px 0; }
.section-kicker {
  color: var(--lime-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.section-lead {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 40px;
  font-size: 1.05rem;
}
.example-note {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #c9c16a;
  background: rgba(209, 254, 23, 0.07);
  border: 1px solid #3a3a1c;
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

/* Courses */
#cursos { background: linear-gradient(180deg, transparent, rgba(15,17,19,0.6) 20%, rgba(15,17,19,0.6) 80%, transparent); }
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.course {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
}
.course:hover { border-color: #3a3d3e; transform: translateY(-2px); }
.course-thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}
.course-thumb .lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
}
.duration {
  position: absolute;
  left: 12px; bottom: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(3,3,4,0.75);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px 8px;
  border-radius: 6px;
}
.course-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.course-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 3px 7px;
  border-radius: 999px;
}
.course h3 {
  font-size: 1.08rem;
  letter-spacing: -0.03em;
  font-weight: 700;
  line-height: 1.25;
}
.course p { font-size: 0.88rem; color: var(--muted); }
.locked-row {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dim);
  font-size: 0.8rem;
  font-weight: 600;
}
.locked-row svg { color: var(--coral); }

/* Pricing */
#membresia { padding-top: 72px; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  gap: 20px;
  justify-content: start;
}
.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: #4a5a14;
  background: linear-gradient(180deg, #171c10 0%, #131517 40%);
  box-shadow: 0 0 0 1px rgba(209,254,23,0.08), 0 20px 50px rgba(0,0,0,0.25);
}
.plan-badge {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--lime);
  color: #11150a;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
}
.plan h3 { font-size: 1.15rem; letter-spacing: -0.03em; margin-bottom: 6px; }
.plan .plan-desc { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.price {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 4px;
}
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: -0.02em; }
.price-note { font-size: 0.8rem; color: var(--dim); margin-bottom: 22px; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; }
.plan li {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
  color: #d5d7d8;
}
.plan li svg { flex-shrink: 0; margin-top: 2px; color: var(--lime); }
.plan .btn { width: 100%; }

/* Members zone */
#zona { background: var(--bg-elev); border-block: 1px solid var(--border); }
.player-shell {
  background: #0a0b0c;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 480px;
}
.lesson-list {
  border-right: 1px solid var(--border);
  padding: 20px 14px;
  background: #0d0e10;
}
.lesson-list h3 {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 0 10px 12px;
}
.mod {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--lime-muted);
  padding: 10px 10px 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lesson {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}
.lesson.active { background: var(--card-2); color: var(--text); }
.lesson .lock-mini { color: var(--coral); flex-shrink: 0; }
.player {
  position: relative;
  min-height: 420px;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(209,254,23,0.08), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(255,0,91,0.12), transparent 50%),
    linear-gradient(160deg, #121416, #070808 70%);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 28px;
}
.player::after {
  content: "";
  position: absolute; inset: 0;
  backdrop-filter: blur(2px);
  background: rgba(3,3,4,0.28);
}
.lock-card {
  position: relative;
  z-index: 1;
  max-width: 420px;
}
.lock-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: rgba(255, 0, 91, 0.12);
  border: 1px solid rgba(255, 101, 104, 0.35);
  display: grid; place-items: center;
  color: var(--coral);
}
.lock-card h3 {
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.lock-card p { color: var(--muted); margin-bottom: 20px; font-size: 0.95rem; }

/* Testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.quote {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
}
.stars { color: var(--lime); letter-spacing: 2px; font-size: 0.85rem; margin-bottom: 12px; }
.quote p { font-size: 0.95rem; color: #d8dadb; margin-bottom: 18px; }
.who { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.8rem; color: #111;
}
.who strong { display: block; font-size: 0.88rem; }
.who span { font-size: 0.75rem; color: var(--dim); }

/* FAQ */
#faq .faq-list { display: grid; gap: 10px; max-width: 760px; }
details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 4px 18px;
}
summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  color: var(--lime);
  font-size: 1.25rem;
  font-weight: 500;
}
details[open] summary::after { content: "–"; }
details p {
  color: var(--muted);
  padding: 0 0 16px;
  font-size: 0.95rem;
}

/* Contact + footer */
#contacto { padding-bottom: 40px; }
.contact-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--card-2);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}
.social:hover { border-color: #3c3f41; }

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--dim);
  font-size: 0.85rem;
}
.foot a:hover { color: var(--text); }
.foot-links { display: flex; gap: 18px; }

.mock-flag {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  font-size: 0.7rem;
  font-weight: 600;
  color: #c9c16a;
  background: rgba(15,17,19,0.92);
  border: 1px solid #3a3a1c;
  padding: 6px 10px;
  border-radius: 8px;
}


.quotes { align-items: stretch; }
.quote { display: flex; flex-direction: column; }
.quote .who { margin-top: auto; }
.example-note { max-width: 100%; }

@media (max-width: 980px) {
  .hero-grid, .player-shell, .contact-box { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; max-width: 420px; margin: 8px auto 0; }
  .course-grid, .quotes { grid-template-columns: 1fr 1fr; }
  .lesson-list { border-right: 0; border-bottom: 1px solid var(--border); }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .wrap, .nav-inner { width: min(var(--max), calc(100% - 32px)); }
  .nav-links { display: none; }
  .nav-cta { gap: 4px; }
  .nav-cta .btn-ghost {
    display: inline-flex;
    border-color: transparent;
    padding: 8px 10px;
    font-size: 0.82rem;
    color: var(--muted);
  }
  .nav-cta .btn-lime { padding: 10px 14px; font-size: 0.82rem; }
  .logo { font-size: 1.05rem; }
  .hero { padding: 52px 0 64px; }
  h1 { font-size: 2.35rem; }
  .lede { font-size: 1.02rem; }
  .hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: none;
  }
  .hero-meta b { font-size: 0.95rem; white-space: nowrap; }
  .hero-meta span { font-size: 0.7rem; line-height: 1.35; }
  .hero-visual { height: auto; margin-top: 8px; width: 100%; max-width: none; }
  .preview-card { position: relative; width: 100%; transform: none; box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
  .preview-card .thumb { height: 180px; }
  .pc1 { top: auto; left: auto; }
  .pc2, .pc3 { display: none; }
  section { padding: 64px 0; }
  .course-grid, .quotes { grid-template-columns: 1fr; }
  .contact-box, .plan { padding: 22px; }
  .price { font-size: 2rem; }
  .lesson-list { display: grid; grid-template-columns: 1fr; }
  .player { min-height: 340px; }
  .mock-flag { left: 16px; right: 16px; text-align: center; }
}

/* ---------- WordPress: páginas internas, formularios y plugins ---------- */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
.page-shell { padding: 72px 0 96px; position: relative; }
.page-shell .wrap { max-width: 860px; }
.page-head { margin-bottom: 28px; }
.page-head .eyebrow { margin-bottom: 14px; }
.page-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; }
.page-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.entry-content { color: var(--text); font-size: 1.02rem; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { letter-spacing: -0.03em; line-height: 1.2; margin-top: 1.6em; }
.entry-content h2 { font-size: 1.6rem; } .entry-content h3 { font-size: 1.25rem; }
.entry-content p, .entry-content li { color: #d6d9dc; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img, .entry-content iframe, .entry-content video { max-width: 100%; height: auto; border-radius: 14px; }
.entry-content iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 1px solid var(--border); }
.entry-content blockquote { border-left: 3px solid var(--lime); padding-left: 16px; color: var(--muted); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--card-2); }
.entry-content hr { border: 0; border-top: 1px solid var(--border); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=url], input[type=search], select, textarea {
  width: 100%; max-width: 100%; background: var(--bg-elev); color: var(--text); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 0.95rem; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--lime-muted); box-shadow: 0 0 0 3px rgba(209,254,23,0.12); }
label { font-size: 0.9rem; color: var(--muted); font-weight: 500; }
input[type=submit], button[type=submit], .wp-block-button__link, .button, .pmpro_btn, .mepr-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--lime); color: #0b0c0d !important;
  font-weight: 700; border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer; font: inherit; font-weight: 700; text-decoration: none !important;
}
input[type=submit]:hover, button[type=submit]:hover, .wp-block-button__link:hover, .button:hover { filter: brightness(1.05); }
.post-list { display: grid; gap: 18px; }
.post-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.post-item h2 { font-size: 1.35rem; letter-spacing: -0.03em; }
.post-item h2 a:hover { color: var(--lime); }
.post-item .meta { color: var(--dim); font-size: 0.82rem; margin-top: 6px; }
.post-item .excerpt { color: var(--muted); margin-top: 10px; }
.pagination-wrap { margin-top: 28px; display: flex; gap: 10px; justify-content: center; }
.pagination-wrap a, .pagination-wrap span { border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; font-size: 0.9rem; }
.pagination-wrap .current { background: var(--lime); color: #111; border-color: var(--lime); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
@media (max-width: 720px) { .page-card { padding: 22px; } .page-shell { padding: 48px 0 72px; } }

/* ---------- v0.2: Tutoriales, chips, páginas de catálogo ---------- */
.nav-links a.is-current { color: var(--text); }
.section-more { margin-top: 28px; display: flex; justify-content: center; }
.tutorials { padding-top: 24px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 24px; }
.chip {
  font-size: 0.85rem; font-weight: 600; color: var(--muted);
  border: 1px solid var(--border); background: var(--bg-elev);
  padding: 8px 16px; border-radius: 999px; transition: all 0.15s;
}
.chip:hover { color: var(--text); border-color: #3a3d3e; }
.chip.is-active { background: var(--lime); color: #0b0c0d; border-color: var(--lime); }
.tut-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tut {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color 0.15s, transform 0.15s;
}
.tut[hidden] { display: none; }
.tut:hover { border-color: #3a3d3e; transform: translateY(-2px); }
.tut-thumb { aspect-ratio: 16 / 10; position: relative; overflow: hidden; }
.tut-thumb .lines {
  position: absolute; inset: 0; opacity: 0.5; background-size: 24px 24px;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
}
.tut-thumb .orb { transform: scale(0.8); }
.tut-thumb .play-dot { width: 40px; height: 40px; z-index: 2; }
.tut-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,3,4,0.15), rgba(3,3,4,0.55)); backdrop-filter: blur(1.5px); z-index: 1; }
.tut-thumb .thumb-lock, .tut-thumb .duration { z-index: 3; }
.tut.is-locked .play-dot { background: rgba(209,254,23,0.75); }
.tut-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.tut-body h3 { font-size: 0.98rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.25; }
.tag-cat { color: var(--lime); border-color: rgba(209,254,23,0.35); }
.listing-page section:first-child { padding-top: 64px; }
.page-section-title { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.cta-band { padding-top: 24px; }
.cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: radial-gradient(600px 200px at 0% 0%, rgba(209,254,23,0.10), transparent), var(--card);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 36px;
}
.cta-box .section-lead { margin-bottom: 0; }
@media (max-width: 980px) { .tut-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) {
  .tut-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tut-body { padding: 10px 10px 12px; }
  .tut-body h3 { font-size: 0.88rem; }
  .tut-thumb .thumb-lock { top: 8px; right: 8px; font-size: 0.6rem; padding: 4px 6px; }
  .tut-thumb .duration { left: 8px; bottom: 8px; font-size: 0.66rem; }
  .chip-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .chip { flex-shrink: 0; }
  .cta-box { padding: 22px; }
}
@media (max-width: 720px) {
  .tut-body .tag:not(.tag-cat) { display: none; }
  .tut-body .tag { white-space: nowrap; }
}
