/* CSS optimizado: se eliminaron redundancias sin alterar intencionalmente el diseño ni la cascada. */

:root {
    --color-primary: #07163d;
    --color-primary-dark: #031033;
    --color-white: #ffffff;
    --color-muted: #d8def2;
    --color-text: #1d2f5f;
    --color-accent: #f4a6ad;
    --color-accent-hover: #f18f9a;
    --color-strip: #eeeeef;

    --font-main: "Inter", "Segoe UI", Arial, sans-serif;

    --container: 1160px;
    --header-height: 68px;
    --partners-height: 88px;
    /* ajusta si ya lo tienes definido */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background: var(--color-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(100% - 48px, var(--container));
    margin-inline: auto;
}

/* HEADER */

.main-header {
    height: var(--header-height);
    background: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header__container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo img {
    height: 48px;
    width: auto;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

.header__nav a {
    font-size: 13px;
    font-weight: 800;
    color: #253766;
    transition: color 0.2s ease;
}

.header__nav a:hover {
    color: var(--color-accent);
}

.header__toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.header__toggle span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 5px auto;
    background: var(--color-primary);
    border-radius: 99px;
}

.header__dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.header__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header__nav-link::after {
    content: "▾";
    font-size: 10px;
    line-height: 1;
    transform: translateY(1px);
    transition: transform 0.2s ease;
}

.header__dropdown:hover .header__nav-link::after {
    transform: translateY(1px) rotate(180deg);
}

.header__submenu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    min-width: 190px;
    padding: 10px;
    border-radius: 14px;
    background: var(--color-white);
    box-shadow: 0 18px 45px rgba(7, 22, 61, 0.16);
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

.header__submenu::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 0;
    width: 100%;
    height: 16px;
}

.header__dropdown:hover .header__submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.header__submenu a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    color: #253766;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.header__submenu a:hover {
    background: rgba(244, 166, 173, 0.16);
    color: var(--color-accent);
    transform: translateX(2px);
}

html {
    scroll-behavior: smooth;
}

#partners,
#empresas,
#acompanamiento,
#contacto {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

.experience-scroll-anchor {
    position: relative;
    top: -380px;
    height: 0;
    width: 100%;
    display: block;
    pointer-events: none;
    visibility: hidden;
    scroll-margin-top: calc(var(--header-height) + 20px);
}

/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    background: var(--color-primary);

    min-height: calc(100svh - var(--header-height) - var(--partners-height));
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 42%, rgba(255, 191, 150, 0.22), transparent 20%),
        radial-gradient(circle at 85% 32%, rgba(255, 255, 255, 0.16), transparent 18%),
        linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 2;

    min-height: calc(100svh - var(--header-height) - var(--partners-height));

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 36px;
    padding-block: 48px;
}

.hero__content {
    color: var(--color-white);
}

.hero__content h1 {
    max-width: 430px;
    font-size: clamp(42px, 5vw, 62px);
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: -1.8px;
    margin-bottom: 24px;
}

.hero__content h1 span {
    display: block;
    color: var(--color-accent);
}

.hero__content p {
    max-width: 560px;
    font-size: clamp(20px, 2vw, 25px);
    line-height: 1.22;
    color: var(--color-white);
    margin-bottom: 46px;
}

.hero__button {
    width: fit-content;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 13px 18px 13px 21px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 7px;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero__button span {
    font-size: 34px;
    line-height: 1;
    margin-top: -2px;
}

.hero__button:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
}

.hero__features {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(4, max-content);
    gap: 28px;
}

.hero__feature {
    position: relative;
    padding-left: 10px;
    color: var(--color-white);
    line-height: 1.05;
}

.hero__feature::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 3px;
    height: 32px;
    border-radius: 20px;
    background: var(--color-accent);
}

.hero__feature strong,
.hero__feature small {
    display: block;
}

.hero__feature strong {
    font-size: 13px;
    font-weight: 900;
}

.hero__feature small {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-white);
}

/* VISUAL HERO */

.hero__orb {
    position: absolute;
    width: 520px;
    height: 330px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 62%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(244, 166, 173, 0.16));
    border: 1px solid rgba(255, 255, 255, 0.08);
    filter: blur(0.2px);
}

.hero__orb::before,
.hero__orb::after {
    content: "";
    position: absolute;
    inset: -22px;
    border-radius: 50%;
    border: 2px solid rgba(248, 185, 150, 0.38);
    transform: rotate(-9deg);
}

.hero__orb::after {
    inset: -36px;
    border-color: rgba(255, 255, 255, 0.12);
    transform: rotate(11deg);
}

.hero__card small {
    color: #2cad65;
}

.hero__visual {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__dashboard {
    position: relative;
    z-index: 2;
    width: min(100%, 610px);
    transform: translateX(10px);
    filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.32));
}

.hero__floating-card {
    position: absolute;
    z-index: 4;
    width: 170px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.22));
    pointer-events: none;
}

.hero__floating-card--top {
    top: 28px;
    right: 4px;
    width: 175px;
}

.hero__floating-card--bottom {
    left: 38px;
    bottom: 18px;
    width: 180px;
}

/* PARTNERS STRIP FIJO INFERIOR */

/* Reserva espacio para que el carrusel no tape el contenido */
body {
    padding-bottom: var(--partners-height);
}

.partners-strip {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    height: var(--partners-height);
    overflow: hidden;
    background: var(--color-strip);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: none;

    display: flex;
    align-items: center;

    z-index: 999;
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.08);
}

.partners-strip__track {
    display: flex;
    width: max-content;
    animation: partnersScroll 28s linear infinite;
}

.partners-strip:hover .partners-strip__track {
    animation-play-state: paused;
}

.partner-item {
    width: 230px;
    height: var(--partners-height);
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
}

.partner-item span {
    font-size: 13px;
    font-weight: 900;
    color: #2b3d70;
    white-space: nowrap;
}

.partner-item img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    object-position: left center;
}

@keyframes partnersScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    :root {
        --partners-height: 72px;
    }

    .partner-item {
        width: 180px;
        padding: 10px 14px;
    }

    .partner-item span {
        font-size: 11px;
    }

    .partner-item img {
        max-height: 38px;
    }
}

/* RESPONSIVE */

@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }

    .hero__content h1,
    .hero__content p {
        margin-inline: auto;
    }

    .hero__button {
        margin-inline: auto;
    }

    .hero__features {
        justify-content: center;
        grid-template-columns: repeat(4, max-content);
    }

    .hero__visual {
        min-height: 360px;
    }

    .hero__card--top {
        right: 8%;
    }

    .hero__card--bottom {
        left: 10%;
    }
}

@media (max-width: 768px) {
    .container {
        width: min(100% - 32px, var(--container));
    }

    .header__toggle {
        display: block;
    }

    .header__nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        display: grid;
        gap: 0;
        background: var(--color-white);
        padding: 14px 24px;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.25s ease;
        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
    }

    .header__nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .header__nav a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .hero__content h1 {
        font-size: 44px;
    }

    .hero__content p {
        font-size: 20px;
    }

    .hero__features {
        margin-top: 42px;
        grid-template-columns: repeat(2, max-content);
        gap: 22px 30px;
    }

    .hero__visual {
        min-height: 300px;
    }

    .hero__orb {
        width: 340px;
        height: 230px;
    }

    .hero__card {
        display: none;
    }

    .partner-item {
        width: 190px;
        min-height: 95px;
    }

    :root {
        --partners-height: 95px;
    }

    .hero,
    .hero__container {
        min-height: auto;
    }

    .hero__container {
        padding-block: 54px 38px;
    }

    .page-section {
        min-height: auto;
        padding: 70px 0;
    }
}

@media (max-width: 480px) {
    .header__logo img {
        height: 42px;
    }

    .hero__content h1 {
        font-size: 38px;
    }

    .hero__content p {
        font-size: 18px;
    }

    .hero__button {
        width: 100%;
        justify-content: center;
    }

    .hero__features {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        text-align: left;
    }

    .hero__visual {
        min-height: 245px;
    }

    .partner-item {
        width: 175px;
    }
}

.page-section {
    min-height: calc(100svh - var(--header-height));
    padding: 80px 0;
    display: flex;
    align-items: center;
}
/* SEGUNDA SECCIÓN - CHALLENGE */

.business-challenge {
    min-height: calc(100svh - var(--header-height));
    background: #f5e6d4;
}

/* PARTE SUPERIOR OSCURA */

.business-challenge__top {
    min-height: 46svh;
    background: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.business-challenge__top::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 18%, rgba(244, 166, 173, 0.15), transparent 22%),
        radial-gradient(circle at 42% 65%, rgba(68, 99, 255, 0.12), transparent 20%),
        linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    pointer-events: none;
}

.business-challenge__top-container {
    position: relative;
    z-index: 2;
    min-height: 46svh;
    display: grid;
    grid-template-columns: 0.85fr 2.15fr;
    align-items: center;
    gap: 52px;
    padding-block: 42px;
}

.business-challenge__intro {
    color: var(--color-white);
}

.business-challenge__intro h2 {
    max-width: 390px;
    font-size: clamp(30px, 3.2vw, 43px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 28px;
}

.business-challenge__intro h2 span {
    color: var(--color-accent);
}

.business-challenge__intro p {
    max-width: 360px;
    font-size: 18px;
    line-height: 1.25;
    color: var(--color-white);
    margin-bottom: 30px;
}

.business-challenge__button {
    width: auto;
    min-width: 360px;
    max-width: 100%;

    white-space: nowrap;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 18px 13px 21px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 7px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, background 0.2s ease;
}

.business-challenge__button span {
    font-size: 32px;
    line-height: 1;
}

.business-challenge__button:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
}

/* CARDS DE PROBLEMAS */

.problem-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 16px;
}

.problem-card {
    border-radius: 28px;
    background: #3c3554;
    color: var(--color-white);
    text-align: center;
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    flex-direction: column;
}

.problem-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 48%);
    pointer-events: none;
}

.problem-card h3 {
    font-size: 16px;
    font-weight: 500;
}

.problem-card p {
    font-size: 15px;
    color: var(--color-white);
    margin-inline: auto;
}

.problem-card__line {
    border-radius: 99px;
    box-shadow: 0 0 12px currentColor;
    background: currentColor;
}

/* PARTE INFERIOR BEIGE */

.business-challenge__bottom {
    min-height: 54svh;
    background: #f5e6d4;
}

.business-challenge__bottom-container {
    min-height: 54svh;
    display: grid;
    grid-template-columns: 0.85fr 2.15fr;
    align-items: center;
    gap: 52px;
    padding-block: 42px;
}

.experience-intro span {
    display: block;
    margin-bottom: 16px;
    font-size: 43px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.experience-intro h2 {
    max-width: 390px;
    margin-bottom: 24px;
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.14;
    font-weight: 900;
    color: #2d4577;
}

.experience-intro h2 strong {
    color: var(--color-accent);
    font-style: normal;
}

.experience-intro p {
    max-width: 370px;
    font-size: 18px;
    line-height: 1.23;
}

/* CARDS EXPERIENCIA */

.experience-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 18px;
}

.experience-card {
    min-height: 260px;
    padding: 34px 22px 28px;
    background: var(--color-white);
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 16px 26px rgba(143, 91, 37, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.experience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 34px rgba(143, 91, 37, 0.25);
}

.experience-card strong {
    display: block;
    font-weight: 900;
    color: #000000;
}

.experience-card p {
    max-width: 165px;
    font-size: 18px;
    line-height: 1.18;
    color: #000000;
}

/* ANIMACIONES SUAVES */

.problem-card,
.experience-card,
.business-challenge__intro,
.experience-intro {
    opacity: 0;
    transform: translateY(24px);
}

.business-challenge.is-visible .business-challenge__intro,
.business-challenge.is-visible .experience-intro {
    animation: fadeUp 0.65s ease forwards;
}

.business-challenge.is-visible .problem-card:nth-child(1),
.business-challenge.is-visible .experience-card:nth-child(1) {
    animation: fadeUp 0.65s ease forwards 0.08s;
}

.business-challenge.is-visible .problem-card:nth-child(2),
.business-challenge.is-visible .experience-card:nth-child(2) {
    animation: fadeUp 0.65s ease forwards 0.16s;
}

.business-challenge.is-visible .problem-card:nth-child(3),
.business-challenge.is-visible .experience-card:nth-child(3) {
    animation: fadeUp 0.65s ease forwards 0.24s;
}

.business-challenge.is-visible .problem-card:nth-child(4),
.business-challenge.is-visible .experience-card:nth-child(4) {
    animation: fadeUp 0.65s ease forwards 0.32s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .business-challenge__button {
        min-width: 0;
        width: 100%;
        white-space: normal;
    }
}

@media (max-width: 1100px) {

    .business-challenge__top-container,
    .business-challenge__bottom-container {
        grid-template-columns: 1fr;
        gap: 34px;
        text-align: center;
    }

    .business-challenge__intro h2,
    .business-challenge__intro p,
    .experience-intro h2,
    .experience-intro p {
        margin-inline: auto;
    }

    .business-challenge__button {
        margin-inline: auto;
    }

    .problem-cards,
    .experience-cards {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .business-challenge {
        min-height: auto;
    }

    .business-challenge__top,
    .business-challenge__bottom {
        min-height: auto;
    }

    .business-challenge__top-container,
    .business-challenge__bottom-container {
        min-height: auto;
        padding-block: 58px;
    }

    .business-challenge__intro h2,
    .experience-intro h2 {
        font-size: 34px;
    }

    .business-challenge__intro p,
    .experience-intro p {
        font-size: 17px;
    }

    .problem-cards,
    .experience-cards {
        grid-template-columns: 1fr;
    }

    .problem-card,
    .experience-card {
        min-height: 230px;
        max-width: 360px;
        width: 100%;
        margin-inline: auto;
    }
}

@media (max-width: 480px) {
    .business-challenge__button {
        width: 100%;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }

    .problem-card__icon {
        width: 96px;
        height: 96px;
    }

    .experience-card strong {
        font-size: 38px;
    }
}

/* Ajuste exacto de frases - segunda sección */

.business-challenge__title {
    max-width: 390px;
}

.business-challenge__title span {
    color: var(--color-accent);
}

.business-challenge__title .text-white {
    color: var(--color-white);
}

.experience-intro__title {
    max-width: 390px;
}

.experience-intro__title strong {
    white-space: nowrap;
}

/* Corrección de títulos para evitar saltos incorrectos */

.business-challenge__top-container,
.business-challenge__bottom-container {
    grid-template-columns: 350px minmax(0, 1fr);
}

.business-challenge__intro,
.experience-intro {
    min-width: 320px;
}

.business-challenge__title,
.experience-intro__title {
    width: 100%;
    max-width: none;
}

.title-line {
    display: block;
    white-space: nowrap;
}

.business-challenge__title {
    font-size: clamp(34px, 3vw, 43px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -1px;
}

.business-challenge__title .title-line {
    color: var(--color-accent);
}

.business-challenge__title .title-line--white,
.business-challenge__title strong {
    color: var(--color-white);
}

.business-challenge__title strong {
    font-style: normal;
    font-weight: 900;
}

.experience-intro__title {
    color: #2d4577;
}

@media (max-width: 1100px) {

    .business-challenge__top-container,
    .business-challenge__bottom-container {
        grid-template-columns: 1fr;
        gap: 34px;
        text-align: center;
    }

    .business-challenge__intro,
    .experience-intro {
        min-width: 0;
    }

    .business-challenge__title,
    .experience-intro__title,
    .business-challenge__intro p,
    .experience-intro p {
        margin-inline: auto;
    }

    .business-challenge__button {
        margin-inline: auto;
    }

    .problem-cards,
    .experience-cards {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

/* Corrección colores bloque inferior */

.experience-intro span {
    color: #662b1d;
}

.experience-intro__title,
.experience-intro__title .title-line {
    color: #2d4577;
}

.experience-intro__title strong {
    color: var(--color-accent);
}

.experience-intro p {
    color: #2d4577;
}
/* ICONOS COMO IMÁGENES */

.problem-card__icon-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-card__icon-img img {
    display: block;
    filter: drop-shadow(0 0 14px currentColor);
}

.experience-card__icon-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.experience-card__icon-img img {
    display: block;
}

/* Colores heredados para el brillo de las tarjetas superiores */

.problem-card--pink {
    color: #f4a6ad;
}

.problem-card--orange {
    color: #f6a900;
}

.problem-card--blue {
    color: #5568ff;
}

.problem-card--gold {
    color: #f8d7b2;
}

@media (max-width: 768px) {
    .problem-card__icon-img {
        width: 105px;
        height: 105px;
    }

    .problem-card__icon-img img {
        width: 105px;
        height: 105px;
    }

    .experience-card__icon-img {
        width: 68px;
        height: 68px;
    }

    .experience-card__icon-img img {
        width: 68px;
        height: 68px;
    }
}

/* Ajuste tamaño de los 8 iconos */

/* Iconos de las 4 tarjetas superiores */
.problem-card__icon-img {
    width: 138px;
    height: 138px;
    margin-bottom: 16px;
}

.problem-card__icon-img img {
    width: 138px;
    height: 138px;
    object-fit: contain;
}

/* Iconos de las 4 tarjetas inferiores */
.experience-card__icon-img {
    width: 95px;
    height: 95px;
    margin-bottom: 14px;
}

.experience-card__icon-img img {
    width: 95px;
    height: 95px;
    object-fit: contain;
}

/* Reducir textos grandes de las tarjetas inferiores */
.experience-card strong {
    font-size: clamp(30px, 2.4vw, 38px);
    line-height: 1.05;
    margin-bottom: 14px;
    word-break: normal;
}

/* Ajuste especial para On-line y Soporte */

.experience-card:nth-child(3) strong,
.experience-card:nth-child(4) strong {
    font-size: clamp(28px, 2.2vw, 36px);
}
/* AJUSTES SECCIÓN NOSOTROS / PROBLEMAS */

/* Tarjetas superiores: separación fija entre texto y línea */

.problem-card h3 {
    margin-bottom: 12px;
}

/* Quita el auto para que la línea no se pegue al texto */
.problem-card__line {
    margin-top: 24px;
    flex-shrink: 0;
}
/* AJUSTES BLOQUE "MAS QUE TECNOLOGÍA" */

/* Texto pequeño superior */
.experience-intro>span {
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 14px;
    font-family: inherit;
}

/* Título inferior con la misma tipografía/estilo del título superior */
.experience-intro__title {
    font-family: inherit;
    font-size: clamp(34px, 3vw, 43px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -1px;
}

/* Mantiene el mismo comportamiento visual de líneas */
.experience-intro__title .title-line {
    display: block;
    white-space: nowrap;
}

.experience-intro__title strong {
    font-family: inherit;
    font-weight: 900;
    font-style: normal;
}

/* Corregir mayúsculas en "Experiencia que genera resultados" */
.experience-intro__title,
.experience-intro__title .title-line,
.experience-intro__title strong {
    text-transform: none !important;
}
/* PROBLEM CARDS - LÍNEAS ABAJO SIN AGRANDAR TARJETA */

.problem-card {
    height: 345px;
    min-height: unset;
    padding: 38px 26px 32px;

    display: grid;
    grid-template-rows: 118px 50px 78px 1fr 4px;
    align-items: center;
    justify-items: center;
}

/* Icono */
.problem-card__icon-img {
    margin: 0;
    align-self: start;
}

/* Título */
.problem-card h3 {
    margin: 0;
    min-height: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    line-height: 1.35;
}

/* Descripción */
.problem-card p {
    margin: 0;
    min-height: auto;
    max-width: 170px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    line-height: 1.18;
}

/* Línea inferior */
.problem-card__line {
    width: 128px;
    height: 3px;
    margin: 0;

    align-self: end;
}
/* FIX RESPONSIVE - SEGUNDA SECCIÓN NOSOTROS */

@media (max-width: 768px) {

    .business-challenge {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .business-challenge__top,
    .business-challenge__bottom {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .business-challenge__top-container,
    .business-challenge__bottom-container {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 34px;
        padding: 52px 16px;
        text-align: center;
        overflow: hidden;
    }

    .business-challenge__intro,
    .experience-intro {
        width: 100%;
        max-width: 100%;
        min-width: 0 !important;
    }

    .business-challenge__title,
    .experience-intro__title {
        width: 100%;
        max-width: 100%;
        font-size: clamp(30px, 9vw, 38px);
        line-height: 1.08;
        letter-spacing: -0.8px;
        text-align: center;
        overflow-wrap: break-word;
    }

    .business-challenge__title .title-line,
    .experience-intro__title .title-line {
        display: inline;
        white-space: normal !important;
    }

    .business-challenge__intro p,
    .experience-intro p {
        width: 100%;
        max-width: 315px;
        margin-left: auto;
        margin-right: auto;
        font-size: 16px;
        line-height: 1.45;
    }

    .business-challenge__button {
        width: 100%;
        max-width: 315px;
        min-width: 0;
        justify-content: center;
        white-space: normal;
    }

    .problem-cards,
    .experience-cards {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 22px;
        overflow: hidden;
    }

    .problem-card,
    .experience-card {
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 24px;
    }

    .problem-card__icon-img {
        margin-bottom: 16px;
    }

    .problem-card h3 {
        margin-bottom: 14px;
    }

    .experience-card {
        min-height: 255px;
        padding: 30px 22px 26px;
    }

    .experience-card__icon-img {
        width: 72px;
        height: 72px;
        margin-bottom: 16px;
    }

    .experience-card__icon-img img {
        width: 72px;
        height: 72px;
    }

    .experience-card strong {
        font-size: 34px;
        line-height: 1;
        margin-bottom: 12px;
    }

    .experience-card p {
        max-width: 230px;
        font-size: 16px;
        line-height: 1.3;
    }

    .problem-card {
        width: 100%;
        max-width: 320px;
        min-height: 260px;
        height: auto;
        padding: 28px 22px 24px;
        border-radius: 24px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        margin-left: auto;
        margin-right: auto;
    }

    .problem-card__icon-img {
        width: 96px;
        height: 96px;
        margin: 0 0 18px;
    }

    .problem-card__icon-img img {
        width: 96px;
        height: 96px;
    }

    .problem-card h3 {
        margin: 0 0 16px;
        min-height: auto;
        font-size: 15px;
        line-height: 1.25;
        text-align: center;
    }

    .problem-card p {
        margin: 0;
        min-height: auto;
        max-width: 235px;
        font-size: 14px;
        line-height: 1.35;
        text-align: center;
    }

    .problem-card__line {
        width: 120px;
        height: 3px;
        margin-top: 24px;
    }
}
/* AJUSTE FINAL TARJETAS PROBLEMAS - MOBILE COMPACTO */

@media (max-width: 390px) {

    .problem-card {
        max-width: 300px;
        min-height: 250px;
        padding: 26px 20px 22px;
    }

    .problem-card__icon-img {
        width: 88px;
        height: 88px;
        margin-bottom: 16px;
    }

    .problem-card__icon-img img {
        width: 88px;
        height: 88px;
    }

    .problem-card p {
        max-width: 220px;
    }
}

/* =============================
   SECCIÓN SOLUCIONES MIITT
============================= */

.industries-section {
    width: 100%;
    padding: 72px 20px 78px;
    background:
        radial-gradient(circle at top left, rgba(81, 93, 246, 0.18), transparent 34%),
        linear-gradient(180deg, #061235 0%, #071842 100%);
    font-family: 'Montserrat', Arial, sans-serif;
    overflow: hidden;
}

.industries-container {
    max-width: 1220px;
    width: 100%;
    margin: 0 auto;
}

.industries-header {
    max-width: 760px;
    margin-bottom: 24px;
}

.industries-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e0b58d;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.industries-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #e7a7ad;
    box-shadow: 0 0 16px rgba(231, 167, 173, 0.8);
}

.industries-header h2 {
    margin: 0;
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.05;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -1.4px;
}

.industries-header h2 span {
    color: #e7a7ad;
}

.industries-header p {
    margin: 12px 0 0;
    max-width: 680px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
}

.industries-showcase {
    display: grid;
    gap: 24px;
}

.industries-tabs {
    display: flex;
    flex-direction: column;
}

.industry-tab {
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.045);
    color: #ffffff;
    text-align: left;
    cursor: pointer;

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease;
}

.industry-tab:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.075);
}

.industry-tab.is-active {
    background: rgba(231, 167, 173, 0.13);
    border-color: rgba(231, 167, 173, 0.48);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.25);
}

.industry-tab strong,
.industry-tab small {
    display: block;
}

.industry-tab small {
    color: rgba(255, 255, 255, 0.64);
    font-weight: 500;
}

.industry-detail {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #0a173d;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.35);
}

.industry-detail__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.industry-detail__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.45s ease;
}

.industry-detail:hover .industry-detail__bg img {
    transform: scale(1.06);
}

.industry-detail__overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(5, 13, 38, 0.96) 0%, rgba(5, 13, 38, 0.86) 42%, rgba(5, 13, 38, 0.42) 100%),
        linear-gradient(180deg, rgba(5, 13, 38, 0.22), rgba(5, 13, 38, 0.72));
}

.industry-detail__badge {
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(231, 167, 173, 0.16);
    color: #e7a7ad;
    border: 1px solid rgba(231, 167, 173, 0.34);

    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.industry-detail h3 {
    margin: 0;
    max-width: 560px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.8px;
}

.industry-detail p {
    margin: 18px 0 0;
    max-width: 570px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
}

.industry-detail__list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;

    display: grid;
}

.industry-detail__list li {
    position: relative;
    padding-left: 30px;
    color: #ffffff;
    font-weight: 700;
}

.industry-detail__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -2px;
    width: 19px;
    height: 19px;
    border-radius: 999px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(231, 167, 173, 0.15);
    color: #e7a7ad;
    font-size: 11px;
    font-weight: 900;
}

.industry-detail__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.industry-metric strong {
    display: block;
    line-height: 1;
    font-weight: 900;
    color: #e7a7ad;
}

.industry-metric span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 600;
}

.industry-detail__button {
    border: 0;
    background: linear-gradient(90deg, #e94aa5 0%, #3549f5 100%);
    color: #ffffff;

    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 16px 28px rgba(53, 73, 245, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.industry-detail__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(53, 73, 245, 0.36);
}

/* Variantes de color */

.industry-detail.is-blue .industry-detail__badge,
.industry-detail.is-blue .industry-detail__list li::before,
.industry-detail.is-blue .industry-metric strong {
    color: #68a2ff;
}

.industry-detail.is-blue .industry-detail__badge,
.industry-detail.is-blue .industry-detail__list li::before {
    background: rgba(104, 162, 255, 0.14);
    border-color: rgba(104, 162, 255, 0.34);
}

.industry-detail.is-pink .industry-detail__badge,
.industry-detail.is-pink .industry-detail__list li::before,
.industry-detail.is-pink .industry-metric strong {
    color: #e7a7ad;
}

.industry-detail.is-gold .industry-detail__badge,
.industry-detail.is-gold .industry-detail__list li::before,
.industry-detail.is-gold .industry-metric strong {
    color: #e0b58d;
}

.industry-detail.is-green .industry-detail__badge,
.industry-detail.is-green .industry-detail__list li::before,
.industry-detail.is-green .industry-metric strong {
    color: #41e1b3;
}

/* =============================
   MODAL SOLUCIONES
============================= */

.industry-modal {
    position: fixed;
    inset: 0;
    display: none;
    padding: 48px 16px;
}

.industry-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 10, 31, 0.78);
    backdrop-filter: blur(8px);
}

.industry-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(940px, 100%);
    max-height: calc(100vh - 96px);
    margin: 0;
    border-radius: 28px;
    overflow: hidden;
    background: #07133a;
    color: #ffffff;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);

    display: grid;
    grid-template-columns: 42% 58%;
    border: 1px solid rgba(255, 255, 255, 0.13);
}

.industry-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 5;

    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

.industry-modal__media {
    position: relative;
    min-height: 520px;
    background: #0d193d;
}

.industry-modal__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.88;
}

.industry-modal__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(7, 19, 58, 0.84));
}

.industry-modal__tag {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 2;

    padding: 9px 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e94aa5 0%, #3549f5 100%);
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
}

.industry-modal__content {
    padding: 46px 42px 38px;
    overflow-y: auto;
}

.industry-modal__eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #e0b58d;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.industry-modal__content h3 {
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
    font-weight: 900;
    color: #ffffff;
}

.industry-modal__content p {
    margin: 18px 0 0;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 500;
}

.industry-modal__features {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.industry-modal__feature {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.industry-modal__feature strong {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    line-height: 1.25;
    color: #ffffff;
    font-weight: 900;
}

.industry-modal__feature span {
    display: block;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.65);
}

.industry-modal__cta {
    width: fit-content;
    margin-top: 30px;
    padding: 16px 24px;
    border-radius: 16px;
    background: linear-gradient(90deg, #e94aa5 0%, #3549f5 100%);
    color: #ffffff;
    text-decoration: none;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    box-shadow: 0 18px 34px rgba(53, 73, 245, 0.34);
}

.industry-detail__actions {
    align-items: center;
    flex-wrap: wrap;
}

.industry-detail__button--demo {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.industry-detail__button--demo:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Responsive */

@media (max-width: 992px) {
    .industries-showcase {
        grid-template-columns: 1fr;
    }

    .industries-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-detail__content {
        width: 100%;
        max-width: 680px;
    }

    .industry-modal__dialog {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .industry-modal__media {
        min-height: 260px;
    }

    .industry-modal__content {
        overflow: visible;
    }
}

@media (max-width: 768px) {
    .industries-section {
        padding: 54px 16px 60px;
    }

    .industries-header {
        margin-bottom: 28px;
    }

    .industries-header h2 {
        font-size: 34px;
    }

    .industries-header p {
        font-size: 14px;
        line-height: 1.6;
    }

    .industries-tabs {
        grid-template-columns: 1fr;
    }

    .industry-detail {
        min-height: auto;
        border-radius: 26px;
    }

    .industry-detail__content {
        min-height: auto;
        padding: 34px 24px 28px;
    }

    .industry-detail__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .industry-detail__button {
        width: 100%;
        justify-content: center;
    }

    .industry-modal__features {
        grid-template-columns: 1fr;
    }

    .industry-modal__content {
        padding: 34px 24px 28px;
    }
}

@media (max-width: 480px) {
    .industries-header h2 {
        font-size: 30px;
    }

    .industry-tab {
        min-height: 78px;
    }

    .industry-detail h3 {
        font-size: 28px;
    }

    .industry-detail p {
        font-size: 14px;
    }

    .industry-modal__dialog {
        width: calc(100% - 20px);
        margin: 10px auto;
        max-height: calc(100vh - 20px);
        border-radius: 22px;
    }
}
/* AJUSTE SECCIÓN SOLUCIONES PARA PANTALLAS PEQUEÑAS */

/* Pantallas medianas / laptops / zoom 125% */
@media (max-width: 1440px), (max-height: 820px) {

    .industries-section {
        padding: 44px 20px 48px;
    }

    .industries-container {
        max-width: 1120px;
    }

    .industries-header {
        max-width: 720px;
        margin-bottom: 20px;
    }

    .industries-eyebrow {
        margin-bottom: 12px;
        padding: 6px 13px;
        font-size: 10px;
    }

    .industries-header h2 {
        font-size: clamp(32px, 3vw, 42px);
        line-height: 1.02;
    }

    .industries-header p {
        margin-top: 10px;
        font-size: 13px;
        line-height: 1.45;
        max-width: 620px;
    }

    .industries-showcase {
        grid-template-columns: 230px 1fr;
        gap: 18px;
    }

    .industries-tabs {
        gap: 10px;
    }

    .industry-tab {
        min-height: 74px;
        padding: 13px 14px;
        border-radius: 16px;
        grid-template-columns: 34px 1fr;
        gap: 11px;
    }

    .industry-tab__icon {
        width: 34px;
        height: 34px;
        border-radius: 12px;
        font-size: 15px;
    }

    .industry-tab strong {
        font-size: 12px;
        line-height: 1.15;
    }

    .industry-tab small {
        margin-top: 4px;
        font-size: 10px;
        line-height: 1.25;
    }

    .industry-detail {
        min-height: 370px;
        border-radius: 26px;
    }

    .industry-detail__content {
        min-height: 370px;
        width: min(580px, 72%);
        padding: 34px 32px 28px;
    }

    .industry-detail__badge {
        margin-bottom: 14px;
        padding: 7px 13px;
        font-size: 11px;
    }

    .industry-detail h3 {
        font-size: clamp(30px, 3vw, 38px);
        line-height: 1.08;
    }

    .industry-detail p {
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.5;
    }

    .industry-detail__list {
        margin-top: 18px;
        gap: 8px;
    }

    .industry-detail__list li {
        font-size: 12px;
        line-height: 1.25;
        padding-left: 27px;
    }

    .industry-detail__list li::before {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }

    .industry-detail__bottom {
        margin-top: 24px;
        padding-top: 18px;
        gap: 16px;
    }

    .industry-metric strong {
        font-size: 28px;
    }

    .industry-metric span {
        font-size: 11px;
    }

    .industry-detail__button {
        padding: 13px 18px;
        border-radius: 14px;
        font-size: 12px;
    }
}

/* Pantallas todavía más bajas */
@media (max-height: 740px) and (min-width: 993px) {

    .industries-section {
        padding: 34px 20px 38px;
    }

    .industries-header {
        margin-bottom: 16px;
    }

    .industries-header h2 {
        font-size: clamp(30px, 2.7vw, 38px);
    }

    .industries-header p {
        font-size: 12px;
        line-height: 1.4;
    }

    .industries-showcase {
        grid-template-columns: 220px 1fr;
        gap: 16px;
    }

    .industry-tab {
        min-height: 66px;
        padding: 11px 13px;
    }

    .industry-tab small {
        font-size: 9.5px;
    }

    .industry-detail {
        min-height: 340px;
    }

    .industry-detail__content {
        min-height: 340px;
        padding: 28px 30px 24px;
    }

    .industry-detail h3 {
        font-size: clamp(28px, 2.6vw, 34px);
    }

    .industry-detail p {
        font-size: 13px;
        line-height: 1.45;
    }

    .industry-detail__list {
        margin-top: 15px;
        gap: 7px;
    }

    .industry-detail__bottom {
        margin-top: 18px;
        padding-top: 15px;
    }
}

/* Evita que en pantallas pequeñas de ancho se corte el contenido */
@media (max-width: 992px) {

    .industries-section {
        overflow: visible;
    }

    .industries-showcase {
        grid-template-columns: 1fr;
    }

    .industry-detail__content {
        width: 100%;
        max-width: none;
    }
}
/* COMPACTAR MÁS SOLUCIONES EN PANTALLAS PEQUEÑAS */

@media (max-width: 1440px), (max-height: 820px) {

    .industries-section {
        padding: 36px 20px 42px;
    }

    .industries-header {
        margin-bottom: 18px;
    }

    .industries-eyebrow {
        margin-bottom: 10px;
        padding: 6px 13px;
        font-size: 10px;
    }

    .industries-header h2 {
        font-size: clamp(30px, 2.85vw, 40px);
        line-height: 1.03;
    }

    .industries-header p {
        margin-top: 9px;
        font-size: 13px;
        line-height: 1.42;
        max-width: 610px;
    }

    .industries-showcase {
        grid-template-columns: 225px 1fr;
        gap: 16px;
    }

    .industries-tabs {
        gap: 9px;
    }

    .industry-tab {
        min-height: 66px;
        padding: 11px 13px;
        grid-template-columns: 32px 1fr;
        gap: 10px;
        border-radius: 15px;
    }

    .industry-tab__icon {
        width: 32px;
        height: 32px;
        border-radius: 11px;
        font-size: 14px;
    }

    .industry-tab strong {
        font-size: 11.5px;
        line-height: 1.12;
    }

    .industry-tab small {
        margin-top: 3px;
        font-size: 9.8px;
        line-height: 1.22;
    }

    .industry-detail {
        min-height: 340px;
        border-radius: 24px;
    }

    .industry-detail__content {
        min-height: 340px;
        padding: 28px 30px 24px;
        width: min(560px, 72%);
    }

    .industry-detail__badge {
        margin-bottom: 12px;
        padding: 6px 12px;
        font-size: 10.5px;
    }

    .industry-detail h3 {
        font-size: clamp(28px, 2.75vw, 36px);
        line-height: 1.06;
    }

    .industry-detail p {
        margin-top: 12px;
        font-size: 13.2px;
        line-height: 1.45;
    }

    .industry-detail__list {
        margin-top: 15px;
        gap: 7px;
    }

    .industry-detail__list li {
        font-size: 11.6px;
        line-height: 1.23;
        padding-left: 25px;
    }

    .industry-detail__list li::before {
        width: 17px;
        height: 17px;
        font-size: 9px;
    }

    .industry-detail__bottom {
        margin-top: 18px;
        padding-top: 15px;
        gap: 14px;
    }

    .industry-metric strong {
        font-size: 26px;
    }

    .industry-metric span {
        font-size: 10.5px;
    }

    .industry-detail__button {
        padding: 12px 17px;
        border-radius: 13px;
        font-size: 11.5px;
    }
}
/* AJUSTE INTERMEDIO SOLUCIONES - PANTALLAS PEQUEÑAS */
/* MODAL INDUSTRIAS - AJUSTE REAL PARA PANTALLAS BAJAS */

@media (max-height: 820px) and (min-width: 993px) {

    .industry-modal {
        padding: 14px 18px !important;
        z-index: 99999 !important;
    }

    .industry-modal.is-open {
        align-items: flex-start !important;
        justify-content: center !important;
    }

    .industry-modal__dialog {
        width: min(1180px, calc(100vw - 36px)) !important;
        height: calc(100vh - 28px) !important;
        max-height: calc(100vh - 28px) !important;
        border-radius: 24px !important;
        grid-template-columns: 41% 59% !important;
        overflow: hidden !important;
    }

    .industry-modal__media {
        min-height: 0 !important;
        height: 100% !important;
    }

    .industry-modal__media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .industry-modal__content {
        height: 100% !important;
        overflow: hidden !important;
        padding: 42px 52px 24px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .industry-modal__eyebrow {
        margin-bottom: 12px !important;
        font-size: 12px !important;
    }

    .industry-modal__content h3 {
        font-size: clamp(36px, 4vw, 50px) !important;
        line-height: 1.02 !important;
    }

    .industry-modal__content > p {
        margin-top: 16px !important;
        font-size: 16px !important;
        line-height: 1.45 !important;
    }

    .industry-modal__features {
        margin-top: 24px !important;
        gap: 14px !important;
    }

    .industry-modal__feature {
        padding: 18px 20px !important;
        border-radius: 17px !important;
    }

    .industry-modal__feature strong {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }

    .industry-modal__feature span {
        font-size: 12.5px !important;
        line-height: 1.38 !important;
    }

    .industry-modal__cta {
        margin-top: 24px !important;
        padding: 15px 28px !important;
        border-radius: 15px !important;
        font-size: 14px !important;
    }

    .industry-modal__close {
        top: 16px !important;
        right: 16px !important;
        width: 46px !important;
        height: 46px !important;
        font-size: 30px !important;
    }

    .industry-modal__tag {
        left: 24px !important;
        bottom: 16px !important;
        padding: 9px 16px !important;
        font-size: 12px !important;
    }
}
/* FIX RESPONSIVE - SECCIÓN SOLUCIONES MIITT */

@media (max-width: 768px) {

    .industries-section {
        width: 100%;
        max-width: 100%;
        padding: 48px 16px 110px;
        overflow: hidden;
    }

    .industries-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .industries-header {
        width: 100%;
        max-width: 100%;
        margin-bottom: 26px;
        text-align: left;
    }

    .industries-eyebrow {
        max-width: 100%;
        font-size: 10px;
        padding: 7px 12px;
        letter-spacing: 1.2px;
    }

    .industries-header h2 {
        width: 100%;
        max-width: 100%;
        font-size: 30px;
        line-height: 1.08;
        letter-spacing: -0.8px;
    }

    .industries-header p {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.55;
    }

    .industries-showcase {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 18px;
        overflow: hidden;
    }

    .industries-tabs {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .industry-tab {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        padding: 15px;
        border-radius: 18px;
        grid-template-columns: 42px 1fr;
        gap: 12px;
    }

    .industry-tab__icon {
        width: 42px;
        height: 42px;
        border-radius: 13px;
        font-size: 16px;
    }

    .industry-tab strong {
        font-size: 13px;
        line-height: 1.2;
    }

    .industry-tab small {
        font-size: 11px;
        line-height: 1.35;
    }

    .industry-detail {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        border-radius: 24px;
        overflow: hidden;
    }

    .industry-detail__bg img {
        transform: none;
    }

    .industry-detail:hover .industry-detail__bg img {
        transform: none;
    }

    .industry-detail__overlay {
        background:
            linear-gradient(180deg, rgba(5, 13, 38, 0.94) 0%, rgba(5, 13, 38, 0.88) 100%);
    }

    .industry-detail__content {
        width: 100% !important;
        max-width: 100%;
        min-height: auto;
        padding: 30px 22px 26px;
    }

    .industry-detail__badge {
        margin-bottom: 14px;
        font-size: 10px;
        padding: 7px 12px;
    }

    .industry-detail h3 {
        max-width: 100%;
        font-size: 27px;
        line-height: 1.1;
        letter-spacing: -0.5px;
    }

    .industry-detail p {
        max-width: 100%;
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.55;
    }

    .industry-detail__list {
        margin-top: 18px;
        gap: 10px;
    }

    .industry-detail__list li {
        font-size: 12px;
        line-height: 1.35;
        padding-left: 28px;
    }

    .industry-detail__bottom {
        margin-top: 24px;
        padding-top: 18px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        align-items: start;
    }

    .industry-metric strong {
        font-size: 27px;
    }

    .industry-metric span {
        font-size: 11px;
    }

    .industry-detail__button {
        width: 100%;
        justify-content: center;
        padding: 14px 18px;
        font-size: 12px;
        border-radius: 14px;
    }
}
/* FIX EXTRA SOLUCIONES - 360PX */

@media (max-width: 390px) {

    .industries-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .industries-header h2 {
        font-size: 28px;
    }

    .industries-header p {
        font-size: 13px;
    }

    .industry-tab {
        padding: 14px;
        grid-template-columns: 38px 1fr;
    }

    .industry-tab__icon {
        width: 38px;
        height: 38px;
    }

    .industry-detail__content {
        padding: 28px 20px 24px;
    }

    .industry-detail h3 {
        font-size: 25px;
    }

    .industry-detail p {
        font-size: 13px;
    }
}
/* FIX MODAL SOLUCIONES - BOTÓN VISIBLE EN MOBILE */

@media (max-width: 768px) {

    .industry-modal {
        padding: 14px 12px calc(var(--partners-height) + 18px);
        overflow-y: auto;
        align-items: flex-start !important;
    }

    .industry-modal.is-open {
        display: flex;
        justify-content: center;
        align-items: flex-start !important;
    }

    .industry-modal__dialog {
        width: 100%;
        max-width: 100%;
        max-height: none;
        height: auto;
        margin: 0 auto;
        border-radius: 22px;
        grid-template-columns: 1fr !important;
        overflow: visible;
    }

    .industry-modal__media {
        min-height: 180px;
        height: 180px;
    }

    .industry-modal__content {
        max-height: none;
        height: auto;
        overflow: visible;
        padding: 28px 22px 32px;
    }

    .industry-modal__content h3 {
        font-size: 28px;
        line-height: 1.08;
    }

    .industry-modal__content p {
        font-size: 14px;
        line-height: 1.55;
    }

    .industry-modal__features {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 22px;
    }

    .industry-modal__feature {
        padding: 16px;
        border-radius: 16px;
    }

    .industry-modal__cta {
        width: 100%;
        margin-top: 24px;
        margin-bottom: 8px;
        padding: 16px 18px;
        justify-content: center;
        text-align: center;
        border-radius: 15px;
        font-size: 14px;
    }

    .industry-modal__close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
        font-size: 27px;
        background: rgba(4, 19, 58, 0.78);
    }
}
/* ICONOS GRANDES EN CARDS DE SOLUCIONES */

.industry-tab__icon {

    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    overflow: hidden;

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.industry-tab__icon img {
    width: auto !important;
    height: auto !important;
    display: block;
}

.industry-tab strong,
.industry-tab small {
    position: relative;
    z-index: 2;
}

.industry-tab > span:last-child {
    min-width: 0;
    padding-left: 0;
}

@media (max-width: 768px) {
    .industry-tab__icon img {
        width: 24px;
        height: 24px;
    }
}

/* =============================
   CARRUSEL IMÁGENES MODAL MIITT POS
============================= */

.industry-modal__carousel {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.industry-modal__carousel-track {
    height: 100%;
    display: flex;
    transition: transform 0.45s ease;
}

.industry-modal__carousel-slide img {
    background: #050f2f;
}

.industry-modal__carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 4;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 8px;
}

.industry-modal__carousel-dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    cursor: pointer;

    background: rgba(255, 255, 255, 0.38);
    transition: width 0.2s ease, background 0.2s ease;
}

.industry-modal__carousel-dot.is-active {
    width: 22px;
    background: #ffffff;
}

.industry-modal__carousel-arrow.is-hidden,
.industry-modal__carousel-dots.is-hidden {
    display: none;
}

@media (max-width: 768px) {
    .industry-modal__carousel-arrow {
        width: 32px;
        height: 32px;
        font-size: 25px;
    }

    .industry-modal__carousel-arrow--prev {
        left: 10px;
    }

    .industry-modal__carousel-arrow--next {
        right: 10px;
    }

    .industry-modal__carousel-dots {
        bottom: 48px;
    }
}

.industry-modal__carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background: #050f2f;
}

.industry-modal__carousel-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(18px);
    transform: scale(1.08);
    opacity: 0.35;
}

.industry-modal__carousel-slide img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    opacity: 0.96;
}
/* FIX FINAL MODAL SOLUCIONES MOBILE + OCULTAR CARRUSEL */

/* El modal debe quedar por encima del header y del carrusel inferior */
.industry-modal {
    z-index: 100000 !important;
}

/* Cuando el modal está abierto, ocultamos el carrusel inferior */
body.modal-open .partners-strip {
    display: none !important;
}

/* Evita scroll del fondo cuando el modal está abierto */
html.modal-open,
body.modal-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
}

body.modal-open {
    position: fixed !important;
    left: 0;
    right: 0;
    width: 100% !important;
}

/* Ajuste general del modal */
.industry-modal.is-open {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
/* MOBILE */

@media (max-width: 768px) {

    .industry-modal {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100svh !important;
        padding: 12px !important;
        overflow-y: auto !important;
        background: rgba(3, 10, 31, 0.82);
    }

    .industry-modal.is-open {
        align-items: flex-start !important;
        justify-content: center !important;
    }

    .industry-modal__backdrop {
        position: fixed !important;
        inset: 0 !important;
        background: rgba(3, 10, 31, 0.82) !important;
        backdrop-filter: blur(8px);
    }

    .industry-modal__dialog {
        position: relative !important;
        z-index: 2 !important;

        width: 100% !important;
        max-width: 430px !important;
        height: auto !important;
        max-height: calc(100svh - 24px) !important;

        margin: 0 auto !important;
        border-radius: 22px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;

        display: grid !important;
        grid-template-columns: 1fr !important;

        background: #07133a !important;
    }

    /* Imagen más alta y completa */
    .industry-modal__media {
        position: relative !important;
        width: 100% !important;
        height: 230px !important;
        min-height: 230px !important;
        max-height: 230px !important;
        overflow: hidden !important;
        background: #050f2f !important;
    }

    .industry-modal__media img,
    .industry-modal__carousel-slide img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        background: #050f2f !important;
    }

    .industry-modal__media::after {
        background: linear-gradient(
            180deg,
            rgba(7, 19, 58, 0.02) 0%,
            rgba(7, 19, 58, 0.25) 58%,
            rgba(7, 19, 58, 0.78) 100%
        ) !important;
        pointer-events: none;
    }

    .industry-modal__tag {
        left: 18px !important;
        bottom: 14px !important;
        font-size: 11px !important;
        padding: 8px 13px !important;
    }

    .industry-modal__carousel-dots {
        bottom: 14px !important;
        z-index: 6 !important;
    }

    .industry-modal__content {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 28px 22px 30px !important;
    }

    .industry-modal__eyebrow {
        font-size: 11px !important;
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
    }

    .industry-modal__content h3 {
        font-size: 28px !important;
        line-height: 1.08 !important;
        letter-spacing: -0.5px !important;
    }

    .industry-modal__content p {
        font-size: 14px !important;
        line-height: 1.55 !important;
        margin-top: 16px !important;
    }

    .industry-modal__features {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-top: 22px !important;
    }

    .industry-modal__feature {
        padding: 16px !important;
        border-radius: 16px !important;
    }

    .industry-modal__cta {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        margin-top: 24px !important;
        margin-bottom: 0 !important;
        padding: 16px 18px !important;
        font-size: 14px !important;
        border-radius: 15px !important;
    }

    .industry-modal__close {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        z-index: 20 !important;

        width: 38px !important;
        height: 38px !important;

        background: rgba(4, 19, 58, 0.86) !important;
        color: #ffffff !important;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    }
}

/* Para celulares muy pequeños */
@media (max-width: 390px) {

    .industry-modal {
        padding: 8px !important;
    }

    .industry-modal__dialog {
        max-height: calc(100svh - 16px) !important;
        border-radius: 20px !important;
    }

    .industry-modal__media {
        height: 210px !important;
        min-height: 210px !important;
        max-height: 210px !important;
    }

    .industry-modal__content {
        padding: 26px 20px 28px !important;
    }

    .industry-modal__content h3 {
        font-size: 26px !important;
    }
}
/* FIX SOLUCIONES MIITT - CARDS MISMO ANCHO Y ALTO */

/* Contenedor general: columna izquierda fija + cuadro derecho estable */
.industries-showcase {
    grid-template-columns: 275px minmax(0, 1fr) !important;
    align-items: stretch !important;
}

/* Cards laterales: todas iguales */
.industry-tab {
    width: 250px !important;
    height: 96px !important;
    min-height: 96px !important;
    max-height: 96px !important;

    padding: 16px 16px !important;
    border-radius: 18px !important;

    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: center !important;

    overflow: hidden !important;
}

/* Icono dentro de la card */
.industry-tab__icon {
    width: 62px !important;
    height: 62px !important;
    min-width: 62px !important;
    border-radius: 14px !important;
}

/* Imagen del logo */
.industry-tab__icon img {
    max-width: 52px !important;
    max-height: 48px !important;
    object-fit: contain !important;
}

/* Texto de las cards */
.industry-tab strong {
    font-size: 13px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    margin: 0 !important;
}

.industry-tab small {
    margin-top: 5px !important;
    font-size: 10.5px !important;
    line-height: 1.25 !important;

    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2;

    line-clamp: 2;

    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Separación uniforme entre cards */
.industries-tabs {
    width: 250px !important;
    gap: 14px !important;
}
/* CUADRO GRANDE DERECHO MÁS COMPACTO */

.industry-detail {
    min-height: 0 !important;
    height: 596px !important;
    max-height: 596px !important;
    border-radius: 26px !important;
}

/* Contenido del cuadro grande */
.industry-detail__content {
    min-height: 0 !important;
    height: 100% !important;
    width: min(620px, 72%) !important;

    padding: 46px 38px 34px !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Título más controlado */
.industry-detail h3 {
    font-size: clamp(34px, 3.4vw, 46px) !important;
    line-height: 1.08 !important;
}

/* Texto compacto */
.industry-detail p {
    margin-top: 18px !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}

/* Bullets más compactos */
.industry-detail__list {
    margin-top: 22px !important;
    gap: 9px !important;
}

.industry-detail__list li {
    font-size: 12.5px !important;
    line-height: 1.3 !important;
}

/* Parte inferior: métrica + botones */
.industry-detail__bottom {
    margin-top: 28px !important;
    padding-top: 20px !important;
    gap: 18px !important;
}

.industry-metric strong {
    font-size: 32px !important;
}

.industry-metric span {
    font-size: 12px !important;
    line-height: 1.25 !important;
}

/* Botones más compactos */
.industry-detail__actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.industry-detail__button {
    min-width: 230px !important;
    padding: 14px 20px !important;
    font-size: 13px !important;
    border-radius: 14px !important;
}
/* RESPONSIVE */

@media (max-width: 992px) {
    .industries-showcase {
        grid-template-columns: 1fr !important;
    }

    .industries-tabs {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .industry-tab {
        width: 100% !important;
        height: 96px !important;
        min-height: 96px !important;
        max-height: 96px !important;
    }

    .industry-detail {
        height: auto !important;
        max-height: none !important;
        min-height: 520px !important;
    }
}

@media (max-width: 768px) {
    .industries-tabs {
        grid-template-columns: 1fr !important;
    }

    .industry-tab {
        width: 100% !important;
        height: 92px !important;
        min-height: 92px !important;
        max-height: 92px !important;
        grid-template-columns: 60px minmax(0, 1fr) !important;
    }

    .industry-tab__icon {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
    }

    .industry-detail {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }

    .industry-detail__content {
        width: 100% !important;
        height: auto !important;
        padding: 32px 24px 28px !important;
        justify-content: flex-start !important;
    }

    .industry-detail h3 {
        font-size: 28px !important;
    }

    .industry-detail p {
        font-size: 14px !important;
    }

    .industry-detail__bottom {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .industry-detail__actions {
        width: 100% !important;
    }

    .industry-detail__button {
        width: 100% !important;
        min-width: 0 !important;
    }
}
/* =========================================================
   INDUSTRIAS - FIX TEXTO EN PANTALLAS MEDIANAS / ZOOM 125%
========================================================= */

/* Da más espacio útil al texto dentro del card */
.industry-detail__content {
    max-width: min(720px, 92%);
}

/* Título más flexible para evitar que se parta en 3 líneas */
.industry-detail__content h3,
#industryTitle {
    max-width: 680px;
    font-size: clamp(2.55rem, 4.4vw, 4.7rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

/* En pantallas tipo laptop o zoom 125% */
@media (max-width: 1280px) {
    .industry-detail__content {
        max-width: min(760px, 94%);
    }

    .industry-detail__content h3,
    #industryTitle {
        max-width: 720px;
        font-size: clamp(2.45rem, 4.1vw, 4.05rem);
        line-height: 1.03;
        letter-spacing: -0.052em;
    }
}

/* Pantallas medianas */
@media (max-width: 1100px) {
    .industry-detail__content {
        max-width: 94%;
    }

    .industry-detail__content h3,
    #industryTitle {
        max-width: 660px;
        font-size: clamp(2.3rem, 4.8vw, 3.45rem);
        line-height: 1.04;
    }
}

/* Tablets / pantallas más angostas */
@media (max-width: 900px) {
    .industry-detail__content h3,
    #industryTitle {
        max-width: 100%;
        font-size: clamp(2.15rem, 7vw, 3.1rem);
        line-height: 1.06;
        letter-spacing: -0.045em;
    }
}

/* Celular */
@media (max-width: 560px) {
    .industry-detail__content h3,
    #industryTitle {
        font-size: clamp(2rem, 10vw, 2.6rem);
        line-height: 1.08;
        letter-spacing: -0.04em;
    }
}
/* SECCIÓN dasboard */
.dashboard-section {
    width: 100%;
    min-height: 100vh;
    padding: 90px 20px;
    background: #04133a;
    font-family: 'Montserrat', Arial, sans-serif;

    display: flex;
    align-items: center;
}

.dashboard-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 70px;
}

.dashboard-content {
    color: #ffffff;
}

.dashboard-eyebrow {
    display: block;
    margin-bottom: 20px;

    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.dashboard-content h2 {
    margin: 0 0 28px;

    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.14;
    font-weight: 800;
    color: #ffffff;
}

.dashboard-content h2 span {
    color: #e8a5ad;
}

.dashboard-description {
    max-width: 410px;
    margin: 0 0 36px;

    font-size: 17px;
    line-height: 1.35;
    font-weight: 500;
    color: #ffffff;
}

.dashboard-list {
    display: flex;
    flex-direction: column;
    gap: 22px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.dashboard-list li {
    display: flex;
    align-items: center;
    gap: 18px;

    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
    color: #ffffff;
}

.dashboard-check {
    width: 42px;
    height: 42px;
    min-width: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #e8a5ad;
    color: #ffffff;

    font-size: 26px;
    font-weight: 500;
}

.dashboard-visual {
    position: relative;
    width: 100%;
    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;

    perspective: 1200px;
}

/* Círculo 360 detrás del dashboard */

.dashboard-orbit {
    position: absolute;
    width: min(72vw, 500px);
    height: min(72vw, 500px);

    border: 1px solid rgba(232, 165, 173, 0.11);
    border-radius: 50%;

    transform: translateY(8px);
    animation: dashboardOrbitRotate 28s linear infinite;
    pointer-events: none;
}

.dashboard-orbit::before,
.dashboard-orbit::after {
    content: "";
    position: absolute;
    inset: 46px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.10);
}

.dashboard-orbit::after {
    inset: 100px;
    border-color: rgba(232, 165, 173, 0.08);
}

/* Puntos orbitando */

.dashboard-orbit span {
    position: absolute;
    width: 9px;
    height: 9px;

    border-radius: 50%;
    background: #e8a5ad;
    box-shadow: 0 0 16px rgba(232, 165, 173, 0.55);
}

.dashboard-image-card::before {
    content: "";
    position: absolute;
    inset: -18px;
    z-index: -1;
    border-radius: 24px;
    background: radial-gradient(circle, rgba(232, 165, 173, 0.16), transparent 65%);
    filter: blur(8px);
}

.dashboard-orbit span:nth-child(1) {
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.dashboard-orbit span:nth-child(2) {
    right: 34px;
    bottom: 95px;
}

.dashboard-orbit span:nth-child(3) {
    left: 38px;
    bottom: 120px;
}

/* Tarjeta del dashboard */

.dashboard-image-card {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 620px;

    transform-style: preserve-3d;
    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.dashboard-image-card:hover {
    transform: rotateY(-7deg) rotateX(4deg) translateY(-6px);
    filter: brightness(1.04);
}

.dashboard-image-card img {
    width: 100%;
    display: block;

    border-radius: 16px;
    box-shadow:
        0 34px 80px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.16);
}

/* Etiqueta Gestión 360 */

.dashboard-360-badge {
    position: absolute;
    top: -16px;
    right: 28px;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 10px 18px;

    border-radius: 999px;
    background: #e8a5ad;
    color: #ffffff;

    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.2px;

    box-shadow: 0 18px 38px rgba(232, 165, 173, 0.32);
}

.dashboard-360-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 9px;

    border-radius: 50%;
    background: #ffffff;

    box-shadow: 0 0 14px rgba(255, 255, 255, 0.9);
}

/* Animación */

@keyframes dashboardOrbitRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 992px) {
    .dashboard-section {
        min-height: auto;
        padding: 70px 20px;
    }

    .dashboard-container {
        grid-template-columns: 1fr;
        gap: 45px;
        text-align: center;
    }

    .dashboard-description {
        margin-left: auto;
        margin-right: auto;
    }

    .dashboard-list {
        max-width: 430px;
        margin: 0 auto;
        text-align: left;
    }

    .dashboard-visual {
        min-height: 440px;
    }

    .dashboard-image-card {
        max-width: 680px;
    }
}

@media (max-width: 576px) {
    .dashboard-section {
        padding: 56px 16px;
    }

    .dashboard-content h2 {
        font-size: 32px;
    }

    .dashboard-description {
        font-size: 15px;
    }

    .dashboard-list {
        gap: 18px;
    }

    .dashboard-list li {
        font-size: 15px;
        gap: 14px;
    }

    .dashboard-check {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 23px;
    }

    .dashboard-visual {
        min-height: 330px;
    }

    .dashboard-orbit {
        width: 330px;
        height: 330px;
    }

    .dashboard-image-card:hover {
        transform: none;
    }

    .dashboard-image-card img {
        border-radius: 10px;
    }

    .dashboard-360-badge {
        top: -18px;
        right: 16px;
        min-height: 36px;
        padding: 9px 14px;
        font-size: 12px;
    }
}
/* FIX DASHBOARD - PANTALLAS BAJAS / ZOOM 125% */

@media (max-height: 820px) and (min-width: 769px) {

    .dashboard-section {
        min-height: calc(100svh - var(--header-height));
        padding: 42px 20px;
        align-items: center;
    }

    .dashboard-container {
        max-width: 1160px;
        grid-template-columns: 0.78fr 1.22fr;
        gap: 54px;
    }

    .dashboard-eyebrow {
        margin-bottom: 14px;
        font-size: 12px;
    }

    .dashboard-content h2 {
        margin-bottom: 20px;
        font-size: clamp(38px, 4.1vw, 54px);
        line-height: 1.02;
    }

    .dashboard-description {
        max-width: 430px;
        margin-bottom: 26px;
        font-size: 15px;
        line-height: 1.32;
    }

    .dashboard-list {
        gap: 16px;
    }

    .dashboard-list li {
        gap: 15px;
        font-size: 15px;
        line-height: 1.15;
    }

    .dashboard-check {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 23px;
    }

    .dashboard-visual {
        min-height: 430px;
    }

    .dashboard-image-card {
        max-width: 590px;
    }

    .dashboard-orbit {
        width: 430px;
        height: 430px;
    }

    .dashboard-360-badge {
        top: -14px;
        right: 26px;
        min-height: 38px;
        padding: 9px 16px;
        font-size: 13px;
    }
}
/* SECCIÓN ALIADOS - EFECTO ASCENSOR */

.allies-elevator {
    position: relative;
    height: 500svh;
    background: var(--color-primary);
    overflow: visible;
}

/* Fondo azul tipo HERO */

.allies-elevator__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 78% 42%, rgba(255, 191, 150, 0.22), transparent 20%),
        radial-gradient(circle at 85% 32%, rgba(255, 255, 255, 0.16), transparent 18%),
        linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    transform: translateY(calc(var(--allies-progress, 0) * -120px));
    pointer-events: none;
}

/* Contenido fijo */

.allies-elevator__sticky {
    position: sticky;
    top: var(--header-height);
    z-index: 2;
    height: calc(100svh - var(--header-height));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2vh, 22px);
    padding-block: clamp(16px, 2.4vh, 26px);
    text-align: center;
}

/* Texto */

.allies-elevator__content {
    max-width: 780px;
    margin-inline: auto;
}

.allies-elevator__content span {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.4px;
    color: #f8c8ce;
}

.allies-elevator__content h2 {
    max-width: 760px;
    margin-inline: auto;
    margin-bottom: 12px;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--color-white);
}

.allies-elevator__content h2 strong {
    color: var(--color-accent);
    font-style: normal;
}

.allies-elevator__content p {
    max-width: 620px;
    margin-inline: auto;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.88);
}

/* Botón */

.allies-elevator__button {
    width: fit-content;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-inline: auto;
    padding: 10px 18px 10px 20px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, background 0.2s ease;
}

.allies-elevator__button span {
    font-size: 28px;
    line-height: 1;
}

.allies-elevator__button:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
}

/* Visual */

.allies-elevator__visual {
    position: relative;
    width: 100%;
    max-width: 1120px;
    min-height: clamp(280px, 38svh, 360px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* Tarjeta principal de aliados */

.allies-elevator__card {
    position: relative;
    background: rgba(74, 64, 105, 0.86);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

/* Slide aliado */

.allies-elevator__ally {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;

    opacity: 0;
    transform: translateY(70px) scale(0.96);
    filter: blur(10px);
    pointer-events: none;

    transition:
        opacity 0.55s ease,
        transform 0.55s cubic-bezier(.2, .8, .2, 1),
        filter 0.55s ease;
}

.allies-elevator__ally.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    pointer-events: auto;
}

.allies-elevator__ally.is-prev {
    opacity: 0;
    transform: translateY(-70px) scale(0.96);
    filter: blur(10px);
}

/* Lado izquierdo */

.allies-elevator__brand {
    display: flex;
    flex-direction: column;
}

.allies-elevator__badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    background: var(--color-primary-dark);
    color: var(--color-white);
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.allies-elevator__badge span {
    color: var(--color-accent);
    line-height: 1;
}

.allies-elevator__brand-card {
    background: rgba(255, 255, 255, 0.96);
    display: flex;
    flex-direction: column;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.allies-elevator__brand-card img {
    width: auto;
    object-fit: contain;
    align-self: flex-start;
}

.allies-elevator__brand-card p {
    position: relative;
    margin: 0;
    padding-left: 16px;
    color: var(--color-primary);
    font-weight: 600;
    text-align: left;
}

.allies-elevator__brand-card p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 3px;
    height: calc(100% - 6px);
    border-radius: 99px;
    background: var(--color-accent);
}

/* Lado derecho */

.allies-elevator__benefits {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

.allies-elevator__benefits li {
    display: flex;
    align-items: center;
    color: var(--color-white);
    font-weight: 600;
    text-align: left;
}

.allies-elevator__benefits li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--color-accent);
    color: var(--color-white);
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(244, 166, 173, 0.25);
}

/* Steps ya no se usan */

.allies-elevator__steps {
    display: none;
}

.allies-elevator__step {
    height: 0;
}
/* RESPONSIVE */

@media (max-width: 1024px) {
    .allies-elevator__content h2 {
        font-size: clamp(32px, 5.8vw, 48px);
    }

    .allies-elevator__visual {
        height: clamp(250px, 36svh, 320px);
    }

    .allies-elevator__phone {
        width: min(100%, 320px);
        height: clamp(240px, 34svh, 300px);
    }

    .allies-elevator__logo img {
        max-width: 200px;
        max-height: 88px;
    }
}

@media (max-width: 768px) {
    .allies-elevator {
        height: auto;
        min-height: auto;
        padding: 70px 0;
        overflow: hidden;
    }

    .allies-elevator__sticky {
        position: relative;
        top: auto;
        height: auto;
        min-height: auto;
        justify-content: flex-start;
        gap: 34px;
        padding-block: 0;
    }

    .allies-elevator__content h2 {
        font-size: 36px;
        line-height: 1.08;
    }

    .allies-elevator__content p {
        font-size: 17px;
    }

    .allies-elevator__visual {
        height: auto;
    }

    .allies-elevator__visual::before {
        width: 320px;
        height: 320px;
    }

    .allies-elevator__visual {
        min-height: auto;
    }

    .allies-elevator__card {
        min-height: auto;
        border-radius: 28px;
        overflow: visible;
        background: transparent;
        box-shadow: none;
        display: grid;
        gap: 22px;
    }

    .allies-elevator__ally,
    .allies-elevator__ally.is-active,
    .allies-elevator__ally.is-prev {
        position: relative;
        inset: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 0;
        opacity: 1;
        transform: none;
        filter: none;
        pointer-events: auto;
    }

    .allies-elevator__ally {
        padding: 22px;
        border-radius: 28px;
        background: rgba(74, 64, 105, 0.86);
    }

    .allies-elevator__badge {
        font-size: 13px;
    }

    .allies-elevator__brand-card {
        min-height: 210px;
        border-radius: 24px;
        padding: 28px;
    }

    .allies-elevator__brand-card img {
        max-width: 240px;
        max-height: 88px;
        margin-bottom: 24px;
    }

    .allies-elevator__benefits {
        gap: 16px;
    }

    .allies-elevator__benefits li {
        font-size: 15px;
    }

    .allies-elevator__benefits li::before {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        font-size: 20px;
    }

}

@media (max-width: 480px) {
    .allies-elevator {
        padding: 60px 0;
    }

    .allies-elevator__content span {
        font-size: 13px;
    }

    .allies-elevator__content h2 {
        font-size: 32px;
    }

    .allies-elevator__content p {
        font-size: 16px;
    }

    .allies-elevator__button {
        width: 100%;
        text-align: center;
    }

    .allies-elevator__ally {
        padding: 18px;
        border-radius: 24px;
    }

    .allies-elevator__brand-card {
        padding: 24px;
        min-height: 190px;
    }

    .allies-elevator__brand-card img {
        max-width: 220px;
    }

    .allies-elevator__benefits li {
        align-items: flex-start;
        gap: 14px;
    }

    .allies-elevator__benefits li::before {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        font-size: 18px;
    }
}

@media (max-height: 760px) and (min-width: 769px) {
    .allies-elevator__sticky {
        gap: 10px;
        padding-block: 10px;
    }

    .allies-elevator__content span {
        margin-bottom: 6px;
        font-size: 12px;
    }

    .allies-elevator__content h2 {
        max-width: 720px;
        margin-bottom: 8px;
        font-size: clamp(32px, 3.4vw, 44px);
        line-height: 1;
    }

    .allies-elevator__content p {
        max-width: 600px;
        margin-bottom: 12px;
        font-size: 14px;
        line-height: 1.2;
    }

    .allies-elevator__button {
        min-height: 38px;
        padding: 8px 16px 8px 18px;
        font-size: 13px;
    }

    .allies-elevator__visual {
        max-width: 980px;
        min-height: 260px;
    }

    .allies-elevator__card {
        width: min(100%, 980px);
        min-height: 260px;
        border-radius: 26px;
    }

    .allies-elevator__ally {
        grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1fr);
        gap: 42px;
        padding: 24px 42px;
    }

    .allies-elevator__brand {
        gap: 14px;
    }

    .allies-elevator__badge {
        min-height: 32px;
        padding: 7px 16px;
        font-size: 12px;
    }

    .allies-elevator__badge span {
        font-size: 18px;
    }

    .allies-elevator__brand-card {
        min-height: 170px;
        border-radius: 24px;
        padding: 26px 30px;
    }

    .allies-elevator__brand-card img {
        max-width: 270px;
        max-height: 76px;
        margin-bottom: 18px;
    }

    .allies-elevator__brand-card p {
        max-width: 360px;
        font-size: 13px;
        line-height: 1.2;
    }

    .allies-elevator__benefits {
        gap: 13px;
    }

    .allies-elevator__benefits li {
        gap: 14px;
        font-size: 14px;
        line-height: 1.2;
    }

    .allies-elevator__benefits li::before {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        font-size: 19px;
    }
}

@media (max-width: 1280px) and (min-width: 769px) {
    .allies-elevator__visual {
        max-width: 980px;
    }

    .allies-elevator__card {
        width: min(100%, 980px);
    }

    .allies-elevator__ally {
        gap: 42px;
        padding-inline: 42px;
    }

    .allies-elevator__brand-card img {
        max-width: 280px;
    }
}
/* FIX ALIADOS - PANTALLAS BAJAS / ZOOM 125% */

@media (max-height: 820px) and (min-width: 769px) {

    .allies-elevator__sticky {
        height: calc(100svh - var(--header-height));
        justify-content: flex-start;
        gap: 10px;
        padding-top: 26px;
        padding-bottom: 10px;
    }

    .allies-elevator__content span {
        margin-bottom: 6px;
        font-size: 12px;
    }

    .allies-elevator__content h2 {
        max-width: 760px;
        margin-bottom: 8px;
        font-size: clamp(34px, 3.2vw, 46px);
        line-height: 0.98;
    }

    .allies-elevator__content p {
        max-width: 640px;
        margin-bottom: 0;
        font-size: 14px;
        line-height: 1.2;
    }

    .allies-elevator__button {
        display: none;
    }

    .allies-elevator__visual {
        max-width: 1040px;
        min-height: 285px;
        height: 285px;
        margin-top: 14px;
    }

    .allies-elevator__card {
        width: min(100%, 1040px);
        min-height: 285px;
        height: 285px;
        border-radius: 26px;
    }

    .allies-elevator__ally {
        grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1fr);
        gap: 46px;
        padding: 22px 48px;
    }

    .allies-elevator__brand {
        gap: 14px;
    }

    .allies-elevator__badge {
        min-height: 30px;
        padding: 6px 15px;
        font-size: 12px;
    }

    .allies-elevator__badge span {
        font-size: 17px;
    }

    .allies-elevator__brand-card {
        min-height: 175px;
        height: 175px;
        border-radius: 24px;
        padding: 22px 28px;
    }

    .allies-elevator__brand-card img {
        max-width: 270px;
        max-height: 72px;
        margin-bottom: 16px;
    }

    .allies-elevator__brand-card p {
        max-width: 360px;
        font-size: 13px;
        line-height: 1.18;
    }

    .allies-elevator__benefits {
        gap: 12px;
    }

    .allies-elevator__benefits li {
        gap: 14px;
        font-size: 14px;
        line-height: 1.15;
    }

    .allies-elevator__benefits li::before {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        font-size: 18px;
    }
}

/* =========================================================
   AJUSTE VISUAL ALIADOS - CARD MÁS ORDENADA
========================================================= */

.allies-elevator__card {
    width: min(100%, 1040px);
    min-height: 310px;
    border-radius: 26px;
}

.allies-elevator__ally {
    grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(28px, 4vw, 56px);
    padding: 34px 54px;
}

/* Lado izquierdo */
.allies-elevator__brand {
    gap: 18px;
}

.allies-elevator__badge {
    min-height: 34px;
    padding: 7px 16px;
    font-size: 13px;
}

.allies-elevator__badge span {
    font-size: 20px;
}

.allies-elevator__brand-card {
    min-height: 210px;
    border-radius: 24px;
    padding: 28px 32px;
    justify-content: center;
}

.allies-elevator__brand-card img {
    max-width: min(100%, 300px);
    max-height: 74px;
    margin-bottom: 22px;
}

.allies-elevator__brand-card p {
    max-width: 370px;
    font-size: 14px;
    line-height: 1.35;
}

/* Lado derecho */
.allies-elevator__benefits {
    gap: 18px;
}

.allies-elevator__benefits li {
    gap: 16px;
    font-size: 15px;
    line-height: 1.35;
    max-width: 430px;
}

.allies-elevator__benefits li::before {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    font-size: 19px;
}

/* =========================================================
   RESPONSIVE ALIADOS
========================================================= */

@media (max-width: 900px) {
    .allies-elevator__card {
        min-height: auto;
    }

    .allies-elevator__ally {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 24px;
    }

    .allies-elevator__brand-card {
        min-height: auto;
    }

    .allies-elevator__benefits li {
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .allies-elevator__ally {
        padding: 24px 18px;
    }

    .allies-elevator__brand-card {
        padding: 24px 22px;
        border-radius: 20px;
    }

    .allies-elevator__brand-card img {
        max-height: 62px;
        margin-bottom: 18px;
    }

    .allies-elevator__benefits {
        gap: 14px;
    }

    .allies-elevator__benefits li {
        font-size: 13px;
        gap: 12px;
    }

    .allies-elevator__benefits li::before {
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
        font-size: 16px;
    }
}

/* =========================
   PARTE SUPERIOR
========================= */

.support-section {
    width: 100%;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f7f7fa;
}

.support-top {
    background: #f7f7fa;
    padding: 28px 20px 18px;
}

.support-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.support-header {
    text-align: center;
    margin-bottom: 22px;
}

.support-header h2 {
    margin: 0 0 4px;
    font-size: clamp(28px, 3vw, 34px);
    line-height: 1.1;
    font-weight: 800;
    color: #213b73;
}

.support-header h2 span {
    color: #e7a7ad;
}

.support-header p {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #172b5c;
}

.support-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 54px;
    align-items: start;
}

.support-step {
    text-align: center;
}

.support-step__image {
    width: 100%;
    height: 210px;
    border-radius: 24px;
    overflow: hidden;
    background: #eef1f7;
    box-shadow: 0 12px 28px rgba(20, 35, 80, 0.10);
}

.support-step__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.35s ease;
}

.support-step__image--top img {
    object-position: center top;
}

.support-step:hover .support-step__image img {
    transform: scale(1.05);
}

.support-step h3 {
    margin: 10px 0 4px;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 800;
    color: #213b73;
}

.support-step p {
    max-width: 310px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 500;
    color: #172b5c;
}

/* =========================
   TESTIMONIOS
========================= */

.testimonials-header h2 span {
    color: #e7a7ad;
}

.testimonial-card {
    height: 285px;
}

.testimonial-card--text {
    padding: 28px 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-stars {
    font-size: 24px;
    line-height: 1;
    color: #ffb000;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.testimonial-card--text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
}

.testimonial-author strong,
.testimonial-author span {
    font-size: 13px;
    line-height: 1.25;
}

.testimonial-card--video {
    width: 340px;
    height: 285px;
    position: relative;
    background: #3f385b;
    border-radius: 26px;
    overflow: hidden;
}

.testimonial-card--video video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border: 0;
}

.testimonial-video-label {
    position: absolute;
    inset: 0;
    padding: 22px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background: rgba(35, 28, 58, 0.75);
    color: #ffffff;

    font-size: 20px;
    line-height: 1.15;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3px;

    pointer-events: none;
}

.testimonial-card--video:hover .testimonial-video-label {
    opacity: 0;
    transition: opacity 0.25s ease;
}

/* Flechas */

/* =========================
   CTA INFERIOR
========================= */

.support-cta {
    background: linear-gradient(90deg, #eda2aa 0%, #f2b1a4 55%, #efd0a8 100%);
    padding: 24px 20px;
}

.support-cta__container {
    display: grid;
    grid-template-columns: 390px 1fr;
    align-items: center;
    gap: 28px;
}

.support-cta__question {
    margin: 0;
    width: 390px;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 500;
    color: #ffffff;
}

.support-cta__question span {
    display: block;
    white-space: nowrap;
}

.support-cta p {
    margin: 0;
    max-width: 330px;
    font-size: 21px;
    line-height: 1.15;
    font-weight: 500;
    color: #ffffff;
}

.support-cta h3 {
    margin: 0;
    text-align: center;
    font-size: clamp(20px, 1.85vw, 26px);
    line-height: 1.1;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
}

.support-cta h3 span {
    color: #213b73;
}

@media (max-width: 900px) {
    .support-cta__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .support-cta h3 {
        white-space: normal;
    }
}

@media (max-width: 1100px) {
    .testimonials-wrapper {
        padding: 0 48px;
    }

    .testimonial-arrow--left {
        left: 6px;
    }

    .testimonial-arrow--right {
        right: 6px;
    }
}

@media (max-width: 900px) {
    .support-steps {
        gap: 28px;
    }

    .support-step__image {
        height: 145px;
    }

    .support-cta__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .support-top {
        padding: 45px 16px 30px;
    }

    .support-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .support-step {
        max-width: 430px;
        margin: 0 auto;
    }

    .support-step__image {
        height: 220px;
    }

    .testimonials-section {
        padding: 42px 16px;
    }

    .testimonials-track {
        display: flex;
        gap: 18px;
        overflow-x: auto;
    }

    .testimonial-card {
        min-width: 280px;
    }

    .testimonial-card--video {
        min-width: 330px;
    }

    .support-cta {
        padding: 30px 16px;
    }

    .support-cta p {
        font-size: 20px;
    }

    .testimonials-wrapper {
        padding: 0;
    }

    .testimonial-card--text {
        width: 260px;
    }

    .testimonial-card--video {
        width: 310px;
    }

    .testimonial-arrow {
        display: none;
    }
}

@media (max-width: 480px) {

    .support-header h2,
    .testimonials-header h2 {
        font-size: 27px;
    }

    .support-header p {
        font-size: 14px;
    }

    .support-step__image {
        height: 190px;
    }

    .testimonial-card {
        min-width: 260px;
        min-height: 230px;
    }

    .testimonial-card--video {
        min-width: 290px;
    }

    .testimonial-video-label {
        font-size: 17px;
    }
}

/* =========================
   TESTIMONIOS
========================= */

.testimonials-section {
    background:
        radial-gradient(circle at top left, rgba(65, 92, 196, 0.28), transparent 34%),
        linear-gradient(180deg, #04133a 0%, #051842 100%);
    padding: 46px 20px 54px;
    overflow: hidden;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 30px;
}

.testimonials-header > span {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 1.6px;
    color: #e0b58d;
    text-transform: uppercase;
}

.testimonials-header h2 {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.12;
    font-weight: 900;
    color: #ffffff;
}

.testimonials-header h2 strong {
    color: #e7a7ad;
}

.testimonials-header p {
    margin: 12px auto 0;
    max-width: 620px;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.76);
}

.testimonials-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 58px;
}

.testimonials-track {
    display: flex;
    align-items: stretch;
    gap: 24px;
    width: max-content;
    will-change: transform;
}

.testimonials-track::-webkit-scrollbar {
    display: none;
}

/* Card completa: imagen/video + testimonio */

.testimonial-card {
    width: 960px;
    min-height: 430px;
    border-radius: 30px;
    background: rgba(64, 56, 93, 0.96);
    color: #ffffff;
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    flex: 0 0 auto;

    display: grid;
    grid-template-columns: 48% 52%;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-media {
    position: relative;
    min-height: 340px;
    background: #111b3e;
    overflow: hidden;
}

.testimonial-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.testimonial-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #111b3e;
}

.testimonial-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 65%, rgba(64, 56, 93, 0.45));
    pointer-events: none;
}

.testimonial-media__badge {
    position: absolute;
    left: 18px;
    top: 18px;
    z-index: 2;

    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(4, 19, 58, 0.88);
    color: #ffffff;

    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.2px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.testimonial-content {
    padding: 34px 34px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.testimonial-rating span {
    font-size: 24px;
    line-height: 1;
    color: #ffb000;
    letter-spacing: 1px;
}

.testimonial-rating strong {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(231, 167, 173, 0.15);
    color: #ffd7dc;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
}

.testimonial-content p {
    margin: 0;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
    color: #ffffff;
}

.testimonial-author {
    margin-top: 26px;
}

.testimonial-author strong,
.testimonial-author span {
    display: block;
    color: #ffffff;
}

.testimonial-author strong {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
}

.testimonial-author span {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 500;
    opacity: 0.82;
}

/* Placeholder para testimonios sin imagen aún */

.testimonial-media--placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(circle at 30% 25%, rgba(231, 167, 173, 0.24), transparent 34%),
        linear-gradient(135deg, #071b4b 0%, #40385d 100%);
    text-align: center;
    padding: 24px;
}

.testimonial-media--placeholder span {
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.testimonial-media--placeholder small {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    color: #e0b58d;
}

/* Flechas */

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;

    width: 42px;
    height: 54px;
    border: 0;
    border-radius: 12px;
    background: #e0b58d;
    color: #213b73;

    font-size: 38px;
    line-height: 1;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.testimonial-arrow--left {
    left: 6px;
}

.testimonial-arrow--right {
    right: 6px;
}

.testimonial-arrow:hover {
    background: #e7a7ad;
    color: #ffffff;
    transform: translateY(-50%) scale(1.04);
}

/* Responsive */

@media (max-width: 1100px) {
    .testimonials-wrapper {
        padding: 0 50px;
    }

    .testimonial-card {
        width: 680px;
    }

    .testimonial-content p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 42px 16px;
    }

    .testimonials-wrapper {
        padding: 0;
        overflow: visible;
    }

    .testimonials-track {
        gap: 18px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        width: auto;
        padding-bottom: 8px;
    }

    .testimonial-card {
        width: 86vw;
        min-width: 86vw;
        min-height: auto;
        grid-template-columns: 1fr;
        scroll-snap-align: start;
    }

    .testimonial-media {
        min-height: 220px;
    }

    .testimonial-media::after {
        display: none;
    }

    .testimonial-content {
        padding: 26px 22px 24px;
    }

    .testimonial-rating {
        margin-bottom: 18px;
    }

    .testimonial-rating span {
        font-size: 21px;
    }

    .testimonial-content p {
        font-size: 15px;
        line-height: 1.45;
    }

    .testimonial-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .testimonials-header h2 {
        font-size: 27px;
    }

    .testimonials-header p {
        font-size: 14px;
    }

    .testimonial-card {
        width: 88vw;
        min-width: 88vw;
        border-radius: 24px;
    }

    .testimonial-media {
        min-height: 190px;
    }

    .testimonial-content {
        padding: 24px 20px 22px;
    }

    .testimonial-media--placeholder span {
        font-size: 24px;
    }
}
/* TESTIMONIAL QUICKBOOKS */

.testimonial-media--quickbooks {
    background:
        radial-gradient(circle at 30% 24%, rgba(44, 190, 82, 0.28), transparent 34%),
        radial-gradient(circle at 78% 32%, rgba(44, 145, 255, 0.22), transparent 30%),
        linear-gradient(135deg, #071b4b 0%, #102b63 48%, #061235 100%);
}

.testimonial-media--quickbooks span {
    color: #ffffff;
}

.testimonial-media--quickbooks small {
    color: #55d66b;
}

/* =========================================================
   TESTIMONIOS RESPONSIVE - CORRECCIÓN CELULAR
========================================================= */

@media (max-width: 768px) {
    .testimonials-section {
        padding: 38px 0 42px;
        min-height: auto;
        overflow: hidden;
    }

    .testimonials-header {
        width: calc(100% - 32px);
        margin: 0 auto 26px;
    }

    .testimonials-header > span {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .testimonials-header h2 {
        font-size: 28px;
        line-height: 1.12;
        max-width: 340px;
        margin: 0 auto;
    }

    .testimonials-header p {
        max-width: 320px;
        font-size: 14px;
        line-height: 1.5;
        margin-top: 14px;
    }

    .testimonials-wrapper {
        width: 100%;
        padding: 0 16px;
        overflow: hidden;
    }

    .testimonials-track {
        width: 100%;
        display: flex;
        gap: 18px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        transform: none !important;
        padding-bottom: 10px;
    }

    .testimonial-card {
        width: calc(100vw - 32px);
        min-width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        min-height: auto;
        height: auto;
        grid-template-columns: 1fr;
        border-radius: 24px;
        scroll-snap-align: center;
    }

    .testimonial-media {
        width: 100%;
        min-height: 210px;
        height: 210px;
    }

    .testimonial-media video,
    .testimonial-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .testimonial-content {
        padding: 24px 20px 26px;
        min-height: 250px;
    }

    .testimonial-rating {
        margin-bottom: 18px;
    }

    .testimonial-rating span {
        font-size: 20px;
    }

    .testimonial-rating strong {
        font-size: 11px;
        padding: 6px 10px;
    }

    .testimonial-content p {
        font-size: 15px;
        line-height: 1.45;
    }

    .testimonial-author {
        margin-top: 22px;
    }

    .testimonial-author strong {
        font-size: 15px;
    }

    .testimonial-author span {
        font-size: 12px;
    }

    .testimonial-arrow {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 34px 0 38px;
    }

    .testimonials-header h2 {
        font-size: 26px;
    }

    .testimonials-wrapper {
        padding: 0 14px;
    }

    .testimonial-card {
        width: calc(100vw - 28px);
        min-width: calc(100vw - 28px);
        max-width: calc(100vw - 28px);
    }

    .testimonial-media {
        height: 190px;
        min-height: 190px;
    }

    .testimonial-content {
        padding: 22px 18px 24px;
        min-height: 240px;
    }
}

.contact-miitt {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 18%, rgba(123, 68, 255, 0.24), transparent 28%),
        radial-gradient(circle at 82% 30%, rgba(0, 216, 255, 0.15), transparent 26%),
        linear-gradient(135deg, #050b2a 0%, #07133a 48%, #030717 100%);
}

.contact-miitt__bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}

.contact-miitt__bg::before,
.contact-miitt__bg::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(24px);
    opacity: 0.6;
}

.contact-miitt__bg::before {
    width: 280px;
    height: 280px;
    left: -90px;
    bottom: -70px;
    background: rgba(255, 55, 171, 0.22);
}

.contact-miitt__bg::after {
    width: 240px;
    height: 240px;
    right: 8%;
    top: 12%;
    background: rgba(0, 216, 255, 0.16);
}

.contact-miitt__container {
    position: relative;
    z-index: 2;
}

.contact-miitt__panel {
    display: grid;
    grid-template-columns: 0.9fr 1.15fr;
    border-radius: 28px;
    background: rgba(9, 20, 62, 0.78);
    border: 1px solid rgba(111, 172, 255, 0.22);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(16px);
}

/* IZQUIERDA */

.contact-miitt__ai-card {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 52% 24%, rgba(255, 57, 190, 0.25), transparent 22%),
        radial-gradient(circle at 52% 30%, rgba(0, 216, 255, 0.24), transparent 30%),
        linear-gradient(145deg, rgba(10, 22, 70, 0.96), rgba(5, 11, 38, 0.96));
    border: 1px solid rgba(105, 182, 255, 0.2);
}

.contact-miitt__ai-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.contact-miitt__ai-card>* {
    position: relative;
    z-index: 2;
}

.contact-miitt__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: white;
    font-weight: 800;
}

.contact-miitt__status i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #3dff9d;
    box-shadow: 0 0 14px rgba(61, 255, 157, 0.85);
}

.contact-miitt__ai-title h2 {
    margin: 0;
    color: white;
    line-height: 0.95;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.contact-miitt__ai-title h2 span {
    background: linear-gradient(135deg, #ff4fa3, #8d5cff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.contact-miitt__ai-title p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
}

.contact-miitt__advisor-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ASESOR SVG */

.miitt-advisor-svg {
    position: relative;
    display: grid;
    place-items: center;
    transition: transform 0.35s ease;
}

.miitt-advisor-svg__icon {
    width: 100%;
    height: 100%;
    overflow: visible;
    animation: miittAdvisorFloat 3.2s ease-in-out infinite;
}

.miitt-advisor-svg.is-active .miitt-advisor-svg__icon {
    animation: miittAdvisorFloatActive 1.8s ease-in-out infinite;
}

.miitt-advisor-svg.is-pointing-left {
    transform: translateX(-8px) rotate(-3deg);
}

.miitt-advisor-svg.is-pointing-right {
    transform: translateX(8px) rotate(3deg);
}

.miitt-advisor-svg.is-selected {
    animation: miittAdvisorSelected 0.7s ease;
}

.advisor-halo {
    transform-origin: center;
    animation: miittAdvisorPulse 2.8s ease-in-out infinite;
}

.advisor-shadow {
    transform-origin: center;
    animation: miittAdvisorShadow 3.2s ease-in-out infinite;
}

.advisor-eye {
    transform-box: fill-box;
    transform-origin: center;
    animation: miittAdvisorBlink 5s infinite;
}

.advisor-arm {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.35s ease;
}

.miitt-advisor-svg.is-active .advisor-arm--left {
    transform: rotate(-7deg) translateY(-4px);
}

.miitt-advisor-svg.is-active .advisor-arm--right {
    transform: rotate(7deg) translateY(-4px);
}

/* CHAT Y OPCIONES */

.miitt-advisor__bubble {
    width: 100%;
    border-radius: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.miitt-advisor__bubble--dark {
    background: rgba(18, 34, 88, 0.92);
    border: 1px solid rgba(112, 181, 255, 0.18);
    color: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.miitt-advisor__bubble--dark strong {
    color: #ff70b7;
}

.miitt-advisor__bubble--result {
    background: rgba(255, 255, 255, 0.92);
    color: #14306a;
}

.contact-miitt__solutions-title {
    color: white;
    font-weight: 900;
}

.miitt-advisor__options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.miitt-advisor__option {
    display: grid;
    grid-template-rows: auto auto;
    align-items: center;
    border: 1px solid rgba(116, 180, 255, 0.18);
    background: rgba(255, 255, 255, 0.055);
    color: white;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s ease;
    transform: translateZ(0);
    will-change: transform;
}

.miitt-advisor__option-icon {
    grid-row: 1 / 3;
    border-radius: 13px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 18px rgba(0, 216, 255, 0.18);
    flex: 0 0 42px;
}

.miitt-advisor__option-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.miitt-advisor__option strong {
    font-weight: 900;
    line-height: 1.1;
}

.miitt-advisor__option small {
    color: rgba(255, 255, 255, 0.62);
    font-weight: 700;
}

.miitt-advisor__option:hover,
.miitt-advisor__option.is-active {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(0, 216, 255, 0.72);
    box-shadow: 0 0 26px rgba(0, 216, 255, 0.18);
}

/* FORMULARIO DERECHA */

.contact-miitt__form-card {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.contact-miitt__form-header h3 {
    margin: 0;
    color: #13265d;
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.contact-miitt__form-header h3 span {
    color: #ff4fa3;
}

.contact-miitt__form-header p {
    margin: 12px 0 0;
    color: #6b7896;
}

.contact-miitt__form {
    display: grid;
}

.contact-miitt__field-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.contact-miitt__field {
    display: grid;
}

.contact-miitt__field label {
    color: #1c2f67;
    font-size: 13px;
    font-weight: 900;
}

.contact-miitt__field input,
.contact-miitt__field select,
.contact-miitt__field textarea {
    width: 100%;
    border: 1px solid rgba(31, 52, 110, 0.12);
    background: #fbfcff;
    color: #13265d;
    font-size: 14px;
    outline: none;
    transition: all 0.25s ease;
}

.contact-miitt__field textarea {
    resize: vertical;
}

.contact-miitt__field input:focus,
.contact-miitt__field select:focus,
.contact-miitt__field textarea:focus {
    border-color: #ff4fa3;
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 79, 163, 0.12);
}

.contact-miitt__submit {
    width: 100%;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff4fa3, #214af0);
    color: white;
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 18px 38px rgba(70, 78, 230, 0.28);
    transition: all 0.25s ease;
}

.contact-miitt__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px rgba(70, 78, 230, 0.38);
}

.contact-miitt__submit span {
    margin-left: 10px;
}

.contact-miitt__safe {
    margin: -2px 0 0;
    color: #78839c;
    text-align: center;
    font-weight: 700;
}

/* BARRA INFERIOR */

.contact-miitt__info-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 24px;
    padding: 20px 24px;
    border-radius: 22px;
    background: rgba(12, 30, 90, 0.82);
    border: 1px solid rgba(110, 180, 255, 0.2);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
}

.contact-miitt__info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-miitt__info:last-child {
    border-right: 0;
}

.contact-miitt__info-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 79, 163, 0.95), rgba(61, 80, 255, 0.95));
    color: white;
    font-size: 22px;
    box-shadow: 0 0 24px rgba(255, 79, 163, 0.28);
}

.contact-miitt__info strong {
    display: block;
    color: white;
    font-size: 14px;
    font-weight: 950;
    margin-bottom: 5px;
}

.contact-miitt__info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    line-height: 1.35;
}

.contact-miitt__status-message {
    margin-top: 12px;
    min-height: 20px;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.contact-miitt__status-message.is-loading {
    color: #3448ff;
}

.contact-miitt__status-message.is-success {
    color: #1f7a3a;
}

.contact-miitt__status-message.is-error {
    color: #b00020;
}

.contact-miitt__submit:disabled {
    cursor: not-allowed;
    opacity: 0.75;
}

.contact-miitt__success {
    margin-top: 18px;
    padding: 22px 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(37, 181, 80, 0.12), rgba(37, 181, 80, 0.05));
    border: 1px solid rgba(37, 181, 80, 0.28);
    text-align: center;
    animation: miittSuccessPop 0.35s ease;
    box-shadow: 0 18px 40px rgba(19, 120, 52, 0.12);
}

.contact-miitt__success[hidden] {
    display: none;
}

.contact-miitt__success-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 28px;
    background: rgba(37, 181, 80, 0.14);
    border: 1px solid rgba(37, 181, 80, 0.25);
}

.contact-miitt__success h4 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.1;
    color: #12733a;
    font-weight: 900;
}

.contact-miitt__success p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #33516b;
}

.contact-miitt__success-button {
    margin-top: 16px;
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    background: #0d1f63;
    color: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-miitt__success-button:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

@keyframes miittSuccessPop {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* ANIMACIONES */

@keyframes miittAdvisorFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes miittAdvisorFloatActive {

    0%,
    100% {
        transform: translateY(-2px) scale(1.02);
    }

    50% {
        transform: translateY(-10px) scale(1.04);
    }
}

@keyframes miittAdvisorPulse {

    0%,
    100% {
        opacity: 0.45;
        transform: scale(1);
    }

    50% {
        opacity: 0.85;
        transform: scale(1.12);
    }
}

@keyframes miittAdvisorShadow {

    0%,
    100% {
        opacity: 0.25;
        transform: scaleX(1);
    }

    50% {
        opacity: 0.45;
        transform: scaleX(0.78);
    }
}

@keyframes miittAdvisorBlink {

    0%,
    90%,
    100% {
        transform: scaleY(1);
    }

    94% {
        transform: scaleY(0.12);
    }
}

@keyframes miittAdvisorSelected {
    0% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.08) rotate(3deg);
    }

    70% {
        transform: scale(0.98) rotate(-2deg);
    }

    100% {
        transform: scale(1);
    }
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .contact-miitt__panel {
        grid-template-columns: 1fr;
    }

    .contact-miitt__info-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-miitt__info:nth-child(2) {
        border-right: 0;
    }

    .contact-miitt__info:nth-child(1),
    .contact-miitt__info:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
}

@media (max-width: 700px) {
    .contact-miitt {
        padding: 70px 0;
    }

    .contact-miitt__panel {
        padding: 18px;
        border-radius: 24px;
    }

    .contact-miitt__ai-card,
    .contact-miitt__form-card {
        padding: 24px;
        border-radius: 20px;
    }

    .contact-miitt__advisor-visual {
        min-height: 190px;
    }

    .miitt-advisor-svg {
        width: 190px;
        height: 190px;
    }

    .miitt-advisor__options {
        grid-template-columns: 1fr;
    }

    .contact-miitt__field-group {
        grid-template-columns: 1fr;
    }

    .contact-miitt__info-bar {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .contact-miitt__info {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 18px;
    }

    .contact-miitt__info:last-child {
        border-bottom: 0;
    }
}

.contact-miitt__info {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-miitt__info:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.contact-miitt__info:hover .contact-miitt__info-icon {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(255, 79, 163, 0.42);
}

.contact-miitt__info-icon {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
/* AJUSTE MÁS COMPACTO CONTACTO */

.contact-miitt {
    padding: 58px 0;
}

.contact-miitt__panel {
    padding: 26px;
    gap: 28px;
}

/* Lado izquierdo más compacto */
.contact-miitt__ai-card {
    padding: 22px 24px;
}

.contact-miitt__status {
    padding: 6px 11px;
    font-size: 11px;
}

.contact-miitt__ai-title {
    margin-top: 14px;
}

.contact-miitt__ai-title h2 {
    font-size: clamp(32px, 3.2vw, 42px);
}

.contact-miitt__ai-title p {
    margin-top: 8px;
    font-size: 14px;
}

/* Robot más pequeño */
.contact-miitt__advisor-visual {
    min-height: 150px;
    margin: 6px 0 10px;
}

.miitt-advisor-svg {
    width: 160px;
    height: 160px;
}

/* Burbuja principal */
.miitt-advisor__bubble {
    min-height: 60px;
    padding: 12px 16px;
    font-size: 12px;
    line-height: 1.4;
}

/* Título soluciones */
.contact-miitt__solutions-title {
    margin: 12px 0 8px;
    font-size: 13px;
}

/* Opciones más bajas */
.miitt-advisor__options {
    gap: 8px;
}

.miitt-advisor__option {
    min-height: 58px;
    padding: 8px 10px;
    grid-template-columns: 36px 1fr;
    column-gap: 10px;
}

.miitt-advisor__option-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
}

.miitt-advisor__option strong {
    font-size: 12px;
}

.miitt-advisor__option small {
    font-size: 10px;
}

/* Mensaje inferior izquierdo */
.miitt-advisor__bubble--result {
    min-height: 52px;
    margin-top: 10px;
}

/* Formulario derecho más compacto */
.contact-miitt__form-card {
    padding: 34px 38px;
}

.contact-miitt__form-header {
    margin-bottom: 18px;
}

.contact-miitt__form-header h3 {
    font-size: clamp(30px, 2.7vw, 40px);
}

.contact-miitt__form-header p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.45;
}

.contact-miitt__form {
    gap: 13px;
}

.contact-miitt__field-group {
    gap: 13px;
}

.contact-miitt__field {
    gap: 6px;
}

.contact-miitt__field input,
.contact-miitt__field select,
.contact-miitt__field textarea {
    padding: 13px 15px;
    border-radius: 13px;
}

.contact-miitt__field textarea {
    min-height: 95px;
}

.contact-miitt__submit {
    padding: 15px 20px;
}

.contact-miitt__safe {
    font-size: 11px;
}
/* FIX GLOBAL - ELIMINAR ESPACIO BLANCO A LA DERECHA */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
}

/* Evita que cualquier sección se quede más angosta o genere overflow */
.main-header,
main,
section,
.hero,
.business-challenge,
.industries-section,
.dashboard-section,
.allies-elevator,
.support-section,
.contact-miitt,
.partners-strip {
    width: 100%;
    max-width: 100%;
}

/* Mejor control de overflow moderno */
@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}
/* FIX MOBILE GENERAL */

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Header al ancho completo */

    .header__container {
        width: 100%;
        max-width: 100%;
    }

    /* Hero debe ocupar todo el ancho */
    .hero {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero__bg {
        left: 0;
        right: 0;
        width: 100%;
    }

    .hero__container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        margin: 0 auto;
    }

    .hero__content {
        width: 100%;
        max-width: 100%;
    }

    .hero__content h1,
    .hero__content p {
        max-width: 100%;
    }

    .hero__button {
        max-width: 100%;
    }

    .hero__features {
        width: 100%;
        max-width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero__feature {
        min-width: 0;
    }

    .hero__visual {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero__dashboard {
        width: 100%;
        max-width: 100%;
        transform: none;
    }

    .hero__orb {
        max-width: calc(100vw - 40px);
    }

    /* Evita que textos largos obliguen a la página a crecer */
    .title-line,
    .experience-intro__title .title-line,
    .business-challenge__title .title-line {
        white-space: normal;
    }

    /* Secciones con grids grandes */
    .business-challenge__top-container,
    .business-challenge__bottom-container,
    .industries-showcase,
    .dashboard-container,
    .contact-miitt__panel,
    .support-cta__container {
        width: 100%;
        max-width: 100%;
    }

    /* Carruseles y tracks no deben empujar el body */
    .partners-strip,
    .testimonials-section,
    .testimonials-wrapper,
    .allies-elevator {
        overflow-x: hidden;
    }

    .testimonials-track {
        max-width: 100%;
    }

    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: var(--header-height);
        z-index: 10000;
        background: var(--color-white);
    }

    body {
        padding-top: var(--header-height);
    }

    .header__nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100svh - var(--header-height) - var(--partners-height));
        overflow-y: auto;

        background: var(--color-white);
        z-index: 9999;

        padding: 14px 24px 18px;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;

        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
    }

    .header__nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .header__nav a {
        display: block;
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .header__dropdown {
        display: block;
        width: 100%;
    }

    .header__nav-link {
        width: 100%;
        justify-content: flex-start;
    }

    .header__submenu {
        position: static;
        min-width: 0;
        width: 100%;
        padding: 0 0 0 14px;
        margin: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;

        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        display: none;
    }

    .header__dropdown:hover .header__submenu,
    .header__dropdown.is-open .header__submenu {
        display: block;
        transform: none;
    }

    .header__submenu a {
        padding: 11px 0;
        font-size: 12px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        white-space: normal;
    }
}
/* FIX HEADER MOBILE - MENÚ SIEMPRE DEBAJO DEL HEADER */

/* =========================================================
   ECOSISTEMA MIITT PAGE
========================================================= */

.ecosistema-page {
    margin: 0;
    background: #eee8de;
    color: #04133a;
}

.ecosistema-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(4, 19, 58, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.ecosistema-header__content {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ecosistema-logo img {
    height: 50px;
    width: auto;
}

.ecosistema-header__cta {
    background: #ff5a0a;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ecosistema-header__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 90, 10, 0.28);
}

.ecosistema-hero {
    background: radial-gradient(circle at top, #293779 0%, #17225e 42%, #04133a 100%);
    color: #ffffff;
    text-align: center;
}

.ecosistema-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.ecosistema-hero__badge span {
    border-radius: 50%;
    background: rgba(255, 90, 10, 0.18);
    color: #ff5a0a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ecosistema-hero h1 {
    margin: 0 auto;
}

.ecosistema-hero p {
    color: rgba(255, 255, 255, 0.82);
}

.ecosistema-search input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
    outline: none;
}

.ecosistema-search input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.ecosistema-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.ecosistema-filter {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    background: transparent;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.25s ease;
}

.ecosistema-filter:hover,
.ecosistema-filter.active {
    background: #ff5a0a;
    border-color: #ff5a0a;
}

.ecosistema-section {
    width: min(1180px, calc(100% - 40px));
}

.ecosistema-section__title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    color: #ff5a0a;
}

.ecosistema-section__title h2 {
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.ecosistema-section__title::after {
    content: "";
    height: 1px;
    background: rgba(4, 19, 58, 0.15);
    flex: 1;
}

.ecosistema-section__title span {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 90, 10, 0.11);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ecosistema-section__title.green {
    color: #25a51c;
}

.ecosistema-section__title.green span {
    background: rgba(37, 165, 28, 0.12);
}

.ecosistema-section__title.purple {
    color: #5a5ef6;
}

.ecosistema-section__title.purple span {
    background: rgba(90, 94, 246, 0.12);
}

.ecosistema-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ecosistema-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    min-height: 310px;
    border-left: 5px solid #ff5a0a;
    box-shadow: 0 12px 28px rgba(4, 19, 58, 0.10);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ecosistema-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(4, 19, 58, 0.16);
}

.ecosistema-card__logo {
    width: 110px;
    height: 78px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(4, 19, 58, 0.10);
    box-shadow: 0 10px 22px rgba(4, 19, 58, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin-bottom: 22px;
}

.ecosistema-card__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.ecosistema-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    color: #04133a;
}

.ecosistema-card p {
    margin: 0;
    color: rgba(4, 19, 58, 0.72);
    line-height: 2.65;
    font-size: 15px;
}

.ecosistema-card__details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.25s ease;
}

.ecosistema-card.is-open .ecosistema-card__details {
    max-height: 320px;
    opacity: 1;
    margin-top: 20px;
}

.ecosistema-card__details h4 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #04133a;
}

.ecosistema-card__button {
    width: calc(100% - 56px);
    border: none;
    background: #ff5a0a;
    color: #ffffff;
    padding: 13px 18px;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
    position: absolute;
    bottom: 22px;
    left: 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ecosistema-card.is-open {
    padding-bottom: 88px;
}

.ecosistema-card__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 90, 10, 0.24);
}

.green-card {
    border-left-color: #25a51c;
}

.ecosistema-card__button.green {
    background: #25a51c;
}

.purple-card {
    border-left-color: #5a5ef6;
}

.ecosistema-card__button.purple {
    background: #5a5ef6;
}

.ecosistema-final-cta {
    width: min(980px, calc(100% - 40px));
    margin: 80px auto;
    text-align: center;
    background: #04133a;
    color: #ffffff;
    border-radius: 30px;
    padding: 56px 32px;
}

.ecosistema-final-cta h2 {
    font-size: clamp(30px, 4vw, 48px);
    margin: 0;
}

.ecosistema-final-cta p {
    max-width: 700px;
    margin: 18px auto 30px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.ecosistema-final-cta a {
    display: inline-flex;
    background: #ff5a0a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    padding: 15px 28px;
    font-weight: 800;
}

.ecosistema-card.is-hidden {
    display: none;
}

@media (max-width: 980px) {
    .ecosistema-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .ecosistema-header__content {
        width: min(100% - 28px, 1180px);
        height: 66px;
    }

    .ecosistema-logo img {
        height: 42px;
    }

    .ecosistema-header__cta {
        padding: 10px 14px;
        font-size: 12px;
    }

    .ecosistema-hero {
        padding: 56px 18px 48px;
    }

    .ecosistema-grid {
        grid-template-columns: 1fr;
    }

    .ecosistema-card {
        min-height: 300px;
    }

    .ecosistema-section {
        width: min(100% - 28px, 1180px);
        margin: 42px auto;
    }
}

/* =========================================================
   MODAL ECOSISTEMA
========================================================= */

html.modal-open,
body.modal-open {
    overflow: hidden;
    height: 100%;
    overscroll-behavior: none;
}

.ecosistema-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    overscroll-behavior: contain;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.ecosistema-modal.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ecosistema-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 19, 58, 0.68);
    backdrop-filter: blur(6px);
}

.ecosistema-modal__dialog {
    position: relative;
    width: min(1120px, calc(100% - 32px));
    max-height: calc(100vh - 40px);
    margin: 20px auto;
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(4, 19, 58, 0.28);
    z-index: 2;
    display: flex;
    flex-direction: column;
    overscroll-behavior: contain;
}

.ecosistema-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(4, 19, 58, 0.08);
    color: #04133a;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    transition: transform 0.2s ease, background 0.2s ease;
}

.ecosistema-modal__close:hover {
    transform: scale(1.05);
    background: rgba(4, 19, 58, 0.14);
}

.ecosistema-modal__header {
    display: flex;
    gap: 22px;
    align-items: center;
    padding: 34px 34px 28px;
    background: linear-gradient(135deg, #0c1f67 0%, #152a7f 45%, #1c2c8f 100%);
    color: #ffffff;
}

.ecosistema-modal__logo {
    width: 110px;
    height: 82px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    flex-shrink: 0;
}

.ecosistema-modal__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.ecosistema-modal__header-content {
    max-width: 760px;
}

.ecosistema-modal__eyebrow {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ecosistema-modal__header-content h2 {
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.05;
}

.ecosistema-modal__header-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    font-size: 16px;
}

.ecosistema-modal__body {
    padding: 32px 34px 36px;
    overflow-y: auto;
}

.ecosistema-modal__intro h3,
.ecosistema-modal__list-section h3,
.ecosistema-modal__cta h3,
.ecosistema-modal__panel h3 {
    margin: 0 0 14px;
    color: #04133a;
}

.ecosistema-modal__intro p,
.ecosistema-modal__panel p,
.ecosistema-modal__cta p,
.ecosistema-modal__benefit-card p {
    margin: 0;
    color: rgba(4, 19, 58, 0.76);
    line-height: 1.75;
    font-size: 15px;
}

.ecosistema-modal__intro {
    margin-bottom: 26px;
}

.ecosistema-modal__intro p + p {
    margin-top: 14px;
}

.ecosistema-modal__benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.ecosistema-modal__benefit-card {
    background: #f7f8fc;
    border: 1px solid rgba(4, 19, 58, 0.07);
    border-radius: 20px;
    padding: 22px 20px;
    box-shadow: 0 8px 18px rgba(4, 19, 58, 0.05);
}

.ecosistema-modal__benefit-card h4 {
    margin: 0 0 10px;
    color: #ff5a0a;
    font-size: 18px;
}

.ecosistema-modal__showcase {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 28px;
}

.ecosistema-modal__panel {
    background: #ffffff;
    border: 1px solid rgba(4, 19, 58, 0.08);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 10px 26px rgba(4, 19, 58, 0.08);
}

.ecosistema-modal__panel-content {
    margin-bottom: 18px;
}

.ecosistema-modal__tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 90, 10, 0.1);
    color: #ff5a0a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ecosistema-modal__image-wrapper {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(4, 19, 58, 0.08);
    background: #f6f7fb;
}

.ecosistema-modal__image-wrapper img {
    width: 100%;
    display: block;
    height: auto;
}

.ecosistema-modal__list-section {
    margin-bottom: 30px;
}

.ecosistema-modal__feature-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 12px;
    color: rgba(4, 19, 58, 0.82);
    line-height: 1.6;
}

.ecosistema-modal__cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    background: linear-gradient(135deg, #f9fbff 0%, #eef3ff 100%);
    border: 1px solid rgba(4, 19, 58, 0.08);
    border-radius: 24px;
    padding: 24px;
}

.ecosistema-modal__cta-button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #ff5a0a;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ecosistema-modal__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(255, 90, 10, 0.24);
}

@media (max-width: 900px) {
    .ecosistema-modal__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ecosistema-modal__benefits {
        grid-template-columns: 1fr;
    }

    .ecosistema-modal__cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .ecosistema-modal__dialog {
        width: min(100% - 16px, 1120px);
        max-height: calc(100vh - 16px);
        margin: 8px auto;
        border-radius: 20px;
    }

    .ecosistema-modal__header {
        padding: 26px 18px 22px;
    }

    .ecosistema-modal__body {
        padding: 22px 18px 26px;
    }

    .ecosistema-modal__close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .ecosistema-modal__logo {
        width: 92px;
        height: 72px;
    }
}

/* =========================================================
   MODAL VISUAL - MIITT DOCUMENTOS
========================================================= */

.ecosistema-modal__dialog--visual {
    width: min(1180px, calc(100% - 32px));
    max-height: calc(100vh - 36px);
    border-radius: 28px;
    overflow: hidden;
}

.ecosistema-modal__visual-header {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 30px 34px;
    background: linear-gradient(135deg, #081a59 0%, #13277a 55%, #ff5a0a 160%);
    color: #ffffff;
}

.ecosistema-modal__visual-header h2 {
    margin: 8px 0 8px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1;
}

.ecosistema-modal__visual-header p {
    margin: 0;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
    font-size: 16px;
}

.ecosistema-modal__visual-body {
    padding: 28px 34px 34px;
    overflow-y: auto;
}

.ecosistema-modal__quick-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.ecosistema-modal__quick-benefits article {
    background: #f7f8fc;
    border: 1px solid rgba(4, 19, 58, 0.08);
    border-radius: 18px;
    padding: 18px;
}

.ecosistema-modal__quick-benefits strong {
    display: block;
    color: #04133a;
    font-size: 16px;
    margin-bottom: 6px;
}

.ecosistema-modal__quick-benefits span {
    display: block;
    color: rgba(4, 19, 58, 0.68);
    font-size: 14px;
    line-height: 1.45;
}

.ecosistema-modal__visual-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.ecosistema-modal__visual-card {
    background: #ffffff;
    border: 1px solid rgba(4, 19, 58, 0.08);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 12px 28px rgba(4, 19, 58, 0.08);
}

.ecosistema-modal__visual-text {
    margin-bottom: 16px;
}

.ecosistema-modal__visual-text span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 90, 10, 0.1);
    color: #ff5a0a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.ecosistema-modal__visual-text h3 {
    margin: 0 0 8px;
    color: #04133a;
    font-size: clamp(20px, 2.5vw, 28px);
}

.ecosistema-modal__visual-text p {
    margin: 0;
    max-width: 760px;
    color: rgba(4, 19, 58, 0.72);
    font-size: 15px;
    line-height: 1.6;
}

.ecosistema-modal__visual-image {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(4, 19, 58, 0.08);
    background: #f6f7fb;
}

.ecosistema-modal__visual-image img {
    width: 100%;
    display: block;
    height: auto;
}

.ecosistema-modal__simple-cta {
    margin-top: 24px;
    background: #04133a;
    color: #ffffff;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.ecosistema-modal__simple-cta h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.ecosistema-modal__simple-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.55;
    max-width: 680px;
}

.ecosistema-modal__simple-cta a {
    flex-shrink: 0;
    display: inline-flex;
    text-decoration: none;
    background: #ff5a0a;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 800;
}

@media (max-width: 860px) {
    .ecosistema-modal__visual-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 26px 22px;
    }

    .ecosistema-modal__visual-body {
        padding: 22px;
    }

    .ecosistema-modal__quick-benefits {
        grid-template-columns: 1fr;
    }

    .ecosistema-modal__simple-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 580px) {
    .ecosistema-modal__dialog--visual {
        width: calc(100% - 16px);
        max-height: calc(100vh - 16px);
        margin: 8px auto;
        border-radius: 20px;
    }

    .ecosistema-modal__visual-header {
        padding: 22px 18px;
    }

    .ecosistema-modal__visual-body {
        padding: 18px;
    }

    .ecosistema-modal__simple-cta h3 {
        font-size: 20px;
    }
}

/* =========================================================
   MODAL VISUAL - MIITT BLOG
========================================================= */

.ecosistema-modal__visual-header.blog {
    background: linear-gradient(135deg, #303840 0%, #111827 55%, #d99ca6 160%);
}

.ecosistema-modal__blog-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.ecosistema-modal__blog-cards article {
    background: #ffffff;
    border: 1px solid rgba(4, 19, 58, 0.08);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 12px 28px rgba(4, 19, 58, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ecosistema-modal__blog-cards article:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(4, 19, 58, 0.14);
}

.ecosistema-modal__blog-icon {
    height: 150px;
    border-radius: 18px;
    background: #f7f8fc;
    border: 1px solid rgba(4, 19, 58, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    margin-bottom: 16px;
}

.ecosistema-modal__blog-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.ecosistema-modal__blog-cards h4 {
    margin: 0 0 8px;
    color: #04133a;
    font-size: 18px;
}

.ecosistema-modal__blog-cards p {
    margin: 0;
    color: rgba(4, 19, 58, 0.72);
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .ecosistema-modal__blog-cards {
        grid-template-columns: 1fr;
    }

    .ecosistema-modal__blog-icon {
        height: 130px;
    }
}

/* =========================================================
   MODAL VISUAL - MIITT ENSIGNER
========================================================= */

.ecosistema-modal__visual-header.ensigner {
    background: linear-gradient(135deg, #303840 0%, #101820 55%, #7f8a99 150%);
}

.ecosistema-modal__simple-cta.ensigner {
    background: linear-gradient(135deg, #101820 0%, #303840 100%);
}

.ecosistema-modal__visual-header.ensigner .ecosistema-modal__logo {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
}

.ecosistema-modal__visual-header.ensigner .ecosistema-modal__eyebrow {
    background: rgba(255, 255, 255, 0.14);
}

/* =========================================================
   MODALES VISUALES - VALIDADOR Y QBO
========================================================= */

.ecosistema-modal__visual-header.validador {
    background: linear-gradient(135deg, #0f3d1e 0%, #1f7a34 55%, #25a51c 150%);
}

.ecosistema-modal__simple-cta.validador {
    background: linear-gradient(135deg, #0f3d1e 0%, #1f7a34 100%);
}

.ecosistema-modal__visual-header.qbo {
    background: linear-gradient(135deg, #123f1a 0%, #2ca01c 55%, #6fdc62 150%);
}

.ecosistema-modal__simple-cta.qbo {
    background: linear-gradient(135deg, #123f1a 0%, #2ca01c 100%);
}

.ecosistema-modal__visual-header.validador .ecosistema-modal__logo,
.ecosistema-modal__visual-header.qbo .ecosistema-modal__logo {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
}

.ecosistema-modal__visual-header.validador .ecosistema-modal__eyebrow,
.ecosistema-modal__visual-header.qbo .ecosistema-modal__eyebrow {
    background: rgba(255, 255, 255, 0.14);
}

/* Ajuste imagen MIITT Validador */
.ecosistema-modal__visual-image--validador {
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f8fc;
    padding: 24px;
}

.ecosistema-modal__visual-image--validador img {
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* =========================================================
   MODALES VISUALES - COMANDA Y PRODUCCIÓN
========================================================= */

.ecosistema-modal__visual-header.comanda {
    background: linear-gradient(135deg, #25176d 0%, #5a5ef6 55%, #8b8fff 150%);
}

.ecosistema-modal__simple-cta.comanda {
    background: linear-gradient(135deg, #25176d 0%, #5a5ef6 100%);
}

.ecosistema-modal__visual-header.produccion {
    background: linear-gradient(135deg, #1a2d60 0%, #4357d8 55%, #7d8cff 150%);
}

.ecosistema-modal__simple-cta.produccion {
    background: linear-gradient(135deg, #1a2d60 0%, #4357d8 100%);
}

.ecosistema-modal__visual-header.comanda .ecosistema-modal__logo,
.ecosistema-modal__visual-header.produccion .ecosistema-modal__logo {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
}

.ecosistema-modal__visual-header.comanda .ecosistema-modal__eyebrow,
.ecosistema-modal__visual-header.produccion .ecosistema-modal__eyebrow {
    background: rgba(255, 255, 255, 0.14);
}

/* Para capturas de apps móviles o pantallas verticales */
.ecosistema-modal__visual-image--mobile {
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f8fc;
    padding: 24px;
}

.ecosistema-modal__visual-image--mobile img {
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 680px) {
    .ecosistema-modal__visual-image--mobile {
        height: 330px;
        padding: 16px;
    }
}

/* =========================================================
   ECOSISTEMA HERO - VERSIÓN MÁS PEQUEÑA
========================================================= */

.ecosistema-hero {
    padding: 28px 20px 30px;
}

.ecosistema-hero__badge {
    font-size: 17px;
    margin-bottom: 10px;
}

.ecosistema-hero__badge span {
    width: 30px;
    height: 30px;
    font-size: 15px;
}

.ecosistema-hero h1 {
    max-width: 680px;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.8px;
}

.ecosistema-hero p {
    max-width: 620px;
    margin: 12px auto 0;
    font-size: 14px;
    line-height: 1.45;
}

.ecosistema-search {
    margin: 18px auto 0;
    max-width: 560px;
}

.ecosistema-search input {
    height: 42px;
    border-radius: 13px;
    font-size: 13px;
    padding: 0 16px;
}

.ecosistema-filters {
    margin-top: 14px;
    gap: 8px;
}

.ecosistema-filter {
    padding: 7px 14px;
    font-size: 12px;
}

/* Cards más cerca del hero */
.ecosistema-section {
    margin: 32px auto;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {
    .ecosistema-hero {
        padding: 24px 16px 26px;
    }

    .ecosistema-hero__badge {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .ecosistema-hero__badge span {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .ecosistema-hero h1 {
        font-size: clamp(24px, 7vw, 32px);
        line-height: 1.1;
    }

    .ecosistema-hero p {
        margin-top: 10px;
        font-size: 13px;
        line-height: 1.45;
    }

    .ecosistema-search {
        margin-top: 16px;
    }

    .ecosistema-search input {
        height: 40px;
    }

    .ecosistema-filters {
        margin-top: 12px;
    }

    .ecosistema-filter {
        padding: 7px 12px;
        font-size: 11px;
    }

    .ecosistema-section {
        margin: 26px auto;
    }
}

/* Eliminar espacio superior de la página Ecosistema MIITT */
html {
    margin: 0;
    padding: 0;
}

body.ecosistema-page {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100%;
}

body.ecosistema-page .ecosistema-header {
    margin-top: 0 !important;
    top: 0;
}

@keyframes miitt-spin-cw {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes miitt-spin-ccw {
    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes miitt-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .25;
        transform: scale(.7);
    }
}

@media (max-width: 1023px) {
    .miitt-highlights {
        min-height: auto;
        padding: 76px 16px 72px;
    }

    .miitt-highlights__eyebrow span {
        width: 54px;
    }

    .miitt-highlights__eyebrow small {
        font-size: 8px;
        letter-spacing: .34em;
    }

    .miitt-highlights__header {
        margin-bottom: 28px;
    }

    .miitt-highlights__stage {
        width: min(100%, 520px);
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        margin: 0 auto;
    }

    .miitt-highlights__lines,
    .miitt-orbit-ring,
    .miitt-orbit-glow {
        display: none;
    }

    .miitt-highlights__center {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: auto;
        transform: none;
        grid-column: 1 / -1;
        display: grid;
        place-items: center;
        margin-bottom: 4px;
    }

    .miitt-center-logo {
        width: 88px;
        height: 88px;
        padding: 12px;
    }

    .miitt-doc-card,
    .miitt-qbo-card {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        transform: none;
    }

    .miitt-doc-card {
        min-height: 218px;
    }

    .miitt-qbo-card {
        min-height: 218px;
    }

    .miitt-highlights__stage.has-hover .miitt-doc-card:not(.is-active),
    .miitt-highlights__stage.has-hover .miitt-qbo-card:not(.is-active) {
        opacity: .3;
        transform: scale(.96);
    }

    .miitt-highlights__nav {
        margin-top: 28px;
    }
}

@media (max-width: 520px) {
    .miitt-highlights__stage {
        grid-template-columns: 1fr;
        max-width: 310px;
    }

    .miitt-doc-card,
    .miitt-qbo-card {
        max-width: 270px;
        margin: 0 auto;
    }
}

/* QBO del mismo tamaño que las demás cards */

/* Ajuste del frente de QBO para aprovechar el nuevo alto */

/* Estado AUTO-SYNC más compacto */

/* Líneas decorativas más parecidas a las otras cards */

/* Reveal de QBO dentro del mismo tamaño */

/* FIX MOBILE: QBO del mismo tamaño que las demás cards */
@media (max-width: 1023px) {
    .miitt-doc-card,
    .miitt-qbo-card {
        width: 100% !important;
        max-width: 270px !important;
        aspect-ratio: 3 / 4 !important;
        min-height: auto !important;
        height: auto !important;
        margin: 0 auto !important;
    }

    .miitt-qbo-card {
        width: 100% !important;
    }

    .miitt-qbo-card__front {
        padding: 18px 16px 14px;
    }

    .miitt-qbo-card__status {
        margin-top: 34px;
    }

    .miitt-qbo-card__lines {
        margin-top: 30px;
    }
}

@media (max-width: 520px) {
    .miitt-highlights__stage {
        grid-template-columns: 1fr;
        max-width: 310px;
        gap: 18px;
    }

    .miitt-doc-card,
    .miitt-qbo-card {
        width: 270px !important;
        max-width: 100% !important;
        aspect-ratio: 3 / 4 !important;
        min-height: auto !important;
        height: auto !important;
    }
}

/* =========================================================
   MIITT HIGHLIGHTS - TIPOGRAFÍA MÁS AMIGABLE Y LEGIBLE
   Pegar al final del CSS
========================================================= */

/* Header principal */

/* Eyebrow superior */

/* Cards: títulos más claros */

/* Watermark más suave para que no compita con el texto */

/* Footer de las cards */

/* Íconos menos técnicos */

/* Reveal al hacer hover: más legible y comercial */

/* QBO */

/* Texto auto-sync del SVG */

/* Navegación inferior */

/* Ajuste visual general: un poco más de aire */

/* Responsive */
@media (max-width: 1023px) {
    .miitt-highlights__header h2 {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
        line-height: 1.06;
    }

    .miitt-highlights__header p {
        font-size: .98rem;
        color: rgba(255, 255, 255, .72);
    }

    .miitt-doc-card h3,
    .miitt-qbo-card h3 {
        font-size: .96rem;
    }

    .miitt-doc-card p {
        font-size: .74rem;
    }

    .miitt-doc-card__reveal h3 {
        font-size: 1.22rem;
    }

    .miitt-doc-card__reveal > strong {
        font-size: .88rem;
    }

    .miitt-doc-card__reveal li {
        font-size: .82rem;
    }
}

@media (max-width: 520px) {
    .miitt-highlights {
        padding-top: 64px;
    }

    .miitt-highlights__header h2 {
        font-size: 2.35rem;
        letter-spacing: -0.04em;
    }

    .miitt-highlights__eyebrow {
        gap: 10px;
    }

    .miitt-highlights__eyebrow small {
        font-size: .64rem;
        letter-spacing: .16em;
    }

    .miitt-highlights__header p {
        max-width: 300px;
        font-size: .95rem;
        line-height: 1.55;
    }

    .miitt-doc-card header small,
    .miitt-qbo-card header small {
        font-size: .5rem;
        letter-spacing: .18em;
    }

    .miitt-doc-card h3,
    .miitt-qbo-card h3 {
        font-size: .94rem;
    }

    .miitt-doc-card p {
        font-size: .72rem;
    }

    .miitt-doc-card footer strong {
        font-size: .72rem;
    }
}

@media (max-width: 768px) {
    .scroll-top-btn {
        right: 16px;
        bottom: 105px;
        width: 52px;
        height: 52px;
    }
}

.miitt-highlights {
    position: relative;
    min-height: 100vh;
    padding: 96px 20px 90px;
    background: #04133A;
    overflow: hidden;
    isolation: isolate;
}

.miitt-highlights *,
.miitt-highlights *::before,
.miitt-highlights *::after {
    box-sizing: border-box;
}

.miitt-highlights__blob {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    z-index: -1;
}

.miitt-highlights__blob--one {
    width: 700px;
    height: 700px;
    left: -280px;
    top: -240px;
    background: #3B4FBF;
    opacity: 0.05;
    filter: blur(170px);
}

.miitt-highlights__blob--two {
    width: 500px;
    height: 500px;
    right: -180px;
    bottom: -160px;
    background: #3B4FBF;
    opacity: 0.04;
    filter: blur(160px);
    transition: background-color .8s ease, opacity .8s ease;
}

.miitt-highlights__header {
    position: relative;
    z-index: 3;
    max-width: 980px;
    margin: 0 auto 28px;
    text-align: center;
}

.miitt-highlights__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 14px;
}

.miitt-highlights__eyebrow span {
    width: 120px;
    height: 1px;
    background: rgba(255, 255, 255, .16);
}

.miitt-highlights__header h2 {
    margin: 0;
    color: #fff;
}

.miitt-highlights__header h2 strong {
    font-weight: 900;
    background: linear-gradient(90deg, #22D3EE, #A78BFA, #F472B6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.miitt-highlights__header p {
    padding-bottom: 20px;
    margin: 18px auto 0;
}

.miitt-highlights__stage {
    position: relative;
    width: 820px;
    height: 980px;
    margin: 0 auto;
}

.miitt-highlights__lines {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 820px;
    height: 980px;
    transform: translate(-50%, -50%);
    overflow: visible;
    pointer-events: none;
    z-index: 1;
}

.miitt-line {
    stroke: var(--line-color, rgba(255, 255, 255, .16));
    stroke-width: 1;
    stroke-opacity: .12;
    stroke-dasharray: 5 9;
    transition: stroke-opacity .4s ease, stroke-width .4s ease;
}

.miitt-line[data-line="factura"] { --line-color: #22D3EE; }
.miitt-line[data-line="comanda"] { --line-color: #FB923C; }
.miitt-line[data-line="precuenta"] { --line-color: #A78BFA; }
.miitt-line[data-line="compras"] { --line-color: #FBBF24; }
.miitt-line[data-line="ajuste"] { --line-color: #34D399; }
.miitt-line[data-line="traspaso"] { --line-color: #F472B6; }
.miitt-line[data-line="inventario"] { --line-color: #2DD4BF; }
.miitt-line[data-line="ats"] { --line-color: #F87171; }

.miitt-line.is-active {
    stroke-width: 1.5;
    stroke-opacity: .5;
}

.miitt-line-qbo {
    stroke: url(#miittQboGradient);
    stroke-width: 1;
    stroke-opacity: .23;
    stroke-dasharray: 6 6;
    marker-end: url(#miittArrowQbo);
    transition: stroke-opacity .4s ease, stroke-width .4s ease;
}

.miitt-line-qbo.is-active {
    stroke-width: 1.8;
    stroke-opacity: .7;
}

.miitt-qbo-label {
    fill: rgba(255, 255, 255, .26);
    transition: fill .3s ease;
}

.miitt-qbo-label.is-active {
    fill: rgba(34, 197, 94, .9);
}

.miitt-traveler {
    fill: #fff;
    opacity: 0;
    filter: drop-shadow(0 0 8px currentColor);
}

.miitt-traveler--qbo {
    fill: #22C55E;
}

.miitt-highlights__center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 124px;
    height: 124px;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.miitt-center-logo {
    position: relative;
    z-index: 4;
    width: 124px;
    height: 124px;
    padding: 17px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .42);
}

.miitt-center-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.miitt-orbit-ring,
.miitt-orbit-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.miitt-orbit-ring--outer {
    width: 176px;
    height: 176px;
    border: 1px dashed rgba(59, 79, 191, .38);
    animation: miitt-spin-cw 28s linear infinite;
}

.miitt-orbit-ring--inner {
    width: 142px;
    height: 142px;
    border: 1px dashed rgba(59, 79, 191, .28);
    animation: miitt-spin-ccw 18s linear infinite;
}

.miitt-orbit-glow {
    width: 134px;
    height: 134px;
    box-shadow: 0 0 0 2px rgba(59, 79, 191, .18), 0 0 34px rgba(59, 79, 191, .18);
    transition: box-shadow .5s ease;
}

.miitt-doc-card,
.miitt-qbo-card {
    position: absolute;
    left: calc(50% + var(--x));
    top: calc(50% + var(--y));
    transform: translate(-50%, -50%) rotateZ(var(--paper-rotate, 0deg));
    z-index: 4;
    border-radius: 16px;
    background: #0B0E1C;
    border: 1px solid rgba(255, 255, 255, .07);
    box-shadow: 0 6px 28px rgba(0, 0, 0, .55);
    transform-style: preserve-3d;
    will-change: transform, opacity;
    transition:
        transform .35s ease,
        opacity .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
    perspective: 700px;
    overflow: hidden;
}

.miitt-doc-card {
    width: 172px;
    aspect-ratio: 3 / 4;
}

.miitt-doc-card::before,
.miitt-qbo-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--doc-color) 24%, transparent), transparent 46%);
    opacity: .32;
    pointer-events: none;
}

.miitt-doc-card__bar {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--doc-color);
}

.miitt-doc-card__front,
.miitt-qbo-card__front {
    position: absolute;
    inset: 0;
    transition: opacity .25s ease;
}

.miitt-doc-card__watermark {
    position: absolute;
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%);
    font-weight: 900;
    color: var(--doc-color);
    white-space: nowrap;
    pointer-events: none;
}

.miitt-doc-card header,
.miitt-qbo-card header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.miitt-doc-card header small,
.miitt-qbo-card header small {
    display: block;
    margin-bottom: 4px;
    color: var(--doc-color);
}

.miitt-doc-card h3,
.miitt-qbo-card h3 {
    margin: 0;
    color: #fff;
}

.miitt-doc-card p {
    margin: 5px 0 0;
}

.miitt-doc-card__icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--doc-color);
    background: color-mix(in srgb, var(--doc-color) 13%, transparent);
    border: 1px solid color-mix(in srgb, var(--doc-color) 34%, transparent);
    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
}

.miitt-doc-card__body {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 9px;
}

.miitt-doc-card__body span,
.miitt-qbo-card__lines span {
    display: block;
    height: 4px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--doc-color) 18%, transparent);
}

.miitt-doc-card__body span:nth-child(even),
.miitt-qbo-card__lines span:nth-child(even) {
    height: 2.5px;
    background: rgba(255, 255, 255, .055);
}

.miitt-doc-card footer {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.miitt-doc-card footer strong {
    color: var(--doc-color);
}

.miitt-doc-card__reveal {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        155deg,
        color-mix(in srgb, var(--doc-color) 16%, transparent),
        color-mix(in srgb, var(--doc-color) 8%, transparent),
        rgba(11, 14, 28, .97)
    );
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .26s ease, transform .26s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.miitt-doc-card__reveal-icon {
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--doc-color);
    border: 1px solid color-mix(in srgb, var(--doc-color) 48%, transparent);
    background: color-mix(in srgb, var(--doc-color) 10%, transparent);
    font-family: "JetBrains Mono", monospace;
    font-size: 1rem;
    font-weight: 800;
}

.miitt-doc-card__reveal h3 {
    margin: 0 0 6px;
    color: #fff;
}

.miitt-doc-card__reveal > strong {
    color: var(--doc-color);
}

.miitt-doc-card__reveal ul {
    display: grid;
    padding: 0;
    margin: 0;
    list-style: none;
}

.miitt-doc-card__reveal li {
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(10px);
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
}

.miitt-doc-card__reveal li span {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--doc-color);
    background: color-mix(in srgb, var(--doc-color) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--doc-color) 30%, transparent);
}

.miitt-doc-card:hover,
.miitt-qbo-card:hover {
    z-index: 10;
    border-color: color-mix(in srgb, var(--doc-color) 58%, transparent);
    box-shadow: 0 28px 70px var(--doc-glow), 0 0 0 1px color-mix(in srgb, var(--doc-color) 24%, transparent);
}

.miitt-doc-card:hover .miitt-doc-card__front,
.miitt-qbo-card:hover .miitt-qbo-card__front {
    opacity: 0;
}

.miitt-doc-card:hover .miitt-doc-card__reveal,
.miitt-qbo-card:hover .miitt-doc-card__reveal {
    opacity: 1;
    transform: translateY(0);
}

.miitt-doc-card:hover .miitt-doc-card__reveal li,
.miitt-qbo-card:hover .miitt-doc-card__reveal li {
    opacity: 1;
    transform: translateY(0);
}

.miitt-doc-card:hover .miitt-doc-card__reveal li:nth-child(1),
.miitt-qbo-card:hover .miitt-doc-card__reveal li:nth-child(1) {
    transition-delay: .06s;
}

.miitt-doc-card:hover .miitt-doc-card__reveal li:nth-child(2),
.miitt-qbo-card:hover .miitt-doc-card__reveal li:nth-child(2) {
    transition-delay: .12s;
}

.miitt-doc-card:hover .miitt-doc-card__reveal li:nth-child(3),
.miitt-qbo-card:hover .miitt-doc-card__reveal li:nth-child(3) {
    transition-delay: .18s;
}

.miitt-highlights__stage.has-hover .miitt-doc-card:not(.is-active),
.miitt-highlights__stage.has-hover .miitt-qbo-card:not(.is-active) {
    opacity: .3;
    transform: translate(-50%, -50%) rotateZ(var(--paper-rotate, 0deg)) scale(.93);
}

.miitt-qbo-card__qb {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: #22C55E;
    color: #052e16;
    font-family: "JetBrains Mono", monospace;
    font-weight: 900;
}

.miitt-qbo-card__status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #22C55E;
    background: rgba(34, 197, 94, .08);
    border: 1px solid rgba(34, 197, 94, .22);
}

.miitt-qbo-card__status span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22C55E;
    animation: miitt-pulse 1.4s ease-in-out infinite;
}

.miitt-qbo-card__lines {
    display: grid;
}

.miitt-highlights__nav {
    position: relative;
    z-index: 4;
    display: grid;
    justify-items: center;
    gap: 10px;
    margin-top: -34px;
}

.miitt-highlights__nav div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.miitt-highlights__nav span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .44);
    opacity: .38;
    transition: opacity .3s ease, background-color .3s ease, transform .3s ease;
}

.miitt-highlights__nav span.is-active {
    opacity: 1;
    transform: scale(1.35);
    background: var(--dot-color, #fff);
}

@keyframes miitt-spin-cw {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes miitt-spin-ccw {
    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes miitt-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .25;
        transform: scale(.7);
    }
}

@media (max-width: 1023px) {
    .miitt-highlights {
        min-height: auto;
        padding: 76px 16px 72px;
    }

    .miitt-highlights__eyebrow span {
        width: 54px;
    }

    .miitt-highlights__eyebrow small {
        font-size: 8px;
        letter-spacing: .34em;
    }

    .miitt-highlights__header {
        margin-bottom: 28px;
    }

    .miitt-highlights__stage {
        width: min(100%, 520px);
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        margin: 0 auto;
    }

    .miitt-highlights__lines,
    .miitt-orbit-ring,
    .miitt-orbit-glow {
        display: none;
    }

    .miitt-highlights__center {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: auto;
        transform: none;
        grid-column: 1 / -1;
        display: grid;
        place-items: center;
        margin-bottom: 4px;
    }

    .miitt-center-logo {
        width: 88px;
        height: 88px;
        padding: 12px;
    }

    .miitt-doc-card,
    .miitt-qbo-card {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        transform: none;
    }

    .miitt-doc-card {
        min-height: 218px;
    }

    .miitt-qbo-card {
        min-height: 218px;
    }

    .miitt-highlights__stage.has-hover .miitt-doc-card:not(.is-active),
    .miitt-highlights__stage.has-hover .miitt-qbo-card:not(.is-active) {
        opacity: .3;
        transform: scale(.96);
    }

    .miitt-highlights__nav {
        margin-top: 28px;
    }
}

@media (max-width: 520px) {
    .miitt-highlights__stage {
        grid-template-columns: 1fr;
        max-width: 310px;
    }

    .miitt-doc-card,
    .miitt-qbo-card {
        max-width: 270px;
        margin: 0 auto;
    }
}

.miitt-doc-card__reveal {
    padding: 16px 14px;
}

.miitt-doc-card__reveal-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
}

.miitt-doc-card__reveal > strong {
    margin-bottom: 12px;
}

.miitt-doc-card__reveal ul {
    gap: 7px;
}

.miitt-doc-card__reveal li span {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    font-size: 9px;
}

.miitt-qbo-card .miitt-doc-card__reveal {
    padding-top: 14px;
}

/* QBO del mismo tamaño que las demás cards */
.miitt-qbo-card {
    width: 172px;
    aspect-ratio: 3 / 4;
    min-height: auto;
}

/* Ajuste del frente de QBO para aprovechar el nuevo alto */
.miitt-qbo-card__front {
    padding: 18px 16px 14px;
}

.miitt-qbo-card header {
    align-items: flex-start;
}

.miitt-qbo-card__qb {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    font-size: 10px;
}

.miitt-qbo-card h3 {
    line-height: 1;
}

.miitt-qbo-card header small {
    font-size: 7px;
    letter-spacing: 0.42em;
}

/* Estado AUTO-SYNC más compacto */
.miitt-qbo-card__status {
    margin-top: 32px;
    padding: 8px 10px;
    gap: 7px;
}

/* Líneas decorativas más parecidas a las otras cards */
.miitt-qbo-card__lines {
    margin-top: 26px;
    gap: 10px;
}

.miitt-qbo-card__lines span {
    height: 4px;
}

/* Reveal de QBO dentro del mismo tamaño */
.miitt-qbo-card .miitt-doc-card__reveal {
    justify-content: center;
    padding: 16px 14px;
}

.miitt-qbo-card .miitt-doc-card__reveal-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 14px;
    font-size: 0.9rem;
}

.miitt-qbo-card .miitt-doc-card__reveal h3 {
    font-size: 1.02rem;
    margin-bottom: 5px;
}

.miitt-qbo-card .miitt-doc-card__reveal > strong {
    font-size: 0.72rem;
    margin-bottom: 12px;
    line-height: 1.2;
}

.miitt-qbo-card .miitt-doc-card__reveal ul {
    gap: 7px;
}

.miitt-qbo-card .miitt-doc-card__reveal li {
    font-size: 0.66rem;
    line-height: 1.15;
}

.miitt-qbo-card .miitt-doc-card__reveal li span {
    width: 18px;
    height: 18px;
    font-size: 8px;
    border-radius: 6px;
}

/* FIX MOBILE: QBO del mismo tamaño que las demás cards */
@media (max-width: 1023px) {
    .miitt-doc-card,
    .miitt-qbo-card {
        width: 100% !important;
        max-width: 270px !important;
        aspect-ratio: 3 / 4 !important;
        min-height: auto !important;
        height: auto !important;
        margin: 0 auto !important;
    }

    .miitt-qbo-card {
        width: 100% !important;
    }

    .miitt-qbo-card__front {
        padding: 18px 16px 14px;
    }

    .miitt-qbo-card__status {
        margin-top: 34px;
    }

    .miitt-qbo-card__lines {
        margin-top: 30px;
    }
}

@media (max-width: 520px) {
    .miitt-highlights__stage {
        grid-template-columns: 1fr;
        max-width: 310px;
        gap: 18px;
    }

    .miitt-doc-card,
    .miitt-qbo-card {
        width: 270px !important;
        max-width: 100% !important;
        aspect-ratio: 3 / 4 !important;
        min-height: auto !important;
        height: auto !important;
    }
}

/* =========================================================
   MIITT HIGHLIGHTS - TIPOGRAFÍA MÁS AMIGABLE Y LEGIBLE
   Pegar al final del CSS
========================================================= */

.miitt-highlights {
    font-family: "Onest", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Header principal */
.miitt-highlights__header h2 {
    font-size: 43px;
    line-height: 1.04;
    letter-spacing: -0.045em;
    font-weight: 900;
}

.miitt-highlights__header p {
    max-width: 540px;
    margin-top: 20px;
    color: rgba(255, 255, 255, .68);
    font-size: clamp(.98rem, 1.6vw, 1.08rem);
    line-height: 1.65;
    font-weight: 400;
}

/* Eyebrow superior */
.miitt-highlights__eyebrow small {
    font-family: "Onest", system-ui, sans-serif;
    font-size: .72rem;
    letter-spacing: .24em;
    font-weight: 700;
    color: rgba(255, 255, 255, .48);
}

/* Cards: títulos más claros */
.miitt-doc-card header small,
.miitt-qbo-card header small {
    font-family: "Onest", system-ui, sans-serif;
    font-size: .52rem;
    letter-spacing: .22em;
    font-weight: 800;
    text-transform: uppercase;
}

.miitt-doc-card h3,
.miitt-qbo-card h3 {
    font-family: "Onest", system-ui, sans-serif;
    font-size: .92rem;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.miitt-doc-card p {
    font-family: "Onest", system-ui, sans-serif;
    font-size: .72rem;
    line-height: 1.25;
    color: rgba(255, 255, 255, .62);
    font-weight: 500;
}

/* Watermark más suave para que no compita con el texto */
.miitt-doc-card__watermark {
    font-family: "Onest", system-ui, sans-serif;
    font-size: 3.35rem;
    letter-spacing: -0.065em;
    opacity: .045;
}

/* Footer de las cards */
.miitt-doc-card footer {
    font-family: "Onest", system-ui, sans-serif;
}

.miitt-doc-card footer small {
    font-size: .62rem;
    color: rgba(255, 255, 255, .38);
    font-weight: 600;
}

.miitt-doc-card footer strong {
    font-size: .72rem;
    font-weight: 800;
}

/* Íconos menos técnicos */
.miitt-doc-card__icon,
.miitt-doc-card__reveal-icon,
.miitt-qbo-card__qb {
    font-family: "Onest", system-ui, sans-serif;
    font-weight: 900;
}

/* Reveal al hacer hover: más legible y comercial */
.miitt-doc-card__reveal h3 {
    font-family: "Onest", system-ui, sans-serif;
    font-size: 1.18rem;
    line-height: 1.12;
    letter-spacing: -0.025em;
    font-weight: 900;
}

.miitt-doc-card__reveal > strong {
    font-family: "Onest", system-ui, sans-serif;
    font-size: .84rem;
    line-height: 1.35;
    font-weight: 800;
}

.miitt-doc-card__reveal li {
    font-family: "Onest", system-ui, sans-serif;
    font-size: .78rem;
    line-height: 1.3;
    font-weight: 500;
    color: rgba(255, 255, 255, .86);
}

/* QBO */
.miitt-qbo-card h3 {
    font-size: .92rem;
}

.miitt-qbo-card__status {
    font-family: "Onest", system-ui, sans-serif;
    font-size: .58rem;
    letter-spacing: .06em;
    font-weight: 800;
}

/* Texto auto-sync del SVG */
.miitt-qbo-label {
    font-family: "Onest", system-ui, sans-serif;
    font-size: 9px;
    letter-spacing: .08em;
}

/* Navegación inferior */
.miitt-highlights__nav small {
    font-family: "Onest", system-ui, sans-serif;
    font-size: .72rem;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .52);
    font-weight: 600;
}

/* Ajuste visual general: un poco más de aire */
.miitt-doc-card__front,
.miitt-qbo-card__front {
    padding: 18px 16px 15px;
}

.miitt-doc-card__body {
    margin-top: 42px;
}

/* Responsive */
@media (max-width: 1023px) {
    .miitt-highlights__header h2 {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
        line-height: 1.06;
    }

    .miitt-highlights__header p {
        font-size: .98rem;
        color: rgba(255, 255, 255, .72);
    }

    .miitt-doc-card h3,
    .miitt-qbo-card h3 {
        font-size: .96rem;
    }

    .miitt-doc-card p {
        font-size: .74rem;
    }

    .miitt-doc-card__reveal h3 {
        font-size: 1.22rem;
    }

    .miitt-doc-card__reveal > strong {
        font-size: .88rem;
    }

    .miitt-doc-card__reveal li {
        font-size: .82rem;
    }
}

@media (max-width: 520px) {
    .miitt-highlights {
        padding-top: 64px;
    }

    .miitt-highlights__header h2 {
        font-size: 2.35rem;
        letter-spacing: -0.04em;
    }

    .miitt-highlights__eyebrow {
        gap: 10px;
    }

    .miitt-highlights__eyebrow small {
        font-size: .64rem;
        letter-spacing: .16em;
    }

    .miitt-highlights__header p {
        max-width: 300px;
        font-size: .95rem;
        line-height: 1.55;
    }

    .miitt-doc-card header small,
    .miitt-qbo-card header small {
        font-size: .5rem;
        letter-spacing: .18em;
    }

    .miitt-doc-card h3,
    .miitt-qbo-card h3 {
        font-size: .94rem;
    }

    .miitt-doc-card p {
        font-size: .72rem;
    }

    .miitt-doc-card footer strong {
        font-size: .72rem;
    }
}

.scroll-top-btn {
    position: fixed;
    right: 24px;
    bottom: 120px;
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    background: transparent;
    padding: 0;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.scroll-top-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 50%;
}

.scroll-top-btn:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
}

.scroll-top-btn:active {
    transform: translateY(-1px) scale(0.98);
}

@media (max-width: 768px) {
    .scroll-top-btn {
        right: 16px;
        bottom: 25px;
        width: 52px;
        height: 52px;
    }
}

/* Módulos añadidos: Inventario y ATS */
.miitt-doc-card[data-doc="ats"] .miitt-doc-card__icon {
    font-size: 9px;
    letter-spacing: .02em;
}

.miitt-doc-card[data-doc="ats"] .miitt-doc-card__reveal-icon {
    font-size: .72rem;
    letter-spacing: .03em;
}

@media (max-width: 767px) {
    .partners-strip {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .partners-strip {
        display: none !important;
    }
    .header__dropdown {
        width: 100%;
    }

    .header__dropdown > .header__nav-link {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header__dropdown > .header__nav-link::after {
        content: "▾";
        margin-left: 8px;
        font-size: 12px;
        transition: transform 0.25s ease;
    }

    .header__dropdown.is-open > .header__nav-link::after {
        transform: rotate(180deg);
    }

    .header__submenu {
        display: block !important;
        position: static !important;
        width: 100%;
        min-width: 0;
        max-height: 0;
        margin: 0;
        padding: 0 0 0 15px;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: none !important;
        box-shadow: none;
        transition:
            max-height 0.3s ease,
            opacity 0.25s ease,
            visibility 0.25s ease;
    }

    .header__dropdown.is-open > .header__submenu {
        max-height: 250px;
        padding-top: 6px;
        padding-bottom: 8px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .header__submenu a {
        display: block;
        width: 100%;
        padding: 10px 12px;
        font-size: 13px;
        border-bottom: 1px solid rgba(31, 55, 105, 0.1);
    }
}

/* =========================================================
   CONTACTO MIITT - RESPONSIVE CELULAR
========================================================= */

@media (max-width: 768px) {
    /* Ocultar toda la columna de Miitt AI y soluciones */
    .contact-miitt__desktop-only {
        display: none !important;
    }

    /* Dejar solamente una columna */
    .contact-miitt__panel {
        display: block !important;
        grid-template-columns: 1fr !important;
    }

    /* El formulario ocupa todo el ancho disponible */
    .contact-miitt__form-card {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }
    /* No modifica el espacio superior del body */
    body {
        background-color: #07143a;
    }

    .contact-miitt {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        min-height: auto !important;
        background: #07143a !important;
        overflow: hidden;
    }

    .contact-miitt__bg {
        bottom: 0 !important;
        height: 100% !important;
    }

    .contact-miitt__container {
        margin-bottom: 0 !important;
        padding-bottom: 24px !important;
    }

    .contact-miitt__panel {
        margin-bottom: 0 !important;
    }

    .contact-miitt__info-bar {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 768px) {
    .testimonials-track {
        scroll-behavior: smooth;
    }

    .testimonial-card {
        scroll-snap-stop: always;
    }
}

@media (max-width: 768px) {
    .testimonial-media {
        height: 230px;
        min-height: 230px;
        background: #111b3e;
    }

    .testimonial-media img {
        padding: 0;
        object-fit: contain !important;
        object-position: center center !important;
    }
}

@media (max-width: 480px) {
    .testimonial-media {
        height: 210px;
        min-height: 210px;
    }
}

/* =========================================================
   FIX SOLUCIONES MIITT - LAPTOPS, PANTALLAS BAJAS Y ZOOM
========================================================= */

@media (min-width: 993px) {

    /* Evita que el título quede oculto debajo del header */
    #industrias,
    .industries-section {
        scroll-margin-top: calc(var(--header-height) + 24px);
    }

    /* Espacio superior, lateral y sobre el carrusel inferior */
    .industries-section {
        padding-top: 56px !important;
        padding-right: 0 !important;
        padding-bottom: calc(var(--partners-height) + 56px) !important;
        padding-left: 0 !important;
    }

    .industries-container {
        width: min(1180px, calc(100% - 64px)) !important;
        max-width: 1180px !important;
        margin-inline: auto !important;
    }

    /*
     * Elimina la altura fija que corta el contenido
     * cuando aumenta el zoom.
     */
    .industry-detail {
        height: auto !important;
        min-height: 596px !important;
        max-height: none !important;
        overflow: hidden !important;
    }

    .industry-detail__content {
        width: min(680px, 78%) !important;
        height: auto !important;
        min-height: 596px !important;
        max-width: none !important;

        padding: 42px 38px 42px !important;

        justify-content: flex-start !important;
    }

    .industry-detail__bottom {
        margin-top: 26px !important;
        padding-top: 22px !important;
    }
}

/* Laptop pequeña, zoom 125 % o pantalla con poca altura */
@media (min-width: 993px) and (max-width: 1440px),
       (min-width: 993px) and (max-height: 820px) {

    .industries-section {
        padding-top: 48px !important;
        padding-bottom: calc(var(--partners-height) + 48px) !important;
    }

    .industries-container {
        width: min(1120px, calc(100% - 72px)) !important;
        max-width: 1120px !important;
    }

    .industries-showcase {
        grid-template-columns: 240px minmax(0, 1fr) !important;
        gap: 24px !important;
    }

    .industries-tabs {
        width: 220px !important;
        gap: 12px !important;
    }

    .industry-tab {
        width: 220px !important;
        height: 88px !important;
        min-height: 88px !important;
        max-height: 88px !important;

        padding: 13px !important;
        grid-template-columns: 56px minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    .industry-tab__icon {
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
    }

    .industry-tab__icon img {
        max-width: 46px !important;
        max-height: 42px !important;
    }

    .industry-detail {
        height: auto !important;
        min-height: 560px !important;
        max-height: none !important;
    }

    .industry-detail__content {
        width: min(650px, 80%) !important;
        height: auto !important;
        min-height: 560px !important;

        padding: 36px 34px 38px !important;

        justify-content: flex-start !important;
    }

    .industry-detail__badge {
        margin-bottom: 18px !important;
    }

    .industry-detail h3,
    #industryTitle {
        font-size: clamp(34px, 3.2vw, 42px) !important;
        line-height: 1.06 !important;
    }

    .industry-detail p {
        margin-top: 15px !important;
        font-size: 14px !important;
        line-height: 1.48 !important;
    }

    .industry-detail__list {
        margin-top: 18px !important;
        gap: 8px !important;
    }

    .industry-detail__bottom {
        margin-top: 22px !important;
        padding-top: 18px !important;
    }

    .industry-detail__actions {
        gap: 10px !important;
    }

    .industry-detail__button {
        min-width: 210px !important;
        padding: 13px 18px !important;
    }
}

/* CENTRAR ICONOS Y LÍNEAS DE LAS TARJETAS EN CELULAR */

@media (max-width: 768px) {
    .problem-card__icon-img {
        align-self: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .problem-card__line {
        align-self: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 24px !important;
    }
}

/* =========================================================
   ALIADOS MOBILE - SIN ZOOM NI EFECTO ASCENSOR
========================================================= */

@media (max-width: 768px) {
    .allies-elevator__bg {
        transform: none !important;
    }

    .allies-elevator__visual {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        overflow: hidden !important;
    }

    .allies-elevator__card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .allies-elevator__ally,
    .allies-elevator__ally.is-active,
    .allies-elevator__ally.is-prev {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;

        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        animation: none !important;
        transition: none !important;
    }

    .allies-elevator__brand,
    .allies-elevator__brand-card,
    .allies-elevator__brand-card img,
    .allies-elevator__benefits {
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
}