/* GalixSoft - estilos del sitio
   Los colores, formas y fuentes vienen de variables CSS que se configuran en el panel
   (Administración > Diseño). Aquí solo hay valores de respaldo. */

:root {
    --gx-primario: #1d8fae; --gx-acento: #22b8e6; --gx-oscuro: #06324d; --gx-oscuro-2: #0d4a66;
    --gx-claro: #eef6f7; --gx-texto: #25343f; --gx-btn-texto: #fff; --gx-primario-hover: #197a95;
    --gx-radio-btn: .55rem; --gx-radio: .85rem; --gx-sombra: 0 10px 30px rgba(6,40,60,.10);
    --gx-fuente-titulos: 'Dosis', sans-serif; --gx-fuente: 'Open Sans', sans-serif;
    --gx-m1: #d7eee3; --gx-m2: #9fd3c7; --gx-m3: #63b3c2; --gx-m4: #1d8fae; --gx-m5: #0d6f8f; --gx-m6: #0a4f6e;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--gx-fuente); color: var(--gx-texto); background: #fff; padding-top: 68px; }
h1, h2, h3, h4, h5, h6, .navbar, .btn { font-family: var(--gx-fuente-titulos); }
h1, h2 { font-weight: 600; letter-spacing: .01em; }
h3 { font-weight: 600; }
a { color: var(--gx-primario); }
a:hover { color: var(--gx-primario-hover); }
img { max-width: 100%; }

/* ---------------------------------------------------------------- botones */
.btn { border-radius: var(--gx-radio-btn); font-weight: 600; letter-spacing: .02em; }
.btn-gx { --bs-btn-color: var(--gx-btn-texto); --bs-btn-hover-color: var(--gx-btn-texto); --bs-btn-active-color: var(--gx-btn-texto);
    background: var(--gx-primario); border: 2px solid var(--gx-primario); color: var(--gx-btn-texto); }
.btn-gx:hover, .btn-gx:focus { background: var(--gx-primario-hover); border-color: var(--gx-primario-hover); color: var(--gx-btn-texto); }
.gx-btn-degradado .btn-gx { background: linear-gradient(135deg, var(--gx-acento), var(--gx-primario)); border-color: transparent; }
.gx-btn-degradado .btn-gx:hover { background: linear-gradient(135deg, var(--gx-primario), var(--gx-primario-hover)); }
.gx-btn-contorno .btn-gx { background: transparent; color: var(--gx-primario); }
.gx-btn-contorno .btn-gx:hover { background: var(--gx-primario); color: var(--gx-btn-texto); }
.gx-btn-contorno .gx-hero .btn-gx, .gx-btn-contorno .gx-nav .btn-gx { color: #fff; border-color: var(--gx-acento); }
.btn-outline-gx { color: var(--gx-primario); border: 2px solid var(--gx-primario); background: transparent; }
.btn-outline-gx:hover { background: var(--gx-primario); color: var(--gx-btn-texto); }

/* ---------------------------------------------------------------- menú */
.gx-nav { background: var(--gx-oscuro); box-shadow: 0 2px 14px rgba(0,0,0,.18); min-height: 68px; }
.gx-nav .nav-link { color: rgba(255,255,255,.82); font-weight: 500; font-size: 1.02rem; }
.gx-nav .nav-link:hover, .gx-nav .nav-link.active { color: #fff; }
.gx-nav .nav-link.active { box-shadow: inset 0 -2px 0 var(--gx-acento); }
.gx-mega { min-width: min(560px, 94vw); border: 0; border-radius: var(--gx-radio); box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.gx-mega .dropdown-item { border-radius: .4rem; padding: .4rem .6rem; font-size: .92rem; white-space: normal; }
.gx-mega .dropdown-item i { color: var(--gx-primario); width: 1.3rem; display: inline-block; }
.gx-mega .dropdown-item:hover { background: var(--gx-claro); }
.gx-mega-titulo { font-family: var(--gx-fuente-titulos); text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; color: #6c7a86; margin: 0 .6rem .3rem; }

/* ---------------------------------------------------------------- portada */
.gx-hero { position: relative; overflow: hidden; color: #fff; padding: 5.5rem 0 5rem;
    background: radial-gradient(ellipse at 15% 20%, var(--gx-oscuro-2) 0%, var(--gx-oscuro) 60%); }
.gx-hero .lead { color: rgba(255,255,255,.85); font-size: 1.15rem; }
.gx-hero-titulo { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; line-height: 1.05; margin: .8rem 0 1rem; }
.gx-hero-titulo span { background: linear-gradient(90deg, var(--gx-acento), #7fe0d0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gx-hero-interna { padding: 3.5rem 0 3rem; }
.gx-hero-interna .gx-hero-titulo { font-size: clamp(2rem, 4vw, 3rem); margin-top: 0; }
.gx-etiqueta { display: inline-flex; gap: .4rem; align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    padding: .35rem .8rem; border-radius: 50rem; font-size: .85rem; }
.gx-mosaico { position: absolute; top: 0; right: 0; bottom: 0; width: min(38%, 460px); display: grid; gap: 4px; padding: 4px;
    grid-auto-rows: 1fr; opacity: .55; pointer-events: none; }
.gx-mosaico span { border-radius: 2px; }
.gx-hero .container, .gx-oscuro .container { z-index: 1; }
.gx-navegador { background: #fff; border-radius: var(--gx-radio); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: perspective(1400px) rotateY(-6deg); }
.gx-navegador-barra { display: flex; gap: 6px; padding: 10px 12px; background: #e9eef2; }
.gx-navegador-barra span { width: 11px; height: 11px; border-radius: 50%; background: #c5ced6; }
.gx-navegador-barra span:first-child { background: #ff6b6b; } .gx-navegador-barra span:nth-child(2) { background: #ffd166; } .gx-navegador-barra span:nth-child(3) { background: #06d6a0; }
.gx-migas { --bs-breadcrumb-divider-color: rgba(255,255,255,.5); --bs-breadcrumb-item-active-color: rgba(255,255,255,.75); }
.gx-migas a { color: rgba(255,255,255,.85); text-decoration: none; }

/* ---------------------------------------------------------------- cifras */
.gx-cifras { margin-top: -2.2rem; position: relative; z-index: 2; }
.gx-cifra { background: #fff; border-radius: var(--gx-radio); box-shadow: var(--gx-sombra); padding: 1.2rem .8rem; height: 100%; border: 1px solid #e5edf0; }
.gx-cifra strong { display: block; font-family: var(--gx-fuente-titulos); font-size: 2.1rem; color: var(--gx-primario); line-height: 1.1; }
.gx-cifra span { font-size: .9rem; color: #5c6b77; }

/* ---------------------------------------------------------------- secciones */
.gx-seccion { padding: 5rem 0; position: relative; }
.gx-fondo-claro { background: var(--gx-claro); }
.gx-oscuro { background: var(--gx-oscuro); color: #fff; overflow: hidden; }
.gx-oscuro .gx-mosaico { opacity: .14; }
.gx-encabezado { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.gx-encabezado h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.gx-encabezado p { color: #5c6b77; font-size: 1.05rem; }
.gx-oscuro .gx-encabezado p { color: rgba(255,255,255,.75); }
.gx-sobretitulo { display: inline-block; font-family: var(--gx-fuente-titulos); text-transform: uppercase; letter-spacing: .14em; font-size: .85rem;
    font-weight: 600; color: var(--gx-primario); margin-bottom: .5rem; }
.gx-oscuro .gx-sobretitulo { color: var(--gx-acento); }
.gx-subtitulo { font-size: 1.7rem; margin-bottom: 1.5rem; }
.gx-parrafo { font-size: 1.05rem; line-height: 1.75; color: #3b4a55; }

/* tarjetas de sistema */
.gx-tarjeta { display: block; background: #fff; border: 1px solid #e3ebef; border-radius: var(--gx-radio); padding: 1.8rem; text-decoration: none; color: inherit;
    box-shadow: var(--gx-sombra); transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden; }
.gx-tarjeta:hover { transform: translateY(-4px); border-color: var(--gx-acento); color: inherit; box-shadow: 0 18px 40px rgba(6,40,60,.16); }
.gx-tarjeta h3 { font-size: 1.35rem; margin: 1rem 0 .5rem; }
.gx-tarjeta p { color: #5c6b77; margin-bottom: 1rem; }
.gx-mas { color: var(--gx-primario); font-weight: 600; font-family: var(--gx-fuente-titulos); }
.gx-icono { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: calc(var(--gx-radio) * .9);
    background: linear-gradient(135deg, var(--gx-acento), var(--gx-primario)); color: #fff; font-size: 1.6rem; flex: 0 0 auto; }
.gx-icono-grande { width: 72px; height: 72px; font-size: 2.2rem; }
.gx-tarjeta-img { padding: 0; }
.gx-tarjeta-img h3 { margin-top: 0; font-size: 1.25rem; }
.gx-tarjeta-foto { height: 190px; overflow: hidden; background: var(--gx-claro); border-bottom: 1px solid #e3ebef; }
.gx-tarjeta-foto img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .4s; }
.gx-tarjeta:hover .gx-tarjeta-foto img { transform: scale(1.04); }
.gx-tarjeta-foto-icono { display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--gx-primario);
    background: linear-gradient(135deg, var(--gx-claro), #fff); }

/* módulos ERP */
.gx-modulo { background: #fff; border-radius: calc(var(--gx-radio) * .7); padding: .6rem .8rem; font-weight: 600; font-size: .95rem; border: 1px solid #dfe8ec; }
.gx-modulo i { color: var(--gx-primario); margin-right: .3rem; }
.gx-collage { position: relative; min-height: 430px; }
.gx-collage img { position: absolute; border-radius: var(--gx-radio); box-shadow: 0 20px 45px rgba(6,40,60,.22); border: 4px solid #fff; background: #fff; }
.gx-collage-a { width: 72%; left: 0; top: 0; }
.gx-collage-b { width: 58%; right: 0; top: 34%; }
.gx-collage-c { width: 50%; left: 12%; bottom: 0; }

/* industrias */
.gx-industria { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid #e3ebef; border-radius: var(--gx-radio); padding: 1.1rem;
    text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.gx-industria:hover { border-color: var(--gx-acento); transform: translateY(-3px); color: inherit; }
.gx-industria > i { font-size: 1.7rem; color: var(--gx-primario); line-height: 1; }
.gx-industria h3 { font-size: 1.12rem; margin: 0 0 .25rem; }
.gx-industria p { font-size: .86rem; color: #5c6b77; margin: 0; }

/* características */
.gx-caracteristica { height: 100%; padding: 1.4rem; border-radius: var(--gx-radio); background: color-mix(in srgb, var(--gx-oscuro) 82%, #ffffff); border: 1px solid rgba(255,255,255,.12); }
.gx-caracteristica i { font-size: 1.8rem; color: var(--gx-acento); }
.gx-caracteristica h3 { font-size: 1.15rem; margin: .7rem 0 .35rem; }
.gx-caracteristica p { font-size: .88rem; color: rgba(255,255,255,.75); margin: 0; }
.gx-tecnologia { display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: center; font-family: var(--gx-fuente-titulos); font-size: 1.05rem; color: rgba(255,255,255,.85); }
.gx-tecnologia i { color: var(--gx-acento); margin-right: .35rem; }

/* clientes */
.gx-clientes { background: #fff; border-radius: var(--gx-radio); box-shadow: var(--gx-sombra); padding: 1.5rem; text-align: center; border: 1px solid #e5edf0; }

/* detalle de sistema */
.gx-galeria { border-radius: var(--gx-radio); overflow: hidden; box-shadow: 0 20px 45px rgba(6,40,60,.18); background: #fff; border: 1px solid #e3ebef; }
.gx-galeria .carousel-item img { max-height: 430px; object-fit: contain; background: #fff; }
.gx-galeria .carousel-control-prev-icon, .gx-galeria .carousel-control-next-icon { background-color: rgba(6,50,77,.6); border-radius: 50%; padding: 1.1rem; background-size: 55%; }
.gx-bloque { background: #fff; border: 1px solid #e3ebef; border-radius: var(--gx-radio); padding: 1.5rem; box-shadow: var(--gx-sombra); }
.gx-bloque h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.gx-bloque h3 i { color: var(--gx-primario); }
.gx-lista { list-style: none; padding: 0; margin: 0; }
.gx-lista li { position: relative; padding: .32rem 0 .32rem 1.7rem; font-size: .93rem; border-bottom: 1px dashed #e7eef1; }
.gx-lista li:last-child { border-bottom: 0; }
.gx-lista li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .3rem; color: var(--gx-primario); font-weight: 700; }

/* tablero ilustrativo */
.gx-mock { background: #fff; border-radius: var(--gx-radio); box-shadow: 0 20px 45px rgba(6,40,60,.18); padding: 1.4rem; border: 1px solid #e3ebef; }
.gx-mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.gx-mock-kpis div { background: var(--gx-claro); border-radius: calc(var(--gx-radio) * .7); padding: .8rem; }
.gx-mock-kpis small { display: block; color: #6c7a86; font-size: .75rem; }
.gx-mock-kpis strong { display: block; font-family: var(--gx-fuente-titulos); font-size: 1.35rem; color: var(--gx-oscuro); }
.gx-mock-kpis em { font-style: normal; font-size: .75rem; }
.gx-mock-graf { display: flex; align-items: flex-end; gap: 6px; height: 190px; margin-top: 1.2rem; padding: 0 .3rem; border-bottom: 1px solid #dfe7ea; }
.gx-mock-graf span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--gx-acento), var(--gx-primario)); }
.gx-mock-pie { display: flex; justify-content: space-between; font-size: .75rem; color: #8a97a2; margin-top: .4rem; }

/* nosotros */
.gx-firma { border-left: 3px solid var(--gx-primario); padding-left: 1rem; margin-top: 1.5rem; }
.gx-firma strong { display: block; font-family: var(--gx-fuente-titulos); font-size: 1.2rem; }
.gx-firma span { color: #6c7a86; }
.gx-valores { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gx-valores > div { background: var(--gx-claro); border-radius: var(--gx-radio); padding: 1.2rem; }
.gx-valores i { font-size: 1.8rem; color: var(--gx-primario); }
.gx-valores h3 { font-size: 1.05rem; margin: .5rem 0 .3rem; }
.gx-valores p { font-size: .85rem; margin: 0; color: #5c6b77; }
.gx-paso { background: #fff; border-radius: var(--gx-radio); padding: 1.5rem; height: 100%; border: 1px solid #e3ebef; }
.gx-paso b { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; color: #fff;
    background: linear-gradient(135deg, var(--gx-acento), var(--gx-primario)); font-family: var(--gx-fuente-titulos); font-size: 1.2rem; }
.gx-paso h3 { font-size: 1.15rem; margin: .8rem 0 .3rem; }
.gx-paso p { font-size: .9rem; color: #5c6b77; margin: 0; }

/* contacto */
.gx-form .form-control, .gx-form .form-select { border-radius: calc(var(--gx-radio-btn) * .8); padding: .65rem .85rem; }
.gx-form .form-control:focus, .gx-form .form-select:focus { border-color: var(--gx-primario); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--gx-primario) 20%, transparent); }
.gx-oculto { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gx-contacto { background: var(--gx-claro); border-radius: var(--gx-radio); padding: 1.8rem; }
.gx-datos li { display: flex; gap: .6rem; margin-bottom: .55rem; }
.gx-datos i { color: var(--gx-primario); }

/* llamada a la acción y pie */
.gx-cta { background: linear-gradient(120deg, var(--gx-primario), var(--gx-oscuro)); color: #fff; padding: 3.5rem 0; }
.gx-cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.gx-footer { background: #041f30; color: rgba(255,255,255,.8); padding: 3.5rem 0 1.5rem; }
.gx-footer h6 { color: #fff; font-family: var(--gx-fuente-titulos); text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; margin-bottom: 1rem; }
.gx-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.gx-footer a:hover { color: #fff; }
.gx-footer li { margin-bottom: .4rem; }
.gx-footer .gx-datos i { color: var(--gx-acento); }
.gx-social { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 1.1rem; }
.gx-social:hover { background: var(--gx-primario); }
.gx-copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 1.2rem; font-size: .82rem; text-align: center; color: rgba(255,255,255,.55); }

/* botón flotante de WhatsApp */
.gx-wa-flotante { position: fixed; bottom: 22px; z-index: 1050; display: inline-flex; align-items: center; gap: .5rem; height: 58px; min-width: 58px;
    padding: 0 1.1rem 0 .95rem; border-radius: 50rem; background: #25d366; color: #fff; font-size: 1.75rem; text-decoration: none;
    box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: transform .2s; animation: gx-latido 2.8s ease-in-out infinite; }
.gx-wa-flotante span { font-family: var(--gx-fuente-titulos); font-size: 1rem; font-weight: 600; }
.gx-wa-flotante:hover { color: #fff; transform: scale(1.06); }
.gx-wa-der { right: 22px; } .gx-wa-izq { left: 22px; }
@keyframes gx-latido { 0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,.45); } 50% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 10px rgba(37,211,102,.15); } }

/* animación al entrar en pantalla */
.gx-aparecer { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.gx-aparecer.gx-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .gx-aparecer { opacity: 1; transform: none; transition: none; } .gx-wa-flotante { animation: none; } }

@media (max-width: 991.98px) {
    .gx-hero { padding: 4rem 0 4.5rem; }
    .gx-navegador { transform: none; }
    .gx-mosaico { width: 45%; opacity: .25; }
    .gx-collage { min-height: 0; display: grid; gap: 1rem; }
    .gx-collage img { position: static; width: 100% !important; }
    .gx-nav .navbar-collapse { padding: .5rem 0 1rem; }
    .gx-mega { box-shadow: none; }
}
@media (max-width: 575.98px) {
    .gx-seccion { padding: 3.5rem 0; }
    .gx-mock-kpis { grid-template-columns: 1fr; }
    .gx-valores { grid-template-columns: 1fr; }
    .gx-wa-flotante span { display: none; }
    .gx-wa-flotante { padding: 0; justify-content: center; width: 58px; }
}
.gx-hero-interna .gx-mosaico { opacity: .32; width: min(30%, 380px); }
.gx-hero, .gx-oscuro, main { overflow-x: clip; }
