/* =====================================================================
   Clean Notes — inicio (solo index.html)
   "Qué hacemos" (lista estrecha a la derecha + recuadro a la izquierda),
   orden de las hojas y adelanto de +Web. Tokens, botones y piezas base
   en web.css. Como en web.css, el CSS describe el estado FINAL: sin JS
   se ven todos los recuadros, uno debajo de otro.
   ===================================================================== */

/* color y tono de la academia de ejemplo (Tu marca); registrados para poder animarlos */
@property --qh-c { syntax: "<color>"; inherits: true; initial-value: #3B7FE8; }
@property --qh-hue { syntax: "<angle>"; inherits: true; initial-value: 0deg; }

/* =====================================================================
   QUÉ HACEMOS
   ===================================================================== */
.qh { --qh-list: clamp(270px, 27vw, 344px); --qh-gap: clamp(20px, 2.4vw, 32px); }

.qh-head {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--qh-list);
  gap: 18px var(--qh-gap); align-items: end;
  margin-bottom: clamp(32px, 3.6vw, 48px);
}
.qh-head .h-display { max-width: 22ch; }
.qh-head .lead { padding-bottom: 8px; font-size: 16.5px; }

.qh-grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--qh-list); gap: var(--qh-gap); align-items: start; }
.qh-panels { grid-column: 1; grid-row: 1; min-width: 0; }

/* ---------- lista (derecha) ---------- */
.qh-list { grid-column: 2; grid-row: 1; position: relative; display: grid; gap: 4px; align-content: start; }
.qh-tab {
  position: relative;
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start;
  width: 100%; padding: 18px 20px;
  border: 0; border-radius: 20px;
  text-align: left; color: var(--ink); background: transparent; cursor: pointer;
  transition: background-color .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.qh-tab::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: -2.5px; height: 1px;
  background: var(--line); transition: opacity .3s;
}
.qh-tab:last-child::after, .qh-tab.is-on::after, .qh-tab:has(+ .qh-tab.is-on)::after { opacity: 0; }
.qh-tab::before {
  content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 3px; border-radius: 0 3px 3px 0;
  background: var(--electric); transform: scaleY(0); transition: transform .55s var(--ease-out);
}
.qh-tab:hover { background: rgba(255, 255, 255, .7); }
.qh-tab.is-on { background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 26px 50px -32px rgba(10, 22, 40, .5); }
.qh-tab.is-on::before { transform: scaleY(1); }
.qh-tab:focus-visible { outline-offset: -3px; border-radius: 20px; }
.qh-num { padding-top: 3px; font-size: 12.5px; font-weight: 650; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--ink-4); transition: color .4s; }
.qh-tab.is-on .qh-num { color: var(--electric); }
.qh-tab-txt { min-width: 0; }
.qh-tab-txt b { display: block; font-size: 17px; font-weight: 640; letter-spacing: -.02em; line-height: 1.3; }
.qh-tab-txt small {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  margin-top: 5px; font-size: 14px; line-height: 1.45; color: var(--ink-3);
}

/* ---------- recuadro (izquierda) ---------- */
.qh-panel {
  padding: 10px; border-radius: 34px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(10, 22, 40, .04), 0 60px 110px -70px rgba(10, 22, 40, .55);
}
.qh-panel + .qh-panel { margin-top: 24px; }
/* con JS: todos los recuadros en la misma celda (misma altura, fundido al cambiar) */
.qh.is-ready .qh-panels { display: grid; }
.qh.is-ready .qh-panel {
  grid-area: 1 / 1; margin: 0;
  visibility: hidden; opacity: 0;
  transition: opacity .3s var(--ease-out), visibility 0s linear .3s;
}
.qh.is-ready .qh-panel.is-on { z-index: 1; visibility: visible; opacity: 1; transition: opacity .5s var(--ease-out); }
.qh-panel:not(.is-on) * { animation-play-state: paused !important; }

/* escenario oscuro con la rejilla del hero; todo se mide en cqw para escalar entero */
.qh-stage {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 16 / 7.6;
  border-radius: 26px;
  container-type: inline-size;
  color: var(--ink);
  background:
    radial-gradient(70% 85% at 90% 0%, color-mix(in srgb, var(--qh-c) 46%, transparent), transparent 66%),
    radial-gradient(60% 70% at 0% 100%, rgba(27, 61, 122, .6), transparent 70%),
    linear-gradient(160deg, #10223F, var(--midnight) 72%);
  transition: --qh-c .8s var(--ease-out), --qh-hue .8s var(--ease-out);
}
.qh-stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--d-line) 1px, transparent 1px), linear-gradient(90deg, var(--d-line) 1px, transparent 1px);
  background-size: 6cqw 6cqw; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 60% 40%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 75% at 60% 40%, #000 20%, transparent 78%);
}

/* ventanas con captura real */
.qh-win, .qh-site {
  position: absolute; margin: 0; overflow: hidden;
  border-radius: clamp(8px, 1.5cqw, 14px); background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 4cqw 8cqw -3cqw rgba(0, 0, 0, .75), 0 0 9cqw -2cqw color-mix(in srgb, var(--qh-c) 55%, transparent);
}
.qh-win-bar { display: flex; align-items: center; gap: 1.4cqw; height: clamp(18px, 3.9cqw, 34px); padding: 0 1.6cqw; background: #EEF2F8; border-bottom: 1px solid #DDE4EF; }
.qh-win-bar .hv-dots { gap: .6cqw; }
.qh-win-bar .hv-dots i { width: clamp(5px, .9cqw, 9px); height: clamp(5px, .9cqw, 9px); background: #C5CEDC; }
.qh-win-url {
  flex: 1; max-width: 48%; margin: 0 auto; padding: .35cqw 1.6cqw; border-radius: 999px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center;
  font-size: clamp(7.5px, 1.3cqw, 12px); color: #5B6A85; background: #fff;
}
.qh-screen { position: relative; container-type: inline-size; }
.qh-img { display: block; width: 100%; height: auto; }
.qh-tint { filter: hue-rotate(var(--qh-hue)); }

/* el logo de la academia tapa el de la captura (medidas en % de cada captura) */
.qh-logo { position: absolute; display: flex; align-items: center; background: #fff; color: var(--ink); }
.qh-logo i { display: grid; place-items: center; flex-shrink: 0; font-style: normal; font-weight: 700; color: #fff; background: var(--qh-c); }
.qh-logo b { font-weight: 700; letter-spacing: -.02em; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qh-logo > span { min-width: 0; display: grid; }
.qh-logo small { font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.qh-logo--evo, .qh-logo--side { left: .9%; width: 15.4%; gap: .9cqw; padding-left: .4cqw; }
.qh-logo--evo { top: 1.9%; height: 6.75%; }
.qh-logo--side { top: 1.5%; height: 5.4%; }
.qh-logo--evo i, .qh-logo--side i { width: 2.6cqw; height: 2.6cqw; border-radius: .7cqw; font-size: .95cqw; }
.qh-logo--evo b, .qh-logo--side b { font-size: 1.22cqw; }
.qh-logo--evo small, .qh-logo--side small { font-size: .56cqw; }
.qh-logo--plan { left: 11%; top: 1.5%; width: 60%; height: 6.2%; gap: 3cqw; }
.qh-logo--plan i { width: 8cqw; height: 8cqw; border-radius: 2.2cqw; font-size: 3cqw; }
.qh-logo--plan b { font-size: 4.4cqw; }

/* tarjetas flotantes */
.qh-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 1.2cqw;
  padding: 1.2cqw 1.8cqw 1.2cqw 1.2cqw; border-radius: clamp(10px, 1.6cqw, 16px);
  font-size: clamp(10px, 1.5cqw, 14px); line-height: 1.3;
  color: var(--ink); background: #fff;
  box-shadow: 0 0 0 1px rgba(10, 22, 40, .04), 0 3cqw 6cqw -2cqw rgba(0, 0, 0, .65);
}
.qh-card b { display: block; font-weight: 650; letter-spacing: -.01em; }
.qh-card small { display: block; font-size: .86em; color: var(--ink-3); }

/* ---------- 01 · Tu marca ---------- */
.qh-brands {
  position: absolute; left: 3.6%; top: 5%; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 7px 8px 7px 14px; border-radius: 999px;
  background: rgba(10, 22, 40, .45); box-shadow: inset 0 0 0 1px var(--d-line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.qh-brands-label { margin-right: 2px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--d-text-2); }
.qh-sw {
  width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
  transition: transform .5s var(--ease-spring), box-shadow .35s var(--ease-out);
}
.qh-sw:hover { transform: scale(1.12); }
.qh-sw[aria-pressed="true"] { box-shadow: 0 0 0 2px #0F1D34, 0 0 0 3.5px #fff; }
.qh-sw:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 50%; }
.qh-win--evo { left: 5%; top: 17%; width: 70%; }
.qh-phone {
  position: absolute; right: 5%; top: 10%; z-index: 2; width: 22%; margin: 0;
  padding: .8cqw; border-radius: 3.4cqw;
  background: linear-gradient(160deg, #26324A, #0B111D 60%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 4cqw 8cqw -3cqw rgba(0, 0, 0, .8);
}
.qh-phone .qh-screen { overflow: hidden; border-radius: 2.7cqw; }
.qh-badge {
  position: absolute; left: 3.4%; bottom: 6%; z-index: 3;
  display: flex; align-items: center; gap: 1.2cqw;
  padding: 1.1cqw 2cqw 1.1cqw 1.4cqw; border-radius: clamp(10px, 1.6cqw, 16px);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(10, 22, 40, .04), 0 3cqw 6cqw -2cqw rgba(0, 0, 0, .7);
}
.qh-badge b { font-size: clamp(20px, 3.6cqw, 34px); font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--qh-c); white-space: nowrap; }
.qh-badge span { font-size: clamp(10px, 1.35cqw, 13px); font-weight: 600; line-height: 1.25; color: var(--ink-2); }

/* ---------- 02 · Aula ---------- */
.qh-win--plan { left: 5%; top: 9%; width: 68%; }
.qh-card--video { right: 4%; top: 14%; }
.qh-play { position: relative; flex-shrink: 0; width: clamp(44px, 7.6cqw, 70px); aspect-ratio: 16 / 9; border-radius: clamp(5px, .9cqw, 8px); background: linear-gradient(150deg, #3B7FE8, #1B3D7A); }
.qh-play::after { content: ""; position: absolute; left: 50%; top: 50%; translate: -35% -50%; border-style: solid; border-width: .9cqw 0 .9cqw 1.5cqw; border-color: transparent transparent transparent #fff; }
.qh-card--ok { right: 7%; bottom: 11%; }
.qh-ok { position: relative; flex-shrink: 0; width: clamp(20px, 2.8cqw, 28px); height: clamp(20px, 2.8cqw, 28px); border-radius: 50%; background: var(--green); }
.qh-ok::after { content: ""; position: absolute; left: 36%; top: 22%; width: 22%; height: 42%; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- 03 · Campus ---------- */
.qh-win--rev { left: 5%; top: 9%; width: 66%; }
.qh-chart { right: 4%; top: 13%; display: block; width: 35%; padding: 1.9cqw 2.1cqw 2.1cqw; }
.qh-chart-t { display: flex; align-items: center; gap: .9cqw; margin-bottom: 1.4cqw; font-size: .92em; font-weight: 650; }
.qh-chart ul { display: grid; gap: 1.2cqw; }
.qh-chart li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5cqw 1cqw; align-items: baseline; font-size: .88em; color: var(--ink-2); }
.qh-chart li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qh-chart li b { grid-column: 2; grid-row: 1; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.qh-chart li i { grid-column: 1 / -1; height: clamp(4px, .7cqw, 7px); border-radius: 99px; background: #E3EAF5; overflow: hidden; }
.qh-chart li i::after { content: ""; display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--electric), var(--electric-hi)); transform: scaleX(var(--v)); transform-origin: 0 50%; }
.qh-spark {
  flex-shrink: 0; width: clamp(12px, 1.8cqw, 18px); aspect-ratio: 1; background: var(--electric);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.qh-card--tutor { left: 3%; bottom: 7%; }
.qh-card--tutor .qh-spark { width: clamp(18px, 2.6cqw, 26px); }

/* ---------- 04 · +Web ---------- */
.qh-stage--web { --site: #3B7FE8; }
.qh-site { left: 4.5%; top: 5.6cqw; width: 57%; }
.qh-site-nav {
  display: flex; align-items: center; gap: 2cqw;
  padding: 1.5cqw 2cqw; border-bottom: 1px solid #EEF1F6;
  font-size: clamp(7px, 1.2cqw, 11.5px); color: var(--ink-2);
}
.qh-site-logo { display: inline-flex; align-items: center; gap: .8cqw; margin-right: auto; font-weight: 700; color: var(--ink); white-space: nowrap; }
.qh-site-logo i { display: grid; place-items: center; width: 2.6cqw; height: 2.6cqw; border-radius: .7cqw; font-style: normal; font-size: .95cqw; color: #fff; background: var(--site); }
.qh-site-cta { padding: .7cqw 1.3cqw; border-radius: 999px; font-weight: 600; color: #fff; background: var(--site); white-space: nowrap; animation: qh-pulse 2.6s var(--ease-out) infinite; }
@keyframes qh-pulse { 0% { box-shadow: 0 0 0 0 rgba(59, 127, 232, .55); } 70%, 100% { box-shadow: 0 0 0 1.4cqw rgba(59, 127, 232, 0); } }
.qh-site-hero { padding: 3cqw 2cqw 2.4cqw; background: linear-gradient(160deg, #EEF5FF, #fff 60%); }
.qh-site-hero b { display: block; max-width: 15ch; font-size: clamp(11px, 2.3cqw, 22px); line-height: 1.08; letter-spacing: -.035em; }
.qh-site-hero i { display: block; width: 62%; height: .8cqw; margin-top: 1.4cqw; border-radius: 99px; background: #E3EAF2; }
.qh-site-hero i + i { width: 44%; margin-top: .8cqw; }
.qh-site-hero em { display: inline-block; margin-top: 1.8cqw; padding: .7cqw 1.5cqw; border-radius: 999px; font-style: normal; font-size: clamp(7px, 1.05cqw, 10.5px); font-weight: 600; color: #fff; background: var(--ink); }
.qh-site-courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2cqw; padding: 0 2cqw 2cqw; }
.qh-site-courses span { padding: 1.1cqw; border-radius: 1cqw; font-size: clamp(6.5px, 1.05cqw, 10.5px); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #F4F7FB; box-shadow: inset 0 0 0 1px #E6ECF4; }
.qh-site-courses span::before { content: ""; display: block; height: 4.2cqw; margin-bottom: .9cqw; border-radius: .7cqw; background: linear-gradient(135deg, #DCE8FB, #C3D6F5); }
.qh-site-courses span:nth-child(2)::before { background: linear-gradient(135deg, #D7F0E8, #BFE3D6); }
.qh-site-courses span:nth-child(3)::before { background: linear-gradient(135deg, #F4E6D8, #EBD3BE); }
/* el botón "Acceso alumnos" lleva directo al campus */
.qh-wire {
  position: absolute; left: 59%; top: 12.6cqw; z-index: 3; width: 13%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--electric-hi) 0 6px, transparent 6px 11px);
}
.qh-wire i { position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(121, 170, 248, .35); animation: qh-wire 2.6s var(--ease-io) infinite; }
@keyframes qh-wire { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.qh-wire-tag {
  position: absolute; left: 66%; top: 7.4cqw; z-index: 3; translate: -50% 0;
  padding: .6cqw 1.3cqw; border-radius: 999px; white-space: nowrap;
  font-size: clamp(8px, 1.15cqw, 11px); font-weight: 600; letter-spacing: .02em;
  color: #fff; background: var(--electric); box-shadow: 0 1.4cqw 3cqw -1cqw rgba(59, 127, 232, .9);
}
.qh-mini {
  position: absolute; right: 5%; top: 8.4cqw; z-index: 2; width: 23.5%;
  padding: 1.7cqw; border-radius: 2.4cqw;
  background: #F6F9FE;
  box-shadow: 0 0 0 .55cqw #121D30, 0 0 0 .65cqw rgba(255, 255, 255, .1), 0 4cqw 8cqw -3cqw rgba(0, 0, 0, .85);
}
.qh-mini-head { display: flex; align-items: center; gap: .9cqw; margin-bottom: 1.6cqw; }
.qh-mini-head i { display: grid; place-items: center; width: 2.6cqw; height: 2.6cqw; border-radius: .8cqw; font-style: normal; font-size: .95cqw; font-weight: 700; color: #fff; background: var(--site); }
.qh-mini-head b { font-size: clamp(7.5px, 1.3cqw, 12.5px); font-weight: 650; }
.qh-mini-date { font-size: clamp(6px, .85cqw, 8.5px); font-weight: 600; letter-spacing: .12em; color: var(--ink-3); }
.qh-mini-title { margin: .3cqw 0 1.2cqw; font-size: clamp(9px, 1.55cqw, 15px); font-weight: 700; letter-spacing: -.03em; }
.qh-mini ul { display: grid; gap: .8cqw; }
.qh-mini li { display: flex; align-items: center; gap: .9cqw; padding: .9cqw; border-radius: 1cqw; background: #fff; box-shadow: inset 0 0 0 1px #E1E9F5; font-size: clamp(7px, 1.1cqw, 11px); font-weight: 600; }
.qh-mini em { flex-shrink: 0; width: 4.4cqw; padding: .25cqw 0; border-radius: 99px; text-align: center; font-style: normal; font-size: .72em; font-weight: 700; color: var(--site); background: #E8F0FD; }
.qh-mini span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qh-mini li i { position: relative; flex-shrink: 0; width: 1.7cqw; height: 1.7cqw; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #CBD6E6; }
.qh-mini li i.is-done { background: var(--green); box-shadow: none; }

/* ---------- 05 · Montaje y acompañamiento ---------- */
.qh-setup { left: 5.5%; top: 50%; translate: 0 -50%; display: block; width: 50%; padding: 2.4cqw 2.6cqw 2.6cqw; }
.qh-setup-head { display: flex; align-items: center; justify-content: space-between; gap: 1.6cqw; margin-bottom: 1.2cqw; }
.qh-setup-head b { font-size: 1.12em; letter-spacing: -.02em; }
.qh-setup-head span { flex-shrink: 0; padding: .4cqw 1.1cqw; border-radius: 999px; font-size: .78em; font-weight: 600; color: var(--electric); background: #E8F0FD; }
.qh-setup ol { display: grid; }
.qh-setup li { display: flex; align-items: center; gap: 1.3cqw; padding: 1.25cqw 0; border-top: 1px solid var(--line); font-weight: 550; }
.qh-setup li i { position: relative; flex-shrink: 0; width: clamp(16px, 2.4cqw, 24px); height: clamp(16px, 2.4cqw, 24px); border-radius: 50%; background: var(--green); }
.qh-setup li i::after { content: ""; position: absolute; left: 36%; top: 22%; width: 22%; height: 42%; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.qh-setup-bar { height: clamp(5px, .8cqw, 8px); margin-top: 1.2cqw; border-radius: 99px; background: #E3EAF5; overflow: hidden; }
.qh-setup-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--electric), var(--green)); transform-origin: 0 50%; }
.qh-bubble {
  position: absolute; right: 6%; top: 13%; z-index: 2; width: 31%;
  padding: 1.3cqw 1.7cqw; border-radius: 2cqw 2cqw 2cqw .6cqw;
  font-size: clamp(10px, 1.45cqw, 14px); line-height: 1.35; color: var(--ink);
  background: #DCF8C6; box-shadow: 0 3cqw 6cqw -2cqw rgba(0, 0, 0, .6);
}
.qh-bubble small { display: block; margin-top: .4cqw; text-align: right; font-size: .78em; color: #5F7A5A; }
.qh-team {
  position: absolute; right: 6%; bottom: 11%; z-index: 2; width: 36%;
  display: grid; gap: 1.2cqw;
  padding: 1.8cqw 2cqw; border-radius: clamp(10px, 1.8cqw, 18px);
  font-size: clamp(10px, 1.4cqw, 13.5px); line-height: 1.35; color: var(--d-text-2);
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--d-line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.qh-team b { display: block; margin-bottom: .2cqw; font-weight: 650; color: #fff; }
.qh-faces { display: flex; }
.qh-faces img { width: clamp(28px, 4.6cqw, 46px); height: clamp(28px, 4.6cqw, 46px); border-radius: 50%; object-fit: cover; object-position: 50% 22%; background: var(--frost); box-shadow: 0 0 0 2.5px #12274B; }
.qh-faces img + img { margin-left: -1.1cqw; }

/* ---------- texto del recuadro ---------- */
.qh-body {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 22px clamp(24px, 3vw, 44px);
  padding: clamp(22px, 2.3vw, 30px) clamp(16px, 2.2vw, 28px) clamp(14px, 1.6vw, 18px);
}
.qh-kicker { margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--electric); }
.qh-copy h3 { margin-bottom: 14px; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.08; letter-spacing: -.035em; font-weight: 650; text-wrap: balance; }
.qh-copy h3 em { font-style: normal; color: var(--electric); }
.qh-copy > p:not(.qh-kicker) { max-width: 46ch; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.qh-copy .link-arrow { margin-top: 20px; }
.qh-side-t { margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.qh-points li { position: relative; padding: 10px 0 10px 34px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.qh-points li:first-child { padding-top: 2px; border-top: 0; }
.qh-points li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(59, 127, 232, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%233B7FE8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.qh-points li:first-child::before { top: 3px; }
.qh-points b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
/* proceso a medida (Tu marca) */
.qh-steps { position: relative; display: grid; gap: 2px; }
.qh-steps::before { content: ""; position: absolute; left: 14px; top: 18px; bottom: 26px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, rgba(59, 127, 232, .2), var(--electric)); }
.qh-steps li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: start; padding: 6px 0; }
.qh-steps li > span {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--electric); background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(59, 127, 232, .35), 0 0 0 4px #fff;
}
.qh-steps .is-done > span { color: #fff; background: var(--electric); box-shadow: 0 0 0 4px #fff, 0 8px 18px -6px rgba(59, 127, 232, .8); }
.qh-steps p { padding-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.qh-steps b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }

/* ---------- al cambiar de recuadro (home.js añade .is-enter); sin desplazamiento vertical ---------- */
@media (prefers-reduced-motion: no-preference) {
  .qh-panel.is-enter .qh-win,
  .qh-panel.is-enter .qh-site,
  .qh-panel.is-enter .qh-setup { animation: qh-grow .9s var(--ease-out) both; }
  .qh-panel.is-enter .qh-phone { animation: qh-slide .9s var(--ease-out) .1s both; }
  .qh-panel.is-enter .qh-in,
  .qh-panel.is-enter .qh-badge { animation: qh-slide .8s var(--ease-out) both; animation-delay: calc(var(--d, 1) * 110ms + 120ms); }
  .qh-panel.is-enter .qh-chart li i::after { animation: qh-bar 1.1s var(--ease-out) .35s both; }
  .qh-panel.is-enter .qh-setup li i { animation: qh-pop .55s var(--ease-spring) both; animation-delay: calc(var(--d) * 160ms + 250ms); }
  .qh-panel.is-enter .qh-setup-bar i { animation: qh-bar 1.2s var(--ease-out) .3s both; }
  .qh-panel.is-enter .qh-body > * { animation: qh-fade .7s var(--ease-out) both; }
  .qh-panel.is-enter .qh-body > * + * { animation-delay: .08s; }
}
@keyframes qh-grow { from { opacity: 0; transform: scale(.965); } }
@keyframes qh-slide { from { opacity: 0; transform: translateX(18px); } }
@keyframes qh-bar { from { transform: scaleX(0); } }
@keyframes qh-pop { from { transform: scale(0); } }
@keyframes qh-fade { from { opacity: 0; filter: blur(4px); } }

/* =====================================================================
   +WEB (final) — adelanto con enlace a su pestaña
   ===================================================================== */
.webint-copy .hero-actions { margin-top: clamp(30px, 3.4vw, 40px); }
.webint-wa { max-width: 46ch; }
.webint-wa a {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: -3px;
  font-weight: 600; color: var(--d-text); text-decoration: none;
}
.webint-wa a svg { color: #25D366; }
.webint-wa a:hover span { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (min-width: 901px) {
  /* la lista acompaña al recuadro mientras se lee */
  .qh-list { position: sticky; top: calc(var(--nav-h) + 24px); }
}

@media (max-width: 1100px) {
  .qh-body { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .qh-head, .qh-grid { grid-template-columns: minmax(0, 1fr); }
  .qh-grid { gap: 14px; }
  .qh-list, .qh-panels { grid-column: 1; }
  .qh-panels { grid-row: 2; }
  /* la lista pasa a una tira que se desliza en horizontal (sin mover la página) */
  .qh-list {
    display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px;
  }
  .qh-list::-webkit-scrollbar { display: none; }
  .qh-tab {
    flex: 0 0 min(78%, 300px); scroll-snap-align: start;
    padding: 16px 18px; border-radius: 18px;
    background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px var(--line);
  }
  .qh-tab::after { display: none; }
  .qh-tab::before { left: 18px; right: 18px; top: auto; bottom: 0; width: auto; height: 3px; border-radius: 3px 3px 0 0; transform: scaleX(0); }
  .qh-tab.is-on::before { transform: scaleX(1); }
  .qh-panel { border-radius: 28px; padding: 8px; }
  .qh-stage { border-radius: 21px; }
}

@media (max-width: 700px) {
  .qh-head .lead { font-size: 16px; }
  .qh-tab-txt b { font-size: 16px; }
  .qh-tab-txt small { font-size: 13.5px; }
  .qh-stage { aspect-ratio: 1 / .82; }
  .qh-body { padding: 22px 14px 14px; }
  .qh-copy h3 { font-size: 24px; }
  .qh-copy > p:not(.qh-kicker) { font-size: 15px; }

  .qh-brands { left: 4%; top: 4.5%; gap: 8px; padding: 6px 7px 6px 12px; }
  .qh-brands-label { font-size: 10px; }
  .qh-sw { width: 22px; height: 22px; }
  .qh-win--evo { left: 4%; top: 19%; width: 86%; }
  .qh-phone { right: 4%; top: auto; bottom: 5%; width: 30%; }
  .qh-badge { left: 4%; bottom: 6%; }

  .qh-win--plan, .qh-win--rev { left: 4%; top: 6%; width: 92%; }
  .qh-card--video { left: 4%; right: auto; top: auto; bottom: 6%; }
  .qh-card--ok { right: 4%; bottom: 6%; }
  .qh-chart { right: 4%; top: auto; bottom: 5%; width: 64%; }
  .qh-card--tutor { display: none; }

  .qh-site { left: 4%; top: 7%; width: 74%; }
  .qh-wire, .qh-wire-tag { display: none; }
  .qh-mini { right: 4%; top: auto; bottom: 5%; width: 44%; padding: 2.6cqw; border-radius: 3.4cqw; }
  .qh-mini-head i { width: 5cqw; height: 5cqw; font-size: 2cqw; border-radius: 1.4cqw; }
  .qh-mini-head b { font-size: 2.6cqw; }
  .qh-mini-date { font-size: 1.8cqw; }
  .qh-mini-title { font-size: 3cqw; }
  .qh-mini li { padding: 1.4cqw; font-size: 2.3cqw; gap: 1.4cqw; }
  .qh-mini em { width: 8cqw; }
  .qh-mini li i { width: 3cqw; height: 3cqw; }

  .qh-setup { left: 4%; top: 6%; translate: none; width: 80%; padding: 3.4cqw 3.8cqw; font-size: 3.1cqw; }
  .qh-setup li { padding: 1.9cqw 0; }
  .qh-bubble { display: none; }
  .qh-team { right: 4%; bottom: 5%; width: 64%; font-size: 2.8cqw; padding: 2.8cqw 3.2cqw; }
  .qh-faces img { width: 8cqw; height: 8cqw; }
}

/* =====================================================================
   COMPARATIVA — Clean Notes frente a Moodle, Zoom y WhatsApp (5 columnas)
   En móvil la tabla cabe entera en la pantalla (ver el bloque MÓVIL del final).
   ===================================================================== */
.cmp { grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); max-width: 1120px; }
.cmp-row > :nth-child(5) { grid-column: 5; }
.cmp-hint { display: none; }
/* cada fila trae su nombre corto para el móvil */
.cmp-short { display: none; }

/* =====================================================================
   MÓVIL — versión simplificada de la home (≤ 700 px)
   Qué hacemos en DESPLEGABLE: cada pestaña es una fila y su recuadro se abre
   justo debajo (las dos listas se funden con display: contents y se ordenan
   intercaladas). Al abrirse muestra su frase corta y la ilustración, sin el
   texto largo. Planes con cada función en una línea; conversación compacta
   (sin el segundo intercambio);
   la comparativa cabe entera en la pantalla, sin deslizar.
   ===================================================================== */
@media (max-width: 700px) {
  .qh-head { margin-bottom: 22px; }
  .qh-grid { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
  .qh-list, .qh.is-ready .qh-panels { display: contents; }
  .qh-tab:nth-child(1) { order: 1; } .qh-panel:nth-child(1) { order: 2; }
  .qh-tab:nth-child(2) { order: 3; } .qh-panel:nth-child(2) { order: 4; }
  .qh-tab:nth-child(3) { order: 5; } .qh-panel:nth-child(3) { order: 6; }
  .qh-tab:nth-child(4) { order: 7; } .qh-panel:nth-child(4) { order: 8; }
  .qh-tab { flex: none; padding: 14px 40px 14px 16px; border-radius: 16px; background: #fff; }
  .qh-tab::before { display: none; }
  .qh-tab::after {
    content: ""; display: block; left: auto; right: 18px; top: 22px; bottom: auto;
    width: 8px; height: 8px; opacity: .45; background: none;
    border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
    transform: rotate(45deg); transition: transform .35s var(--ease-out), top .35s var(--ease-out);
  }
  .qh-tab:last-child::after, .qh-tab:has(+ .qh-tab.is-on)::after { opacity: .45; }
  .qh-tab.is-on::after { opacity: .45; top: 26px; transform: rotate(-135deg); }
  .qh-tab.is-on { box-shadow: inset 0 0 0 1.5px var(--electric); }
  .qh-tab-txt b { font-size: 15.5px; white-space: normal; }
  .qh-tab-txt small { display: none; }
  .qh-tab.is-on .qh-tab-txt small { display: block; margin-top: 4px; font-size: 14px; }
  .qh.is-ready .qh-panel { grid-area: auto; }
  .qh.is-ready .qh-panel:not(.is-on) { display: none; }
  .qh-panel { margin-top: -2px; padding: 6px; border-radius: 20px; }
  .qh-stage { border-radius: 15px; }
  .qh-body { padding: 10px 10px 6px; }
  .qh-kicker, .qh-copy h3, .qh-copy > p:not(.qh-kicker), .qh-side { display: none; }

  .plans { gap: 14px; }
  .plan-core { padding: 22px 20px; }
  .plan-core h3 { margin-bottom: 10px; }
  .plan-list { margin-bottom: 16px; }
  .plan-list li { padding: 9px 0; font-size: 15px; }
  .plan-list small { display: none; }

  .ac-head .h-display { margin-bottom: 14px; }
  .ac-team { margin-top: 16px; }
  .ac-thread { gap: 14px; }
  .ac-msg { padding: 10px 14px 11px; font-size: 14.5px; }
  .ac-pair:nth-child(2) { display: none; }

  /* comparativa entera en pantalla: columnas estrechas y sin deslizar */
  .cmp-scroll { overflow: visible; margin-inline: 0; padding: 6px 0; }
  .cmp { min-width: 0; grid-template-columns: minmax(0, 112px) repeat(4, minmax(0, 1fr)); }
  .cmp-label { position: static; padding-right: 8px; font-size: 12px; line-height: 1.3; background: none; box-shadow: none; }
  .cmp-label, .cmp-cell { min-height: 46px; padding-top: 8px; padding-bottom: 8px; }
  .cmp-head .cmp-cell { min-height: 64px; padding-inline: 0; font-size: 9.5px; letter-spacing: -.01em; }
  .cmp-brand { font-size: 9.5px; gap: 4px; }
  .cmp-brand b { width: 24px; height: 24px; font-size: 9.5px; border-radius: 7px; }
  .cmp i { width: 20px; height: 20px; }
  .cmp i.y::after { left: 7px; top: 4px; width: 4px; height: 8px; }
  .cmp i.n::after { top: 9px; left: 6px; right: 6px; }
  .cmp-pillar { margin: -6px 0; border-radius: 14px; }
  .cmp-hint { display: none; }
  .cmp-long { display: none; }
  .cmp-short { display: inline; }
  .cmp-label { font-size: 13px; }
}

/* móviles muy estrechos: cabeceras algo más pequeñas para que quepa "WhatsApp" */
@media (max-width: 360px) {
  .cmp { grid-template-columns: minmax(0, 100px) repeat(4, minmax(0, 1fr)); }
  .cmp-head .cmp-cell { font-size: 8.5px; }
}
