:root {
    --teal: #1D9E75;
    --teal-light: #17876A;
    --teal-dark: #085041;
    --coral: #C14A22;
    --coral-light: #E07B55;
    --pink: #B8436A;
    --pink-light: #D46F94;
    --purple: #6B63C8;
    --purple-light: #8A82D9;
    --bg: #e2e5e9;
    --bg2: #fcfbf9;
    --bg3: #d9dce1;
    --border: rgba(0,0,0,0.11);
    --text: #1a1d21;
    --muted: #5a5e63;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; overflow-x: hidden; }
  body {
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
  }
  h1,h2,h3,h4 { font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.15; }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem 5%;
    background: rgba(252,251,249,0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }
  .nav-logo { font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--text); text-decoration: none; }
  .nav-logo span { color: var(--teal-light); }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 500; transition: color .2s; }
  .nav-links a:hover { color: var(--text); }
  .nav-cta {
    background: var(--teal); color: #fff; border: none; padding: .6rem 1.4rem;
    border-radius: 50px; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 600; font-size: .85rem;
    cursor: pointer; text-decoration: none; transition: background .2s, transform .15s;
  }
  .nav-cta:hover { background: var(--teal-light); transform: translateY(-1px); }

  /* SECTIONS */
  section { padding: 100px 5% 80px; }
  .container { max-width: 1100px; margin: 0 auto; }
  .tag {
    display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--teal); background: rgba(29,158,117,.08); border: 1px solid rgba(29,158,117,.2);
    padding: .3rem .9rem; border-radius: 50px; margin-bottom: 1.2rem;
  }
  .section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1.2rem; }
  .section-sub { font-size: 1.1rem; color: var(--muted); max-width: 560px; line-height: 1.7; }

  /* HERO */
  #hero {
    min-height: 100vh; display: flex; align-items: center;
    padding-top: 120px; padding-bottom: 48px;
    background: radial-gradient(ellipse 80% 60% at 60% 30%, rgba(29,158,117,.07) 0%, transparent 70%),
                radial-gradient(ellipse 50% 40% at 20% 80%, rgba(29,158,117,.04) 0%, transparent 60%);
  }
  #hero .container { width: 100%; }
  .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
  .hero-eyebrow { color: var(--teal); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .8rem; }
  .hero-title { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 800; line-height: 1.05; margin-bottom: 1.4rem; }
  .hero-title span { color: var(--teal); }
  .hero-desc { font-size: 1.1rem; color: var(--muted); margin-bottom: 2.2rem; line-height: 1.75; }
  .hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
  .btn-primary {
    background: var(--teal); color: #fff; padding: .85rem 2rem;
    border-radius: 50px; text-decoration: none; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 700; font-size: .95rem; transition: all .2s; border: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: .5rem;
  }
  .btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); }
  .btn-outline {
    background: transparent; color: var(--text); padding: .85rem 2rem;
    border-radius: 50px; text-decoration: none; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 600; font-size: .95rem; border: 1px solid var(--border); transition: all .2s; cursor: pointer;
    display: inline-flex; align-items: center; gap: .5rem;
  }
  .btn-outline:hover { border-color: rgba(0,0,0,.2); background: rgba(0,0,0,.03); }
  .hero-visual {
    background: var(--bg2); border: 1px solid var(--border); border-radius: 20px;
    padding: 1.5rem; position: relative; overflow: hidden;
  }
  .hero-visual::before {
    content: ''; position: absolute; top: 0; right: 0; width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(29,158,117,.1) 0%, transparent 70%);
    border-radius: 50%;
  }
  .chat-bubble { border-radius: 14px; padding: .75rem 1rem; margin-bottom: .6rem; font-size: .88rem; max-width: 82%; }
  .bubble-user { background: rgba(29,158,117,.1); border: 1px solid rgba(29,158,117,.2); margin-left: auto; text-align: right; }
  .bubble-bot { background: var(--bg3); border: 1px solid var(--border); }
  .bubble-bot strong { color: var(--teal); font-size: .78rem; display: block; margin-bottom: .3rem; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; }
  .typing { display: flex; gap: 4px; align-items: center; padding: .5rem .8rem; }
  .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: blink 1.2s infinite; }
  .dot:nth-child(2) { animation-delay: .2s; }
  .dot:nth-child(3) { animation-delay: .4s; }
  @keyframes blink { 0%,80%,100%{opacity:.2} 40%{opacity:1} }
  #chat-demo { height: 520px; overflow-y: auto; scrollbar-width: none; }
  #chat-demo::-webkit-scrollbar { display: none; }
  .chat-chips { margin-top: .5rem; }
  .chat-chip { display: inline-block; background: var(--bg2); border: 1px solid var(--teal); color: var(--teal); border-radius: 50px; padding: .2rem .65rem; font-size: .75rem; margin: .25rem .15rem 0 0; white-space: nowrap; }
  .chat-img { max-width: 100%; border-radius: 10px; display: block; }
  .status-bar { display: flex; gap: 1rem; margin-top: 1.2rem; border-top: 1px solid var(--border); padding-top: 1rem; }
  .status-item { font-size: .75rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; }
  .status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

  /* HERO — subtítulo + texto de apoyo */
  .hero-sub { font-size: 1.15rem; font-weight: 600; color: var(--text); line-height: 1.5; margin-bottom: 1rem; }
  .hero-desc strong { color: var(--teal); font-weight: 700; }

  /* HERO — stage: plataforma (dashboard real) al fondo, tarjeta de Copilot encima */
  .hero-stage { position: relative; }
  .hero-visual { position: relative; z-index: 2; }
  .hero-copilot { position: absolute; z-index: 3; left: -18px; bottom: -30px; width: 74%; max-width: 350px; transform: rotate(-1deg); }
  .browser-frame { background: var(--bg3); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.10); }
  .browser-bar { display: flex; gap: 6px; padding: .6rem .8rem; background: var(--bg2); border-bottom: 1px solid var(--border); }
  .browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(0,0,0,.12); }
  .browser-body { padding: 1.1rem 1.2rem 1.4rem; }
  .status-bar { justify-content: center; margin-top: 2.4rem; border-top: none; padding-top: 0; }

  /* COPILOT — tarjeta de acción (reusable: hero + sección Copilot). 1 carta = 1 capacidad → fácil de ampliar */
  .cop-card { background: var(--bg2); border: 1px solid rgba(29,158,117,.22); border-radius: 14px; padding: 1rem 1.1rem; box-shadow: 0 6px 24px rgba(0,0,0,.07); }
  .cop-head { display: flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 700; color: var(--teal); margin-bottom: .55rem; }
  .cop-avatar { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(29,158,117,.12); font-size: .7rem; }
  .cop-line { font-size: .86rem; color: var(--text); line-height: 1.5; margin-bottom: .3rem; }
  .cop-line b { color: var(--text); font-weight: 700; }
  .cop-line--a { color: var(--muted); }
  .cop-actions { display: flex; gap: .5rem; margin-top: .7rem; }
  .cop-approve { background: var(--teal); color: #fff; font-size: .78rem; font-weight: 700; padding: .35rem .9rem; border-radius: 50px; }
  .cop-dismiss { background: transparent; color: var(--muted); font-size: .78rem; font-weight: 600; padding: .35rem .8rem; border-radius: 50px; border: 1px solid var(--border); }
  .cop-tag { display: inline-block; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .18rem .55rem; border-radius: 50px; margin-bottom: .5rem; }
  .cop-tag--ask { background: rgba(107,99,200,.1); color: var(--purple); }
  .cop-tag--propose { background: rgba(29,158,117,.1); color: var(--teal); }
  .cop-tag--done { background: rgba(184,67,106,.1); color: var(--pink); }
  .cop-card--done { border-color: rgba(184,67,106,.25); }

  /* EL GIRO (dolores) */
  #giro { background: var(--bg2); }
  .pains-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.2rem; margin-top: 3rem; }
  .pain-card {
    background: var(--bg3); border: 1px solid var(--border); border-radius: 16px;
    padding: 1.6rem; transition: border-color .25s, transform .25s, box-shadow .25s; cursor: default;
    position: relative; overflow: hidden;
  }
  .pain-card:hover { border-color: rgba(29,158,117,.4); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(29,158,117,.12); }
  .pain-card::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--teal-light));
    opacity: 0; transition: opacity .25s;
  }
  .pain-card:hover::after { opacity: 1; }
  .pain-icon { font-size: 1.8rem; margin-bottom: .9rem; }
  .pain-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--text); }
  .pain-card p { font-size: .88rem; color: var(--muted); line-height: 1.65; }
  .pain-solve { margin-top: .9rem; font-size: .82rem; color: var(--teal); font-weight: 600; display: flex; align-items: center; gap: .4rem; }
  .pain-bridge { text-align: center; font-size: 1.3rem; font-weight: 700; color: var(--text); line-height: 1.4; max-width: 720px; margin: 2.8rem auto 0; }
  .pain-bridge span { color: var(--teal); }

  /* LA PLATAFORMA — carrusel de capturas reales + tablero de ecosistema */
  #plataforma { background: var(--bg2); }
  .section-title span { color: var(--teal); }
  .solution-panel { max-width: 760px; margin: 2.6rem auto 2.4rem; }
  .eco-board {
    position: relative; overflow: hidden;
    border: 1px solid var(--border); border-radius: 20px; padding: 1.6rem;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(29,158,117,.06) 0%, transparent 70%), var(--bg2);
  }
  .eco-head { text-align: center; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 1.3rem; }
  .eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
  .eco-cell { background: var(--bg3); padding: 1.4rem 1.2rem; transition: background .2s; }
  .eco-cell:hover { background: #e0e3e8; }
  .eco-icon { font-size: 1.55rem; margin-bottom: .55rem; }
  .eco-benefit { font-size: .95rem; font-weight: 700; color: var(--text); line-height: 1.35; }
  .eco-tag { display: inline-block; margin-top: .5rem; font-size: .7rem; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
  .eco-cell--wide { grid-column: 1 / -1; text-align: center; }
  .eco-foot { text-align: center; color: var(--muted); font-size: .9rem; font-style: italic; margin-top: 1.3rem; }

  /* CARRUSEL — demo del producto (#solucion). aspect-ratio fijo + object-fit: contain → acepta imágenes/videos de cualquier tamaño sin romper el layout */
  .carousel { max-width: 820px; margin: 2.6rem auto 2.4rem; }
  .carousel-viewport { overflow: hidden; }
  .carousel-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); }
  .carousel-slide { flex: 0 0 100%; min-width: 0; }
  .carousel-media { position: relative; aspect-ratio: 16 / 10; background: var(--bg3); display: flex; align-items: center; justify-content: center; overflow: hidden; }
  .carousel-media img, .carousel-media video { width: 100%; height: 100%; object-fit: contain; display: block; background: var(--bg3); }
  .zoomable { cursor: zoom-in; }
  .carousel-caption { text-align: center; padding: 1.3rem 1rem .2rem; }
  .carousel-caption h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .45rem; }
  .carousel-caption p { font-size: .9rem; color: var(--muted); line-height: 1.6; max-width: 480px; margin: 0 auto; }
  .carousel-dots { display: flex; justify-content: center; gap: .55rem; margin-top: 1.2rem; }
  .carousel-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(0,0,0,.15); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
  .carousel-dot:hover { background: rgba(0,0,0,.3); }
  .carousel-dot.active { background: var(--teal); transform: scale(1.25); }

  /* VIDEO — recorrido del producto (#prueba). aspect-ratio fijo + object-fit: contain → acepta video/iframe de cualquier tamaño sin romper el layout */
  .video-panel { max-width: 760px; margin: 2.6rem auto 2.4rem; }
  .video-media { position: relative; aspect-ratio: 16 / 9; background: var(--bg3); display: flex; align-items: center; justify-content: center; overflow: hidden; }
  .video-media video, .video-media iframe { width: 100%; height: 100%; object-fit: contain; border: none; display: block; background: var(--bg3); }
  .video-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; width: 100%; height: 100%; background: radial-gradient(ellipse 60% 60% at 50% 40%, rgba(29,158,117,.08) 0%, transparent 70%), var(--bg3); }
  .video-ph-play { width: 64px; height: 64px; border-radius: 50%; background: rgba(29,158,117,.12); border: 1px solid rgba(29,158,117,.25); display: flex; align-items: center; justify-content: center; color: var(--teal); }
  .video-ph-label { font-size: .8rem; color: var(--muted); font-style: italic; }

  /* LIGHTBOX — click en carrusel/copiloto/video demo para ver en grande (landing.js) */
  body.lightbox-locked { overflow: hidden; }
  .lightbox-overlay {
    position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.85); opacity: 0; pointer-events: none; transition: opacity .25s ease; padding: 3rem 1.2rem;
  }
  .lightbox-overlay.open { opacity: 1; pointer-events: auto; }
  .lightbox-content { max-width: 94vw; max-height: 88vh; display: flex; cursor: zoom-out; }
  .lightbox-content img, .lightbox-content video {
    max-width: 94vw; max-height: 88vh; width: auto; height: auto; display: block;
    border-radius: 14px; border: 1px solid var(--border); box-shadow: 0 24px 70px rgba(0,0,0,.3);
  }
  .lightbox-close {
    position: fixed; top: 1.4rem; right: 1.6rem; width: 42px; height: 42px; border-radius: 50%;
    background: var(--bg3); border: 1px solid var(--border); color: var(--text); font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, transform .2s;
  }
  .lightbox-close:hover { background: var(--bg2); transform: scale(1.06); }

  /* LEGAL MODAL — Privacidad / Términos, abierto desde el footer (landing.js) */
  .legal-modal {
    position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.7); opacity: 0; pointer-events: none; transition: opacity .25s ease; padding: 2.5rem 1.2rem;
  }
  .legal-modal.open { opacity: 1; pointer-events: auto; }
  .legal-card {
    background: var(--bg2); border: 1px solid var(--border); border-radius: 16px;
    width: 100%; max-width: 680px; max-height: 86vh; display: flex; flex-direction: column;
    box-shadow: 0 24px 70px rgba(0,0,0,.15);
  }
  .legal-head {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--border);
  }
  .legal-head h3 { font-size: 1.05rem; color: var(--text); margin: 0; }
  .legal-close {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg3); border: 1px solid var(--border); color: var(--text); font-size: 1rem;
    display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, transform .2s;
  }
  .legal-close:hover { background: var(--bg); transform: scale(1.06); }
  .legal-body { padding: 1.3rem 1.5rem 1.8rem; overflow-y: auto; }
  .legal-body h4 { font-size: .95rem; color: var(--teal); margin: 1.4rem 0 .5rem; }
  .legal-body p { font-size: .9rem; color: var(--muted); line-height: 1.65; margin: 0 0 .7rem; }
  .legal-body strong { color: var(--text); }
  .legal-body a { color: var(--teal); text-decoration: none; }
  .legal-body a:hover { text-decoration: underline; }
  .legal-updated { font-size: .8rem !important; color: var(--muted); opacity: .7; margin-bottom: 1.2rem !important; }

  /* USE CASES — separación del subtítulo nuevo respecto a las pestañas */
  #usecases .section-sub { margin-bottom: 2rem; }

  /* HOW IT WORKS */
  #how { background: var(--bg2); }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 3.5rem; position: relative; }
  .steps::before {
    content: ''; position: absolute; top: 2rem; left: 12%; right: 12%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal), var(--teal), var(--teal), transparent);
    z-index: 0;
  }
  .step { text-align: center; padding: 0 1rem; position: relative; z-index: 1; }
  .step-num {
    width: 4rem; height: 4rem; border-radius: 50%; margin: 0 auto 1.2rem;
    display: flex; align-items: center; justify-content: center;
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 800; font-size: 1.2rem;
    border: 2px solid var(--teal);
  }
  .step-num.s1 { background: rgba(29,158,117,.1); color: var(--teal); }
  .step-num.s2 { background: rgba(107,99,200,.1); color: var(--purple); }
  .step-num.s3 { background: rgba(184,67,106,.1); color: var(--pink); }
  .step h3 { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
  .step p { font-size: .83rem; color: var(--muted); line-height: 1.6; }

  /* COPILOT — el motor de IA (corazón). Captura real + flujo + cartas de acción (diseñadas para crecer) */
  #copilot { background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(29,158,117,.05) 0%, transparent 70%), var(--bg); }
  .copilot-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-top: 3rem; }
  .copilot-media .browser-frame { margin: 0; }
  .copilot-media .carousel-media { aspect-ratio: 16 / 11; }
  /* Crossfade de capturas reales del Copiloto (#copilot). Imágenes apiladas; landing.js alterna
     .active cada 1s. La caja .carousel-media ya es position:relative + aspect-ratio fijo. */
  .copilot-crossfade { position: absolute; inset: 0; }
  .copilot-crossfade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .4s ease; background: var(--bg3); }
  .copilot-crossfade img.active { opacity: 1; }
  .copilot-side { display: flex; flex-direction: column; gap: 1.2rem; }
  .cop-flow-lead { font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--teal); text-transform: uppercase; }
  .cop-flow { display: flex; flex-direction: column; gap: .7rem; }
  .cop-step { display: flex; gap: .8rem; align-items: flex-start; font-size: .92rem; color: var(--text); line-height: 1.45; }
  .cop-step b { color: var(--teal); }
  .cop-step-n { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(29,158,117,.1); border: 1px solid rgba(29,158,117,.25); color: var(--teal); font-size: .8rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
  .copilot-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
  .copilot-actions .cop-card { box-shadow: none; }
  .cop-bridge { font-size: .9rem; color: var(--muted); line-height: 1.6; margin-top: .3rem; }
  .cop-bridge b { color: var(--text); }
  .cop-bridge a { color: var(--teal); text-decoration: none; font-weight: 600; }
  .cop-bridge a:hover { text-decoration: underline; }

  /* CARA AL CLIENTE — chat animado reubicado */
  #cliente { background: var(--bg2); }
  .client-band { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
  .client-copy .tag { margin-bottom: 1rem; }
  .client-copy .section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 1rem; }
  .client-list { list-style: none; margin-top: 1.6rem; display: flex; flex-direction: column; gap: .8rem; }
  .client-list li { display: flex; align-items: center; gap: .7rem; font-size: .92rem; color: var(--text); }
  .client-visual { padding: 1.2rem; }
  .client-visual #chat-demo { height: 460px; }

  /* CONTROL — la IA propone, tú dispones */
  #control { background: var(--bg); }
  .pillar-star {
    display: flex; gap: 1.6rem; align-items: flex-start; margin: 2.6rem 0 1.4rem;
    background: radial-gradient(ellipse 60% 80% at 0% 0%, rgba(29,158,117,.07) 0%, transparent 70%), var(--bg2);
    border: 1px solid rgba(29,158,117,.2); border-radius: 20px; padding: 2rem;
  }
  .pillar-star-icon { font-size: 2.4rem; line-height: 1; flex-shrink: 0; }
  .pillar-star-body { flex: 1; }
  .pillar-star-body h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: .7rem; }
  .pillar-manifesto { font-size: 1.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 1.1rem; }
  .pillar-manifesto span { color: var(--teal); }
  .pillar-levels { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
  .level-chip { font-size: .8rem; font-weight: 600; color: var(--text); background: var(--bg2); border: 1px solid var(--border); border-radius: 50px; padding: .35rem .9rem; }
  .level-sep { color: var(--teal); font-weight: 700; }
  .pillar-desc { color: var(--muted); font-size: .95rem; line-height: 1.7; }
  .pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .pillar-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 16px; padding: 1.6rem 1.6rem 1.6rem 1.8rem; position: relative; overflow: hidden; transition: border-color .25s, transform .25s; }
  .pillar-card::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px; background: var(--teal); }
  .pillar--shield::before { background: var(--purple); }
  .pillar--tutor::before { background: var(--teal); }
  .pillar--fit::before { background: var(--pink); }
  .pillar-card:hover { transform: translateY(-4px); border-color: rgba(0,0,0,.15); }
  .pillar-icon { font-size: 1.7rem; margin-bottom: .8rem; }
  .pillar-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; }
  .pillar-card p { color: var(--muted); font-size: .9rem; line-height: 1.65; }

  /* USE CASES */
  #usecases { background: var(--bg); }
  .usecase-tabs { display: flex; gap: .5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
  .uc-tab {
    padding: .55rem 1.2rem; border-radius: 50px; border: 1px solid var(--border);
    background: transparent; color: var(--muted); font-size: .85rem; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 600; cursor: pointer; transition: all .2s;
  }
  .uc-tab.active { background: rgba(107,99,200,.1); border-color: var(--purple); color: var(--purple); }
  .uc-panel { display: none; }
  .uc-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
  .uc-scenario { border-left: 3px solid var(--purple); padding-left: 1.2rem; }
  .uc-scenario p { font-size: 1.1rem; color: var(--text); line-height: 1.7; }
  .uc-list { list-style: none; }
  .uc-list li { padding: .55rem 0; border-bottom: 1px solid var(--border); font-size: .88rem; color: var(--muted); display: flex; gap: .6rem; align-items: flex-start; }
  .uc-list li:last-child { border-bottom: none; }
  .uc-badge { font-size: .72rem; padding: .2rem .6rem; border-radius: 50px; flex-shrink: 0; margin-top: .15rem; font-weight: 600; }
  .badge-good { background: rgba(29,158,117,.1); color: var(--teal); }

  /* CTA */
  #cta { background: var(--bg); text-align: center; padding: 120px 5%; }
  .cta-box {
    background: var(--bg2); border: 1px solid rgba(29,158,117,.2); border-radius: 24px;
    padding: 4rem 3rem; max-width: 700px; margin: 0 auto;
    position: relative; overflow: hidden;
  }
  .cta-box::before {
    content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
    width: 400px; height: 300px;
    background: radial-gradient(ellipse, rgba(29,158,117,.08) 0%, transparent 70%);
  }
  .cta-box h2 { font-size: 2.4rem; font-weight: 800; margin-bottom: 1rem; position: relative; }
  .cta-box p { color: var(--muted); margin-bottom: 2rem; font-size: 1.05rem; position: relative; }
  .cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }
  .btn-wa {
    background: #25D366; color: #fff; padding: .85rem 2rem;
    border-radius: 50px; text-decoration: none; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 700; font-size: .95rem; transition: all .2s; display: inline-flex; align-items: center; gap: .5rem;
  }
  .btn-wa:hover { background: #1ebe5a; transform: translateY(-2px); }

  /* PRUEBA / CREDIBILIDAD */
  #prueba { background: var(--bg2); }
  .proof-signals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
  .proof-signal { display: flex; align-items: center; gap: .7rem; background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem 1.3rem; font-size: .92rem; font-weight: 600; color: var(--text); }
  .proof-check { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(29,158,117,.1); color: var(--teal); font-size: .85rem; flex-shrink: 0; }
  .proof-callout { text-align: center; color: var(--muted); font-size: .95rem; font-style: italic; margin-top: 1.8rem; }

  /* PRUÉBALO TÚ MISMO — demo autoservicio (bot + panel) */
  #probar {
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(29,158,117,.06) 0%, transparent 70%), var(--bg);
    text-align: center;
  }
  #probar .section-title, #probar .section-sub { margin-left: auto; margin-right: auto; }
  #probar .section-sub { max-width: 640px; }
  .probar-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem;
    margin: 3rem auto 0; max-width: 860px; text-align: left;
  }
  .probar-card {
    background: var(--bg2); border: 1px solid rgba(29,158,117,.2); border-radius: 20px;
    padding: 2.2rem 2rem; display: flex; flex-direction: column;
    transition: border-color .25s, transform .25s;
  }
  .probar-card:hover { border-color: rgba(29,158,117,.45); transform: translateY(-4px); }
  .probar-icon { font-size: 2rem; margin-bottom: 1rem; }
  .probar-card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: .7rem; color: var(--text); }
  .probar-card p { font-size: .95rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.6rem; }
  .probar-card p strong { color: var(--text); font-weight: 700; }
  .probar-card .btn-wa, .probar-card .btn-primary { align-self: flex-start; margin-top: auto; }
  .probar-foot { font-size: .82rem !important; color: var(--muted); margin: 1rem 0 0 !important; font-style: italic; }
  .probar-bridge { text-align: center; font-size: 1.25rem; font-weight: 700; color: var(--text); line-height: 1.4; max-width: 680px; margin: 2.8rem auto 0; }
  .probar-bridge span { color: var(--teal); }
  .probar-cta { margin-top: 1.6rem; }

  /* CTA — texto alternativo (canal secundario, no compite) */
  .cta-alt { margin-top: 1.2rem; font-size: .9rem; color: var(--muted); position: relative; }
  .cta-alt a { color: var(--teal); text-decoration: none; }
  .cta-alt a:hover { text-decoration: underline; }

  /* FOOTER */
  footer {
    background: var(--bg2); border-top: 1px solid var(--border);
    padding: 3rem 5% 2.5rem;
  }
  .footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 1100px; margin: 0 auto 2.2rem; }
  .footer-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text); font-weight: 700; margin-bottom: .9rem; }
  .footer-col a, .footer-col .footer-text { display: block; color: var(--muted); font-size: .88rem; text-decoration: none; margin-bottom: .5rem; transition: color .2s; }
  .footer-col a:hover { color: var(--teal); }
  .footer-copy { text-align: center; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--border); padding-top: 1.5rem; }

  /* FADE IN */
  .fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
  .fade-in.visible { opacity: 1; transform: none; }


  .expandable { cursor: pointer; user-select: none; }
  .expand-arrow { display: inline-block; transition: transform .25s; margin-left: .5rem; font-size: .85em; color: var(--teal); }
  .expand-arrow.open { transform: rotate(180deg); }
  .expand-body { display: none; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--border); }
  .expand-body.open { display: block; }
  .expand-body p { font-size: .85rem; color: var(--muted); margin-bottom: .6rem; line-height: 1.65; }
  .expand-body ul { list-style: none; padding: 0; }
  .expand-body ul li { font-size: .83rem; color: var(--muted); padding: .3rem 0; padding-left: 1rem; position: relative; }
  .expand-body ul li::before { content: '›'; position: absolute; left: 0; color: var(--teal); }

  @media (max-width: 768px) {
    nav { padding: 1rem 4%; }
    .nav-links { display: none; }
    .hero-grid, .uc-panel.active, .client-band { grid-template-columns: 1fr; }
    .hero-copilot { position: static; width: 100%; max-width: none; transform: none; margin-top: 1rem; }
    .eco-grid { grid-template-columns: 1fr; }
    .copilot-showcase { grid-template-columns: 1fr; }
    .copilot-actions { grid-template-columns: 1fr; }
    .pillars-grid { grid-template-columns: 1fr; }
    .pillar-star { flex-direction: column; gap: 1rem; padding: 1.5rem; }
    .proof-signals { grid-template-columns: 1fr; }
    .probar-grid { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
  }