.cta-section {
    padding: 4rem 1rem;
    text-align: center;
    background:
        linear-gradient(90deg, rgba(5, 7, 12, 0.96), rgba(12, 22, 41, 0.84), rgba(5, 7, 12, 0.96)),
        url("../img/lunar-stars.svg") center / cover;
    border-top: 1px solid rgba(111, 231, 255, 0.25);
}

.cta-section h3 {
    margin: 0 0 1.25rem;
    color: #ffffff;
    font-family: "Bank Gothic", "Copperplate Gothic Light", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    text-shadow: 0 1px 0 #ffffff, 0 0 3px #ffffff, 0 0 9px rgba(0, 149, 255, 0.9), 0 0 16px rgba(0, 55, 255, 0.62);
    text-transform: uppercase;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: min(100%, 42rem);
    margin: 0 auto;
}

.contact-actions .cta-link {
    flex: 1 1 17rem;
    min-width: 0;
    gap: 0.75rem;
    min-height: 3.5rem;
    padding: 0.65rem 1rem;
}

.cta-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 9rem;
    min-height: 3rem;
    padding: 0 1.5rem;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.9);
    font-family: "Bank Gothic", "Copperplate Gothic Light", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    font-weight: 900;
    text-decoration: none;
    text-shadow: 0 0 1px #ffffff, 0 0 5px rgba(0, 149, 255, 0.78), 0 0 10px rgba(0, 55, 255, 0.55);
    text-transform: uppercase;
    border: 1px solid rgba(111, 231, 255, 0.82);
    background:
        linear-gradient(90deg, rgba(255, 67, 213, 0.22), transparent 18%, transparent 82%, rgba(111, 231, 255, 0.28)),
        linear-gradient(180deg, rgba(11, 28, 55, 0.98), rgba(5, 8, 19, 0.98));
    clip-path: polygon(0.75rem 0, 100% 0, 100% calc(100% - 0.75rem), calc(100% - 0.75rem) 100%, 0 100%, 0 0.75rem);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 0 1.15rem rgba(0, 149, 255, 0.2), 0 0 0.85rem rgba(0, 149, 255, 0.32);
}

.cta-link:hover,
.cta-link:focus {
    border-color: #ff43d5;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), inset 0 0 1.2rem rgba(255, 67, 213, 0.28), 0 0 0.9rem rgba(255, 67, 213, 0.45), 0 0 1.6rem rgba(0, 149, 255, 0.36);
}

.cta-link--bluesky {
    border-color: #9fefff;
    background:
        linear-gradient(110deg, rgba(43, 104, 255, 0.32), transparent 60%),
        linear-gradient(180deg, #123d89, #071b42);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), inset 0 0 1.15rem rgba(0, 149, 255, 0.4);
}

.cta-link--bluesky img {
    display: block;
    flex: 0 0 1.75rem;
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
}

.cta-link--bluesky span {
    min-width: 0;
}

.cta-link:focus-visible {
    outline: none;
    background-color: #174f9c;
    box-shadow: inset 0 0 0 3px #fff, inset 0 0 1.4rem rgba(0, 149, 255, 0.6);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.footer {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 2.75rem 1.25rem 4.5rem;
    background:
        linear-gradient(180deg, rgba(3, 7, 17, 0.65), rgba(3, 7, 17, 0.9)),
        url("../img/space_bkg.svg") center / cover;
    text-align: center;
}

.footer-constellation {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    max-width: 1120px;
    margin: 0 auto;
}

.footer-stars {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    pointer-events: none;
}

.footer-stars--right {
    transform: scaleX(-1);
}

.footer-stars path {
    stroke: rgba(159, 239, 255, 0.3);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.footer-stars circle {
    fill: #d6faff;
    filter: drop-shadow(0 0 3px #9fefff) drop-shadow(0 0 7px #60cfff);
}

.footer-brand {
    margin: 0;
    color: #f7fbff;
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    font-size: clamp(1rem, 2vw, 1.65rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-tagline {
    margin: 0.4rem 0 0;
    color: #a3c4d6;
    font-size: clamp(0.88rem, 1.4vw, 1.05rem);
    line-height: 1.5;
    letter-spacing: 0.08em;
}


@media screen and (max-width: 680px) {
    .footer-constellation {
        display: block;
        padding-top: 2.75rem;
    }

    .footer-stars {
        position: absolute;
        top: -0.5rem;
        left: 0;
        width: 30%;
        max-width: 130px;
    }

    .footer-stars--right {
        left: auto;
        right: 0;
    }

}
