/* stylelint-disable no-descending-specificity -- footer mixes global WP styles and local components; keep cascade as-is */

/* Footer layout & responsive adjustments extracted */

@media (max-width: 768px) {
    .footer-container {
        align-items: center;
        text-align: center;
        gap: 24px;

    }



    .footer-core {
        display: grid;
        justify-items: center;
        gap: 24px;

    }



    #colophon.site-footer .wp-block-columns.footer-core {
        grid-template-columns: 1fr;
        grid-template-areas:

            "brand"

            "connect"

            "links";

    }



    .footer-column {
        align-items: center;
        width: 100%;

    }



    .footer-connect,

    .footer-links {
        padding-left: 0;
        max-width: 100%;

    }



    .footer-company .wp-block-site-logo {
        justify-content: center;

    }



    .footer-company {
        display: flex;
        align-items: center;
        gap: clamp(12px, 3vw, 18px);
        text-align: center;

    }



    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        margin-bottom: clamp(8px, 2vw, 14px);

    }



    .footer-brand .footer-logo .custom-logo {
        max-height: clamp(64px, 10vw, 100px);

    }



    .footer-brand .neon-social-icons {
        margin-top: 6px;

    }



    .footer-nav {
        align-items: center;
        gap: 16px;

    }



    .footer-tagline {
        max-width: 100%;
        text-align: center;

    }



    .footer-connect__list {
        align-items: center;

    }



    .footer-connect__list a {
        text-align: center;

    }



    .footer-section-title {
        margin-bottom: 20px;
        font-size: 0.9rem;

    }



    .social-links-menu {
        justify-content: center;
        gap: 24px;

    }

}



/* --- Footer --- */

#colophon.site-footer {
    position: relative;
    padding: clamp(40px, 5vw, 50px) clamp(24px, 4vw, 48px) clamp(30px, 4vw, 40px);
    color: var(--text-secondary);
    background-color: #04060f;
    overflow: hidden;
    isolation: isolate;

}



#colophon.site-footer:not(.is-glass)::before {
    content: "";
    position: absolute;
    inset: 0;
    background:

        linear-gradient(180deg, rgba(4, 6, 14, 0.92), rgba(4, 6, 14, 0.92)),

        url("/wp-content/uploads/2025/10/neon-wave-grid-background.png") center/150% auto repeat;
    opacity: 0.45;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: -1;

}



#colophon.site-footer:not(.is-glass)::after {
    content: "";
    position: absolute;
    inset: 0;
    background:

        linear-gradient(135deg, rgba(0, 229, 255, 0.4) 0%, rgba(0, 229, 255, 0) 55%) top left / 220px 220px no-repeat,

        linear-gradient(225deg, rgba(255, 0, 224, 0.4) 0%, rgba(255, 0, 224, 0) 55%) top right / 220px 220px no-repeat,

        linear-gradient(45deg, rgba(255, 107, 0, 0.4) 0%, rgba(255, 107, 0, 0) 60%) bottom right / 260px 260px no-repeat;
    pointer-events: none;
    z-index: -1;
    opacity: 0.9;
    mix-blend-mode: screen;

}





/* Neon Social Icons: sizing, layout, hover glow */

.neon-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;

}



.footer-company .neon-social-icons {
    justify-content: center;

}



.neon-social-icons .neon-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background:

        linear-gradient(145deg, rgba(79, 240, 255, 0.22), rgba(255, 116, 228, 0.2)),

        rgba(12, 20, 42, 0.7);
    box-shadow:

        inset 0 0 0 1px rgba(255, 255, 255, 0.08),

        0 8px 24px rgba(0, 0, 0, 0.45);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, background 0.3s ease;

}



.neon-social-icons .neon-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    filter: drop-shadow(0 0 6px rgba(79, 240, 255, 0.35));

}



.neon-social-icons .neon-icon:hover,

.neon-social-icons .neon-icon:focus-visible {
    transform: translateY(-2px) scale(1.06);
    background:

        linear-gradient(155deg, rgba(79, 240, 255, 0.32), rgba(255, 116, 228, 0.3)),

        rgba(8, 14, 32, 0.9);
    box-shadow:

        inset 0 0 0 1px rgba(255, 255, 255, 0.18),

        0 16px 32px rgba(79, 240, 255, 0.28),

        0 0 24px rgba(255, 116, 228, 0.22);
    filter: drop-shadow(0 0 14px rgba(79, 240, 255, 0.55));

}



.neon-social-icons .neon-icon:focus-visible {
    outline: 2px solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
    box-shadow:

        inset 0 0 0 1px rgba(255, 255, 255, 0.2),

        var(--focus-ring-shadow);

}



/* Ensure Connect column links match theme, not browser default */

.footer-connect {
    gap: 10px;
    padding-right: clamp(24px, 4vw, 42px);

}



.footer-connect a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease, text-shadow 0.25s ease;

}



.footer-connect a:visited {
    color: var(--text-secondary);

}



.footer-connect a:hover,

.footer-connect a:focus-visible {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.45);

}



.footer-connect a:focus-visible {
    outline: 2px solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
    box-shadow: var(--focus-ring-shadow);

}



.footer-connect p {
    margin: 0;

}



.footer-connect p + p {
    margin-top: 0;

}



.footer-tagline {
    margin: clamp(12px, 2vw, 18px) 0 6px;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    color: var(--text-primary);
    text-shadow:

        0 0 24px rgba(0, 246, 255, 0.24),

        0 0 18px rgba(255, 61, 217, 0.18);

}



.footer-service-area {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 32ch;

}



.footer-base {
    display: none !important;

}



.footer-base__links {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--text-secondary);
    font-size: 0.9rem;

}



.footer-base__links a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease, text-shadow 0.25s ease;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 8px;

}



.footer-base__links a:hover,

.footer-base__links a:focus-visible {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.35);

}



.footer-base__links span {
    color: rgba(255, 255, 255, 0.35);

}



/* Ensure the new fixed contact link gets a bit more emphasis */

.footer-contact-fixed a {
    font-weight: 700;

}



.footer-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(12px, 2vw, 20px);
    margin-top: clamp(16px, 3vw, 24px);

}



.footer-cta__button {
    min-height: 48px;
    padding-inline: clamp(1.4rem, 4vw, 2.2rem);

}



@media (max-width: 640px) {
    .footer-cta {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;

    }



    .footer-cta__button {
        width: 100%;
        justify-content: center;

    }

}



#colophon.site-footer:not(.is-glass)::before,

#colophon.site-footer:not(.is-glass)::after {
    content: '';
    position: absolute;
    inset: -30%;
    filter: blur(70px);
    opacity: 0.45;
    pointer-events: none;
    z-index: var(--z-index-default);
    background: none;
}







/* Footer starfield */

#colophon.site-footer .stars,

#colophon.site-footer .stars2,

#colophon.site-footer .stars3 {
    position: absolute;
    inset: 0;
    height: 100%;
    display: block;
    pointer-events: none;
    z-index: var(--z-index-background);
    background-position: 0 0;
    will-change: background-position, opacity, filter;
    transform: translateZ(0);
    animation: none;

}



#colophon.site-footer .stars .wp-block-group__inner-container,

#colophon.site-footer .stars2 .wp-block-group__inner-container,

#colophon.site-footer .stars3 .wp-block-group__inner-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;

}



#colophon.site-footer .stars {
    background: none !important;
    opacity: 1;
}



#colophon.site-footer .stars2 {
    display: none !important;
    background: none !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}



#colophon.site-footer .stars3 {
    display: none !important;
    background: none !important;
    filter: none !important;
}



.footer-container {
    max-width: min(1200px, 92vw);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 4vw, 52px);
    position: relative;
    z-index: var(--z-index-content);
    align-items: stretch;
    padding-inline: clamp(16px, 4vw, 48px);

}



.footer-container > * {
    position: relative;
    z-index: var(--z-index-default);
    background: none;
}



.wp-block-separator.footer-separator {
    display: none;
    margin: 0;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.55), rgba(255, 0, 224, 0.5), transparent);
    opacity: 0.45;

}



.footer-core a:focus-visible {
    outline: 2px solid var(--neon-cyan);
    outline-offset: 4px;

}



.footer-core {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    grid-template-areas: "connect brand links";
    gap: clamp(40px, 5vw, 64px);
    align-items: start;
    justify-content: center;
    margin-bottom: 0;

}



.footer-core > * {
    height: auto;
    min-height: 0;

}



.footer-column.footer-connect { grid-area: connect; }

.footer-column.footer-company { grid-area: brand; }

.footer-column.footer-links { grid-area: links; }



.wp-block-columns.are-vertically-aligned-center.footer-core {
    align-items: start;

}



.footer-core .wp-block-column.is-vertically-aligned-center {
    align-self: start;

}



.footer-column {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1vw, 18px);
    align-items: flex-start;

}



/* --- Frosted Glass Variant (neon cyan/magenta) --- */

#colophon.site-footer.is-glass {
    /* Uniform frosted base so blur samples consistent pixels */
    /* Lower tint so global backdrop stays mostly visible */
    background: none !important;
    background-color: rgba(8, 14, 32, 0.24) !important;
    /* Keep its own stacking context so backdrop-filter is stable */
    isolation: isolate !important;
    color: var(--text-primary);
    /* Subtle edge + depth */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 -18px 42px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}



/* Glass overlay: sits above starfield, below content */

/* Glass blur overlay: no tint here (tint lives on element background) */
/* Glass blur overlay: blur-only, strength via CSS var for easy tuning */

#colophon.site-footer.is-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: var(--z-index-default);
    /* Semi-transparent film so the blur is perceptible */
    background: rgba(8, 14, 32, 0.16) !important;
    /* Ensure pure blur overlay without blending/opacity inherited from base rule */
    mix-blend-mode: normal;
    opacity: 1;
    backdrop-filter: blur(var(--mcd-footer-blur, 18px)) saturate(150%) brightness(1.04) contrast(1.02);

}

/* Hard reset any base pseudo styling so glass behaves consistently */

#colophon.site-footer.is-glass::before,
#colophon.site-footer.is-glass::after {
    inset: 0 !important;
    filter: none !important;
    transform: none !important;
    background-attachment: scroll !important;
}



#colophon.site-footer.is-glass::after { content: none !important; }



@media (prefers-reduced-transparency: reduce) {
    #colophon.site-footer.is-glass::before {
        backdrop-filter: blur(12px) saturate(120%) brightness(1.02) contrast(1.02);
    }
}

.footer-connect,

.footer-links {
    max-width: clamp(240px, 24vw, 320px);

}



.footer-column:not(.footer-company) {
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    line-height: 1.6;

}



.footer-column:not(.footer-company) a {
    font-size: inherit;

}



.footer-column .has-small-font-size {
    font-size: inherit;

}



.footer-link {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.8vw, 14px);
    margin: 0;
    min-height: 44px;

}



.footer-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(22px, 3vw, 28px);
    height: clamp(22px, 3vw, 28px);
    color: rgba(0, 229, 255, 0.85);
    flex-shrink: 0;

}



.footer-link__icon svg {
    width: clamp(16px, 2.4vw, 18px);
    height: clamp(16px, 2.4vw, 18px);

}



.footer-link a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease, text-shadow 0.25s ease;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 8px;

}



.footer-link a:hover,

.footer-link a:focus-visible {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
    outline: none;

}



.footer-company {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(14px, 2vw, 20px);
    justify-self: center;

}



.footer-links {
    gap: clamp(12px, 1.5vw, 18px);
    padding-left: clamp(16px, 3vw, 36px);

}



/* Columns are auto-positioned in order: Connect, Company (center), Links */



.footer-company .wp-block-site-logo {
    display: flex;
    justify-content: center;

}



.footer-company .footer-tagline {
    font-size: clamp(1rem, 0.95rem + 0.2vw, 1.15rem);
    color: var(--text-secondary);
    margin: 0;
    max-width: 340px;
    text-align: center;

}



.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 2vw, 22px);

}



.footer-nav a {
    color: rgba(236, 244, 255, 0.92);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.25s ease, text-shadow 0.25s ease;
    text-shadow: 0 0 8px rgba(3, 6, 16, 0.65);

}



.footer-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    transition: width 0.25s ease;
    box-shadow: 0 0 6px rgba(0, 229, 255, 0.55);

}



.footer-nav a:hover,

.footer-nav a:focus-visible {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.55);

}



.footer-nav a:hover::after,

.footer-nav a:focus-visible::after {
    width: 100%;

}



.footer-section-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
    color: rgba(230, 241, 255, 0.78);
    margin: 0 0 clamp(18px, 2.5vw, 24px) !important;

}



.footer-connect__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1vw, 14px);

}



.footer-connect__list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease, text-shadow 0.25s ease;

}



.footer-connect__list a:hover,

.footer-connect__list a:focus-visible {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.45);

}



.social-links-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 18px;

}



.social-links-menu li {
    margin: 0;

}



.social-links-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, filter 0.3s ease;

}



.social-links-menu svg {
    height: 28px;
    width: 28px;
    fill: var(--text-secondary);
    transition: transform 0.3s ease, filter 0.3s ease, fill 0.3s ease;

}



.social-links-menu a:hover svg,

.social-links-menu a:focus-visible svg {
    fill: var(--neon-cyan);
    transform: translateY(-4px) scale(1.1);
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.8));

}



.footer-logo .custom-logo {
    height: auto;
    width: auto;
    max-height: var(--logo-size-footer);
    margin-bottom: 0;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
    transition: filter 0.3s ease;

}



.footer-logo a:hover .custom-logo,

.footer-logo a:focus-visible .custom-logo {
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.8)) drop-shadow(0 0 10px rgba(255, 0, 224, 0.55));

}



.site-info {
    font-size: 0.85rem;
    text-align: center;
    color: rgba(197, 216, 242, 0.8);
    margin-top: 0;
    padding-top: 20px;

}



/* Remove any spacer blocks or extra spacing in footer */

#colophon.site-footer .wp-block-spacer {
    display: none !important;

}



#colophon.site-footer > *:last-child {
    margin-bottom: 0 !important;

}



#colophon.site-footer .footer-container > *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;

}



/* Force all footer groups to have minimal spacing */

#colophon.site-footer .wp-block-group {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    min-height: auto !important;
    height: auto !important;

}



/* Specifically target the copyright group */

#colophon.site-footer .wp-block-group:last-child {
    padding-top: 24px !important;
    margin-top: 0 !important;

}



/* Force grid block to not stretch */

#colophon.site-footer .wp-block-columns,

#colophon.site-footer [class*="wp-block-column"] {
    min-height: auto !important;
    height: auto !important;

}



#colophon.site-footer .wp-block-columns.footer-core {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    grid-template-areas: "connect brand links";
    gap: clamp(40px, 5vw, 64px);
    align-items: start;
    justify-content: center;

}



#colophon.site-footer .wp-block-columns.footer-core.is-layout-flex {
    display: grid;

}



/* --- Responsive Styles (for screens 768px or less) --- */

@media (max-width: 1024px) {
    #colophon.site-footer .wp-block-columns.footer-core {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        grid-template-areas:

            "brand brand"

            "connect links";

    }



    #colophon.site-footer .footer-column.footer-company {
        align-items: center;
        text-align: center;

    }

}

@media (max-width: 768px) {
    .footer-core {
        grid-template-columns: 1fr;
        gap: clamp(20px, 5vw, 28px);
        justify-items: center;
    }

    #colophon.site-footer .wp-block-columns.footer-core {
        grid-template-columns: 1fr;
        grid-template-areas:
            "brand"
            "connect"
            "links";
        gap: clamp(20px, 5vw, 28px);
        justify-items: center;
    }

    .footer-column {
        align-items: center;
        text-align: center;
    }

    .footer-connect,
    .footer-links {
        padding-left: 0;
        max-width: 100%;
    }

    .footer-brand,
    .footer-tagline,
    .footer-service-area,
    .footer-nav,
    .footer-connect__list {
        text-align: center;
        align-items: center;
    }

    .neon-social-icons {
        justify-content: center;
    }
}

/* === Footer brand alignment 2025-10-20 === */

.site-footer .footer-brand {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: clamp(8px, 1.8vw, 14px);

}



.site-footer .neon-social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.4vw, 18px);
  margin: 4px 0 6px;

}



.site-footer .footer-tagline {
  display: block;
  text-align: center;
  margin: 6px 0 8px;
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  line-height: 1.1;

}



.site-footer .footer-service-area {
  text-align: center;
  max-width: min(820px, 92vw);
  margin: 0 auto;
  color: var(--text-secondary);

}







/* Cleanup: late overrides removed; glass blur overlay defined once above */


/* Canvas layer for neon stars: sits inside .stars container */

#colophon.site-footer .footer-stars-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    z-index: var(--z-index-background);
}
