/* Consultoría - 3 bloques estilo 14lm / Supreme */

/* El global usa overflow-x:hidden en html/body, que en Safari rompe position:sticky
   en cualquier descendiente (bug conocido). overflow-x:clip evita el mismo scroll
   horizontal sin crear ese contenedor de scroll problemático. Solo para esta página. */
html, body {
    overflow-x: clip;
}

/* Subtítulo debajo del logo — idéntico a la fecha/hora del index */
.consultoria-page .consultoria-subtitle {
    font-size: 0.65rem;
    font-weight: 300;
    color: #FFFFFF;
    letter-spacing: 0.08em;
    margin: 0.6rem 0 2.5rem 0;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

/* Badge "Solo para emprendedores" */
.emprendedores-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin: 0 0 1.5rem 0;
}
.badge-bullet {
    width: 6px;
    height: 6px;
    background-color: #4ade80;
    border-radius: 50%;
    flex-shrink: 0;
    animation: badge-bullet-breathe 2.4s ease-in-out infinite;
}

@keyframes badge-bullet-breathe {
    0%, 100% { transform: scale(0.85); opacity: 0.7; box-shadow: 0 0 0 rgba(74, 222, 128, 0); }
    50% { transform: scale(1.35); opacity: 1; box-shadow: 0 0 6px rgba(74, 222, 128, 0.6); }
}
.badge-text {
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: lowercase;
}

/* Override para página de scroll (no centrada como index) */
body.consultoria-page,
body:has(.copy-section) {
    justify-content: flex-start;
    align-items: stretch;
    min-height: 100vh;
}

/* ===== BLOQUE 1: Carta de venta (estilo Supreme About) ===== */
.copy-section {
    max-width: 720px;
    width: 58%;
    margin: 0 auto;
    padding: 1.5rem 2rem 1.5rem;
    text-align: left;
}

.copy-block {
    color: #FFFFFF;
    font-size: 0.78rem;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.copy-block p {
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.copy-block p:last-child {
    margin-bottom: 0;
}

.copy-block em {
    font-style: italic;
    color: #FFFFFF;
}

/* ===== Carrusel de clientes ===== */
.clientes-carousel-section {
    width: 100%;
    padding: 4rem 0;
    overflow: hidden;
}

.clientes-carousel {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.clientes-carousel__track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.clientes-carousel__track.is-ready {
    animation: clientes-scroll-ltr var(--marquee-duration, 27s) linear infinite;
}

.clientes-carousel__group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-right: 0.75rem;
    flex-shrink: 0;
}

.cliente-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.45rem 1.05rem 0.45rem 0.45rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    flex-shrink: 0;
}

.cliente-pill__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
}

.cliente-pill__handle {
    font-size: 0.8rem;
    font-weight: 400;
    color: #FFFFFF;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.cliente-pill__verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #3b9eff;
}

.cliente-pill__verified svg {
    display: block;
    width: 16px;
    height: 16px;
}

@keyframes clientes-scroll-ltr {
    from {
        transform: translateX(var(--marquee-loop, -50%));
    }
    to {
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .clientes-carousel__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
        padding: 0 1rem;
        gap: 0.65rem;
    }

    .clientes-carousel__group[aria-hidden="true"] {
        display: none;
    }

    .clientes-carousel {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* ===== BLOQUE: Cómo trabajaremos ===== */
.trabajo-section {
    padding: 0 2rem 2rem;
    background: #000000;
}

.trabajo-section .section-title {
    margin: 0 0 2rem 0;
}

/* Contenedor "fantasma": crea el recorrido de scroll para que la persona
   vaya pasando por los 6 puntos. .trabajo-sticky se fija centrado en la
   pantalla mientras tanto, así no queda hueco vacío arriba ni abajo. */
.trabajo-scrollzone {
    position: relative;
    height: 220vh;
}

.trabajo-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.trabajo-interactive {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 1.75rem;
    max-width: 920px;
    width: 72%;
    margin: 0 auto;
    align-items: start;
}

/* Columna izquierda: lista compacta de pasos (idéntica a como estaba) */
.trabajo-steps {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.trabajo-step {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #A8A8A8;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.trabajo-step:hover {
    border-color: rgba(255, 255, 255, 0.25);
    color: #e0e0e0;
}

.trabajo-step.is-active {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
}

.trabajo-step__dot {
    display: flex;
    flex-shrink: 0;
    color: inherit;
}

.trabajo-step__dot svg {
    width: 17px;
    height: 17px;
    display: block;
}

.trabajo-step.is-active .trabajo-step__dot {
    color: #4ade80;
}

.trabajo-step__label {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.35;
}

/* Columna derecha: panel = "ventana" fija; dentro, una cinta con las 6
   fichas apiladas que se desliza en vertical (transform), así se ve la
   ficha actual y se asoma un poco la siguiente en vez de saltar. */
.trabajo-panel {
    position: relative;
    overflow: hidden;
    height: 355px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
}

.trabajo-track {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    will-change: transform;
}

/* Cada punto es su propia tarjeta dentro de la cinta, para que no se
   mezclen visualmente aunque técnicamente compartan el mismo contenedor */
.trabajo-frame {
    display: block;
    flex-shrink: 0;
    min-height: 260px;
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}

.trabajo-frame__visual {
    height: 150px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1.5rem 0;
    overflow: hidden;
    padding: 1rem;
}

.trabajo-frame__title {
    font-size: 0.98rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 0.65rem 0;
    letter-spacing: 0.01em;
}

/* El icono solo se usa en móvil (ver media query) — en escritorio el
   título es texto plano, igual que siempre */
.trabajo-frame__title-icon {
    display: none;
}

.trabajo-frame__text {
    font-size: 0.8rem;
    font-weight: 300;
    color: #d8d8d8;
    line-height: 1.7;
    margin: 0;
    letter-spacing: 0.01em;
}

/* Mock: Sesiones 1:1 (videollamada estilo Zoom) */
@keyframes mock-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.call-mock {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.call-mock__topbar {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.call-mock__window-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

.call-mock__live {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.5rem;
    color: #4ade80;
    letter-spacing: 0.04em;
    text-transform: lowercase;
}

.call-mock__live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4ade80;
    animation: mock-pulse 1.6s ease-in-out infinite;
}

.call-mock__tiles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.3rem 0.4rem;
}

.call-mock__tile {
    width: 84px;
    height: 54px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.call-mock__tile svg {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.55);
}

.call-mock__tile--photo {
    background-size: 108%;
    background-position: center;
}

/* Barra de controles estilo Zoom/Meet: mic, cámara, compartir pantalla, colgar */
.call-mock__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.call-mock__ctrl {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.call-mock__ctrl svg {
    width: 8px;
    height: 8px;
    color: rgba(255, 255, 255, 0.6);
}

.call-mock__ctrl--end {
    width: 22px;
    background: #e5484d;
}

.call-mock__ctrl--end svg {
    width: 8px;
    height: 8px;
    color: #FFFFFF;
    transform: rotate(135deg);
}

/* Mock: Dirección estratégica (mapa en zigzag) */
.path-mock {
    width: 100%;
    padding: 0 0.5rem;
}

.path-mock__svg {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes path-glow-pulse {
    0% { opacity: 0.5; r: 6; }
    100% { opacity: 0; r: 13; }
}

/* El halo de "hoy" está apagado por defecto: solo aparece una vez, al
   llegar el recorrido, no todo el rato ni a la vez que los otros puntos */
.path-mock__glow {
    transform-origin: center;
    opacity: 0;
}

.trabajo-frame.has-played .path-mock__glow {
    animation: path-glow-pulse 0.9s ease-out 2.9s 1;
}

/* Los 3 puntos intermedios se "encienden" en verde por turnos, más
   despacio, dando sensación de recorrido hacia "hoy" */
.path-mock__dot {
    fill: #8a8a8a;
}

@keyframes path-dot-pass {
    0%, 100% { fill: #8a8a8a; }
    50% { fill: #4ade80; }
}

.trabajo-frame.has-played .path-mock__dot--1 { animation: path-dot-pass 0.7s ease-in-out 0.4s 1; }
.trabajo-frame.has-played .path-mock__dot--2 { animation: path-dot-pass 0.7s ease-in-out 1.3s 1; }
.trabajo-frame.has-played .path-mock__dot--3 { animation: path-dot-pass 0.7s ease-in-out 2.2s 1; }

.path-mock__labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.6rem;
    padding: 0 0.2rem;
}

.path-mock__labels span {
    font-size: 0.58rem;
    color: #A8A8A8;
    letter-spacing: 0.02em;
}

.path-mock__label--accent {
    color: #4ade80 !important;
}

/* Mock: Soporte directo (chat con avatares) */
.chat-mock {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0 0.4rem;
}

.chat-mock__row {
    display: flex;
    align-items: flex-end;
    gap: 0.45rem;
}

.chat-mock__row--out {
    justify-content: flex-end;
}

.chat-mock__avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background-size: cover;
    background-position: center;
}

.chat-mock__avatar--in svg {
    width: 12px;
    height: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.chat-mock__avatar--out {
    border-color: rgba(74, 222, 128, 0.35);
}

.chat-mock__bubble {
    max-width: 72%;
    padding: 0.5rem 0.7rem;
    border-radius: 12px;
    font-size: 0.66rem;
    line-height: 1.4;
}

/* Los mensajes "llegan" en secuencia la primera vez que se ve la tarjeta,
   como si se acabaran de enviar, en vez de aparecer ya escritos */
.chat-mock__row--1,
.chat-mock__row--2 {
    opacity: 0;
    transform: translateY(6px);
}

@keyframes chat-bubble-in {
    to { opacity: 1; transform: translateY(0); }
}

.trabajo-frame.has-played .chat-mock__row--1 { animation: chat-bubble-in 0.35s ease-out 0.1s forwards; }
.trabajo-frame.has-played .chat-mock__row--2 { animation: chat-bubble-in 0.35s ease-out 0.95s forwards; }

.chat-mock__bubble--in {
    background: rgba(255, 255, 255, 0.08);
    color: #e0e0e0;
    border-bottom-left-radius: 2px;
}

.chat-mock__bubble--out {
    background: rgba(74, 222, 128, 0.12);
    color: #eafff1;
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-bottom-right-radius: 2px;
}

/* Mock: Revisión de implementación (checklist con tareas tachadas) */
.doc-mock {
    width: 88%;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.doc-mock__header {
    font-size: 0.6rem;
    font-weight: 500;
    color: #A8A8A8;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    padding-bottom: 0.5rem;
    margin-bottom: 0.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.doc-mock__row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.doc-mock__check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4ade80;
    color: #062b13;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-mock__check--pending {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.doc-mock__task {
    position: relative;
    display: inline-block;
    font-size: 0.66rem;
    color: #d8d8d8;
    letter-spacing: 0.01em;
}

/* Las tareas "1" y "2" arrancan como pendientes y se tachan en secuencia la
   primera vez que se ve la tarjeta; la tercera se queda pendiente siempre */
.doc-mock__row--done .doc-mock__check {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: transparent;
}

.doc-mock__strike {
    position: absolute;
    left: 0;
    top: 50%;
    height: 1px;
    width: 0;
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%);
}

@keyframes doc-check-pop {
    to { background: #4ade80; border-color: #4ade80; color: #062b13; }
}

@keyframes doc-task-dim {
    to { color: #7d7d7d; }
}

@keyframes doc-strike-draw {
    to { width: 100%; }
}

.trabajo-frame.has-played .doc-mock__row--1 .doc-mock__check { animation: doc-check-pop 0.2s ease-out 0.45s forwards; }
.trabajo-frame.has-played .doc-mock__row--1 .doc-mock__task { animation: doc-task-dim 0.3s ease-out 0.5s forwards; }
.trabajo-frame.has-played .doc-mock__row--1 .doc-mock__strike { animation: doc-strike-draw 0.3s ease-out 0.5s forwards; }

.trabajo-frame.has-played .doc-mock__row--2 .doc-mock__check { animation: doc-check-pop 0.2s ease-out 1.25s forwards; }
.trabajo-frame.has-played .doc-mock__row--2 .doc-mock__task { animation: doc-task-dim 0.3s ease-out 1.3s forwards; }
.trabajo-frame.has-played .doc-mock__row--2 .doc-mock__strike { animation: doc-strike-draw 0.3s ease-out 1.3s forwards; }

/* Mock: Metodologías y recursos (sistema conectado, forma de rombo) */
.tech-mock {
    width: 100%;
    max-width: 190px;
    height: auto;
    display: block;
}

/* Los 4 nodos son opacos (para no dejar ver las líneas por detrás) y se
   turnan para ser el "activo" en verde, dando la sensación de sistema vivo */
@keyframes tech-node-cycle {
    0%, 16% { fill: #0a2015; stroke: #4ade80; }
    22%, 100% { fill: rgba(10, 10, 10, 0.95); stroke: rgba(255, 255, 255, 0.35); }
}

.tech-node {
    fill: rgba(10, 10, 10, 0.95);
    stroke: rgba(255, 255, 255, 0.35);
    stroke-width: 1.4;
    animation: tech-node-cycle 4.8s ease-in-out infinite;
}

.tech-node--1 { animation-delay: 0s; }
.tech-node--2 { animation-delay: 1.2s; }
.tech-node--3 { animation-delay: 2.4s; }
.tech-node--4 { animation-delay: 3.6s; }

/* Mock: Agentes ia (cerebro conectado a documentos) */
.brain-mock {
    width: 100%;
    max-width: 210px;
    height: auto;
    display: block;
}

/* Cada línea se ilumina en verde por turnos, como si llegara información
   de cada fuente (engranaje, cámara, lupa, documento) al robot */
@keyframes agent-line-flow {
    0% { stroke: rgba(255, 255, 255, 0.18); stroke-width: 1.3; }
    12.5% { stroke: #4ade80; stroke-width: 2; }
    25%, 100% { stroke: rgba(255, 255, 255, 0.18); stroke-width: 1.3; }
}

.agent-line {
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 1.3;
    animation: agent-line-flow 4.8s ease-in-out infinite;
}

.agent-line--1 { animation-delay: 0s; }
.agent-line--2 { animation-delay: 1.2s; }
.agent-line--3 { animation-delay: 2.4s; }
.agent-line--4 { animation-delay: 3.6s; }

/* El icono al final de cada línea se ilumina en el mismo instante que su
   línea, como si la información llegase justo ahí */
@keyframes agent-node-flow {
    0% { stroke: rgba(255, 255, 255, 0.4); }
    12.5% { stroke: #4ade80; }
    25%, 100% { stroke: rgba(255, 255, 255, 0.4); }
}

.agent-node {
    stroke: rgba(255, 255, 255, 0.4);
    animation: agent-node-flow 4.8s ease-in-out infinite;
}

.agent-node--1 { animation-delay: 0s; }
.agent-node--2 { animation-delay: 1.2s; }
.agent-node--3 { animation-delay: 2.4s; }
.agent-node--4 { animation-delay: 3.6s; }

/* El robot está apagado en reposo y solo se ilumina justo cuando le llega
   cada una de las 4 líneas, como si recibiera esa energía (igual que el $
   del centro en "contenido estratégico") */
.agent-brain {
    color: rgba(255, 255, 255, 0.4);
    animation: agent-brain-pulse 4.8s ease-in-out infinite;
}

.agent-brain__part {
    fill: currentColor;
    stroke: currentColor;
}

.agent-brain__head {
    fill: rgba(7, 22, 14, 0.96);
    stroke: currentColor;
}

.agent-brain__mouth {
    fill: none;
    stroke: currentColor;
}

@keyframes agent-brain-pulse {
    0%, 9% { color: rgba(255, 255, 255, 0.4); }
    12.5%, 16% { color: #4ade80; }
    19%, 34% { color: rgba(255, 255, 255, 0.4); }
    37.5%, 41% { color: #4ade80; }
    44%, 59% { color: rgba(255, 255, 255, 0.4); }
    62.5%, 66% { color: #4ade80; }
    69%, 84% { color: rgba(255, 255, 255, 0.4); }
    87.5%, 91% { color: #4ade80; }
    94%, 100% { color: rgba(255, 255, 255, 0.4); }
}

/* ===== BLOQUE: Qué vas a conseguir (los 5 pilares) ===== */
/* Paleta con significado, solo para esta sección: verde = estado conseguido,
   rojo desaturado = el coste de no tenerlo. No se usa en el resto de la web. */
.pilares-section {
    padding: 1.5rem 2rem 4.5rem;
    background: #000000;
    --pilar-green: #4ade80;
    --pilar-red: #c2635e;
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    gap: 1.25rem;
    max-width: 920px;
    width: 72%;
    margin: 0 auto;
}

.pilar-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.65rem 1.4rem 1.75rem;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.pilar-card:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.pilar-card__num {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    color: #A8A8A8;
    letter-spacing: 0.04em;
    line-height: 1;
    margin: 0 0 1.1rem 0;
    font-variant-numeric: tabular-nums;
}

/* Panel visual de cada pilar — misma altura en las cuatro, para que no
   quede escalonado al verlas en paralelo. */
.pilar-card__visual {
    position: relative;
    height: 140px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0.75rem;
}

/* Micro-etiqueta: siempre fuera del recuadro con overflow:hidden, en una
   sola línea — así nunca se corta, quepa lo que quepa dentro. */
.pilar-card__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    align-self: flex-start;
    max-width: 100%;
    margin: 0 0 0.9rem 0;
    padding: 0.35rem 0.75rem 0.35rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 400;
    color: #e0e0e0;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pilar-card__pill-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #FFFFFF;
    flex-shrink: 0;
}

.pilar-card__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 0.65rem 0;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.pilar-card__text {
    font-size: 0.74rem;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.65;
    margin: 0;
    letter-spacing: 0.01em;
}

/* "Sin esto:" — el reverso exacto del título, en rojo, siempre pegado al
   pie de la tarjeta (margin-top:auto), para que las cinco terminen a la
   misma altura sin importar cuánto ocupe el texto de arriba */
.pilar-card__cost {
    font-size: 0.68rem;
    font-weight: 400;
    color: #A8A8A8;
    line-height: 1.5;
    margin: auto 0 0 0;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    letter-spacing: 0.01em;
}

/* ---------- Visual 01 (Oferta): Punto A -> vehículo -> Punto B ---------- */
.vehiculo-mock {
    width: 100%;
    height: 100%;
}

/* Avanza de A a B y se queda dibujada; al terminar el ciclo se reinicia de
   golpe (sin "recular" hacia atrás) y vuelve a empezar */
.vehiculo-mock__path {
    fill: none;
    stroke: var(--pilar-green);
    stroke-width: 2;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: vehiculo-draw 4s ease-in-out infinite;
    animation-play-state: paused;
}

@keyframes vehiculo-draw {
    0% { stroke-dashoffset: 100; }
    45%, 100% { stroke-dashoffset: 0; }
}

.vehiculo-mock__arrow {
    fill: none;
    stroke: var(--pilar-green);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    animation: vehiculo-arrow-flash 4s ease-in-out infinite;
    animation-play-state: paused;
}

@keyframes vehiculo-arrow-flash {
    0%, 42% { opacity: 0; }
    58%, 92% { opacity: 1; }
    100% { opacity: 0; }
}

.pilar-card.is-inview .vehiculo-mock__path,
.pilar-card.is-inview .vehiculo-mock__arrow {
    animation-play-state: running;
}

.vehiculo-mock__point {
    stroke-width: 1.6;
}

.vehiculo-mock__point--a {
    fill: rgba(10, 10, 10, 0.95);
    stroke: rgba(255, 255, 255, 0.4);
}

/* B se queda apagado (como A) hasta que la flecha llega — entonces se
   ilumina en verde, en el mismo ritmo que el resto del visual */
.vehiculo-mock__point--b {
    fill: rgba(10, 10, 10, 0.95);
    stroke: rgba(255, 255, 255, 0.4);
    animation: vehiculo-point-b-light 4s ease-in-out infinite;
    animation-play-state: paused;
}

@keyframes vehiculo-point-b-light {
    0%, 55% { fill: rgba(10, 10, 10, 0.95); stroke: rgba(255, 255, 255, 0.4); }
    62%, 100% { fill: rgba(7, 22, 14, 0.95); stroke: var(--pilar-green); }
}

.pilar-card.is-inview .vehiculo-mock__point--b {
    animation-play-state: running;
}

.vehiculo-mock__label {
    font-size: 11px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    fill: rgba(255, 255, 255, 0.6);
    text-anchor: middle;
    dominant-baseline: central;
}

.vehiculo-mock__label--b {
    fill: rgba(255, 255, 255, 0.6);
    animation: vehiculo-label-b-light 4s ease-in-out infinite;
    animation-play-state: paused;
}

@keyframes vehiculo-label-b-light {
    0%, 55% { fill: rgba(255, 255, 255, 0.6); }
    62%, 100% { fill: var(--pilar-green); }
}

.pilar-card.is-inview .vehiculo-mock__label--b {
    animation-play-state: running;
}

/* ---------- Visual 02 (Contenido): negocio en el centro, conectado a
   sus canales — la energía llega desde cada canal hacia el centro ---------- */
.channel-mock {
    width: 100%;
    height: 100%;
}

/* Secuencia por canal (lenta, 7.2s): 1) el icono se ilumina, 2) la línea
   se rellena viajando del icono hacia el centro, 3) el centro (el $)
   recibe y pulsa, 4) la línea se desvanece por opacidad (no retrocede,
   como el punto A→B de "tu promesa") y empieza la del siguiente canal. */
.channel-line {
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 1.3;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    opacity: 0;
    animation: channel-line-flow 7.2s ease-in-out infinite;
    animation-play-state: paused;
}

@keyframes channel-line-flow {
    0% { stroke-dashoffset: 50; opacity: 0; stroke: rgba(255, 255, 255, 0.18); }
    8% { stroke-dashoffset: 50; opacity: 1; }
    24% { stroke-dashoffset: 0; opacity: 1; stroke: var(--pilar-green); }
    32% { stroke-dashoffset: 0; opacity: 1; }
    42% { stroke-dashoffset: 0; opacity: 0; }
    43%, 100% { stroke-dashoffset: 50; opacity: 0; stroke: rgba(255, 255, 255, 0.18); }
}

.channel-line--1 { animation-delay: 0s; }
.channel-line--2 { animation-delay: 1.8s; }
.channel-line--3 { animation-delay: 3.6s; }
.channel-line--4 { animation-delay: 5.4s; }

.channel-node {
    fill: rgba(10, 10, 10, 0.95);
    stroke: rgba(255, 255, 255, 0.4);
    stroke-width: 1.3;
    color: rgba(255, 255, 255, 0.55);
    animation: channel-node-flow 7.2s ease-in-out infinite;
    animation-play-state: paused;
}

@keyframes channel-node-flow {
    0%, 4% { stroke: rgba(255, 255, 255, 0.4); color: rgba(255, 255, 255, 0.55); }
    10%, 26% { stroke: var(--pilar-green); color: var(--pilar-green); }
    34%, 100% { stroke: rgba(255, 255, 255, 0.4); color: rgba(255, 255, 255, 0.55); }
}

.channel-node--1 { animation-delay: 0s; }
.channel-node--2 { animation-delay: 1.8s; }
.channel-node--3 { animation-delay: 3.6s; }
.channel-node--4 { animation-delay: 5.4s; }

/* El centro pulsa 4 veces por ciclo, una por cada canal, justo cuando la
   línea de ese canal termina de llegar — nunca está permanentemente encendido */
.channel-hub {
    color: rgba(255, 255, 255, 0.35);
    animation: channel-hub-pulse 7.2s ease-in-out infinite;
    animation-play-state: paused;
}

@keyframes channel-hub-pulse {
    0%, 21% { color: rgba(255, 255, 255, 0.35); }
    24%, 27% { color: var(--pilar-green); }
    30%, 45% { color: rgba(255, 255, 255, 0.35); }
    49%, 52% { color: var(--pilar-green); }
    55%, 70% { color: rgba(255, 255, 255, 0.35); }
    74%, 77% { color: var(--pilar-green); }
    80%, 95% { color: rgba(255, 255, 255, 0.35); }
    99%, 100% { color: var(--pilar-green); }
}

.pilar-card.is-inview .channel-line,
.pilar-card.is-inview .channel-node,
.pilar-card.is-inview .channel-hub {
    animation-play-state: running;
}

.channel-mock__hub {
    fill: #051911;
    stroke: currentColor;
    stroke-width: 1.6;
}

.channel-mock__hub-icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- Visual 03 (Conversión): curvas que se cruzan, dibujadas en vivo ---------- */
.mini-chart {
    width: 100%;
    height: 62px;
}

/* La confianza (verde) se dibuja de una vez mientras la duda (roja) se
   oscurece/apaga, en el mismo avance — al terminar, reinicio directo (sin
   recular) y vuelve a empezar */
.mini-chart__duda {
    fill: none;
    stroke: var(--pilar-red);
    stroke-width: 2;
    opacity: 1;
    animation: chart-duda-fade 4s ease-in-out infinite;
    animation-play-state: paused;
}

@keyframes chart-duda-fade {
    0%, 100% { opacity: 1; }
    55%, 95% { opacity: 0.18; }
}

.mini-chart__confianza {
    fill: none;
    stroke: var(--pilar-green);
    stroke-width: 2.4;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: chart-draw 4s ease-in-out infinite;
    animation-play-state: paused;
}

@keyframes chart-draw {
    0% { stroke-dashoffset: 300; }
    55%, 100% { stroke-dashoffset: 0; }
}

.mini-chart__cross {
    fill: var(--pilar-green);
    opacity: 0;
    transform: scale(0);
    transform-origin: 96px 46px;
    animation: chart-cross-pop 4s ease-in-out infinite;
    animation-play-state: paused;
}

@keyframes chart-cross-pop {
    0%, 60% { opacity: 0; transform: scale(0); }
    75%, 100% { opacity: 1; transform: scale(1); }
}

.pilar-card.is-inview .mini-chart__duda,
.pilar-card.is-inview .mini-chart__confianza,
.pilar-card.is-inview .mini-chart__cross {
    animation-play-state: running;
}

.mini-chart__labels {
    position: absolute;
    top: 0.6rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 0.85rem;
}

.mini-chart__label {
    font-size: 0.56rem;
    letter-spacing: 0.02em;
    color: #A8A8A8;
}

.mini-chart__label--duda {
    color: var(--pilar-red);
}

.mini-chart__label--accent {
    color: var(--pilar-green);
}

/* ---------- Visual 04 (Experiencia): bucle de resultados ---------- */
.loop-mock {
    width: 84px;
    height: 84px;
}

.loop-mock__track {
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 2;
}

/* Cada nodo es una mini-silueta de persona (círculo de clientes, no solo
   puntos). Se queda en reposo hasta que el punto que orbita "llega" a su
   posición — entonces se rellena/agranda, como si recibiera el impulso. */
.loop-mock__node {
    opacity: 0.55;
    transform: scale(0.85);
    transform-box: fill-box;
    transform-origin: center;
    animation: loop-node-pulse 6s ease-in-out infinite;
    animation-play-state: paused;
}

.loop-mock__node--1 { animation-delay: 0s; }
.loop-mock__node--2 { animation-delay: 2s; }
.loop-mock__node--3 { animation-delay: 4s; }

@keyframes loop-node-pulse {
    0%, 92%, 100% { opacity: 0.55; transform: scale(0.85); }
    4% { opacity: 1; transform: scale(1.25); }
    12% { opacity: 0.9; transform: scale(1); }
}

.pilar-card.is-inview .loop-mock__node {
    animation-play-state: running;
}

.loop-mock__node > circle:first-child {
    fill: rgba(74, 222, 128, 0.14);
    stroke: var(--pilar-green);
    stroke-width: 1.3;
}

.loop-mock__node-head {
    fill: var(--pilar-green);
}

.loop-mock__node-body {
    fill: none;
    stroke: var(--pilar-green);
    stroke-width: 1.3;
    stroke-linecap: round;
}

.loop-mock__orbit-wrap {
    transform-origin: 50px 50px;
    animation: loop-spin 6s linear infinite;
    animation-play-state: paused;
    opacity: 0;
    transition: opacity 0.4s ease 0.5s;
}

.pilar-card.is-inview .loop-mock__orbit-wrap {
    opacity: 1;
    animation-play-state: running;
}

@keyframes loop-spin {
    to { transform: rotate(360deg); }
}

.loop-mock__orbit {
    fill: var(--pilar-green);
}

/* Pilar transversal: base que sostiene a los 4 anteriores */
.pilar-transversal {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.75rem;
    max-width: 920px;
    width: 72%;
    margin: 1.85rem auto 0;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    --pilar-green: #4ade80;
    --pilar-red: #c2635e;
}

/* 4 anclajes alineados con las 4 columnas de arriba: la transversal se lee
   como la base física de las cuatro, no como una quinta tarjeta suelta */
.pilar-transversal__tick {
    position: absolute;
    top: -1.4rem;
    width: 1px;
    height: 1.4rem;
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(-50%);
}

.pilar-transversal__num {
    flex-shrink: 0;
    font-size: 1.5rem;
    font-weight: 300;
    color: #A8A8A8;
    letter-spacing: 0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

/* ---------- Visual 05 (Organización): nodos sueltos que se conectan ---------- */
.pilar-transversal__visual {
    flex-shrink: 0;
    width: 130px;
    height: 82px;
}

.network-mock {
    width: 100%;
    height: 100%;
    display: block;
}

/* El cableado siempre está a la vista (es la estructura); los nodos van
   "transmitiendo" en secuencia, en bucle, como señal viajando por el sistema */
.network-mock__lines line {
    stroke: rgba(255, 255, 255, 0.16);
    stroke-width: 1.3;
    animation: network-lines-light 4.8s ease-in-out infinite;
    animation-play-state: paused;
}

@keyframes network-lines-light {
    0%, 85% { stroke: rgba(255, 255, 255, 0.16); }
    92%, 100% { stroke: var(--pilar-green); }
}

.pilar-transversal.is-inview .network-mock__lines line {
    animation-play-state: running;
}

/* En reposo, gris oscurecido (nada de rojo). Se van iluminando en verde
   una a una y se quedan encendidas — al llegar todas, reinicio directo
   (sin recular) y vuelve a empezar */
.network-mock__node {
    fill: #3a3a3a;
    animation-duration: 4.8s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-play-state: paused;
}

.network-mock__node:nth-child(2) { animation-name: network-node-1; }
.network-mock__node:nth-child(3) { animation-name: network-node-2; }
.network-mock__node:nth-child(4) { animation-name: network-node-3; }
.network-mock__node:nth-child(5) { animation-name: network-node-4; }
.network-mock__node:nth-child(6) { animation-name: network-node-5; }
.network-mock__node:nth-child(7) { animation-name: network-node-6; }

@keyframes network-node-1 { 0%, 5% { fill: #3a3a3a; } 10%, 100% { fill: var(--pilar-green); } }
@keyframes network-node-2 { 0%, 20% { fill: #3a3a3a; } 25%, 100% { fill: var(--pilar-green); } }
@keyframes network-node-3 { 0%, 35% { fill: #3a3a3a; } 40%, 100% { fill: var(--pilar-green); } }
@keyframes network-node-4 { 0%, 50% { fill: #3a3a3a; } 55%, 100% { fill: var(--pilar-green); } }
@keyframes network-node-5 { 0%, 65% { fill: #3a3a3a; } 70%, 100% { fill: var(--pilar-green); } }
@keyframes network-node-6 { 0%, 80% { fill: #3a3a3a; } 85%, 100% { fill: var(--pilar-green); } }

.pilar-transversal.is-inview .network-mock__node {
    animation-play-state: running;
}

.pilar-transversal__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pilar-transversal__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.01em;
}

.pilar-transversal__text {
    font-size: 0.74rem;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.65;
    margin: 0;
    letter-spacing: 0.01em;
}

.pilar-transversal .pilar-card__cost {
    margin-top: 0.75rem;
    padding-top: 0.6rem;
}

/* Accesibilidad: sin animación para quien prefiere movimiento reducido.
   Todas las animaciones de esta sección son bucles continuos, así que aquí
   no basta con acortarlas — se desactivan del todo y se fuerza el estado
   final "resuelto" de cada visual de forma estática. */
@media (prefers-reduced-motion: reduce) {
    .pilares-section *,
    .pilar-transversal * {
        animation: none !important;
        transition: none !important;
    }

    .vehiculo-mock__path { stroke-dashoffset: 0; }
    .vehiculo-mock__arrow { opacity: 1; }
    .vehiculo-mock__point--b { fill: rgba(7, 22, 14, 0.95); stroke: var(--pilar-green); }
    .vehiculo-mock__label--b { fill: var(--pilar-green); }

    .mini-chart__duda { opacity: 0.18; }
    .mini-chart__confianza { stroke-dashoffset: 0; }
    .mini-chart__cross { opacity: 1; transform: scale(1); }

    .loop-mock__node { opacity: 1; transform: scale(1); }

    .network-mock__node { fill: var(--pilar-green); fill-opacity: 1; }
    .network-mock__lines line { stroke: var(--pilar-green); }

    .channel-line { stroke-dashoffset: 0; stroke: var(--pilar-green); }
    .channel-node { stroke: var(--pilar-green); color: var(--pilar-green); }
    .channel-hub { color: var(--pilar-green); }
}

/* ===== BLOQUE 2: Testimonios ===== */
.testimonios-section {
    padding: 1.5rem 2rem 6rem;
    background: #000000;
}

.section-title {
    font-size: 1rem;
    font-weight: 400;
    color: #FFFFFF;
    text-align: center;
    margin: 0 0 3rem 0;
    letter-spacing: 0.05em;
    text-transform: lowercase;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1040px;
    width: 78%;
    margin: 0 auto;
}

.testimonio-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    padding: 1rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.testimonio-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.testimonio-card video,
.testimonio-card .plyr {
    display: block;
    width: 100%;
    margin: 0 0 1rem 0;
    background: #000;
}

/* Contenedor con ratio fijo para evitar salto al reproducir */
.testimonio-card .plyr {
    aspect-ratio: 16 / 9;
    position: relative;
}

.testimonio-card .plyr .plyr__video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
}

.testimonio-card .plyr video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Poster con cover (no contain) para que coincida con el vídeo y no haya línea gris */
.testimonio-card .plyr .plyr__poster {
    background-size: cover !important;
    background-position: center !important;
}

/* Plyr tema negro minimalista 14lm */
.testimonio-card .plyr {
    --plyr-color-main: #FFFFFF;
    --plyr-video-background: #0a0a0a;
    --plyr-menu-background: #111111;
    --plyr-menu-color: #FFFFFF;
    --plyr-control-background-hover: rgba(168, 168, 168, 0.35);
    --plyr-control-background: transparent;
    --plyr-control-color: #FFFFFF;
    --plyr-control-icon-size: 14px;
    --plyr-font-size-small: 11px;
    --plyr-font-size-base: 12px;
    --plyr-font-size-large: 13px;
    --plyr-font-weight-regular: 400;
    --plyr-font-weight-medium: 500;
    --plyr-font-weight-bold: 500;
    --plyr-tooltip-background: #111111;
    --plyr-tooltip-color: #FFFFFF;
    --plyr-font-family: 'Montserrat', sans-serif;
    font-family: 'Montserrat', sans-serif;
}

/* Play central: solo el triángulo, sin círculo ni silueta. Sin ningún hover */
.testimonio-card .plyr__control--overlaid,
.testimonio-card .plyr__control--overlaid:hover,
.testimonio-card .plyr__control--overlaid:focus {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0;
    opacity: 0.9 !important;
}

/* Hover gris en controles para que el cursor blanco se vea (excluir el play central) */
.testimonio-card .plyr button.plyr__control:hover:not(.plyr__control--overlaid) {
    background: rgba(168, 168, 168, 0.35);
}

/* Barra compacta abajo, sin cubrir el vídeo: padding-top mínimo */
.testimonio-card .plyr__controls {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    flex-wrap: nowrap;
    gap: 0.25rem;
    padding: 0.4rem 0.5rem 0.5rem !important;
    padding-top: 0.5rem !important;
}

/* Barra compacta: play + tiempo + progreso izq, volumen + settings + fullscreen der */
.testimonio-card .plyr .plyr__progress__container {
    min-width: 50px;
    flex: 1 1 auto;
}

/* Volumen: solo botón, barra horizontal compacta en desplegable (menos invasiva que vertical) */
.testimonio-card .plyr .plyr__volume {
    position: relative;
    display: flex;
    align-items: center;
}

.testimonio-card .plyr .plyr__volume input[type="range"] {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    width: 70px;
    height: 6px;
    margin: 0;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 5;
}

.testimonio-card .plyr .plyr__volume:hover input[type="range"],
.testimonio-card .plyr .plyr__volume:focus-within input[type="range"] {
    opacity: 1;
    pointer-events: auto;
}


.testimonio-card .plyr__progress__buffer {
    color: rgba(255, 255, 255, 0.15);
}

.testimonio-card .plyr__menu__container {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.testimonio-card .plyr__menu__container [role="menu"] {
    padding: 0.25rem 0;
}

.testimonio-card .plyr__menu__container [role="menuitem"],
.testimonio-card .plyr__menu__container [role="menuitemradio"] {
    color: #FFFFFF;
}

.testimonio-card .plyr__menu__container [role="menuitem"]:hover,
.testimonio-card .plyr__menu__container [role="menuitemradio"]:hover {
    background: rgba(255, 255, 255, 0.08);
}

.testimonio-card h4 {
    font-size: 0.7rem;
    font-weight: 500;
    color: #e0e0e0;
    margin: 0 0 0.25rem 0;
    letter-spacing: 0.01em;
}

.testimonio-card p {
    font-size: 0.65rem;
    color: #d8d8d8;
    margin: 0;
    letter-spacing: 0.01em;
}

/* ===== BLOQUE 3: FAQ ===== */
.faq-section {
    padding: 4rem 2rem 3rem;
    max-width: 720px;
    width: 58%;
    margin: 0 auto;
    text-align: center;
}

.faq-section .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-list {
    margin-bottom: 3rem;
    text-align: left;
}

.faq-item {
    border: none;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 0;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    text-align: left;
    letter-spacing: 0.01em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}

.faq-question:hover {
    color: #FFFFFF;
}

.faq-question .icon {
    font-size: 1.2rem;
    color: #A8A8A8;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-answer {
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease;
}

.faq-answer.show {
    height: auto;
}

.faq-answer p {
    font-size: 0.78rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin: 0.5rem 0 1.25rem 0;
    padding-bottom: 0;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.faq-answer p:last-child {
    margin-bottom: 0.5rem;
}

.faq-answer span,
.faq-answer b,
.faq-answer strong {
    font-weight: 300;
    color: #e0e0e0;
}

.faq-answer a {
    color: #e0e0e0;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* CTA Button - cursor negro al hacer hover (botón blanco) */
.cta-button,
.cta-button:hover {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><circle cx="8" cy="8" r="6" fill="none" stroke="black" stroke-width="1.5"/></svg>') 8 8, pointer;
}

.cta-button {
    display: inline-block;
    padding: 0.65rem 1.25rem;
    background: #FFFFFF;
    color: #000000;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: lowercase;
    letter-spacing: 0.02em;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
}

/* Footer override para consultoría */
.consultoria-page .supreme-footer,
body:has(.copy-section) .supreme-footer {
    margin-top: auto;
    padding: 3rem 2rem 2rem;
}

/* Responsive - tablet (entre PC y móvil): 1 columna para que los vídeos tengan más ancho */
@media (min-width: 641px) and (max-width: 950px) {
    .testimonios-grid {
        grid-template-columns: 1fr;
    }

    .trabajo-interactive {
        grid-template-columns: minmax(200px, 260px) 1fr;
        width: 90%;
    }

    .pilares-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 90%;
    }

    .pilar-transversal {
        width: 90%;
    }
}

/* Responsive - tablet pequeña */
@media (max-width: 768px) {
    .testimonio-card .plyr {
        --plyr-control-spacing: 8px;
        --plyr-control-icon-size: 13px;
    }

    .testimonio-card .plyr__controls {
        padding: 0.45rem 0.5rem 0.55rem;
    }
}

/* Responsive - móvil */
@media (max-width: 640px) {
    .copy-section {
        width: 100%;
        padding: 3rem 1.5rem 1.25rem;
    }

    .copy-block {
        font-size: 0.8rem;
    }

    .testimonios-section {
        padding: 1.25rem 1rem 4rem;
    }

    .testimonios-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-section {
        width: 100%;
        padding: 3rem 1.5rem 4rem;
    }

    .testimonios-grid {
        width: 100%;
    }

    /* Plyr controles más compactos en móvil */
    .testimonio-card .plyr {
        --plyr-control-spacing: 6px;
        --plyr-control-icon-size: 12px;
        --plyr-font-size-small: 10px;
    }

    .testimonio-card .plyr__controls {
        padding: 0.4rem 0.4rem 0.5rem;
    }

    .faq-question {
        font-size: 0.88rem;
        padding: 1rem 0;
    }

    .clientes-carousel-section {
        padding: 3rem 0;
    }

    .clientes-carousel__group {
        gap: 0.5rem;
        padding-right: 0.5rem;
    }

    .cliente-pill {
        gap: 0.45rem;
        padding: 0.28rem 0.68rem 0.28rem 0.28rem;
    }

    .cliente-pill__avatar {
        width: 21px;
        height: 21px;
    }

    .cliente-pill__handle {
        font-size: 0.62rem;
    }

    .cliente-pill__verified,
    .cliente-pill__verified svg {
        width: 11px;
        height: 11px;
    }

    .trabajo-section {
        padding: 0 1.25rem 1.5rem;
    }

    /* En móvil no tiene sentido el scroll-driven (sin sticky, sin recorrido fantasma) */
    .trabajo-scrollzone {
        height: auto;
    }

    .trabajo-sticky {
        position: static;
        height: auto;
        display: block;
    }

    .trabajo-interactive {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 1.15rem;
    }

    /* En móvil no hay selector: se quita la lista táctil y se muestran las
       6 tarjetas apiladas en orden, cada una con su título a modo de
       cabecera "seleccionada" (borde verde), tal como se ve al elegirla
       en escritorio — solo que aquí van apareciendo con el scroll normal,
       sin que la persona tenga que ir pinchando una a una. */
    .trabajo-steps {
        display: none;
    }

    .trabajo-panel {
        position: static;
        overflow: visible;
        height: auto;
        padding: 0;
        min-height: 0;
        border: none;
        background: none;
    }

    .trabajo-track {
        display: flex;
        flex-direction: column;
        gap: 1.15rem;
        transform: none !important;
    }

    .trabajo-frame {
        display: block;
        min-height: 0;
    }

    /* Misma estética exacta que el selector de escritorio (.trabajo-step
       en su estado activo): mismo padding, mismo radio de borde, mismos
       colores e icono — solo cambia que aquí no es clicable. */
    .trabajo-frame__title {
        display: inline-flex;
        align-items: center;
        gap: 0.85rem;
        font-size: 0.8rem;
        font-weight: 400;
        line-height: 1.35;
        letter-spacing: 0.01em;
        color: #FFFFFF;
        padding: 0.85rem 1.1rem;
        margin: 0 0 1.1rem 0;
        border: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
    }

    .trabajo-frame__title-icon {
        display: flex;
        flex-shrink: 0;
        color: #4ade80;
    }

    .trabajo-frame__title-icon svg {
        width: 17px;
        height: 17px;
        display: block;
    }

    .trabajo-frame__text {
        font-size: 0.78rem;
    }

    .pilares-section {
        padding: 0 1.25rem 3rem;
    }

    .pilares-grid {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 1.15rem;
    }

    .pilar-card {
        padding: 1.5rem 1.35rem 1.65rem;
    }

    .pilar-transversal {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1.5rem 1.35rem;
    }

    .pilar-transversal__visual {
        align-self: center;
    }

    /* FAQ accordion: transición más suave en móvil */
    .faq-answer {
        transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .faq-item {
        scroll-margin-top: 1rem;
    }
}
