/* ===== Base Styles ===== */
        body { 
            background-color: #020617; 
            color: #f8fafc; 
            overflow-x: hidden; 
        }

        /* ===== Glassmorphism & Card Effects ===== */
        .glass { 
            background: rgba(15, 23, 42, 0.5); 
            backdrop-filter: blur(20px); 
            -webkit-backdrop-filter: blur(20px); 
            border: 1px solid rgba(255, 255, 255, 0.05); 
        }

        .feature-card { 
            background: linear-gradient(145deg, rgba(30, 58, 138, 0.05) 0%, rgba(2, 6, 23, 0.6) 100%); 
            backdrop-filter: blur(12px); 
            border: 1px solid rgba(255, 255, 255, 0.08); 
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
        }

        .feature-card:hover { 
            border-color: rgba(251, 191, 36, 0.5); 
            transform: translateY(-5px); 
            box-shadow: 0 15px 35px -10px rgba(251, 191, 36, 0.15); 
        }

        .glass-card {
            background: linear-gradient(145deg, rgba(30, 58, 138, 0.1) 0%, rgba(2, 6, 23, 0.4) 100%);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }

        .glass-card:hover {
            border-color: rgba(251, 191, 36, 0.5);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px -10px rgba(30, 58, 138, 0.5);
        }

        /* ===== Interactive Service Page Styles ===== */
        .tab-btn.active,
        .tab-btn.bg-brand-gold {
            background: #fbbf24;
            color: #020617;
            border-color: #fbbf24;
        }

        .tab-panel-animated {
            animation: tabFadeIn 0.35s ease-out;
        }

        @keyframes tabFadeIn {
            from { opacity: 0; transform: translateY(12px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .interactive-card {
            cursor: default;
        }

        .interactive-card:hover {
            transform: translateY(-6px) scale(1.01);
        }

        .stack-chip.active {
            background: rgba(251, 191, 36, 0.15);
            border-color: rgba(251, 191, 36, 0.5);
            color: #fef08a;
            transform: scale(1.05);
        }

        .process-step.active {
            border-color: rgba(251, 191, 36, 0.5) !important;
            background: rgba(30, 58, 138, 0.15);
            transform: translateY(-4px);
        }

        .faq-item[open] .faq-icon {
            transform: rotate(45deg);
        }

        .service-card-hidden {
            opacity: 0;
            transform: scale(0.95);
            pointer-events: none;
            position: absolute;
            visibility: hidden;
        }

        .service-filter-btn.active {
            background: #fbbf24;
            color: #020617;
            border-color: #fbbf24;
        }

        /* ===== Text Gradients ===== */
        .text-gradient { 
            background: linear-gradient(to right, #ffffff, #94a3b8); 
            -webkit-background-clip: text; 
            -webkit-text-fill-color: transparent; 
        }

        .text-gradient-gold { 
            background: linear-gradient(115deg, #fef9c3 0%, #fde68a 28%, #fbbf24 55%, #d97706 100%); 
            -webkit-background-clip: text; 
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-premium {
            position: relative;
        }

        .hero-stage {
            isolation: isolate;
        }

        .hero-stage-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
            pointer-events: none;
            overflow: hidden;
            background:
                radial-gradient(ellipse 55% 50% at 8% 35%, rgba(56, 189, 248, 0.22), transparent 60%),
                radial-gradient(ellipse 50% 45% at 50% 40%, rgba(30, 58, 138, 0.35), transparent 70%),
                linear-gradient(165deg, #020617 0%, #071226 45%, #020617 100%);
        }

        .hero-stage-photo {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.55;
            mix-blend-mode: lighten;
        }

        .hero-stage-geo {
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
                linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
                linear-gradient(135deg, transparent 48%, rgba(56, 189, 248, 0.08) 49%, transparent 51%),
                linear-gradient(45deg, transparent 46%, rgba(251, 191, 36, 0.05) 50%, transparent 54%);
            background-size: 72px 72px, 72px 72px, 220px 220px, 180px 180px;
            mask-image: radial-gradient(ellipse at center, black 20%, transparent 78%);
            opacity: 0.55;
        }

        .hero-stage-flare {
            position: absolute;
            top: -8%;
            left: -5%;
            width: min(60vw, 640px);
            height: min(60vw, 640px);
            background:
                radial-gradient(circle at 35% 40%, rgba(125, 211, 252, 0.35), transparent 42%),
                conic-gradient(from 210deg at 40% 40%, transparent 0deg, rgba(255,255,255,0.12) 18deg, transparent 40deg, transparent 360deg);
            filter: blur(2px);
            opacity: 0.85;
            animation: heroFlarePulse 8s ease-in-out infinite;
        }

        .hero-stage-vignette {
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse at center, transparent 35%, rgba(2, 6, 23, 0.55) 100%),
                linear-gradient(to bottom, rgba(2,6,23,0.35) 0%, transparent 25%, transparent 70%, rgba(2,6,23,0.75) 100%);
        }

        @keyframes heroFlarePulse {
            0%, 100% { opacity: 0.7; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.04); }
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.55rem;
            padding: 0.45rem 1rem;
            border-radius: 9999px;
            background: rgba(15, 23, 42, 0.55);
            border: 1px solid rgba(251, 191, 36, 0.28);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
            color: #fbbf24;
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.18em;
            text-transform: uppercase;
        }

        .hero-badge-dot {
            width: 0.45rem;
            height: 0.45rem;
            border-radius: 9999px;
            background: #fbbf24;
            box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18), 0 0 12px rgba(251, 191, 36, 0.55);
            animation: heroDotPulse 2.2s ease-in-out infinite;
        }

        @keyframes heroDotPulse {
            0%, 100% { box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18), 0 0 12px rgba(251, 191, 36, 0.55); }
            50% { box-shadow: 0 0 0 5px rgba(251, 191, 36, 0.12), 0 0 18px rgba(251, 191, 36, 0.75); }
        }

        .hero-title {
            font-weight: 800;
            letter-spacing: -0.035em;
            line-height: 1.05;
        }

        .hero-title-metallic {
            font-size: clamp(2.35rem, 7vw, 4.75rem);
            background: linear-gradient(115deg, #fff7ed 0%, #fef9c3 18%, #fbbf24 42%, #ffffff 58%, #fde68a 78%, #d97706 100%);
            background-size: 200% 200%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            filter: drop-shadow(0 0 28px rgba(251, 191, 36, 0.22));
            animation: metallicSheen 7s ease-in-out infinite;
        }

        @keyframes metallicSheen {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        .hero-sub {
            color: #94a3b8;
            font-weight: 300;
            letter-spacing: 0.01em;
            line-height: 1.65;
            max-width: 34rem;
            font-size: clamp(0.95rem, 2.1vw, 1.15rem);
        }

        .hero-divider {
            width: 3.5rem;
            height: 1px;
            margin: 0 auto 1.5rem;
            background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.75), transparent);
            box-shadow: 0 0 12px rgba(251, 191, 36, 0.35);
        }

        /* Isometric frosted icon cluster */
        .hero-iso-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.75rem;
            max-width: 22rem;
            margin: 0 auto 1.75rem;
            perspective: 900px;
        }

        @media (min-width: 640px) {
            .hero-iso-grid {
                grid-template-columns: repeat(4, minmax(0, 1fr));
                max-width: 36rem;
                gap: 1rem;
            }
        }

        .hero-iso-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.55rem;
            animation: isoFloat 5s ease-in-out infinite;
            animation-delay: var(--d, 0s);
        }

        .hero-iso-face {
            width: 4.25rem;
            height: 4.25rem;
            border-radius: 1.1rem;
            display: grid;
            place-items: center;
            background: linear-gradient(145deg, rgba(255,255,255,0.14), rgba(15,23,42,0.55) 45%, rgba(30,58,138,0.35));
            border: 1px solid rgba(251, 191, 36, 0.28);
            box-shadow:
                0 12px 28px rgba(2, 6, 23, 0.45),
                inset 0 1px 0 rgba(255,255,255,0.22),
                0 0 24px rgba(56, 189, 248, 0.12);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            transform: rotateX(12deg) rotateY(-10deg);
            transition: transform 0.35s ease, box-shadow 0.35s ease;
        }

        .hero-iso-card:hover .hero-iso-face {
            transform: rotateX(0deg) rotateY(0deg) translateY(-4px) scale(1.04);
            box-shadow:
                0 16px 36px rgba(2, 6, 23, 0.5),
                inset 0 1px 0 rgba(255,255,255,0.28),
                0 0 30px rgba(251, 191, 36, 0.25);
        }

        .hero-iso-svg {
            width: 2.35rem;
            height: 2.35rem;
        }

        .hero-iso-card span {
            font-size: 0.62rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: #94a3b8;
            font-weight: 600;
        }

        @keyframes isoFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-7px); }
        }

        .hero-cta-wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.85rem;
        }

        @media (min-width: 640px) {
            .hero-cta-wrap {
                flex-direction: row;
                align-items: flex-start;
                gap: 1rem;
            }
        }

        .hero-cta-col {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.65rem;
            width: 100%;
        }

        @media (min-width: 640px) {
            .hero-cta-col { width: auto; }
        }

        .btn-premium-primary,
        .btn-metal-gold {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 1rem 2rem;
            border-radius: 9999px;
            background:
                linear-gradient(180deg, rgba(255,255,255,0.35), transparent 38%),
                linear-gradient(135deg, #fef3c7 0%, #fbbf24 42%, #b45309 100%);
            color: #0f172a;
            font-weight: 800;
            font-size: 0.98rem;
            letter-spacing: 0.01em;
            border: 1px solid rgba(253, 230, 138, 0.65);
            box-shadow:
                0 14px 40px rgba(251, 191, 36, 0.35),
                0 2px 0 rgba(255, 255, 255, 0.35) inset,
                0 -2px 0 rgba(146, 64, 14, 0.35) inset;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
            width: 100%;
        }

        @media (min-width: 640px) {
            .btn-premium-primary,
            .btn-metal-gold { width: auto; }
        }

        .btn-premium-primary:hover,
        .btn-metal-gold:hover {
            transform: translateY(-3px);
            box-shadow:
                0 18px 48px rgba(251, 191, 36, 0.48),
                0 2px 0 rgba(255, 255, 255, 0.4) inset,
                0 -2px 0 rgba(146, 64, 14, 0.35) inset;
        }

        .btn-premium-secondary,
        .btn-gold-outline {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 1rem 2rem;
            border-radius: 9999px;
            background: rgba(15, 23, 42, 0.72);
            border: 1px solid rgba(251, 191, 36, 0.55);
            color: #fbbf24;
            font-weight: 700;
            font-size: 0.98rem;
            backdrop-filter: blur(12px);
            box-shadow: 0 0 0 1px rgba(30, 58, 138, 0.35) inset, 0 10px 28px rgba(2, 6, 23, 0.35);
            transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
            width: 100%;
        }

        @media (min-width: 640px) {
            .btn-premium-secondary,
            .btn-gold-outline { width: auto; }
        }

        .btn-premium-secondary:hover,
        .btn-gold-outline:hover {
            background: rgba(251, 191, 36, 0.1);
            border-color: rgba(253, 224, 71, 0.85);
            color: #fde68a;
            transform: translateY(-2px);
        }

        .hero-scroll-hint {
            color: rgba(251, 191, 36, 0.8);
            animation: bounceSoft 1.8s ease-in-out infinite;
            opacity: 0.7;
        }

        @keyframes bounceSoft {
            0%, 100% { transform: translateY(0); opacity: 0.55; }
            50% { transform: translateY(6px); opacity: 0.95; }
        }

        .hero-trust {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 0.75rem 1.25rem;
            margin-top: 2rem;
            color: #64748b;
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 0.14em;
            text-transform: uppercase;
        }

        .hero-trust span {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
        }

        .hero-trust span::before {
            content: '';
            width: 0.3rem;
            height: 0.3rem;
            border-radius: 9999px;
            background: rgba(251, 191, 36, 0.7);
        }
        
        /* ===== Custom Scrollbar ===== */
        ::-webkit-scrollbar { 
            width: 8px; 
        }

        ::-webkit-scrollbar-track { 
            background: #020617; 
        }

        ::-webkit-scrollbar-thumb { 
            background: #1e3a8a; 
            border-radius: 4px; 
        }

        ::-webkit-scrollbar-thumb:hover { 
            background: #fbbf24; 
        }
        
        /* ===== Accordion Styles ===== */
        details > summary { 
            list-style: none; 
            cursor: pointer; 
            user-select: none;
        }

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

        /* ===== Mobile Menu ===== */
        .mobile-menu {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }

        .mobile-menu.active {
            max-height: 500px;
        }

        #canvas-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            z-index: -1;
            overflow: hidden;
        }

        /* ===== Accessibility ===== */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border-width: 0;
        }

        /* ===== Brand Logo (nav wordmark) ===== */
        .brand-logo {
            display: inline-flex;
            align-items: center;
            gap: 0.7rem;
            text-decoration: none;
            transition: opacity 0.2s ease;
            flex-shrink: 0;
        }

        .brand-logo:hover {
            opacity: 0.92;
        }

        .brand-mark {
            width: 2.6rem;
            height: 2.6rem;
            flex-shrink: 0;
            border-radius: 999px;
            overflow: hidden;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
            background: #0B1220;
        }

        .brand-mark img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
        }

        .brand-wordmark {
            display: flex;
            flex-direction: column;
            line-height: 1.05;
        }

        .brand-wordmark .brand-top {
            font-size: 1.05rem;
            font-weight: 800;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: #ffffff;
        }

        .brand-wordmark .brand-bottom {
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            color: #fbbf24;
            margin-top: 0.12rem;
        }

        .brand-logo-img.footer {
            height: 5.5rem;
            width: auto;
            display: block;
            border-radius: 0.75rem;
            border: 1px solid rgba(251, 191, 36, 0.4);
        }

        .nav-link {
            color: #e2e8f0;
            font-size: 0.92rem;
            font-weight: 500;
            letter-spacing: 0.01em;
            transition: color 0.2s ease;
            white-space: nowrap;
        }

        .nav-link:hover,
        .nav-link.active {
            color: #fbbf24;
        }

        .nav-cta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.7rem 1.4rem;
            border-radius: 9999px;
            background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 55%, #fcd34d 100%);
            color: #0f172a;
            font-size: 0.78rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            box-shadow: 0 8px 22px rgba(251, 191, 36, 0.28);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .nav-cta:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 28px rgba(251, 191, 36, 0.4);
        }

        @media (min-width: 768px) {
            .brand-mark {
                width: 2.85rem;
                height: 2.85rem;
            }

            .brand-wordmark .brand-top {
                font-size: 1.15rem;
            }
        }
/* ===== Performance & a11y helpers ===== */
@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;
  }
  .gs-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

img, svg {
  max-width: 100%;
  height: auto;
}

.lazy-map {
  content-visibility: auto;
  contain-intrinsic-size: 240px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: #fbbf24;
  color: #020617;
  font-weight: 700;
  border-radius: 0 0 0.5rem 0;
}
.skip-link:focus {
  left: 0;
}

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

/* ===== Responsive + Interactive layer ===== */
:root {
  --touch-min: 44px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

html {
  scroll-padding-top: 5.5rem;
  -webkit-tap-highlight-color: transparent;
}

body {
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

.hero-title {
  font-size: clamp(2.35rem, 7vw, 4.75rem) !important;
  line-height: 1.05 !important;
}

.hero-sub {
  font-size: clamp(0.95rem, 2.1vw, 1.15rem) !important;
  max-width: 34rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.85rem;
  margin-top: 1.75rem;
  color: #94a3b8;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-trust span {
  position: relative;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(15, 23, 42, 0.45);
}

@media (hover: hover) and (pointer: fine) {
  .interactive-lift:hover,
  .glass-card:hover,
  .feature-card:hover {
    transform: translateY(-6px);
  }
  .magnetic-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
}

@media (hover: none) {
  .glass-card:hover,
  .feature-card:hover,
  .interactive-card:hover {
    transform: none;
    box-shadow: none;
  }
  .glass-card:active,
  .feature-card:active,
  .interactive-card:active {
    transform: scale(0.985);
    border-color: rgba(251, 191, 36, 0.4);
  }
}

button,
.nav-cta,
.btn-premium-primary,
.btn-premium-secondary,
.request-quote {
  min-height: var(--touch-min);
}

#mobileMenuBtn {
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(15, 23, 42, 0.55);
}

/* Desktop: hide hamburger (ID rule overrides Tailwind lg:hidden) */
@media (min-width: 1024px) {
  #mobileMenuBtn {
    display: none !important;
  }

  .mobile-menu {
    display: none !important;
  }
}

#mobileMenuBtn[aria-expanded="true"] {
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.12);
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.mobile-menu.active {
  max-height: min(80vh, 640px);
  opacity: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu a {
  min-height: var(--touch-min);
  display: flex;
  align-items: center;
}

body.menu-open {
  overflow: hidden;
}

.faq-icon {
  display: inline-flex;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-item[open] {
  border-color: rgba(251, 191, 36, 0.35);
  box-shadow: 0 10px 30px -12px rgba(30, 58, 138, 0.45);
}

input, select, textarea, .ct-input {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus, select:focus, textarea:focus, .ct-input:focus {
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}

a[aria-label="Chat with us on WhatsApp"],
.wa-fab {
  bottom: calc(1.25rem + var(--safe-bottom)) !important;
  right: calc(1.25rem + var(--safe-right)) !important;
  width: 3.5rem;
  height: 3.5rem;
  transition: transform 0.25s ease, bottom 0.25s ease, opacity 0.25s ease;
}

.wa-fab-core {
  position: relative;
  z-index: 2;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #34d399, #16a34a 55%, #15803d);
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.45), inset 0 1px 0 rgba(255,255,255,0.25);
}

.wa-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: rgba(37, 211, 102, 0.45);
  animation: waPulse 2s ease-out infinite;
  z-index: 1;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

.wa-fab:hover {
  transform: scale(1.06);
}

body.has-sticky-cta a[aria-label="Chat with us on WhatsApp"],
body.has-sticky-cta .wa-fab {
  bottom: calc(5.25rem + var(--safe-bottom)) !important;
}

body.menu-open a[aria-label="Chat with us on WhatsApp"],
body.menu-open .wa-fab {
  opacity: 0;
  pointer-events: none;
}

.svc-sticky-cta,
.web-sticky-cta,
.cs-sticky-cta,
.app-sticky-cta,
.dm-sticky-cta,
.ai-sticky-cta,
.about-sticky-cta {
  bottom: calc(0.85rem + var(--safe-bottom)) !important;
}

#backToTop {
  position: fixed;
  right: calc(1.25rem + var(--safe-right));
  bottom: calc(5.5rem + var(--safe-bottom));
  z-index: 45;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fbbf24;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#backToTop.show {
  display: inline-flex;
}

#backToTop:hover {
  transform: translateY(-2px);
  background: rgba(251, 191, 36, 0.15);
}

body.has-sticky-cta #backToTop {
  bottom: calc(9.5rem + var(--safe-bottom));
}

#quoteModal.flex {
  animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#quoteModal .relative {
  animation: modalSlideUp 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ripple-host {
  position: relative;
  overflow: hidden;
}

.ripple-ink {
  position: absolute;
  border-radius: 9999px;
  transform: scale(0);
  animation: ripple 0.55s linear;
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.gs-reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

.service-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.service-card-link .card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  color: #fbbf24;
  font-size: 0.875rem;
  font-weight: 600;
  transition: gap 0.2s ease, color 0.2s ease;
}

.service-card-link:hover .card-arrow,
.service-card-link:focus-visible .card-arrow {
  gap: 0.65rem;
  color: #fde68a;
}

.growth-bar {
  transform-origin: bottom;
  transform: scaleY(0.15);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.growth-bar.is-on {
  transform: scaleY(1);
}

@media (max-width: 640px) {
  .glass-card,
  .feature-card {
    padding: 1.25rem !important;
    border-radius: 1rem !important;
  }
  .hero-trust {
    font-size: 0.65rem;
  }
  .btn-premium-primary,
  .btn-premium-secondary {
    width: 100%;
  }
  input, select, textarea, .ct-input {
    font-size: 16px !important; /* prevent iOS zoom on focus */
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .mobile-menu.active {
    max-height: 70vh;
  }
}

@media print {
  header, footer, #backToTop, a[aria-label="Chat with us on WhatsApp"],
  .svc-sticky-cta, .web-sticky-cta, .cs-sticky-cta, .app-sticky-cta,
  .dm-sticky-cta, .ai-sticky-cta, .about-sticky-cta, #canvas-container {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title-metallic,
  .hero-iso-card,
  .hero-stage-flare,
  .hero-scroll-hint,
  .hero-badge-dot,
  .wa-fab-pulse {
    animation: none !important;
  }
  .hero-iso-face {
    transform: none !important;
  }
}

/* ===== HERO FIX ===== */
.hero-premium,
.hero-stage .hero-premium,
.hero-stage .hero-premium.gs-reveal {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.hero-stage {
  min-height: 100svh;
}

.hero-stage-photo {
  opacity: 0.28 !important;
  mix-blend-mode: soft-light !important;
}

.hero-stage-flare {
  opacity: 0.55 !important;
}

.hero-stage-vignette {
  background:
    radial-gradient(ellipse at center, transparent 25%, rgba(2, 6, 23, 0.72) 100%),
    linear-gradient(to bottom, rgba(2,6,23,0.55) 0%, transparent 28%, transparent 62%, rgba(2,6,23,0.88) 100%) !important;
}

.hero-title-metallic {
  display: block;
  font-size: clamp(2.4rem, 7.2vw, 4.6rem) !important;
  line-height: 1.08 !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  background: linear-gradient(180deg, #fffef5 0%, #fef08a 28%, #fbbf24 55%, #f59e0b 78%, #ffffff 100%) !important;
  background-size: 100% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  filter: drop-shadow(0 2px 24px rgba(251, 191, 36, 0.25));
  animation: none !important;
}

.hero-sub {
  max-width: 36rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: #cbd5e1 !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}

.hero-iso-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.65rem !important;
  max-width: 28rem !important;
  margin: 0 auto 1.5rem !important;
}

@media (max-width: 520px) {
  .hero-iso-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 16rem !important;
  }
}

.hero-iso-face {
  width: 3.5rem !important;
  height: 3.5rem !important;
  border-radius: 0.95rem !important;
  transform: none !important;
}

.hero-iso-card {
  animation: none !important;
}

.hero-iso-card:hover .hero-iso-face {
  transform: translateY(-3px) scale(1.04) !important;
}

.hero-iso-svg {
  width: 1.9rem !important;
  height: 1.9rem !important;
}

.hero-iso-card span {
  font-size: 0.58rem !important;
}

.hero-cta-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  max-width: 22rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hero-cta-wrap {
    flex-direction: row !important;
    align-items: center !important;
    max-width: none;
  }
  .btn-premium-primary,
  .btn-metal-gold,
  .btn-premium-secondary,
  .btn-gold-outline {
    width: auto !important;
  }
}

.btn-premium-primary,
.btn-metal-gold,
.btn-premium-secondary,
.btn-gold-outline {
  width: 100%;
}

.hero-scroll-hint {
  color: rgba(251, 191, 36, 0.85);
  opacity: 0.8;
}
