/* Client-approved Cloudsol brand refinements shared across page templates. */
.cloudsol-gallery-page {
    --gallery-orange: #FF7A00;
}

.cloudsol-solutions-page {
    --solutions-orange: #FF7A00;
}

/* Keep all footer copy and icon marks at true white. */
footer,
footer .footer-text,
footer .footer-menu a,
footer .footer-social a,
footer .fa-phone,
footer .fa-envelope,
footer .fa-location-dot,
footer ul {
    color: #FFFFFF;
}

footer a:hover,
footer .footer-menu a:hover {
    color: #FF7A00;
}

footer .footer-social a {
    background-color: #22334E;
    color: #FFFFFF;
}

footer .footer-social a:hover {
    background-color: #FF7A00;
    color: #FFFFFF;
}

.cloudsol-about-hero__accent,
.cloudsol-solutions-hero__accent {
    color: #FF7A00;
}

/* Floating WhatsApp contact button shared by every page. */
.cloudsol-whatsapp-float {
    position: fixed;
    right: clamp(1rem, 2.5vw, 2rem);
    bottom: clamp(1rem, 2.5vw, 2rem);
    z-index: 100;
    display: grid;
    width: 3.75rem;
    height: 3.75rem;
    place-items: center;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 0.65rem 1.6rem rgba(7, 24, 45, 0.3);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.cloudsol-whatsapp-float:hover {
    background: #1fba59;
    color: #FFFFFF;
    box-shadow: 0 0.85rem 2rem rgba(7, 24, 45, 0.38);
    transform: translateY(-0.2rem);
}

.cloudsol-whatsapp-float:focus-visible {
    outline: 3px solid #FF7A00;
    outline-offset: 3px;
}

@media (max-width: 47.999rem) {
    .cloudsol-whatsapp-float {
        width: 3.4rem;
        height: 3.4rem;
        font-size: 1.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cloudsol-whatsapp-float {
        transition: none;
    }
}

/* Keep each desktop hero solid through the responsive content start. */
@media (min-width: 48rem) {
    .cloudsol-hero__overlay {
        background:
            linear-gradient(90deg, rgba(7, 17, 33, 1) 0%, rgba(7, 17, 33, 0.98) max(2rem, calc((100% - 80rem) / 2 + 2rem)), rgba(7, 17, 33, 0.9) 38%, rgba(7, 17, 33, 0.48) 70%, rgba(7, 17, 33, 0.18) 100%),
            linear-gradient(0deg, rgba(7, 17, 33, 0.32), rgba(7, 17, 33, 0.06));
    }

    .cloudsol-about-hero__overlay {
        background: linear-gradient(90deg, rgba(3, 16, 34, 1) 0%, rgba(3, 16, 34, 0.98) max(1.25rem, calc((100% - 80rem) / 2)), rgba(3, 16, 34, 0.78) 42%, rgba(3, 16, 34, 0.12) 78%);
    }

    .cloudsol-solutions-hero__overlay {
        background: linear-gradient(90deg, rgba(3, 16, 34, 1) 0%, rgba(3, 16, 34, 0.98) max(1.25rem, calc((100% - 80rem) / 2)), rgba(3, 16, 34, 0.78) 44%, rgba(3, 16, 34, 0.14) 80%);
    }

    .cloudsol-gallery-hero__overlay {
        background: linear-gradient(90deg, rgba(3, 16, 34, 1) 0%, rgba(3, 16, 34, 0.98) max(1.25rem, calc((100% - 80rem) / 2)), rgba(3, 16, 34, 0.78) 48%, rgba(3, 16, 34, 0.18) 85%);
    }

    .cloudsol-contact-hero__overlay {
        background: linear-gradient(90deg, rgba(3, 16, 34, 1) 0%, rgba(3, 16, 34, 0.98) max(1.25rem, calc((100% - 80rem) / 2)), rgba(3, 16, 34, 0.8) 48%, rgba(3, 16, 34, 0.2) 86%);
    }
}
