
  @font-face {
    font-family: 'Blacker';
    src: url('../fonts/Blacker-ExtraBold.woff') format('woff');
    font-weight: 800; font-style: normal; font-display: swap;
  }
  @font-face {
    font-family: 'Blacker';
    src: url('../fonts/Blacker-ExtraBold-Italic.woff') format('woff');
    font-weight: 800; font-style: italic; font-display: swap;
  }
  @font-face {
    font-family: 'Blacker';
    src: url('../fonts/Blacker-Medium.woff') format('woff');
    font-weight: 500; font-style: normal; font-display: swap;
  }

  :root {
    --ink: #0f0e0d;
    --paper: #f5f2ed;
    --slate-deep: #1a2545;
    --slate: #2c3e6b;
    --slate-mid: #3a5080;
    --slate-light: #4a6494;
    --slate-muted: #8fa4c8;
    --violet: #6b5bce;
    --violet-light: #a394e8;
    --violet-deep: #3d2f7a;
    --mid: #7a7570;
    --serif: 'Blacker', Georgia, serif;
    --sans: 'DM Sans', sans-serif;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--sans); color: var(--ink); overflow-x: hidden; cursor: none; }

  /* GRAIN */
  body::before {
    content: '';
    position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
  }

  .cursor { position: fixed; width: 8px; height: 8px; background: var(--violet); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: transform 0.1s ease; }
  .cursor-ring { position: fixed; width: 32px; height: 32px; border: 1px solid var(--violet); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: width 0.3s, height 0.3s, opacity 0.3s; opacity: 0.4; }

  /* NAV */
  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; padding: 1.4rem 4rem; display: flex; justify-content: space-between; align-items: center; }
  .nav-bg { position: absolute; inset: 0; background: rgba(26,37,69,0.78); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(163,148,232,0.07); }
  .nav-logo { position: relative; z-index: 1; }
  .nav-logo img { height: 20px; display: block; }
  .nav-links { position: relative; z-index: 1; display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a { font-size: 0.72rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,242,237,0.5); text-decoration: none; transition: color 0.2s; }
  .nav-links a:hover { color: var(--violet-light); }

  /* =====================
     HERO — tipografía pura, título visible completo
  ===================== */
  #inicio {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(5rem, 12vh, 9rem) 4rem 3rem;
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(ellipse 65% 55% at 8% 45%, rgba(107,91,206,0.22) 0%, transparent 55%),
      radial-gradient(ellipse 45% 65% at 92% 65%, rgba(58,80,128,0.3) 0%, transparent 50%),
      linear-gradient(148deg, #0d1524 0%, #1a2545 40%, #1e1a38 72%, #1a2545 100%);
  }

  /* .hero-top eliminado — eyebrow ahora en flujo */
  .hero-eyebrow {
    font-size: 0.68rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(163,148,232,0.55); line-height: 1.7;
    margin-bottom: 1.5rem;
  }


  /* título: tamaño fluido, interlinea ajustada al tamaño */
  .hero-display {
    font-family: var(--serif);
    font-weight: 800;
    font-size: clamp(3rem, 7.5vw, 10rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--paper);
    margin-bottom: 1rem;
  }
  .hero-display .line-accent { color: var(--violet-light); }
  .hero-display .line-italic { font-style: italic; }
  .hero-display .line-outline {
    -webkit-text-stroke: 1px rgba(245,242,237,0.28);
    color: transparent;
  }

  .hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(245,242,237,0.07);
    gap: 4rem;
  }
  .hero-sub {
    font-size: 0.88rem; font-weight: 300; line-height: 1.8;
    color: rgba(245,242,237,0.72); max-width: 40ch;
  }
  .hero-cta {
    display: inline-flex; align-items: center; gap: 1rem; flex-shrink: 0;
    font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--paper); text-decoration: none;
    border: 1px solid rgba(163,148,232,0.3); padding: 0.8rem 1.6rem;
    transition: background 0.25s, border-color 0.25s, gap 0.3s;
  }
  .hero-cta:hover { background: rgba(107,91,206,0.2); border-color: var(--violet-light); gap: 1.4rem; }
  .hero-cta::after { content: '→'; color: var(--violet-light); }

  /* SECTION LABEL */
  .section-label { font-size: 0.67rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--violet); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 1rem; }
  .section-label::after { content: ''; display: block; width: 2rem; height: 1px; background: var(--violet); }
  .section-label.light { color: rgba(163,148,232,0.5); }
  .section-label.light::after { background: rgba(163,148,232,0.3); }
  .section-label.mid { color: var(--slate-muted); }
  .section-label.mid::after { background: var(--slate-muted); }

  /* =====================
     SOBRE MÍ
     fondo: azul muy apagado, casi slate desaturado
  ===================== */
  #sobre {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 85vh;
    overflow: hidden;
    background:
      radial-gradient(ellipse 60% 70% at 95% 15%, rgba(74,100,148,0.18) 0%, transparent 55%),
      linear-gradient(165deg, #eef0f6 0%, #e8eaf2 55%, #dfe2ee 100%);
  }
  .sobre-foto {
    position: relative;
    overflow: hidden;
  }
  .sobre-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
  }
  .sobre-content {
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  /* section label goes inside content column */
  #sobre .section-label { margin-bottom: 2rem; }
  .sobre-content h2 {
    font-family: var(--serif); font-weight: 800;
    font-size: clamp(2.8rem, 4.5vw, 5rem);
    line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.75rem;
    color: var(--slate-deep);
  }
  .sobre-content h2 em { font-style: italic; color: var(--violet); }
  .sobre-text p { font-size: 0.95rem; font-weight: 300; line-height: 1.85; color: #3e4358; margin-bottom: 1.2rem; }

  /* =====================
     SERVICIOS
     fondo: slate profundo con degradé hacia azul medio
  ===================== */
  #servicios {
    padding: 5rem 4rem; color: var(--paper);
    background:
      radial-gradient(ellipse 70% 45% at 100% 5%, rgba(107,91,206,0.16) 0%, transparent 48%),
      radial-gradient(ellipse 50% 60% at 0% 95%, rgba(74,100,148,0.2) 0%, transparent 48%),
      linear-gradient(148deg, #1a2545 0%, #243260 45%, #1e1a38 100%);
  }
  .servicios-header { margin-bottom: 4rem; }
  .servicios-header h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(2.8rem, 4.5vw, 5.5rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
  .servicios-header h2 em { font-style: italic; color: var(--violet-light); }
  .servicios-header p { font-size: 0.88rem; font-weight: 300; line-height: 1.8; color: rgba(245,242,237,0.65); max-width: 52ch; }
  .servicios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(163,148,232,0.07); }
  .servicio-item { padding: 2.25rem; background: transparent; transition: background 0.3s; position: relative; }
  .servicio-item:hover { background: rgba(107,91,206,0.1); }
  .servicio-num { font-size: 0.75rem; color: var(--slate-muted); margin-bottom: 1.25rem; opacity: 0.9; letter-spacing: 0.1em; }
  .servicio-title { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; margin-bottom: 0.875rem; letter-spacing: -0.01em; }
  .servicio-desc { font-size: 0.8rem; font-weight: 300; line-height: 1.7; color: rgba(245,242,237,0.32); }
  .servicio-arrow { position: absolute; bottom: 1.75rem; right: 2rem; color: var(--violet-light); opacity: 0; transform: translateX(-0.5rem); transition: opacity 0.3s, transform 0.3s; }
  .servicio-item:hover .servicio-arrow { opacity: 1; transform: translateX(0); }

  /* =====================
     BLOG
     fondo: azul medio apagado, diferente al sobre y servicios
  ===================== */
  #blog {
    padding: 5rem 4rem;
    background:
      radial-gradient(ellipse 55% 65% at 85% 80%, rgba(107,91,206,0.08) 0%, transparent 50%),
      linear-gradient(158deg, #d8dce8 0%, #dfe3ee 50%, #d4d8e6 100%);
  }
  .blog-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; }
  .blog-header h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(2.8rem, 4.5vw, 5.5rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--slate-deep); }
  .blog-header h2 em { font-style: italic; color: var(--violet); }
  .blog-header a { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-mid); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 0.15rem; transition: color 0.2s; }
  .blog-header a:hover { color: var(--slate-deep); }

  .blog-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2px; background: rgba(44,62,107,0.12); }
  .blog-post {
    background: rgba(220,225,238,0.7);
    padding: 2.25rem; display: flex; flex-direction: column;
    transition: background 0.2s; text-decoration: none; color: inherit;
  }
  .blog-post:hover { background: rgba(205,212,230,0.95); }
  .blog-post-cat { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--violet); margin-bottom: 1.25rem; }

  /* blog titles: DM Sans en lugar de Blacker para evitar problemas de renderización */
  .blog-post-title {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.45;
    margin-bottom: auto;
    padding-bottom: 1.75rem;
    color: var(--slate-deep);
    letter-spacing: -0.01em;
  }
  .blog-post:first-child .blog-post-title {
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.4;
  }
  .blog-post-date { font-size: 0.68rem; color: var(--slate-mid); font-weight: 300; }

  /* =====================
     PUENTE
     fondo: oscuro cálido, casi negro con toque terracota
  ===================== */
  #puente {
    padding: 6rem 4rem;
    color: var(--paper);
    position: relative;
    background-size: cover;
    background-position: center;
  }
  .puente-header {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6rem;
    align-items: end; margin-bottom: 5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(245,242,237,0.07);
  }
  .puente-titulo {
    font-family: var(--serif); font-weight: 800;
    font-size: clamp(4rem, 8vw, 9rem);
    line-height: 0.92; letter-spacing: -0.03em;
    color: var(--paper);
  }
  .puente-titulo em { font-style: italic; color: rgba(180,130,90,0.85); }
  .puente-meta { display: flex; flex-direction: column; gap: 1.5rem; }
  .puente-tag {
    font-size: 0.67rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: rgba(210,170,110,0.85);
    margin-top: 1rem;
  }
  .puente-desc {
    font-size: 0.95rem; font-weight: 300; line-height: 1.85;
    color: rgba(245,242,237,0.88); max-width: 44ch;
  }
  .puente-publicos {
    display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem;
  }
  .puente-publico {
    font-size: 0.68rem; letter-spacing: 0.1em;
    border: 1px solid rgba(245,242,237,0.25);
    color: rgba(245,242,237,0.7);
    padding: 0.35rem 0.85rem;
  }

  .puente-modulos {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: rgba(245,242,237,0.05);
    margin-bottom: 4rem;
  }
  .puente-modulo {
    background: rgba(245,242,237,0.02);
    padding: 2rem 1.75rem;
    transition: background 0.2s;
  }
  .puente-modulo:hover { background: rgba(245,242,237,0.04); }
  .puente-modulo-num {
    font-size: 0.62rem; letter-spacing: 0.2em;
    color: rgba(210,170,110,0.75); margin-bottom: 1rem;
  }
  .puente-modulo h3 {
    font-family: var(--sans); font-weight: 500;
    font-size: 0.9rem; color: var(--paper);
    margin-bottom: 0.6rem; line-height: 1.3;
  }
  .puente-modulo p {
    font-size: 0.78rem; font-weight: 300; line-height: 1.7;
    color: rgba(245,242,237,0.7);
  }

  .puente-footer {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem; align-items: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(245,242,237,0.07);
  }
  .puente-testimonios { display: flex; flex-direction: column; gap: 1.5rem; grid-column: span 2; }
  .puente-testimonios { flex-direction: row; }
  .puente-testimonio {
    font-size: 0.82rem; font-weight: 300; line-height: 1.7;
    color: rgba(245,242,237,0.75); font-style: italic;
    border-left: 1px solid rgba(180,130,90,0.3);
    padding-left: 1.25rem;
  }
  .puente-testimonio cite {
    display: block; font-style: normal;
    font-size: 0.65rem; letter-spacing: 0.1em;
    color: rgba(245,242,237,0.45); margin-top: 0.6rem;
  }
  .puente-cta-block { text-align: right; }
  .puente-precio {
    font-family: var(--sans); font-weight: 300;
    font-size: 2.8rem; color: var(--paper);
    letter-spacing: -0.01em; margin-bottom: 0.4rem;
  }
  .puente-precio-sub {
    font-size: 0.7rem; color: rgba(245,242,237,0.55);
    margin-bottom: 1.5rem; letter-spacing: 0.05em;
  }
  .puente-cta {
    display: inline-flex; align-items: center; gap: 1rem;
    font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
    color: #0f0e0d; text-decoration: none;
    background: rgba(210,160,110,0.9);
    padding: 0.9rem 1.8rem;
    transition: background 0.25s, gap 0.3s;
  }
  .puente-cta:hover { background: rgba(210,160,110,1); gap: 1.4rem; }
  .puente-cta::after { content: '→'; }

  /* =====================
     ECOSISTEMA
     fondo: slate desaturado medio
  ===================== */
  #ecosistema {
    padding: 6rem 4rem;
    background:
      radial-gradient(ellipse 55% 60% at 95% 90%, rgba(74,100,148,0.12) 0%, transparent 50%),
      linear-gradient(158deg, #1e2438 0%, #252d48 60%, #1a2035 100%);
    color: var(--paper);
  }
  .ecosistema-header { margin-bottom: 4rem; }
  .ecosistema-header h2 {
    font-family: var(--serif); font-weight: 800;
    font-size: clamp(2.4rem, 4vw, 4.5rem);
    line-height: 1.05; letter-spacing: -0.02em;
  }
  .ecosistema-header h2 em { font-style: italic; color: var(--violet-light); }
  .ecosistema-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: rgba(163,148,232,0.07);
  }
  .eco-item {
    background: rgba(245,242,237,0.02);
    padding: 2.5rem 2rem;
    display: flex; flex-direction: column;
    transition: background 0.2s;
  }
  .eco-item:hover { background: rgba(245,242,237,0.04); }
  .eco-tipo {
    font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--violet-light); margin-bottom: 1.5rem;
  }
  .eco-nombre {
    font-family: var(--serif); font-weight: 800;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    line-height: 1.1; letter-spacing: -0.02em;
    color: var(--paper); margin-bottom: 1rem;
  }
  .eco-nombre em { font-style: italic; color: var(--violet-light); }
  .eco-desc {
    font-size: 0.85rem; font-weight: 300; line-height: 1.8;
    color: rgba(245,242,237,0.5); margin-bottom: auto; padding-bottom: 2rem;
  }
  .eco-link {
    font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--violet-light); text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.6rem;
    border-bottom: 1px solid rgba(163,148,232,0.2);
    padding-bottom: 0.25rem; align-self: flex-start;
    transition: gap 0.25s, border-color 0.25s;
  }
  .eco-link:hover { gap: 1rem; border-color: var(--violet-light); }
  .eco-link::after { content: '→'; }

  /* =====================
     NEWSLETTER
     fondo: violeta profundo
  ===================== */
  #newsletter {
    padding: 5rem 4rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
    color: var(--paper);
    background:
      radial-gradient(ellipse 65% 75% at 18% 50%, rgba(163,148,232,0.14) 0%, transparent 52%),
      radial-gradient(ellipse 45% 45% at 92% 82%, rgba(26,37,69,0.45) 0%, transparent 48%),
      linear-gradient(138deg, #2d2250 0%, #3d2f7a 42%, #2c3e6b 100%);
  }
  .newsletter-left h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(2.2rem, 3.5vw, 4.5rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--paper); margin-bottom: 0.875rem; }
  .newsletter-left h2 em { font-style: italic; color: var(--violet-light); }
  .newsletter-left p { font-size: 0.85rem; font-weight: 300; line-height: 1.75; color: rgba(245,242,237,0.68); }
  .newsletter-form { display: flex; flex-direction: column; gap: 1rem; }
  .newsletter-form input { background: transparent; border: none; border-bottom: 1px solid rgba(245,242,237,0.16); padding: 0.7rem 0; font-family: var(--sans); font-size: 0.85rem; font-weight: 300; color: var(--paper); outline: none; transition: border-color 0.2s; }
  .newsletter-form input::placeholder { color: rgba(245,242,237,0.26); }
  .newsletter-form input:focus { border-color: var(--violet-light); }
  .newsletter-form button { margin-top: 0.4rem; background: var(--violet-light); color: #1a1230; border: none; padding: 0.85rem 1.875rem; font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; cursor: none; align-self: flex-start; transition: background 0.2s, transform 0.2s; }
  .newsletter-form button:hover { background: #bab0f0; transform: translateY(-1px); }
  .newsletter-privacy { font-size: 0.62rem; color: rgba(245,242,237,0.2); margin-top: 0.2rem; }

  /* =====================
     CONTACTO
     fondo: paper cálido, diferente al sobre
  ===================== */
  #contacto {
    padding: 5rem 4rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
    background:
      radial-gradient(ellipse 55% 55% at 78% 25%, rgba(107,91,206,0.06) 0%, transparent 52%),
      linear-gradient(158deg, #f5f2ed 0%, #ede9f8 58%, #f0ece5 100%);
  }
  #contacto h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(2.8rem, 4.5vw, 5.5rem); line-height: 1.0; letter-spacing: -0.02em; margin-bottom: 1.25rem; color: var(--slate-deep); }
  #contacto h2 em { font-style: italic; color: var(--violet); }
  #contacto > div:first-child p { font-size: 0.88rem; font-weight: 300; line-height: 1.85; color: var(--mid); margin-bottom: 1.75rem; }
  .contact-email {
    font-family: var(--sans); font-weight: 400; font-size: 1rem;
    color: var(--violet); text-decoration: none; letter-spacing: 0.01em;
    border-bottom: 1px solid rgba(107,91,206,0.28); padding-bottom: 0.18rem;
    display: inline-block; transition: border-color 0.2s;
  }
  .contact-email:hover { border-color: var(--violet); }
  .contact-form { display: flex; flex-direction: column; gap: 1.375rem; }
  .contact-form input, .contact-form textarea { background: transparent; border: none; border-bottom: 1px solid rgba(44,62,107,0.13); padding: 0.7rem 0; font-family: var(--sans); font-size: 0.85rem; font-weight: 300; color: var(--ink); outline: none; resize: none; transition: border-color 0.2s; }
  .contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--mid); }
  .contact-form input:focus, .contact-form textarea:focus { border-color: var(--violet); }
  .contact-form textarea { min-height: 100px; }
  .contact-form button { background: var(--slate-deep); color: var(--paper); border: none; padding: 0.85rem 2.25rem; font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; cursor: none; align-self: flex-start; transition: background 0.2s, transform 0.2s; }
  .contact-form button:hover { background: var(--violet); transform: translateY(-1px); }

  /* FOOTER */
  footer {
    padding: 2.25rem 4rem; display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(138deg, #0d1524 0%, #1a2545 100%);
    color: var(--paper);
  }
  .footer-logo img { height: 17px; display: block; }
  .footer-copy { font-size: 0.65rem; color: rgba(245,242,237,0.25); }
  .footer-links { display: flex; gap: 2rem; }
  .footer-links a { font-size: 0.65rem; color: rgba(245,242,237,0.35); text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: var(--violet-light); }

  /* ANIMATIONS */
  @keyframes fadeUp { from { opacity: 0; transform: translateY(1.8rem); } to { opacity: 1; transform: translateY(0); } }
  .fade-up { opacity: 0; animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) forwards; }
  .delay-1 { animation-delay: 0.12s; }
  .delay-2 { animation-delay: 0.28s; }
  .delay-3 { animation-delay: 0.48s; }
  .delay-4 { animation-delay: 0.65s; }
  .reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1); }
  .reveal.visible { opacity: 1; transform: translateY(0); }


  /* =====================
     NAV MOBILE — HAMBURGER
  ===================== */
  .nav-hamburger {
    display: none;
    position: relative; z-index: 1;
    background: none; border: none; cursor: none;
    padding: 0.25rem;
    flex-direction: column; gap: 5px;
  }
  .nav-hamburger span {
    display: block; width: 22px; height: 1.5px;
    background: rgba(245,242,237,0.7);
    transition: transform 0.25s, opacity 0.25s;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .nav-mobile-menu {
    display: none;
    position: fixed; inset: 0; z-index: 490;
    background: rgba(13,21,36,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center; align-items: center;
    gap: 2.5rem;
  }
  .nav-mobile-menu.open { display: flex; }
  .nav-mobile-menu a {
    font-size: 1.4rem; font-weight: 300; letter-spacing: 0.08em;
    text-transform: uppercase; color: rgba(245,242,237,0.7);
    text-decoration: none; transition: color 0.2s;
  }
  .nav-mobile-menu a:hover { color: var(--violet-light); }

  @media (max-width: 900px) {
    .nav-hamburger { display: flex; }
  }

  @media (max-width: 900px) {
    nav { padding: 1.25rem 1.5rem; }
    .nav-links { display: none; }
    #inicio { padding: 5rem 1.5rem 2.5rem; }

    .hero-display { font-size: clamp(2.8rem, 13vw, 6rem); }
    .hero-bottom { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    #sobre, #servicios, #blog, #contacto { padding: 4rem 1.5rem; }
    #sobre { grid-template-columns: 1fr; min-height: auto; }
    .sobre-foto { display: none; }
    .sobre-content { padding: 3rem 1.5rem; }
    #puente { padding: 4rem 1.5rem; }
    .puente-header { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
    .puente-modulos { grid-template-columns: 1fr; }
    .puente-footer { grid-template-columns: 1fr; gap: 2.5rem; }
    .puente-testimonios { flex-direction: column; gap: 1.5rem; }
    .puente-cta-block { text-align: left; }
    #ecosistema { padding: 4rem 1.5rem; }
    .ecosistema-grid { grid-template-columns: 1fr; }
    .servicios-header, #contacto { grid-template-columns: 1fr; gap: 2rem; }
    .servicios-grid, .blog-grid { grid-template-columns: 1fr; }
    #newsletter { grid-template-columns: 1fr; padding: 4rem 1.5rem; }
    footer { flex-direction: column; gap: 1.25rem; text-align: center; padding: 2rem 1.5rem; }
  }


/* =====================
   SINGLE NOTA
===================== */


/* === single-nota === */

  @font-face {
    font-family: 'Blacker';
    src: url('../fonts/Blacker-ExtraBold.woff') format('woff');
    font-weight: 800; font-style: normal; font-display: swap;
  }
  @font-face {
    font-family: 'Blacker';
    src: url('../fonts/Blacker-ExtraBold-Italic.woff') format('woff');
    font-weight: 800; font-style: italic; font-display: swap;
  }
  @font-face {
    font-family: 'Blacker';
    src: url('../fonts/Blacker-Medium.woff') format('woff');
    font-weight: 500; font-style: normal; font-display: swap;
  }

  :root {
    --ink: #0f0e0d;
    --paper: #f5f2ed;
    --slate-deep: #1a2545;
    --slate: #2c3e6b;
    --slate-mid: #3a5080;
    --violet: #6b5bce;
    --violet-light: #a394e8;
    --mid: #7a7570;
    --serif: 'Blacker', Georgia, serif;
    --sans: 'DM Sans', sans-serif;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--sans); color: var(--ink); overflow-x: hidden; cursor: none; background: var(--paper); }

  body::before {
    content: '';
    position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
  }

  .cursor { position: fixed; width: 8px; height: 8px; background: var(--violet); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: transform 0.1s ease; }
  .cursor-ring { position: fixed; width: 32px; height: 32px; border: 1px solid var(--violet); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: width 0.3s, height 0.3s, opacity 0.3s; opacity: 0.4; }

  /* NAV */
  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; padding: 1.4rem 4rem; display: flex; justify-content: space-between; align-items: center; }
  .nav-bg { position: absolute; inset: 0; background: rgba(26,37,69,0.78); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(163,148,232,0.07); }
  .nav-logo { position: relative; z-index: 1; }
  .nav-logo img { height: 20px; display: block; }


  /* =====================
     HEADER DEL POST
     papel limpio, sin imagen, título dominante
  ===================== */
  .post-header {
    padding: 6rem 4rem 2rem;
    max-width: 860px;
    margin: 0 auto;
  }
  .post-meta-top {
    display: flex; align-items: center; gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .post-cat {
    font-size: 0.65rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--violet);
    display: flex; align-items: center; gap: 0.75rem;
  }
  .post-cat::after { content: ''; display: block; width: 2rem; height: 1px; background: var(--violet); }
  .post-date { font-size: 0.68rem; font-weight: 300; color: var(--mid); letter-spacing: 0.04em; }

  .post-titulo {
    font-family: var(--serif);
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--slate-deep);
    margin-bottom: 1.75rem;
  }

  .post-bajada {
    font-size: 1.1rem; font-weight: 300; line-height: 1.7;
    color: var(--mid); max-width: 58ch;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(26,37,69,0.1);
    margin-bottom: 0;
  }

  /* =====================
     CUERPO DEL POST
  ===================== */
  .post-body {
    max-width: 860px;
    margin: 0 auto;
    padding: 3.5rem 4rem 6rem;
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 5rem;
    align-items: start;
  }

  .post-content p {
    font-size: 1.05rem; font-weight: 300; line-height: 1.9;
    color: #3a3835; margin-bottom: 1.6rem;
  }

    margin: 2.5rem 0;
    padding: 0.25rem 0 0.25rem 2rem;
    border-left: 3px solid var(--violet);

  /* Tags al pie del contenido */
  .post-tags {
    display: flex; flex-wrap: wrap; gap: 0.4rem;
    margin-top: 3rem; padding-top: 2rem;
    border-top: 1px solid rgba(26,37,69,0.08);
  }
  .post-tag {
    font-size: 0.68rem; letter-spacing: 0.08em;
    color: var(--slate-mid); border: 1px solid rgba(44,62,107,0.15);
    padding: 0.3rem 0.85rem; transition: border-color 0.2s, color 0.2s;
    cursor: default;
  }
  .post-tag:hover { border-color: var(--violet); color: var(--violet); }

  /* SIDEBAR DERECHA */
  .post-sidebar {
    position: sticky; top: 7rem;
  }
  .post-sidebar-block {
    margin-bottom: 2.5rem; padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(26,37,69,0.08);
  }
  .post-sidebar-block:last-child { border-bottom: none; margin-bottom: 0; }
  .post-sidebar-label {
    font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--violet); margin-bottom: 1.25rem;
    display: flex; align-items: center; gap: 0.6rem;
  }
  .post-sidebar-label::after { content: ''; display: block; flex: 1; height: 1px; background: rgba(107,91,206,0.2); }

  /* Sobre el autor — mini */
  .post-autor {
    display: flex; flex-direction: column; gap: 0.6rem;
  }
  .post-autor-nombre { font-size: 0.82rem; font-weight: 500; color: var(--slate-deep); }
  .post-autor-desc { font-size: 0.75rem; font-weight: 300; line-height: 1.6; color: var(--mid); }

  /* Posts relacionados */
  .post-relacionados { display: flex; flex-direction: column; gap: 1px; background: rgba(26,37,69,0.06); }
  .post-relacionado {
    background: var(--paper); padding: 1rem;
    text-decoration: none; display: flex; flex-direction: column; gap: 0.35rem;
    transition: background 0.2s;
  }
  .post-relacionado:hover { background: rgba(107,91,206,0.04); }
  .post-relacionado-cat { font-size: 0.58rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--violet); }
  .post-relacionado-title { font-size: 0.8rem; font-weight: 400; line-height: 1.4; color: var(--slate-deep); }

  /* Volver */
  .post-back {
    display: inline-flex; align-items: center; gap: 0.75rem;
    font-size: 0.7rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--violet); text-decoration: none;
    border-bottom: 1px solid rgba(107,91,206,0.25);
    padding-bottom: 0.2rem; margin-bottom: 3rem;
    transition: gap 0.25s, border-color 0.25s;
    display: inline-flex;
  }
  .post-back::before { content: '←'; }
  .post-back:hover { gap: 1.1rem; border-color: var(--violet); }

  /* FOOTER */
  footer {
    padding: 2.25rem 4rem; display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(138deg, #0d1524 0%, #1a2545 100%); color: var(--paper);
  }
  .footer-logo img { height: 17px; display: block; }
  .footer-copy { font-size: 0.65rem; color: rgba(245,242,237,0.25); }
  .footer-links { display: flex; gap: 2rem; }
  .footer-links a { font-size: 0.65rem; color: rgba(245,242,237,0.35); text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: var(--violet-light); }

  /* ANIMATIONS */
  @keyframes fadeUp { from { opacity: 0; transform: translateY(1.8rem); } to { opacity: 1; transform: translateY(0); } }
  .fade-up { opacity: 0; animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) forwards; }
  .delay-1 { animation-delay: 0.1s; }
  .delay-2 { animation-delay: 0.25s; }
  .delay-3 { animation-delay: 0.4s; }
  .reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
  .reveal.visible { opacity: 1; transform: none; }


  /* =====================
     NAV MOBILE — HAMBURGER
  ===================== */
  .nav-hamburger {
    display: none;
    position: relative; z-index: 1;
    background: none; border: none; cursor: none;
    padding: 0.25rem;
    flex-direction: column; gap: 5px;
  }
  .nav-hamburger span {
    display: block; width: 22px; height: 1.5px;
    background: rgba(245,242,237,0.7);
    transition: transform 0.25s, opacity 0.25s;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .nav-mobile-menu {
    display: none;
    position: fixed; inset: 0; z-index: 490;
    background: rgba(13,21,36,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center; align-items: center;
    gap: 2.5rem;
  }
  .nav-mobile-menu.open { display: flex; }
  .nav-mobile-menu a {
    font-size: 1.4rem; font-weight: 300; letter-spacing: 0.08em;
    text-transform: uppercase; color: rgba(245,242,237,0.7);
    text-decoration: none; transition: color 0.2s;
  }
  .nav-mobile-menu a:hover { color: var(--violet-light); }

  @media (max-width: 900px) {
    .nav-hamburger { display: flex; }
  }

  @media (max-width: 900px) {
    nav { padding: 1.25rem 1.5rem; }
    .nav-links { display: none; }
    .post-header { padding: 4rem 1.5rem 1.5rem; }
    .post-body { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 1.5rem 4rem; }
    .post-sidebar { position: static; border-top: 1px solid rgba(26,37,69,0.1); padding-top: 3rem; }
    footer { flex-direction: column; gap: 1.25rem; text-align: center; padding: 2rem 1.5rem; }
  }


/* === single-nota-imagen === */

  @font-face {
    font-family: 'Blacker';
    src: url('../fonts/Blacker-ExtraBold.woff') format('woff');
    font-weight: 800; font-style: normal; font-display: swap;
  }
  @font-face {
    font-family: 'Blacker';
    src: url('../fonts/Blacker-ExtraBold-Italic.woff') format('woff');
    font-weight: 800; font-style: italic; font-display: swap;
  }
  @font-face {
    font-family: 'Blacker';
    src: url('../fonts/Blacker-Medium.woff') format('woff');
    font-weight: 500; font-style: normal; font-display: swap;
  }

  :root {
    --ink: #0f0e0d;
    --paper: #f5f2ed;
    --slate-deep: #1a2545;
    --slate: #2c3e6b;
    --slate-mid: #3a5080;
    --violet: #6b5bce;
    --violet-light: #a394e8;
    --mid: #7a7570;
    --serif: 'Blacker', Georgia, serif;
    --sans: 'DM Sans', sans-serif;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--sans); color: var(--ink); overflow-x: hidden; cursor: none; background: var(--paper); }

  body::before {
    content: '';
    position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
  }

  .cursor { position: fixed; width: 8px; height: 8px; background: var(--violet); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: transform 0.1s ease; }
  .cursor-ring { position: fixed; width: 32px; height: 32px; border: 1px solid var(--violet); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: width 0.3s, height 0.3s, opacity 0.3s; opacity: 0.4; }

  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; padding: 1.4rem 4rem; display: flex; justify-content: space-between; align-items: center; }
  .nav-bg { position: absolute; inset: 0; background: rgba(26,37,69,0.78); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(163,148,232,0.07); }
  .nav-logo { position: relative; z-index: 1; }
  .nav-logo img { height: 20px; display: block; }


  /* =====================
     HERO CON IMAGEN
     imagen a full width, título encima
  ===================== */
  .post-hero {
    position: relative;
    height: 72vh;
    min-height: 480px;
    overflow: hidden;
    margin-top: 0;
  }
  .post-hero-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  /* Gradiente desde abajo para que el título sea legible */
  .post-hero::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(15,14,13,0.15) 0%,
      rgba(15,14,13,0.05) 35%,
      rgba(15,14,13,0.55) 70%,
      rgba(15,14,13,0.88) 100%
    );
  }
  .post-hero-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 0 4rem 3rem;
    z-index: 2;
  }
  .post-hero-content .post-meta-top { margin-bottom: 1.25rem; }
  .post-hero-content .post-cat { color: var(--violet-light); }
  .post-hero-content .post-cat::after { background: var(--violet-light); }
  .post-hero-content .post-date { color: rgba(245,242,237,0.45); }
  .post-hero-content .post-titulo {
    color: var(--paper);
    max-width: 22ch;
    margin-bottom: 1.25rem;
  }
  .post-hero-content .post-bajada {
    font-size: 1rem;
    color: rgba(245,242,237,0.65); max-width: 56ch;
  }

  /* =====================
     CUERPO
  ===================== */
  .post-body {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 5rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 4rem 4rem 6rem;
    align-items: start;
  }

  .post-content p {
    font-size: 1.05rem; font-weight: 300; line-height: 1.9;
    color: #3a3835; margin-bottom: 1.6rem;
  }

  /* Diálogo — para la pregunta del cliente */
  .post-dialogo {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: rgba(26,37,69,0.04);
    border-left: 3px solid rgba(44,62,107,0.2);
  }
  .post-dialogo p {
    font-size: 0.95rem; font-weight: 300; line-height: 1.75;
    color: var(--slate-deep); margin-bottom: 0.75rem;
    font-style: italic;
  }
  .post-dialogo p:last-child { margin-bottom: 0; }
  .post-dialogo strong { font-weight: 500; font-style: normal; color: var(--slate-deep); }

  /* CTA al pie del post */
  .post-cta {
    margin-top: 3rem; padding: 2rem 2.5rem;
    background: rgba(26,37,69,0.03);
    border: 1px solid rgba(26,37,69,0.08);
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  }
  .post-cta p {
    font-size: 0.88rem; font-weight: 300; line-height: 1.6;
    color: var(--mid); margin-bottom: 0 !important;
    max-width: 40ch;
  }
  .post-cta a {
    display: inline-flex; align-items: center; gap: 0.75rem; flex-shrink: 0;
    font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--paper); text-decoration: none;
    background: var(--slate-deep); padding: 0.85rem 1.6rem;
    transition: background 0.2s, gap 0.3s;
  }
  .post-cta a::after { content: '→'; color: var(--violet-light); }
  .post-cta a:hover { background: var(--violet); gap: 1.1rem; }

  /* Tags */
  .post-tags {
    display: flex; flex-wrap: wrap; gap: 0.4rem;
    margin-top: 2.5rem; padding-top: 2rem;
    border-top: 1px solid rgba(26,37,69,0.08);
  }
  .post-tag {
    font-size: 0.68rem; letter-spacing: 0.08em;
    color: var(--slate-mid); border: 1px solid rgba(44,62,107,0.15);
    padding: 0.3rem 0.85rem; transition: border-color 0.2s, color 0.2s; cursor: default;
  }
  .post-tag:hover { border-color: var(--violet); color: var(--violet); }

  /* SIDEBAR */
  .post-sidebar { position: sticky; top: 7rem; }
  .post-sidebar-block { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(26,37,69,0.08); }
  .post-sidebar-block:last-child { border-bottom: none; margin-bottom: 0; }
  .post-sidebar-label {
    font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--violet); margin-bottom: 1.25rem;
    display: flex; align-items: center; gap: 0.6rem;
  }
  .post-sidebar-label::after { content: ''; display: block; flex: 1; height: 1px; background: rgba(107,91,206,0.2); }
  .post-autor { display: flex; flex-direction: column; gap: 0.6rem; }
  .post-autor-nombre { font-size: 0.82rem; font-weight: 500; color: var(--slate-deep); }
  .post-autor-desc { font-size: 0.75rem; font-weight: 300; line-height: 1.6; color: var(--mid); }
  .post-relacionados { display: flex; flex-direction: column; gap: 1px; background: rgba(26,37,69,0.06); }
  .post-relacionado {
    background: var(--paper); padding: 1rem;
    text-decoration: none; display: flex; flex-direction: column; gap: 0.35rem;
    transition: background 0.2s;
  }
  .post-relacionado:hover { background: rgba(107,91,206,0.04); }
  .post-relacionado-cat { font-size: 0.58rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--violet); }
  .post-relacionado-title { font-size: 0.8rem; font-weight: 400; line-height: 1.4; color: var(--slate-deep); }

  /* Volver */
  .post-back {
    display: inline-flex; align-items: center; gap: 0.75rem;
    font-size: 0.7rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--violet); text-decoration: none;
    border-bottom: 1px solid rgba(107,91,206,0.25);
    padding-bottom: 0.2rem; margin-bottom: 3rem;
    transition: gap 0.25s, border-color 0.25s;
  }
  .post-back::before { content: '←'; }
  .post-back:hover { gap: 1.1rem; border-color: var(--violet); }

  footer {
    padding: 2.25rem 4rem; display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(138deg, #0d1524 0%, #1a2545 100%); color: var(--paper);
  }
  .footer-logo img { height: 17px; display: block; }
  .footer-copy { font-size: 0.65rem; color: rgba(245,242,237,0.25); }
  .footer-links { display: flex; gap: 2rem; }
  .footer-links a { font-size: 0.65rem; color: rgba(245,242,237,0.35); text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: var(--violet-light); }

  @keyframes fadeUp { from { opacity: 0; transform: translateY(1.8rem); } to { opacity: 1; transform: translateY(0); } }
  .fade-up { opacity: 0; animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) forwards; }
  .delay-1 { animation-delay: 0.1s; }
  .delay-2 { animation-delay: 0.25s; }
  .delay-3 { animation-delay: 0.4s; }
  .reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
  .reveal.visible { opacity: 1; transform: none; }


  /* =====================
     NAV MOBILE — HAMBURGER
  ===================== */
  .nav-hamburger {
    display: none;
    position: relative; z-index: 1;
    background: none; border: none; cursor: none;
    padding: 0.25rem;
    flex-direction: column; gap: 5px;
  }
  .nav-hamburger span {
    display: block; width: 22px; height: 1.5px;
    background: rgba(245,242,237,0.7);
    transition: transform 0.25s, opacity 0.25s;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .nav-mobile-menu {
    display: none;
    position: fixed; inset: 0; z-index: 490;
    background: rgba(13,21,36,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center; align-items: center;
    gap: 2.5rem;
  }
  .nav-mobile-menu.open { display: flex; }
  .nav-mobile-menu a {
    font-size: 1.4rem; font-weight: 300; letter-spacing: 0.08em;
    text-transform: uppercase; color: rgba(245,242,237,0.7);
    text-decoration: none; transition: color 0.2s;
  }
  .nav-mobile-menu a:hover { color: var(--violet-light); }

  @media (max-width: 900px) {
    .nav-hamburger { display: flex; }
  }

  @media (max-width: 900px) {
    nav { padding: 1.25rem 1.5rem; }
    .nav-links { display: none; }
    .post-hero { height: 55vw; min-height: 320px; }
    .post-hero-content { padding: 0 1.5rem 2.5rem; }
    .post-body { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 1.5rem 4rem; }
    .post-sidebar { position: static; border-top: 1px solid rgba(26,37,69,0.1); padding-top: 3rem; }
    .post-cta { flex-direction: column; align-items: flex-start; }
    footer { flex-direction: column; gap: 1.25rem; text-align: center; padding: 2rem 1.5rem; }
  }


/* === single-episodio === */

  @font-face {
    font-family: 'Blacker';
    src: url('../fonts/Blacker-ExtraBold.woff') format('woff');
    font-weight: 800; font-style: normal; font-display: swap;
  }
  @font-face {
    font-family: 'Blacker';
    src: url('../fonts/Blacker-ExtraBold-Italic.woff') format('woff');
    font-weight: 800; font-style: italic; font-display: swap;
  }
  @font-face {
    font-family: 'Blacker';
    src: url('../fonts/Blacker-Medium.woff') format('woff');
    font-weight: 500; font-style: normal; font-display: swap;
  }

  :root {
    --ink: #0f0e0d;
    --paper: #f5f2ed;
    --teal: #1a7a78;
    --teal-deep: #0d4a48;
    --teal-light: #2a9e9b;
    --amber: #d4a017;
    --slate-deep: #1a2545;
    --mid: #7a7570;
    --serif: 'Blacker', Georgia, serif;
    --sans: 'DM Sans', sans-serif;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--sans); color: var(--ink); overflow-x: hidden; cursor: none; background: var(--paper); }

  body::before {
    content: '';
    position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
  }

  .cursor { position: fixed; width: 8px; height: 8px; background: var(--teal); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: transform 0.1s ease; }
  .cursor-ring { position: fixed; width: 32px; height: 32px; border: 1px solid var(--teal); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: width 0.3s, height 0.3s, opacity 0.3s; opacity: 0.4; }

  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; padding: 1.4rem 4rem; display: flex; justify-content: space-between; align-items: center; }
  .nav-bg { position: absolute; inset: 0; background: rgba(26,37,69,0.78); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(163,148,232,0.07); }
  .nav-logo { position: relative; z-index: 1; }
  .nav-logo img { height: 20px; display: block; }


  /* HEADER — compacto, integrado al flujo */
  .ep-header {
    max-width: 1160px;
    margin: 0 auto;
    padding: 7rem 4rem 0;
  }
  .ep-header-top {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .ep-cover {
    width: 36px; height: 36px;
    object-fit: cover; flex-shrink: 0;
  }
  .ep-brand-name {
    font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--teal-deep);
  }
  .ep-brand-sep { color: rgba(26,37,69,0.2); margin: 0 0.4rem; }
  .ep-brand-num {
    font-size: 0.68rem; font-weight: 300; letter-spacing: 0.1em; color: var(--mid);
  }
  .ep-titulo {
    font-family: var(--serif); font-weight: 800;
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: 1.0; letter-spacing: -0.03em;
    color: var(--slate-deep);
    margin-bottom: 1.25rem;
  }
  .ep-meta {
    display: flex; align-items: center; gap: 1.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(26,37,69,0.08);
    margin-bottom: 0;
  }
  .ep-meta-item { font-size: 0.72rem; font-weight: 300; color: var(--mid); }
  .ep-meta-item strong { font-weight: 400; color: var(--slate-deep); }
  .ep-meta-sep { color: rgba(26,37,69,0.15); }

  /* LAYOUT */
  .ep-body {
    display: grid; grid-template-columns: 1fr 300px; gap: 5rem;
    max-width: 1160px; margin: 0 auto; padding: 2.5rem 4rem 6rem;
  }

  /* PLAYER */
  .ep-player-wrap { margin-bottom: 3.5rem; }
  .ep-player-label {
    font-size: 0.63rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--teal); margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.75rem;
  }
  .ep-player-label::after { content: ''; display: block; width: 2rem; height: 1px; background: var(--teal); }
  .ep-player-wrap iframe { width: 100%; display: block; }

  /* TRANSCRIPCION */
  .ep-transcripcion-header {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 2.5rem; padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(26,37,69,0.1);
  }
  .ep-transcripcion-title {
    font-family: var(--serif); font-weight: 800;
    font-size: 1.5rem; letter-spacing: -0.02em; color: var(--slate-deep);
  }
  .ep-transcripcion-note { font-size: 0.7rem; font-weight: 300; color: var(--mid); }

  .ep-transcripcion-body p {
    font-size: 1rem; font-weight: 300; line-height: 1.9;
    color: #3a3835; margin-bottom: 1.5rem;
  }

  /* Timestamps */
  .ep-timestamp {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.67rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--teal); margin: 2rem 0 0.75rem;
    border-bottom: 1px solid rgba(26,122,120,0.18);
    padding-bottom: 0.4rem;
  }
  .ep-timestamp::before { content: '▶'; font-size: 0.45rem; }

  /* Volver */
  .ep-back {
    display: inline-flex; align-items: center; gap: 0.75rem;
    font-size: 0.7rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--teal); text-decoration: none;
    border-bottom: 1px solid rgba(26,122,120,0.25);
    padding-bottom: 0.2rem; margin-bottom: 4rem;
    transition: gap 0.25s, border-color 0.25s;
  }
  .ep-back::before { content: '←'; }
  .ep-back:hover { gap: 1.1rem; border-color: var(--teal); }

  /* SIDEBAR */
  .ep-sidebar { padding-top: 0.5rem; }
  .ep-sidebar-block { margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(26,37,69,0.08); }
  .ep-sidebar-block:last-child { border-bottom: none; }
  .ep-sidebar-label {
    font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--teal); margin-bottom: 1.25rem;
    display: flex; align-items: center; gap: 0.75rem;
  }
  .ep-sidebar-label::after { content: ''; display: block; flex: 1; height: 1px; background: rgba(26,122,120,0.2); }

  .ep-temas { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .ep-tema {
    font-size: 0.68rem; font-weight: 400; letter-spacing: 0.06em;
    color: var(--teal-deep); border: 1px solid rgba(26,122,120,0.2);
    padding: 0.3rem 0.8rem; transition: border-color 0.2s, background 0.2s; cursor: default;
  }
  .ep-tema:hover { border-color: var(--teal); background: rgba(26,122,120,0.05); }

  .ep-info-list { display: flex; flex-direction: column; gap: 0.875rem; }
  .ep-info-row { display: flex; justify-content: space-between; font-size: 0.78rem; }
  .ep-info-key { font-weight: 300; color: var(--mid); }
  .ep-info-val { font-weight: 400; color: var(--slate-deep); }

  .ep-related { display: flex; flex-direction: column; gap: 1px; background: rgba(26,37,69,0.06); }
  .ep-related-item {
    background: var(--paper); padding: 1.25rem;
    text-decoration: none; display: flex; flex-direction: column; gap: 0.4rem;
    transition: background 0.2s;
  }
  .ep-related-item:hover { background: rgba(26,122,120,0.05); }
  .ep-related-num { font-size: 0.6rem; letter-spacing: 0.15em; color: var(--teal); text-transform: uppercase; }
  .ep-related-title { font-weight: 400; font-size: 0.85rem; line-height: 1.4; color: var(--slate-deep); }

  footer {
    padding: 2.25rem 4rem; display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(138deg, #0d1524 0%, #1a2545 100%); color: var(--paper);
  }
  .footer-logo img { height: 17px; display: block; }
  .footer-copy { font-size: 0.65rem; color: rgba(245,242,237,0.25); }
  .footer-links { display: flex; gap: 2rem; }
  .footer-links a { font-size: 0.65rem; color: rgba(245,242,237,0.35); text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: rgba(232,184,48,0.8); }

  @keyframes fadeUp { from { opacity: 0; transform: translateY(1.8rem); } to { opacity: 1; transform: translateY(0); } }
  .fade-up { opacity: 0; animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) forwards; }
  .delay-1 { animation-delay: 0.1s; }
  .delay-2 { animation-delay: 0.25s; }
  .delay-3 { animation-delay: 0.4s; }
  .reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
  .reveal.visible { opacity: 1; transform: none; }


  /* =====================
     NAV MOBILE — HAMBURGER
  ===================== */
  .nav-hamburger {
    display: none;
    position: relative; z-index: 1;
    background: none; border: none; cursor: none;
    padding: 0.25rem;
    flex-direction: column; gap: 5px;
  }
  .nav-hamburger span {
    display: block; width: 22px; height: 1.5px;
    background: rgba(245,242,237,0.7);
    transition: transform 0.25s, opacity 0.25s;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .nav-mobile-menu {
    display: none;
    position: fixed; inset: 0; z-index: 490;
    background: rgba(13,21,36,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center; align-items: center;
    gap: 2.5rem;
  }
  .nav-mobile-menu.open { display: flex; }
  .nav-mobile-menu a {
    font-size: 1.4rem; font-weight: 300; letter-spacing: 0.08em;
    text-transform: uppercase; color: rgba(245,242,237,0.7);
    text-decoration: none; transition: color 0.2s;
  }
  .nav-mobile-menu a:hover { color: var(--violet-light); }

  @media (max-width: 900px) {
    .nav-hamburger { display: flex; }
  }

  @media (max-width: 900px) {
    nav { padding: 1.25rem 1.5rem; }
    .nav-links { display: none; }
    .ep-header { padding: 5.5rem 1.5rem 0; }
    .ep-body { grid-template-columns: 1fr; gap: 3rem; padding: 2rem 1.5rem 4rem; }
    .ep-sidebar { border-top: 1px solid rgba(26,37,69,0.1); padding-top: 3rem; }
    footer { flex-direction: column; gap: 1.25rem; text-align: center; padding: 2rem 1.5rem; }
  }


/* =====================
   ARCHIVE — NOTAS Y REFLEXIONES
===================== */
.archive-header {
  padding: 8rem 4rem 4rem;
  background:
    radial-gradient(ellipse 55% 60% at 95% 10%, rgba(74,100,148,0.15) 0%, transparent 50%),
    linear-gradient(158deg, #1e2438 0%, #252d48 60%, #1a2035 100%);
  color: var(--paper);
}
.archive-titulo {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.95; letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.archive-desc {
  font-size: 0.9rem; font-weight: 300; line-height: 1.75;
  color: rgba(245,242,237,0.55); max-width: 48ch;
  margin-top: 1rem;
}
.archive-body { max-width: 1160px; margin: 0 auto; padding: 4rem; }
.archive-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(44,62,107,0.1);
  margin-bottom: 4rem;
}
.archive-post {
  background: var(--paper); padding: 2rem;
  text-decoration: none; display: flex; flex-direction: column;
  transition: background 0.2s;
}
.archive-post:hover { background: rgba(107,91,206,0.04); }
.archive-post.has-imagen { grid-column: span 1; }
.archive-post-thumb { overflow: hidden; margin-bottom: 1.25rem; aspect-ratio: 16/9; }
.archive-post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.archive-post:hover .archive-post-thumb img { transform: scale(1.03); }
.archive-post-cat { font-size: 0.63rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--violet); margin-bottom: 0.75rem; display: block; }
.archive-post-title {
  font-family: var(--sans); font-weight: 400;
  font-size: 1rem; line-height: 1.45;
  color: var(--slate-deep); margin-bottom: auto;
  padding-bottom: 1.25rem;
}
.archive-post-date { font-size: 0.68rem; color: var(--mid); font-weight: 300; }

/* Paginación */
.pagination-nav { display: flex; gap: 0.5rem; justify-content: center; }
.pagination-nav .page-numbers {
  font-size: 0.72rem; letter-spacing: 0.08em; color: var(--mid);
  padding: 0.4rem 0.8rem; border: 1px solid rgba(44,62,107,0.12);
  text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.pagination-nav .page-numbers.current,
.pagination-nav .page-numbers:hover { border-color: var(--violet); color: var(--violet); }

/* =====================
   ARCHIVE — EPISODIOS
===================== */
.ep-archive-header {
  background:
    radial-gradient(ellipse 55% 60% at 95% 10%, rgba(26,122,120,0.15) 0%, transparent 50%),
    linear-gradient(158deg, #0d1e1e 0%, #112828 60%, #0a1a1a 100%);
}
.ep-archive-brand {
  display: flex; align-items: center; gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.ep-archive-cover { width: 64px; height: 64px; object-fit: cover; flex-shrink: 0; }
.ep-archive-body { max-width: 860px; margin: 0 auto; padding: 4rem; }
.ep-archive-grid { display: flex; flex-direction: column; gap: 1px; background: rgba(26,37,69,0.08); margin-bottom: 4rem; }
.ep-archive-item {
  background: var(--paper); padding: 1.75rem 2rem;
  text-decoration: none; display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 2rem; align-items: center;
  transition: background 0.2s;
}
.ep-archive-item:hover { background: rgba(26,122,120,0.04); }
.ep-archive-num { font-size: 0.65rem; letter-spacing: 0.15em; color: var(--teal, #1a7a78); text-transform: uppercase; font-weight: 500; }
.ep-archive-title { font-family: var(--sans); font-weight: 400; font-size: 1rem; line-height: 1.4; color: var(--slate-deep); margin-bottom: 0.4rem; }
.ep-archive-meta { font-size: 0.72rem; font-weight: 300; color: var(--mid); display: flex; gap: 0.75rem; flex-wrap: wrap; }
.ep-archive-sep { color: rgba(26,37,69,0.2); }
.ep-archive-arrow { color: rgba(26,122,120,0.4); font-size: 1rem; transition: transform 0.2s, color 0.2s; }
.ep-archive-item:hover .ep-archive-arrow { transform: translateX(4px); color: var(--teal, #1a7a78); }

/* =====================
   WORDPRESS ALIGNMENT HELPERS
===================== */
.alignleft { float: left; margin-right: 2rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 2rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin: 2rem auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.75rem; color: var(--mid); text-align: center; margin-top: 0.5rem; }

/* Timestamps en transcripcion (bloque HTML del editor) */
.ep-timestamp {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.67rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal, #1a7a78); margin: 2rem 0 0.75rem;
  border-bottom: 1px solid rgba(26,122,120,0.18);
  padding-bottom: 0.4rem;
}
.ep-timestamp::before { content: '▶'; font-size: 0.45rem; }

/* Dialogo en notas */
.post-dialogo {
  margin: 2rem 0; padding: 1.5rem 2rem;
  background: rgba(26,37,69,0.04);
  border-left: 3px solid rgba(44,62,107,0.2);
}
.post-dialogo p { font-size: 0.95rem; font-weight: 300; line-height: 1.75; color: var(--slate-deep); margin-bottom: 0.75rem; font-style: italic; }
.post-dialogo p:last-child { margin-bottom: 0; }
.post-dialogo strong { font-weight: 500; font-style: normal; }

/* CTA inline en notas */
.post-cta {
  margin-top: 3rem; padding: 2rem 2.5rem;
  background: rgba(26,37,69,0.03); border: 1px solid rgba(26,37,69,0.08);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.post-cta p { font-size: 0.88rem; font-weight: 300; line-height: 1.6; color: var(--mid); margin-bottom: 0; max-width: 40ch; }
.post-cta a {
  display: inline-flex; align-items: center; gap: 0.75rem; flex-shrink: 0;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--paper); text-decoration: none;
  background: var(--slate-deep); padding: 0.85rem 1.6rem;
  transition: background 0.2s, gap 0.3s;
}
.post-cta a::after { content: '→'; color: var(--violet-light); }
.post-cta a:hover { background: var(--violet); gap: 1.1rem; }

/* =====================
   RESPONSIVE — ARCHIVOS
===================== */
@media (max-width: 900px) {
  .archive-header { padding: 6rem 1.5rem 3rem; }
  .archive-body { padding: 3rem 1.5rem; }
  .archive-grid { grid-template-columns: 1fr; }
  .ep-archive-body { padding: 3rem 1.5rem; }
  .ep-archive-item { grid-template-columns: 2.5rem 1fr; }
  .ep-archive-arrow { display: none; }
  .post-cta { flex-direction: column; align-items: flex-start; }
}
