@charset "utf-8";
/* CSS Document */

/* =========================================================
   COLABORAWEB V2 | BASE GLOBAL
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;

    scroll-behavior: smooth;
    scroll-padding-top: 100px;

    /* Scrollbar Firefox */
    scrollbar-width: thin;
    scrollbar-color: #087CF0 #EAF2FA;
}

body {
    min-width: 320px;
    margin: 0;

    background: var(--cw-bg);
    color: var(--cw-text);

    font-family:
        Inter,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    font-size: 16px;
    line-height: 1.65;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    overflow-wrap: break-word;
}

/* =========================================================
   EVITAR MÁRGENES INESPERADOS
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure {
    margin-block-start: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--cw-text);
    line-height: 1.15;
    text-wrap: balance;
}

p {
    color: var(--cw-text-secondary);
}

a {
    color: var(--cw-primary);
    text-decoration: none;

    transition:
        color var(--cw-transition-fast);
}

a:hover {
    color: var(--cw-primary-hover);
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
[type="button"],
[type="submit"] {
    cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgb(8 124 240 / 45%);
    outline-offset: 3px;
}

img,
picture,
video,
canvas,
svg {
    max-width: 100%;
}

img,
video {
    height: auto;
}

svg {
    vertical-align: middle;
}

/* =========================================================
   EVITAR DESBORDAMIENTOS FLEX / GRID
========================================================= */

.cw-container > *,
.cw-grid > *,
.cw-flex > * {
    min-width: 0;
}

/* =========================================================
   CONTENEDORES GLOBALES
========================================================= */

.cw-container {
    width: 100%;
    max-width: var(--cw-container);

    margin-inline: auto;
    padding-inline: var(--cw-page-padding);
}

.cw-container--wide {
    max-width: var(--cw-container-wide);
}

.cw-container--narrow {
    max-width: var(--cw-container-narrow);
}

/* =========================================================
   SECCIONES
========================================================= */

.cw-section {
    position: relative;
    padding-block: var(--cw-section-space);
    isolation: isolate;
}

.cw-section--compact {
    padding-block: var(--cw-section-space-compact);
}

.cw-section--soft {
    background: var(--cw-bg-soft);
}

.cw-section--white {
    background: var(--cw-bg);
}

/* Fondo azul */

.cw-section--blue {
    background:
        radial-gradient(
            ellipse at 90% 0%,
            rgb(8 124 240 / 9%),
            transparent 45%
        ),
        var(--cw-bg-soft);
}

/* =========================================================
   TIPOGRAFÍA RESPONSIVE
========================================================= */

.cw-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: var(--cw-primary);
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cw-title {
    margin-bottom: 20px;

    font-size: clamp(2rem, 4vw, 3.4rem);
    letter-spacing: -0.045em;
}

.cw-subtitle {
    max-width: 720px;
    margin-inline: auto;

    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.8;
}

.cw-text-center {
    text-align: center;
}

/* =========================================================
   SUPERFICIES Y TARJETAS
========================================================= */

.cw-card {
    min-width: 0;
    padding: var(--cw-card-padding);

    background: var(--cw-bg);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius);

    box-shadow: var(--cw-shadow-sm);

    transition:
        transform var(--cw-transition),
        box-shadow var(--cw-transition),
        border-color var(--cw-transition);
}

@media (hover: hover) and (pointer: fine) {
    .cw-card--interactive:hover {
        transform: translateY(-4px);

        border-color: rgb(8 124 240 / 28%);
        box-shadow: var(--cw-shadow-hover);
    }
}

/* =========================================================
   BOTONES
========================================================= */

.cw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 48px;
    padding: 12px 23px;

    border: 1px solid transparent;
    border-radius: var(--cw-radius-pill);

    font-weight: 650;
    line-height: 1.3;
    text-align: center;

    transition:
        background var(--cw-transition),
        color var(--cw-transition),
        border-color var(--cw-transition),
        box-shadow var(--cw-transition),
        transform var(--cw-transition);
}

.cw-btn--primary {
    color: #FFFFFF;
    background: var(--cw-primary);
    box-shadow: var(--cw-shadow-blue);
}

.cw-btn--primary:hover {
    color: #FFFFFF;
    background: var(--cw-primary-hover);
    transform: translateY(-2px);
}

.cw-btn--outline {
    color: var(--cw-text);
    background: transparent;
    border-color: var(--cw-border-strong);
}

.cw-btn--outline:hover {
    color: var(--cw-primary);
    border-color: var(--cw-primary);
}

/* =========================================================
   GRIDS Y UTILIDADES
========================================================= */

.cw-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--cw-gap);
}

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

.cw-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cw-flex {
    display: flex;
    align-items: center;
    gap: var(--cw-gap);
}

.cw-muted {
    color: var(--cw-text-muted);
}

.cw-hidden {
    display: none !important;
}

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

@media (max-width: 900px) {
    .cw-grid--4,
    .cw-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .cw-grid,
    .cw-grid--3,
    .cw-grid--4 {
        grid-template-columns: minmax(0, 1fr);
    }

    .cw-flex {
        flex-wrap: wrap;
    }

    .cw-btn {
        max-width: 100%;
    }

    html {
        scroll-padding-top: 80px;
    }
}

/* =========================================================
   ACCESIBILIDAD | MOVIMIENTO REDUCIDO
========================================================= */

/*
   Se respeta la preferencia del usuario.
   Las partículas decorativas permanecen estáticas cuando
   el navegador solicita reducir el movimiento.
*/

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   CAPAS VISUALES
========================================================= */

.cw-particles-section {
    position: relative;
    isolation: isolate;
    overflow: clip;
}

.cw-particles-canvas {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: var(--cw-z-particles);
    pointer-events: none;
}

.cw-particles-content {
    position: relative;
    z-index: var(--cw-z-content);
}

/* =========================================================
   WHATSAPP FLOTANTE
========================================================= */

.cw-whatsapp-float {
    position: fixed;

    right: clamp(16px, 2vw, 28px);
    bottom: clamp(18px, 3vh, 30px);

    z-index: var(--cw-z-whatsapp);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    color: #FFFFFF;
    background: #20C96B;

    border: 2px solid rgb(255 255 255 / 85%);
    border-radius: 50%;

    box-shadow:
        0 8px 24px rgb(32 201 107 / 30%);

    transition:
        transform var(--cw-transition),
        box-shadow var(--cw-transition);
}

.cw-whatsapp-float svg,
.cw-whatsapp-float img {
    width: 29px;
    height: 29px;
}

@media (hover: hover) and (pointer: fine) {
    .cw-whatsapp-float:hover {
        color: #FFFFFF;
        transform: translateY(-4px);

        box-shadow:
            0 12px 30px rgb(32 201 107 / 42%);
    }
}

.cw-whatsapp-float:focus-visible {
    outline: 3px solid var(--cw-primary);
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .cw-whatsapp-float {
        right: 16px;
        bottom: 18px;

        width: 54px;
        height: 54px;
    }
}

/* =========================================================
   SCROLLBAR GLOBAL | COLABORAWEB
   Azul corporativo + verde tecnológico
========================================================= */

/* Firefox */

html {
    scrollbar-width: thin;
    scrollbar-color: #087CF0 #EAF2FA;
}

/* Chromium, Edge y Safari */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #EAF2FA;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #087CF0 0%,
        #10D982 100%
    );

    border: 2px solid #EAF2FA;
    border-radius: 999px;

    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        #0666CE 0%,
        #08B979 100%
    );

    border: 2px solid #EAF2FA;
    background-clip: padding-box;
}

::-webkit-scrollbar-corner {
    background: #EAF2FA;
}

/* Selección de texto */

::selection {
    color: #FFFFFF;
    background: var(--cw-primary);
}

/* =========================================================
   COLABORAWEB | PREVENIR DESBORDAMIENTO HORIZONTAL
========================================================= */

html {
    max-width: 100%;
    overflow-x: clip;
}

body {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
}

/* Evitar que el asistente genere desbordamiento */
.cw-assistant {
    max-width: calc(100vw - 20px);
}

.cw-assistant__panel {
    min-width: 0;
    max-width: calc(100vw - 20px);
}

.cw-assistant img,
.cw-assistant svg {
    max-width: 100%;
}



/* =========================================================
   COLABORAWEB | EVITAR DESBORDAMIENTO DE DECORACIONES
   Solo móviles
========================================================= */

@media (max-width: 767px) {

    /* Recortar los brillos decorativos del hero */
    .hero {
        overflow-x: clip;
    }

    .hero-glow-green {
        max-width: 100%;
    }

    /* Contener el brillo del encabezado */
    .cw-header {
        overflow-x: clip;
    }

    .cw-header__glow {
        max-width: 100%;
    }

    /* Contener los adornos de las tarjetas */
    .cw-it__cta,
    .cw-it__card {
        overflow: hidden;
    }

    .cw-it__cta-orb--two,
    .cw-it__card-decoration {
        pointer-events: none;
    }

    /* Evitar desbordamiento por ancho de pantalla */
    html,
    body {
        max-width: 100%;
    }
}
