@charset "utf-8";

/*==================================================
    COLABORAWEB | FOOTER PREMIUM 2026
    Cyber / Neon / Fire
    Responsive + SEO friendly + PageSpeed
==================================================*/

/*==================================================
    1. VARIABLES
==================================================*/

:root {
    --footer-bg: #050914;
    --footer-bg-secondary: #081225;
    --footer-panel: rgba(13, 27, 49, .72);

    --footer-blue: #087CF0;
    --footer-cyan: #38BDF8;
    --footer-green: #10D982;
    --footer-purple: #8B5CF6;

    --footer-text: #E5EDF7;
    --footer-muted: #91A1B7;
    --footer-border: rgba(148, 163, 184, .15);

    --footer-radius: 12px;
    --footer-container: 1200px;
}

/*==================================================
    2. FOOTER GENERAL
==================================================*/

.footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    margin: 0;
    color: var(--footer-text);

    background:
        radial-gradient(
            ellipse at 15% 0%,
            rgba(8, 124, 240, .12),
            transparent 38%
        ),
        radial-gradient(
            ellipse at 90% 65%,
            rgba(16, 217, 130, .055),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #081225 0%,
            #060C18 58%,
            #040710 100%
        );

    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

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

.footer a {
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.footer a:focus-visible {
    outline: 2px solid var(--footer-cyan);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Evitar márgenes inesperados dentro del footer */

.footer h2,
.footer h3,
.footer h4,
.footer p,
.footer ul {
    margin-top: 0;
}

/*==================================================
    3. GRID DECORATIVO
==================================================*/

.footer::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    opacity: .15;

    background-image:
        linear-gradient(
            rgba(56, 189, 248, .10) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(56, 189, 248, .10) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent,
        #000 12%,
        #000 78%,
        transparent
    );

    mask-image: linear-gradient(
        to bottom,
        transparent,
        #000 12%,
        #000 78%,
        transparent
    );
}

/*==================================================
    4. LÍNEA SUPERIOR
==================================================*/

.footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        transparent,
        var(--footer-blue),
        var(--footer-cyan),
        var(--footer-green),
        transparent
    );

    opacity: .9;
}

/*==================================================
    5. SERVICIOS
==================================================*/

.footer-services {
    position: relative;
    width: 100%;
    border-bottom: 1px solid var(--footer-border);
}

.footer-services__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;

    width: 100%;
    max-width: var(--footer-container);
    margin: 0 auto;
    padding: 32px 20px;
}

/* Tarjeta individual */

.footer-service {
    display: flex;
    align-items: center;
    gap: 14px;

    min-width: 0;
    min-height: 91px;
    padding: 17px;

    color: var(--footer-text);
    text-decoration: none;

    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: var(--footer-radius);

    background: linear-gradient(
        145deg,
        rgba(17, 32, 55, .90),
        rgba(8, 18, 37, .76)
    );

    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);

    transition:
        border-color .22s ease,
        background .22s ease,
        transform .22s ease,
        box-shadow .22s ease;
}

.footer-service:hover {
    border-color: rgba(56, 189, 248, .35);

    background: linear-gradient(
        145deg,
        rgba(18, 39, 67, .96),
        rgba(8, 23, 43, .90)
    );

    transform: translateY(-2px);

    box-shadow: 0 9px 25px rgba(0, 0, 0, .16);
}

/*==================================================
    6. ICONOS SVG MULTICOLOR
==================================================*/

.footer-service__icon {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;

    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, .08),
        rgba(255, 255, 255, .025)
    );

    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.footer-service__icon svg {
    display: block;
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    overflow: visible;
}

/* Diseño web: azul eléctrico */

.footer-service:nth-child(1) .footer-service__icon {
    color: #38BDF8;
    border-color: rgba(56, 189, 248, .34);

    background: linear-gradient(
        145deg,
        rgba(56, 189, 248, .19),
        rgba(8, 124, 240, .06)
    );
}

/* Hosting: verde */

.footer-service:nth-child(2) .footer-service__icon {
    color: #10D982;
    border-color: rgba(16, 217, 130, .34);

    background: linear-gradient(
        145deg,
        rgba(16, 217, 130, .18),
        rgba(16, 217, 130, .04)
    );
}

/* Marketing: violeta */

.footer-service:nth-child(3) .footer-service__icon {
    color: #C084FC;
    border-color: rgba(192, 132, 252, .34);

    background: linear-gradient(
        145deg,
        rgba(192, 132, 252, .19),
        rgba(139, 92, 246, .05)
    );
}

/* Soporte IT: naranja */

.footer-service:nth-child(4) .footer-service__icon {
    color: #FB923C;
    border-color: rgba(251, 146, 60, .34);

    background: linear-gradient(
        145deg,
        rgba(251, 146, 60, .18),
        rgba(234, 88, 12, .05)
    );
}

/* Clientes: turquesa */

.footer-service:nth-child(5) .footer-service__icon {
    color: #2DD4BF;
    border-color: rgba(45, 212, 191, .34);

    background: linear-gradient(
        145deg,
        rgba(45, 212, 191, .18),
        rgba(20, 184, 166, .05)
    );
}

/* Contacto: rosado */

.footer-service:nth-child(6) .footer-service__icon {
    color: #F472B6;
    border-color: rgba(244, 114, 182, .34);

    background: linear-gradient(
        145deg,
        rgba(244, 114, 182, .18),
        rgba(219, 39, 119, .05)
    );
}

/* Resplandor al pasar el cursor */

.footer-service:hover .footer-service__icon {
    transform: translateY(-2px) scale(1.04);
}

.footer-service:nth-child(1):hover .footer-service__icon {
    border-color: #38BDF8;
    box-shadow: 0 0 18px rgba(56, 189, 248, .22);
}

.footer-service:nth-child(2):hover .footer-service__icon {
    border-color: #10D982;
    box-shadow: 0 0 18px rgba(16, 217, 130, .22);
}

.footer-service:nth-child(3):hover .footer-service__icon {
    border-color: #C084FC;
    box-shadow: 0 0 18px rgba(192, 132, 252, .22);
}

.footer-service:nth-child(4):hover .footer-service__icon {
    border-color: #FB923C;
    box-shadow: 0 0 18px rgba(251, 146, 60, .22);
}

.footer-service:nth-child(5):hover .footer-service__icon {
    border-color: #2DD4BF;
    box-shadow: 0 0 18px rgba(45, 212, 191, .22);
}

.footer-service:nth-child(6):hover .footer-service__icon {
    border-color: #F472B6;
    box-shadow: 0 0 18px rgba(244, 114, 182, .22);
}

/* Contenido de la tarjeta */

.footer-service__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;

    min-width: 0;
}

.footer-service__content strong {
    display: block;
    color: #F5F8FF;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;

    overflow-wrap: anywhere;

    transition: color .2s ease;
}

.footer-service:hover .footer-service__content strong {
    color: #FFFFFF;
}

.footer-service__content small {
    display: block;
    color: var(--footer-muted);
    font-size: 11px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

/*==================================================
    7. ENCABEZADOS DE SECCIÓN
==================================================*/

.footer-heading {
    margin: 0 0 16px;
    color: #F5F8FF;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.footer-links__heading,
.footer-guides__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin: 0 0 17px;

    color: #F5F8FF;
    font-size: 14px;
    font-weight: 800;
}

.footer-links__heading > span,
.footer-guides__heading > span {
    color: var(--footer-green);
    font-size: 15px;
}

/*==================================================
    8. ENLACES RÁPIDOS
==================================================*/

.footer-links {
    border-bottom: 1px solid var(--footer-border);
}

.footer-links__inner,
.footer-guides__inner {
    width: 100%;
    max-width: var(--footer-container);
    margin: 0 auto;
    padding: 25px 20px;
}

.footer-links__list,
.footer-guides__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px 24px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links__list a,
.footer-guides__list a {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;

    min-width: 0;

    color: #A9B8CC;
    font-size: 12px;
    line-height: 1.6;
    text-decoration: none;
    overflow-wrap: anywhere;

    transition: color .2s ease;
}

.footer-links__list a::before,
.footer-guides__list a::before {
    content: "›";
    flex: 0 0 auto;

    color: var(--footer-cyan);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.15;
}

.footer-links__list a:hover,
.footer-guides__list a:hover {
    color: #FFFFFF;
}

/*==================================================
    9. GUÍAS Y RECURSOS
==================================================*/

.footer-guides {
    border-bottom: 1px solid var(--footer-border);
    background: rgba(255, 255, 255, .012);
}

.footer-guides__inner {
    padding-top: 23px;
    padding-bottom: 26px;
}

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

/*==================================================
    10. REDES, LEGALES Y SOPORTE
==================================================*/

.footer-connect {
    border-bottom: 1px solid var(--footer-border);
}

.footer-connect__inner {
    display: grid;
    grid-template-columns: .85fr 1.6fr 1fr;
    align-items: start;
    gap: 35px;

    width: 100%;
    max-width: var(--footer-container);
    margin: 0 auto;
    padding: 30px 20px;
}

/*==================================================
    11. REDES SOCIALES
==================================================*/

.footer-social-section {
    min-width: 0;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-social li {
    margin: 0;
    padding: 0;
}

.footer-social li a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 39px;
    height: 39px;

    border: 1px solid rgba(148, 163, 184, .19);
    border-radius: 10px;

    color: #C0CDDE;
    background: rgba(255, 255, 255, .035);

    font-size: 17px;
    text-decoration: none;

    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.footer-social li a:hover {
    color: #FFFFFF;
    border-color: rgba(56, 189, 248, .55);
    background: rgba(8, 124, 240, .15);
    transform: translateY(-3px);
}

/*==================================================
    12. ENLACES LEGALES
==================================================*/

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px 19px;

    min-width: 0;
    padding-top: 2px;
}

.footer-legal a {
    color: #98A8BD;
    font-size: 11px;
    line-height: 1.7;
    text-decoration: none;

    transition: color .2s ease;
}

.footer-legal a:hover {
    color: var(--footer-green);
}

/*==================================================
    13. CENTRO DE SOPORTE
==================================================*/

.footer-support {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 0;
    padding: 15px;

    border: 1px solid rgba(16, 217, 130, .23);
    border-radius: var(--footer-radius);

    background: linear-gradient(
        135deg,
        rgba(16, 217, 130, .07),
        rgba(8, 124, 240, .08)
    );

    text-decoration: none;

    transition:
        border-color .2s ease,
        background .2s ease;
}

.footer-support:hover {
    border-color: rgba(16, 217, 130, .52);

    background: linear-gradient(
        135deg,
        rgba(16, 217, 130, .12),
        rgba(8, 124, 240, .10)
    );
}

.footer-support__icon {
    display: flex;
    flex: 0 0 39px;
    align-items: center;
    justify-content: center;

    width: 39px;
    height: 39px;

    border-radius: 10px;

    color: var(--footer-green);
    background: rgba(16, 217, 130, .10);
    font-size: 19px;
}

.footer-support__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.footer-support__text small {
    color: var(--footer-muted);
    font-size: 10px;
}

.footer-support__text strong {
    margin-top: 2px;
    color: #E9FFF5;
    font-size: 12px;
    line-height: 1.4;
}

.footer-support__arrow {
    color: var(--footer-green);
    font-size: 18px;
}

/*==================================================
    14. COPYRIGHT
==================================================*/

.footer-bottom {
    position: relative;
    overflow: hidden;

    border-top: 1px solid rgba(148, 163, 184, .08);
    background: rgba(2, 5, 12, .74);
}

.footer-bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 1px;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(8, 124, 240, .7),
        rgba(56, 189, 248, .9),
        rgba(16, 217, 130, .7),
        transparent
    );
}

.footer-bottom__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    max-width: var(--footer-container);
    margin: 0 auto;
    padding: 24px 20px 27px;

    text-align: center;
}

.footer-copyright {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;

    margin: 0;

    color: #8392A7;
    font-size: 11px;
    line-height: 1.8;
}

.footer-copyright strong {
    color: #C8D7E9;
    font-weight: 750;
}

.footer-copyright__symbol {
    color: var(--footer-cyan);
    font-size: 14px;
}

.footer-copyright__separator {
    color: #53647C;
}

/*==================================================
    15. CRÉDITO DE DESARROLLO
==================================================*/

.footer-credit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;

    margin: 0;

    color: #A0AEC0;
    font-size: 12px;
    line-height: 1.8;
}

/* Corazón animado */

.footer-heart {
    display: inline-block;

    color: #FB4268;
    font-size: 15px;
    line-height: 1;

    transform-origin: center;
    animation: footerHeartPulse 1.8s ease-in-out infinite;
}

@keyframes footerHeartPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/*==================================================
    16. COLABORAWEB.COM
    EFECTO ELÉCTRICO
==================================================*/

.footer-credit__brand {
    position: relative;
    isolation: isolate;

    display: inline-block;
    margin-left: 3px;

    color: #FFFFFF;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .15px;
    line-height: 1.5;
    text-decoration: none;

    background: linear-gradient(
        180deg,
        #FFFFFF 0%,
        #B9F7FF 18%,
        #38BDF8 42%,
        #087CF0 65%,
        #10D982 100%
    );

    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    filter: drop-shadow(0 0 5px rgba(56, 189, 248, .18));

    transition: filter .25s ease;
}

.footer-credit__brand:hover {
    filter:
        drop-shadow(0 0 4px rgba(56, 189, 248, .8))
        drop-shadow(0 0 10px rgba(16, 217, 130, .42));
}

.footer-credit__brand::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -3px;
    left: 0;

    height: 2px;
    border-radius: 50%;

    background: linear-gradient(
        90deg,
        transparent,
        #087CF0,
        #38BDF8,
        #FFFFFF,
        #10D982,
        transparent
    );

    opacity: .9;
    transform: scaleX(.55);
    transform-origin: center;

    transition:
        transform .3s ease,
        opacity .3s ease;
}

.footer-credit__brand:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

/*==================================================
    17. TABLET
==================================================*/

@media (max-width: 1000px) {

    .footer-services__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .footer-connect__inner {
        grid-template-columns: 1fr 1.5fr;
        gap: 27px;
    }

    .footer-support {
        grid-column: 1 / -1;
        max-width: 360px;
    }
}

/*==================================================
    18. MÓVIL
==================================================*/

@media (max-width: 700px) {

    .footer-services__inner {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 20px 17px;
    }

    .footer-service {
        min-height: 0;
        padding: 12px;
    }

    .footer-service__icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .footer-service__icon svg {
        width: 23px;
        height: 23px;
    }

    .footer-links__inner,
    .footer-guides__inner {
        padding: 23px 18px;
    }

    .footer-links__list,
    .footer-guides__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 16px;
    }

    .footer-connect__inner {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 26px 18px;
    }

    .footer-social-section {
        text-align: left;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-legal {
        gap: 10px 17px;
    }

    .footer-support {
        grid-column: auto;
        width: 100%;
        max-width: none;
    }

    .footer-bottom__inner {
        padding: 22px 16px 24px;
    }
}

/*==================================================
    19. MÓVIL PEQUEÑO
==================================================*/

@media (max-width: 380px) {

    .footer-services__inner {
        padding-right: 12px;
        padding-left: 12px;
    }

    .footer-service {
        gap: 10px;
        padding: 10px;
    }

    .footer-service__icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .footer-service__icon svg {
        width: 21px;
        height: 21px;
    }

    .footer-service__content strong {
        font-size: 13px;
    }

    .footer-service__content small {
        font-size: 10px;
    }

    .footer-links__inner,
    .footer-guides__inner,
    .footer-connect__inner {
        padding-right: 14px;
        padding-left: 14px;
    }

    .footer-links__list,
    .footer-guides__list {
        grid-template-columns: 1fr;
    }

    .footer-credit {
        font-size: 11px;
    }

    .footer-credit__brand {
        font-size: 13px;
    }
}

/*==================================================
    20. ACCESIBILIDAD
==================================================*/

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

    .footer *,
    .footer *::before,
    .footer *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}