@font-face {
    font-family: "Clash Display";
    src: url(/assets/fonts/ClashDisplay-400.woff2) format("woff2");
    font-weight: 400; font-style: normal; font-display: swap;
  }
  @font-face {
    font-family: "Clash Display";
    src: url(/assets/fonts/ClashDisplay-500.woff2) format("woff2");
    font-weight: 500; font-style: normal; font-display: swap;
  }
  @font-face {
    font-family: "Clash Display";
    src: url(/assets/fonts/ClashDisplay-600.woff2) format("woff2");
    font-weight: 600; font-style: normal; font-display: swap;
  }
  @font-face {
    font-family: "Clash Display";
    src: url(/assets/fonts/ClashDisplay-700.woff2) format("woff2");
    font-weight: 700; font-style: normal; font-display: swap;
  }
  @font-face {
    font-family: "Geist Mono";
    src: url(/assets/fonts/GeistMono-100.woff2) format("woff2");
    font-weight: 100 900; font-style: normal; font-display: swap;
  }

  :root {
    --bg: #0e0d0b;
    --bg-2: #141310;
    --bg-raised: #1a1815;
    --bg-raised-2: #211e1a;
    --paper: #f2ede1;
    --paper-dim: #a9a196;
    --paper-faint: #6b6558;
    --accent: #cdf135;
    --accent-gold: #f0c93a;
    --accent-violet: #cbb0f0;  /* lavanda suave, cálido */
    --accent-teal: #7fd4c4;  /* verde agua suave */
    --accent-deep: #4a6b1f;
    --accent-ink: #12140a;
    --cream: #f3efe6;
    --cream-2: #e9e3d5;
    --ink: #1d1c15;
    --line: rgba(242, 237, 225, 0.12);
    --line-strong: rgba(242, 237, 225, 0.26);
    --glass-bg: linear-gradient(150deg, rgba(242,237,225,0.09), rgba(242,237,225,0.02) 55%, rgba(242,237,225,0.05));
    --glass-border: rgba(242,237,225,0.16);

    --display: "Clash Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  }

  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
  }

  ::selection { background: var(--accent); color: var(--accent-ink); }
  a { color: inherit; text-decoration: none; }
  p { margin: 0; }
  button { font: inherit; }

  .wrap { max-width: 1280px; margin: 0 auto; padding-left: clamp(1.25rem, 4vw, 4rem); padding-right: clamp(1.25rem, 4vw, 4rem); }
  .col { max-width: 640px; }

  .eyebrow {
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--paper-faint);
  }
  .eyebrow.accent { color: var(--accent); }

  /* pill-link eyebrow (patrón Profico "Learn more about us") */
  .pill-eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--paper-dim);
    border: 1px solid var(--line-strong); border-radius: 999px;
    padding: 0.45rem 1.1rem;
    background: rgba(242,237,225,0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .pill-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

  /* ---------- grain ---------- */
  .grain {
    position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 160px 160px;
  }

  /* ---------- reveal ---------- */
  body.anim .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s cubic-bezier(.16,.8,.24,1), transform 0.9s cubic-bezier(.16,.8,.24,1); }
  .reveal { opacity: 1; }
  body.anim .reveal.in { opacity: 1; transform: translateY(0); }
  .reveal.d1 { transition-delay: 0.08s; }
  .reveal.d2 { transition-delay: 0.16s; }
  .reveal.d3 { transition-delay: 0.24s; }
  @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

  /* ---------- glass ---------- */
  .glass {
    background: var(--glass-bg);
    backdrop-filter: blur(26px) saturate(150%);
    -webkit-backdrop-filter: blur(26px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 24px 70px rgba(0,0,0,0.4);
  }

  /* ---------- aurora mesh ---------- */
  .mesh {
    position: absolute; inset: -12%; z-index: 0; pointer-events: none;
    background:
      radial-gradient(38% 34% at 22% 28%, rgba(205,241,53,0.30), transparent 70%),
      radial-gradient(34% 38% at 78% 20%, rgba(240,201,58,0.18), transparent 70%),
      radial-gradient(30% 34% at 84% 78%, rgba(240,201,58,0.16), transparent 70%),
      radial-gradient(26% 30% at 12% 80%, rgba(203,176,240,0.10), transparent 70%),
      radial-gradient(44% 46% at 55% 85%, rgba(74,107,31,0.30), transparent 70%);
    filter: blur(72px);
    animation: drift 26s ease-in-out infinite alternate;
  }
  @keyframes drift {
    0%   { transform: translate3d(0,0,0) scale(1); }
    50%  { transform: translate3d(-2%, 3%, 0) scale(1.06); }
    100% { transform: translate3d(3%, -2%, 0) scale(1); }
  }
  @media (prefers-reduced-motion: reduce) { .mesh { animation: none; } }

  /* ---------- glow ring (patrón Profico/Coin Official) ---------- */
  .ring-stage { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
  .ring {
    position: absolute; left: 50%; top: 54%;
    width: min(120vw, 1050px); aspect-ratio: 1;
    transform: translate(-50%, -50%) scaleY(0.62) rotate(0deg);
    border-radius: 50%;
    background: conic-gradient(from 20deg,
      transparent 0%,
      rgba(205,241,53,0.85) 10%,
      rgba(240,201,58,0.45) 24%,
      transparent 38%,
      rgba(185,140,242,0.55) 52%,
      rgba(95,217,201,0.35) 63%,
      transparent 74%,
      rgba(205,241,53,0.35) 88%,
      transparent 100%);
    -webkit-mask: radial-gradient(closest-side, transparent 58%, #000 64%, #000 72%, transparent 78%);
    mask: radial-gradient(closest-side, transparent 58%, #000 64%, #000 72%, transparent 78%);
    filter: blur(16px) saturate(1.25);
    animation: ringspin 30s linear infinite;
  }
  .ring.echo {
    width: min(150vw, 1400px);
    opacity: 0.35;
    filter: blur(34px) saturate(1.1);
    animation-duration: 46s;
    animation-direction: reverse;
  }
  @keyframes ringspin {
    from { transform: translate(-50%, -50%) scaleY(0.62) rotate(0deg); }
    to   { transform: translate(-50%, -50%) scaleY(0.62) rotate(360deg); }
  }
  @media (prefers-reduced-motion: reduce) { .ring { animation: none; } }

  /* ---------- glass shards (prismas flotantes, patrón Profico) ---------- */
  .shard {
    position: absolute; pointer-events: none; z-index: 3;
    background: linear-gradient(155deg, rgba(242,237,225,0.30), rgba(205,241,53,0.10) 45%, rgba(185,140,242,0.16));
    border: 1px solid rgba(242,237,225,0.28);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 18px 44px rgba(0,0,0,0.35);
    animation: floaty 9s ease-in-out infinite;
  }
  .shard.cut-a { width: 84px; height: 120px; clip-path: polygon(48% 0, 100% 26%, 84% 100%, 8% 84%); }
  .shard.cut-b { width: 96px; height: 96px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); animation-delay: -3s; }
  .shard.cut-c { width: 74px; height: 110px; clip-path: polygon(20% 8%, 92% 0, 78% 94%, 0 78%); animation-delay: -6s; }
  @keyframes floaty {
    0%, 100% { transform: translateY(0) rotate(-6deg); }
    50%      { transform: translateY(-16px) rotate(7deg); }
  }
  @media (prefers-reduced-motion: reduce) { .shard { animation: none; } }

  /* ---------- nav ---------- */
  header.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem clamp(1.25rem, 4vw, 3rem);
    background: rgba(14,13,11,0.5);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-bottom: 1px solid var(--line);
  }
  .nav-mark { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.005em; }
  .nav-links {
    display: flex; gap: 0.25rem;
    font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em;
    border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem;
    background: rgba(242,237,225,0.03);
  }
  .nav-links a { color: var(--paper-dim); padding: 0.5rem 1.05rem; border-radius: 999px; transition: color 0.25s ease, background 0.25s ease; }
  .nav-links a:hover { color: var(--paper); background: rgba(242,237,225,0.07); }
  .nav-cta {
    font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em;
    background: var(--accent); color: var(--accent-ink); font-weight: 700;
    padding: 0.65rem 1.4rem; border-radius: 999px;
    transition: transform 0.25s cubic-bezier(.16,.8,.24,1), box-shadow 0.25s ease, background 0.25s ease;
  }
  .nav-cta:hover { transform: translateY(-2px); background: var(--paper); box-shadow: 0 10px 26px rgba(205,241,53,0.3); }
  .nav-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  @media (max-width: 800px) { .nav-links { display: none; } }

  /* ---------- hero ---------- */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center;
    padding: 7.5rem clamp(1.25rem, 4vw, 3rem) 0;
    overflow: hidden;
  }
  .hero-glow {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 42%), rgba(205,241,53,0.10), transparent 60%);
  }
  .hero-inner { position: relative; z-index: 4; display: flex; flex-direction: column; align-items: center; }
  .hero h1 {
    font-family: var(--display); font-weight: 700;
    font-size: clamp(3.2rem, 10vw, 8rem); line-height: 0.92; letter-spacing: -0.02em;
    margin: 1.6rem 0 0; text-wrap: balance;
    background: linear-gradient(180deg, var(--paper) 55%, rgba(242,237,225,0.55));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero .tagline {
    margin-top: 1.4rem;
    font-family: var(--display); font-weight: 500;
    font-size: clamp(1.25rem, 2.8vw, 1.9rem); letter-spacing: -0.01em;
    color: var(--accent);
    text-shadow: 0 0 40px rgba(205,241,53,0.35);
  }
  .hero-sub { margin-top: 1.1rem; max-width: 52ch; color: var(--paper-dim); font-size: 1.05rem; font-weight: 300; }
  .hero-ctas { display: flex; gap: 0.8rem; margin-top: 2.4rem; flex-wrap: wrap; justify-content: center; }

  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    border: none; cursor: pointer; border-radius: 999px;
    font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.07em; font-size: 0.8rem; font-weight: 700;
    padding: 1rem 2.1rem;
    transition: transform 0.25s cubic-bezier(.16,.8,.24,1), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  }
  .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  .btn-solid { background: var(--accent); color: var(--accent-ink); }
  .btn-solid:hover { transform: translateY(-3px); background: var(--paper); box-shadow: 0 16px 40px rgba(205,241,53,0.32); }
  .btn-ghost {
    background: rgba(242,237,225,0.04); color: var(--paper);
    border: 1px solid var(--line-strong);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .btn-ghost:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent); box-shadow: 0 14px 34px rgba(0,0,0,0.35); }

  .hero-specs { display: flex; gap: clamp(1.2rem, 4vw, 3rem); flex-wrap: wrap; justify-content: center; margin-top: 2.6rem; }
  .spec { font-size: 0.86rem; font-weight: 500; color: var(--paper-dim); display: flex; gap: 0.5rem; align-items: baseline; }
  .spec i { font-family: var(--mono); font-style: normal; font-size: 0.66rem; color: var(--accent); }

  /* stats bar (patrón Profico: Location/Duration/Mentors/Courses) */
  .stats {
    position: relative; z-index: 4;
    width: 100%; max-width: 1080px;
    margin-top: clamp(3rem, 7vh, 5rem);
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
  }
  @media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
  .stat { padding: 1.4rem 1rem 2.2rem; border-left: 1px solid var(--line); }
  .stat:first-child { border-left: none; }
  @media (max-width: 720px) { .stat:nth-child(3) { border-left: none; } }
  .stat .k { font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--paper-faint); }
  .stat .v { font-family: var(--display); font-weight: 500; font-size: 1.1rem; margin-top: 0.4rem; }

  /* ---------- manifiesto ---------- */
  .manifiesto { position: relative; padding: 8.5rem 0; text-align: center; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
  .chant-setup { position: relative; z-index: 2; font-family: var(--mono); font-weight: 300; text-transform: lowercase; letter-spacing: 0.1em; color: var(--paper-faint); font-size: 0.92rem; }
  .chant-word {
    position: relative; z-index: 2;
    font-family: var(--display); font-weight: 700; color: var(--accent);
    font-size: clamp(4.5rem, 19vw, 13rem); line-height: 0.84; letter-spacing: -0.02em;
    margin: 0.3rem 0 0.7rem;
    text-shadow: 0 0 90px rgba(205,241,53,0.3);
  }
  .manifiesto-lines { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 0.9rem; align-items: center; max-width: 560px; margin: 0 auto; padding: 0 1.25rem; }
  .manifiesto-lines p { font-weight: 300; font-size: 1.12rem; color: var(--paper-dim); }
  .manifiesto-lines p b { color: var(--paper); font-weight: 600; }

  /* ---------- section shell ---------- */
  .section { padding: 7.5rem 0; position: relative; }
  .section-head { margin-bottom: 3.5rem; }
  .section-head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.015em; margin: 1.1rem 0 0; text-wrap: balance; }
  .section-head .lead { color: var(--paper-dim); font-weight: 300; font-size: 1.05rem; margin-top: 1rem; max-width: 56ch; }
  .section-head.center { text-align: center; }
  .section-head.center .lead { margin-left: auto; margin-right: auto; }

  /* ---------- gana (glass cards numeradas, patrón Profico) ---------- */
  .gana { position: relative; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--line); }
  .car-head { display: flex; justify-content: flex-end; margin-bottom: 1.2rem; }
  .car-nav { display: flex; gap: 0.5rem; }
  .car-btn {
    width: 44px; height: 44px; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--line-strong); background: rgba(242,237,225,0.04); color: var(--paper);
    font-size: 1rem; transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  }
  .car-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
  .gana-scroller {
    display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 80vw);
    gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 0.25rem 0.25rem 1rem; margin: 0 -0.25rem;
    scrollbar-width: none;
  }
  .gana-scroller::-webkit-scrollbar { display: none; }
  .gana-scroller .gana-card { scroll-snap-align: start; }
  .gana-media {
    position: relative; aspect-ratio: 16 / 9; border-radius: 18px 18px 0 0; overflow: hidden;
    background: linear-gradient(150deg, rgba(242,237,225,0.07), rgba(242,237,225,0.02));
    border-bottom: 1px solid var(--line);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
  }
  .gana-media::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(242,237,225,0.05) 48%, transparent 62%);
    background-size: 220% 100%; animation: shimmer 4.2s ease-in-out infinite;
  }
  .gana-media .ptile { --tint: var(--paper-faint); width: 42px; height: 42px; }
  .gana-card { position: relative; overflow: hidden; padding: 0; display: flex; flex-direction: column; transition: transform 0.4s cubic-bezier(.16,.8,.24,1), border-color 0.4s ease; }
  .gana-body { position: relative; padding: 1.6rem 1.6rem 3.2rem; display: flex; flex-direction: column; gap: 0.8rem; }
  .gana-card:hover { transform: translateY(-6px); border-color: rgba(205,241,53,0.35); }
  .gana-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.005em; margin: 0; }
  .gana-card p { color: var(--paper-dim); font-weight: 300; font-size: 0.95rem; line-height: 1.55; }
  .gana-card .num {
    position: absolute; right: 1.4rem; bottom: 0.9rem;
    font-family: var(--mono); font-size: 1.6rem; font-weight: 300;
    color: var(--paper-faint); opacity: 0.55; letter-spacing: 0.04em;
  }

  /* ---------- pilares ---------- */
  .pilares { display: flex; flex-direction: column; gap: 1.4rem; }
  .pilar {
    position: relative; overflow: hidden;
    padding: 2.6rem clamp(1.5rem, 4vw, 2.8rem);
    transition: border-color 0.4s ease, transform 0.4s cubic-bezier(.16,.8,.24,1);
  }
  .pilar:hover { border-color: rgba(205,241,53,0.3); }
  .pilar-orb {
    position: absolute; width: 380px; height: 380px; border-radius: 50%;
    right: -110px; top: -130px;
    background: radial-gradient(circle at 35% 30%, rgba(242,237,225,0.4), rgba(205,241,53,0.22) 40%, transparent 72%);
    filter: blur(10px);
    opacity: 0; transition: opacity 0.6s ease;
    pointer-events: none;
  }
  .pilar:hover .pilar-orb { opacity: 0.45; }
  .pilar-top { position: relative; z-index: 2; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 1.75rem; cursor: pointer; }
  @media (max-width: 620px) { .pilar-top { grid-template-columns: 44px 1fr; row-gap: 0.75rem; } .pilar-top .pilar-toggle { grid-column: 1 / -1; justify-self: start; } }
  .ptile {
    position: relative; width: 52px; height: 52px; border-radius: 15px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(242,237,225,0.045);
    border: 1px solid rgba(242,237,225,0.13);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(.16,.8,.24,1);
  }
  .ptile svg { width: 24px; height: 24px; color: var(--tint); transition: color 0.35s ease; }
  .ptile--flow { --tint: var(--accent); }
  .ptile--content { --tint: var(--accent-gold); }
  .ptile--brand { --tint: var(--accent-violet); }
  .ptile--tech { --tint: var(--accent-teal); }
  .pilar:hover .ptile, .equipo-cap:hover .ptile, .gana-card:hover .ptile, .aprende-card:hover .ptile {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--tint) 45%, transparent);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 24px color-mix(in srgb, var(--tint) 22%, transparent);
  }
  @media (max-width: 620px) { .ptile { width: 46px; height: 46px; border-radius: 13px; } .ptile svg { width: 21px; height: 21px; } }
  .pilar-name { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: -0.01em; }
  .pilar-hook { font-family: var(--display); font-weight: 400; font-style: italic; color: var(--accent); font-size: 1.05rem; margin-top: 0.35rem; }
  .pilar-toggle {
    font-family: var(--mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--paper-faint); border: 1px solid var(--line-strong); border-radius: 999px;
    padding: 0.5rem 1rem; white-space: nowrap;
    transition: border-color 0.3s ease, color 0.3s ease;
  }
  .pilar:hover .pilar-toggle { color: var(--accent); border-color: rgba(205,241,53,0.4); }
  .pilar-note { position: relative; z-index: 2; color: var(--paper-dim); font-weight: 300; font-size: 0.98rem; max-width: 64ch; margin: 1.2rem 0 0; }

  .pilar-detail {
    position: relative; z-index: 2;
    max-height: 0; overflow: hidden;
    transition: max-height 0.6s cubic-bezier(.16,.8,.24,1), margin-top 0.6s ease;
  }
  .pilar.open .pilar-detail { max-height: 1000px; margin-top: 2.1rem; }
  .servicios { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
  .servicios.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .servicios.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  @media (max-width: 1080px) { .servicios.cols-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
  @media (max-width: 900px) { .servicios.cols-3 { grid-template-columns: 1fr; } }
  @media (max-width: 620px) { .servicios.cols-4 { grid-template-columns: 1fr; } }
  .servicio { background: rgba(14,13,11,0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.55rem; transition: background 0.35s ease; }
  .servicio:hover { background: rgba(33,30,26,0.75); }
  .servicio .nombre { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.005em; }
  .servicio .que-es { font-family: var(--mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--paper-faint); }
  .servicio .gancho { color: var(--paper-dim); font-size: 0.92rem; font-weight: 300; font-style: italic; }
  .tag-row { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.2rem; }
  .tag { font-family: var(--mono); font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--paper-faint); border: 1px solid var(--line); border-radius: 999px; padding: 0.18rem 0.55rem; }

  /* ---------- marquees ---------- */
  .marquees { padding: 5.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; gap: 2.75rem; position: relative; overflow: hidden; }
  .marquee-row { position: relative; overflow: hidden; }
  .marquee-track { display: flex; width: max-content; gap: 3.5rem; animation: scroll-l 34s linear infinite; }
  .marquee-row.rev .marquee-track { animation-name: scroll-r; }
  .marquee-track span {
    font-family: var(--display); font-weight: 700; text-transform: uppercase; white-space: nowrap;
    font-size: clamp(2.2rem, 7vw, 5rem); letter-spacing: -0.01em;
    -webkit-text-stroke: 1px var(--line-strong);
    color: transparent;
  }
  .marquee-row.hi .marquee-track span { color: var(--accent); -webkit-text-stroke: 0; text-shadow: 0 0 50px rgba(205,241,53,0.35); }
  @keyframes scroll-l { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @keyframes scroll-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
  @media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
  .roots-band {
    position: relative; margin: 1rem clamp(1.25rem, 4vw, 4rem) 0; border-radius: 26px; overflow: hidden;
    aspect-ratio: 21 / 8; max-width: 1280px; border: 1px solid var(--line-strong);
    display: flex; align-items: flex-end; justify-content: center;
  }
  @media (min-width: 1360px) { .roots-band { margin-left: auto; margin-right: auto; } }
  @media (max-width: 700px) { .roots-band { aspect-ratio: 16 / 10; } }
  .roots-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,13,11,0.15), rgba(14,13,11,0.55)); }
  .roots-word {
    position: relative; z-index: 2;
    font-family: var(--display); font-weight: 700; white-space: nowrap;
    font-size: clamp(3rem, 10.5vw, 9.5rem); letter-spacing: -0.02em; line-height: 0.8;
    color: var(--accent); mix-blend-mode: screen; opacity: 0.92;
    transform: translateY(0.16em);
    text-shadow: 0 0 80px rgba(205,241,53,0.4);
  }
  .marquee-cap { font-family: var(--mono); font-size: 0.76rem; color: var(--paper-dim); text-align: center; max-width: 62ch; margin: 0.75rem auto 0; padding: 0 1.25rem; }

  /* ---------- audiencia ---------- */
  .aud-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
  .aud-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-top: 3.2rem; padding-top: 3rem; border-top: 1px solid var(--line); }
  @media (max-width: 780px) { .aud-band { grid-template-columns: 1fr; } }
  .aud-picker { display: flex; flex-direction: column; gap: 1.1rem; }
  @media (max-width: 780px) { .aud-grid { grid-template-columns: 1fr; } }
  .aud-text { color: var(--paper-dim); font-weight: 300; font-size: 1.05rem; line-height: 1.65; }
  .aud-text b { color: var(--paper); font-weight: 600; }
  .aud-iso { margin-top: 0; padding: 1.6rem 1.6rem 1.2rem; border: 1px solid var(--line); border-radius: 20px; background: rgba(242,237,225,0.02); }
  .aud-side { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 0.3rem; }
  .aud-quote {
    font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1.32; color: var(--paper);
    border-left: 3px solid var(--accent); padding-left: 1.75rem; margin: 0; text-wrap: balance;
  }
  .aud-tabs { display: flex; gap: 0.6rem; flex-wrap: wrap; }
  .chip {
    font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em;
    border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.55rem 1.1rem;
    color: var(--paper-dim); background: transparent; cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  }
  .chip:hover { color: var(--paper); border-color: var(--paper-dim); transform: translateY(-1px); }
  .chip.active { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); font-weight: 700; }
  .aud-detail { color: var(--paper-dim); font-weight: 300; font-size: 0.98rem; line-height: 1.6; border-top: 1px solid var(--line); padding-top: 1.1rem; transition: opacity 0.25s ease; min-height: 4.2em; }

  /* ---------- equipo ---------- */
  .equipo { background: var(--bg-2); border-top: 1px solid var(--line); }
  .equipo-name { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.01em; }
  .equipo-title { font-family: var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; margin-top: 0.5rem; }
  .equipo-lead { margin-bottom: 3rem; }
  .equipo-desc { color: var(--paper-dim); font-weight: 300; font-size: 1.02rem; max-width: 58ch; margin-top: 1.1rem; line-height: 1.6; }
  .equipo-split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
  @media (max-width: 860px) { .equipo-split { grid-template-columns: 1fr; } }
  .equipo-photo { border-radius: 24px; min-height: 420px; border: 1px solid var(--line); }
  @media (max-width: 860px) { .equipo-photo { min-height: 300px; aspect-ratio: 16 / 10; } }
  .equipo-info { display: flex; flex-direction: column; gap: 1.8rem; justify-content: center; }
  .equipo-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
  .equipo-rows li { display: flex; gap: 1.2rem; align-items: baseline; padding: 1.1rem 0; border-top: 1px solid var(--line); }
  .equipo-rows li:last-child { border-bottom: 1px solid var(--line); }
  .equipo-rows i { font-family: var(--mono); font-style: normal; font-size: 0.66rem; color: var(--accent); }
  .equipo-rows b { font-family: var(--display); font-weight: 600; font-size: 1.1rem; display: block; letter-spacing: -0.005em; }
  .equipo-rows span { color: var(--paper-dim); font-weight: 300; font-size: 0.9rem; }
  .equipo-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.1rem; }
  @media (max-width: 1080px) { .equipo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
  @media (max-width: 560px) { .equipo-grid { grid-template-columns: 1fr; } }
  .equipo-cap {
    padding: 2.2rem 1.85rem 2.4rem;
    display: flex; flex-direction: column; gap: 1rem;
    transition: transform 0.4s cubic-bezier(.16,.8,.24,1), border-color 0.4s ease;
  }
  .equipo-cap:hover { transform: translateY(-6px); border-color: rgba(205,241,53,0.3); }
  .equipo-cap-name { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.005em; }
  .equipo-cap-desc { color: var(--paper-dim); font-weight: 300; font-size: 0.92rem; line-height: 1.55; }

  /* ---------- cta ---------- */
  .cta-wrap { position: relative; padding: 7rem clamp(1.25rem, 4vw, 4rem) 8rem; overflow: hidden; }
  .cta-bg { position: absolute; inset: 0; opacity: 0.4; }
  .cta-wrap::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 2%, rgba(14,13,11,0.45) 40%, rgba(14,13,11,0.55) 70%, var(--bg) 98%); z-index: 1; }
  .cta-panel { position: relative; z-index: 2; }
  .cta-panel { position: relative; padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem); text-align: center; overflow: hidden; max-width: 980px; margin: 0 auto; }
  .cta-panel h2 { position: relative; z-index: 2; font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 6.5vw, 5rem); letter-spacing: -0.015em; margin: 0; }
  .cta-panel .sub { position: relative; z-index: 2; font-weight: 300; font-size: clamp(1.05rem, 2.2vw, 1.4rem); color: var(--paper-dim); margin-top: 1rem; }

  .contact-form { position: relative; z-index: 2; margin-top: 2.75rem; display: flex; flex-direction: column; gap: 1.6rem; align-items: center; }
  .intent-toggle { display: inline-flex; gap: 0.3rem; padding: 0.3rem; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(0,0,0,0.25); flex-wrap: wrap; justify-content: center; }
  .intent-btn { font-family: var(--mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.65rem 1.2rem; border-radius: 999px; border: none; background: transparent; color: var(--paper-dim); cursor: pointer; transition: background 0.25s ease, color 0.25s ease; }
  .intent-btn.active { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; width: 100%; max-width: 560px; }
  .form-grid textarea { grid-column: 1 / -1; resize: vertical; }
  @media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
  .contact-form input, .contact-form textarea {
    font-family: var(--sans); font-size: 0.95rem; color: var(--paper);
    background: rgba(242,237,225,0.06); border: 1px solid var(--line-strong); border-radius: 14px;
    padding: 0.85rem 1.1rem; outline: none;
    transition: border-color 0.25s ease, background 0.25s ease;
  }
  .contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--paper-faint); }
  .contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); background: rgba(242,237,225,0.1); }
  .form-note { font-family: var(--mono); font-size: 0.74rem; color: var(--accent); min-height: 1.2em; }


  /* ---------- tools marquee ---------- */
  .tools { padding: 5rem 0 5.5rem; border-top: 1px solid var(--line); overflow: hidden; }
  .tools-head { text-align: center; margin-bottom: 3rem; padding: 0 1.25rem; }
  .tools-title { font-family: var(--display); font-weight: 500; font-size: clamp(1.35rem, 2.8vw, 2rem); letter-spacing: -0.01em; margin-top: 0.9rem; text-wrap: balance; }
  .tools-track { display: flex; width: max-content; gap: 4rem; align-items: center; animation: scroll-l 50s linear infinite; }
  .tool { display: flex; align-items: center; gap: 0.8rem; color: var(--paper); opacity: 0.82; white-space: nowrap; transition: opacity 0.3s ease; }
  .tool:hover { opacity: 1; }
  .tool svg { width: 32px; height: 32px; flex-shrink: 0; }
  .tool span { font-size: 1.08rem; font-weight: 500; letter-spacing: 0.01em; }

  /* ---------- hook strips ---------- */
  .hook { position: relative; overflow: hidden; padding: 6.5rem 0; border-top: 1px solid var(--line); background: var(--bg-2); }
  .hook-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
  @media (max-width: 780px) { .hook-grid { grid-template-columns: 1fr; } }
  .hook h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 4.5vw, 3.1rem); letter-spacing: -0.015em; margin: 1rem 0 0; text-wrap: balance; }
  .hook-side { display: flex; flex-direction: column; gap: 1.7rem; }
  .hook-side p { color: var(--paper-dim); font-weight: 300; font-size: 1.05rem; line-height: 1.65; }
  .btn-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
  .btn svg { flex-shrink: 0; }

  /* ---------- aprende ---------- */
  .aprende { border-top: 1px solid var(--line); overflow: hidden; }
  .aprende-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
  @media (max-width: 720px) { .aprende-grid { grid-template-columns: 1fr; } }
  .aprende-card { padding: 2.3rem 2.1rem; display: flex; flex-direction: column; gap: 0.8rem; transition: transform 0.4s cubic-bezier(.16,.8,.24,1), border-color 0.4s ease; }
  .aprende-card:hover { transform: translateY(-6px); border-color: rgba(205,241,53,0.3); }
  .aprende-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; margin: 0; letter-spacing: -0.005em; }
  .aprende-card p { color: var(--paper-dim); font-weight: 300; font-size: 0.98rem; line-height: 1.6; }

  /* ---------- pain form ---------- */
  .pain-block { margin-top: 2.4rem; padding: clamp(1.8rem, 4vw, 2.6rem); display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
  @media (max-width: 780px) { .pain-block { grid-template-columns: 1fr; } }
  .pain-head h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; letter-spacing: -0.01em; }
  .pain-head p { color: var(--paper-dim); font-weight: 300; font-size: 0.98rem; margin-top: 0.7rem; }
  .pain-form { display: flex; flex-direction: column; gap: 0.8rem; }
  .pain-form textarea, .pain-form input {
    font-family: var(--sans); font-size: 0.95rem; color: var(--paper);
    background: rgba(242,237,225,0.06); border: 1px solid var(--line-strong); border-radius: 14px;
    padding: 0.85rem 1.1rem; outline: none; resize: vertical;
    transition: border-color 0.25s ease, background 0.25s ease;
  }
  .pain-form textarea::placeholder, .pain-form input::placeholder { color: var(--paper-faint); }
  .pain-form textarea:focus, .pain-form input:focus { border-color: var(--accent); background: rgba(242,237,225,0.1); }
  .pain-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
  .pain-row input { flex: 1; min-width: 200px; }

  /* ---------- media slots (placeholders para foto/video) ---------- */
  .media-slot {
    position: relative; overflow: hidden; border-radius: 24px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(150deg, rgba(242,237,225,0.05), rgba(242,237,225,0.015));
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem;
  }
  .media-slot::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(242,237,225,0.06) 48%, transparent 62%);
    background-size: 220% 100%;
    animation: shimmer 4.2s ease-in-out infinite;
  }
  @keyframes shimmer { 0% { background-position: 130% 0; } 100% { background-position: -90% 0; } }
  @media (prefers-reduced-motion: reduce) { .media-slot::before { animation: none; } }
  .media-slot .ptile { --tint: var(--paper-dim); }
  .media-slot .media-cap { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--paper-faint); }
  .media-band { margin: 0 clamp(1.25rem, 4vw, 4rem); aspect-ratio: 21 / 8; max-width: 1280px; }
  @media (min-width: 1360px) { .media-band { margin-left: auto; margin-right: auto; } }
  @media (max-width: 700px) { .media-band { aspect-ratio: 16 / 9; } }
  .media-wrap { padding: 4.5rem 0; }
  .media-inline { aspect-ratio: 21 / 7; margin-bottom: 2.6rem; }

  /* ---------- modos ---------- */
  .modos { border-top: 1px solid var(--line); }
  .modos-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.1rem; align-items: stretch; }
  @media (max-width: 980px) { .modos-grid { grid-template-columns: 1fr; } }
  .modo { padding: 2.2rem 1.9rem; display: flex; flex-direction: column; gap: 1rem; }
  .modo.featured { border-color: rgba(205,241,53,0.45); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 24px 70px rgba(0,0,0,0.4), 0 0 40px rgba(205,241,53,0.12); }
  .modo-eyebrow { font-family: var(--mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); }
  .modo h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; margin: 0; letter-spacing: -0.01em; }
  .modo-desc { color: var(--paper-dim); font-weight: 300; font-size: 0.95rem; }
  .modo-list { list-style: none; margin: 0.4rem 0 1rem; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
  .modo-list li { color: var(--paper-dim); font-size: 0.9rem; font-weight: 300; display: flex; gap: 0.6rem; }
  .modo-list li::before { content: "→"; color: var(--accent); font-family: var(--mono); font-size: 0.8rem; }
  .modo .btn { align-self: flex-start; }

  /* ---------- journey ---------- */
  .journey { border-top: 1px solid var(--line); background: var(--bg-2); }
  .journey-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.1rem; position: relative; counter-reset: js; }
  @media (max-width: 980px) { .journey-track { grid-template-columns: repeat(2, minmax(0,1fr)); } }
  @media (max-width: 560px) { .journey-track { grid-template-columns: 1fr; } }
  .journey-step { position: relative; padding: 1.8rem 1.6rem 2rem; border: 1px solid var(--line); border-radius: 22px; background: rgba(242,237,225,0.025); display: flex; flex-direction: column; gap: 0.8rem; transition: border-color 0.35s ease, transform 0.35s ease; }
  .journey-step:hover { border-color: rgba(205,241,53,0.3); transform: translateY(-4px); }
  .journey-step::after { content: "→"; position: absolute; right: -1rem; top: 50%; transform: translateY(-50%); color: var(--paper-faint); font-size: 1rem; z-index: 2; }
  .journey-step:last-child::after { content: none; }
  @media (max-width: 980px) { .journey-step::after { content: none; } }
  .j-num { font-family: var(--mono); font-size: 0.68rem; color: var(--accent); letter-spacing: 0.1em; }
  .journey-step h3 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; margin: 0; letter-spacing: -0.005em; }
  .journey-step p { color: var(--paper-dim); font-weight: 300; font-size: 0.92rem; line-height: 1.55; }

  /* ---------- faq ---------- */
  .faq-list { display: flex; flex-direction: column; gap: 0.8rem; }
  .faq-item { border: 1px solid var(--line-strong); border-radius: 18px; background: rgba(242,237,225,0.03); overflow: hidden; transition: border-color 0.3s ease, background 0.3s ease; }
  .faq-item[open] { border-color: rgba(205,241,53,0.35); background: rgba(242,237,225,0.05); }
  .faq-item summary { list-style: none; cursor: pointer; display: flex; gap: 1.1rem; align-items: baseline; padding: 1.3rem 1.5rem; }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-n { font-family: var(--mono); font-size: 0.68rem; color: var(--accent); letter-spacing: 0.06em; }
  .faq-q { font-family: var(--display); font-weight: 500; font-size: 1.05rem; flex: 1; letter-spacing: -0.005em; }
  .faq-x { font-family: var(--mono); font-size: 1.1rem; color: var(--paper-faint); transition: transform 0.3s ease, color 0.3s ease; }
  .faq-item[open] .faq-x { transform: rotate(45deg); color: var(--accent); }
  .faq-a { padding: 0 1.5rem 1.5rem 3.6rem; color: var(--paper-dim); font-weight: 300; font-size: 0.95rem; line-height: 1.6; }
  @media (max-width: 560px) { .faq-a { padding-left: 1.5rem; } }

  /* ---------- footer (estructura tipo Coin Official) ---------- */
  footer { border-top: 1px solid var(--line); background: var(--bg-2); }
  .foot-main {
    display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    padding: 4rem clamp(1.25rem, 4vw, 4rem);
  }
  @media (max-width: 880px) { .foot-main { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .foot-main { grid-template-columns: 1fr; } }
  .foot-mark { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.005em; }
  .foot-posture { font-family: var(--mono); font-size: 0.72rem; color: var(--paper-faint); margin-top: 0.8rem; max-width: 30ch; line-height: 1.7; }
  .foot-col h4 { font-family: var(--mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--paper-faint); margin: 0 0 1.1rem; font-weight: 500; }
  .foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
  .foot-col a { color: var(--paper-dim); font-size: 0.92rem; transition: color 0.25s ease; }
  .foot-col a:hover { color: var(--accent); }
  .newsletter p { color: var(--paper-dim); font-weight: 300; font-size: 0.92rem; margin-bottom: 1rem; }
  .newsletter-row { display: flex; gap: 0.5rem; }
  .newsletter-row input {
    flex: 1; min-width: 0;
    font-family: var(--sans); font-size: 0.9rem; color: var(--paper);
    background: rgba(242,237,225,0.06); border: 1px solid var(--line-strong); border-radius: 999px;
    padding: 0.75rem 1.2rem; outline: none;
    transition: border-color 0.25s ease;
  }
  .newsletter-row input:focus { border-color: var(--accent); }
  .newsletter-row button {
    border: none; cursor: pointer; border-radius: 999px;
    background: var(--accent); color: var(--accent-ink);
    font-family: var(--mono); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    padding: 0 1.3rem;
    transition: background 0.25s ease, transform 0.25s ease;
  }
  .newsletter-row button:hover { background: var(--paper); transform: translateY(-1px); }
  .foot-giant {
    font-family: var(--display); font-weight: 700; text-align: center;
    font-size: clamp(3rem, 11.5vw, 11rem); line-height: 0.78; letter-spacing: -0.02em;
    white-space: nowrap; overflow: hidden;
    background: linear-gradient(180deg, rgba(205,241,53,0.5), rgba(205,241,53,0.03) 90%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    transform: translateY(0.14em);
    pointer-events: none; user-select: none;
  }
  .foot-bottom {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
    padding: 1.4rem clamp(1.25rem, 4vw, 4rem);
    border-top: 1px solid var(--line);
    font-family: var(--mono); font-size: 0.66rem; color: var(--paper-faint); letter-spacing: 0.04em;
  }


  /* ===== Crudo Mag ===== */
  #page-mag .mag-hero { position: relative; padding: 9rem 0 4rem; overflow: hidden; }
  #page-mag .mag-hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: 0.95; letter-spacing: -0.02em; margin: 1.4rem 0 0; }
  #page-mag .mag-hero h1 em { font-style: normal; color: var(--accent); }
  #page-mag .mag-body { padding: 2rem 0 6rem; }
  .mag-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
  .mag-filters .chip { cursor: pointer; background: transparent; }
  .mag-filters .chip.active { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); font-weight: 700; }
  .mag-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.2rem; }
  @media (max-width: 1000px) { .mag-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
  @media (max-width: 620px) { .mag-grid { grid-template-columns: 1fr; } }
  .mag-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--bg-raised); transition: transform 0.35s cubic-bezier(.16,.8,.24,1), border-color 0.35s ease; cursor: pointer; }
  .mag-card:hover { transform: translateY(-6px); border-color: rgba(205,241,53,0.35); }
  .mag-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; min-height: 340px; }
  @media (max-width: 800px) { .mag-card.featured { grid-template-columns: 1fr; } }
  .mag-img { aspect-ratio: 16 / 9; background-size: cover; background-position: center; position: relative; }
  .mag-card.featured .mag-img { aspect-ratio: auto; height: 100%; min-height: 220px; }
  .mag-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(14,13,11,0.35)); }
  .mag-content { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
  .mag-card.featured .mag-content { justify-content: center; padding: 2.2rem; }
  .mag-tags { display: flex; gap: 0.5rem; align-items: center; }
  .mag-cat { font-family: var(--mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 0.25rem 0.65rem; font-weight: 700; }
  .mag-time { font-family: var(--mono); font-size: 0.62rem; color: var(--paper-faint); }
  .mag-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
  .mag-card.featured h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
  .mag-card p { color: var(--paper-dim); font-weight: 300; font-size: 0.92rem; line-height: 1.55; }
  .mag-read { font-family: var(--mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-top: auto; }
  #page-mag .mag-cta { padding: 5rem 0 7rem; border-top: 1px solid var(--line); }
  #page-mag .mag-cta h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0; }

  /* ===== artículo ===== */
  #page-art .art-wrap { padding: 8.5rem 0 5rem; }
  .art-back { font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--paper-dim); }
  .art-back:hover { color: var(--accent); }
  .art-meta { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-top: 2rem; }
  .art-title { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.015em; margin: 0.8rem 0 0; text-wrap: balance; }
  .art-img { aspect-ratio: 21 / 9; border-radius: 22px; margin: 2.2rem 0; border: 1px solid var(--line); }
  .art-body { color: var(--paper-dim); font-weight: 300; font-size: 1.05rem; line-height: 1.75; }
  .art-body h3 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--paper); margin: 2.2rem 0 0.8rem; letter-spacing: -0.005em; }
  .art-body p { margin-bottom: 1.1rem; }
  .art-body b { color: var(--paper); font-weight: 600; }
  .art-foot { margin-top: 3rem; padding: 2rem; }
  .art-foot p { color: var(--paper-dim); font-weight: 300; }

  /* ===== página starters (scoped) ===== */
  .page { display: none; }
  .page.active { display: block; animation: pagein 0.55s cubic-bezier(.16,.8,.24,1); }
  @keyframes pagein { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { .page.active { animation: none; } }
  .bg-cover { background-size: cover; background-position: center; }
  .media-slot.bg-cover::before { display: none; }
  .media-slot.bg-cover { min-height: 260px; }
  .gana-media.bg-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,13,11,0) 50%, rgba(14,13,11,0.55)); }

  #page-empezar .hero-s { position: relative; min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 8.5rem 0 4rem; overflow: hidden; }
  #page-empezar .hero-bg { position: absolute; inset: 0; opacity: 0.55; }
  #page-empezar .hero-s::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,13,11,0.55), rgba(14,13,11,0.25) 45%, var(--bg) 96%); }
  #page-empezar .hero-s .wrap { position: relative; z-index: 3; }
  #page-empezar .hero-s h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.8rem, 7.5vw, 5.6rem); line-height: 0.95; letter-spacing: -0.02em; margin: 1.4rem 0 0; max-width: 14ch; }
  #page-empezar .hero-s h1 em { font-style: normal; color: var(--accent); text-shadow: 0 0 40px rgba(205,241,53,0.4); }
  #page-empezar .hero-s .hero-sub { margin-top: 1.3rem; max-width: 54ch; color: var(--paper-dim); font-weight: 300; font-size: 1.08rem; }
  #page-empezar .hero-s .btn-row { margin-top: 2.2rem; }

  #page-empezar .pains { border-top: 1px solid var(--line); background: var(--bg-2); padding: 3.2rem 0; }
  #page-empezar .pains-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.1rem; }
  @media (max-width: 860px) { #page-empezar .pains-grid { grid-template-columns: 1fr; } }
  #page-empezar .pain-item { display: flex; gap: 0.9rem; align-items: baseline; color: var(--paper-dim); font-weight: 300; font-size: 0.98rem; }
  #page-empezar .pain-item .x { font-family: var(--mono); color: var(--accent); font-size: 0.8rem; }

  #page-empezar .lime { background: var(--accent); color: #1d1c15; padding: 6rem 0 6.5rem; position: relative; }
  #page-empezar .lime .eyebrow { color: rgba(29,28,21,0.6); }
  #page-empezar .lime h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.015em; margin: 1rem 0 0; max-width: 18ch; }
  #page-empezar .lime .lead { color: rgba(29,28,21,0.75); font-weight: 400; font-size: 1.05rem; margin-top: 1rem; max-width: 56ch; }
  #page-empezar .starters-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; margin-top: 3rem; }
  @media (max-width: 1080px) { #page-empezar .starters-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
  @media (max-width: 560px) { #page-empezar .starters-grid { grid-template-columns: 1fr; } }
  #page-empezar .starter { background: #fdfcf9; border-radius: 20px; padding: 1.5rem 1.4rem 1.2rem; display: flex; flex-direction: column; gap: 0.7rem; border: 1px solid rgba(29,28,21,0.08); transition: transform 0.35s cubic-bezier(.16,.8,.24,1), box-shadow 0.35s ease; }
  #page-empezar .starter:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(29,28,21,0.18); }
  #page-empezar .starter-top { display: flex; justify-content: space-between; align-items: center; }
  #page-empezar .starter-cat { font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(29,28,21,0.55); }
  #page-empezar .starter-plus { width: 34px; height: 34px; border-radius: 999px; border: 1.5px solid #1d1c15; display: flex; align-items: center; justify-content: center; color: #1d1c15; transition: background 0.25s, color 0.25s, transform 0.25s; }
  #page-empezar .starter-plus:hover { background: #1d1c15; color: var(--accent); transform: rotate(90deg); }
  #page-empezar .starter-plus .lu { width: 16px; height: 16px; }
  #page-empezar .starter h3 { font-family: var(--display); font-weight: 600; font-size: 1.32rem; letter-spacing: -0.01em; margin: 0; color: #1d1c15; }
  #page-empezar .starter p { color: rgba(29,28,21,0.7); font-size: 0.9rem; line-height: 1.5; flex: 1; }
  #page-empezar .starter-meta { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid rgba(29,28,21,0.1); }
  #page-empezar .s-dur { font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; color: #1d1c15; background: rgba(29,28,21,0.07); border-radius: 999px; padding: 0.3rem 0.7rem; }
  #page-empezar .s-go { font-family: var(--mono); font-size: 0.62rem; color: rgba(29,28,21,0.5); transition: color 0.25s ease, transform 0.25s ease; }
  #page-empezar .starter:hover .s-go { color: #1d1c15; }
  #page-empezar .starter-iso svg { width: 100%; height: auto; display: block; }

  #page-empezar .lime-band { position: relative; margin-top: 2.6rem; border-radius: 22px; aspect-ratio: 21 / 7; overflow: hidden; display: flex; align-items: flex-end; padding: 1.4rem; box-shadow: 0 24px 60px rgba(29,28,21,0.25); }
  #page-empezar .lime-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14,13,11,0.55)); }
  #page-empezar .lime-band-cap { position: relative; z-index: 2; font-family: var(--mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--paper); }
  @media (max-width: 700px) { #page-empezar .lime-band { aspect-ratio: 16 / 10; } }
  #page-empezar .steps { padding: 6rem 0; border-bottom: 1px solid var(--line); }
  #page-empezar .steps h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.015em; margin: 1rem 0 0; }
  #page-empezar .steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.1rem; margin-top: 2.8rem; }
  @media (max-width: 860px) { #page-empezar .steps-grid { grid-template-columns: 1fr; } }
  #page-empezar .step { border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem 1.6rem; background: rgba(242,237,225,0.025); }
  #page-empezar .step .n { font-family: var(--mono); font-size: 0.68rem; color: var(--accent); letter-spacing: 0.1em; }
  #page-empezar .step h3 { font-family: var(--display); font-weight: 600; font-size: 1.25rem; margin: 0.7rem 0 0.5rem; }
  #page-empezar .step p { color: var(--paper-dim); font-weight: 300; font-size: 0.95rem; }
  #page-empezar .steps .media-slot { margin-top: 2.6rem; }

  #page-empezar .bridge { padding: 6rem 0; text-align: center; position: relative; overflow: hidden; }
  #page-empezar .bridge h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.015em; margin: 0; position: relative; z-index: 2; }
  #page-empezar .bridge p { color: var(--paper-dim); font-weight: 300; margin-top: 1rem; position: relative; z-index: 2; }
  #page-empezar .bridge .btn-row { justify-content: center; position: relative; z-index: 2; margin-top: 2.2rem; }

  .bg-img1 { background-image: url(/assets/img/img1-obsidiana.jpg); }
  .bg-img2 { background-image: url(/assets/img/img2-engranajes.jpg); }
  .bg-img3 { background-image: url(/assets/img/img3-piedra.jpg); }
  .bg-img4 { background-image: url(/assets/img/img4-tunel.jpg); }
  .bg-img5 { background-image: url(/assets/img/img5-estudio.jpg); }
  .bg-img10 { background-image: url(/assets/img/img10-bodegon.jpg); }
  .bg-img11 { background-image: url(/assets/img/img11-evento.jpg); }
  .bg-img9 { background-image: url(/assets/img/img9-retrato.jpg); }
  .bg-img8 { background-image: url(/assets/img/img8-manos.jpg); }
  .bg-img7 { background-image: url(/assets/img/img7-equipo.jpg); }
  .bg-img6 { background-image: url(/assets/img/img6-concreto.jpg); }


/* ===== capa de producción (Vercel) ===== */
.progress-bar { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--accent); z-index: 200; box-shadow: 0 0 12px rgba(205,241,53,0.6); transition: width 0.08s linear; }

header.nav { transition: transform 0.4s cubic-bezier(.16,.8,.24,1), background 0.3s ease; }
header.nav.hidden { transform: translateY(-110%); }
header.nav.scrolled { background: rgba(14,13,11,0.82); }

.mag-card .mag-img, .gana-card .gana-media { transition: transform 0.7s cubic-bezier(.16,.8,.24,1); will-change: transform; }
.mag-card:hover .mag-img, .gana-card:hover .gana-media { transform: scale(1.055); }

[data-parallax] { will-change: background-position; }

.marquee-row:hover .marquee-track, .tools-row:hover .tools-track { animation-play-state: paused; }

.btn:active, .nav-cta:active, .car-btn:active { transform: translateY(0) scale(0.97); }

.equipo-photo { transition: transform 0.8s cubic-bezier(.16,.8,.24,1); }
.equipo-split:hover .equipo-photo { transform: scale(1.02); }

html:focus-within { scroll-behavior: smooth; }


/* ===== logo real ===== */
.logo-img { height: 34px; width: auto; display: block; }
header.nav .nav-mark { display: flex; align-items: center; }
.hero-logo { width: min(680px, 86vw); height: auto; display: block; margin: 1.6rem auto 0; filter: drop-shadow(0 10px 60px rgba(0,0,0,0.5)); }
.foot-logo { height: 44px; width: auto; display: block; }


/* ===================== STARTERS v2 (patrón tennis: light section) ===================== */
.starters-s { background: #f3efe6; color: #1d1c15; padding: 6rem 0 6.5rem; }
.starters-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.6rem; flex-wrap: wrap; }
.starters-s .eyebrow-dark { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(29,28,21,0.55); }
.starters-s h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.02em; margin: 0.8rem 0 0; color: #1d1c15; max-width: 16ch; }
.tcar-btn { width: 46px; height: 46px; border-radius: 999px; border: none; cursor: pointer; background: #1d1c15; color: #f3efe6; font-size: 1.05rem; transition: transform 0.25s ease, background 0.25s ease; }
.tcar-btn:hover { transform: translateY(-2px); background: #000; }

.tcards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.25rem; margin: 0 -0.25rem; scrollbar-width: none; }
.tcards::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) { .tcards { grid-auto-columns: minmax(0, 1fr); grid-template-columns: repeat(3, 1fr); grid-auto-flow: row; } .tcards .tcard:nth-child(n+4) { display: none; } }

.tcard { scroll-snap-align: start; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; background: #fff; box-shadow: 0 2px 0 rgba(29,28,21,0.04); transition: transform 0.4s cubic-bezier(.16,.8,.24,1), box-shadow 0.4s ease; }
.tcard:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(29,28,21,0.16); }
.tcard-head { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; }
.tcard[data-color="lima"] .tcard-head { background: #cdf135; }
.tcard[data-color="lavanda"] .tcard-head { background: #e9ddfb; }
.tcard[data-color="dorado"] .tcard-head { background: #f6d97a; }
.tcard[data-color="azul"] .tcard-head { background: #bfe0f2; }
.tcard-tags { display: flex; gap: 0.5rem; }
.tcard-dur, .tcard-cat { font-family: var(--mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.32rem 0.7rem; border-radius: 999px; }
.tcard-dur { background: rgba(29,28,21,0.85); color: #fff; }
.tcard-cat { background: rgba(255,255,255,0.6); color: #1d1c15; }
.tcard-head h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; margin: 0.2rem 0 0; color: #1d1c15; letter-spacing: -0.01em; }
.tcard-head p { color: rgba(29,28,21,0.72); font-size: 0.92rem; line-height: 1.5; }
.tcard-photo { position: relative; aspect-ratio: 4 / 3.4; background-size: cover; background-position: center top; display: flex; align-items: flex-end; padding: 1.1rem; }
.tcard-go { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.92); color: #1d1c15; border-radius: 999px; padding: 0.7rem 1.1rem; font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; backdrop-filter: blur(6px); transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease; }
.tcard-go .lu { width: 15px; height: 15px; }
.tcard:hover .tcard-go { background: #1d1c15; color: #cdf135; transform: translateX(3px); }

.bg-magcafe { background-image: url(/assets/img/mag-cafe.jpg); }
.bg-magdatos { background-image: url(/assets/img/mag-datos.jpg); }
.bg-por1 { background-image: url(/assets/img/por1-lima.jpg); }
.bg-por3 { background-image: url(/assets/img/por3-dorado.jpg); }


/* ===== Mag teaser (home) ===== */
.magteaser { border-top: 1px solid var(--line); }
.magteaser-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.magteaser-head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -0.015em; margin: 1rem 0 0; }
.magteaser-head .lead { color: var(--paper-dim); font-weight: 300; margin-top: 0.9rem; max-width: 52ch; }
.magteaser-head .btn { white-space: nowrap; }
.magteaser-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 1.2rem; }
@media (max-width: 900px) { .magteaser-grid { grid-template-columns: 1fr 1fr; } .mt-big { grid-column: 1 / -1; } }
@media (max-width: 560px) { .magteaser-grid { grid-template-columns: 1fr; } }
.mt-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--bg-raised); transition: transform 0.4s cubic-bezier(.16,.8,.24,1), border-color 0.4s ease; }
.mt-card:hover { transform: translateY(-6px); border-color: rgba(205,241,53,0.4); }
.mt-photo { aspect-ratio: 16/10; transition: transform 0.7s cubic-bezier(.16,.8,.24,1); }
.mt-big { grid-row: span 1; }
.mt-big .mt-photo { aspect-ratio: 16/9; }
.mt-card:hover .mt-photo { transform: scale(1.05); }
.mt-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.mt-cat { font-family: var(--mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 0.25rem 0.65rem; width: fit-content; font-weight: 700; }
.mt-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.005em; margin: 0; text-wrap: balance; }
.mt-big h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.mt-read { font-family: var(--mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-top: auto; }


/* ===== Crudo Mag page upgrade ===== */
#page-mag .mag-hero { padding: 9.5rem 0 3rem; }
#page-mag .mag-hero h1 { font-size: clamp(3rem, 9vw, 6.5rem); }
.mag-grid { gap: 1.4rem; }
.mag-card { border-radius: 24px; }
.mag-card.featured { min-height: 400px; }
.mag-card .mag-img { transition: transform 0.7s cubic-bezier(.16,.8,.24,1); }
.mag-card:hover .mag-img { transform: scale(1.05); }
.mag-card h3 { font-size: 1.4rem; }
.mag-card.featured h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.mag-cat { padding: 0.3rem 0.75rem; }

.bg-wrooftop { background-image: url(/assets/img/w-rooftop.jpg); }
.bg-wproduccion { background-image: url(/assets/img/w-produccion.jpg); }
.bg-wdiseno { background-image: url(/assets/img/w-diseno.jpg); }
.bg-por2 { background-image: url(/assets/img/por2-lavanda.jpg); }
.bg-por4 { background-image: url(/assets/img/por4-azul.jpg); }


/* ================== MENÚ MÓVIL ================== */
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 60; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--paper); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 800px) { .nav-burger { display: flex; } .nav-cta { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: rgba(14,13,11,0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 6.5rem clamp(1.5rem, 6vw, 3rem) 3rem;
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mm-links { display: flex; flex-direction: column; }
.mm-links a {
  font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 8vw, 2.6rem);
  letter-spacing: -0.01em; padding: 0.55rem 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 1rem;
  transform: translateY(14px); opacity: 0; transition: transform 0.4s cubic-bezier(.16,.8,.24,1), opacity 0.4s ease, color 0.25s ease;
}
.mobile-menu.open .mm-links a { transform: none; opacity: 1; }
.mm-links a:nth-child(1){transition-delay:.05s} .mm-links a:nth-child(2){transition-delay:.1s} .mm-links a:nth-child(3){transition-delay:.15s} .mm-links a:nth-child(4){transition-delay:.2s} .mm-links a:nth-child(5){transition-delay:.25s} .mm-links a:nth-child(6){transition-delay:.3s} .mm-links a:nth-child(7){transition-delay:.35s}
.mm-links a:hover { color: var(--accent); }
.mm-links i { font-family: var(--mono); font-style: normal; font-size: 0.7rem; color: var(--accent); }
.mm-foot .btn { width: 100%; }

/* ================== HERO INTRO COREOGRAFIADO ================== */
@keyframes introUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes ringIn { from { opacity: 0; transform: translate(-50%, -50%) scaleY(0.62) scale(0.85); } to { opacity: 1; transform: translate(-50%, -50%) scaleY(0.62) scale(1); } }
body.anim .hero-inner > * { opacity: 0; animation: introUp 0.9s cubic-bezier(.16,.8,.24,1) forwards; }
body.anim .hero-inner > *:nth-child(1) { animation-delay: 0.1s; }
body.anim .hero-inner > *:nth-child(2) { animation-delay: 0.25s; }
body.anim .hero-inner > *:nth-child(3) { animation-delay: 0.4s; }
body.anim .hero-inner > *:nth-child(4) { animation-delay: 0.5s; }
body.anim .hero-inner > *:nth-child(5) { animation-delay: 0.62s; }
body.anim .hero-inner > *:nth-child(6) { animation-delay: 0.74s; }
body.anim .hero .ring { animation: ringspin 30s linear infinite, ringIn 1.4s cubic-bezier(.16,.8,.24,1) both; }

/* ================== STAGGER EN GRIDS ================== */
body.anim .equipo-rows li, body.anim .journey-step, body.anim .modo, body.anim .tcard, body.anim .mag-card, body.anim .mt-card, body.anim .faq-item, body.anim .servicio {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(.16,.8,.24,1), transform 0.7s cubic-bezier(.16,.8,.24,1);
}
body.anim .stagger-in > * { opacity: 1 !important; transform: none !important; }
body.anim .stagger-in > *:nth-child(1){transition-delay:.03s} body.anim .stagger-in > *:nth-child(2){transition-delay:.09s} body.anim .stagger-in > *:nth-child(3){transition-delay:.15s} body.anim .stagger-in > *:nth-child(4){transition-delay:.21s} body.anim .stagger-in > *:nth-child(5){transition-delay:.27s} body.anim .stagger-in > *:nth-child(6){transition-delay:.33s} body.anim .stagger-in > *:nth-child(7){transition-delay:.39s} body.anim .stagger-in > *:nth-child(8){transition-delay:.45s} body.anim .stagger-in > *:nth-child(9){transition-delay:.51s} body.anim .stagger-in > *:nth-child(10){transition-delay:.57s}

/* ================== MARQUEE EDGE MASKS ================== */
.marquee-row, .tools-row, .tools-track { }
.marquee-row, .tools-row { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

/* ================== BOTONES: SHINE SWEEP ================== */
.btn-solid, .nav-cta { position: relative; overflow: hidden; }
.btn-solid::after, .nav-cta::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg); transition: left 0.55s cubic-bezier(.16,.8,.24,1); pointer-events: none;
}
.btn-solid:hover::after, .nav-cta:hover::after { left: 130%; }

/* ================== SCROLLSPY NAV ================== */
.nav-links a.active { color: var(--accent); background: rgba(205,241,53,0.08); }

/* ================== FOLIOS EDITORIALES ================== */
.folio {
  position: absolute; top: 2rem; right: clamp(1.25rem, 4vw, 4rem);
  font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--paper-faint); pointer-events: none; user-select: none;
  display: flex; align-items: center; gap: 0.6rem;
}
.folio::before { content: ""; width: 22px; height: 1px; background: var(--paper-faint); opacity: 0.5; }
.starters-s .folio { color: rgba(29,28,21,0.4); }
.starters-s .folio::before { background: rgba(29,28,21,0.35); }

/* ================== FAQ SUAVE ================== */
.faq-a { animation: none; }
.faq-item[open] .faq-a { animation: faqIn 0.45s cubic-bezier(.16,.8,.24,1); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ================== CURSOR PROPIO (desktop) ================== */
@media (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
  .cur-dot, .cur-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 300; border-radius: 50%; }
  .cur-dot { width: 6px; height: 6px; background: var(--accent); transform: translate(-50%, -50%); }
  .cur-ring { width: 34px; height: 34px; border: 1.5px solid rgba(205,241,53,0.55); transform: translate(-50%, -50%); transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease; }
  .cur-ring.grow { width: 58px; height: 58px; border-color: var(--accent); background: rgba(205,241,53,0.08); }
}

/* ================== CONTADOR STATS ================== */
.stat .v b { font-variant-numeric: tabular-nums; font-weight: 500; }


/* guard: nunca scroll horizontal */
html { overflow-x: clip; }
header.nav, .mobile-menu, .grain, .progress-bar { max-width: 100vw; }


/* ==================== PÁGINAS INTERNAS ==================== */
/* Sub-hero base */
.sub-hero { position: relative; overflow: hidden; padding: 10rem 0 4.5rem; }
.sub-hero--dark { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.sub-hero-inner { position: relative; z-index: 2; max-width: 900px; }
.sub-hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.0; letter-spacing: -0.02em; margin: 1.2rem 0 0; text-wrap: balance; }
.sub-hero-lead { color: var(--paper-dim); font-weight: 300; font-size: 1.12rem; line-height: 1.6; margin-top: 1.4rem; max-width: 62ch; }
.sub-hero-stats { display: flex; gap: clamp(1.5rem, 5vw, 3.5rem); margin-top: 2.8rem; flex-wrap: wrap; }
.sub-hero-stats div { display: flex; flex-direction: column; }
.sub-hero-stats b { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); color: var(--accent); line-height: 1; }
.sub-hero-stats span { font-family: var(--mono); font-size: 0.72rem; color: var(--paper-dim); margin-top: 0.5rem; max-width: 22ch; }

/* Servicios: pilares alternados con foto grande */
.svc-pillar { padding: 5.5rem 0; }
.svc-pillar--alt { background: var(--cream); color: var(--ink); }
.svc-pillar-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.svc-pillar-grid.reverse { grid-template-columns: 1.1fr 0.9fr; }
.svc-pillar-grid.reverse .svc-pillar-media { order: 2; }
@media (max-width: 880px) { .svc-pillar-grid, .svc-pillar-grid.reverse { grid-template-columns: 1fr; } .svc-pillar-grid.reverse .svc-pillar-media { order: 0; } }
.svc-pillar-media { border-radius: 26px; aspect-ratio: 4/5; min-height: 340px; box-shadow: 0 30px 70px rgba(0,0,0,0.35); }
.svc-pillar--alt .svc-pillar-media { box-shadow: 0 30px 70px rgba(29,28,21,0.18); }
.svc-tag { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); }
.svc-pillar--alt .svc-tag { color: var(--accent-deep); }
.svc-pillar-body h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.015em; margin: 0.8rem 0 0; }
.svc-lead { font-size: 1.05rem; line-height: 1.6; margin-top: 1rem; color: var(--paper-dim); font-weight: 300; }
.svc-pillar--alt .svc-lead { color: rgba(29,28,21,0.72); }
.svc-list { margin-top: 2rem; display: flex; flex-direction: column; }
.svc-item { padding: 1.3rem 0; border-top: 1px solid var(--line); }
.svc-pillar--alt .svc-item { border-top-color: rgba(29,28,21,0.12); }
.svc-item h3 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; margin: 0; letter-spacing: -0.005em; }
.svc-item p { color: var(--paper-dim); font-weight: 300; font-size: 0.95rem; margin-top: 0.4rem; line-height: 1.55; }
.svc-pillar--alt .svc-item p { color: rgba(29,28,21,0.65); }

.svc-tech { padding: 5.5rem 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc-tech-inner { max-width: 760px; }
.svc-tech-inner h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.015em; margin: 1rem 0 0; text-wrap: balance; }
.svc-tech-inner p { color: var(--paper-dim); font-weight: 300; font-size: 1.05rem; line-height: 1.65; margin: 1.2rem 0 1.8rem; }

.svc-cta { padding: 5rem 0 6rem; }
.svc-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; border: 1px solid var(--line-strong); border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); background: var(--glass-bg); }
.svc-cta-inner h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0; letter-spacing: -0.01em; }
.svc-cta-inner p { color: var(--paper-dim); font-weight: 300; margin-top: 0.6rem; }
.svc-cta-btns { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* El Estudio */
.est-hero { position: relative; min-height: 82vh; display: flex; align-items: flex-end; overflow: hidden; padding-bottom: 4rem; }
.est-hero-photo { position: absolute; inset: 0; }
.est-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,13,11,0.35) 0%, rgba(14,13,11,0.55) 55%, var(--bg) 100%); }
.est-hero-inner { position: relative; z-index: 2; max-width: 900px; padding-top: 8rem; }
.est-hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 0.98; letter-spacing: -0.02em; margin: 1.2rem 0 0; text-wrap: balance; }
.est-hero-lead { color: var(--paper); font-weight: 300; font-size: 1.14rem; line-height: 1.6; margin-top: 1.4rem; max-width: 60ch; }
.est-manifesto { padding: 5.5rem 0; }
.est-manifesto-inner { max-width: 880px; display: flex; flex-direction: column; }
.est-line { display: grid; grid-template-columns: 3rem 1fr; gap: 1.5rem; padding: 1.8rem 0; border-top: 1px solid var(--line); align-items: baseline; }
.est-line:last-child { border-bottom: 1px solid var(--line); }
.est-line i { font-family: var(--mono); font-style: normal; font-size: 0.8rem; color: var(--accent); }
.est-line p { font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.3; letter-spacing: -0.01em; }
.est-line b { font-weight: 600; color: var(--accent); }

.est-light { background: var(--cream); color: var(--ink); }
.est-light .eyebrow, .est-light .pill-eyebrow { color: var(--accent-deep); }
.est-light .pill-eyebrow { border-color: rgba(29,28,21,0.2); background: rgba(29,28,21,0.04); }
.est-light .section-head h2, .est-light h2 { color: var(--ink); }
.est-light .lead { color: rgba(29,28,21,0.65); }

.est-order { padding: 5.5rem 0; }
.est-order-title { font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 4.5vw, 3rem); letter-spacing: -0.015em; margin-top: 0.8rem; }
.est-order-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3rem; }
@media (max-width: 900px) { .est-order-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .est-order-row { grid-template-columns: 1fr; } }
.est-order-step { padding: 1.6rem; border: 1px solid rgba(29,28,21,0.12); border-radius: 20px; background: #fff; }
.est-order-step span { font-family: var(--mono); font-size: 0.7rem; color: var(--accent-deep); }
.est-order-step h3 { font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin: 0.7rem 0 0.4rem; color: var(--ink); }
.est-order-step p { color: rgba(29,28,21,0.65); font-weight: 300; font-size: 0.92rem; line-height: 1.5; }

.est-team { padding: 5.5rem 0; }
.est-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 3rem; }
@media (max-width: 900px) { .est-team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .est-team-grid { grid-template-columns: 1fr; } }
.est-member { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--bg-raised); transition: transform 0.4s cubic-bezier(.16,.8,.24,1), border-color 0.4s ease; }
.est-member:hover { transform: translateY(-6px); border-color: rgba(205,241,53,0.35); }
.est-member-photo { aspect-ratio: 4/5; background-position: center top; }
.est-member h3 { font-family: var(--display); font-weight: 600; font-size: 1.1rem; margin: 1.1rem 1.3rem 0; }
.est-member p { color: var(--paper-dim); font-weight: 300; font-size: 0.9rem; margin: 0.4rem 1.3rem 1.4rem; line-height: 1.5; }

.est-frameworks { padding: 5.5rem 0; }
.est-fw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 3rem; }
@media (max-width: 820px) { .est-fw-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .est-fw-grid { grid-template-columns: 1fr; } }
.est-fw { padding: 1.5rem; border: 1px solid rgba(29,28,21,0.12); border-radius: 18px; background: #fff; }
.est-fw b { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.est-fw span { font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-deep); display: block; margin-top: 0.2rem; }
.est-fw p { color: rgba(29,28,21,0.6); font-weight: 300; font-size: 0.9rem; margin-top: 0.7rem; }

/* Aprendé */
.apr-tracks { padding: 5.5rem 0; }
.apr-track-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
@media (max-width: 900px) { .apr-track-grid { grid-template-columns: 1fr; } }
.apr-track { padding: 2rem; border-radius: 22px; display: flex; flex-direction: column; gap: 1rem; color: var(--ink); }
.apr-track[data-color="lima"] { background: #cdf135; }
.apr-track[data-color="lavanda"] { background: #e9ddfb; }
.apr-track[data-color="dorado"] { background: #f6d97a; }
.apr-track-head span { font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(29,28,21,0.6); }
.apr-track-head h3 { font-family: var(--display); font-weight: 600; font-size: 1.6rem; margin: 0.3rem 0 0; color: var(--ink); }
.apr-track p { color: rgba(29,28,21,0.72); font-size: 0.95rem; line-height: 1.55; flex: 1; }
.apr-go { font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--ink); }
.apr-go:hover { text-decoration: underline; }

.apr-free { padding: 5.5rem 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.apr-free-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 3rem; }
@media (max-width: 900px) { .apr-free-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .apr-free-grid { grid-template-columns: 1fr; } }
.apr-res { border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem; display: flex; flex-direction: column; gap: 0.8rem; transition: transform 0.4s cubic-bezier(.16,.8,.24,1), border-color 0.4s ease; background: var(--bg-raised); }
.apr-res:hover { transform: translateY(-6px); border-color: rgba(205,241,53,0.4); }
.apr-res-tag { font-family: var(--mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 0.25rem 0.65rem; width: fit-content; font-weight: 700; }
.apr-res h3 { font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
.apr-res p { color: var(--paper-dim); font-weight: 300; font-size: 0.9rem; }
.apr-res-go { font-family: var(--mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-top: auto; }
.apr-res--mag { background: linear-gradient(150deg, rgba(205,241,53,0.12), rgba(205,241,53,0.02)); border-color: rgba(205,241,53,0.3); }

.apr-community { padding: 5.5rem 0; }
.apr-comm-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 820px) { .apr-comm-inner { grid-template-columns: 1fr; } }
.apr-comm-photo { border-radius: 26px; aspect-ratio: 4/3; box-shadow: 0 30px 70px rgba(29,28,21,0.18); }
.apr-comm-body h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.015em; margin: 1rem 0 0; color: var(--ink); }
.apr-comm-body p { color: rgba(29,28,21,0.68); font-weight: 300; font-size: 1rem; line-height: 1.6; margin: 1rem 0 1.6rem; }
.apr-news input { background: #fff; border-color: rgba(29,28,21,0.2); color: var(--ink); }
.apr-news button { background: var(--ink); color: #fff; }


/* ===== Artículo estilo Journal (patrón Riot NYC) ===== */
#page-art .art-wrap { padding: 8.5rem 0 5rem; }
.art-top { max-width: 820px; }
#page-art .art-img { max-width: 1100px; margin: 2.4rem auto; }
.art-grid { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: clamp(2rem, 5vw, 4rem); align-items: start; justify-content: center; }
@media (max-width: 900px) { .art-grid { grid-template-columns: 1fr; } .art-toc { display: none !important; } }
.art-toc { position: sticky; top: 6.5rem; }
.art-toc-label { font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--paper-faint); display: block; margin-bottom: 1rem; }
.art-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: flex; flex-direction: column; gap: 0.7rem; border-left: 1px solid var(--line); }
.art-toc li { counter-increment: toc; }
.art-toc a { display: flex; gap: 0.6rem; padding-left: 1rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--paper-dim); font-size: 0.86rem; line-height: 1.4; transition: color 0.25s ease, border-color 0.25s ease; }
.art-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 0.66rem; color: var(--accent); }
.art-toc a:hover { color: var(--paper); border-left-color: var(--accent); }
#page-art .art-body { max-width: 720px; }
#page-art .art-body h3 { scroll-margin-top: 6rem; }


/* ==================== CRUDO MAG · CONTENIDO MODULAR ==================== */
/* tratamiento analógico: grano + grade cálido sobre fotos del Mag */
.bg-cover.grained, .art-img, .mag-img, .mt-photo, .mag-figure-img {
  position: relative;
}
.art-img::after, .mag-figure-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 140px 140px; mix-blend-mode: overlay; opacity: 0.4;
}
.art-img { filter: saturate(0.94) contrast(1.03); }

/* módulos dentro del cuerpo del artículo */
.m-block { margin: 2.4rem 0; }

/* pull quote */
.m-quote { border-left: 3px solid var(--accent); padding: 0.4rem 0 0.4rem 1.6rem; margin: 2.6rem 0; }
.m-quote p { font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.3; letter-spacing: -0.01em; color: var(--paper); }
.m-quote cite { display: block; font-family: var(--mono); font-style: normal; font-size: 0.72rem; color: var(--paper-faint); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.9rem; }

/* stat callouts */
.m-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin: 2.6rem 0; }
@media (max-width: 560px) { .m-stats { grid-template-columns: 1fr; } }
.m-stat { background: var(--bg-raised); padding: 1.5rem 1.4rem; }
.m-stat b { font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--accent); line-height: 1; display: block; }
.m-stat span { font-size: 0.88rem; color: var(--paper-dim); margin-top: 0.5rem; display: block; line-height: 1.4; }

/* checklist / do-dont */
.m-check { margin: 2.4rem 0; border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden; }
.m-check-col { padding: 1.5rem 1.6rem; }
.m-check h4 { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 1rem; }
.m-check ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.m-check li { display: flex; gap: 0.7rem; font-size: 0.96rem; color: var(--paper-dim); align-items: baseline; }
.m-check li::before { font-family: var(--mono); font-size: 0.9rem; }
.m-check--do li::before { content: "✓"; color: var(--accent); }
.m-check--dont li::before { content: "✕"; color: #e08a7a; }
.m-check--do h4 { color: var(--accent); }
.m-check--dont h4 { color: #e08a7a; }

/* diagram / mapa mental (flujo de pasos) */
.m-flow { margin: 2.8rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; position: relative; }
@media (max-width: 640px) { .m-flow { grid-template-columns: 1fr 1fr; } }
.m-flow-node { border: 1px solid var(--line-strong); border-radius: 16px; padding: 1.2rem; position: relative; background: var(--bg-raised); }
.m-flow-node span { font-family: var(--mono); font-size: 0.62rem; color: var(--accent); }
.m-flow-node b { font-family: var(--display); font-weight: 600; font-size: 1.05rem; display: block; margin: 0.5rem 0 0.3rem; }
.m-flow-node p { font-size: 0.82rem; color: var(--paper-dim); line-height: 1.4; }
.m-flow-node:not(:last-child)::after { content: "→"; position: absolute; right: -0.75rem; top: 50%; transform: translateY(-50%); color: var(--paper-faint); font-size: 0.9rem; z-index: 2; }
@media (max-width: 640px) { .m-flow-node::after { content: none !important; } }

/* callout / key takeaway */
.m-callout { margin: 2.4rem 0; padding: 1.6rem 1.8rem; border-radius: 18px; background: linear-gradient(150deg, rgba(205,241,53,0.1), rgba(205,241,53,0.02)); border: 1px solid rgba(205,241,53,0.3); }
.m-callout .m-kick { font-family: var(--mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); }
.m-callout p { font-size: 1.02rem; color: var(--paper); margin-top: 0.6rem; line-height: 1.55; }

/* figura con caption + collage */
.m-figure { margin: 2.6rem 0; }
.m-figure-img { border-radius: 18px; aspect-ratio: 16/9; background-size: cover; background-position: center; overflow: hidden; }
.m-figure figcaption { font-family: var(--mono); font-size: 0.72rem; color: var(--paper-faint); margin-top: 0.8rem; padding-left: 0.2rem; }
.m-collage { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 0.7rem; margin: 2.6rem 0; aspect-ratio: 3/2; }
.m-collage > div { border-radius: 14px; background-size: cover; background-position: center; }
.m-collage > div:first-child { grid-row: 1 / 3; }


/* ==================== HOME v2 · LIMPIO + AIRE (Twinkle/Supervity) ==================== */
/* El home ahora es LIGHT-dominant. body.light-home cambia el marco. */
body.light-home { background: #faf8f2; color: var(--ink); }
body.light-home header.nav { background: rgba(250,248,242,0.8); border-bottom: 1px solid rgba(29,28,21,0.08); }
body.light-home .nav-links { border-color: rgba(29,28,21,0.12); background: rgba(29,28,21,0.03); }
body.light-home .nav-links a { color: rgba(29,28,21,0.62); }
body.light-home .nav-links a:hover, body.light-home .nav-links a.active { color: var(--ink); background: rgba(29,28,21,0.06); }
body.light-home .nav-mark img.logo-img { content: url(/assets/img/logo-ink.png); }
body.light-home .nav-burger span { background: var(--ink); }
body.light-home .grain { opacity: 0.03; }
body.light-home .cur-dot { background: var(--accent-deep); }
body.light-home .cur-ring { border-color: rgba(74,107,31,0.5); }

/* HERO v2 centrado y aireado */
.hero2 { position: relative; padding: 9rem 0 4rem; text-align: center; overflow: hidden; }
.hero2 .wrap { max-width: 980px; }
.hero2-proof { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(29,28,21,0.55); background: #fff; border: 1px solid rgba(29,28,21,0.1); border-radius: 999px; padding: 0.5rem 1rem 0.5rem 0.6rem; box-shadow: 0 6px 18px rgba(29,28,21,0.06); }
.hero2-avatars { display: flex; }
.hero2-avatars span { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; background-size: cover; background-position: center top; margin-left: -8px; }
.hero2-avatars span:first-child { margin-left: 0; }
.hero2 h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.8rem, 8vw, 6.2rem); line-height: 0.98; letter-spacing: -0.025em; margin: 1.6rem auto 0; max-width: 16ch; color: var(--ink); text-wrap: balance; }
.hero2 h1 .muted { color: rgba(29,28,21,0.32); }
.hero2-sub { font-family: var(--display); font-weight: 400; font-size: clamp(1.1rem, 2.6vw, 1.7rem); color: rgba(29,28,21,0.6); margin: 1.4rem auto 0; max-width: 40ch; letter-spacing: -0.005em; }
.hero2-sub b { color: var(--ink); font-weight: 500; }
.hero2-ctas { display: flex; gap: 0.8rem; justify-content: center; margin-top: 2.4rem; flex-wrap: wrap; }
.btn-ink { background: var(--ink); color: #faf8f2; }
.btn-ink:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(29,28,21,0.25); }
.btn-lightghost { background: #fff; color: var(--ink); border: 1px solid rgba(29,28,21,0.15); }
.btn-lightghost:hover { transform: translateY(-3px); border-color: var(--ink); }
.hero2-demo { margin: 3.5rem auto 0; max-width: 1000px; border-radius: 26px; overflow: hidden; aspect-ratio: 16/8; background-size: cover; background-position: center; box-shadow: 0 40px 90px rgba(29,28,21,0.18); position: relative; }
.hero2-demo .h2d-tag { position: absolute; top: 1.2rem; left: 1.2rem; font-family: var(--mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; background: rgba(29,28,21,0.5); backdrop-filter: blur(8px); border-radius: 999px; padding: 0.4rem 0.9rem; }

/* Franja de prueba (logo wall claro) */
.proof2 { padding: 3rem 0 1rem; }
.proof2-label { text-align: center; font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(29,28,21,0.4); margin-bottom: 1.6rem; }
.proof2-track { display: flex; gap: 1rem; align-items: center; width: max-content; animation: scroll-l 40s linear infinite; }
.proof2-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.proof2-chip { display: flex; align-items: center; gap: 0.6rem; background: #fff; border: 1px solid rgba(29,28,21,0.08); border-radius: 14px; padding: 0.8rem 1.2rem; white-space: nowrap; box-shadow: 0 4px 14px rgba(29,28,21,0.04); }
.proof2-chip svg { width: 22px; height: 22px; color: var(--ink); }
.proof2-chip span { font-weight: 500; font-size: 0.95rem; color: var(--ink); }

/* Oferta: cards numeradas de color alternado (Supervity) */
.offer2 { padding: 5.5rem 0; }
.offer2-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.offer2-head .kick { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-deep); }
.offer2-head h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; margin: 0.8rem 0 0; color: var(--ink); }
.offer2-head p { color: rgba(29,28,21,0.6); font-size: 1.05rem; margin-top: 1rem; }
.offer2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 880px) { .offer2-grid { grid-template-columns: 1fr; } }
.ocard { border-radius: 24px; padding: 2rem 1.9rem; display: flex; flex-direction: column; min-height: 320px; position: relative; overflow: hidden; }
.ocard[data-c="dark"] { background: var(--ink); color: #faf8f2; }
.ocard[data-c="lime"] { background: #cdf135; color: var(--ink); }
.ocard[data-c="cream"] { background: #fff; color: var(--ink); border: 1px solid rgba(29,28,21,0.08); }
.ocard-num { font-family: var(--mono); font-size: 0.8rem; opacity: 0.6; }
.ocard h3 { font-family: var(--display); font-weight: 600; font-size: 1.7rem; margin: 1rem 0 0; letter-spacing: -0.01em; }
.ocard p { font-size: 0.98rem; line-height: 1.55; margin-top: 0.8rem; opacity: 0.82; flex: 1; }
.ocard .ocard-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 1.2rem; }
.ocard .otag { font-family: var(--mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 999px; padding: 0.28rem 0.6rem; }
.ocard[data-c="dark"] .otag { background: rgba(250,248,242,0.12); }
.ocard[data-c="lime"] .otag { background: rgba(29,28,21,0.12); }
.ocard[data-c="cream"] .otag { background: rgba(29,28,21,0.06); }
.offer2-cta { text-align: center; margin-top: 2.4rem; }

/* Statement grande con palabra resaltada (Twinkle) */
.stmt2 { padding: 5rem 0; text-align: center; }
.stmt2 p { font-family: var(--display); font-weight: 500; font-size: clamp(1.8rem, 4.5vw, 3.2rem); line-height: 1.18; letter-spacing: -0.015em; max-width: 20ch; margin: 0 auto; color: var(--ink); }
.stmt2 p .g { color: rgba(29,28,21,0.3); }

/* Sección oscura de acento (para romper el claro) */
.dark2 { background: var(--ink); color: #faf8f2; padding: 5.5rem 0; border-radius: 36px; margin: 0 clamp(0.5rem, 2vw, 1.5rem); }
.dark2 .offer2-head h2, .dark2 h2 { color: #faf8f2; }
.dark2 .offer2-head p { color: rgba(250,248,242,0.6); }
.dark2 .offer2-head .kick { color: var(--accent); }

/* Gain pills (qué ganás) */
.gain2 { padding: 5rem 0; }
.gain2-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.6rem; }
@media (max-width: 900px) { .gain2-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .gain2-grid { grid-template-columns: 1fr; } }
.gcard { border-radius: 20px; padding: 1.6rem; background: #fff; border: 1px solid rgba(29,28,21,0.08); }
.gcard .gnum { font-family: var(--mono); font-size: 0.66rem; color: var(--accent-deep); }
.gcard h4 { font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin: 0.6rem 0 0.4rem; color: var(--ink); }
.gcard p { font-size: 0.9rem; color: rgba(29,28,21,0.6); line-height: 1.5; }

/* CTA final claro con foto */
.cta2 { padding: 5rem 0 6rem; }
.cta2-panel { border-radius: 32px; overflow: hidden; display: grid; grid-template-columns: 1.1fr 0.9fr; background: var(--ink); color: #faf8f2; }
@media (max-width: 820px) { .cta2-panel { grid-template-columns: 1fr; } }
.cta2-body { padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.cta2-body h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.02em; margin: 0; }
.cta2-body p { color: rgba(250,248,242,0.65); margin: 1rem 0 1.8rem; font-size: 1.05rem; }
.cta2-photo { background-size: cover; background-position: center; min-height: 300px; }

/* ==================== HOME v3 · CRUDO / LABORATORIO ==================== */
/* La narrativa manda: el método es la columna. Editorial brutalista + materia cruda.
   Menos foto-IA: tipografía grande, folios, duotono risograph, bloques de materia. */

/* -- Duotono risograph: mata el look "stock IA", vuelve editorial cualquier foto -- */
.duo { position: relative; overflow: hidden; isolation: isolate; }
.duo .duo-img { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(1) contrast(1.08) brightness(1.03); z-index: 0; }
.duo .duo-ink { position: absolute; inset: 0; background: var(--ink); mix-blend-mode: lighten; z-index: 1; }
.duo .duo-hi  { position: absolute; inset: 0; background: var(--accent); mix-blend-mode: darken; z-index: 2; }
.duo .duo-grain { position: absolute; inset: 0; z-index: 3; opacity: 0.5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.duo > * { position: relative; z-index: 4; }

/* -- Materia cruda: bloque de textura cálida generado en CSS (arcilla / concreto) -- */
.materia { background-color: #16150f;
  background-image:
    radial-gradient(120% 80% at 20% -10%, rgba(205,241,53,0.10), transparent 55%),
    radial-gradient(90% 70% at 90% 110%, rgba(240,201,58,0.08), transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"); }

/* -- Folios y statements editoriales -- */
.folio-l { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent-deep); }
.folio-l::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.6; }
.folio-d { color: var(--accent); }
.big-stmt { font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 7vw, 5.4rem); line-height: 0.98; letter-spacing: -0.03em; color: var(--ink); margin: 1.3rem 0 0; max-width: 17ch; text-wrap: balance; }
.hl { background: linear-gradient(180deg, transparent 56%, var(--accent) 56%, var(--accent) 94%, transparent 94%); padding: 0 0.06em; }
.lede { font-family: var(--display); font-weight: 400; font-size: clamp(1.15rem, 2.3vw, 1.65rem); line-height: 1.4; color: rgba(29,28,21,0.66); letter-spacing: -0.005em; max-width: 46ch; margin: 1.6rem 0 0; }
.lede b { color: var(--ink); font-weight: 500; }

/* -- 00 HERO crudo (editorial, izquierda, materia) -- */
.hero3 { position: relative; padding: 7.5rem 0 3.5rem; overflow: hidden; }
.hero3 .wrap { max-width: 1180px; }
.hero3 .eyebrow { color: var(--accent-deep); font-weight: 500; }
.hero3 h1 { font-family: var(--display); font-weight: 600; font-size: clamp(3.2rem, 11vw, 8.4rem); line-height: 0.9; letter-spacing: -0.035em; color: var(--ink); margin: 1.5rem 0 0; max-width: 13ch; text-wrap: balance; }
.hero3 h1 .hl { white-space: nowrap; }
.hero3-sub { font-family: var(--display); font-weight: 400; font-size: clamp(1.15rem, 2.5vw, 1.75rem); line-height: 1.4; color: rgba(29,28,21,0.62); margin: 1.8rem 0 0; max-width: 42ch; }
.hero3-ctas { display: flex; gap: 0.8rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero3-band { margin-top: 3.5rem; border-radius: 22px; aspect-ratio: 16/6.2; box-shadow: 0 40px 90px rgba(29,28,21,0.2); }
.hero3-band .h3b-tag { position: absolute; bottom: 1.1rem; left: 1.2rem; z-index: 5; font-family: var(--mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink); background: var(--accent); border-radius: 999px; padding: 0.4rem 0.9rem; font-weight: 700; }
@media (max-width: 640px) { .hero3-band { aspect-ratio: 4/3; } }

/* -- 01 Lo crudo -- */
.crudo-def { padding: 5.5rem 0 4.5rem; }
.crudo-def .wrap { max-width: 1180px; }

/* -- 02 El método (DARK · el corazón) -- */
.metodo { position: relative; color: #faf8f2; padding: 6rem 0; border-radius: 36px; margin: 0 clamp(0.5rem, 2vw, 1.5rem); overflow: hidden; }
.metodo .wrap { max-width: 1120px; position: relative; z-index: 2; }
.metodo-head { max-width: 720px; margin-bottom: 3.2rem; }
.metodo-head h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 0.98; letter-spacing: -0.03em; margin: 1.1rem 0 0; color: #faf8f2; }
.metodo-head .lede { color: rgba(250,248,242,0.6); }
.metodo-head .lede b { color: #faf8f2; }
.metodo-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(250,248,242,0.14); }
.mstep { display: grid; grid-template-columns: 130px 1fr; gap: 1.5rem; align-items: start; padding: 2.2rem 0; border-bottom: 1px solid rgba(250,248,242,0.14); transition: background 0.4s; }
.mstep:hover { background: rgba(250,248,242,0.03); }
.mstep-n { font-family: var(--display); font-weight: 600; font-size: clamp(3rem, 7vw, 5.2rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1.3px var(--accent); letter-spacing: -0.03em; }
.mstep:hover .mstep-n { color: var(--accent); }
.mstep h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 3.5vw, 2.6rem); letter-spacing: -0.02em; margin: 0; color: #faf8f2; }
.mstep p { font-size: 1.02rem; line-height: 1.55; color: rgba(250,248,242,0.62); margin: 0.7rem 0 0; max-width: 60ch; }
@media (max-width: 620px) { .mstep { grid-template-columns: 1fr; gap: 0.4rem; } .mstep-n { -webkit-text-stroke: 1px var(--accent); color: var(--accent); } }

/* -- 03 El orden sagrado -- */
.orden { padding: 6rem 0; }
.orden .wrap { max-width: 1180px; }
.orden-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 2.4rem; border-top: 2px solid var(--ink); }
.orden-beat { padding: 1.8rem 1.4rem 1.8rem 0; border-right: 1px solid rgba(29,28,21,0.14); }
.orden-beat:last-child { border-right: none; }
.ob-n { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--accent-deep); text-transform: uppercase; }
.orden-beat b { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 1.9rem); letter-spacing: -0.015em; color: var(--ink); margin-top: 1.4rem; }
.orden-beat span { display: block; font-size: 0.98rem; color: rgba(29,28,21,0.5); margin-top: 0.2rem; }
.orden-note { font-family: var(--display); font-weight: 400; font-size: clamp(1.2rem, 2.6vw, 1.9rem); color: var(--ink); margin-top: 2.4rem; max-width: 30ch; letter-spacing: -0.01em; }
@media (max-width: 720px) { .orden-row { grid-template-columns: 1fr 1fr; } .orden-beat:nth-child(2) { border-right: none; } }

/* -- 04 Las mesas del laboratorio (cards de color = transformación) -- */
.mesas { padding: 5.5rem 0; }
.mesas .wrap { max-width: 1180px; }
.mesas-head { max-width: 640px; margin-bottom: 2.6rem; }
.mesas-head h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -0.02em; margin: 1rem 0 0; color: var(--ink); }
.mesas-head p { color: rgba(29,28,21,0.6); font-size: 1.05rem; margin-top: 0.9rem; }
.mesas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 860px) { .mesas-grid { grid-template-columns: 1fr; } }
.mesa { border-radius: 22px; padding: 2rem 1.9rem 2.2rem; min-height: 260px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.mesa[data-c="lime"] { background: var(--accent); color: var(--ink); }
.mesa[data-c="lavanda"] { background: #e9ddfb; color: var(--ink); }
.mesa[data-c="dorado"] { background: #f6d97a; color: var(--ink); }
.mesa-tag { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.mesa-from { font-size: 1rem; line-height: 1.4; opacity: 0.62; margin: 1.6rem 0 0; }
.mesa-to { font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.015em; margin: 0.5rem 0 0; }
.mesa-arrow { font-family: var(--mono); font-size: 1.3rem; margin: auto 0 0; opacity: 0.5; }
.mesas-cta { margin-top: 2.2rem; }

/* -- 05 La postura -- */
.postura { padding: 5.5rem 0 6rem; }
.postura .wrap { max-width: 1180px; }
.postura-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.8rem; }
@media (max-width: 800px) { .postura-grid { grid-template-columns: 1fr; } }
.pmode { border: 1px solid rgba(29,28,21,0.12); border-radius: 18px; padding: 1.6rem 1.5rem; background: #fff; }
.pmode b { font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--ink); letter-spacing: -0.01em; }
.pmode p { font-size: 0.98rem; line-height: 1.5; color: rgba(29,28,21,0.6); margin: 0.6rem 0 0; }
.postura-note { font-family: var(--display); font-weight: 400; font-size: clamp(1.2rem, 2.6vw, 1.8rem); line-height: 1.35; color: var(--ink); margin-top: 2.6rem; max-width: 34ch; letter-spacing: -0.01em; }
.postura-note b { font-weight: 600; }

/* -- FIX legibilidad: Mag teaser sobre home claro (cards blancas, tinta) -- */
body.light-home .mt-card { background: #fff; border-color: rgba(29,28,21,0.1); }
body.light-home .mt-card h3 { color: var(--ink); }
body.light-home .mt-read { color: var(--accent-deep); }
body.light-home .mt-card:hover { border-color: rgba(29,28,21,0.3); box-shadow: 0 18px 44px rgba(29,28,21,0.1); }

/* ==================== SISTEMA DE ICONOS NC (línea 1.8, formas básicas, acento lima) ==================== */
.icn { width: 40px; height: 40px; display: block; flex: none; }
.icn * { vector-effect: non-scaling-stroke; }
.icn-s { width: 30px; height: 30px; }
.icn-wrap { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(29,28,21,0.05); color: var(--ink); }
.icn-wrap--dark { background: rgba(250,248,242,0.08); color: #faf8f2; }
.icn-wrap--onlime { background: rgba(29,28,21,0.1); color: var(--ink); }
.orden-beat .icn { margin-top: 1.2rem; color: var(--ink); }
.mesa .icn { margin-bottom: 0.2rem; }
.pmode .icn { color: var(--ink); margin-bottom: 0.9rem; }

/* ==================== DIGITAL · PyMEs LATAM (Start acá) — datos duros + módulos ==================== */
.digi { padding: 6rem 0; background: var(--cream); color: var(--ink); border-top: 1px solid rgba(29,28,21,0.08); }
.digi .wrap { max-width: 1180px; }
.digi-head { max-width: 720px; }
.digi-head h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 5.5vw, 4rem); letter-spacing: -0.025em; line-height: 1; margin: 1.1rem 0 0; color: var(--ink); }
.digi-head .lede { color: rgba(29,28,21,0.62); }
.digi-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 3rem; }
@media (max-width: 960px) { .digi-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .digi-stats { grid-template-columns: 1fr; } }
.dstat { background: #fff; border: 1px solid rgba(29,28,21,0.08); border-radius: 20px; padding: 1.7rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.dstat .donut { width: 92px; height: 92px; }
.donut .track { fill: none; stroke: rgba(29,28,21,0.08); stroke-width: 4.4; }
.donut .fg { fill: none; stroke: var(--accent); stroke-width: 4.4; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.4s cubic-bezier(.16,.8,.24,1); }
.reveal.in .donut .fg, body:not(.anim) .donut .fg { stroke-dasharray: var(--pct) 100; }
.donut text { font-family: var(--display); font-weight: 600; font-size: 9px; fill: var(--ink); }
.dstat h4 { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; margin: 0; color: var(--ink); }
.dstat p { font-size: 0.92rem; line-height: 1.5; color: rgba(29,28,21,0.58); margin: 0; flex: 1; }
.dstat cite { font-family: var(--mono); font-style: normal; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(29,28,21,0.38); }
.digi-frame { margin-top: 2.6rem; font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 3vw, 2.1rem); letter-spacing: -0.015em; line-height: 1.25; max-width: 34ch; color: var(--ink); }
.digi-mods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; margin-top: 2.6rem; }
@media (max-width: 820px) { .digi-mods { grid-template-columns: 1fr; } }
.dmod { display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; background: #fff; border: 1px solid rgba(29,28,21,0.08); border-radius: 20px; padding: 1.6rem 1.5rem; align-items: start; transition: transform 0.35s cubic-bezier(.16,.8,.24,1), box-shadow 0.35s; }
.dmod:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(29,28,21,0.1); }
.dmod b { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--ink); display: block; }
.dmod p { font-size: 0.95rem; line-height: 1.55; color: rgba(29,28,21,0.6); margin: 0.4rem 0 0; }
.dmod .dtag { display: inline-block; font-family: var(--mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-deep); background: rgba(205,241,53,0.25); border-radius: 999px; padding: 0.25rem 0.6rem; margin-top: 0.8rem; }
.digi-cta { margin-top: 2.4rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* iconos en recursos abiertos (página oscura) */
.apr-res .icn-res { color: #faf8f2; margin-bottom: 1rem; }

/* -- Etiquetas / subtemas del Mag -- */
.mag-subtags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.2rem; }
.mag-subtag { font-family: var(--mono); font-size: 0.6rem; text-transform: lowercase; letter-spacing: 0.04em; color: var(--paper-faint); border: 1px solid var(--line); border-radius: 999px; padding: 0.22rem 0.6rem; background: transparent; }
.mag-tagrow { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0 2rem; }
.mag-subtag--btn { cursor: pointer; transition: all 0.25s; color: rgba(243,239,230,0.55); }
.mag-subtag--btn:hover { border-color: rgba(205,241,53,0.5); color: var(--accent); }
.mag-subtag--btn.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.mag-empty { font-family: var(--mono); font-size: 0.8rem; color: var(--paper-faint); padding: 2rem 0; }
.art-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0 0; }

/* ==================== MOTION v3 · animaciones con intención ==================== */
/* 1. El highlighter lima se PINTA de izquierda a derecha (gesto de marcador real) */
.hero3 h1 .hl { background-repeat: no-repeat; background-size: 0% 100%; animation: hlPaint 0.9s cubic-bezier(.16,.8,.24,1) 0.55s forwards; }
@keyframes hlPaint { to { background-size: 100% 100%; } }
.big-stmt .hl, .digi-frame .hl { background-repeat: no-repeat; background-size: 0% 100%; transition: background-size 1s cubic-bezier(.16,.8,.24,1) 0.35s; }
.reveal.in .hl { background-size: 100% 100%; }
body:not(.anim) .big-stmt .hl, body:not(.anim) .digi-frame .hl { background-size: 100% 100%; }

/* 2. El método: la línea divisoria se dibuja en lima al entrar cada paso */
.mstep { position: relative; }
.mstep::after { content: ""; position: absolute; bottom: -1px; left: 0; height: 1px; width: 0; background: var(--accent); transition: width 1.1s cubic-bezier(.16,.8,.24,1) 0.25s; }
.mstep.in::after, body:not(.anim) .mstep::after { width: 100%; }

/* 3. Mesas: lift + flecha que baja (la transformación se siente) */
.mesa { transition: transform 0.4s cubic-bezier(.16,.8,.24,1), box-shadow 0.4s; }
.mesa:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(29,28,21,0.16); }
.mesa-arrow { transition: transform 0.4s cubic-bezier(.16,.8,.24,1); }
.mesa:hover .mesa-arrow { transform: translateY(5px); opacity: 0.9; }

/* 4. Iconos: respiran al hover de su card */
.dmod:hover .icn, .pmode:hover .icn, .apr-res:hover .icn-res { transform: scale(1.08) rotate(-2deg); }
.dmod .icn, .pmode .icn, .apr-res .icn-res { transition: transform 0.35s cubic-bezier(.16,.8,.24,1); }

/* ==================== BOTONES CONTUNDENTES ==================== */
.btn { padding: 1.05rem 1.75rem; font-size: 0.84rem; letter-spacing: 0.08em; }
.btn-ink:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-3px); box-shadow: 0 18px 44px rgba(205,241,53,0.4); }
.btn-solid:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(205,241,53,0.35); }
.btn:active { transform: translateY(0) scale(0.97); }

@media (prefers-reduced-motion: reduce) {
  .hero3 h1 .hl, .big-stmt .hl, .digi-frame .hl { background-size: 100% 100% !important; animation: none !important; transition: none !important; }
  .mstep::after { width: 100% !important; transition: none !important; }
}

/* ==================== AJUSTE FINO ICONOS + ORDEN (feedback Felipe) ==================== */
/* +1pt de grosor en todo el sistema de iconos (formas intactas) */
.icn * { stroke-width: 2.8; }
/* El orden sagrado: aire contra la línea divisoria */
.orden-beat { padding: 1.8rem 1.4rem 1.8rem 1.6rem; }
.orden-row .orden-beat:first-child { padding-left: 0; }
@media (max-width: 720px) {
  .orden-row .orden-beat:nth-child(odd) { padding-left: 0; }
  .orden-row .orden-beat:nth-child(even) { padding-left: 1.4rem; }
}

/* FIX: menú móvil siempre texto claro (el overlay es oscuro incluso en home claro) */
.mm-links a { color: #faf8f2; }
.mm-links a:hover { color: var(--accent); }
