
/* ==========================================================
   VOLSOL SOLUTIONS — PREMIUM FOOTER
   Larger typography + responsive layout
========================================================== */

.volsol-footer {
    --vf-navy: #071326;
    --vf-deep: #020B1A;
    --vf-blue: #4778F7;
    --vf-light-blue: #6B91FF;
    --vf-orange: #A73508;
    --vf-white: #FFFFFF;
    --vf-muted: #B9C5D9;
    --vf-border: rgba(255, 255, 255, 0.12);

    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding: 82px 0 0;
    border-radius: 26px 26px 0 0;

    background:
        radial-gradient(
            ellipse at 0% 0%,
            rgba(71, 120, 247, 0.34),
            transparent 34%
        ),
        radial-gradient(
            ellipse at 95% 100%,
            rgba(167, 53, 8, 0.13),
            transparent 28%
        ),
        linear-gradient(
            125deg,
            #08162D 0%,
            #020B1A 45%,
            #030B18 100%
        );

    color: var(--vf-white);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.7;
}

.volsol-footer *,
.volsol-footer *::before,
.volsol-footer *::after {
    box-sizing: border-box;
}

.volsol-footer a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================
   CONTAINER
========================================================== */

.volsol-footer-container {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 1600px;

    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 68px);
}

/* ==========================================================
   AI BACKGROUND
========================================================== */

.volsol-footer-grid {
    position: absolute;
    inset: 0;
    z-index: -1;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.027) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.027) 1px,
            transparent 1px
        );

    background-size: 48px 48px;

    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 65%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 65%,
        transparent 100%
    );
}

.volsol-footer-glow {
    position: absolute;
    z-index: -1;

    width: 300px;
    height: 300px;

    border-radius: 50%;
    filter: blur(105px);
    opacity: 0.13;

    pointer-events: none;
}

.volsol-footer-glow-blue {
    top: -170px;
    left: -100px;
    background: var(--vf-blue);
}

.volsol-footer-glow-orange {
    right: 5%;
    bottom: -210px;
    background: var(--vf-orange);
}

/* ==========================================================
   MAIN FOOTER LAYOUT
========================================================== */

.volsol-footer-main {
    display: grid;

    grid-template-columns:
        minmax(270px, 1.15fr)
        minmax(145px, 0.68fr)
        minmax(205px, 0.95fr)
        minmax(290px, 1.3fr);

    gap: clamp(26px, 3vw, 48px);
    align-items: start;
}

/* ==========================================================
   BRAND CARD
========================================================== */

.volsol-footer-brand-card {
    position: relative;
    overflow: hidden;

    padding: 32px 28px 29px;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;

    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.09),
        rgba(255, 255, 255, 0.025)
    );

    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.15);

    backdrop-filter: blur(12px);
}

.volsol-footer-brand-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 28px;

    width: 85px;
    height: 3px;

    background: linear-gradient(
        90deg,
        var(--vf-blue),
        var(--vf-light-blue),
        transparent
    );
}

/* ==========================================================
   BRAND LOGO
========================================================== */

.volsol-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 16px;

    margin-bottom: 26px;
}

.volsol-footer-logo-symbol {
    position: relative;

    display: block;
    flex: 0 0 48px;

    width: 48px;
    height: 48px;
}

.volsol-footer-logo-symbol span {
    position: absolute;

    width: 24px;
    height: 24px;

    border-radius: 4px;
    transform: rotate(45deg);
}

.volsol-footer-logo-symbol span:nth-child(1) {
    top: 0;
    left: 16px;
    background: var(--vf-blue);
}

.volsol-footer-logo-symbol span:nth-child(2) {
    top: 16px;
    left: 0;
    background: #FFFFFF;
}

.volsol-footer-logo-symbol span:nth-child(3) {
    top: 16px;
    left: 16px;
    background: var(--vf-light-blue);
}

.volsol-footer-logo-symbol span:nth-child(4) {
    top: 32px;
    left: 16px;

    width: 13px;
    height: 13px;

    border-radius: 3px;
    background: var(--vf-orange);
}

.volsol-footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.volsol-footer-logo-text strong {
    color: #FFFFFF;

    font-size: clamp(29px, 2.4vw, 36px);
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.1;
}

.volsol-footer-logo-text small {
    color: #D0D9EA;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

/* Brand description */

.volsol-footer-description {
    margin: 0 0 24px;

    color: #D5DDED;

    font-size: 16px;
    line-height: 1.9;
}

/* Brand tags */

.volsol-footer-brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-bottom: 25px;
}

.volsol-footer-brand-tags span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 11px;

    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;

    color: #D9E2F1;

    font-size: 12px;
    font-weight: 600;
}

.volsol-footer-brand-tags i {
    width: 6px;
    height: 6px;

    border-radius: 50%;
    background: var(--vf-light-blue);
}

/* ==========================================================
   SOCIAL LINKS
========================================================== */

.volsol-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.volsol-footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 43px;
    height: 43px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;

    background: #FFFFFF;
    color: var(--vf-navy);

    font-size: 17px;
    font-weight: 800;

    transition:
        transform 220ms ease,
        color 220ms ease,
        background 220ms ease,
        border-color 220ms ease;
}

.volsol-footer-socials a:hover {
    transform: translateY(-4px);

    border-color: var(--vf-blue);
    background: var(--vf-blue);
    color: #FFFFFF;
}

/* ==========================================================
   QUICK LINKS AND SERVICES
========================================================== */

.volsol-footer-column {
    min-width: 0;
    padding-top: 8px;
}

.volsol-footer-column h3,
.volsol-footer-newsletter h3 {
    margin: 0 0 26px;

    color: #FFFFFF;

    font-size: 23px;
    font-weight: 750;
    line-height: 1.45;
    letter-spacing: -0.5px;
}

.volsol-footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 16px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.volsol-footer-column li {
    margin: 0;
    padding: 0;
}

.volsol-footer-column li a {
    position: relative;

    display: inline-block;

    color: #C3CDDF;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;

    transition:
        color 200ms ease,
        transform 200ms ease;
}

.volsol-footer-column li a::before {
    content: "";

    position: absolute;
    left: 0;
    bottom: -4px;

    width: 0;
    height: 2px;

    border-radius: 3px;
    background: var(--vf-light-blue);

    transition: width 200ms ease;
}

.volsol-footer-column li a:hover {
    transform: translateX(4px);
    color: #FFFFFF;
}

.volsol-footer-column li a:hover::before {
    width: 25px;
}

/* ==========================================================
   NEWSLETTER
========================================================== */

.volsol-footer-newsletter {
    min-width: 0;
    padding-top: 8px;
}

.volsol-footer-mini-label {
    display: inline-block;

    margin-bottom: 13px;

    color: var(--vf-light-blue);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.volsol-footer-newsletter h3 {
    margin-bottom: 15px;
    font-size: clamp(23px, 2vw, 28px);
}

.volsol-footer-newsletter > p {
    margin: 0 0 25px;

    color: #C3CDDF;

    font-size: 15px;
    line-height: 1.9;
}

/* Newsletter input */

.volsol-footer-newsletter-form {
    display: flex;
    align-items: center;
    gap: 8px;

    width: 100%;
    min-height: 60px;

    padding: 6px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;

    background: #FFFFFF;

    transition:
        border-color 200ms ease,
        box-shadow 200ms ease;
}

.volsol-footer-newsletter-form:focus-within {
    border-color: var(--vf-light-blue);

    box-shadow: 0 0 0 4px rgba(71, 120, 247, 0.19);
}

.volsol-footer-newsletter-form input {
    flex: 1;
    min-width: 0;
    height: 46px;

    padding: 0 13px;

    border: 0;
    outline: 0;

    background: transparent;
    color: var(--vf-navy);

    font-family: inherit;
    font-size: 15px;
}

.volsol-footer-newsletter-form input::placeholder {
    color: #6E7B90;
    opacity: 1;
}

.volsol-footer-newsletter-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    border: 0;
    border-radius: 10px;

    background: var(--vf-blue);
    color: #FFFFFF;

    cursor: pointer;

    transition:
        background 200ms ease,
        transform 200ms ease;
}

.volsol-footer-newsletter-form button span {
    font-size: 26px;
    line-height: 1;
}

.volsol-footer-newsletter-form button:hover {
    transform: translateY(-2px);
    background: #315FE0;
}

.volsol-footer-newsletter-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    margin-top: 15px;

    color: #AAB8CD;

    font-size: 12px;
    line-height: 1.8;
}

.volsol-footer-newsletter-note span {
    color: var(--vf-light-blue);
}

/* Contact CTA */

.volsol-footer-contact-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-top: 25px;
    padding: 15px 17px;

    border: 1px solid rgba(107, 145, 255, 0.30);
    border-radius: 11px;

    background: rgba(71, 120, 247, 0.10);
    color: #FFFFFF;

    font-size: 14px;
    font-weight: 700;

    transition:
        border-color 200ms ease,
        background 200ms ease;
}

.volsol-footer-contact-cta span {
    color: var(--vf-light-blue);
    font-size: 21px;

    transition: transform 200ms ease;
}

.volsol-footer-contact-cta:hover {
    border-color: var(--vf-blue);
    background: rgba(71, 120, 247, 0.18);
}

.volsol-footer-contact-cta:hover span {
    transform: translate(2px, -2px);
}

/* ==========================================================
   CONTACT STRIP
========================================================== */

.volsol-footer-contact-strip {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1.15fr)
        minmax(0, 1fr)
        50px;

    align-items: center;
    gap: 25px;

    margin-top: 52px;
    padding: 29px 0;

    border-top: 1px solid var(--vf-border);
    border-bottom: 1px solid var(--vf-border);
}

.volsol-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;

    min-width: 0;
}

.volsol-footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 50px;

    width: 50px;
    height: 50px;

    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 50%;

    background: linear-gradient(
        145deg,
        var(--vf-blue),
        #315ED4
    );

    color: #FFFFFF;

    box-shadow: 0 7px 22px rgba(71, 120, 247, 0.2);
}

.volsol-footer-contact-icon svg {
    display: block;
    width: 23px;
    height: 23px;
}

.volsol-footer-contact-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;

    min-width: 0;
}

.volsol-footer-contact-copy small {
    color: #ACB9CE;

    font-size: 13px;
    line-height: 1.6;
}

.volsol-footer-contact-copy strong {
    color: #FFFFFF;

    font-size: 14px;
    font-weight: 650;
    line-height: 1.7;

    overflow-wrap: anywhere;
}

.volsol-footer-contact-item:hover .volsol-footer-contact-copy strong {
    color: var(--vf-light-blue);
}

/* Back to top */

.volsol-footer-back-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(107, 145, 255, 0.55);
    border-radius: 11px;

    background: var(--vf-blue);
    color: #FFFFFF;

    box-shadow: 0 8px 24px rgba(71, 120, 247, 0.23);

    transition:
        transform 220ms ease,
        background 220ms ease;
}

.volsol-footer-back-top svg {
    width: 26px;
    height: 26px;
}

.volsol-footer-back-top:hover {
    transform: translateY(-4px);
    background: #315FE0;
}

/* ==========================================================
   COPYRIGHT BAR
========================================================== */

.volsol-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;

    padding: 25px 0 27px;
}

.volsol-footer-bottom p {
    margin: 0;

    color: #ACB9CE;

    font-size: 13px;
    line-height: 1.8;
}

.volsol-footer-bottom p strong {
    color: #FFFFFF;
    font-weight: 700;
}

.volsol-footer-legal-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
}

.volsol-footer-legal-links a {
    color: #B9C5D9;

    font-size: 13px;

    transition: color 200ms ease;
}

.volsol-footer-legal-links a:hover {
    color: #FFFFFF;
}

.volsol-footer-legal-links > span {
    width: 4px;
    height: 4px;

    border-radius: 50%;
    background: var(--vf-blue);
}

.volsol-footer-bottom .volsol-footer-made {
    display: flex;
    align-items: center;
    gap: 7px;
}

.volsol-footer-made span {
    color: var(--vf-light-blue);
    font-size: 15px;
}

/* ==========================================================
   ACCESSIBILITY
========================================================== */

.volsol-footer a:focus-visible,
.volsol-footer button:focus-visible,
.volsol-footer input:focus-visible {
    outline: 2px solid var(--vf-light-blue);
    outline-offset: 4px;
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1100px) {
    .volsol-footer {
        padding-top: 62px;
    }

    .volsol-footer-main {
        grid-template-columns:
            minmax(260px, 1.1fr)
            minmax(150px, 0.75fr)
            minmax(220px, 1fr);

        gap: 34px;
    }

    .volsol-footer-brand-card {
        grid-row: span 2;
    }

    .volsol-footer-newsletter {
        grid-column: 2 / 4;
        padding-top: 10px;
    }

    .volsol-footer-newsletter-form {
        max-width: 520px;
    }

    .volsol-footer-contact-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr)) 48px;
        gap: 24px;
    }

    .volsol-footer-contact-item:nth-child(2) {
        grid-column: 2;
    }

    .volsol-footer-contact-item:nth-child(3) {
        grid-column: 1 / 3;
    }

    .volsol-footer-back-top {
        grid-column: 3;
        grid-row: 1 / 3;
        justify-self: end;
    }

    .volsol-footer-bottom {
        justify-content: flex-start;
        gap: 18px 28px;
    }

    .volsol-footer-bottom .volsol-footer-made {
        margin-left: auto;
    }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767.98px) {
    .volsol-footer {
        padding-top: 45px;
        border-radius: 20px 20px 0 0;
    }

    .volsol-footer-container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .volsol-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 22px;
    }

    .volsol-footer-brand-card {
        grid-column: 1 / -1;
        grid-row: auto;

        padding: 27px 23px;
    }

    .volsol-footer-logo {
        margin-bottom: 22px;
    }

    .volsol-footer-logo-text strong {
        font-size: 32px;
    }

    .volsol-footer-description {
        font-size: 15px;
        line-height: 1.9;
    }

    .volsol-footer-brand-tags span {
        font-size: 12px;
    }

    .volsol-footer-socials a {
        width: 42px;
        height: 42px;
    }

    .volsol-footer-column {
        padding-top: 0;
    }

    .volsol-footer-column h3,
    .volsol-footer-newsletter h3 {
        margin-bottom: 19px;
        font-size: 20px;
    }

    .volsol-footer-column ul {
        gap: 15px;
    }

    .volsol-footer-column li a {
        font-size: 14px;
        line-height: 1.8;
    }

    .volsol-footer-services {
        grid-column: 1 / -1;
    }

    .volsol-footer-newsletter {
        grid-column: 1 / -1;
        padding-top: 0;
    }

    .volsol-footer-mini-label {
        font-size: 12px;
    }

    .volsol-footer-newsletter h3 {
        font-size: 24px;
    }

    .volsol-footer-newsletter > p {
        font-size: 15px;
    }

    .volsol-footer-newsletter-form {
        min-height: 58px;
    }

    .volsol-footer-newsletter-form input {
        height: 44px;
        font-size: 14px;
    }

    .volsol-footer-newsletter-note {
        font-size: 12px;
    }

    .volsol-footer-contact-cta {
        font-size: 14px;
    }

    .volsol-footer-contact-strip {
        grid-template-columns: minmax(0, 1fr) 46px;
        gap: 23px 12px;

        margin-top: 37px;
        padding: 27px 0;
    }

    .volsol-footer-contact-item,
    .volsol-footer-contact-item:nth-child(2),
    .volsol-footer-contact-item:nth-child(3) {
        grid-column: 1;
        gap: 13px;
    }

    .volsol-footer-contact-icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }

    .volsol-footer-contact-icon svg {
        width: 22px;
        height: 22px;
    }

    .volsol-footer-contact-copy small {
        font-size: 12px;
    }

    .volsol-footer-contact-copy strong {
        font-size: 13px;
    }

    .volsol-footer-back-top {
        grid-column: 2;
        grid-row: 1 / 4;
        align-self: end;
        justify-self: end;

        width: 44px;
        height: 44px;
    }

    .volsol-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;

        padding: 23px 0 26px;
    }

    .volsol-footer-bottom p,
    .volsol-footer-legal-links a {
        font-size: 12px;
    }

    .volsol-footer-legal-links {
        gap: 12px;
    }

    .volsol-footer-bottom .volsol-footer-made {
        margin-left: 0;
    }
}

/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 380px) {
    .volsol-footer-container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .volsol-footer-main {
        gap: 29px 15px;
    }

    .volsol-footer-brand-card {
        padding: 23px 18px;
    }

    .volsol-footer-logo-text strong {
        font-size: 28px;
    }

    .volsol-footer-column h3,
    .volsol-footer-newsletter h3 {
        font-size: 18px;
    }

    .volsol-footer-column li a {
        font-size: 13px;
    }

    .volsol-footer-contact-copy strong {
        font-size: 12px;
    }

    .volsol-footer-bottom p,
    .volsol-footer-legal-links a {
        font-size: 11px;
    }
}

/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {
    .volsol-footer *,
    .volsol-footer *::before,
    .volsol-footer *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
