/* =============================================================================
   SPRINTIA · landing.css
   Reglas CSS compartidas entre las 6 landing comerciales (index, metodo,
   implementacion, para-quien, contacto, quienes-somos).
   Extraido automaticamente con scripts/build-three.sh + css-dedup.py.
   NO editar a mano: regenerar correndo el script de extraccion.
   ============================================================================= */

:root {
    --diamond-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M50 4 L96 50 L50 96 L4 50 Z' fill='white'/></svg>");

    --bg: #ffffff;
    --bg-2: #f4f5f7;
    --ink: #0b0d12;
    --ink-soft: #5a6072;
    --accent: #1ec8ff;       /* heygen-ish cyan */
    --accent-2: #b794f4;     /* lavender */
    --accent-3: #6ee7a8;     /* mint */
    --line: rgba(11,13,18,0.10);
    --card: #ffffff;
    --shadow-soft: 0 12px 40px rgba(11,13,18,.06), 0 2px 6px rgba(11,13,18,.04);
  }

* { box-sizing: border-box; }

html, body {
    margin: 0; padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Inter Tight", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
  }

body { overflow-x: hidden; }

section {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 140px 6vw 120px;
    display: grid;
    align-items: center;
    position: relative;
  }

/* sec-left / sec-right: half-layout — content on one side, octa visible on the other */
  .sec-left  { grid-template-columns: minmax(0, 560px) 1fr; }

.sec-right { grid-template-columns: 1fr minmax(0, 560px); }

.sec-right .content { grid-column: 2; }

/* Reduce panel padding in half-layout sections so content doesn't overflow */
  .sec-left .panel, .sec-right .panel { padding: clamp(20px, 3vw, 40px); }

/* 3-col stat-row doesn't fit in 560px — collapse to 2 cols in half sections */
  .sec-left .stat-row, .sec-right .stat-row { grid-template-columns: 1fr 1fr; }

/* Journey bento in half-sections — narrative hierarchy:
     01+02 compact (intro/discovery) | 03 tall (core service) | 04 full-width (outcome) */
  .sec-left .journey, .sec-right .journey { grid-template-columns: 1fr 1fr; }

.sec-left .journey-rail, .sec-right .journey-rail { display: none; }

/* 01 → compact, col 1 row 1 */
  .sec-left .journey .journey-step:nth-child(2),
  .sec-right .journey .journey-step:nth-child(2) { grid-column: 1; grid-row: 1; }

/* 02 → compact, col 1 row 2 */
  .sec-left .journey .journey-step:nth-child(3),
  .sec-right .journey .journey-step:nth-child(3) { grid-column: 1; grid-row: 2; }

/* 03 → TALL (core service), col 2 spans rows 1-2 */
  .sec-left .journey .journey-step:nth-child(4),
  .sec-right .journey .journey-step:nth-child(4) { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; }

.sec-left .journey .journey-step:nth-child(4) .journey-card,
  .sec-right .journey .journey-step:nth-child(4) .journey-card { flex: 1; }

/* 04 → FULL WIDTH outcome at bottom, horizontal node+content */
  .sec-left .journey .journey-step:nth-child(5),
  .sec-right .journey .journey-step:nth-child(5) {
    grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 18px;
  }

.sec-left .journey .journey-step:nth-child(5) .journey-card,
  .sec-right .journey .journey-step:nth-child(5) .journey-card { flex: 1; }

/* Color with meaning:
     01 = neutral (no commitment entry)
     02 = cyan (analysis/discovery)
     03 = lavender (core transformative work, MOST prominent)
     04 = cyan→mint gradient (results/success) */
  .journey-step:nth-child(3) .journey-card { background: rgba(30,200,255,.09); border-color: rgba(30,200,255,.20); }

.journey-step:nth-child(5) .journey-card {
    background: linear-gradient(135deg, rgba(30,200,255,.09), rgba(110,231,168,.09));
    border-color: rgba(30,200,255,.18);
  }

/* Stat-row: +40% spans 2 rows (hero metric) — no isolated card
     Color logic: cyan=resultado, lavender=confianza, amber=urgencia */
  .sec-left .stat-row, .sec-right .stat-row { grid-template-columns: 1fr 1fr; }

.sec-left .stat-row .stat-card:first-child,
  .sec-right .stat-row .stat-card:first-child {
    grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end;
  }

.panel.dark .stat-card:nth-child(1) { background: rgba(30,200,255,.13); border-color: rgba(30,200,255,.28); }

.panel.dark .stat-card:nth-child(2) { background: rgba(183,148,244,.11); border-color: rgba(183,148,244,.22); }

.panel.dark .stat-card:nth-child(3) { background: rgba(255,190,60,.09);  border-color: rgba(255,190,60,.22); }

/* feature-spotlight: stack vertically in half-sections, video 60% wide at bottom */
  .sec-left .feature-spotlight, .sec-right .feature-spotlight {
    grid-template-columns: 1fr;
    gap: 20px;
  }

.sec-left .feature-spotlight .video-slot.tall,
  .sec-right .feature-spotlight .video-slot.tall {
    width: 60%;
    aspect-ratio: 9/14;
  }

@media (max-width: 900px) {
    .sec-left .feature-spotlight .video-slot.tall,
    .sec-right .feature-spotlight .video-slot.tall { width: 80%; }
  }

@media (max-width: 600px) {
    .sec-left .feature-spotlight .video-slot.tall,
    .sec-right .feature-spotlight .video-slot.tall { width: 100%; }
  }

.sec-center { grid-template-columns: 1fr; justify-items: center; text-align: center; }

.sec-center .content { max-width: 760px; }

/* HeyGen-style "panel" sections — large rounded card with gradient bg */
  .panel {
    border-radius: 36px;
    padding: clamp(40px, 6vw, 80px);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    /* Translucent so the octahedron silhouette is visible behind every panel */
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
  }


/* Mockup chrome */

/* Methodology journey */
  .journey {
    position: relative;
    margin: 40px 0 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

.journey-card {
    background: rgba(255,255,255,.65);
    border: 1px solid rgba(255,255,255,.8);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-radius: 22px;
    padding: 22px 20px;
    text-align: left;
    width: 100%;
    transition: transform .25s, box-shadow .25s;
  }

.journey-step:hover .journey-card { transform: translateY(-4px); box-shadow: 0 18px 30px rgba(11,13,18,.10); }

.journey-week { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 10px; }

.journey-card p  { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

.journey-meta { font-size: 12px; color: var(--ink); font-weight: 600; opacity: .8; }

/* ===== Glass cards (HeyGen / Bending Spoons inspired) ===== */
  .glass-card {
    position: relative;
    border-radius: 28px;
    padding: 28px;
    overflow: hidden;
    background: rgba(255,255,255,.45);
    border: 1px solid rgba(255,255,255,.7);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 14px 40px rgba(11,13,18,.08), inset 0 1px 0 rgba(255,255,255,.6);
    transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
  }

.glass-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(11,13,18,.14); }


/* Iridescent pane (heygen-like translucent glass plate) */
  .iridescent-pane {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 1.1 / 1;
    background:
      conic-gradient(from 30deg at 30% 30%, #b794f4, #6ee7a8, #1ec8ff, #c4506e, #b794f4);
    filter: saturate(140%);
  }

.iridescent-pane::after {
    content: "";
    position: absolute; inset: 0;
    background: repeating-linear-gradient(115deg,
      rgba(255,255,255,0) 0 60px,
      rgba(255,255,255,.18) 60px 80px,
      rgba(255,255,255,0) 80px 140px);
    mix-blend-mode: overlay;
  }

.iridescent-pane::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 40%, rgba(0,0,0,.15));
  }

/* Video placeholder */
  .video-slot {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #0e1422 0%, #1a2240 100%);
    border: 1px solid rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.85);
  }

.video-slot::before {
    content: "";
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 50% 40% at 30% 30%, rgba(30,200,255,.35), transparent 60%),
      radial-gradient(ellipse 40% 50% at 80% 80%, rgba(183,148,244,.4), transparent 60%);
  }

.video-slot .play {
    position: relative; z-index: 2;
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255,255,255,.5);
    display: flex; align-items: center; justify-content: center;
    transition: transform .3s, background .3s;
  }

.video-slot:hover .play { transform: scale(1.1); background: rgba(255,255,255,.3); }

.video-slot .play::after {
    content: ""; width: 0; height: 0;
    border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent;
    margin-left: 5px;
  }

.video-slot .meta {
    position: absolute; bottom: 16px; left: 18px; right: 18px;
    z-index: 2;
    display: flex; justify-content: space-between; align-items: end;
    color: #fff;
  }

.video-slot .meta .ttl { font-weight: 700; font-size: 15px; }

.video-slot .meta .dur { font-size: 12px; opacity: .8; padding: 4px 10px; background: rgba(0,0,0,.4); border-radius: 999px; }

.video-slot.tall { aspect-ratio: 9/14; }

/* Bento grid */
  .bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
    gap: 14px;
  }

.bento > * { padding: 24px; }

.bento .b1 { grid-column: span 4; grid-row: span 2; }

.bento .b2 { grid-column: span 2; grid-row: span 2; }

.bento .b3 { grid-column: span 2; }

.bento .b4 { grid-column: span 2; }

.bento .b5 { grid-column: span 2; }

/* Marquee logo strip */

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

/* Process row (dotted connectors) */
  .process-row {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 18px; position: relative;
  }

.process-row .step-card {
    border-radius: 24px;
    padding: 26px 22px;
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(255,255,255,.7);
    backdrop-filter: blur(14px);
    position: relative;
  }

.process-row .step-card .num {
    font-family: "Times New Roman", Georgia, serif;
    font-style: italic; font-weight: 500;
    font-size: 56px; letter-spacing: -.04em;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    line-height: 1; margin-bottom: 12px;
  }

/* Spotlight feature blocks */
  .feature-spotlight {
    display: grid; grid-template-columns: 1.1fr 1fr;
    gap: 24px;
  }

/* Big metric stat */
  .stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }

.stat-card { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 24px; }

.stat-card .num { font-size: 48px; font-weight: 800; letter-spacing: -.03em; line-height: 1; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.stat-card .lbl { font-size: 13px; color: var(--ink-soft); margin-top: 8px; line-height: 1.4; }

.panel.dark .stat-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }

.panel.dark .stat-card .lbl { color: rgba(255,255,255,.7); }

@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr; } }

/* Pulsing live card — "+40% horas liberadas" */
  .stat-card.is-live { position: relative; overflow: visible; z-index: 0; }

.stat-card.is-live::before,
  .stat-card.is-live::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 27px;
    border: 1.5px solid var(--accent);
    opacity: 0;
    pointer-events: none;
    animation: live-ring 2.6s ease-out infinite;
  }

.stat-card.is-live::after { animation-delay: 1.3s; }

@keyframes live-ring {
    0%   { transform: scale(.94); opacity: .75; }
    80%  { opacity: .15; }
    100% { transform: scale(1.22); opacity: 0; border-width: .5px; }
  }

/* live-dot removed */

  /* Timeline */


/* Big quote / problem statement */
  .quote-block { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; font-weight: 700; letter-spacing: -.025em; max-width: 880px; }

.quote-block .muted { color: var(--ink-soft); }

.quote-block .accent { background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Logo strip */
  .logo-strip { display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: center; justify-content: center; opacity: .6; margin-top: 20px; }

.logo-strip span { font-weight: 700; font-size: 18px; letter-spacing: -.02em; color: var(--ink-soft); font-family: "Times New Roman", serif; }

.logo-strip span:nth-child(2n) { font-family: "Inter", sans-serif; font-style: italic; }

/* Iridescent panel — same vibe as the final CTA panel, with floating diamond shapes */
  .panel.iridescent {
    background: linear-gradient(135deg, rgba(216,238,247,.72) 0%, rgba(232,230,248,.72) 50%, rgba(221,243,230,.72) 100%);
    border: 1px solid rgba(255,255,255,.6);
  }

.panel.iridescent::before, .panel.iridescent::after {
    content: "";
    position: absolute;
    width: 320px; height: 320px;
    background: conic-gradient(from 200deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
    -webkit-mask-image: var(--diamond-mask);
            mask-image: var(--diamond-mask);
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
    opacity: .4;
    pointer-events: none;
  }

.panel.iridescent::before { left: -110px; top: -90px; transform: rotate(15deg); animation: float-a 14s ease-in-out infinite; }

.panel.iridescent::after  { right: -110px; bottom: -90px; transform: rotate(-25deg); animation: float-b 16s ease-in-out infinite; }

@keyframes float-a { 0%,100%{transform:rotate(15deg) translate(0,0)} 50%{transform:rotate(20deg) translate(20px,-14px)} }

@keyframes float-b { 0%,100%{transform:rotate(-25deg) translate(0,0)} 50%{transform:rotate(-30deg) translate(-18px,12px)} }

.panel.iridescent > * { position: relative; z-index: 2; }

/* Glassmorphism panel — frosted on a colored aura */
  /* IMPORTANTE: el bg es claro (rgba(244,245,247,.55)) → texto debe ser oscuro.
     glass.css aplica color:#fff a .glass asumiendo bg oscuro; aquí sobrescribimos
     para mantener contraste WCAG. Las páginas con bg oscuro (landing-common.css
     [data-scene="4"] .panel.glass …) ya tienen overrides !important que ganan. */
  .panel.glass {
    background:
      radial-gradient(ellipse 60% 50% at 20% 20%, rgba(30,200,255,.28), transparent 60%),
      radial-gradient(ellipse 50% 40% at 90% 90%, rgba(183,148,244,.32), transparent 60%),
      radial-gradient(ellipse 50% 50% at 80% 10%, rgba(110,231,168,.22), transparent 60%),
      rgba(244,245,247,.55);
    border: 1px solid rgba(255,255,255,.6);
    color: var(--ink);
  }

.panel.glass .card,
  .panel.glass .stat-card {
    background: rgba(255,255,255,.55);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255,255,255,.7);
    box-shadow: 0 12px 32px rgba(11,13,18,.06);
  }

/* Mesh-gradient panel — animated soft blobs */
  .panel.mesh {
    background: rgba(244,245,247,.55);
    border: 1px solid rgba(255,255,255,.6);
  }

.panel.mesh::before {
    content: ""; position: absolute; inset: -20%;
    background:
      radial-gradient(ellipse 30% 30% at 30% 30%, rgba(30,200,255,.55), transparent 60%),
      radial-gradient(ellipse 28% 28% at 70% 60%, rgba(183,148,244,.55), transparent 60%),
      radial-gradient(ellipse 26% 26% at 50% 90%, rgba(110,231,168,.45), transparent 60%);
    filter: blur(60px);
    animation: mesh-drift 20s ease-in-out infinite;
    z-index: 0;
  }

@keyframes mesh-drift {
    0%,100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(4%, -3%) scale(1.08); }
    66% { transform: translate(-3%, 4%) scale(.95); }
  }

.panel.mesh > * { position: relative; z-index: 2; }

/* Striped/grid panel */
.panel.dark     { background: linear-gradient(135deg, rgba(11,13,18,.86) 0%, rgba(26,31,46,.86) 100%); color: #fff; border: 1px solid rgba(255,255,255,.08); }

.panel.dark p, .panel.dark .lede, .panel.dark .meta { color: rgba(255,255,255,.7); }

.panel.dark h2, .panel.dark h3 { color: #fff; }

.panel.dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }

.panel.dark .card p { color: rgba(255,255,255,.65); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 700;
    margin-bottom: 18px;
    background: rgba(11,13,18,.05);
    border-radius: 999px;
    padding: 8px 14px;
  }

.eyebrow .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 10px var(--accent);
  }

.panel.dark .eyebrow { background: rgba(255,255,255,.08); color: #fff; }

h1, h2 {
    font-weight: 800;
    letter-spacing: -.03em;
    text-wrap: balance;
    margin: 0 0 22px;
  }

h1 { font-size: clamp(44px, 6.2vw, 92px); line-height: .98; }

h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02; }

h2 .accent {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
  }

p.lede {
    font-size: 18px; line-height: 1.55;
    color: var(--ink-soft);
    max-width: 540px;
    text-wrap: pretty;
    margin: 0 0 28px;
  }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 22px; border-radius: 999px;
    font-size: 15px; font-weight: 600;
    text-decoration: none; cursor: pointer; border: none;
    transition: transform .2s, box-shadow .2s;
  }

.btn.primary { background: var(--accent); color: var(--ink); }

.btn.dark    { background: var(--ink); color: white; }

.btn.ghost   { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }

.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(11,13,18,.15); }

.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }

.pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: white; border: 1px solid var(--line);
    padding: 8px 14px; border-radius: 999px;
    font-size: 13px; color: var(--ink-soft);
  }

.pill strong { color: var(--ink); font-weight: 600; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.card h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; }

.card p  { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

/* Plans */
  .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1100px; margin: 0 auto; }

.plan {
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 30px;
    display: flex; flex-direction: column;
    text-align: left;
  }

.plan.featured {
    background: var(--ink); color: white;
    border-color: transparent;
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(11,13,18,.20);
  }

.plan .tag {
    font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 8px;
  }

.plan.featured .tag { color: var(--accent); }

.plan h3 { margin: 0 0 6px; font-size: 24px; }

.plan .meta { font-size: 13px; opacity: .7; margin-bottom: 16px; }

.plan ul { list-style: none; padding: 0; margin: 0 0 22px; }

.plan ul li {
    font-size: 14px; padding: 8px 0;
    border-bottom: 1px solid rgba(11,13,18,.07);
  }

.plan.featured ul li { border-bottom-color: rgba(255,255,255,.1); }

.plan ul li::before { content: "→ "; color: var(--accent); margin-right: 4px; font-weight: 700; }

.plan .price {
    font-size: 38px; font-weight: 800; letter-spacing: -.02em;
    margin-bottom: 4px;
  }

.plan .per { font-size: 12px; opacity: .65; margin-bottom: 18px; }

.plan .btn { align-self: flex-start; }

.plan.featured .btn.primary { background: var(--accent); color: var(--ink); }

details.faq {
    background: white;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 10px;
  }

details.faq summary {
    cursor: pointer; font-weight: 600; font-size: 16px;
    list-style: none;
    display: flex; align-items: center; justify-content: space-between;
  }

details.faq summary::-webkit-details-marker { display: none; }

details.faq summary::after {
    content: "+"; font-size: 24px; color: var(--ink-soft);
    transition: transform .2s;
  }

details.faq[open] summary::after { content: "−"; }

details.faq p {
    margin: 12px 0 0;
    color: var(--ink-soft);
    line-height: 1.55;
    font-size: 15px;
  }

.member {
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
  }

.member h3 { margin: 0 0 4px; font-size: 17px; }

.member .role { font-size: 11px; color: var(--ink-soft); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; font-weight: 600; }

.member p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; margin: 0; }

/* Big CTA panel */
  .cta-panel {
    border-radius: 36px;
    padding: clamp(40px, 6vw, 80px);
    background: linear-gradient(135deg, #d8eef7 0%, #e8e6f8 50%, #ddf3e6 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
  }

.cta-panel::before, .cta-panel::after {
    content: "";
    position: absolute;
    width: 280px; height: 280px;
    background: conic-gradient(from 200deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
    -webkit-mask-image: var(--diamond-mask);
            mask-image: var(--diamond-mask);
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
    opacity: .55;
    filter: blur(.5px);
  }

.cta-panel::before { left: -90px; top: -60px; transform: rotate(15deg); }

.cta-panel::after  { right: -90px; bottom: -60px; transform: rotate(-25deg); }

.cta-panel h2 { font-size: clamp(40px, 5vw, 72px); position: relative; }

.cta-panel p  { position: relative; }

/* ===== Octahedron face: live animation (face-live) ===== */
  /* Override the generic padding that img-wrap applies to all its direct children */
/* Pulsing rings expanding from center */

@keyframes face-ring {
    0%   { transform: scale(1);   opacity: .9; border-width: 1.5px; }
    70%  { opacity: .3; }
    100% { transform: scale(10);  opacity: 0;  border-width: .4px; }
  }

/* Central content: stat + label */

@keyframes face-pop {
    from { opacity: 0; transform: scale(.6) translateY(4px); }
    to   { opacity: 1; transform: none; }
  }

/* Progress bar at the bottom of the face */

@keyframes bar-grow { from { width: 0; } to { width: 73%; } }

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease;
  }

.reveal.in { opacity: 1 !important; transform: none !important; }

#hero .reveal { opacity: 1; transform: none; }

.progress {
    position: fixed; right: 22px; top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    display: flex; flex-direction: column;
    gap: 10px;
  }

.progress .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(11,13,18,.15);
    transition: background .3s, transform .3s;
  }

.progress .dot.active {
    background: var(--accent);
    transform: scale(1.6);
    box-shadow: 0 0 12px var(--accent);
  }

/* Horizontal carousel — used on mobile so cards never stack vertically */
  .h-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 18px;
    margin: 0 -4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

.h-scroll::-webkit-scrollbar { display: none; }

.h-scroll > * { scroll-snap-align: start; flex: 0 0 78%; min-width: 78%; }

/* Mobile-first responsive */
  @media (max-width: 1100px) {
  }

@media (max-width: 1000px) {
    .journey { grid-template-columns: 1fr 1fr; }
    .journey-rail { display: none; }
    /* paridad canon · half-layout sections collapse a 1 columna en mobile */
    .sec-left, .sec-right { grid-template-columns: 1fr; }
    .sec-right .content { grid-column: 1; }
  }

/* paridad canon · blog y legal sections sin min-height landing */
body.light-content section,
body.post-page section {
    min-height: auto;
    display: block;
    align-items: initial;
  }

@media (max-width: 460px) {
        .btn { padding: 12px 18px; font-size: 14px; }
  }

/* ===== Width: sec-center panels capped at 1200px (no full-bleed) ===== */
  .sec-center .content { max-width: 1200px !important; }

/* ===== "Para quién" bento — narrative-driven card sizing ===== */
  /* Design logic:
     01 (horas repetitivas) = TALL hero, most relatable pain → cyan
     02 (talento caro)      = compact top-right              → lavender
     03 (ChatGPT sin método)= compact bottom-right           → mint
     04 (quieres resultados)= full-width close, horizontal   → amber */

  #para-quien .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

#para-quien .grid-2 .card:nth-child(1) {
    grid-column: 1; grid-row: 1 / span 2;
    display: flex; flex-direction: column;
    background: rgba(30,200,255,.09);
    border-color: rgba(30,200,255,.22);
  }

#para-quien .grid-2 .card:nth-child(1) .num-tag {
    font-size: 52px; font-weight: 900; letter-spacing: -.04em;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    line-height: 1; margin-bottom: 14px;
  }

#para-quien .grid-2 .card:nth-child(2) {
    grid-column: 2; grid-row: 1;
    background: rgba(183,148,244,.10); border-color: rgba(183,148,244,.22);
  }

#para-quien .grid-2 .card:nth-child(3) {
    grid-column: 2; grid-row: 2;
    background: rgba(110,231,168,.10); border-color: rgba(110,231,168,.22);
  }

#para-quien .grid-2 .card:nth-child(4) {
    grid-column: 1 / -1; grid-row: 3;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 20px; row-gap: 4px;
    align-items: center;
    background: rgba(255,190,60,.09); border-color: rgba(255,190,60,.22);
  }

#para-quien .grid-2 .card:nth-child(4) .num-tag {
    grid-column: 1; grid-row: 1 / span 2;
    font-size: 52px; font-weight: 900; letter-spacing: -.04em;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    line-height: 1; margin-bottom: 0;
  }

#para-quien .grid-2 .card:nth-child(4) h3 { grid-column: 2; grid-row: 1; margin: 0 0 4px; }

#para-quien .grid-2 .card:nth-child(4) p  { grid-column: 2; grid-row: 2; margin: 0; }

@media (max-width: 760px) {
    #para-quien .grid-2 .card:nth-child(4) { display: block; grid-column: auto; }
    #para-quien .grid-2 .card:nth-child(4) .num-tag { margin-bottom: 10px; }
  }

#sectores .content { overflow: visible !important; }

/* ===== "Por qué ahora" — formas asimétricas diagonales (HeyGen-inspired) ===== */
  /* Sin rectángulos simples ni círculos.
     Mismo vocabulario (52px + 14px), diferente rotación diagonal → 3 shapes únicos.
     Card 1 (+40%): TL+BR=52  TR+BL=14  → "inclinación derecha"
     Card 2 (100%): TL+BR=14  TR+BL=52  → inclinación opuesta
     Card 3 (2026): TL=BL=52  TR=BR=14  → ola lateral (izq. redondo, der. agudo) */

  .panel.dark .stat-card:nth-child(1) {
    border-radius: 52px 14px;   /* TL+BR=52, TR+BL=14 */
  }

/* Ring: esquinas de la card + 5px de compensación del inset */
  .stat-card.is-live::before,
  .stat-card.is-live::after { border-radius: 57px 19px; }

/* Número del stat is-live */
  .stat-card.is-live .num {
    font-size: clamp(48px, 7vw, 72px);
    letter-spacing: -.05em;
    line-height: 1;
    white-space: nowrap;
    animation: num-glow 2.6s ease-in-out infinite;
  }

@keyframes num-glow {
    0%, 100% {
      filter: drop-shadow(0 0 0px rgba(30,200,255,0));
      transform: scale(1);
    }
    40% {
      filter: drop-shadow(0 0 18px rgba(30,200,255,.85))
              drop-shadow(0 0 36px rgba(30,200,255,.35));
      transform: scale(1.06);
    }
    80% {
      filter: drop-shadow(0 0 4px rgba(30,200,255,.25));
      transform: scale(1.01);
    }
  }

.panel.dark .stat-card:nth-child(2) {
    border-radius: 14px 52px;   /* TL+BR=14, TR+BL=52 */
  }

.panel.dark .stat-card:nth-child(3) {
    border-radius: 52px 14px 14px 52px;  /* TL=BL=52, TR=BR=14 */
  }

/* === EL FIX REAL: min-width:0 para que h2 pueda wrap dentro de grid/flex === */
  /* CAUSA RAÍZ encontrada: por defecto los hijos de un grid tienen
     min-width: auto = ancho intrínseco del contenido. El h2 con texto largo
     NO puede shrink por debajo de su ancho natural → overflow incluso
     con max-width:100% y width:100%.

     SOLUCIÓN: min-width: 0 en TODA la cadena .sec-center → .content → h2,
     más overflow-wrap: anywhere para forzar wrap incluso de palabras largas. */
  @media (max-width: 1000px) {
    /* Permitir shrink en TODA la cadena de contenedores */
    html body section,
    html body .sec-center,
    html body .sec-center > .content,
    html body .sec-center > .content > *,
    html body section .panel,
    html body section .panel > *,
    html body section .panel.mesh,
    html body section .panel.mesh > * {
      min-width: 0 !important;
    }

    /* h2 y lede pueden ahora shrink + wrap correctamente */
    html body section h2,
    html body section[id] h2,
    html body section[data-scene] h2,
    html body section h2[class],
    html body section h2[style],
    html body section .lede,
    html body section[data-scene] .lede,
    html body main section h2,
    html body main section .lede {
      min-width: 0 !important;
      max-width: 100% !important;
      width: 100% !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
      text-align: center !important;
      box-sizing: border-box !important;
      overflow-wrap: anywhere !important;
      word-wrap: break-word !important;
      hyphens: auto !important;
    }
    /* Eyebrows también centrados */
    html body section .eyebrow,
    html body section[data-scene] .eyebrow {
      text-align: center !important;
    }
  }

/* ========================================================
     BLOQUE B — RESPONSIVE SECTIONS (sin tocar desktop)
     ======================================================== */

  /* Tablet: 768-1024px */
  @media (max-width: 1024px) and (min-width: 769px) {
    .bento {
      grid-template-columns: repeat(2, 1fr) !important;
      grid-auto-rows: auto !important;
      gap: 14px !important;
    }
    .bento > * {
      grid-column: auto !important;
      grid-row: auto !important;
      aspect-ratio: auto !important;
      min-height: 220px;
    }
    .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .panel { padding: clamp(28px, 4vw, 56px) !important; }
  }

/* Phone pequeño: <480px */
  @media (max-width: 480px) {
    section { padding: 60px 4vw 50px !important; }
    .panel { padding: 24px 18px !important; }
    #hero h1 { font-size: clamp(34px, 12vw, 44px); }
    h2 { font-size: clamp(24px, 7.5vw, 32px) !important; }
    .lede { font-size: 15px !important; }
    .pill { font-size: 12px !important; padding: 6px 10px !important; }
    .eyebrow { font-size: 11px !important; }

    /* Stats hero menos espaciados */
    #hero > .content > div[style*="display:flex"][style*="gap:36px"] { gap: 18px !important; }

    /* Stat row ultra-compacta (3 cards en 1 fila estrecha) */
    .stat-row { gap: 6px !important; }
    .stat-row > * { padding: 10px 8px !important; border-radius: 12px !important; }
    .panel.dark .stat-card .num { font-size: clamp(18px, 5.5vw, 22px) !important; }
    .panel.dark .stat-card .lbl { font-size: 10px !important; line-height: 1.25 !important; margin-top: 6px !important; }

    /* Bento cards padding más estrecho */
    .bento > * { padding: 16px 14px !important; }
    .bento .b1 .video-slot { height: 110px !important; }

    /* Para quién (.grid-2) más compacta */
    .grid-2 > * { padding: 14px 11px !important; }
    .grid-2 h3 { font-size: 13px !important; }
    .grid-2 p { font-size: 11.5px !important; }

    /* CTA panel super-condensado */
    .cta-panel h2 { font-size: clamp(28px, 9vw, 36px) !important; }

          }

/* Safe-area inset para iPhone (notch) */
  @supports (padding: max(0px)) {
    nav.top { padding-top: max(8px, env(safe-area-inset-top)); }
    footer { padding-bottom: max(30px, env(safe-area-inset-bottom)); }
  }

/* === DEBUG: chip de versión visible solo en mobile === */
  .build-stamp {
    display: none;
    position: fixed;
    bottom: 8px;
    left: 8px;
    z-index: 999;
    background: rgba(11,13,18,.78);
    color: #6ee7a8;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    font-family: ui-monospace, monospace;
    letter-spacing: .04em;
    pointer-events: none;
    opacity: .7;
  }

@media (max-width: 1000px) {
    .build-stamp { display: block; }
  }

/* === HERO CTA "Revoluciona tu empresa" — glassmorphism + gradient brand === */
  .btn.btn-revolucion {
    position: relative;
    background:
      linear-gradient(135deg,
        rgba(30,200,255,.62) 0%,
        rgba(183,148,244,.62) 50%,
        rgba(110,231,168,.62) 100%) !important;
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    border: 1px solid rgba(255,255,255,.5) !important;
    color: var(--ink) !important;
    box-shadow:
      0 14px 38px rgba(30,200,255,.22),
      0 4px 14px rgba(183,148,244,.18),
      inset 0 1px 0 rgba(255,255,255,.6),
      inset 0 -1px 0 rgba(11,13,18,.04);
    overflow: hidden;
    isolation: isolate;
    transition: transform .2s, box-shadow .25s, filter .2s;
  }

.btn.btn-revolucion::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.30) 50%, transparent 70%);
    opacity: 0;
    transform: translateX(-30%);
    transition: opacity .3s, transform .8s cubic-bezier(.2,.8,.2,1);
    pointer-events: none;
    z-index: -1;
  }

.btn.btn-revolucion:hover::before { opacity: 1; transform: translateX(30%); }

.btn.btn-revolucion:hover {
    filter: brightness(1.05);
    box-shadow:
      0 18px 48px rgba(30,200,255,.30),
      0 6px 18px rgba(183,148,244,.25),
      inset 0 1px 0 rgba(255,255,255,.7);
  }

.btn.btn-revolucion:active { transform: scale(.98); }

.btn.btn-revolucion .dur {
    font-weight: 500;
    opacity: .65;
    margin: 0 4px;
  }

/* On low-end devices that prefer reduced data, also disable scene completely */
  @media (max-width: 768px) and (prefers-reduced-data: reduce) {
    .scene { display: none !important; }
  }

/* ============================================================== */

  

  /* ============================================================== */
  /* === Surgical performance optimizations (no design changes) === */
  /* ============================================================== */
  
  /* Mobile-specific reductions (don't change desktop look) */
  @media (max-width: 1024px) {
    /* Sheen on faces: slower + dimmer.
       Was 8 simultaneous animations every 5.5s with screen blend.
       Now: longer cycle, less GPU pressure, still visually present. */
    .face .gloss {
      animation-duration: 18s !important;
      opacity: 0.55;
    }
    
    /* Smaller blur radii on decorative elements (cheaper compositor pass) */
    .scene-glow {
      filter: blur(8px) !important;
    }
    .scene-shadow {
      filter: blur(10px) !important;
    }
    
    /* Lower-end devices: also reduce face count visually 
       Note: We keep all 8 faces in DOM; this just dims back-facing ones */
    .face {
      transition: opacity 0.3s;
    }
  }

/* ============================================================== */

  /* ============================================================== */
  /* === Reveal animations DISABLED — content always visible ====== */
  /* ============================================================== */
  .reveal,
  .reveal.in,
  .reveal.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
