@font-face {
    font-family: 'Outfit';
    src: url('/fonts/Outfit-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {

    --primary: #003264;

    --primary-light: #143d72;

    --secondary: #fab414;

    --tertiary: #78c800;


    --text-dark: #001a33;
    --text-gray: #546e7a;
    --bg-light: #f4f7fa;
    --white: #ffffff;

    --font-main: 'Outfit', sans-serif;

    --radius: 16px;
    --shadow: 0 10px 30px -5px rgba(0, 50, 100, 0.08);
    --shadow-hover: 0 20px 40px -5px rgba(0, 50, 100, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    transition: 0.3s;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: #ffc947;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(250, 180, 20, 0.4);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--tertiary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    display: block;
}

.text-highlight {
    color: var(--primary-light);
    font-weight: 500;
}


.section-divider {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    margin-bottom: 3rem;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

.section-divider h2 {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 4rem 0;
}

.bg-white {
    background: var(--white);
}

.bg-light {
    background: var(--bg-light);
}


.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.feature-grid:last-child {
    margin-bottom: 0;
}

.feature-grid.reverse .text-col {
    order: 2;
}

.feature-grid.reverse .img-col {
    order: 1;
}

.img-col img {
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease;
}

.img-col:hover img {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}


.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 5px solid var(--tertiary);
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.card p {
    color: var(--text-gray);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

header {
    background: rgba(0, 50, 100, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 52px;
    background: white;
    padding: 4px;
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-menu a:hover {
    color: var(--secondary);
}

.mobile-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}


.hero {
    height: 85vh;
    min-height: 600px;
    background: url('/images/Portada1.webp') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 50, 100, 0.9) 20%, rgba(0, 50, 100, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-carousel {
    position: relative;
    height: 85vh;
    /* Altura de la portada */
    min-height: 600px;
    overflow: hidden;
    /* Para que no se salga nada */
    background: var(--primary);
    /* Color de fondo de carga */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    /* Oculto por defecto */
    transition: opacity 1.5s ease-in-out;
    /* Transición muy suave */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

/* Estado Activo */
.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Overlay Oscuro para legibilidad */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 50, 100, 0.85) 0%, rgba(0, 50, 100, 0.6) 100%);
    z-index: 1;
}

/* Contenido del Slide */
.hero-content {
    position: relative;
    z-index: 3;
    /* Por encima del overlay */
    max-width: 800px;
    padding: 2rem;
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 1s ease-out;
    transition-delay: 0.5s;
    /* El texto aparece después de la imagen */
}

/* Animación del texto al entrar */
.carousel-slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- INDICADORES (PUNTITOS) --- */
.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: var(--secondary);
    /* Amarillo activo */
    border-color: var(--secondary);
    transform: scale(1.2);
    /* Crece un poquito */
    box-shadow: 0 0 10px rgba(250, 180, 20, 0.4);
}

footer {
    background: var(--primary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    filter: brightness(0) invert(1);
    max-width: 180px;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: var(--secondary);
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

.footer-col ul li i {
    color: var(--tertiary);
    margin-right: 10px;
    width: 20px;
}

.social-icons a {
    color: white;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.card-migration {
    margin-top: 3rem;
    text-align: center;
    background: var(--primary);

    color: white;
    padding: 3rem 1rem;

    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.erp-logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    margin: 2rem 0;
}


.logo-pill {
    background: white;
    padding: 8px 14px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;
    height: 55px;

    min-width: 90px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.logo-pill:hover {
    transform: translateY(-3px);
}

.logo-pill img {
    height: 18px;

    width: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    border: none;
}


.logo-pill.hero-pill {
    height: 84px;

    min-width: 140px;

    border: 3px solid var(--primary-light);

    background: #fff;
    z-index: 2;

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);

    transform: scale(1.05);

}



.logo-pill.hero-pill:hover {
    transform: scale(1.1);
}

.logo-pill.hero-pill img {
    height: 48px;

    margin-bottom: 2px;
}

.logo-pill.second-hero-pill {
    height: 60px;

    min-width: 100px;



    background: #fff;
    z-index: 2;

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);

    transform: scale(1.05);

}

.logo-pill.second-hero-pill:hover {
    transform: scale(1.1);
}



.logo-pill.second-hero-pill img {
    height: 26px;

    margin-bottom: 2px;
}


.pill-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pill-mini-label {
    font-size: 9px;
    color: #555;
    font-weight: 600;
    margin-top: 2px;
}


.logo-pill.text-pill {
    background: rgba(255, 255, 255, 0.1);

    border: 1px solid rgba(255, 255, 255, 0.4);
    height: 55px;
}

.logo-pill.text-pill span {
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 30, 60, 0.6);

    backdrop-filter: blur(5px);

    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 600px;
    border-radius: var(--radius);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    background: var(--primary);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.close-modal {
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: 0.2s;
}

.close-modal:hover {
    color: var(--secondary);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
}

.modal-intro {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
}


.sire-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sire-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.sire-icon {
    background: var(--bg-light);
    color: var(--primary);
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.sire-text h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.sire-text p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.modal-cta {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.client-logos-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4rem;

    margin-top: 3rem;
    opacity: 0.7;

    transition: opacity 0.3s;
}

.client-logos-row:hover {
    opacity: 1;
}

.client-logos-row img {
    height: 55px;

    width: auto;
    object-fit: contain;
    filter: grayscale(100%);

    transition: all 0.4s ease;
    cursor: pointer;
    opacity: 0.8;
}

.client-logos-row img:hover {
    filter: grayscale(0);

    opacity: 1;
    transform: scale(1.1);

}


.flow-content {
    width: 100%;
    max-width: 950px !important;
    /* Ligeramente más angosto */
    margin-top: -20px;
    /* Subir un poco todo el bloque para centrar verticalmente */
}

.flow-header {
    margin-bottom: 1.5rem;
    /* Reducido */
}

.flow-title {
    font-size: 2.8rem;
    /* Fuente más controlada */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}
.flow-title.proveedor {
    font-size: 2.4rem;
}

.flow-subtitle {
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

/* DIAGRAMA */
.process-diagram {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    /* Hueco reducido */
    position: relative;
    flex-wrap: wrap;
}

.process-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 130px;
    /* Ancho reducido */
}

/* Tarjeta Ghost Compacta */
.node-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    width: 100%;
    height: 90px;
    /* Altura reducida */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.node-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

/* Iconos blancos */
.node-card i {
    opacity: 0.95;
    font-size: 1.8rem;
    color: #fab414EE;
}

.node-card img {
    opacity: 0.95;
    font-size: 1.8rem;
    /* Iconos ajustados */
}

.node-label {
    font-weight: 600;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    /* Texto más pequeño */
    margin-bottom: 5px;
    margin-top: 8px;
    white-space: nowrap;
}

/* TUBERÍAS */
.connector-line {
    width: 3px;
    height: 12px;
    background: #4fc3f7;
}

.flow-pipe-container {
    width: 75%;
    margin: 0 auto 1.5rem auto;
    position: relative;
    height: 20px;
    margin-top: -5px;
}

.flow-pipe-line {
    width: 100%;
    height: 4px;
    background: #4fc3f7;
}

.flow-pipe-vertical {
    width: 4px;
    height: 20px;
    background: #4fc3f7;
    margin: 0 auto;
}

/* SECCIÓN INFERIOR (ERPs) */
.flow-footer {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-erp-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.erp-mini-pill {
    background: white;
    padding: 5px 12px;
    border-radius: 6px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.erp-mini-pill.sap-business-one {
    min-width: 120px;
}

.erp-mini-pill.sap-business-one img {
    height: 42px;
}

.erp-mini-pill.sap-4 {
    min-width: 90px;
}

.erp-mini-pill.sap-4 img {
    height: 28px;
}

.erp-mini-pill img {
    height: 14px;
    width: auto;
    border-radius: 0;
    filter: none !important;
    /* Asegurar que se vean los colores originales */
}

.erp-mini-pill.text-only {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.erp-mini-pill.text-only span {
    font-size: 0.7rem;
    color: #001a33;
    font-weight: 600;
}

.btn-show-erp {}

/* Botón flotante de interrogación */
.floating-info-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 100;
    display: none;
    /* Oculto en escritorio */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

/* Estilos de los Popups Flotantes */
.floating-popup {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    width: 90%;
    max-width: 320px;
    z-index: 101;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: var(--text-dark);
    text-align: center;

    /* Centrado absoluto */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);

    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Estado activo del popup */
.floating-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.popup-heading {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Botón para abrir ERPs */
.btn-outline-small {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    margin-top: 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-outline-small:hover {
    background: white;
    color: var(--primary);
}

.mobile-only-header {
    display: none;
}

#btn-show-erps {
    display: none;
}

.steps-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Alineación vertical centrada */
    gap: 1rem;
    margin-top: 1rem;
    position: relative;
}

.step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 150px;
}

/* Bolita con número (1, 2, 3) */
.step-number {
    background: var(--secondary);
    /* Amarillo */
    color: var(--primary);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    position: absolute;
    top: -10px;
    right: 10px;
    /* Esquina superior derecha de la tarjeta */
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Reutilizamos estilo Ghost pero con clase especifica */
.ghost-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    width: 100%;
    height: 100px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.ghost-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.ghost-card i {
    font-size: 2.2rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* Flecha conectora entre pasos */
.step-arrow {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.5rem;
    padding: 0 10px;
    animation: slideRight 1.5s infinite ease-in-out;
}

@keyframes slideRight {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.4;
    }

    50% {
        transform: translateX(5px);
        opacity: 0.8;
    }
}


/* ----------------------------------------------------
           RESPONSIVE
           ---------------------------------------------------- */
@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .feature-grid.reverse .text-col {
        order: 1;
    }

    .feature-grid.reverse .img-col {
        order: 2;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        padding: 2rem;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {


    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-carousel {
        height: 70vh;
        min-height: 500px;
    }

    .card-migration {
        padding: 2rem 1.5rem;
    }


    .erp-logo-row {
        gap: 10px;

        justify-content: center;
    }


    .logo-pill {
        flex: 1 1 40%;

        max-width: 48%;

        height: 50px;

    }


    .logo-pill.hero-pill {
        order: -1;

        flex: 1 1 100%;

        max-width: 100%;
        height: 70px;

        margin-bottom: 10px;

        transform: none !important;

    }



    .logo-pill.second-hero-pill {
        height: 50px;
    }



    .logo-pill img {
        height: 16px;

    }

    .logo-pill.hero-pill img {
        height: 36px;

    }

    .logo-pill.second-hero-pill img {
        height: 20px;

    }


    .logo-pill.text-pill span {
        font-size: 0.75rem;
    }

    .client-logos-row {
        display: grid;

        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;

        justify-items: center;

    }

    .client-logos-row img {
        height: 40px;

        max-width: 120px;

    }


    .client-logos-row img:last-child:nth-child(odd) {
        grid-column: span 2;
    }


    /* Mostrar botón flotante ? */
    .floating-info-btn {
        display: flex;
    }

    /* Ocultar header grande de escritorio */
    .desktop-only-header {
        display: none;
    }

    /* Mostrar título simple móvil */
    .mobile-only-header {
        display: block;
        margin-bottom: 1.5rem;
    }

    .mobile-only-header h3 {
        font-size: 1.5rem;
        color: white;
        font-weight: 700;
        text-transform: uppercase;
    }

    /* Transformar Diagrama a Lista Vertical */
    .process-diagram {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        padding: 0 10px;
        /* Margen lateral */
    }

    .process-node {
        flex-direction: row;
        /* Icono izq, texto der */
        width: 100%;
        /* Todo el ancho */
        background: rgba(255, 255, 255, 0.1);
        /* Fondo glass para toda la fila */
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        padding: 10px 15px;
        align-items: center;
        justify-content: flex-start;
        /* Alinear a la izquierda */
        gap: 15px;
        height: auto;
    }

    /* Ajustar el "cuadrito" del icono para que sea transparente o sutil */
    .node-card {
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        margin-bottom: 0;
    }

    .node-card i,
    .node-card img {
        font-size: 1.5rem;
    }

    /* Mostrar etiqueta a la derecha del icono */
    .node-label {
        display: block;
        /* Asegurar que se vea */
        background: transparent;
        border: none;
        font-size: 1rem;
        text-align: left;
        margin: 0;
        padding: 0;
        white-space: normal;
        /* Permitir que el texto baje si es largo */
    }

    /* Ocultar líneas decorativas */
    .connector-line,
    .flow-pipe-container {
        display: none;
    }

    /* Footer y botón ERP */
    .flow-footer {
        font-size: 1rem;
        margin-top: 1rem;
    }

    /* Ajustes para el popup de ERPs */
    #float-erps .hero-erp-row {
        gap: 15px;
    }

    .desktop-erps-container {
        display: none;
    }

    #btn-show-erps {
        display: inherit;
        margin: 0 auto;
    }

    .steps-diagram {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        padding: 0 10px;
    }

    /* Ocultar flechas en móvil */
    .step-arrow {
        display: none;
    }

    .step-node {
        flex-direction: row;
        /* Horizontal */
        width: 100%;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        padding: 10px 15px;
        align-items: center;
        gap: 15px;
    }

    /* Ajustar número en móvil para que esté a la izquierda */
    .step-number {
        position: static;
        /* Ya no es absoluto */
        min-width: 24px;
        height: 24px;
        font-size: 0.8rem;
        margin-right: 5px;
    }

    /* Ajustar tarjeta interior */
    .ghost-card {
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        margin: 0;
    }

    .ghost-card i {
        font-size: 1.4rem;
    }

    .node-label {
        background: transparent;
        border: none;
        text-align: left;
        font-size: 1rem;
        margin: 0;
        padding: 0;
        flex-grow: 1;
        /* Ocupa el espacio restante */
    }

    #btn-show-benefits {
        margin-top: 1.2rem;
    }

}