/* =========================================================
   Documelia · Estilos propios de las páginas de EMPRESAS (ES / EN / FR).
   Mismo diseño que asesorías. Se carga DESPUÉS de css/estilo.css y SOLO usa sus variables:
   verde #1F3A33 (--text / --btn) en titulares y botones, menta #C6E2D4 (--mint) en las fichas,
   azul #2E7EEA (--blue) en pestañas y puntos, y --blue-text / --tab-ink para los números.
   Cabecera, pie, contacto, carrusel de clientes, botones, fichas «consult__» y textos legales salen de estilo.css.
   ========================================================= */

.sec { padding-block: clamp(60px, 6.4vw, 160px); background: var(--bg); }
.sec--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec + .sec:not(.sec--soft) { border-top: 1px solid var(--line); }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 52ch; line-height: 1.55; }
.lead + .lead { margin-top: 1rem; }
.note { font-size: 0.86rem; color: var(--muted); line-height: 1.5; }

/* lista con cuadradito azul (como en asesorías) */
.pts { border-top: 1px solid var(--line); }
.pts li { padding: 0.6em 0 0.6em 1.5em; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-soft); line-height: 1.45; font-size: 0.95rem; }
.pts li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 0.55em; height: 0.55em; border-radius: 2px; background: var(--blue); }
.pts strong { color: var(--text); font-weight: 600; }

/* texto + ficha menta (dos columnas) */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 128px); align-items: center; }
.duo--top { align-items: start; }
.duo__text { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.duo__text .head__t { max-width: 20ch; }

/* ---------- 1 · cabecera de la página (PRUEBA VISUAL B1: captura grande en marco de navegador, sale por el borde) ---------- */
.ehero { padding-block: clamp(36px, 4.4vw, 110px) clamp(56px, 6vw, 150px); overflow-x: clip; }
.ehero__grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 104px); align-items: center; }
.ehero__text { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; position: relative; z-index: 1; }
.ehero__title { font-weight: 600; font-size: clamp(34px, 2.4vw + 20px, 84px); line-height: 1.06; letter-spacing: -0.01em; max-width: 15ch; text-wrap: balance; }
.ehero__title span { display: block; margin-top: 0.15em; color: var(--green-text); }
.ehero__lead { font-size: clamp(1.05rem, 0.6vw + 0.75rem, 1.4rem); color: var(--ink-soft); max-width: 44ch; line-height: 1.5; }
.ehero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1rem; margin-top: 0.6rem; }
.ehero__art { position: relative; isolation: isolate; margin-right: calc(-1 * var(--pad) - 6vw); padding-block: clamp(20px, 2.6vw, 64px); }
.ehero__art::before {   /* panel menta detrás de la captura, hasta el borde de la pantalla */
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: clamp(28px, 6vw, 160px); right: -10vw;
  background: var(--mint); border-radius: 28px 0 0 28px;
}

/* marco de navegador sobrio (cabecera y casos estrella) */
.nave { margin: 0; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; box-shadow: 0 2px 4px rgba(11, 30, 24, 0.06), 0 28px 70px rgba(11, 30, 24, 0.16); }
.nave__bar { display: flex; gap: 7px; align-items: center; height: clamp(28px, 1.6vw + 12px, 44px); padding-inline: clamp(12px, 1vw, 22px); background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.nave__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.nave img { display: block; width: 100%; height: auto; }
.nave--hero { position: relative; width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .nave--hero { animation: nave-sube 0.9s cubic-bezier(.2, .7, .2, 1) both 0.1s; }
  @keyframes nave-sube { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

/* ---------- 2 · ¿te suena? (PRUEBA VISUAL B2: franja verde oscuro y muro de frases) ---------- */
.oscuro { background: var(--text); color: #fff; padding-block: clamp(72px, 7.4vw, 184px); }
.oscuro .label { color: var(--mint); }
.oscuro .label::before { background: var(--mint); }
.oscuro .head__t { color: #fff; }
.muro { margin-top: clamp(32px, 3.4vw, 88px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(34px, 3.4vw, 88px) clamp(22px, 2.8vw, 72px); align-items: end; }
.muro__q { border-top: 1px solid rgba(198, 226, 212, 0.3); padding-top: clamp(14px, 1.2vw, 28px); }
.muro__q blockquote { margin: 0; color: #fff; letter-spacing: -0.005em; text-wrap: balance; }
.muro__q--xl blockquote { font-weight: 600; font-size: clamp(30px, 2.5vw + 14px, 86px); line-height: 1.08; }
.muro__q--l blockquote { font-weight: 600; font-size: clamp(24px, 1.5vw + 14px, 56px); line-height: 1.14; }
.muro__q--m blockquote { font-weight: 500; font-size: clamp(19px, 0.8vw + 13px, 36px); line-height: 1.3; }
/* disposición del muro (escritorio): tres filas de anchos distintos */
.muro__q:nth-child(1) { grid-column: 1 / span 7; }
.muro__q:nth-child(2) { grid-column: 8 / span 5; }
.muro__q:nth-child(3) { grid-column: 1 / span 4; }
.muro__q:nth-child(4) { grid-column: 5 / span 4; }
.muro__q:nth-child(5) { grid-column: 9 / span 4; }
.muro__q:nth-child(6) { grid-column: 1 / span 5; }
.muro__q:nth-child(7) { grid-column: 6 / span 7; }
.oscuro .suena__fin { margin-top: clamp(40px, 4vw, 104px); font-size: clamp(1.15rem, 0.8vw + 0.8rem, 1.9rem); font-weight: 500; line-height: 1.4; max-width: 52ch; color: var(--mint); }
.oscuro .suena__fin span { display: block; margin-top: 0.3em; font-weight: 700; }
/* entrada discreta de las frases (solo con JavaScript y sin «reducir movimiento»; sin eso, se ven desde el principio) */
@media (prefers-reduced-motion: no-preference) {
  .muro.is-pre .muro__q { opacity: 0; transform: translateY(18px); }
  .muro .muro__q { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--k, 0) * 90ms); }
}

/* ---------- 4 · casos (pestaña azul con el número; texto e imagen alternando) ---------- */
.casos { display: flex; flex-direction: column; gap: clamp(32px, 3.6vw, 88px); counter-reset: caso; }
.caso { position: relative; padding-top: 2.6rem; scroll-margin-top: calc(var(--barh) + 12px); }
.caso__tab {
  position: absolute; top: 0; left: 0; height: 2.7rem; min-width: 5.4rem; display: flex; align-items: center; justify-content: center;
  padding: 0 1.2em; background: var(--blue); border-radius: 12px 12px 0 0;
}
.caso__n { font: 600 1.3rem/1 var(--sans); color: var(--tab-ink); letter-spacing: 0; }
.caso__body {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(22px, 3.6vw, 88px); align-items: center;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 0 16px 16px 16px; padding: clamp(22px, 2.6vw, 64px);
}
.caso:nth-child(even) .caso__media { order: -1; }
.caso--alto .caso__body { align-items: start; }   /* con varias capturas, el texto arriba */
.caso__text { display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }
.caso__tag { font-size: 0.68rem; color: var(--green-text); }
.caso__t { font-weight: 600; font-size: clamp(22px, 1.2vw + 14px, 42px); line-height: 1.18; letter-spacing: 0; text-wrap: balance; }
.caso__dl { margin: 0.2rem 0 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.caso__dl dt { padding-top: 0.9rem; font-size: 0.66rem; color: var(--muted); }
.caso__dl dd { margin: 0.3rem 0 0; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); color: var(--ink-soft); line-height: 1.5; }
.caso__dl dd strong { color: var(--text); font-weight: 600; }
.caso__dl .caso__res { color: var(--text); font-weight: 600; }
.caso__nota { font-size: 0.9rem; line-height: 1.5; color: var(--ink-soft); background: var(--mint-soft); border-radius: 10px; padding: 0.85rem 1rem; border-left: 3px solid var(--btn); }
.caso__nota strong { color: var(--text); }
.caso__dato { font-weight: 600; font-size: clamp(1.02rem, 0.4vw + 0.85rem, 1.3rem); line-height: 1.45; color: var(--text); max-width: 40ch; }
.caso__media { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.caso__media .shot + .shot { margin-top: 0.2rem; }

/* recorte de móvil + pantalla completa: en escritorio no se ve nada de esto */
.recorte { display: none; }
.ampliada { display: none; }
/* casos estrella (PRUEBA VISUAL B3: «estrella»: true en empresas.json) */
.caso--estrella .caso__body { display: flex; flex-direction: column; align-items: stretch; gap: clamp(26px, 2.8vw, 72px); padding: clamp(24px, 3.6vw, 92px); }
.estrella__head { display: flex; flex-direction: column; gap: 0.8rem; }
.caso--estrella .caso__t { font-size: clamp(30px, 2.3vw + 16px, 76px); line-height: 1.06; letter-spacing: -0.01em; max-width: 22ch; }
.estrella__partes { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(18px, 2.6vw, 72px); }
.estrella__parte { border-top: 1px solid var(--line-2); padding-top: 1rem; }
.estrella__parte dt { font-size: 0.68rem; color: var(--muted); }
.estrella__parte dd { margin: 0.6rem 0 0; color: var(--ink-soft); line-height: 1.55; font-size: clamp(0.98rem, 0.25vw + 0.9rem, 1.15rem); }
.estrella__parte dd strong { color: var(--text); font-weight: 600; }
.estrella__parte--res { border-top: 3px solid var(--text); padding-top: calc(1rem - 2px); }
.estrella__parte--res dt { color: var(--green-text); }
.estrella__parte--res dd { color: var(--text); font-weight: 600; font-size: clamp(1.15rem, 0.6vw + 0.95rem, 1.6rem); line-height: 1.35; }
.estrella__media { margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.estrella__panel { background: var(--mint); border-radius: 18px; padding: clamp(14px, 3.4vw, 88px) clamp(14px, 4.4vw, 120px) clamp(14px, 2vw, 48px); display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 36px); }
.estrella__media figcaption { font-size: 0.82rem; line-height: 1.45; color: var(--muted); }
.estrella__pie { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 72px); align-items: center; }
.estrella__pie .caso__dato { font-size: clamp(1.1rem, 0.7vw + 0.85rem, 1.7rem); max-width: 34ch; }
/* tira fina de pasos bajo la captura (sin circulitos) */
.tira { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 2px solid var(--text); }
.tira li { position: relative; display: flex; flex-direction: column; gap: 0.15rem; padding: 0.8rem 1rem 0.2rem 0; }
.tira li::before { content: ""; position: absolute; left: 0; top: -6px; width: 10px; height: 10px; border-radius: 2px; background: var(--blue); }
.tira__n { font-size: 0.66rem; color: var(--green-text); padding-top: 0.25rem; }
.tira b { font-weight: 600; color: var(--text); line-height: 1.3; }
.tira li > span:not(.tira__n) { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.35; }

/* ---------- 4b · Pídelo hablando (PRUEBA VISUAL B4: bloque nuevo, móvil dibujado con HTML y CSS) ---------- */
.hablando__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(36px, 5vw, 128px); align-items: center; }
.hablando__text { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }
.hablando__t { font-weight: 600; font-size: clamp(32px, 2.3vw + 18px, 80px); line-height: 1.07; letter-spacing: -0.01em; color: #fff; max-width: 17ch; text-wrap: balance; }
.hablando__t span { display: block; margin-top: 0.12em; color: var(--mint); }
.hablando__p { font-size: clamp(1.05rem, 0.6vw + 0.8rem, 1.45rem); line-height: 1.5; color: #fff; max-width: 42ch; }
.movil { margin: 0; justify-self: center; width: min(100%, 380px); }
.movil__marco { position: relative; background: #0d1a16; border-radius: 46px; padding: 12px; box-shadow: 0 0 0 1px rgba(198, 226, 212, 0.25), 0 40px 90px rgba(0, 0, 0, 0.35); }
.movil__marco::before { content: ""; position: absolute; z-index: 2; top: 22px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 999px; background: #0d1a16; }
.movil__pantalla { background: var(--bg-soft); border-radius: 35px; min-height: 600px; padding: 58px 16px 16px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.movil__cab { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.movil__app { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.movil__ej { font-size: 0.62rem; color: var(--green-text); background: var(--mint-soft); border: 1px solid #d6eadf; border-radius: 999px; padding: 0.35em 0.8em; }
.chat { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.chat__m { display: flex; flex-direction: column; gap: 4px; max-width: 86%; }
.chat__m p { font-size: 0.93rem; line-height: 1.42; padding: 0.7em 0.95em; border-radius: 18px; }
.chat__quien { font-size: 0.7rem; font-weight: 600; color: var(--muted); padding-inline: 0.4em; }
.chat__m--tu { align-self: flex-end; align-items: flex-end; }
.chat__m--tu p { background: var(--text); color: #fff; border-bottom-right-radius: 6px; }
.chat__m--ia p { background: #fff; color: var(--text); border: 1px solid var(--line-2); border-bottom-left-radius: 6px; }
.chat__escribe { align-self: flex-start; display: flex; gap: 4px; padding: 0.85em 1em; background: #fff; border: 1px solid var(--line-2); border-radius: 18px 18px 18px 6px; }
.chat__escribe i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: escribe 1s infinite ease-in-out; }
.chat__escribe i:nth-child(2) { animation-delay: 0.15s; } .chat__escribe i:nth-child(3) { animation-delay: 0.3s; }
@keyframes escribe { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.movil__voz { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; }
.movil__voz svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; }
.movil__ondas { display: flex; align-items: center; gap: 4px; height: 18px; }
.movil__ondas i { width: 3px; height: 40%; border-radius: 2px; background: var(--blue); }
.movil__ondas i:nth-child(2), .movil__ondas i:nth-child(4) { height: 75%; } .movil__ondas i:nth-child(3) { height: 100%; }
/* aparición mensaje a mensaje: la activa js/empresas.js (clase is-pre) solo si no hay «reducir movimiento» */
@media (prefers-reduced-motion: no-preference) {
  .movil.is-pre .chat__m:not(.is-in) { opacity: 0; transform: translateY(10px); }
  .chat__m { transition: opacity 0.45s ease, transform 0.45s cubic-bezier(.2, .7, .2, 1); }
  .movil.is-hablando .movil__ondas i { animation: onda 0.9s infinite ease-in-out; }
  .movil__ondas i:nth-child(2) { animation-delay: 0.12s; } .movil__ondas i:nth-child(3) { animation-delay: 0.24s; } .movil__ondas i:nth-child(4) { animation-delay: 0.36s; } .movil__ondas i:nth-child(5) { animation-delay: 0.48s; }
  @keyframes onda { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }
}
@media print { .movil.is-pre .chat__m, .muro.is-pre .muro__q { opacity: 1 !important; transform: none !important; } }

/* capturas */
.shot { margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.shot img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); box-shadow: var(--shadow-card); }
.shot figcaption { font-size: 0.82rem; line-height: 1.45; color: var(--muted); }
.shot--movil { align-items: center; background: var(--mint); border-radius: 16px; padding: clamp(18px, 2vw, 44px) clamp(18px, 2vw, 44px) clamp(14px, 1.4vw, 28px); }
.shot--movil img { width: auto; max-width: 100%; max-height: clamp(380px, 34vw, 760px); border: 0; border-radius: 22px; box-shadow: var(--shadow-card); }
.shot--movil figcaption { color: var(--ink-soft); text-align: center; }

/* esquema de pasos (para los casos sin captura y debajo de algunas capturas) */
.flujo { display: flex; flex-direction: column; gap: 0; background: var(--mint); border-radius: 14px; padding: clamp(14px, 1.4vw, 32px) clamp(18px, 1.8vw, 40px); counter-reset: paso; }
.flujo li { position: relative; display: flex; flex-direction: column; gap: 0.15rem; padding: 0.75rem 0 0.75rem 2.6rem; }
.flujo li::before {
  counter-increment: paso; content: counter(paso);
  position: absolute; left: 0; top: 0.7rem; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  display: grid; place-items: center; font: 600 0.85rem/1 var(--sans); color: var(--tab-ink); background: var(--blue);
}
.flujo li + li::after { content: ""; position: absolute; left: calc(0.875rem - 1px); top: -0.6rem; height: 1.2rem; width: 2px; background: var(--blue); }
.flujo b { font-weight: 600; color: var(--text); line-height: 1.3; }
.flujo span { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.35; }
.flujo--solo { padding-block: clamp(22px, 2.4vw, 56px); }
.flujo--solo li { padding-block: 1rem; }
.flujo--solo li::before { top: 0.95rem; }
.flujo--solo b { font-size: clamp(1.02rem, 0.5vw + 0.85rem, 1.35rem); }

/* ---------- 5 · operarios ---------- */
.ops { margin-top: clamp(48px, 5vw, 128px); display: flex; flex-direction: column; gap: clamp(48px, 5vw, 128px); }
.op { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(22px, 3.6vw, 88px); align-items: center; }
.op:nth-child(odd):not(.op--ancho) .shot { order: -1; }
.op--ancho { grid-template-columns: minmax(0, 1fr); gap: clamp(18px, 2vw, 44px); }
.op--ancho .op__text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 5vw, 128px); row-gap: 0.9rem; align-items: start; }
.op--ancho .op__text > .op__k, .op--ancho .op__text > .op__t { grid-column: 1; }
.op--ancho .op__text > p:not(.op__k) { grid-column: 1; }
.op--ancho .op__text > .pts { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
.op__text { display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }
.op__text > p:not(.op__k) { color: var(--ink-soft); max-width: 52ch; }
.op__text h4 { margin: 0.6rem 0 0; font-size: clamp(17px, 0.5vw + 12px, 24px); font-weight: 600; line-height: 1.3; }
.op__k { font-size: 0.68rem; color: var(--green-text); }
.op__t { font-weight: 600; font-size: clamp(22px, 1.2vw + 14px, 42px); line-height: 1.18; letter-spacing: 0; text-wrap: balance; }
.op__pie { margin-top: clamp(48px, 5vw, 128px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 1.6vw, 36px); }
.tarjeta { display: flex; flex-direction: column; gap: 0.9rem; background: var(--mint-soft); border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 2.4vw, 56px); }
.tarjeta > p:not(.op__k):not(.chips__t) { color: var(--ink-soft); }
.tarjeta .op__t { font-size: clamp(20px, 0.9vw + 14px, 34px); }
.chips__t { font-size: 0.9rem; font-weight: 600; margin-top: 0.3rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { font-size: 0.9rem; font-weight: 600; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 999px; padding: 0.45em 0.95em; }
.chips .chips__mas { background: none; border-color: transparent; color: var(--ink-soft); font-weight: 400; padding-inline: 0.2em; }
.op__pdf, .piezas__pdf { margin-top: clamp(24px, 2.4vw, 56px); }

/* ---------- 6 · compromisos ---------- */
.comp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 32px); }
.comp li { background: var(--bg); border: 1px solid var(--line-2); border-radius: 16px; padding: clamp(22px, 2.2vw, 52px); display: flex; flex-direction: column; gap: 0.6rem; }
.comp__n { font: 600 1.3rem/1 var(--sans); color: var(--blue-text); letter-spacing: 0; margin-bottom: 0.5rem; }
.comp h3 { font-weight: 600; font-size: clamp(19px, 0.8vw + 13px, 30px); line-height: 1.25; letter-spacing: 0; text-wrap: balance; }
.comp p { color: var(--ink-soft); }

/* ---------- 7 · ¿todavía pagas por usuario? (banda a todo el ancho) ---------- */
.banda { background: var(--mint); padding-block: clamp(56px, 5.6vw, 140px); }
.banda__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 96px); align-items: end; }
.banda__t { font-weight: 600; font-size: clamp(32px, 2.4vw + 18px, 80px); line-height: 1.08; letter-spacing: 0; max-width: 14ch; text-wrap: balance; }
.banda__p { font-size: clamp(1.1rem, 0.6vw + 0.8rem, 1.5rem); line-height: 1.45; color: var(--text); max-width: 40ch; }
/* precios orientativos: preparados pero ocultos (js/config.js → preciosEmpresas.mostrar) */
.precios { margin-top: clamp(28px, 3vw, 72px); background: var(--bg); border-radius: 16px; padding: clamp(20px, 2.2vw, 52px); display: flex; flex-direction: column; gap: 0.8rem; }
.precios[hidden] { display: none; }
.precios__t { font-size: 1.05rem; font-weight: 600; }
/* misma tabla de precios que la calculadora de asesorías (.tarifa) */
.precios__tabla { width: 100%; border-collapse: collapse; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.precios__tabla th, .precios__tabla td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-weight: 400; color: var(--ink-soft); }
.precios__tabla td { text-align: right; color: var(--text); font-weight: 600; padding-left: 1rem; white-space: nowrap; }
@media (max-width: 640px) { .precios__tabla td { white-space: normal; } }

/* ---------- 8 · quién confía (el carrusel es la pieza de la portada) ---------- */
#clientes .trust__grid { align-items: center; }

/* ---------- 9 · lo que hay debajo ---------- */
.piezas { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(28px, 2.4vw, 56px) clamp(14px, 1.4vw, 32px); align-items: stretch; }
.pieza { position: relative; display: flex; flex-direction: column; padding-top: 2.6rem; grid-column: span 2; }
.pieza:nth-child(4), .pieza:nth-child(5) { grid-column: span 3; }   /* fila 2: dos tarjetas a medias */
.pieza--ancha, .pieza--ancha:nth-child(n) { grid-column: 1 / -1; }  /* seguridad: a todo el ancho */
.pieza--ancha .pts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(14px, 1.4vw, 32px); border-top: 0; }
.pieza--ancha .pts li { border-top: 1px solid var(--line); border-bottom: 0; }
.pieza__tab {
  position: absolute; top: 0; left: 0; height: 2.7rem; display: flex; align-items: center;
  padding: 0 1.2em; font-size: 0.68rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-bottom: 0; border-radius: 12px 12px 0 0;
}
.pieza__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--bg); }
.pieza__body { flex: 1; display: flex; flex-direction: column; gap: 0.8rem; padding: clamp(20px, 1.8vw, 44px); background: var(--bg); border: 1px solid var(--line-2); border-radius: 0 14px 14px 14px; }
.pieza__kind { font-size: 0.66rem; color: var(--green-text); }
.pieza__body > p:not(.pieza__kind) { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.5; }
.pieza__body strong { color: var(--text); font-weight: 600; }
.pieza .pts li { font-size: 0.9rem; }

/* ---------- tableta ---------- */
@media (max-width: 1100px) {
  .ehero__grid, .duo, .caso__body, .op, .banda__in, .hablando__grid { grid-template-columns: 1fr; }
  .ehero__art { margin-right: calc(-1 * var(--pad)); margin-top: 0.6rem; }
  .ehero__art::before { left: clamp(28px, 8vw, 80px); }
  .muro { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .muro__q:nth-child(n) { grid-column: span 3; }
  .muro__q:nth-child(1), .muro__q:nth-child(7) { grid-column: 1 / -1; }
  .estrella__partes { grid-template-columns: 1fr 1fr; }
  .estrella__parte--res { grid-column: 1 / -1; }
  .estrella__pie { grid-template-columns: 1fr; }
  .caso:nth-child(even) .caso__media, .op:nth-child(odd):not(.op--ancho) .shot { order: 0; }
  .op--ancho .op__text { display: flex; }
  .comp { grid-template-columns: 1fr 1fr; }
  .piezas { grid-template-columns: 1fr 1fr; }
  .pieza, .pieza:nth-child(n) { grid-column: auto; }
  .pieza--ancha, .pieza--ancha:nth-child(n) { grid-column: 1 / -1; }
  .pieza--ancha .pts { grid-template-columns: 1fr 1fr; }
  .op__pie { grid-template-columns: 1fr; }
  .shot--movil img { max-height: 620px; }
}

/* ---------- móvil ---------- */
@media (max-width: 640px) {
  .ehero__actions, .ehero__actions .btn { width: 100%; }
  .comp, .piezas, .pieza--ancha .pts { grid-template-columns: 1fr; }
  .ehero__art { padding-block: 22px; }
  .nave--hero { width: 165%; }           /* en móvil la captura se ve grande y se sale por la derecha */
  .ehero__art::before { left: 24px; }
  .muro { grid-template-columns: 1fr; gap: 26px; }
  .muro__q:nth-child(n) { grid-column: auto; }
  .muro__q:nth-child(even) { padding-left: 14%; }
  .estrella__partes { grid-template-columns: 1fr; }
  .estrella__panel { border-radius: 12px; overflow: hidden; padding: 16px 0 14px 14px; }
  .estrella__panel .nave { width: 175%; }   /* en móvil, la captura grande se sale por la derecha */
  .estrella__panel .nave--esc { display: none; }   /* con recorte de móvil, la captura entera solo se ve al tocarlo */
  .estrella__panel:has(.recorte) { margin-inline: calc(-1 * clamp(24px, 3.6vw, 92px)); padding: 12px 6px 10px; border-radius: 0; }   /* el recorte aprovecha todo el ancho de la tarjeta */
  .recorte { display: flex; flex-direction: column; gap: 0.6rem; text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
  .recorte img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line-2); box-shadow: 0 2px 4px rgba(11, 30, 24, 0.06), 0 14px 34px rgba(11, 30, 24, 0.14); background: #fff; }
  .recorte__tip { font-size: 0.78rem; line-height: 1.3; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 0.4rem; }
  .recorte__tip::before { content: ""; flex: none; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3C/svg%3E") center / contain no-repeat; }
  .ampliada[open] { display: flex; flex-direction: column; position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0b1e18; }
  .ampliada::backdrop { background: rgba(11, 30, 24, 0.9); }
  .estrella__media--sinmovil figcaption { display: none; }   /* caso 03: sin imagen en móvil, sin pie de foto */
  .ampliada__cab { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin: 10px 10px 6px; }
  .ampliada__tip { margin: 0; font-size: 0.78rem; line-height: 1.3; color: #d6e6df; }
  .ampliada__x { flex: none; align-self: flex-end; margin: 0; min-height: 44px; padding: 0 18px; border: 0; border-radius: 22px; background: #fff; color: var(--text); font: 600 1rem/1 inherit; font-family: inherit; cursor: pointer; }
  .ampliada__sc { flex: 1; min-height: 0; overflow: auto; display: flex; touch-action: pan-x pan-y pinch-zoom; -webkit-overflow-scrolling: touch; }
  .ampliada__sc img { display: block; width: 400vw; max-width: none; height: auto; margin-block: auto; background: #fff; flex: none; }
  .tira { grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; border-top: 0; padding-right: 14px; }
  .tira li { border-top: 2px solid var(--text); }
  .movil__pantalla { min-height: 560px; }
  .caso__tab { min-width: 4.4rem; }
  .shot--movil img { max-height: 520px; }
  .chips li { font-size: 0.85rem; }
}

/* ---------- casos 02 y 04: captura en el marco de navegador de los casos estrella («marco»: «nave») ---------- */
.marco { margin: 0; display: flex; flex-direction: column; gap: 0.7rem; min-width: 0; }
.marco__panel { background: var(--mint); border-radius: 16px; padding: clamp(12px, 1.3vw, 30px); }
.marco figcaption { font-size: 0.82rem; line-height: 1.45; color: var(--muted); }

/* ---------- casos 06 y 07: ilustraciones esquemáticas en HTML/CSS («ilus») · sin animación ---------- */
.ilus { margin: 0; background: var(--mint); border-radius: 16px; padding: clamp(18px, 2.2vw, 52px) clamp(14px, 1.8vw, 44px); min-width: 0; }
.ilus__rot { display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.86rem; line-height: 1.3; text-align: center; }
.ilus__rot b { font-weight: 600; color: var(--text); }
.ilus__rot span { font-size: 0.8rem; color: var(--ink-soft); }
.ilus__flecha { width: 30px; height: auto; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ilus .mono { letter-spacing: 0.1em; }

/* firma: documento → móvil → documento firmado en su expediente */
.ilus__fila { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 28px); align-items: start; }
.ilus__paso { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; min-width: 0; }
.ilus__paso .ilus__flecha { position: absolute; left: calc(-15px - clamp(5px, 0.6vw, 14px)); top: 76px; }
.ilus__arte { height: 168px; width: 100%; display: flex; align-items: center; justify-content: center; }
.idoc { position: relative; width: min(118px, 100%); height: 152px; background: #fff; border-radius: 10px; border: 1px solid var(--line-2); box-shadow: var(--shadow-card); padding: 16px 13px; display: flex; flex-direction: column; justify-content: space-between; }
.idoc__l { display: flex; flex-direction: column; gap: 7px; }
.idoc__l i { display: block; height: 5px; border-radius: 3px; background: var(--line); }
.idoc__l i:first-child { height: 7px; background: var(--text); opacity: 0.8; }
.idoc__hueco { display: flex; align-items: end; justify-content: center; height: 40px; border: 1.5px dashed var(--blue); border-radius: 8px; padding-bottom: 5px; font-size: 0.56rem; color: var(--blue); background: rgba(46, 126, 234, 0.06); }
.ilus__rubrica { width: 100%; height: 100%; fill: none; stroke: var(--text); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.imovil { width: 92px; height: 166px; background: var(--text); border-radius: 20px; padding: 7px; box-shadow: 0 2px 4px rgba(11, 30, 24, 0.08), 0 16px 34px rgba(11, 30, 24, 0.18); }
.imovil__pant { height: 100%; background: #fff; border-radius: 14px; padding: 16px 9px 9px; display: flex; flex-direction: column; justify-content: space-between; }
.imovil__pant .idoc__l i { height: 4px; }
.imovil__zona { position: relative; height: 56px; border-radius: 8px; background: rgba(46, 126, 234, 0.07); border: 1.5px solid var(--blue); padding: 6px 4px; }
.imovil__dedo { position: absolute; right: -8px; bottom: -14px; width: 24px; height: 30px; border-radius: 12px 12px 10px 10px; background: #f3d9c4; border: 1.5px solid rgba(31, 58, 51, 0.35); transform: rotate(-24deg); }
.iexp { position: relative; width: min(150px, 100%); padding-top: 22px; }
.iexp__tab { position: absolute; top: 0; left: 0; height: 24px; max-width: 100%; display: flex; align-items: center; padding: 0 10px; font-size: 0.54rem; color: #fff; background: var(--text); border-radius: 8px 8px 0 0; white-space: nowrap; overflow: hidden; }
.iexp__in { background: var(--text); border-radius: 0 12px 12px 12px; padding: 12px 14px 10px; display: flex; justify-content: center; }
.idoc--firmado { width: min(104px, 100%); height: 124px; padding: 12px 11px; box-shadow: none; }
.idoc__firma { height: 30px; }
.isello { position: absolute; right: -14px; bottom: 26px; transform: rotate(-12deg); font-size: 0.56rem; color: var(--green-text); background: #fff; border: 2px solid var(--green-text); border-radius: 6px; padding: 3px 7px; box-shadow: 0 4px 10px rgba(11, 30, 24, 0.12); }

/* varias sociedades: tarjetas que confluyen en un único panel */
.isoc { display: flex; flex-direction: column; align-items: stretch; }
.ilus__rot--top { margin-bottom: 0.8rem; }
.isoc__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1vw, 18px); }
.isoc__card { display: flex; align-items: center; gap: 0.55rem; min-width: 0; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow-card); padding: 0.7rem 0.75rem; }
.isoc__card b { font-weight: 600; font-size: 0.86rem; line-height: 1.2; color: var(--text); }
.isoc__ico { flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--mint); border: 1.5px solid var(--text); position: relative; }
.isoc__ico::after { content: ""; position: absolute; inset: 5px 5px auto; height: 3px; border-radius: 2px; background: var(--text); box-shadow: 0 5px 0 var(--text); }
.isoc__une { display: block; width: 100%; height: 40px; fill: none; stroke: var(--blue); stroke-width: 2; vector-effect: non-scaling-stroke; }
.isoc__une path { vector-effect: non-scaling-stroke; }
.isoc__une--movil { display: none; }
.isoc__panel { align-self: center; width: min(100%, 380px); background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 2px 4px rgba(11, 30, 24, 0.06), 0 18px 40px rgba(11, 30, 24, 0.14); padding: 0.95rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.isoc__cab { font-size: 0.9rem; text-align: center; padding-bottom: 0.65rem; border-bottom: 1px solid var(--line); }
.isoc__cab b { font-weight: 600; }
.isoc__sel { display: flex; align-items: center; gap: 0.6rem; }
.isoc__sel .mono { font-size: 0.6rem; color: var(--muted); }
.isoc__val { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; border: 1.5px solid var(--blue); border-radius: 8px; padding: 0.4rem 0.6rem; font-size: 0.84rem; font-weight: 600; color: var(--text); }
.isoc__val svg { width: 14px; height: 14px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.isoc__docs { font-size: 0.6rem; color: var(--muted); margin-top: 0.1rem; }
.isoc__lista { display: flex; flex-direction: column; }
.isoc__lista li { display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0; border-top: 1px solid var(--line); }
.isoc__lista i { display: block; height: 6px; border-radius: 3px; background: var(--line-2); }
.isoc__doc { flex: none; width: 14px; height: 18px; border-radius: 2px 6px 2px 2px; border: 1.5px solid var(--text); background: linear-gradient(var(--text), var(--text)) 3px 5px / 5px 1.5px no-repeat, linear-gradient(var(--text), var(--text)) 3px 9px / 5px 1.5px no-repeat, #fff; }
.isoc__perm { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.45rem; font-size: 0.8rem; line-height: 1.3; color: var(--ink-soft); background: var(--mint-soft); border-radius: 8px; padding: 0.5rem 0.65rem; }
.isoc__perm b { color: var(--text); font-weight: 600; }
.isoc__perm svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--text); stroke-width: 1.8; }

/* casos 02/04/06/07 en móvil: la captura se sale por la derecha como en los casos estrella; las ilustraciones se apilan */
@media (max-width: 640px) {
  .marco__panel { border-radius: 12px; overflow: hidden; padding: 14px 0 12px 14px; }
  .marco__panel .nave { width: 175%; }
  .ilus { padding: 20px 14px; }
  .ilus__fila { grid-template-columns: 1fr; gap: 0.6rem; }
  .ilus__paso { gap: 0.6rem; }
  .ilus__paso .ilus__flecha { position: static; transform: rotate(90deg); margin: 0.2rem 0 0.1rem; }
  .ilus__arte { height: auto; }
  .isoc__cards { grid-template-columns: 1fr; gap: 8px; }
  .isoc__une { display: none; }
  .isoc__une--movil { display: block; width: 40px; height: 30px; margin: 6px auto; }
  .isoc__sel { flex-direction: column; align-items: stretch; gap: 0.35rem; }
  .isoc__val { white-space: nowrap; }
}

/* caso 06 (firma con certificado): ventana de programa de ordenador en el paso central; icono de certificado genérico */
.icert { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.iventana { width: min(196px, 100%); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 2px 4px rgba(11, 30, 24, 0.06), 0 16px 34px rgba(11, 30, 24, 0.16); overflow: hidden; }
.iventana__bar { display: flex; align-items: center; gap: 4px; height: 22px; padding-inline: 8px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.iventana__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.iventana__bar span { margin-left: 6px; font-size: 0.5rem; color: var(--muted); }
.iventana__in { padding: 10px; display: flex; flex-direction: column; gap: 9px; }
.iventana__in .idoc__l i { height: 4px; }
.idoc--mini { width: auto; height: auto; padding: 8px 9px; box-shadow: none; border-radius: 6px; }
.iaviso { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 8px; padding: 8px 9px; border: 1.5px solid var(--blue); border-radius: 8px; background: rgba(46, 126, 234, 0.06); color: var(--blue); }
.iaviso b { font-weight: 600; font-size: 0.68rem; line-height: 1.2; color: var(--text); }
.iaviso__btn { grid-column: 1 / -1; justify-self: end; font-weight: 600; font-size: 0.7rem; line-height: 1; color: #fff; background: var(--blue); border-radius: 6px; padding: 6px 14px; }
.isello { display: flex; align-items: center; gap: 4px; }
.isello .icert { width: 12px; height: 12px; stroke-width: 2.2; }
