:root {
    --accent-h: 55;
    --accent: oklch(0.7 0.16 var(--accent-h));
    --accent-strong: oklch(0.62 0.17 var(--accent-h));
    --accent-soft: oklch(0.94 0.05 var(--accent-h));
    --accent-ink: oklch(0.32 0.09 var(--accent-h));

    --bg: oklch(0.98 0.006 75);
    --bg-2: oklch(0.965 0.008 75);
    --surface: oklch(0.995 0.003 75);
    --ink: oklch(0.23 0.012 60);
    --ink-soft: oklch(0.46 0.012 60);
    --ink-faint: oklch(0.62 0.012 60);
    --line: oklch(0.9 0.006 70);
    --line-soft: oklch(0.94 0.005 70);
    --shadow: 0 1px 2px oklch(0.4 0.02 60 / 0.04), 0 8px 24px oklch(0.4 0.02 60 / 0.06);
    --shadow-lg: 0 2px 4px oklch(0.4 0.02 60 / 0.05), 0 24px 60px oklch(0.4 0.02 60 / 0.12);

    --maxw: 1200px;
    --r: 16px;
    --r-sm: 10px;
    --font-display: "Bricolage Grotesque", system-ui, sans-serif;
    --font-body: "Hanken Grotesk", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, monospace;
  }
  [data-theme="dark"] {
    --bg: oklch(0.19 0.012 70);
    --bg-2: oklch(0.22 0.013 70);
    --surface: oklch(0.245 0.014 70);
    --ink: oklch(0.96 0.006 80);
    --ink-soft: oklch(0.78 0.012 80);
    --ink-faint: oklch(0.62 0.012 80);
    --line: oklch(0.32 0.012 70);
    --line-soft: oklch(0.28 0.012 70);
    --accent-soft: oklch(0.3 0.06 var(--accent-h));
    --accent-ink: oklch(0.85 0.1 var(--accent-h));
    --shadow: 0 1px 2px oklch(0 0 0 / 0.3), 0 10px 30px oklch(0 0 0 / 0.35);
    --shadow-lg: 0 2px 4px oklch(0 0 0 / 0.3), 0 30px 70px oklch(0 0 0 / 0.5);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    transition: background .35s ease, color .35s ease;
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
  .eyebrow {
    font-family: var(--font-mono);
    font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent-ink); display: inline-flex; align-items: center; gap: 8px;
  }
  .eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--accent); display: inline-block; }
  h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--font-body); font-weight: 600; font-size: 15px;
    padding: 13px 22px; border-radius: 999px; cursor: pointer;
    border: 1px solid transparent; transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
    white-space: nowrap;
  }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background: var(--accent); color: oklch(0.2 0.04 var(--accent-h)); box-shadow: 0 6px 18px oklch(0.7 0.16 var(--accent-h) / 0.35); }
  .btn-primary:hover { background: var(--accent-strong); }
  .btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
  .btn-ghost:hover { border-color: var(--ink-faint); background: var(--bg-2); }
  .btn svg { width: 17px; height: 17px; }

  /* Header */
  header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in oklab, var(--bg) 82%, transparent);
    backdrop-filter: blur(14px) saturate(1.4);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav { display: flex; align-items: center; gap: 28px; height: 72px; }
  .brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
  .brand .mark {
    width: 34px; height: 34px; border-radius: 9px; overflow: hidden; flex: 0 0 auto;
    box-shadow: 0 0 0 1px var(--line);
  }
  .brand .mark img { width: 100%; height: 100%; object-fit: cover; }
  .brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; color: var(--ink-faint); letter-spacing: 0; margin-top: 1px; }
  nav .links { display: flex; gap: 4px; margin-left: auto; }
  nav .links a {
    font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
    padding: 8px 13px; border-radius: 8px; transition: color .15s, background .15s;
  }
  nav .links a:hover { color: var(--ink); background: var(--bg-2); }
  nav .nav-cta { margin-left: 6px; }
  .menu-btn { display: none; }

  /* Hero */
  .hero { padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 5vw, 64px); }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
  .hero h1 { font-size: clamp(38px, 5.4vw, 68px); font-weight: 800; }
  .hero h1 .hl { color: var(--accent-ink); }
  .hero p.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-soft); margin-top: 22px; max-width: 40ch; }
  .hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
  .hero .micro { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-faint); }
  .hero .micro .dot { width: 7px; height: 7px; border-radius: 50%; background: oklch(0.7 0.17 145); box-shadow: 0 0 0 4px oklch(0.7 0.17 145 / 0.18); }

  /* Hero device panel */
  .panel {
    background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
    box-shadow: var(--shadow-lg); padding: 18px; position: relative;
  }
  .panel-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 14px; }
  .panel-head .ttl { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
  .panel-head .meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); }
  .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
  .tile { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px; }
  .tile .row { display: flex; align-items: center; justify-content: space-between; }
  .tile .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); box-shadow: 0 0 0 1px var(--line-soft); }
  .tile .ic svg { width: 18px; height: 18px; stroke: var(--ink-soft); }
  .tile .state { font-family: var(--font-mono); font-size: 10.5px; padding: 3px 8px; border-radius: 999px; }
  .state.on { color: oklch(0.45 0.12 145); background: oklch(0.92 0.07 145); }
  .state.off { color: var(--ink-faint); background: var(--bg); border: 1px solid var(--line-soft); }
  [data-theme="dark"] .state.on { color: oklch(0.85 0.12 145); background: oklch(0.35 0.08 145); }
  .tile .label { font-size: 13.5px; font-weight: 600; margin-top: 13px; }
  .tile .sub { font-size: 12px; color: var(--ink-faint); }
  .tile.wide { grid-column: span 2; display: flex; align-items: center; gap: 13px; }
  .tile.wide .bars { display: flex; gap: 3px; align-items: flex-end; height: 26px; margin-left: auto; }
  .tile.wide .bars span { width: 4px; background: var(--accent); border-radius: 2px; opacity: 0.85; }
  .panel .float {
    position: absolute; left: -16px; bottom: 26px; background: var(--surface);
    border: 1px solid var(--line); border-radius: 13px; padding: 11px 14px; box-shadow: var(--shadow);
    display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 500;
  }
  .panel .float .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
  @keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 oklch(0.7 0.16 var(--accent-h) / 0.5);} 50% { box-shadow: 0 0 0 7px oklch(0.7 0.16 var(--accent-h) / 0);} }

  /* Logos / compat strip */
  .compat { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-2); }
  .compat .wrap { display: flex; align-items: center; gap: 28px; padding: 22px 28px; flex-wrap: wrap; }
  .compat .lbl { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }
  .compat .chips { display: flex; flex-wrap: wrap; gap: 9px; }
  .chip { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft); }

  /* Section scaffolding */
  section.block { padding: clamp(32px, 4.5vw, 64px) 0; }
  .sec-head { max-width: 620px; }
  .sec-head h2 { font-size: clamp(28px, 3.6vw, 44px); margin-top: 12px; }
  .sec-head p { color: var(--ink-soft); font-size: 17px; margin-top: 12px; }

  /* Consultoría steps */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
  .step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
  .step .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent-ink); }
  .step .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; margin: 14px 0 16px; }
  .step .ic svg { width: 23px; height: 23px; stroke: var(--accent-ink); }
  .step h3 { font-size: 19px; }
  .step p { color: var(--ink-soft); font-size: 14.5px; margin-top: 9px; }

  .offer { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; margin-top: 30px; align-items: center; }
  .offer-list { list-style: none; display: grid; gap: 14px; }
  .offer-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; }
  .offer-list .tick { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; margin-top: 1px; }
  .offer-list .tick svg { width: 13px; height: 13px; stroke: var(--accent-ink); stroke-width: 3; }
  .offer-card { background: linear-gradient(160deg, var(--accent-soft), var(--surface)); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; box-shadow: var(--shadow); }
  .offer-card .price { font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -0.02em; }
  .offer-card .price small { font-size: 16px; font-weight: 500; color: var(--ink-soft); font-family: var(--font-body); }
  .offer-card .desc { color: var(--ink-soft); margin: 6px 0 22px; font-size: 14.5px; }

  /* Podcast band */
  .podcast { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
  .podcast-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
  .cover { aspect-ratio: 1; border-radius: 20px; background: linear-gradient(150deg, var(--accent), oklch(0.55 0.16 calc(var(--accent-h) + 40))); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; justify-content: space-between; padding: 28px; color: oklch(0.18 0.03 var(--accent-h)); }
  .cover .wave { display: flex; gap: 4px; align-items: flex-end; height: 38px; }
  .cover .wave span { width: 5px; background: oklch(0.2 0.04 var(--accent-h) / 0.55); border-radius: 3px; }
  .cover .pc-ttl { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.05; }
  .cover .pc-sub { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; }
  .pod-platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

  /* Articles */
  .art-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
  .grid-art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
  .card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
    box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column;
  }
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-2); position: relative; }
  .card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
  .thumb.ph {
    background:
      repeating-linear-gradient(135deg, var(--bg-2) 0 11px, var(--surface) 11px 22px);
    display: grid; place-items: center;
  }
  .thumb.ph img { display: none; }
  .thumb.ph::after {
    content: attr(data-ph); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
    color: var(--ink-faint); background: var(--bg); border: 1px solid var(--line);
    padding: 6px 12px; border-radius: 999px;
  }
  .card:hover .thumb img { transform: scale(1.04); }
  .card .body { padding: 18px 19px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
  .card .date { font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.05em; }
  .card h3 { font-size: 18px; line-height: 1.18; }
  .card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
  .card .more { margin-top: auto; padding-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 6px; }
  .card .more svg { width: 14px; height: 14px; transition: transform .2s; }
  .card:hover .more svg { transform: translateX(3px); }

  /* Blog destacado (editorial) */
  .blog-feature { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; margin-top: 44px; align-items: stretch; }
  .feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
  .feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .feature .thumb { aspect-ratio: 16/9; }
  .feature .body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
  .feature .tag { align-self: flex-start; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-ink); background: var(--accent-soft); padding: 5px 11px; border-radius: 999px; }
  .feature h3 { font-size: clamp(22px, 2.5vw, 31px); line-height: 1.08; }
  .feature p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.5; max-width: 54ch; }
  .feature .more { margin-top: auto; padding-top: 6px; font-size: 14.5px; font-weight: 600; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 6px; }
  .feature .more svg { width: 15px; height: 15px; transition: transform .2s; }
  .feature:hover .more svg { transform: translateX(3px); }
  .feature-list { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
  .flist-item { display: flex; gap: 15px; align-items: center; padding: 15px 18px; border-bottom: 1px solid var(--line-soft); transition: background .15s; flex: 1; }
  .feature-list .flist-item:last-child { border-bottom: 0; }
  .flist-item:hover { background: var(--bg-2); }
  .flist-item .ft { width: 82px; height: 62px; flex: 0 0 auto; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
  .flist-item .ft img { width: 100%; height: 100%; object-fit: cover; }
  .flist-item .date { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.05em; }
  .flist-item h4 { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; line-height: 1.2; letter-spacing: -0.01em; margin-top: 3px; }
  .flist-item:hover h4 { color: var(--accent-ink); }
  .flist-item .flist-excerpt { font-size: 13px; line-height: 1.4; color: var(--ink-soft); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .flist-item .ft { align-self: flex-start; }
  .flist-item { align-items: flex-start; }

  /* Community CTA */
  .community .wrap { }
  .cta-band {
    background: var(--ink); color: var(--bg);
    border-radius: 26px; padding: clamp(40px, 6vw, 72px); position: relative; overflow: hidden;
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: center;
  }
  [data-theme="dark"] .cta-band { background: var(--surface); border: 1px solid var(--line); }
  .cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, oklch(0.7 0.16 var(--accent-h) / 0.55), transparent 70%); }
  .cta-band h2 { font-size: clamp(28px, 3.6vw, 42px); position: relative; }
  .cta-band p { color: oklch(0.85 0.01 80); margin-top: 14px; font-size: 16.5px; position: relative; max-width: 46ch; }
  [data-theme="dark"] .cta-band p { color: var(--ink-soft); }
  .cta-band .btn-primary { color: oklch(0.2 0.04 var(--accent-h)); }
  .cta-band .actions { display: flex; flex-direction: column; gap: 12px; position: relative; }
  .cta-band .stat-row { display: flex; gap: 28px; margin-top: 26px; position: relative; }
  .cta-band .stat .n { font-family: var(--font-display); font-weight: 800; font-size: 30px; }
  .cta-band .stat .l { font-size: 12.5px; color: oklch(0.8 0.01 80); }
  [data-theme="dark"] .cta-band .stat .l { color: var(--ink-faint); }

  /* Footer */
  footer { padding: 64px 0 40px; border-top: 1px solid var(--line-soft); }
  .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
  /* Footer brand: la regla genérica `.foot-grid a { display: block }` (para los
     enlaces de Navegación/Escúchame/Contacto) sobrescribe el flex de .brand,
     así que aquí lo restauramos y constreñimos el logo. */
  .foot-grid a.brand { display: inline-flex; align-items: center; gap: 11px; padding: 0; color: var(--ink); }
  .foot-grid a.brand:hover { color: var(--ink); }
  .foot-grid .brand .mark { width: 40px !important; height: 40px !important; border-radius: 10px; overflow: hidden; flex: 0 0 auto; display: inline-block; }
  .foot-grid .brand .mark img { width: 100% !important; height: 100% !important; max-width: 100% !important; object-fit: contain; background: #fff; padding: 3px; box-sizing: border-box; }
  .foot-grid h4 { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); margin-bottom: 14px; font-weight: 500; }
  .foot-grid a { display: block; color: var(--ink-soft); font-size: 14.5px; padding: 5px 0; }
  .foot-grid a:hover { color: var(--accent-ink); }
  .foot-blurb { color: var(--ink-soft); font-size: 14px; margin-top: 14px; max-width: 32ch; }
  .foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--ink-faint); }

  @media (max-width: 920px) {
    .hero-grid, .offer, .podcast-grid, .cta-band, .blog-feature { grid-template-columns: 1fr; }
    .steps, .grid-art { grid-template-columns: 1fr 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .panel { order: -1; max-width: 460px; }
    nav .links { display: none; }
    .menu-btn { display: inline-flex; }
    .cta-band .stat-row { flex-wrap: wrap; }
  }
  @media (max-width: 600px) {
    .wrap { padding: 0 18px; }
    .steps, .grid-art, .foot-grid { grid-template-columns: 1fr; }
    .tiles { grid-template-columns: 1fr 1fr; }
    .hero .cta-row .btn { flex: 1 1 auto; justify-content: center; }
    .compat .wrap { gap: 14px; }
  }


  /* ===== Plantillas adicionales del tema ===== */
  /* Cabecera de página interior */
  .page-hero { padding: clamp(28px, 3.2vw, 48px) 0 clamp(20px, 2.2vw, 32px); border-bottom: 1px solid var(--line-soft); }
  .page-hero.tinted { background: var(--bg-2); }
  .page-hero h1 { font-size: clamp(30px, 3.8vw, 48px); font-weight: 800; max-width: 22ch; }
  .page-hero p.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-soft); margin-top: 14px; max-width: none; }
  .breadcrumb { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); letter-spacing: 0.04em; display: flex; gap: 8px; align-items: center; margin-bottom: 18px; }
  .breadcrumb a:hover { color: var(--accent-ink); }
  .breadcrumb span.sep { opacity: 0.5; }

  /* Archivo del blog (listado) */
  .archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; }
  .filter { font-size: 13.5px; font-weight: 600; padding: 8px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft); cursor: pointer; transition: all .15s; }
  .filter:hover { border-color: var(--ink-faint); color: var(--ink); }
  .filter.active { background: var(--accent); border-color: transparent; color: oklch(0.2 0.04 var(--accent-h)); }
  .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 52px; }
  .pagination a { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; color: var(--ink-soft); padding: 0 12px; transition: all .15s; }
  .pagination a:hover { border-color: var(--ink-faint); color: var(--ink); }
  .pagination a.active { background: var(--accent); border-color: transparent; color: oklch(0.2 0.04 var(--accent-h)); }

  /* Entrada individual */
  .article-wrap { max-width: 760px; margin: 0 auto; }
  .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; font-size: 14px; color: var(--ink-faint); }
  .article-meta .author { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink); }
  .article-meta .author .av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
  .article-meta .pill { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-ink); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
  .article-cover { aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; margin: 30px 0; box-shadow: var(--shadow); background: var(--bg-2); }
  .article-cover img { width: 100%; height: 100%; object-fit: cover; }
  .prose { font-size: 17.5px; line-height: 1.72; color: var(--ink); }
  .prose > * + * { margin-top: 1.3em; }
  .prose h2 { font-family: var(--font-display); font-size: 27px; font-weight: 700; letter-spacing: -0.01em; margin-top: 1.7em; }
  .prose h3 { font-family: var(--font-display); font-size: 21px; font-weight: 700; margin-top: 1.5em; }
  .prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
  .prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 0.5em; }
  .prose blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 22px; color: var(--ink-soft); font-style: italic; }
  .prose code { font-family: var(--font-mono); font-size: 0.88em; background: var(--bg-2); border: 1px solid var(--line-soft); padding: 2px 7px; border-radius: 6px; }
  .prose pre { background: var(--ink); color: var(--bg); padding: 20px 22px; border-radius: var(--r-sm); overflow-x: auto; font-family: var(--font-mono); font-size: 14px; line-height: 1.6; }
  .prose pre code { background: none; border: 0; padding: 0; color: inherit; }
  .prose img { border-radius: var(--r-sm); }
  .prose figure figcaption { font-size: 13.5px; color: var(--ink-faint); text-align: center; margin-top: 8px; }
  .share-row { display: flex; align-items: center; gap: 12px; margin: 40px 0; padding: 20px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
  .share-row .lbl { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); }
  .share-row .sbtn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; transition: all .15s; }
  .share-row .sbtn:hover { border-color: var(--accent); background: var(--accent-soft); }
  .share-row .sbtn svg { width: 17px; height: 17px; stroke: var(--ink-soft); fill: none; }
  .author-box { display: flex; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); margin-top: 40px; }
  .author-box .av { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; box-shadow: 0 0 0 1px var(--line); }
  .author-box h4 { font-family: var(--font-display); font-size: 18px; }
  .author-box p { color: var(--ink-soft); font-size: 14.5px; margin-top: 4px; }
  .related-head { margin-top: 64px; }

  /* Página de contacto */
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
  .form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; box-shadow: var(--shadow); }
  .field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
  .field label { font-size: 13.5px; font-weight: 600; }
  .field input, .field textarea, .field select { font-family: var(--font-body); font-size: 15px; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); color: var(--ink); transition: border-color .15s; }
  .field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
  .field textarea { resize: vertical; min-height: 120px; }
  .contact-aside { display: grid; gap: 16px; }
  .contact-item { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow); }
  .contact-item .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); display: grid; place-items: center; flex: 0 0 auto; }
  .contact-item .ic svg { width: 21px; height: 21px; stroke: var(--accent-ink); fill: none; }
  .contact-item h4 { font-family: var(--font-display); font-size: 16px; }
  .contact-item p, .contact-item a { color: var(--ink-soft); font-size: 14px; }
  .contact-item a:hover { color: var(--accent-ink); }

  @media (max-width: 920px) {
    .archive-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-intro { grid-template-columns: 1fr; }
  }
  @media (max-width: 600px) {
    .archive-grid { grid-template-columns: 1fr; }
  }

  /* ===== 404 ===== */
  .error-wrap { text-align: center; max-width: 600px; margin: 0 auto; padding: clamp(60px, 10vw, 130px) 0; }
  .error-wrap .code { font-family: var(--font-display); font-weight: 800; font-size: clamp(96px, 18vw, 200px); line-height: 0.9; letter-spacing: -0.04em; color: var(--accent-ink); }
  .error-wrap h1 { font-size: clamp(28px, 4vw, 40px); margin-top: 8px; }
  .error-wrap p { color: var(--ink-soft); font-size: 17px; margin-top: 16px; }
  .error-wrap .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

  /* ===== Buscador ===== */
  .search-form { display: flex; gap: 10px; margin-top: 24px; max-width: 560px; }
  .search-form input { flex: 1; font-family: var(--font-body); font-size: 16px; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: border-color .15s; }
  .search-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
  .search-summary { font-size: 15px; color: var(--ink-soft); margin-bottom: 28px; }
  .search-summary strong { color: var(--ink); }
  .no-results { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 40px; text-align: center; box-shadow: var(--shadow); }
  .no-results h3 { font-family: var(--font-display); font-size: 21px; }
  .no-results p { color: var(--ink-soft); margin-top: 8px; }

  /* ===== Sobre mí ===== */
  .about-intro { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
  .about-portrait { aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; background: linear-gradient(160deg, var(--accent-soft), var(--surface)); box-shadow: var(--shadow-lg); display: grid; place-items: center; position: relative; }
  .about-portrait img { width: 100%; height: 100%; object-fit: cover; }
  .about-portrait .ph-label { font-family: var(--font-mono); font-size: 12px; color: var(--accent-ink); background: var(--surface); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; }
  .about-intro .prose { font-size: 17px; }
  .values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
  .value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
  .value .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 16px; }
  .value .ic svg { width: 23px; height: 23px; stroke: var(--accent-ink); fill: none; }
  .value h3 { font-size: 18px; }
  .value p { color: var(--ink-soft); font-size: 14.5px; margin-top: 8px; }
  .timeline { display: grid; gap: 0; margin-top: 40px; max-width: 760px; }
  .tl-item { display: grid; grid-template-columns: 100px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
  .timeline .tl-item:last-child { border-bottom: 0; }
  .tl-item .yr { font-family: var(--font-mono); font-size: 14px; color: var(--accent-ink); font-weight: 500; }
  .tl-item h4 { font-family: var(--font-display); font-size: 18px; }
  .tl-item p { color: var(--ink-soft); font-size: 14.5px; margin-top: 5px; }

  @media (max-width: 600px) {
    .values { grid-template-columns: 1fr; }
    .tl-item { grid-template-columns: 70px 1fr; gap: 14px; }
  }

  /* ===========================================================
   * Bloques de botón de Gutenberg / contenido de página.
   * Mapea .wp-block-button__link al estilo .btn .btn-primary
   * para que las tarjetas de precio y CTAs editables (Reservar
   * sesión, Pedir presupuesto, Empezar suscripción, etc.) se
   * vean igual que los botones nativos del tema.
   * =========================================================== */
  .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; align-items: center; }
  .wp-block-button { margin: 0; }

  .wp-block-button__link,
  .wp-block-button .wp-block-button__link,
  .wp-element-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 14px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.1;
    letter-spacing: -0.005em;
    border: 1px solid transparent;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
    background: var(--accent) !important;
    color: oklch(0.2 0.04 var(--accent-h)) !important;
    box-shadow: 0 6px 18px oklch(0.7 0.16 var(--accent-h) / 0.35);
  }
  .wp-block-button__link:hover,
  .wp-element-button:hover { background: var(--accent-strong) !important; color: oklch(0.2 0.04 var(--accent-h)) !important; }
  .wp-block-button__link:active,
  .wp-element-button:active { transform: translateY(1px); }
  .wp-block-button__link svg,
  .wp-element-button svg { width: 17px; height: 17px; }

  /* Variante "outline" del bloque botón → look ghost del tema. */
  .wp-block-button.is-style-outline .wp-block-button__link,
  .wp-block-button.is-style-outline .wp-element-button {
    background: transparent !important;
    border-color: var(--line);
    color: var(--ink) !important;
    box-shadow: none;
  }
  .wp-block-button.is-style-outline .wp-block-button__link:hover,
  .wp-block-button.is-style-outline .wp-element-button:hover {
    background: var(--bg-2) !important;
    border-color: var(--ink-faint);
    color: var(--ink) !important;
  }

  /* Sin subrayado dentro de cualquier botón, vivan o no en .prose. */
  .btn,
  .prose .wp-block-button__link,
  .prose a.btn { text-decoration: none; }

  /* Tarjetas de precio típicas (Gutenberg group / cover / column con un botón dentro). */
  .prose .wp-block-group,
  .prose .wp-block-columns { margin: 18px 0; }
  .prose .wp-block-button { margin: 14px 0 0; }
