/* FOOTER */
.cs-aqua-footer {
    --aqua-blue: #21a3f5;
    --aqua-cyan: #1e9ed0;
    --aqua-green: #2c7ea7;
    --aqua-purple: #52b5f3;
    --aqua-pink: #4aa8e2;
    --aqua-orange: #505457;
    --aqua-heading: #313435;
    --aqua-text: #6e7275;
    --aqua-muted: #979b9d;
    --aqua-border: #dce8f0;
    --aqua-card: rgba(255, 255, 255, 0.82);
    --aqua-x: 50%;
    --aqua-y: 50%;
    --aqua-hue: 200;
    position: relative;
    overflow: hidden;
    padding-top: 65px;
    color: var(--aqua-text);
    /* starts on the shared near-white so the page flows into the footer */
    background: var(--cs-fade-top),
        radial-gradient(circle at 14% 16%, rgba(34, 164, 245, 0.13), transparent 31%),
        radial-gradient(circle at 86% 72%, rgba(43, 124, 164, 0.1), transparent 30%),
        linear-gradient(145deg, #f9fdfe 0%, #f4fbfe 48%, #f7fbfc 100%);
}

.cs-aqua-footer a,
.cs-aqua-footer a:hover,
.cs-aqua-footer a:focus,
.cs-aqua-footer a:active {
    text-decoration: none !important;
}

/* AMBIENT */
.cs-aqua-footer__ambient {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0.2;
    will-change: transform;
}

.cs-aqua-footer__ambient--blue {
    top: 4%;
    left: -8%;
    width: 350px;
    height: 350px;
    background: radial-gradient(closest-side, #69c1f8, transparent);
}

.cs-aqua-footer__ambient--cyan {
    top: 40%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(closest-side, #4fb6e3, transparent);
    transform: translateX(-50%);
}

.cs-aqua-footer__ambient--green {
    right: -8%;
    bottom: 5%;
    width: 340px;
    height: 340px;
    background: radial-gradient(closest-side, #61aed5, transparent);
}

/* TOP LINE */
.cs-aqua-footer__top {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #4eb6f7, #34b1e2, #3298ca, transparent);
}

/* CONTENT */
.cs-aqua-footer > .container {
    position: relative;
    z-index: 3;
}

/* INTRO */
.cs-aqua-footer__intro {
    max-width: 820px;
    margin: 0 auto 40px;
    text-align: center;
}

.cs-aqua-footer__intro p {
    margin: 18px auto 0;
    color: #73787b;
    font-size: 17px;
    line-height: 1.75;
}

/* SERVICES */
.cs-aqua-footer__services {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 28px;
}

.cs-aqua-footer__services > a {
    min-width: 0;
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 9px;
    border: 1px solid #e0ebef;
    border-radius: 14px;
    color: #73787b;
    background: rgba(255, 255, 255, 0.88);
    box-shadow:
        0 8px 24px rgba(34, 61, 78, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.cs-aqua-footer__services > a:hover {
    color: #73787b;
    border-color: #adcfe2;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(30, 62, 82, 0.09);
    transform: translateY(-3px);
}

.cs-aqua-footer__services > a > span {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-size: 17px;
    border: 1px solid #e6e6e6;
}

.cs-aqua-footer__services strong {
    display: block;
    color: #333537;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}

.cs-aqua-footer__services small {
    display: block;
    margin-top: 2px;
    color: #616465;
    font-size: 12px;
    line-height: 1.35;
}

/* SERVICE COLORS */
.service-blue {
    color: #24a5f5;
    background: #eef9fd;
}

.service-cyan {
    color: #1a81aa;
    background: #eaf8fb;
}

.service-green {
    color: #27617e;
    background: #ebf5f8;
}

.service-orange {
    color: #494d4f;
    background: #f4f5f6;
}

.service-purple {
    color: #459fd7;
    background: #f0fafd;
}

.service-pink {
    color: #3998d4;
    background: #f1fbfe;
}

/* MAIN PANEL */
.cs-aqua-footer__panel {
    position: relative;
    overflow: hidden;
    padding: 44px;
    border: 1px solid #ddeaee;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 22px 55px rgba(34, 61, 78, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.cs-aqua-footer__panel-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 290px;
    height: 290px;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(54, 172, 246, 0.12), transparent);
}

/* COMPANY */
.cs-aqua-footer__company {
    position: relative;
    z-index: 2;
    max-width: 470px;
}

.cs-aqua-footer__logo {
    display: inline-flex;
    margin-bottom: 20px;
}

.cs-aqua-footer__logo img {
    width: auto;
    max-width: 210px;
    max-height: 68px;
    object-fit: contain;
}

.cs-aqua-footer__about {
    max-width: 440px;
    margin: 0 0 22px;
    color: #555759;
    font-size: 15px;
    line-height: 1.8;
}

/* EXPERIENCE */
.cs-aqua-footer__experience {
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    margin-bottom: 25px;
    border: 1px solid #e0ebef;
    border-radius: 13px;
    background: #f9fdfe;
}

.cs-aqua-footer__experience > span {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #24a5f5;
    background: #eef9fd;
    font-size: 18px;
}

.cs-aqua-footer__experience strong {
    display: block;
    color: #333537;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}

.cs-aqua-footer__experience small {
    display: block;
    margin-top: 3px;
    color: #707477;
    font-size: 13px;
    line-height: 1.4;
}

/* SOCIAL */
.cs-aqua-footer__social {
    margin-top: 4px;
}

.cs-aqua-footer__social-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.cs-aqua-footer__social-title span {
    color: #35383a;
    font-size: 13px;
    font-weight: 700;
}

.cs-aqua-footer__social-title i {
    width: 34px;
    height: 1px;
    background: #dfe0e1;
}

.cs-aqua-footer__social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cs-aqua-footer__social-icons a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid #ddecf1;
    border-radius: 10px;
    background: #ffffff;
    font-size: 15px;
    box-shadow: 0 5px 15px rgba(82, 86, 88, 0.04);
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
}

.cs-aqua-footer__social-icons a:hover {
    border-color: #adcfe2;
    background: #f7fcfe;
    transform: translateY(-3px);
}

/* SOCIAL COLORS */
.cs-aqua-footer__social-icons .facebook {
    color: #1c6ea0;
}

.cs-aqua-footer__social-icons .instagram {
    color: #2e7eb0;
}

.cs-aqua-footer__social-icons .threads,
.cs-aqua-footer__social-icons .twitter-x {
    color: #333537;
}

.cs-aqua-footer__social-icons .linkedin {
    color: #195275;
}

.cs-aqua-footer__social-icons .pinterest {
    color: #d95364;
}

.cs-aqua-footer__social-icons .youtube {
    color: #e6565f;
}

/* WIDGET */
.cs-aqua-footer__widget {
    position: relative;
    z-index: 2;
    height: 100%;
}

.cs-aqua-footer__widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.cs-aqua-footer__widget-title > span {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 15px;
}

.cs-aqua-footer__widget-title .widget-purple {
    color: #3aa1e1;
    background: #f0fafd;
}

.cs-aqua-footer__widget-title .widget-green {
    color: #27617e;
    background: #ebf5f8;
}

.cs-aqua-footer__widget-title h5 {
    margin: 0;
    color: #333537;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
}

/* QUICK LINKS */
.cs-aqua-footer__widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cs-aqua-footer__widget ul li {
    margin-bottom: 11px;
}

.cs-aqua-footer__widget ul li:last-child {
    margin-bottom: 0;
}

.cs-aqua-footer__widget ul li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #535759;
    font-size: 14px;
    line-height: 1.5;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.cs-aqua-footer__widget ul li a::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 50%;
    background: rgb(81, 84, 85);
    transition: background 0.2s ease;
}

.cs-aqua-footer__widget ul li a:hover {
    color: #24a5f5;
    transform: translateX(3px);
}

.cs-aqua-footer__widget ul li a:hover::before {
    background: #24a5f5;
}

/* CONTACT */
.cs-aqua-footer__contacts {
    display: grid;
    gap: 10px;
}

.cs-aqua-contact {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px;
    border: 1px solid #e0eaed;
    border-radius: 13px;
    color: #75797c;
    background: #f9fcfd;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease;
}

a.cs-aqua-contact:hover {
    color: #75797c;
    border-color: #adcfe2;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(34, 61, 78, 0.06);
    transform: translateY(-2px);
}

.cs-aqua-contact.full {
    grid-column: 1 / -1;
}

.cs-aqua-contact__icon {
    width: 41px;
    height: 41px;
    flex: 0 0 41px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 17px;
}

/* CONTACT COLORS */
.cs-aqua-contact__icon.contact-blue {
    color: #24a5f5;
    background: #eef9fd;
}

.cs-aqua-contact__icon.contact-green {
    color: #27617e;
    background: #ebf5f8;
}

.cs-aqua-contact__icon.contact-purple {
    color: #459fd7;
    background: #f0fafd;
}

.cs-aqua-contact__icon.contact-cyan {
    color: #217ca9;
    background: #eaf8fb;
}

.cs-aqua-contact > span:last-child {
    min-width: 0;
}

.cs-aqua-contact small {
    display: block;
    margin-bottom: 3px;
    color: #717475;
    font-size: 13px;
    line-height: 1.35;
}

.cs-aqua-contact strong {
    display: block;
    color: #353839;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.cs-aqua-contact p {
    margin: 3px 0 0;
    color: #656a6d;
    font-size: 14px;
    line-height: 1.6;
}

/* BOTTOM */
.cs-aqua-footer__bottom {
    position: relative;
    z-index: 3;
    padding: 20px 0 23px;
}

.cs-aqua-footer__bottom p {
    margin: 0;
    color: #696b6d;
    font-size: 13px;
    line-height: 1.5;
}

.cs-aqua-footer__legal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 9px;
}

.cs-aqua-footer__legal > a {
    color: #6c7073;
    font-size: 13px;
    transition: color 0.2s ease;
}

.cs-aqua-footer__legal > a:hover {
    color: #24a5f5;
}

.cs-aqua-footer__legal > span {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #b2b5b6;
}

/* EXTRA LARGE */
@media (min-width: 1600px) {
    .cs-aqua-footer__panel {
        padding: 48px;
    }
}

/* SMALL DESKTOP */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .cs-aqua-footer__panel {
        padding: 38px;
    }
}

/* TABLET */
@media (max-width: 991.98px) {
    .cs-aqua-footer {
        padding-top: 55px;
    }

    .cs-aqua-footer__intro {
        margin-bottom: 32px;
    }

    .cs-aqua-footer__services {
        grid-template-columns: repeat(3, 1fr);
    }

    .cs-aqua-footer__panel {
        padding: 32px;
    }

    .cs-aqua-footer__company {
        max-width: 650px;
    }

    .cs-aqua-footer__legal {
        justify-content: flex-start;
    }
}

/* SMALL TABLET */
@media (max-width: 767.98px) {
    .cs-aqua-footer__services {
        grid-template-columns: repeat(2, 1fr);
    }

    .cs-aqua-footer__contacts {
        grid-template-columns: 1fr;
    }

    .cs-aqua-contact.full {
        grid-column: auto;
    }
}

/* MOBILE */
@media (max-width: 575.98px) {
    .cs-aqua-footer {
        padding-top: 42px;
    }

    .cs-aqua-footer__intro {
        margin-bottom: 27px;
        text-align: left;
    }

    .cs-aqua-footer__intro p {
        margin-top: 13px;
        font-size: 15px;
        line-height: 1.7;
    }

    .cs-aqua-footer__services {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-bottom: 18px;
    }

    .cs-aqua-footer__services > a {
        min-height: 68px;
        gap: 8px;
        padding: 9px;
    }

    .cs-aqua-footer__services > a > span {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
        font-size: 14px;
    }

    .cs-aqua-footer__services strong {
        font-size: 13px;
    }

    .cs-aqua-footer__services small {
        font-size: 11px;
    }

    .cs-aqua-footer__panel {
        padding: 25px 20px;
        border-radius: 17px;
    }

    .cs-aqua-footer__logo img {
        max-width: 180px;
    }

    .cs-aqua-footer__about {
        font-size: 15px;
    }

    .cs-aqua-footer__widget-title {
        margin-bottom: 18px;
    }

    .cs-aqua-footer__widget-title h5 {
        font-size: 16px;
    }

    .cs-aqua-footer__widget ul li a {
        font-size: 14px;
    }

    .cs-aqua-footer__bottom {
        padding: 18px 0 20px;
    }

    .cs-aqua-footer__legal {
        gap: 8px;
    }

    .cs-aqua-footer__ambient {
        opacity: 0.14;
    }
}

/* SMALL MOBILE */
@media (max-width: 374.98px) {
    .cs-aqua-footer__services {
        grid-template-columns: 1fr;
    }

    .cs-aqua-footer__panel {
        padding: 22px 16px;
    }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    .cs-aqua-footer__ambient,
.cs-aqua-footer__services > a,
.cs-aqua-footer__social-icons a,
.cs-aqua-contact {
        transition: none !important;
    }
}

/* social icons: one row on phones instead of leaving one icon alone */
@media (max-width: 575.98px) {
    .cs-aqua-footer__social-icons {
        display: grid;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 6px;
    }

    .cs-aqua-footer__social-icons a {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        max-width: 42px;
    }
}

/* ---------- shared heading in the footer intro ---------- */
@media (max-width: 575.98px) {
    .cs-aqua-footer__intro .cs-eyebrow {
        text-align: left;
    }
}
