/* =========================================================
   Modern Buttons & Navigation System
   Premium UI layer for Aslac website
========================================================= */

:root {
    --ui-blue: var(--blue, #2f3192);
    --ui-red: var(--red, #c83236);
    --ui-dark: var(--dark, #10142f);
    --ui-border: var(--border, #e5e7eb);
    --ui-muted: var(--muted, #667085);
    --ui-glow-blue: rgba(47, 49, 146, 0.26);
    --ui-glow-red: rgba(200, 50, 54, 0.22);
    --ui-glass: rgba(255, 255, 255, 0.10);
    --ui-glass-strong: rgba(255, 255, 255, 0.16);
}

/* =========================
   Header Premium Behavior
========================= */

.site-header {
    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        backdrop-filter 0.35s ease;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
    opacity: 0.9;
    pointer-events: none;
}

.site-header.scrolled {
    background: rgba(16, 20, 47, 0.80);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 24px 80px rgba(10, 14, 38, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(22px);
}

/* =========================
   Brand Hover
========================= */

.brand {
    position: relative;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.brand:hover {
    transform: translateY(-2px);
}

.brand-logo-wrap {
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.brand:hover .brand-logo-wrap {
    transform: rotate(-2deg) scale(1.04);
    box-shadow:
        0 18px 46px rgba(47, 49, 146, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* =========================
   Navbar Links
========================= */

.site-nav {
    position: relative;
    gap: 4px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.site-nav a {
    position: relative;
    min-height: 42px;
    padding: 0 15px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 850;
    letter-spacing: -0.01em;
    isolation: isolate;
    transition:
        color 0.28s ease,
        transform 0.28s ease,
        background 0.28s ease;
}

.site-nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    border-radius: inherit;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.25), transparent 46%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055));
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 7px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ui-red), #ffffff, var(--ui-blue));
    opacity: 0;
    transform: scaleX(0.35);
    transform-origin: center;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.site-nav a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.site-nav a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.site-nav a:hover::after {
    opacity: 0.85;
    transform: scaleX(1);
}

.site-nav a.active {
    color: #ffffff;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.25), transparent 42%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.19), rgba(255, 255, 255, 0.075));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 12px 30px rgba(0, 0, 0, 0.11);
}

.site-nav a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

/* =========================
   Header CTA
========================= */

.header-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    color: #ffffff;
    background:
        radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.36), transparent 38%),
        linear-gradient(135deg, var(--ui-red), var(--ui-blue));
    box-shadow:
        0 16px 38px rgba(47, 49, 146, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        filter 0.28s ease;
}

.header-cta::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    background:
        linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.34) 35%, transparent 62%);
    transform: translateX(-120%);
    transition: transform 0.65s ease;
}

.header-cta:hover {
    transform: translateY(-3px);
    filter: saturate(1.1);
    box-shadow:
        0 22px 58px rgba(47, 49, 146, 0.40),
        0 8px 22px rgba(200, 50, 54, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.header-cta:hover::before {
    transform: translateX(120%);
}

/* =========================
   Global Frontend Buttons
========================= */

.btn,
button.btn,
a.btn,
.project-details-link,
.gallery-filter,
.projects-filter-actions button,
.projects-filter-actions a,
.projects-pagination a,
.projects-pagination span,
.home-project-row > strong,
.footer-cta a,
.contact-form button,
.project-contact-actions a,
.gallery-detail-actions a,
.detail-actions a {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transform: translateZ(0);
    text-decoration: none;
    transition:
        transform 0.28s cubic-bezier(.2,.8,.2,1),
        box-shadow 0.28s ease,
        background 0.28s ease,
        border-color 0.28s ease,
        color 0.28s ease,
        filter 0.28s ease;
}

/* Primary premium button */
.btn.primary,
.project-details-link,
.projects-filter-actions button,
.contact-form button,
.footer-cta a,
.project-contact-actions .btn.primary,
.gallery-detail-actions .btn.primary,
.detail-actions .btn.primary {
    border: 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.36), transparent 38%),
        linear-gradient(135deg, var(--ui-blue), #171bc0 48%, var(--ui-red));
    box-shadow:
        0 18px 42px rgba(47, 49, 146, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

/* Light / white button */
.btn.light {
    color: var(--ui-dark);
    background:
        radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.75), transparent 46%),
        linear-gradient(135deg, #ffffff, #f4f6ff);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        0 16px 38px rgba(255, 255, 255, 0.16),
        0 12px 30px rgba(0, 0, 0, 0.10);
}

/* Outline / secondary button */
.btn.outline,
.projects-filter-actions a,
.gallery-detail-actions .btn.outline,
.detail-actions .btn.outline,
.project-contact-actions .btn.outline {
    color: var(--ui-blue);
    background:
        radial-gradient(circle at 30% 0%, rgba(47, 49, 146, 0.09), transparent 42%),
        #ffffff;
    border: 1px solid rgba(47, 49, 146, 0.16);
    box-shadow: 0 14px 34px rgba(16, 20, 47, 0.06);
}

/* Hover for all main buttons */
.btn:hover,
.project-details-link:hover,
.gallery-filter:hover,
.projects-filter-actions button:hover,
.projects-filter-actions a:hover,
.projects-pagination a:hover,
.footer-cta a:hover,
.contact-form button:hover,
.project-contact-actions a:hover,
.gallery-detail-actions a:hover,
.detail-actions a:hover {
    transform: translateY(-3px);
    filter: saturate(1.08);
}

.btn.primary:hover,
.project-details-link:hover,
.projects-filter-actions button:hover,
.contact-form button:hover,
.footer-cta a:hover {
    box-shadow:
        0 24px 62px rgba(47, 49, 146, 0.34),
        0 8px 22px rgba(200, 50, 54, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn.outline:hover,
.projects-filter-actions a:hover,
.gallery-detail-actions .btn.outline:hover,
.detail-actions .btn.outline:hover {
    background: #f8f9ff;
    border-color: rgba(47, 49, 146, 0.30);
    box-shadow: 0 20px 46px rgba(16, 20, 47, 0.10);
}

/* Shine overlay */
.btn::before,
.header-cta::before,
.project-details-link::before,
.projects-filter-actions button::before,
.contact-form button::before,
.footer-cta a::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    background:
        linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.32) 38%, transparent 64%);
    transform: translateX(-125%);
    transition: transform 0.68s ease;
}

.btn:hover::before,
.project-details-link:hover::before,
.projects-filter-actions button:hover::before,
.contact-form button:hover::before,
.footer-cta a:hover::before {
    transform: translateX(125%);
}

/* Press feel */
.btn:active,
.header-cta:active,
.project-details-link:active,
.gallery-filter:active,
.projects-filter-actions button:active,
.projects-filter-actions a:active,
.contact-form button:active {
    transform: translateY(-1px) scale(0.985);
}

/* =========================
   Ripple Effect
========================= */

.ui-ripple {
    position: absolute;
    z-index: 0;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.42);
    transform: translate(-50%, -50%) scale(0);
    animation: uiRipple 0.68s ease-out forwards;
}

.btn.outline .ui-ripple,
.gallery-filter .ui-ripple,
.projects-filter-actions a .ui-ripple {
    background: rgba(47, 49, 146, 0.16);
}

@keyframes uiRipple {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(22);
    }
}

/* =========================
   Gallery Filters
========================= */

.gallery-filter {
    background:
        radial-gradient(circle at 30% 0%, rgba(47, 49, 146, 0.08), transparent 42%),
        #ffffff;
    border: 1px solid rgba(47, 49, 146, 0.12);
}

.gallery-filter.active {
    color: #ffffff;
    background:
        radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.26), transparent 38%),
        linear-gradient(135deg, var(--ui-blue), var(--ui-red));
    border-color: transparent;
    box-shadow: 0 18px 42px rgba(47, 49, 146, 0.24);
}

/* =========================
   Pagination
========================= */

.projects-pagination a,
.projects-pagination span {
    transition:
        transform 0.22s ease,
        background 0.22s ease,
        color 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.projects-pagination a.active,
.projects-pagination a:hover {
    box-shadow: 0 14px 34px rgba(47, 49, 146, 0.20);
}

/* =========================
   Mobile Menu Button
========================= */

.menu-toggle {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 17px;
    display: none;
    place-items: center;
    gap: 4px;
    background:
        radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.18), transparent 42%),
        rgba(255, 255, 255, 0.10);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 12px 30px rgba(0, 0, 0, 0.10);
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    display: block;
    background: #ffffff;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.16);
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* =========================
   Mobile Nav
========================= */

@media (max-width: 768px) {
    .menu-toggle {
        display: grid !important;
        margin-left: auto;
    }

    .site-nav {
        display: none;
    }

    .site-nav.open {
        display: grid;
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        gap: 8px;
        padding: 12px;
        border-radius: 26px;
        background: rgba(16, 20, 47, 0.94);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow:
            0 24px 80px rgba(0, 0, 0, 0.28),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(22px);
    }

    .site-nav.open a {
        justify-content: flex-start;
        min-height: 50px;
        padding: 0 18px;
        font-size: 15px;
    }

    .site-nav.open a::after {
        left: 18px;
        right: auto;
        width: 34px;
    }

    .header-cta {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn,
    .header-cta,
    .site-nav a,
    .brand,
    .brand-logo-wrap,
    .menu-toggle,
    .project-details-link,
    .gallery-filter {
        transition: none !important;
        animation: none !important;
    }

    .ui-ripple {
        display: none !important;
    }
}

/* =========================================================
   FIX: Mobile Navbar Dropdown Size
   يمنع القائمة من تغطية كامل الموقع
========================================================= */

@media (max-width: 1100px) {
    .site-header {
        height: auto !important;
        min-height: 72px !important;
        align-items: center !important;
        overflow: visible !important;
    }

    .brand {
        z-index: 1002;
    }

    .menu-toggle {
        display: grid !important;
        position: relative;
        z-index: 1002;
        margin-left: auto;
        flex-shrink: 0;
    }

    .header-cta {
        display: none !important;
    }

    .site-nav {
        display: none !important;
    }

    .site-nav.open {
        display: grid !important;
        position: fixed !important;
        top: 88px !important;
        left: 16px !important;
        right: 16px !important;
        bottom: auto !important;

        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: calc(100vh - 120px) !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;

        grid-template-columns: 1fr !important;
        align-content: start !important;
        align-items: stretch !important;

        gap: 8px !important;
        padding: 14px !important;
        margin: 0 !important;

        border-radius: 26px !important;
        background: rgba(16, 20, 47, 0.94) !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        box-shadow:
            0 24px 80px rgba(0, 0, 0, 0.32),
            inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
        backdrop-filter: blur(24px) !important;
        z-index: 1001 !important;
    }

    .site-nav.open a {
        width: 100% !important;
        min-height: 52px !important;
        height: 52px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        padding: 0 18px !important;
        border-radius: 18px !important;

        font-size: 15px !important;
        color: rgba(255, 255, 255, 0.82) !important;
        background: rgba(255, 255, 255, 0.055) !important;
    }

    .site-nav.open a:hover,
    .site-nav.open a.active {
        color: #ffffff !important;
        background:
            radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.22), transparent 42%),
            linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07)) !important;
    }

    .site-nav.open a::after {
        left: 18px !important;
        right: auto !important;
        width: 34px !important;
        bottom: 8px !important;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }
}

@media (max-width: 520px) {
    .site-header {
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
    }

    .brand-text {
        display: none !important;
    }

    .brand-logo-wrap {
        width: 46px !important;
        height: 46px !important;
        border-radius: 15px !important;
    }

    .site-nav.open {
        top: 82px !important;
        left: 12px !important;
        right: 12px !important;
        border-radius: 22px !important;
    }
}

/* =========================================================
   FINAL INLINE FIX - Mobile Header & Navbar
   داخل نفس ملف modern-buttons.css بدون ملف جديد
========================================================= */

@media (max-width: 1100px) {
    html,
    body {
        overflow-x: hidden !important;
    }

    body.mobile-menu-open {
        overflow: hidden !important;
    }

    .site-header {
        position: fixed !important;
        top: 16px !important;
        left: 16px !important;
        right: 16px !important;
        bottom: auto !important;

        width: auto !important;
        height: 74px !important;
        min-height: 74px !important;
        max-height: 74px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;

        padding: 10px 14px !important;
        margin: 0 !important;

        border-radius: 24px !important;
        overflow: visible !important;

        background: rgba(16, 20, 47, 0.82) !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        backdrop-filter: blur(22px) !important;
        -webkit-backdrop-filter: blur(22px) !important;

        box-shadow:
            0 18px 60px rgba(0, 0, 0, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;

        z-index: 9999 !important;
    }

    .site-header::before,
    .site-header::after {
        height: 74px !important;
        max-height: 74px !important;
        border-radius: 24px !important;
        pointer-events: none !important;
    }

    .brand {
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex: 0 1 auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 72px) !important;
        height: auto !important;
        z-index: 10002 !important;
    }

    .brand-logo-wrap {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        border-radius: 16px !important;
        padding: 6px !important;
    }

    .brand-logo-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .brand-text {
        max-width: 180px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .header-cta {
        display: none !important;
    }

    .menu-toggle {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;

        display: grid !important;
        place-items: center !important;

        position: relative !important;
        inset: auto !important;

        padding: 0 !important;
        margin: 0 !important;

        flex: 0 0 50px !important;
        z-index: 10003 !important;

        border-radius: 17px !important;
        background: rgba(255, 255, 255, 0.10) !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.12),
            0 10px 28px rgba(0, 0, 0, 0.16) !important;
    }

    .menu-toggle span {
        width: 22px !important;
        height: 2px !important;
        display: block !important;
        border-radius: 999px !important;
        background: #ffffff !important;
    }

    .site-nav {
        display: none !important;
        position: fixed !important;
        inset: auto !important;

        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        padding: 0 !important;
        margin: 0 !important;

        flex: none !important;
        transform: none !important;
    }

    .site-nav.open {
        display: grid !important;

        position: fixed !important;
        top: 100px !important;
        left: 16px !important;
        right: 16px !important;
        bottom: auto !important;

        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: calc(100vh - 124px) !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;

        grid-template-columns: 1fr !important;
        align-items: stretch !important;
        align-content: start !important;
        gap: 8px !important;

        padding: 12px !important;
        margin: 0 !important;

        border-radius: 24px !important;
        background: rgba(16, 20, 47, 0.96) !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        backdrop-filter: blur(24px) !important;
        -webkit-backdrop-filter: blur(24px) !important;

        box-shadow:
            0 24px 80px rgba(0, 0, 0, 0.34),
            inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;

        z-index: 9998 !important;
    }

    .site-nav.open a {
        width: 100% !important;
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        padding: 0 18px !important;
        margin: 0 !important;

        border-radius: 17px !important;
        background: rgba(255, 255, 255, 0.055) !important;

        color: rgba(255, 255, 255, 0.86) !important;
        font-size: 15px !important;
        font-weight: 850 !important;
        line-height: 1 !important;

        transform: none !important;
    }

    .site-nav.open a:hover,
    .site-nav.open a.active {
        background:
            radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.22), transparent 45%),
            linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07)) !important;
        color: #ffffff !important;
    }

    .site-nav.open a::before {
        display: none !important;
    }

    .site-nav.open a::after {
        left: 18px !important;
        right: auto !important;
        bottom: 8px !important;
        width: 34px !important;
        height: 2px !important;
    }
}

@media (max-width: 520px) {
    .site-header {
        top: 12px !important;
        left: 12px !important;
        right: 12px !important;

        height: 70px !important;
        min-height: 70px !important;
        max-height: 70px !important;

        border-radius: 22px !important;
    }

    .site-header::before,
    .site-header::after {
        height: 70px !important;
        max-height: 70px !important;
        border-radius: 22px !important;
    }

    .brand-text {
        display: none !important;
    }

    .brand-logo-wrap {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        min-height: 46px !important;
    }

    .menu-toggle {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
    }

    .site-nav.open {
        top: 90px !important;
        left: 12px !important;
        right: 12px !important;
        max-height: calc(100vh - 108px) !important;
        border-radius: 22px !important;
    }
}

/* =========================================================
   Floating Contact Buttons
========================================================= */

.floating-contact {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9997;
    display: grid;
    gap: 10px;
}

.floating-contact-btn {
    position: relative;
    min-height: 54px;
    padding: 0 18px 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    isolation: isolate;
    text-decoration: none;
    color: #ffffff;
    font-weight: 950;
    box-shadow:
        0 20px 55px rgba(16, 20, 47, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        filter 0.28s ease;
}

.floating-contact-btn::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    background: linear-gradient(
        115deg,
        transparent 0%,
        rgba(255, 255, 255, 0.32) 38%,
        transparent 64%
    );
    transform: translateX(-125%);
    transition: transform 0.68s ease;
}

.floating-contact-btn:hover {
    transform: translateY(-4px) scale(1.02);
    filter: saturate(1.08);
}

.floating-contact-btn:hover::before {
    transform: translateX(125%);
}

.floating-contact-btn.whatsapp {
    background:
        radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.30), transparent 38%),
        linear-gradient(135deg, #0b8f55, #087443);
}

.floating-contact-btn.call {
    background:
        radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.32), transparent 38%),
        linear-gradient(135deg, var(--ui-blue), var(--ui-red));
}

.floating-icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.floating-text {
    white-space: nowrap;
    font-size: 14px;
    letter-spacing: -0.01em;
}

@media (max-width: 700px) {
    .floating-contact {
        left: 12px;
        right: 12px;
        bottom: 14px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .floating-contact-btn {
        min-height: 52px;
        justify-content: center;
        padding: 0 12px;
        border-radius: 18px;
    }

    .floating-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .floating-text {
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .floating-contact-btn {
        gap: 6px;
    }

    .floating-text {
        font-size: 12px;
    }
}