/* =========================================================
   FOOTER MINIMALISTA CANOPUS
========================================================= */

.cp-footer {
    --footer-blue: #0d73ff;
    --footer-text: #ffffff;
    --footer-muted: rgba(255, 255, 255, .72);
    --footer-line: rgba(255, 255, 255, .16);

    position: relative;
    overflow: hidden;
    padding: 45px 24px 28px;
    font-family: "Manrope", sans-serif;
    background:
        radial-gradient(circle at 50% 0%, rgba(20, 111, 255, .12), transparent 35%),
        linear-gradient(145deg, #071b3d 0%, #04142f 55%, #031025 100%);
}

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

.cp-footer__glow {
    position: absolute;
    top: -160px;
    left: 50%;
    width: 560px;
    height: 340px;
    border-radius: 50%;
    background: rgba(12, 112, 255, .12);
    filter: blur(90px);
    transform: translateX(-50%);
    pointer-events: none;
}

.cp-footer__container {
    position: relative;
    z-index: 1;
    width: min(1080px, 100%);
    margin: 0 auto;
    text-align: center;
}

.cp-footer__brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.cp-footer__star {
    display: block;
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
    filter: drop-shadow(0 12px 24px rgba(13, 115, 255, .25));
    transition: transform .3s ease;
}

.cp-footer__star svg {
    display: block;
    width: 100%;
    height: 100%;
}

.cp-footer__brand:hover .cp-footer__star {
    transform: translateY(-4px) rotate(8deg);
}

.cp-footer__brand-copy strong,
.cp-footer__brand-copy small {
    display: block;
}

.cp-footer__brand-copy strong {
    color: var(--footer-text);
    font-size: clamp(42px, 5vw, 48px);
    font-weight: 850;
    line-height: 1;
    letter-spacing: .05em;
}

.cp-footer__brand-copy small {
    margin-top: 12px;
    color: rgba(255, 255, 255, .62);
    font-size: 15px;
    font-weight: 650;
    letter-spacing: .34em;
}

.cp-footer__description {
    width: min(720px, 100%);
    margin: 22px auto 0;
    color: var(--footer-muted);
    font-size: 18px;
    line-height: 1.75;
}

.cp-footer__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 26px;
    padding: 18px 16px;
    border-top: 1px solid var(--footer-line);
    border-bottom: 1px solid var(--footer-line);
}

.cp-footer__nav a {
    padding: 0 34px;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
    transition: color .25s ease, transform .25s ease;
}

.cp-footer__nav a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.cp-footer__nav > span {
    width: 1px;
    height: 26px;
    background: var(--footer-blue);
    opacity: .8;
}

.cp-footer__contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 0;
    padding: 18px 16px;
    border-bottom: 1px solid var(--footer-line);
}

.cp-footer__contact a,
.cp-footer__location {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    text-decoration: none;
    transition: color .25s ease;
}

.cp-footer__contact a:hover {
    color: #ffffff;
}

.cp-footer__contact svg {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    fill: none;
    stroke: var(--footer-blue);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cp-footer__contact-divider {
    width: 1px;
    height: 28px;
    background: var(--footer-blue);
    opacity: .65;
}

.cp-footer__legal {
    margin-top: 22px;
}

.cp-footer__legal p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
    line-height: 1.7;
}

.cp-footer__legal p:first-child {
    color: rgba(255, 255, 255, .82);
    font-weight: 650;
}

/* Evita que el header fijo cubra los destinos */
#footer {
    scroll-margin-top: 110px;
}

@media (max-width: 760px) {
    .cp-footer {
        padding: 64px 18px 36px;
    }

    .cp-footer__brand-copy strong {
        font-size: 44px;
    }

    .cp-footer__brand-copy small {
        font-size: 11px;
        letter-spacing: .26em;
    }

    .cp-footer__description {
        font-size: 15px;
    }

    .cp-footer__nav {
        gap: 14px 0;
        padding: 24px 8px;
    }

    .cp-footer__nav a {
        padding: 0 16px;
        font-size: 13px;
    }

    .cp-footer__contact {
        flex-direction: column;
        gap: 16px;
    }

    .cp-footer__contact-divider {
        display: none;
    }
}

@media (max-width: 460px) {
    .cp-footer__nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px 8px;
    }

    .cp-footer__nav > span {
        display: none;
    }

    .cp-footer__contact a,
    .cp-footer__location {
        max-width: 100%;
        justify-content: center;
        text-align: center;
        overflow-wrap: anywhere;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cp-footer__star,
    .cp-footer__nav a {
        transition: none !important;
    }
}
