/* ============================================================
   OPTIMIZED MASTER STYLESHEET
   Optimized: Removed duplicates, uses CSS variables, high performance
   ============================================================ */


/* ============================================================
   1. GLOBAL VARIABLES (CSS Custom Properties)
   ============================================================ */

:root {
    /* ---- Gold Palette ---- */
    --gold-50: #faf6ed;
    --gold-100: #f2e8d0;
    --gold-200: #e5d1a1;
    --gold-300: #d8ba72;
    --gold-400: #c9a84c;
    --gold-500: #b8943c;
    --gold-600: #a07d30;
    --gold-700: #886624;
    /* ---- Navy Palette ---- */
    --navy-50: #f0f2f5;
    --navy-600: #1a2a3a;
    --navy-900: #0f1a2a;
    /* ---- Teal / Emerald Palette ---- */
    --teal-50: #f0f5f5;
    --teal-100: #d5e8e8;
    --teal-200: #aad0d0;
    --teal-300: #7fb8b8;
    --teal-400: #3a7a7a;
    --teal-500: #2a5a5a;
    --teal-600: #1a3a3a;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    /* ---- Base Grays ---- */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    /* ---- Typography & Radius ---- */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    /* ---- Shadows ---- */
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.25);
    --shadow-gold: 0 8px 30px rgba(201, 168, 76, 0.15);
    /* ---- Z-Index System ---- */
    --z-header: 100;
    --z-dropdown: 200;
    --z-overlay: 9998;
    --z-socials: 9999;
    --z-modal: 99999;
    --z-cursor: 99999;
    /* ---- Transitions ---- */
    --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--slate-50);
    color: var(--slate-900);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ============================================================
   3. NEEDLE CURSOR
   ============================================================ */

#needle-cursor {
    position: fixed;
    pointer-events: none;
    z-index: var(--z-cursor);
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease-out, opacity 0.2s ease;
    opacity: 0;
    display: none;
    will-change: transform, opacity;
}

#needle-cursor.visible {
    opacity: 1;
    display: block;
}

#needle-cursor svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

#needle-cursor.hovering {
    transform: translate(-50%, -50%) rotate(15deg) scale(1.1);
}

@media (hover: none) and (pointer: coarse) {
    body {
        cursor: auto !important;
    }
    #needle-cursor {
        display: none !important;
    }
}


/* ============================================================
   4. UTILITY CLASSES (Colors, Borders, Shadows, Gradients)
   ============================================================ */


/* ---- Backgrounds ---- */

.bg-primary {
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
}

.bg-accent {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.bg-gold-50 {
    background-color: var(--gold-50);
}

.bg-gold-100 {
    background-color: var(--gold-100);
}

.bg-gold-200 {
    background-color: var(--gold-200);
}

.bg-gold-300 {
    background-color: var(--gold-300);
}

.bg-gold-400 {
    background-color: var(--gold-400);
}

.bg-gold-500 {
    background-color: var(--gold-500);
}

.bg-gold-600 {
    background-color: var(--gold-600);
}

.bg-gold-700 {
    background-color: var(--gold-700);
}

.bg-gold-50\/80 {
    background-color: rgba(250, 246, 237, 0.8);
}

.bg-gold-100\/80 {
    background-color: rgba(242, 232, 208, 0.8);
}

.bg-gold-200\/70 {
    background-color: rgba(229, 209, 161, 0.7);
}

.bg-gold-300\/30 {
    background-color: rgba(216, 186, 114, 0.3);
}

.bg-gold-300\/20 {
    background-color: rgba(216, 186, 114, 0.2);
}

.bg-gold-400\/10 {
    background-color: rgba(201, 168, 76, 0.1);
}

.bg-gold-400\/30 {
    background-color: rgba(201, 168, 76, 0.3);
}

.bg-gold-400\/50 {
    background-color: rgba(201, 168, 76, 0.5);
}

.bg-gold-500\/10 {
    background-color: rgba(184, 148, 60, 0.1);
}

.bg-gold-200\/10 {
    background-color: rgba(229, 209, 161, 0.1);
}

.bg-navy-50 {
    background-color: var(--navy-50);
}

.bg-navy-900 {
    background-color: var(--navy-900);
}

.bg-navy-600 {
    background-color: var(--navy-600);
}

.bg-navy-400\/10 {
    background-color: rgba(60, 80, 110, 0.1);
}

.bg-navy-50\/5 {
    background-color: rgba(26, 42, 58, 0.05);
}

.bg-teal-50 {
    background-color: var(--teal-50);
}

.bg-teal-100 {
    background-color: var(--teal-100);
}

.bg-teal-200 {
    background-color: var(--teal-200);
}

.bg-teal-300 {
    background-color: var(--teal-300);
}

.bg-teal-400 {
    background-color: var(--teal-400);
}

.bg-teal-500 {
    background-color: var(--teal-500);
}

.bg-teal-600 {
    background-color: var(--teal-600);
}

.bg-teal-50\/80 {
    background-color: rgba(240, 245, 245, 0.8);
}

.bg-teal-50\/10 {
    background-color: rgba(240, 245, 245, 0.1);
}

.bg-teal-400\/10 {
    background-color: rgba(58, 122, 122, 0.1);
}

.bg-emerald-50 {
    background-color: #ecfdf5;
}

.bg-emerald-100 {
    background-color: #d1fae5;
}

.bg-emerald-400 {
    background-color: var(--emerald-400);
}

.bg-emerald-500 {
    background-color: var(--emerald-500);
}


/* ---- Text Colors ---- */

.text-gold-400 {
    color: var(--gold-400);
}

.text-gold-400\/60 {
    color: rgba(201, 168, 76, 0.6);
}

.text-gold-500 {
    color: var(--gold-500);
}

.text-gold-600 {
    color: var(--gold-600);
}

.text-gold-700 {
    color: var(--gold-700);
}

.text-navy-600 {
    color: var(--navy-600);
}

.text-teal-400 {
    color: var(--teal-400);
}

.text-teal-500 {
    color: var(--teal-500);
}

.text-teal-600 {
    color: var(--teal-600);
}

.text-teal-700 {
    color: #0f2a2a;
}

.text-accent {
    color: #3b82f6;
}


/* ---- Borders ---- */

.border-accent {
    border-color: #3b82f6;
}

.border-gold-100\/50 {
    border-color: rgba(242, 232, 208, 0.5);
}

.border-gold-200 {
    border-color: var(--gold-200);
}

.border-gold-200\/70 {
    border-color: rgba(229, 209, 161, 0.7);
}

.border-gold-200\/20 {
    border-color: rgba(229, 209, 161, 0.2);
}

.border-gold-200\/30 {
    border-color: rgba(229, 209, 161, 0.3);
}

.border-gold-200\/40 {
    border-color: rgba(229, 209, 161, 0.4);
}

.border-gold-300 {
    border-color: var(--gold-300);
}

.border-gold-300\/20 {
    border-color: rgba(216, 186, 114, 0.2);
}

.border-gold-400 {
    border-color: var(--gold-400);
}

.border-gold-400\/20 {
    border-color: rgba(201, 168, 76, 0.2);
}

.border-gold-400\/50 {
    border-color: rgba(201, 168, 76, 0.5);
}

.border-gold-100\/30 {
    border-color: rgba(242, 232, 208, 0.3);
}

.border-teal-200 {
    border-color: var(--teal-200);
}

.border-teal-300 {
    border-color: var(--teal-300);
}

.border-teal-400 {
    border-color: var(--teal-400);
}

.border-teal-100\/50 {
    border-color: rgba(213, 232, 232, 0.5);
}

.border-teal-200\/30 {
    border-color: rgba(170, 208, 208, 0.3);
}

.border-teal-200\/40 {
    border-color: rgba(170, 208, 208, 0.4);
}


/* ---- Shadows ---- */

.shadow-gold-200 {
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.15);
}

.shadow-gold-400 {
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.shadow-gold-500 {
    box-shadow: 0 4px 25px rgba(184, 148, 60, 0.35);
}

.shadow-gold-200\/30 {
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.15);
}

.shadow-gold-100\/10 {
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.08);
}

.shadow-gold-200\/25 {
    box-shadow: 0 8px 30px rgba(229, 209, 161, 0.2);
}

.shadow-gold-100\/20 {
    box-shadow: 0 4px 20px rgba(242, 232, 208, 0.2);
}

.shadow-gold-400\/30 {
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.25);
}

.shadow-gold-400\/50 {
    box-shadow: 0 8px 40px rgba(201, 168, 76, 0.4);
}

.shadow-gold-500\/30 {
    box-shadow: 0 8px 30px rgba(184, 148, 60, 0.25);
}

.shadow-gold-500\/50 {
    box-shadow: 0 8px 40px rgba(184, 148, 60, 0.4);
}

.shadow-teal-200 {
    box-shadow: 0 4px 20px rgba(58, 122, 122, 0.15);
}

.shadow-teal-400 {
    box-shadow: 0 4px 20px rgba(58, 122, 122, 0.3);
}

.shadow-teal-500 {
    box-shadow: 0 4px 25px rgba(42, 90, 90, 0.35);
}


/* ---- Gradients ---- */

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-via, transparent), var(--tw-gradient-to));
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-from), var(--tw-gradient-to));
}

.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--tw-gradient-from), var(--tw-gradient-to));
}

.bg-gradient-to-bl {
    background-image: linear-gradient(to bottom left, var(--tw-gradient-from), var(--tw-gradient-to));
}

.bg-gradient-to-tr {
    background-image: linear-gradient(to top right, var(--tw-gradient-from), var(--tw-gradient-to));
}

.bg-gradient-to-l {
    background-image: linear-gradient(to left, var(--tw-gradient-from), var(--tw-gradient-to));
}

.from-gold-50 {
    --tw-gradient-from: var(--gold-50);
}

.from-gold-100 {
    --tw-gradient-from: var(--gold-100);
}

.from-gold-400 {
    --tw-gradient-from: var(--gold-400);
}

.from-gold-500 {
    --tw-gradient-from: var(--gold-500);
}

.from-gold-400\/10 {
    --tw-gradient-from: rgba(201, 168, 76, 0.1);
}

.from-gold-300\/5 {
    --tw-gradient-from: rgba(216, 186, 114, 0.05);
}

.from-navy-300\/5 {
    --tw-gradient-from: rgba(60, 80, 110, 0.05);
}

.from-teal-400 {
    --tw-gradient-from: var(--teal-400);
}

.from-teal-500 {
    --tw-gradient-from: var(--teal-500);
}

.from-teal-50\/80 {
    --tw-gradient-from: rgba(240, 245, 245, 0.8);
}

.to-gold-100 {
    --tw-gradient-to: var(--gold-100);
}

.to-gold-500 {
    --tw-gradient-to: var(--gold-500);
}

.to-gold-600 {
    --tw-gradient-to: var(--gold-600);
}

.to-gold-700 {
    --tw-gradient-to: var(--gold-700);
}

.to-gold-600\/10 {
    --tw-gradient-to: rgba(160, 125, 48, 0.1);
}

.to-emerald-400 {
    --tw-gradient-to: var(--emerald-400);
}

.to-emerald-500 {
    --tw-gradient-to: var(--emerald-500);
}

.to-teal-400 {
    --tw-gradient-to: var(--teal-400);
}

.to-teal-500 {
    --tw-gradient-to: var(--teal-500);
}

.to-emerald-50\/80 {
    --tw-gradient-to: rgba(236, 253, 245, 0.8);
}

.to-navy-300\/5 {
    --tw-gradient-to: rgba(60, 80, 110, 0.05);
}

.via-gold-500 {
    --tw-gradient-via: var(--gold-500);
}

.via-emerald-400 {
    --tw-gradient-via: var(--emerald-400);
}


/* ---- Image Filters ---- */

.filter.brightness-0.invert {
    filter: brightness(0) invert(1);
}


/* ============================================================
   5. HEADER
   ============================================================ */

.header-glass {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.header-glass.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.header-luxury {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.header-luxury.scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}


/* ---- Dropdown ---- */

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.96);
    transition: all 0.25s var(--transition-smooth);
    transform-origin: top center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 8px 0;
    z-index: var(--z-dropdown);
}

.group:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px) scale(1);
}

.dropdown-menu a {
    padding: 10px 20px;
    font-weight: 500;
    color: var(--slate-800);
    transition: all 0.2s;
    border-radius: var(--radius-sm);
    margin: 2px 8px;
}

.dropdown-menu a:hover {
    background: var(--slate-100);
    color: #3b82f6;
    transform: translateX(4px);
}

.dropdown-menu-luxury {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.96);
    transition: all 0.3s var(--transition-smooth);
    transform-origin: top center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    margin-top: 8px;
    z-index: var(--z-dropdown);
}

.group:hover .dropdown-menu-luxury {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px) scale(1);
}

.dropdown-menu-luxury .group-item {
    position: relative;
}

.dropdown-menu-luxury .group-item:hover {
    background: rgba(245, 158, 11, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 70%;
}


/* ============================================================
   6. BUTTONS
   ============================================================ */

.btn-glow {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 0.7rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    touch-action: manipulation;
    will-change: transform, box-shadow;
}

.btn-glow:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.45);
}


/* ============================================================
   7. SERVICE CARDS
   ============================================================ */

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s var(--transition-smooth);
    border: 1px solid rgba(226, 232, 240, 0.6);
    cursor: pointer;
    will-change: transform, box-shadow, border-color;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
    border-color: #3b82f6;
}

.service-card.active {
    border-color: #3b82f6;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
    background: #f8faff;
}

.service-card .icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: var(--slate-100);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    margin: 0 auto 16px;
}

.service-card.active .icon-wrap,
.service-card:hover .icon-wrap {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.service-card .icon-wrap img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    transition: all 0.3s;
}

.service-card.active .icon-wrap img,
.service-card:hover .icon-wrap img {
    filter: brightness(0) invert(1);
}


/* ---- Luxury (Gold) Cards ---- */

.service-luxury.active {
    border-color: var(--gold-400) !important;
    box-shadow: var(--shadow-gold);
    background: var(--gold-50);
}

.service-luxury.active .bg-gold-400\/10 {
    opacity: 1;
}


/* ---- Clean (Teal) Cards ---- */

.service-luxury.active.bg-teal-50 {
    border-color: var(--teal-400) !important;
    box-shadow: var(--shadow-teal-200);
    background: var(--teal-50);
}

.service-luxury.active .bg-teal-400\/10 {
    opacity: 1;
}


/* ============================================================
   8. FAQ ACCORDION
   ============================================================ */

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    padding: 18px 24px;
    border: 1px solid var(--slate-200);
    transition: all 0.3s;
    cursor: pointer;
    touch-action: manipulation;
}

.faq-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s ease;
    padding-top: 0;
    color: var(--slate-600);
}

.faq-item.open .faq-answer {
    max-height: 800px;
    padding-top: 16px;
}

.faq-item .faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    color: var(--gold-400);
}

.faq-item.open {
    border-color: rgba(201, 168, 76, 0.35);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.12);
}


/* ============================================================
   9. TESTIMONIAL CARDS
   ============================================================ */

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--slate-100);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
    border-color: var(--slate-200);
}


/* ============================================================
   10. FOOTER
   ============================================================ */

.footer-bg {
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
}


/* ============================================================
   11. FLOATING SOCIAL BUTTONS
   ============================================================ */

.floating-socials {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: var(--z-socials);
}

.floating-socials .social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
    touch-action: manipulation;
}

.floating-socials .social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.floating-socials .social-btn:hover::before {
    transform: scale(1);
}

.floating-socials .social-btn:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.floating-socials .social-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    animation: pulse-whatsapp 2.5s ease-in-out infinite;
}

.floating-socials .social-btn.facebook {
    background: linear-gradient(135deg, #1877f2, #0a58ca);
    animation: pulse-facebook 2.5s ease-in-out 0.5s infinite;
}

.floating-socials .social-btn .tooltip {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s var(--transition-smooth);
    pointer-events: none;
}

.floating-socials .social-btn .tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid rgba(0, 0, 0, 0.8);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.floating-socials .social-btn:hover .tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulse-whatsapp {
    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    }
    50% {
        box-shadow: 0 4px 40px rgba(37, 211, 102, 0.6);
    }
}

@keyframes pulse-facebook {
    0%,
    100% {
        box-shadow: 0 4px 20px rgba(24, 119, 242, 0.35);
    }
    50% {
        box-shadow: 0 4px 40px rgba(24, 119, 242, 0.6);
    }
}


/* ============================================================
   12. MOBILE MENU
   ============================================================ */

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: var(--z-overlay);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 380px;
    height: 100%;
    background: #ffffff;
    padding: 20px;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.35s var(--transition-smooth);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-overlay.active .mobile-menu-panel {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--slate-100);
    color: var(--slate-800);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
    touch-action: manipulation;
}

.mobile-menu-close:active {
    background: var(--slate-200);
    transform: scale(0.95);
}

.mobile-menu-content {
    padding-top: 60px;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-link {
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--slate-800);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-menu-link:active {
    background: var(--slate-100);
}

.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 15px;
    color: var(--slate-800);
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    touch-action: manipulation;
}

.mobile-menu-toggle:active {
    background: var(--slate-100);
}

.mobile-menu-toggle i {
    transition: transform 0.3s ease;
    font-size: 12px;
    color: var(--slate-400);
}

.mobile-menu-toggle.open i {
    transform: rotate(180deg);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--transition-smooth);
    padding-left: 16px;
}

.mobile-submenu.open {
    max-height: 500px;
}

.mobile-submenu .mobile-menu-link {
    padding-left: 32px;
    font-size: 14px;
    color: var(--slate-600);
}

.mobile-menu-cta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--slate-200);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-phone-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--slate-50);
    color: var(--slate-800);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-phone-link:active {
    background: var(--slate-100);
}

.mobile-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-book-btn:active {
    transform: scale(0.97);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

@supports (padding: max(0px)) {
    .mobile-menu-panel {
        padding-top: max(20px, env(safe-area-inset-top));
        padding-bottom: max(20px, env(safe-area-inset-bottom));
        padding-top: max(20px, constant(safe-area-inset-top));
        padding-bottom: max(20px, constant(safe-area-inset-bottom));
    }
}

details summary::-webkit-details-marker {
    display: none;
}

details summary {
    list-style: none;
}

details summary::marker {
    display: none;
}


/* ============================================================
   13. DESIGNER MODAL
   ============================================================ */

.designer-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 26, 42, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 20px;
}

.designer-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.designer-modal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    max-width: 480px;
    width: 100%;
    border-radius: var(--radius-xl);
    padding: 40px 32px 32px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(201, 168, 76, 0.25);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s var(--transition-smooth), opacity 0.35s ease;
    opacity: 0;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    will-change: transform, opacity;
}

.designer-modal-overlay.active .designer-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.designer-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--slate-400);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.25s;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.03);
    touch-action: manipulation;
}

.designer-modal-close:hover {
    background: rgba(201, 168, 76, 0.12);
    color: var(--gold-500);
    transform: rotate(90deg);
}

.designer-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.25);
    border: 3px solid #fff;
}

.designer-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.designer-avatar span {
    filter: brightness(0) invert(1);
}

.designer-name {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    color: var(--slate-900);
    margin: 0 0 4px;
    letter-spacing: -0.02em;
}

.designer-title {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--gold-500);
    margin: 0 0 16px;
    letter-spacing: 0.02em;
}

.designer-divider {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
    margin: 0 auto 16px;
    border-radius: 2px;
}

.designer-bio {
    font-size: 14px;
    line-height: 1.7;
    color: var(--slate-600);
    text-align: center;
    margin: 0 0 20px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.designer-socials {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.designer-social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: none;
    will-change: transform, box-shadow;
    touch-action: manipulation;
}

.designer-social-link:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.designer-social-link.linkedin {
    background: #0a66c2;
}

.designer-social-link.github {
    background: #24292e;
}

.designer-social-link.email {
    background: #ea4335;
}

.designer-social-link.portfolio {
    background: #6c5ce7;
}

.designer-note {
    font-size: 12px;
    text-align: center;
    color: var(--slate-400);
    margin: 0;
    letter-spacing: 0.03em;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    padding-top: 16px;
}


/* ============================================================
   14. BACK TO TOP BUTTON
   ============================================================ */

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* ============================================================
   15. KEYFRAMES (Animations)
   ============================================================ */

@keyframes threadLoopHeader {
    0% {
        stroke-dashoffset: 16;
        opacity: 0.6;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.animate-thread-loop-header {
    animation: threadLoopHeader 2s linear infinite;
}

@keyframes titleThread {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    50% {
        transform: scaleX(1);
        opacity: 0.5;
    }
    100% {
        transform: scaleX(0);
        opacity: 0;
    }
}

.animate-title-thread {
    animation: titleThread 4s ease-in-out infinite;
    transform-origin: left center;
}

@keyframes threadProgress {
    0% {
        width: 0%;
        opacity: 0.5;
    }
    25% {
        width: 25%;
        opacity: 1;
    }
    50% {
        width: 50%;
        opacity: 1;
    }
    75% {
        width: 75%;
        opacity: 1;
    }
    100% {
        width: 100%;
        opacity: 0.5;
    }
}

.animate-thread-progress {
    animation: threadProgress 8s ease-in-out infinite;
}

@keyframes threadDotMove {
    0% {
        left: 0%;
    }
    25% {
        left: 25%;
    }
    50% {
        left: 50%;
    }
    75% {
        left: 75%;
    }
    100% {
        left: 100%;
    }
}

.animate-thread-dot {
    animation: threadDotMove 8s ease-in-out infinite;
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.animate-ping {
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.group:hover .animate-ping {
    animation-duration: 1.2s;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spin 20s linear infinite;
}

.animate-spin-slow-reverse {
    animation: spin 25s linear infinite reverse;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes stitch {
    0%,
    100% {
        border-color: transparent;
    }
    50% {
        border-color: rgba(59, 130, 246, 0.3);
    }
}

.group:hover .group-hover\:animate-stitch {
    animation: stitch 1.5s ease-in-out infinite;
}

@keyframes floatSlow {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.animate-float-slow {
    animation: floatSlow 12s ease-in-out infinite;
}

.animate-float-slow-reverse {
    animation: floatSlow 14s ease-in-out infinite reverse;
}

@keyframes buttonThread {
    0%,
    100% {
        stroke-dashoffset: 0;
        opacity: 0.15;
    }
    50% {
        stroke-dashoffset: 12;
        opacity: 0.3;
    }
}

.animate-button-thread {
    animation: buttonThread 2s ease-in-out infinite;
}

@keyframes spoolThread {
    0%,
    100% {
        stroke-dashoffset: 0;
        opacity: 0.1;
    }
    50% {
        stroke-dashoffset: 20;
        opacity: 0.2;
    }
}

.animate-spool-thread {
    animation: spoolThread 4s ease-in-out infinite;
}

@keyframes threadMove {
    0% {
        left: -33%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.animate-thread-move {
    animation: threadMove 4s ease-in-out infinite;
}


/* ============================================================
   16. SWIPER CUSTOMIZATION
   ============================================================ */

.testimonial-slider .swiper-slide {
    transition: transform 0.6s ease, opacity 0.6s ease;
    transform: scale(0.95);
    opacity: 0.7;
}

.testimonial-slider .swiper-slide-active {
    transform: scale(1.02);
    opacity: 1;
}

.testimonial-slider .swiper-slide-prev,
.testimonial-slider .swiper-slide-next {
    transform: scale(0.98);
    opacity: 0.85;
}

.brands-slider .swiper-slide {
    transition: all 0.5s ease;
}

.brands-slider .swiper-slide-active .brand-card {
    border-color: rgba(59, 130, 246, 0.2);
}


/* ============================================================
   17. GROUP HOVER UTILITIES
   ============================================================ */

.group:hover .group-hover\:bg-gold-500 {
    background-color: var(--gold-500);
}

.group:hover .group-hover\:text-white {
    color: #ffffff;
}

.group:hover .group-hover\:border-gold-300 {
    border-color: var(--gold-300);
}

.group:hover .group-hover\:w-3 {
    width: 12px;
}

.group:hover .group-hover\:shadow-gold-200\/25 {
    box-shadow: 0 8px 30px rgba(229, 209, 161, 0.25);
}

.hover\:bg-gold-500:hover {
    background-color: var(--gold-500);
}

.hover\:bg-navy-600:hover {
    background-color: var(--navy-600);
}

.hover\:bg-teal-500:hover {
    background-color: var(--teal-500);
}

.hover\:border-gold-300:hover {
    border-color: var(--gold-300);
}

.hover\:text-gold-400:hover {
    color: var(--gold-400);
}


/* ============================================================
   18. RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (max-width: 768px) {
    .testimonial-slider .swiper-slide {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .header-glass {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .header-luxury {
        padding-top: 6px;
        padding-bottom: 6px;
    }
    .btn-glow {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }
    .floating-socials {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    .floating-socials .social-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    .floating-socials .social-btn .tooltip {
        display: none;
    }
    #backToTop {
        bottom: 80px;
        left: 16px;
        width: 44px;
        height: 44px;
    }
    .designer-modal {
        padding: 32px 20px 24px;
        border-radius: 20px;
    }
    .designer-avatar {
        width: 72px;
        height: 72px;
    }
    .designer-name {
        font-size: 20px;
    }
    .designer-social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}


/* ============================================================
   19. ACCESSIBILITY - REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .animate-ping,
    .animate-pulse,
    .animate-spin-slow,
    .animate-spin-slow-reverse,
    .animate-float-slow,
    .animate-float-slow-reverse,
    .animate-button-thread,
    .animate-spool-thread,
    .animate-thread-move,
    .animate-title-thread,
    .animate-thread-progress,
    .animate-thread-dot {
        animation: none !important;
    }
    .floating-socials .social-btn.whatsapp,
    .floating-socials .social-btn.facebook {
        animation: none !important;
    }
}


/* ===== Tailwind compatibility for text gradients ===== */


/* ============================================================
   20. TEXT GRADIENTS (Independent from Tailwind)
   ============================================================ */


/* Gold Gradient Text */

.text-gold-gradient {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}


/* Gold Gradient Text - Horizontal */

.text-gold-gradient-horizontal {
    background: linear-gradient(to right, var(--gold-400), var(--gold-500), var(--gold-400));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}


/* Teal/Emerald Gradient Text */

.text-teal-gradient {
    background: linear-gradient(135deg, var(--teal-400), var(--emerald-400));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}


/* Teal/Emerald Gradient Text - Horizontal */

.text-teal-gradient-horizontal {
    background: linear-gradient(to right, var(--teal-400), var(--emerald-400), var(--teal-400));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}


/* Blue/Indigo Gradient Text (for brands & testimonials) */

.text-blue-gradient {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}


/* Blue/Indigo Gradient Text - Horizontal */

.text-blue-gradient-horizontal {
    background: linear-gradient(to right, #3b82f6, #6366f1, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}


/* ===== Fix for Tailwind gradient text compatibility ===== */

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.text-transparent {
    color: transparent;
}


/* ============================================================
   21. FOOTER RESPONSIVE IMPROVEMENTS
   ============================================================ */


/* ----- Adjust grid gaps and padding on small screens ----- */

@media (max-width: 640px) {
    /* Reduce gap between footer columns */
    footer .grid {
        gap: 2rem !important;
        /* was gap-10 = 2.5rem */
    }
    /* Better spacing for footer columns content */
    footer .grid>div {
        padding: 0 0.5rem;
    }
    /* Make newsletter form stack properly and full width */
    footer form {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    footer form input,
    footer form button {
        width: 100% !important;
        font-size: 0.875rem !important;
        padding: 0.75rem 1rem !important;
    }
    /* Reduce font size of footer headings and links */
    footer h5 {
        font-size: 1rem !important;
    }
    footer ul li a {
        font-size: 0.8rem !important;
    }
    /* Social icons - smaller and better spacing */
    footer .flex.space-x-4 {
        gap: 0.75rem !important;
    }
    footer .w-10.h-10 {
        width: 2.25rem !important;
        height: 2.25rem !important;
    }
    /* Bottom bar - stack vertically */
    footer .border-t .flex-col.md\:flex-row {
        flex-direction: column !important;
        text-align: center;
        gap: 0.75rem !important;
    }
    /* Brand slogan and copyright text size */
    footer .text-sm {
        font-size: 0.75rem !important;
    }
    /* Stitch line – hide or shrink */
    footer .mt-6.flex {
        gap: 0.25rem !important;
    }
    footer .mt-6.flex svg {
        width: 1rem !important;
        height: 1rem !important;
    }
    /* Adjust decorative stitch spans */
    footer .mt-6.flex span {
        width: 0.5rem !important;
        height: 0.125rem !important;
    }
}


/* ----- Small screens (under 480px) ----- */

@media (max-width: 480px) {
    footer .grid {
        gap: 1.5rem !important;
    }
    footer .px-4 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    /* Make the "Tailored to Perfection" slogan smaller */
    footer .text-gold-400\/60 {
        font-size: 0.6rem !important;
        letter-spacing: 0.15em !important;
    }
    /* Reduce social icon size further */
    footer .w-10.h-10 {
        width: 2rem !important;
        height: 2rem !important;
        font-size: 0.75rem !important;
    }
    /* Footer bottom bar padding */
    footer .pt-8 {
        padding-top: 1.5rem !important;
    }
    footer .mt-12 {
        margin-top: 2rem !important;
    }
}


/* ============================================================
   22. FOOTER NEWSLETTER FORM - DESKTOP IMPROVEMENTS
   ============================================================ */


/* ----- Limit form width and add spacing on desktop ----- */

footer form {
    max-width: 100%;
    width: 100%;
}

@media (min-width: 640px) {
    footer form {
        max-width: 380px;
        /* Limits width on tablet & desktop */
        margin-right: 0;
        /* Aligns to the left */
    }
}

@media (min-width: 1024px) {
    footer form {
        max-width: 340px;
        /* Slightly smaller on large screens */
    }
}


/* ----- Better spacing for input and button ----- */

footer form input {
    min-width: 0;
    /* Prevents overflow */
    flex-shrink: 1;
}

footer form button {
    flex-shrink: 0;
    /* Prevents the button from shrinking */
    white-space: nowrap;
    /* Prevents button text from breaking */
}


/* ----- Add right margin to prevent sticking to the edge ----- */

@media (min-width: 640px) {
    footer .grid>div:last-child form {
        margin-right: 0.5rem;
        /* Spacing from the right edge */
    }
}


/* ----- Optional: balance input and button widths ----- */

@media (min-width: 640px) {
    footer form input {
        flex: 2;
        /* Input takes 2/3 of the space */
    }
    footer form button {
        flex: 1;
        /* Button takes 1/3 of the space */
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 0.8rem;
    }
}


/* ============================================================
   23. BACK TO TOP BUTTON - IMPROVED VISIBILITY
   ============================================================ */


/* Make the arrow darker/bolder for better contrast */

#backToTop {
    background: linear-gradient(135deg, #2c3e50, #1a252f) !important;
    box-shadow: 0 8px 30px rgba(44, 62, 80, 0.5) !important;
}

#backToTop svg {
    stroke: #ffffff !important;
    /* Force white stroke */
    stroke-width: 2.5 !important;
    /* Keep it bold */
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    /* Add subtle shadow for depth */
}


/* Make the decorative dot larger and more visible */

#backToTop .animate-pulse {
    width: 0.75rem !important;
    /* 12px instead of 10px */
    height: 0.75rem !important;
    background-color: #fbbf24 !important;
    /* Solid amber instead of transparent */
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
    /* Glow effect */
    top: -4px !important;
    right: -4px !important;
}


/* Optional: Add a subtle hover scale effect for the dot */

#backToTop:hover .animate-pulse {
    transform: scale(1.3);
    transition: transform 0.3s ease;
}


/* Ensure the button itself has enough contrast on hover */

#backToTop:hover {
    background: linear-gradient(135deg, #1e3a5f, #0d1b2a) !important;
    box-shadow: 0 8px 30px rgba(30, 58, 95, 0.5) !important;
}