/* ==========================================================================
   PREMIUM SEARCH & HERO COMPONENT STYLES
   (Migrated from index.php inline styles)
   ========================================================================== */

/* FORCE PRO STYLES - Overrides for critical layout elements */
:root {
    --primary: #2563eb !important;
}

.video-hero {
    height: clamp(520px, 70vh, 660px) !important;
    min-height: 520px;
    background: #000 !important;
    position: relative !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 20 !important;
}

.video-bg-wrapper {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    z-index: 1 !important;
    border-radius: 0 0 50px 50px;
    /* Optional: smooth bottom */
}

.video-hero video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: auto !important;
    height: auto !important;
    transform: translate(-50%, -50%) !important;
    object-fit: cover !important;
    z-index: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.video-hero .overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.4) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.search-container {
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    padding-top: 5vh;
}

.video-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    color: #fff;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    letter-spacing: -2px;
    margin-bottom: 1.2rem !important;
    line-height: 1.1;
}

.search-box-compact {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    padding: 0;
    box-shadow: none !important;
    animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Fix for blurry modal - Dynamic blur removal */
body.modal-open .search-box-compact {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(0, 0, 0, 0.7) !important;
}

.search-box-compact {
    padding-top: 80px !important;
    /* Más espacio para bajar el título */
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Bar Premium Styles - The Floating Capsule */
/* Search Bar Premium Styles - The Floating Capsule */
.search-bar-premium {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 100px;
    padding: 8px 10px;
    box-shadow: 0 25px 80px -10px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    max-width: 1000px;
    margin: 0 auto 1.5rem auto;
}

.search-item {
    padding: 5px 30px !important;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.search-item:last-child {
    border-right: none;
}

.search-label {
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #475569;
    /* Dark text for white background */
    margin-bottom: 2px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-label i {
    color: #2563eb;
    font-size: 0.9rem;
}

.search-item .form-control,
.search-item .form-select {
    border: none;
    padding: 0;
    font-weight: 600;
    font-size: 1.05rem;
    color: #0f172a !important;
    /* Force dark text */
    box-shadow: none !important;
    background: transparent;
    height: auto;
}

.search-item .form-control::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.btn-search-col {
    padding-right: 10px !important;
}

.btn-primary-compact {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* Perfect circle */
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5);
    /* Neon glow */
}

.btn-primary-compact:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.7);
}

/* Chips Styles */
.btn-chip {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-radius: 50px !important;
    padding: 8px 20px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: all 0.3s ease !important;
}

.btn-chip:hover {
    background: white !important;
    color: #0f172a !important;
    transform: translateY(-3px);
}

/* Business Card Premium Styles */
.business-card-premium {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.business-card-premium:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
}

.premium-card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.premium-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.business-card-premium:hover .premium-card-img {
    transform: scale(1.1);
}

.featured-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #0f172a;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Smooth reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   CUSTOM CATEGORY MEGA DROPDOWN
   (Glassmorphic & Mobile Optimized)
   ========================================================================== */

.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
    padding: 5px 0;
    white-space: nowrap;
    overflow: hidden;
}

/* Dropdown Base - Fixed Centered Modal (Sharp) */
.custom-select-options {
    position: fixed;
    top: 50% !important;
    left: 50% !important;
    transform: translate3d(-50%, -50%, 0) scale(0.9) !important;
    width: 500px;
    max-width: 90vw;
    max-height: 80vh;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-radius: 28px;
    z-index: 99999 !important;
    padding: 25px;
    display: none;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* FIX: Force hardware acceleration to prevent subpixel blur */
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Open State */
.custom-select-options.open {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto;
    transform: translate3d(-50%, -50%, 0) scale(1) !important;
}

/* Backdrop Overlay */
.dropdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 99990;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.dropdown-overlay.active {
    display: block;
    opacity: 1;
}

.dropdown-search-header {
    padding-bottom: 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-search-header .input-group-text {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-right: none;
    border-radius: 12px 0 0 12px;
    color: #64748b;
}

.dropdown-search-header .form-control {
    border: 1px solid #e2e8f0;
    border-left: none;
    border-radius: 0 12px 12px 0;
    font-size: 1rem;
    box-shadow: none;
    background: #f8fafc;
    color: #000 !important;
    /* Deep black text */
    font-weight: 600;
}

.dropdown-search-header .form-control::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.dropdown-search-header .form-control:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.custom-scroll-container {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 5px;
}

.custom-scroll-container::-webkit-scrollbar {
    width: 5px;
}

.custom-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.custom-option {
    padding: 10px 12px;
    border-radius: 12px;
    color: #475569;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.cat-icon {
    width: 20px;
    text-align: center;
    color: #94a3b8;
    transition: color 0.2s;
}

.custom-option:hover {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    transform: translateX(3px);
}

.custom-option:hover .cat-icon {
    color: #2563eb;
}

.custom-option.selected {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.custom-option.selected .cat-icon {
    color: rgba(255, 255, 255, 0.8);
}

.cat-count {
    font-size: 0.75rem;
    background: rgba(148, 163, 184, 0.1);
    color: #94a3b8;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.2s;
}

.custom-option:hover .cat-count {
    background: rgba(37, 99, 235, 0.15);
    color: #2563eb;
}

.custom-option.selected .cat-count {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .video-hero {
        height: auto !important;
        min-height: 500px !important;
        padding-top: 85px !important;
        padding-bottom: 40px !important;
    }

    .video-hero h1 {
        font-size: 1.8rem !important;
        margin-top: 10px !important;
        margin-bottom: 1.2rem !important;
    }

    .search-box-compact {
        padding: 1.5rem !important;
        border-radius: 24px !important;
        background: rgba(0, 0, 0, 0.75) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
    }

    .search-box-compact h1 {
        font-size: 1.4rem !important;
        margin-bottom: 1rem !important;
    }

    .search-bar-premium {
        background: rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 16px !important;
        padding: 5px !important;
    }

    .search-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 12px 15px !important;
        background: transparent !important;
    }

    .search-item:last-of-type {
        border-bottom: none !important;
    }

    .search-label {
        margin-bottom: 6px !important;
        font-size: 0.7rem !important;
        color: rgba(255, 255, 255, 0.7) !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .search-label i {
        color: #60a5fa !important;
    }

    .search-item .form-control,
    .search-item input[type="text"] {
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        color: #ffffff !important;
        border-radius: 10px !important;
        padding: 10px 15px !important;
    }

    .search-item .form-control::placeholder {
        color: rgba(255, 255, 255, 0.5) !important;
    }

    .search-item .form-control:focus {
        background: rgba(255, 255, 255, 0.15) !important;
        border-color: rgba(96, 165, 250, 0.5) !important;
        box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15) !important;
        color: #ffffff !important;
    }

    /* Custom select trigger styling */
    .custom-select-trigger {
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        color: #ffffff !important;
        border-radius: 10px !important;
        padding: 10px 15px !important;
    }

    .custom-select-trigger span {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .custom-select-trigger i {
        color: rgba(255, 255, 255, 0.5) !important;
    }

    .btn-search-col {
        padding: 12px !important;
        border-bottom: none !important;
    }

    .btn-primary-compact {
        width: 100%;
        height: 50px;
        border-radius: 12px !important;
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4) !important;
    }

    .popular-categories-compact {
        margin-top: 1.25rem !important;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .btn-chip {
        padding: 8px 14px !important;
        font-size: 0.75rem !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .btn-chip:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
    }

    .btn-chip i {
        color: #60a5fa !important;
    }

    /* Estilos móviles para el selector de tipo integrado */
    /* Estilos móviles para el selector de tipo moderno */
    .type-filter-container-modern {
        justify-content: center;
        padding-left: 0;
        margin-bottom: 1rem;
    }

    .type-filter-pill-modern {
        background: rgba(0, 0, 0, 0.2);
        padding: 3px;
    }

    .btn-type-modern {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }
}

@media (max-width: 991.98px) {
    .custom-select-options {
        width: 95vw;
        max-height: 85vh;
        padding: 20px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .results-section {
        margin-top: 30px !important;
        border-radius: 30px 30px 0 0 !important;
    }

    .video-hero {
        min-height: auto !important;
        padding-bottom: 40px;
    }

    .desktop-video {
        display: none;
    }

    .mobile-video {
        display: block;
    }
}

/* Modern Floating Type Filter */
.type-filter-container-modern {
    display: flex;
    justify-content: center;
    /* Centrado */
    max-width: 1000px;
    margin: 0 auto 1.25rem auto;
}

.type-filter-pill-modern {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 5px;
    border-radius: 50px;
    display: flex;
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-type-modern {
    padding: 8px 18px !important;
    border-radius: 40px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer;
    border: none !important;
    margin-bottom: 0 !important;
}

.btn-check:checked+.btn-type-modern {
    background: white !important;
    color: #2563eb !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
}

.btn-type-modern:hover:not(.btn-check:checked + .btn-type-modern) {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.btn-type-modern i {
    font-size: 0.9rem;
}

.desktop-video {
    display: block;
}

.mobile-video {
    display: none;
}

/* ==========================================================================
   SKELETON LOADER ANIMATIONS
   ========================================================================== */
.skeleton {
    background: #f0f0f0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-card {
    border: 1px solid #eee;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
}

.skeleton-img {
    width: 100%;
    height: 180px;
    background-color: #e0e0e0;
}

.skeleton-content {
    padding: 1.5rem;
}

.skeleton-title {
    height: 24px;
    width: 70%;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.skeleton-text {
    height: 16px;
    width: 90%;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.skeleton-text-sm {
    height: 14px;
    width: 60%;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.skeleton-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.skeleton-btn {
    height: 36px;
    width: 100px;
    border-radius: 20px;
}

/* ==========================================================================
   COMPACT PREMIUM CARD STYLES (User Request: 10% Smaller)
   ========================================================================== */
.business-card-premium {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.business-card-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.premium-card-img-wrapper {
    position: relative;
    height: 180px;
    /* Increased Height for better ratio */
    overflow: hidden;
}

.premium-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.business-card-premium:hover .premium-card-img {
    transform: scale(1.05);
}

.business-card-premium .p-3 {
    padding: 1rem !important;
}

.business-card-premium h5 {
    font-size: 1rem;
    /* Compact Title */
    margin-bottom: 0.25rem !important;
}

.business-card-premium p.small {
    font-size: 0.8rem !important;
}

/* Featured Tag Compact */
.featured-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #f59e0b;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* ==========================================================================
   PREMIUM FLOATING ACTION BAR (DESKTOP)
   ========================================================================== */
.premium-action-bar-desktop {
    position: fixed;
    bottom: 35px;
    right: 35px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.action-bar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white !important;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background-size: 200% auto;
    animation: floating-action 3s ease-in-out infinite;
}

.action-bar-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.action-bar-btn i {
    z-index: 2;
}

/* WhatsApp Button */
.btn-wa-premium {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    animation-delay: 0s;
}

.btn-wa-premium::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.4;
    animation: btn-pulse 2s infinite;
    z-index: 0;
}

/* Call Button */
.btn-call-premium {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
    animation-delay: 0.5s;
}

/* Maps Button */
.btn-maps-premium {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
    animation-delay: 1s;
}

@keyframes floating-action {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes btn-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 992px) {
    .premium-action-bar-desktop {
        display: none !important;
    }
}

.whatsapp-floating-premium {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.4s ease;
    text-decoration: none;
}

.whatsapp-floating-premium:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

/* Pulse Effect Animation */
.whatsapp-floating-premium::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25D366;
    border-radius: 50%;
    opacity: 0.7;
    animation: pulse-whatsapp 2s infinite;
    z-index: -1;
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .whatsapp-floating-premium {
        width: 55px;
        height: 55px;
        font-size: 26px;
        bottom: 100px;
        right: 20px;
    }
}

/* COMPACT RELATED CARDS */
.related-card-compact {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-card-compact:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: #2563eb44;
}

.related-card-img {
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.related-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    display: flex;
    align-items: flex-end;
    padding: 12px;
}

.related-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.related-card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.related-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-related-view {
    font-size: 0.75rem;
    font-weight: 800;
    color: #2563eb;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    background: #2563eb08;
    border-radius: 10px;
    transition: all 0.2s;
    border: 1px solid #2563eb15;
}

.btn-related-view:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.related-wa-icon {
    width: 32px;
    height: 32px;
    background: #25D366;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
}

.btn-maps-premium {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
    animation-delay: 1s;
}

@keyframes floating-action {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes btn-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 992px) {
    .premium-action-bar-desktop {
        display: none !important;
    }
}

.whatsapp-floating-premium {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.4s ease;
    text-decoration: none;
}

.whatsapp-floating-premium:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

/* Pulse Effect Animation */
.whatsapp-floating-premium::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25D366;
    border-radius: 50%;
    opacity: 0.7;
    animation: pulse-whatsapp 2s infinite;
    z-index: -1;
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .whatsapp-floating-premium {
        width: 55px;
        height: 55px;
        font-size: 26px;
        bottom: 100px;
        right: 20px;
    }
}

/* COMPACT RELATED CARDS */
.related-card-compact {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-card-compact:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: #2563eb44;
}

.related-card-img {
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.related-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    display: flex;
    align-items: flex-end;
    padding: 12px;
}

.related-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.related-card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.related-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-related-view {
    font-size: 0.75rem;
    font-weight: 800;
    color: #2563eb;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    background: #2563eb08;
    border-radius: 10px;
    transition: all 0.2s;
    border: 1px solid #2563eb15;
}

.btn-related-view:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.related-wa-icon {
    width: 32px;
    height: 32px;
    background: #25D366;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
}

.related-wa-icon:hover {
    transform: scale(1.15) rotate(10deg);
}

/* ==========================================================================
   PRICING TABLE STYLES (ULTRA PREMIUM PRO)
   ========================================================================== */

.plans-section {
    padding: 100px 0 !important;
    background: radial-gradient(circle at top, #f8fafc 0%, #ffffff 100%) !important;
    position: relative;
    overflow: hidden;
}

/* Background Decorations */
.plans-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 3rem 2.2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.15);
}

.pricing-card.featured {
    background: #0f172a;
    color: white;
    border: none;
    transform: scale(1.08);
    /* Stands out in desktop */
    box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.3),
        0 0 20px rgba(37, 99, 235, 0.1);
    z-index: 5;
}

.pricing-card.featured:hover {
    transform: translateY(-20px) scale(1.1);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(37, 99, 235, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    pointer-events: none;
}

.best-value-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    pointer-events: none;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #475569;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}

.featured .plan-name {
    color: #94a3b8;
}

.plan-price {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
}

.currency {
    font-size: 1.8rem;
    font-weight: 700;
    color: #64748b;
}

.amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -2px;
    line-height: 1;
}

.featured .amount {
    color: #fff;
}

.period {
    font-size: 1.1rem;
    font-weight: 600;
    color: #94a3b8;
}

.plan-total {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.featured .plan-total {
    color: #64748b !important;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
    flex-grow: 1;
}

.plan-features li {
    padding: 12px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
    color: #334155;
    transition: all 0.3s ease;
}

.featured .plan-features li {
    color: #cbd5e1;
}

.plan-features li i {
    width: 24px;
    height: 24px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.featured .plan-features li i {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.pricing-footer .btn {
    border-radius: 20px;
    padding: 1.1rem;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
}

.pricing-footer .btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
}

.pricing-footer .btn-outline-primary {
    border: 2px solid #e2e8f0;
    color: #0f172a;
}

.pricing-footer .btn-outline-primary:hover {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
    transform: scale(1.05);
}

.featured .pricing-footer .btn-primary {
    background: white;
    color: #0f172a;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.featured .pricing-footer .btn-primary:hover {
    background: #f8fafc;
    transform: scale(1.05);
}

/* Animations for Pricing */
.pricing-card {
    opacity: 0;
    transform: translateY(40px);
}

.reveal.active .pricing-card {
    opacity: 1;
    transform: translateY(0);
}

.reveal.active .pricing-card:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal.active .pricing-card:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal.active .pricing-card:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal.active .pricing-card:nth-child(4) {
    transition-delay: 0.4s;
}

@media (max-width: 1200px) {
    .pricing-card.featured {
        transform: scale(1);
        /* Reset scale on smaller desktops */
        margin: 1.5rem 0;
    }
}

@media (max-width: 991.98px) {
    .plans-section {
        padding: 60px 0 !important;
    }

    .pricing-card {
        padding: 2.5rem 1.8rem;
        border-radius: 30px;
        transform: none !important;
    }

    .pricing-card:hover {
        transform: translateY(-10px) !important;
    }
}