/* =========================
   CONFIGURACION GENERAL
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #1e293b;
    background-color: #f8fbff;
    line-height: 1.6;
}

a {
    color: inherit;
}


/* =========================
   FONDO CON CUADRICULA SUAVE
========================= */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;

    background-image:
        linear-gradient(
            rgba(59, 130, 246, 0.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(59, 130, 246, 0.05) 1px,
            transparent 1px
        );

    background-size: 90px 90px;
}


/* =========================
   HEADER
========================= */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 86px;

    padding: 14px 7%;

    background-color: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid #dbeafe;

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow:
        0 5px 22px
        rgba(15, 23, 42, 0.04);
}


/* =========================
   MARCA / LOGO
========================= */

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-icon {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 8px;
}

.brand-stack {
    display: flex;
    flex-direction: column;

    line-height: 0.92;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 5px;

    color: #0f172a;
}


/* =========================
   MENU
========================= */

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;

    margin-left: auto;
    margin-right: 34px;
}

.main-nav a {
    text-decoration: none;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
}

.main-nav a:hover {
    color: #2563eb;
}


/* =========================
   SELECTOR DE IDIOMA
========================= */

.language-selector {
    display: flex;
    align-items: center;
    gap: 7px;

    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}

.language {
    border: none;
    background: transparent;
    padding: 2px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.language:hover,
.language.active {
    color: #2563eb;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 650px;

    display: grid;
    grid-template-columns: 42% 58%;
    align-items: center;

    padding: 70px 7% 95px;

    background:
        linear-gradient(
            135deg,
            rgba(239, 246, 255, 0.94),
            rgba(255, 255, 255, 0.98)
        );

    position: relative;
    overflow: hidden;
}


/* =========================
   HERO IZQUIERDA
========================= */

.hero-brand {
    min-height: 480px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding-right: 9%;

    border-right:
        1px solid
        rgba(59, 130, 246, 0.18);

    position: relative;
    z-index: 1;
}

.hero-brand h1 {
    margin: 0;

    font-size: clamp(66px, 7vw, 104px);

    line-height: 0.95;
    letter-spacing: 2px;
    color: #0f172a;
}

.hero-slogan {
    margin: 28px 0 0;

    font-size: 17px;
    line-height: 1.55;
    letter-spacing: 5px;

    color: #1e293b;
}


/* =========================
   MARCA DE AGUA IZQUIERDA
========================= */

.hero-brand::after {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    top: 215px;
    left: 250px;

    background-image:
        url("../imagenes/logo/moinem_logo_light3.jpg");

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 0.30;
    filter: grayscale(100%);

    pointer-events: none;
    z-index: -1;
}


/* =========================
   HERO DERECHA
========================= */

.hero-content {
    padding-left: 10%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    position: relative;
    z-index: 1;
}

.hero-content h2 {
    margin: 0 0 18px;
    max-width: 760px;

    font-size: clamp(38px, 4.1vw, 60px);
    line-height: 1.08;

    color: #0f172a;
}

.hero-content h2 span {
    color: #2563eb;
}

.hero-intro {
    max-width: 720px;
    margin: 0 0 26px;

    font-size: 16px;
    color: #64748b;
}


/* =========================
   ACORDEON DE VALOR
========================= */

.value-accordion {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
    max-width: 820px;

    margin: 4px 0 28px;
}

.value-item {
    border: 1px solid #dbeafe;
    border-radius: 12px;

    background-color: rgba(255, 255, 255, 0.95);

    box-shadow:
        0 7px 20px
        rgba(30, 64, 175, 0.05);

    overflow: hidden;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.value-item:hover {
    border-color: #bfdbfe;

    box-shadow:
        0 10px 24px
        rgba(30, 64, 175, 0.08);
}

.value-item summary {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    padding: 18px 20px;

    list-style: none;
    cursor: pointer;

    color: #0f172a;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.value-item summary::-webkit-details-marker {
    display: none;
}

.accordion-symbol {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;

    position: relative;

    border: 1px solid #bfdbfe;
    border-radius: 50%;

    background-color: #eff6ff;
}

.accordion-symbol::before,
.accordion-symbol::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 10px;
    height: 2px;

    border-radius: 2px;
    background-color: #2563eb;

    transform: translate(-50%, -50%);

    transition: transform 0.28s ease;
}

.accordion-symbol::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}

.value-item[open] .accordion-symbol::after {
    transform:
        translate(-50%, -50%)
        rotate(0deg);
}

.value-item[open] {
    border-color: #bfdbfe;

    box-shadow:
        0 10px 26px
        rgba(30, 64, 175, 0.09);
}

.value-item[open] summary {
    color: #1e3a8a;
}

.value-detail {
    padding: 0 20px 20px;

    color: #64748b;

    font-size: 14px;
    line-height: 1.55;

    animation: accordionReveal 0.28s ease;
}

@keyframes accordionReveal {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================
   BOTONES
========================= */

.primary-cta,
.secondary-cta {
    width: fit-content;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 25px;

    border-radius: 8px;

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.primary-cta {
    background-color: #2563eb;
    color: white;

    box-shadow:
        0 8px 20px
        rgba(37, 99, 235, 0.16);
}

.primary-cta:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 25px
        rgba(37, 99, 235, 0.22);
}

.secondary-cta {
    border: 1px solid #bfdbfe;
    background-color: white;
    color: #1e3a8a;
}

.secondary-cta:hover {
    transform: translateY(-2px);
    border-color: #2563eb;
}


/* =========================
   SECCIONES GENERALES
========================= */

.content-section {
    width: 100%;
    padding: 82px 8%;
    background-color: white;
}

.soft-section {
    background-color: rgba(239, 246, 255, 0.72);
}

.centered {
    text-align: center;
}

.section-eyebrow {
    margin: 0 0 10px;

    color: #2563eb;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.content-section h2,
.contact-section h2 {
    margin: 0;

    font-size: 36px;

    color: #0f172a;
}

.section-lead {
    max-width: 760px;

    margin: 14px auto 0;

    color: #64748b;
}


/* =========================
   DEMOSTRACION
========================= */

.demo-section {
    padding-top: 72px;
    padding-bottom: 90px;

    background-color: rgba(255, 255, 255, 0.97);
}

.demo-header {
    margin-bottom: 50px;
}


/* =========================
   LAYOUT DEMO
========================= */

.demo-layout {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(430px, 42%)
        minmax(0, 58%);

    align-items: center;
    gap: 70px;
}


/* =========================
   BURBUJAS / ATRIBUTOS
========================= */

.moinem-pillars {
    min-height: 560px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-orbit {
    width: 500px;
    height: 500px;

    position: relative;

    border:
        1px solid
        rgba(37, 99, 235, 0.14);

    border-radius: 50%;
}

.pillar-orbit::before {
    content: "";

    position: absolute;

    width: 8px;
    height: 8px;

    top: 54px;
    right: 69px;

    border-radius: 50%;
    background-color: #2563eb;

    opacity: 0.45;

    box-shadow:
        -328px 75px 0 rgba(37, 99, 235, 0.4),
        -350px 315px 0 rgba(37, 99, 235, 0.4),
        -90px 415px 0 rgba(37, 99, 235, 0.4),
        46px 278px 0 rgba(37, 99, 235, 0.4);
}

.pillar-bubble,
.pillar-center {
    position: absolute;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.98);

    border:
        1px solid
        rgba(37, 99, 235, 0.35);

    box-shadow:
        0 12px 32px
        rgba(30, 64, 175, 0.07);
}

.pillar-bubble {
    width: 145px;
    height: 145px;

    padding: 16px;

    color: #1e3a8a;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.pillar-bubble:hover {
    transform: scale(1.055);

    border-color: #2563eb;

    box-shadow:
        0 16px 38px
        rgba(37, 99, 235, 0.12);
}

.pillar-center {
    width: 198px;
    height: 198px;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    flex-direction: column;

    border:
        1px solid
        rgba(37, 99, 235, 0.23);

    box-shadow:
        0 16px 40px
        rgba(30, 64, 175, 0.09);
}

.pillar-center span {
    color: #0f172a;

    font-size: 29px;
    font-weight: 800;
    letter-spacing: 1px;
}

.pillar-center small {
    margin-top: 8px;

    color: #64748b;

    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.bubble-governance {
    top: -46px;
    left: 177px;
}

.bubble-security {
    top: 142px;
    left: -67px;
}

.bubble-onpremise {
    top: 142px;
    right: -67px;
}

.bubble-traceability {
    bottom: -30px;
    left: 38px;
}

.bubble-intelligence {
    bottom: -30px;
    right: 38px;
}


/* =========================
   DEMO DERECHA
========================= */

.demo-video-area {
    width: 100%;
}

.demo-video-title {
    margin-bottom: 18px;
}

.demo-video-title .section-eyebrow {
    margin-bottom: 6px;
}

.demo-video-title h3 {
    margin: 0 0 7px;

    color: #0f172a;

    font-size: 22px;
    line-height: 1.25;
}

.demo-video-title p {
    margin: 0;
    max-width: 650px;

    color: #64748b;

    font-size: 14px;
}


/* =========================
   PLATAFORMA SIMULADA
========================= */

.moinem-platform {
    width: 100%;

    overflow: hidden;

    border: 1px solid #dbeafe;
    border-radius: 16px;

    background-color: rgba(255, 255, 255, 0.98);

    box-shadow:
        0 16px 42px
        rgba(30, 64, 175, 0.09);
}

.platform-topbar {
    min-height: 62px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 12px 18px;

    border-bottom: 1px solid #e2e8f0;

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #f8fbff
        );
}

.platform-brand {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.platform-brand-name {
    color: #0f172a;

    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
}

.platform-brand-subtitle {
    color: #94a3b8;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.platform-status {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #64748b;

    font-size: 10px;
    font-weight: 700;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background-color: #22c55e;

    box-shadow:
        0 0 0 4px
        rgba(34, 197, 94, 0.10);
}

.status-separator {
    color: #cbd5e1;
}

.platform-body {
    min-height: 420px;

    display: grid;

    grid-template-columns: 155px 1fr;

    background-color: #ffffff;
}

.platform-sidebar {
    display: flex;
    flex-direction: column;
    gap: 7px;

    padding: 16px 11px;

    border-right: 1px solid #e2e8f0;

    background-color: #f8fafc;
}

.platform-nav-button {
    width: 100%;

    padding: 11px 12px;

    border: 1px solid transparent;
    border-radius: 8px;

    background: transparent;

    color: #64748b;

    text-align: left;

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s ease;
}

.platform-nav-button:hover {
    color: #1e3a8a;
    background-color: #eff6ff;
}

.platform-nav-button.active {
    color: #1d4ed8;

    border-color: #bfdbfe;

    background-color: #eff6ff;

    box-shadow:
        0 4px 12px
        rgba(37, 99, 235, 0.06);
}

.platform-content {
    min-width: 0;

    padding: 22px;

    background-color: #ffffff;
}

.platform-panel {
    display: none;

    animation: platformReveal 0.25s ease;
}

.platform-panel.active {
    display: block;
}

@keyframes platformReveal {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.platform-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 20px;
}

.platform-kicker {
    display: block;

    margin-bottom: 3px;

    color: #2563eb;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.platform-panel h4 {
    margin: 0;

    color: #0f172a;

    font-size: 20px;
    line-height: 1.2;
}

.platform-badge {
    padding: 5px 9px;

    border: 1px solid #dbeafe;
    border-radius: 20px;

    background-color: #f8fbff;

    color: #2563eb;

    font-size: 9px;
    font-weight: 700;
}

.platform-question {
    padding: 18px;

    border: 1px solid #dbeafe;
    border-radius: 12px;

    background-color: #f8fbff;
}

.question-label {
    display: block;

    color: #64748b;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.platform-question p {
    margin: 8px 0 16px;

    color: #0f172a;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.platform-run-button {
    padding: 9px 14px;

    border: none;
    border-radius: 7px;

    background-color: #2563eb;

    color: #ffffff;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;
}

.requirements-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;

    margin-top: 14px;
}

.mini-card {
    padding: 12px;

    border: 1px solid #e2e8f0;
    border-radius: 10px;

    background-color: #ffffff;
}

.mini-card span {
    display: block;

    color: #94a3b8;

    font-size: 8px;
    font-weight: 700;

    text-transform: uppercase;
}

.mini-card strong {
    display: block;

    margin-top: 5px;

    color: #334155;

    font-size: 10px;
}

.knowledge-table {
    display: grid;
    gap: 10px;
}

.knowledge-table > div {
    display: grid;

    grid-template-columns: 120px 1fr;

    gap: 18px;

    padding: 12px 14px;

    border: 1px solid #e2e8f0;
    border-radius: 9px;

    background-color: #f8fafc;
}

.knowledge-table span {
    color: #64748b;

    font-size: 9px;
    font-weight: 700;
}

.knowledge-table strong {
    color: #1e293b;

    font-size: 10px;
}

.analytics-steps {
    display: grid;
    gap: 11px;
}

.analytics-step {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 13px 14px;

    border: 1px solid #e2e8f0;
    border-radius: 10px;

    background-color: #ffffff;
}

.step-check {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background-color: #eff6ff;

    color: #2563eb;

    font-size: 12px;
    font-weight: 800;
}

.analytics-step strong {
    display: block;

    color: #1e293b;

    font-size: 10px;
}

.analytics-step small {
    display: block;

    margin-top: 2px;

    color: #94a3b8;

    font-size: 9px;
}

.platform-video-frame {
    width: 100%;

    padding: 6px;

    border: 1px solid #dbeafe;
    border-radius: 12px;

    background-color: #f8fbff;

    overflow: hidden;
}

.platform-video-frame video {
    display: block;

    width: 100%;
    height: auto;
    max-height: 310px;

    object-fit: contain;

    border-radius: 8px;

    background-color: #ffffff;
}

.logs-box {
    padding: 15px;

    border: 1px solid #e2e8f0;
    border-radius: 10px;

    background-color: #f8fafc;
}

.logs-box p {
    margin: 0;
    padding: 8px 0;

    border-bottom: 1px solid #e2e8f0;

    color: #475569;

    font-family: Consolas, Monaco, monospace;
    font-size: 9px;
}

.logs-box p:last-child {
    border-bottom: none;
}

.logs-box span {
    display: inline-block;

    width: 66px;

    color: #2563eb;

    font-weight: 700;
}


/* =========================
   CASOS DE USO
========================= */

.use-cases-lead {
    margin-left: 0;
    margin-right: 0;
}

.use-cases-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    margin-top: 38px;
}

.use-case-card {
    position: relative;

    min-height: 260px;

    padding: 28px;

    border: 1px solid #dbeafe;
    border-radius: 14px;

    background-color: rgba(255, 255, 255, 0.96);

    box-shadow:
        0 7px 22px
        rgba(15, 23, 42, 0.04);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.use-case-card:hover {
    transform: translateY(-3px);

    border-color: #bfdbfe;

    box-shadow:
        0 12px 28px
        rgba(30, 64, 175, 0.08);
}

.use-case-number {
    display: block;

    margin-bottom: 18px;

    color: #93c5fd;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.use-case-card h3 {
    margin: 0 0 12px;

    color: #1e3a8a;

    font-size: 20px;
}

.use-case-card p {
    margin: 0 0 18px;

    color: #475569;

    font-size: 14px;
}

.use-case-card small {
    display: block;

    color: #64748b;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================
   INSIGHTS
========================= */

.insights-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    margin-top: 36px;
}

.insights-grid article {
    background-color: white;

    border: 1px solid #dbeafe;
    border-radius: 14px;

    padding: 24px;

    box-shadow:
        0 6px 20px
        rgba(15, 23, 42, 0.03);
}

.insights-grid h3 {
    margin-top: 0;

    color: #1e3a8a;
}

.insights-grid a {
    text-decoration: none;

    color: #2563eb;

    font-weight: 600;
}


/* =========================
   CONTACTO
========================= */

.contact-section {
    width: 100%;

    padding: 84px 8%;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #dbeafe
        );
}

.contact-section > p:not(.section-eyebrow) {
    max-width: 720px;

    margin: 15px auto 28px;

    color: #64748b;
}

.contact-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}


/* =========================
   FOOTER
========================= */

footer {
    background-color: #0f172a;

    color: white;

    padding: 28px 8%;

    text-align: center;
}

.copyright {
    margin: 0;

    color: #94a3b8;

    font-size: 12px;
}


/* =========================
   RESPONSIVE - TABLET
========================= */

@media (max-width: 1100px) {

    .demo-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .moinem-pillars {
        min-height: 570px;
    }

    .demo-video-area {
        max-width: 900px;
        margin: 0 auto;
    }

    .use-cases-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 950px) {

    .site-header {
        flex-wrap: wrap;
        gap: 14px;
    }

    .main-nav {
        width: 100%;
        order: 3;

        justify-content: center;

        margin: 0;
        gap: 22px;
    }

    .language-selector {
        margin-left: auto;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-brand {
        min-height: auto;

        padding: 35px 0 45px;

        border-right: none;

        border-bottom:
            1px solid
            rgba(59, 130, 246, 0.18);
    }

    .hero-brand::after {
        left: 50%;
        top: 130px;

        transform: translateX(-50%);
    }

    .hero-content {
        padding: 50px 0 80px;
    }

    .value-accordion {
        grid-template-columns: 1fr;
    }

    .insights-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   RESPONSIVE CELULAR
========================= */

@media (max-width: 620px) {

    .site-header {
        padding: 12px 5%;
    }

    .brand-icon {
        width: 44px;
        height: 44px;
    }

    .brand-stack {
        font-size: 14px;
        letter-spacing: 3px;
    }

    .main-nav {
        gap: 13px;
    }

    .main-nav a {
        font-size: 12px;
    }

    .hero {
        padding: 45px 6% 80px;
    }

    .hero-brand h1 {
        font-size: 54px;
    }

    .hero-slogan {
        font-size: 14px;
        letter-spacing: 3px;
    }

    .hero-content h2 {
        font-size: 34px;
    }

    .content-section,
    .contact-section {
        padding: 60px 6%;
    }

    .content-section h2,
    .contact-section h2 {
        font-size: 30px;
    }

    .demo-header {
        margin-bottom: 52px;
    }

    .moinem-pillars {
        min-height: 430px;
    }

    .pillar-orbit {
        width: 330px;
        height: 330px;
    }

    .pillar-bubble {
        width: 104px;
        height: 104px;

        padding: 8px;

        font-size: 11px;
    }

    .pillar-center {
        width: 138px;
        height: 138px;
    }

    .pillar-center span {
        font-size: 21px;
    }

    .pillar-center small {
        margin-top: 5px;
        font-size: 8px;
    }

    .bubble-governance {
        top: -38px;
        left: 113px;
    }

    .bubble-security {
        top: 97px;
        left: -38px;
    }

    .bubble-onpremise {
        top: 97px;
        right: -38px;
    }

    .bubble-traceability {
        bottom: -27px;
        left: 16px;
    }

    .bubble-intelligence {
        bottom: -27px;
        right: 16px;
    }

    .demo-video-title {
        text-align: center;
    }

    .demo-video-title h3 {
        font-size: 20px;
    }

    .platform-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .platform-body {
        grid-template-columns: 1fr;
    }

    .platform-sidebar {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        border-right: none;

        border-bottom: 1px solid #e2e8f0;
    }

    .platform-nav-button {
        text-align: center;
    }

    .platform-content {
        padding: 16px;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .knowledge-table > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .contact-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-actions a {
        width: 100%;
    }
}


/* =========================
   ATRIBUTOS ESTRATEGICOS
   NUEVO DIAGRAMA MOINEM
========================= */

.strategic-section {
    padding-top: 76px;
    padding-bottom: 92px;

    background-color: rgba(255, 255, 255, 0.97);
}

.strategic-header {
    max-width: 980px;
    margin: 0 auto 54px;
}

.strategic-flow {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(260px, 0.9fr)
        minmax(420px, 1.7fr)
        minmax(260px, 0.9fr);

    align-items: center;
    gap: 28px;
}

.flow-column {
    display: grid;
    gap: 16px;
}

.flow-column-title {
    margin: 0 0 4px;

    color: #1d4ed8;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.flow-card {
    min-height: 112px;

    padding: 20px 22px;

    border: 1px solid #dbeafe;
    border-radius: 14px;

    background-color: rgba(255, 255, 255, 0.98);

    box-shadow:
        0 8px 24px
        rgba(30, 64, 175, 0.05);
}

.flow-card h3 {
    margin: 0 0 6px;

    color: #0f172a;

    font-size: 16px;
    line-height: 1.25;
}

.flow-card p {
    margin: 0;

    color: #64748b;

    font-size: 13px;
    line-height: 1.45;
}

.moinem-core-area {
    min-height: 520px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-lines {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: visible;

    pointer-events: none;
}

.flow-lines path {
    fill: none;

    stroke: #60a5fa;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-dasharray: 6 8;

    opacity: 0.72;
}

.moving-dot {
    fill: #2563eb;

    filter:
        drop-shadow(
            0 0 6px
            rgba(37, 99, 235, 0.75)
        );
}

.moinem-core {
    width: 250px;
    height: 250px;

    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 28px;

    text-align: center;

    border: 1px solid #bfdbfe;
    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.99);

    box-shadow:
        0 20px 55px
        rgba(30, 64, 175, 0.13),
        0 0 0 24px
        rgba(239, 246, 255, 0.75);
}

.moinem-core::before {
    content: "";

    position: absolute;

    inset: -48px;

    border:
        1px dashed
        rgba(37, 99, 235, 0.18);

    border-radius: 50%;

    pointer-events: none;
}

.moinem-core-logo {
    width: 82px;
    height: 82px;

    margin-bottom: 8px;

    object-fit: contain;

    border-radius: 12px;

    filter: grayscale(100%);
}

.moinem-core strong {
    color: #0f172a;

    font-size: 31px;
    line-height: 1.05;
    letter-spacing: 1px;
}

.moinem-core span {
    margin-top: 8px;

    color: #475569;

    font-size: 12px;
    line-height: 1.4;
}

.control-layer {
    width: 100%;
    max-width: 1360px;

    margin: 52px auto 0;
    padding: 28px 12px 0;

    display: grid;
    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    border-top: 1px solid #dbeafe;
}

.control-layer article {
    min-width: 0;

    padding: 0 22px;

    border-right: 1px solid #dbeafe;
}

.control-layer article:last-child {
    border-right: none;
}

.control-layer h3 {
    margin: 0 0 6px;

    color: #0f172a;

    font-size: 14px;
}

.control-layer p {
    margin: 0;

    color: #64748b;

    font-size: 11px;
    line-height: 1.5;
}

.strategic-demo {
    max-width: 1050px;

    margin: 82px auto 0;
}

.strategic-demo .demo-video-title {
    margin-bottom: 24px;
}


/* Ya no se muestran numeros 01-06 en casos de uso */
.use-case-number {
    display: none;
}


/* =========================
   RESPONSIVE NUEVO DIAGRAMA
========================= */

@media (max-width: 1180px) {

    .strategic-flow {
        grid-template-columns:
            minmax(220px, 1fr)
            minmax(350px, 1.4fr)
            minmax(220px, 1fr);

        gap: 18px;
    }

    .moinem-core {
        width: 220px;
        height: 220px;
    }

    .moinem-core-logo {
        width: 72px;
        height: 72px;
    }

    .moinem-core strong {
        font-size: 27px;
    }
}

@media (max-width: 950px) {

    .strategic-flow {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .flow-column-title {
        text-align: center;
    }

    .flow-inputs,
    .flow-outputs {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .flow-column-title {
        grid-column: 1 / -1;
    }

    .moinem-core-area {
        min-height: 320px;
    }

    .flow-lines {
        display: none;
    }

    .control-layer {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 22px 0;
    }

    .control-layer article:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 620px) {

    .strategic-header {
        margin-bottom: 38px;
    }

    .flow-inputs,
    .flow-outputs {
        grid-template-columns: 1fr;
    }

    .moinem-core-area {
        min-height: 290px;
    }

    .moinem-core {
        width: 205px;
        height: 205px;
    }

    .moinem-core-logo {
        width: 68px;
        height: 68px;
    }

    .moinem-core strong {
        font-size: 25px;
    }

    .control-layer {
        grid-template-columns: 1fr;
        gap: 0;

        padding-top: 20px;
    }

    .control-layer article {
        padding: 16px 4px;

        border-right: none;
        border-bottom: 1px solid #dbeafe;
    }

    .control-layer article:last-child {
        border-bottom: none;
    }

    .strategic-demo {
        margin-top: 58px;
    }
}