/* =============================== */
/*  LANDING SUDI — PÁGINA DE INICIO */
/* =============================== */
.page-content {
    width: 100%;
    /* Compensa el header fijo */
    padding-top: 100px;
    /* Lavado de color continuo a lo largo de la página (como en el diseño) */
    background: linear-gradient(
        180deg,
        #f7f8fc 0%,
        #f9f4f6 8%,
        #fbeff1 16%,
        #f4ecfb 26%,
        #e3e4fc 36%,
        #ccd9fb 46%,
        #e6edfd 54%,
        #f4f4fc 60%,
        #f9eff1 70%,
        #f8ecdf 80%,
        #f0e9fb 90%,
        #f7f8fc 100%
    );
}

/* Contenedor base por sección */
.adapt__container,
.implementation__container,
.components__container,
.trust__container,
.faq__container {
    width: min(100% - 2.5rem, var(--max-width-container));
    margin: 0 auto;
}

/* =============================== */
/*  HERO                           */
/* =============================== */
.hero {
    padding: 0 clamp(1rem, 3vw, 2.5rem);
}

.hero__eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: .48rem .9rem;
    border: 1px solid #e6d8fb;
    border-radius: 999px;
    background: #f7f0ff;
    color: var(--color-accent-deep);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Panel blanco redondeado que envuelve el hero, como en el diseño */
.hero__panel {
    width: min(100%, 1360px);
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 4.5) clamp(1rem, 4vw, 4rem) 0;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #fdfbff 70%, rgba(255, 255, 255, 0) 100%);
    border-radius: 28px;
    overflow: hidden;
}

.hero__title {
    font-size: clamp(2.2rem, 5.2vw, 4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 1.5rem;
}

.hero__description {
    color: var(--color-ink-soft);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    max-width: 54ch;
    margin: 0 auto 2rem;
}

.hero__actions {
    display: flex;
    justify-content: center;
    margin-bottom: calc(var(--spacing-unit) * 2.5);
}

/* ------- Mockup del dashboard ------- */
.hero__mockup {
    perspective: 1600px;
    max-height: 460px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 76%, transparent);
    mask-image: linear-gradient(#000 76%, transparent);
}

.mockup {
    display: grid;
    grid-template-columns: 200px 1fr;
    width: min(100%, 1080px);
    margin: 0 auto;
    text-align: left;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    background: #eef0fb;
    border: 1px solid rgba(197, 179, 255, 0.5);
    border-bottom: none;
    box-shadow: 0 -20px 80px rgba(122, 47, 245, 0.08), var(--shadow-soft);
    transition: transform 0.2s ease-out;
    transform-style: preserve-3d;
    font-size: 0.72rem;
    color: var(--color-ink);
}

/* Barra lateral oscura */
.mockup__sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.2rem 1rem;
    background: linear-gradient(180deg, #1d2440 0%, #262e58 100%);
    color: rgba(255, 255, 255, 0.7);
}

.mockup__logo-image {
    width: 28px;
    height: 28px;
    margin-bottom: 0.35rem;
    object-fit: contain;
}

.mockup__section {
    margin-bottom: 0.15rem;
}

.mockup__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.28rem 0.4rem;
    border-radius: 7px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mockup__item--active {
    color: #ffffff;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.12);
}

.mockup__item--active .mockup__icon {
    opacity: 1;
}

.mockup__icon {
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: currentColor;
    opacity: 0.55;
}

/* Encabezado de sección del menú lateral */
.mockup__section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mockup__section .mockup__icon {
    opacity: 1;
    background: rgba(255, 255, 255, 0.9);
}

/* Iconos inferiores de la barra lateral */
.mockup__sidebar-foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.mockup__sidebar-foot span {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.16);
}

.mockup__sidebar-foot span:first-child {
    background: rgba(255, 255, 255, 0.35);
}

/* Área principal */
.mockup__main {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.1rem 1.2rem 1.4rem;
    background: linear-gradient(160deg, #eef1fd 0%, #f7effc 100%);
    min-width: 0;
}

/* Banner de bienvenida (Centro de trabajo) */
.mockup__welcome {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border-left: 3px solid #3f7dff;
    background: linear-gradient(120deg, #e8effe 0%, #eef3fe 100%);
}

.mockup__welcome-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #24437f;
    font-size: 0.95rem;
}

.mockup__welcome-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.mockup__eyebrow {
    color: #3f7dff;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mockup__welcome-title {
    font-size: 0.85rem;
    letter-spacing: -0.01em;
}

.mockup__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.3rem;
}

.mockup__chip {
    padding: 0.28rem 0.6rem;
    border-radius: var(--radius-pill);
    background: #ffffff;
    font-size: 0.6rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(30, 33, 48, 0.05);
    white-space: nowrap;
}

/* Atajos (accesos frecuentes) */
.mockup__shortcuts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}

.mockup__shortcut {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(30, 33, 48, 0.05);
    font-size: 0.66rem;
    font-weight: 700;
    min-width: 0;
}

.mockup__shortcut span {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mockup__shortcut em {
    font-style: normal;
    color: #3f7dff;
    font-weight: 700;
}

.mockup__kpi-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 700;
}

.mockup__kpi-icon--purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.mockup__kpi-icon--blue { background: linear-gradient(135deg, #62a5ff, #3f7dff); }
.mockup__kpi-icon--green { background: linear-gradient(135deg, #63e0a5, #2fb98a); }
.mockup__kpi-icon--dark { background: #1e2130; }

/* Tarjetas KPI con acento de color (2 x 2) */
.mockup__kpis {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.mockup__kpi {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    border-left: 3px solid transparent;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(30, 33, 48, 0.05);
    min-width: 0;
}

.mockup__kpi--blue { border-left-color: #3f7dff; }
.mockup__kpi--amber { border-left-color: #f2ae4c; }
.mockup__kpi--green { border-left-color: #2fb98a; }
.mockup__kpi--red { border-left-color: #e85d75; }

.mockup__kpi-label {
    font-size: 0.62rem;
    color: var(--color-ink-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mockup__kpi-value {
    font-size: 0.95rem;
    letter-spacing: -0.02em;
}

/* Rejilla de paneles: Novedades | Indicadores del mes */
.mockup__grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 0.6rem;
    align-items: start;
}

.mockup__column {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-width: 0;
}

.mockup__panel {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.85rem;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(30, 33, 48, 0.05);
    min-width: 0;
}

.mockup__panel-title {
    font-size: 0.78rem;
}

.mockup__muted {
    display: block;
    color: var(--color-ink-soft);
    font-size: 0.62rem;
    font-weight: 400;
}

.mockup__paragraph {
    margin: 0;
    color: var(--color-ink-soft);
    font-size: 0.66rem;
    line-height: 1.5;
}

/* Panel de novedades */
.mockup__news-media {
    height: 120px;
    border-radius: 8px;
    background:
        radial-gradient(80% 100% at 30% 20%, rgba(139, 92, 246, 0.25), transparent 60%),
        linear-gradient(140deg, #3a4370 0%, #6f7dc9 55%, #c9d4f5 100%);
}

.mockup__tag {
    color: #3f7dff;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.mockup__news-title {
    font-size: 0.8rem;
    letter-spacing: -0.01em;
}

.mockup__link {
    font-style: normal;
    color: #3f7dff;
    font-size: 0.64rem;
    font-weight: 700;
}

/* Nota compacta con miniatura */
.mockup__news-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(30, 33, 48, 0.07);
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.35;
}

.mockup__news-row .mockup__tag {
    display: block;
}

.mockup__news-thumb {
    flex: none;
    width: 52px;
    height: 44px;
    border-radius: 7px;
    background: linear-gradient(140deg, #c9d4f5 0%, #8fa4e0 60%, #5a6bb0 100%);
}

/* Panel de gráfica de línea */
.mockup__amount-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.mockup__amount {
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.mockup__delta {
    color: #1d9a6c;
    font-size: 0.6rem;
    font-weight: 700;
}

.mockup__panel--chart svg {
    width: 100%;
    height: 58px;
}

.mockup__axis {
    display: flex;
    justify-content: space-between;
    color: var(--color-ink-soft);
    font-size: 0.52rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* Panel de barras por categoría */
.mockup__bars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    align-items: end;
    height: 96px;
    padding-top: 0.3rem;
}

.mockup__bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
    height: 100%;
    min-width: 0;
}

.mockup__bar b {
    font-size: 0.56rem;
    letter-spacing: -0.01em;
}

.mockup__bar i {
    width: 100%;
    height: var(--bar-height, 60%);
    border-radius: 4px 4px 0 0;
    background: rgba(78, 207, 141, 0.28);
    border: 1px solid #2fb98a;
    border-bottom: none;
    /* Las barras crecen al entrar en escena */
    transform-origin: bottom;
    animation: bar-grow 1.2s var(--transition-smooth) backwards;
}

.mockup__bar:nth-child(2) i { animation-delay: 0.15s; }
.mockup__bar:nth-child(3) i { animation-delay: 0.3s; }
.mockup__bar:nth-child(4) i { animation-delay: 0.45s; }

@keyframes bar-grow {
    from {
        transform: scaleY(0);
    }
}

.mockup__bar small {
    color: var(--color-ink-soft);
    font-size: 0.54rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Personas (equipo del mockup y prospectos del cluster) */
.mockup__person {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.68rem;
    font-weight: 600;
}

.mockup__avatar {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c5b3ff, #8fd0ff);
    color: #1e2130;
    font-size: 0.58rem;
    font-weight: 700;
}

.mockup__person:nth-child(odd) .mockup__avatar {
    background: linear-gradient(135deg, #ffb1c9, #ffd6a1);
}

/* Líneas de gráficas (mockup y cluster) */
.chart-line {
    fill: none;
    stroke: #7a2ff5;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: line-draw 2.6s var(--transition-smooth) forwards;
}

.chart-line--soft {
    stroke: #b8c6ff;
    animation-delay: 0.4s;
}

@keyframes line-draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* =============================== */
/*  DISEÑADA PARA ADAPTARSE        */
/* =============================== */
.adapt {
    position: relative;
    padding: calc(var(--spacing-unit) * 6) 0;
}

.adapt__container {
    display: grid;
    grid-template-columns: 0.9fr 1.25fr;
    align-items: center;
    gap: calc(var(--spacing-unit) * 3);
}

.adapt__cluster {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.adapt__pills {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.adapt__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    font-size: 0.7rem;
    color: var(--color-ink-soft);
    font-weight: 600;
}

.adapt__pill b {
    color: var(--color-ink);
    font-size: 0.85rem;
}

.adapt__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
}

.float-card {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-size: 0.72rem;
}

/* Flotación sutil con desfases distintos */
.adapt__pills { animation: card-float 8s ease-in-out infinite; }
.adapt__row:nth-of-type(2) .float-card:nth-child(1) { animation: card-float 7s ease-in-out -1.5s infinite; }
.adapt__row:nth-of-type(2) .float-card:nth-child(2) { animation: card-float 8.5s ease-in-out -3s infinite; }
.adapt__row:nth-of-type(3) .float-card:nth-child(1) { animation: card-float 7.5s ease-in-out -4.5s infinite; }
.adapt__row:nth-of-type(3) .float-card:nth-child(2) { animation: card-float 9s ease-in-out -6s infinite; }

@keyframes card-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

.float-card__title {
    font-weight: 700;
    font-size: 0.78rem;
}

/* Calendario */
.float-card__weekdays,
.float-card__days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}

.float-card__weekdays span {
    font-size: 0.55rem;
    color: var(--color-ink-soft);
    font-weight: 700;
}

.float-card__days span {
    aspect-ratio: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #f1f2f9;
    font-size: 0.55rem;
    color: var(--color-ink-soft);
}

.float-card__days span.is-marked {
    background: var(--gradient-cta);
    color: #ffffff;
    font-weight: 700;
    animation: mark-pulse 3s ease-in-out infinite;
}

@keyframes mark-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

/* Gráfica */
.float-card__chart-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
}

.float-card__amount {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.float-card--chart svg {
    width: 100%;
    height: 64px;
}

/* Notificaciones */
.float-card__row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.68rem;
    font-weight: 600;
}

.float-card__dot {
    flex: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.float-card__dot--green { background: #4ecf8d; }
.float-card__dot--blue { background: #55aaff; }
.float-card__dot--purple { background: #9a6bff; }

/* =============================== */
/*  IMPLEMENTACIÓN                 */
/* =============================== */
.implementation { padding: 4rem 0 2rem; }
.implementation__header { text-align: center; margin-bottom: 2.2rem; }
.implementation__eyebrow { color: var(--color-accent-deep); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.implementation__header .section-title { margin-top: .6rem; }
.implementation__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid rgba(255,255,255,.92); border-radius: var(--radius-card); background: rgba(255,255,255,.76); box-shadow: 0 8px 30px rgba(30,33,48,.05); overflow: hidden; }
.implementation__step { position: relative; min-width: 0; padding: 1.9rem; }
.implementation__step:not(:last-child) { border-right: 1px solid #e8e0f6; }
.implementation__number { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem; border-radius: 13px; background: #eee4ff; color: var(--color-accent-deep); font-weight: 800; }
.implementation__step h3 { margin: 0 0 .65rem; font-size: 1.24rem; }
.implementation__step p { margin: 0; color: var(--color-ink-soft); line-height: 1.65; }

/* =============================== */
/*  COMPONENTES DE LA PLATAFORMA   */
/* =============================== */
.components {
    padding: calc(var(--spacing-unit) * 5) 0;
}

.components__header {
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.components__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.component-card {
    /* En el grid, cada tarjeta destacada ocupa media fila (2 por hilera) */
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 30px rgba(30, 33, 48, 0.05);
    transition: transform 0.45s var(--transition-smooth), box-shadow 0.45s var(--transition-smooth);
}

.component-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(122, 47, 245, 0.14);
}

/* Superficie visual compartida por capturas e ilustraciones */
.component-card__media {
    aspect-ratio: 16 / 10;
    margin-bottom: 1.25rem;
    border-radius: 14px;
    background:
        linear-gradient(175deg, rgba(255, 209, 224, 0.35) 0%, rgba(255, 255, 255, 0.9) 45%),
        #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.95);
}

/* Media que contiene una captura o imagen fija */
.component-card__media--image {
    position: relative;
    overflow: hidden;
    background: #f2eefb;
    border-color: rgba(122, 47, 245, 0.12);
}

.component-card__media--image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.component-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 0.5rem;
}

.component-card__description {
    color: var(--color-ink-soft);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* =============================== */
/*  SLIDER DE COMPONENTES          */
/* =============================== */
.components__slider {
    margin-top: 1.5rem;
}

.components__slider-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* Espacio para que la sombra/elevación en hover no se recorte */
    padding: 0.5rem 0.25rem 1rem;
    margin: -0.5rem -0.25rem 0;
    /* Oculta la barra de scroll nativa (el control va aparte) */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.components__slider-track::-webkit-scrollbar {
    display: none;
}

/* Tarjeta dentro del slider: ancho fijo, 3 visibles en desktop */
.component-card--slide {
    flex: 0 0 calc((100% - 3rem) / 3);
    scroll-snap-align: start;
}

/* Controles: flechas + puntos */
.components__slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.components__slider-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    box-shadow: 0 8px 24px rgba(30, 33, 48, 0.1);
    color: var(--color-ink);
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth);
}

.components__slider-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--color-accent);
}

.components__slider-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.components__slider-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.components__slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(30, 33, 48, 0.18);
    cursor: pointer;
    transition: width 0.35s var(--transition-smooth), background 0.35s var(--transition-smooth);
}

.components__slider-dot.is-active {
    width: 26px;
    background: var(--gradient-cta);
}

/* =============================== */
/*  EMPRESAS QUE CONFÍAN EN SUDI   */
/* =============================== */
.trust {
    padding: calc(var(--spacing-unit) * 5) 0;
}

.trust__header {
    margin-bottom: calc(var(--spacing-unit) * 2.5);
}

.trust__panel {
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 2.5);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 30px rgba(30, 33, 48, 0.04);
}

.trust__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem 2rem;
    justify-items: center;
}

.trust__client {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 88px;
    padding: 1rem;
    border-radius: 14px;
    background: #fff;
    transition: transform .3s var(--transition-smooth), box-shadow .3s var(--transition-smooth);
}

.trust__client:hover, .trust__client:focus-visible {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.trust__client img { max-width: 100%; max-height: 58px; object-fit: contain; }
.trust__empty { display: flex; align-items: center; justify-content: center; gap: 1.2rem; min-height: 150px; text-align: center; }
.trust__empty p { max-width: 480px; margin: 0; color: var(--color-ink-soft); font-size: 1.05rem; }
.trust__empty-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 15px; background: #eee4ff; color: var(--color-accent-deep); font-size: 1.6rem; }

.trust__actions {
    display: flex;
    justify-content: center;
    margin-top: calc(var(--spacing-unit) * 2);
}

/* =============================== */
/*  PREGUNTAS FRECUENTES           */
/* =============================== */
.faq {
    position: relative;
    padding: calc(var(--spacing-unit) * 6) 0;
}

.faq__container {
    display: grid;
    grid-template-columns: 0.85fr 1.6fr;
    gap: calc(var(--spacing-unit) * 3);
    align-items: start;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.faq__item {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 24px rgba(30, 33, 48, 0.05);
    overflow: hidden;
    transition: box-shadow 0.4s var(--transition-smooth);
}

.faq__item.is-open {
    box-shadow: 0 16px 40px rgba(122, 47, 245, 0.12);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.1rem 1.3rem;
    border: none;
    background: transparent;
    font: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    color: var(--color-ink);
    cursor: pointer;
}

/* Icono +/− animado */
.faq__icon {
    flex: none;
    position: relative;
    width: 16px;
    height: 16px;
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    background: var(--color-accent);
    border-radius: 2px;
    transition: transform 0.4s var(--transition-smooth);
}

.faq__icon::before {
    width: 100%;
    height: 2px;
}

.faq__icon::after {
    width: 2px;
    height: 100%;
}

.faq__item.is-open .faq__icon::after {
    transform: rotate(90deg) scaleY(0);
}

/* Despliegue animado con grid-template-rows */
.faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s var(--transition-smooth);
}

.faq__item.is-open .faq__answer {
    grid-template-rows: 1fr;
}

.faq__answer-inner {
    min-height: 0;
    overflow: hidden;
}

.faq__answer-inner p {
    margin: 0;
    padding: 0 1.3rem 1.2rem;
    color: var(--color-ink-soft);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =============================== */
/*  CTA FINAL                      */
/* =============================== */
.closing {
    padding: calc(var(--spacing-unit) * 2) clamp(1rem, 4vw, 2.5rem) calc(var(--spacing-unit) * 3);
}

.closing__band {
    position: relative;
    width: min(100%, 1360px);
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 4.5) var(--spacing-unit);
    text-align: center;
    border-radius: 28px;
    overflow: hidden;
    background: var(--gradient-pastel);
    background-size: 220% 220%;
    animation: band-shift 16s ease-in-out infinite alternate;
    box-shadow: var(--shadow-soft);
}

@keyframes band-shift {
    from { background-position: 0% 30%; }
    to { background-position: 100% 70%; }
}

.closing__logo {
    display: block;
    width: 60px;
    height: 60px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
}

.closing__title {
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 0.9rem;
}

.closing__text {
    color: rgba(30, 33, 48, 0.7);
    margin: 0 0 1.75rem;
}

/* =============================== */
/*  RESPONSIVO                     */
/* =============================== */
@media (max-width: 1080px) {
    .mockup__shortcuts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .implementation__grid { grid-template-columns: 1fr; }
    .implementation__step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1.2rem; padding: 1.3rem 1.6rem; }
    .implementation__step:not(:last-child) { border-right: 0; border-bottom: 1px solid #e8e0f6; }
    .implementation__number { margin-bottom: 0; }
}

@media (max-width: 980px) {
    .hero__mockup { max-height: 380px; }
    .adapt__container,
    .faq__container {
        grid-template-columns: 1fr;
    }

    .components__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .component-card {
        grid-column: span 1;
    }

    /* Slider: 2 tarjetas visibles en tablet */
    .component-card--slide {
        flex-basis: calc((100% - 1.5rem) / 2);
    }

    /* En tablet el mockup se simplifica: solo la columna de indicadores */
    .mockup__grid {
        grid-template-columns: 1fr;
    }

    .mockup__panel--news {
        display: none;
    }

    .trust__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .hero__mockup { max-height: 320px; }
    .page-content {
        padding-top: 88px;
    }

    .mockup {
        grid-template-columns: 1fr;
    }

    .mockup__sidebar {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        padding: 0.8rem 1rem;
        overflow: hidden;
    }

    .mockup__logo-image {
        margin-bottom: 0;
    }

    .mockup__sidebar-foot {
        display: none;
    }

    .mockup__shortcuts,
    .mockup__kpis {
        grid-template-columns: 1fr 1fr;
    }

    .mockup__grid {
        grid-template-columns: 1fr;
    }

    .adapt__row {
        grid-template-columns: 1fr;
    }

    .components__grid {
        grid-template-columns: 1fr;
    }

    /* Slider: 1 tarjeta visible + asomo de la siguiente en móvil */
    .component-card--slide {
        flex-basis: 85%;
    }

    .trust__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
