/* ==========================================================
   PYXIS Soluciones Tecnológicas
   css/css_site.css
   Estilos globales compartidos
   ========================================================== */

:root {
    --pyxis-primary: #0b5cff;
    --pyxis-dark: #0b1220;
    --pyxis-text: #1f2937;
    --pyxis-muted: #6b7280;
    --pyxis-border: rgba(15,23,42,.12);
    --pyxis-radius: 18px;
    --pyxis-whatsapp: #25d366;
}

/* =========================
   BASE
   ========================= */

html {
    scroll-behavior: smooth;
}

body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================
   ACCESIBILIDAD
   ========================= */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus,
.sr-only-focusable:focus {
    position: fixed;
    top: 16px;
    left: 16px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    background: #fff;
    color: #111;
    border-radius: 6px;
    z-index: 10000;
    clip: auto;
}

a:focus-visible,
button:focus-visible,
.c-button:focus-visible,
.float:focus {
    outline: 3px solid var(--pyxis-primary);
    outline-offset: 4px;
}

/* =========================
   BOTÓN WHATSAPP
   ========================= */

.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--pyxis-whatsapp);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    z-index: 100;
    transition: transform .2s ease,
                box-shadow .2s ease;
}

.float:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0,0,0,.30);
}

.my-float {
    margin-top: 16px;
}

/* =========================
   GOOGLE MAPS
   ========================= */

gmp-map {
    height: 450px;
}

/* =========================
   VIDEO HERO
   ========================= */

#video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    z-index: 0;
    visibility: visible;
}

/* =========================
   MÓDULOS ERP
   ========================= */

.titulomodulos {
    font-size: 1rem;
    font-weight: bold;
    height: 50px;
}

.modulos {
    font-size: .7rem;
    list-style-type: circle;
}

.modulos li {
    margin-bottom: 10px;
    font-size: .9rem;
    line-height: 1rem;
}

.descp_item_mark {
    margin-bottom: 15px;
    font-size: .8rem;
    line-height: 12px;
}

.list_item_mark {
    margin-bottom: 10px;
    font-size: .7rem;
    line-height: 14px;
    list-style-type: circle;
}

/* =========================
   SEO / CONVERSIÓN
   ========================= */

.seo-conversion-copy,
.seo-corporate-note {
    max-width: 980px;
    font-size: 1rem;
    line-height: 1.7;
}

.pyxis-conversion-services {
    background: #fff;
    padding: 80px 0;
}

.pyxis-service-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: var(--pyxis-radius);
    padding: 22px;
    box-shadow: 0 10px 28px rgba(0,0,0,.05);
}

.pyxis-service-card h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    color: #34006e;
}

.pyxis-service-card p {
    margin: 0;
    line-height: 1.55;
    color: #333;
}

.pyxis-conversion-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.pyxis-chip {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.45);
    color: #fff;
    font-size: .9rem;
}

/* =========================
   COMPONENTES
   ========================= */

.c-cookie-bar {
    z-index: 9999;
}

.c-cookie-bar .c-button,
.js-cookie-accept {
    cursor: pointer;
}

.blog-card,
.c-card,
article {
    overflow-wrap: anywhere;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {

    .float {
        width: 56px;
        height: 56px;
        right: 20px;
        bottom: 24px;
    }

    .u-clearfix,
    .c-testimonials__text {
        margin-top: 20%;
    }
}

/* =========================
   REDUCIR ANIMACIONES
   ========================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .c-main-loader,
    video {
        display: none !important;
    }
}