/* Glass nav + premium polish — complements Tailwind */

.glass-nav {
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(30, 41, 59, 0.82) 0%,
        rgba(15, 23, 42, 0.78) 50%,
        rgba(30, 27, 46, 0.75) 100%
    );
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 4px 24px -4px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(249, 115, 22, 0.08) inset,
        0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.glass-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(251, 191, 36, 0.35),
        rgba(249, 115, 22, 0.15) 40%,
        rgba(255, 255, 255, 0.08) 70%,
        rgba(249, 115, 22, 0.12)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.site-header-accent {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.35);
}

/* Desktop nav links */
.nav-link-effect {
    position: relative;
}

.nav-link-effect::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #fb923c, #f97316);
    transform: translateX(-50%);
    transition: width 0.28s ease;
}

.nav-link-effect:hover::after,
.nav-link-effect.is-active::after {
    width: calc(100% - 0.5rem);
}

.nav-link-effect.is-active::after {
    width: calc(100% - 0.5rem);
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.5);
}

/* Content cards — solid white for contrast on dark page background */
.glass-card {
    background: #ffffff;
    border: 1px solid rgb(226 232 240);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.06);
}

.hero-gradient-overlay {
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.3) 0%,
        rgba(15, 23, 42, 0.75) 55%,
        rgb(15, 23, 42) 100%
    );
}

.text-gradient-brand {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 50%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-shine:hover::after {
    transform: translateX(100%);
}

.package-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.package-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(249, 115, 22, 0.25);
    border-color: rgba(249, 115, 22, 0.4);
}

/* Featured cards — one-line highlight chips */
.featured-highlights-row .flex > span.rounded-full {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.featured-package-card:hover .featured-highlights-row .flex > span.rounded-full {
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: 0 2px 12px -2px rgba(249, 115, 22, 0.2);
}

/* Home — featured package cards */
.featured-package-card.package-card:hover {
    box-shadow: 0 28px 50px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(249, 115, 22, 0.35);
}

.featured-package-img {
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-package-card:hover .featured-package-img {
    transform: scale(1.06);
}

.featured-price-dock .rounded-2xl {
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.featured-package-card:hover .featured-price-dock .rounded-2xl {
    border-color: rgba(249, 115, 22, 0.25);
    box-shadow: 0 12px 36px -8px rgba(249, 115, 22, 0.15), 0 8px 24px -6px rgba(15, 23, 42, 0.12);
}

#site-header.scrolled .glass-nav {
    background: linear-gradient(
        165deg,
        rgba(22, 28, 45, 0.94) 0%,
        rgba(15, 23, 42, 0.92) 100%
    );
    box-shadow:
        0 12px 40px -8px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(249, 115, 22, 0.12) inset;
}

.logo-mark-glow {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12) inset,
        0 4px 20px -4px rgba(249, 115, 22, 0.45);
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bottom CTA banner */
.cta-banner-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
}

.cta-banner-shell {
    animation: cta-banner-glow 8s ease-in-out infinite;
}

@keyframes cta-banner-glow {
    0%, 100% {
        box-shadow:
            0 25px 80px -20px rgba(249, 115, 22, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    }
    50% {
        box-shadow:
            0 28px 90px -18px rgba(251, 191, 36, 0.35),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    }
}

.cta-banner-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.25);
}

.cta-banner-btn-primary {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* Home hero + CTA — lead form fills 35% grid column */
.cta-banner-form-wrap {
    width: 100%;
    max-width: 100%;
}

.cta-banner-form-card {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 20px 50px -12px rgba(0, 0, 0, 0.5);
}

.whatsapp-float {
    animation: pulse-wa 2.5s ease-in-out infinite;
}

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45); }
    50% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}

.call-float {
    animation: pulse-call 2.5s ease-in-out infinite;
}

@keyframes pulse-call {
    0%, 100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.5); }
    50% { box-shadow: 0 0 0 12px rgba(2, 132, 199, 0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .featured-highlights-row .flex > span.rounded-full {
        transition: none;
    }
    .cta-banner-shell {
        animation: none;
    }
    .package-card,
    .testimonial-track,
    .whatsapp-float,
    .call-float {
        animation: none;
        transition: none;
    }
    .package-card:hover {
        transform: none;
    }
    .featured-package-img,
    .featured-price-dock .rounded-2xl {
        transition: none;
    }
    .featured-package-card:hover .featured-package-img {
        transform: none;
    }
}

/* Featured package image title — lift above overlapping price dock (Tailwind md:bottom-4 is 1rem) */
@media (min-width: 768px) {
    .md\:bottom-4 {
        bottom: 3rem !important;
    }
}
