/* ===========================================
   SERVICIOS - Estilos especificos
   =========================================== */

/* ===========================================
   SECCION DESTACADOS
   =========================================== */

.services-featured-section {
    margin-bottom: 1.5rem;
}

.services-featured-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.services-featured-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fbbf24;
}

.services-featured-title span {
    font-size: 1.1rem;
}

.services-featured-dots {
    display: flex;
    gap: 0.5rem;
}

.featured-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-dot.active {
    background: #fbbf24;
    width: 24px;
    border-radius: 4px;
}

.services-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* Card destacada en hero */
.service-featured-card {
    background: linear-gradient(145deg, rgba(50, 45, 35, 0.95), rgba(35, 30, 25, 0.98));
    border: 2px solid rgba(251, 191, 36, 0.4);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
    z-index: 2;
}

.service-featured-card:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 191, 36, 0.7);
    box-shadow: 0 12px 35px rgba(251, 191, 36, 0.25);
}

.service-featured-image {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.service-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-featured-card:hover .service-featured-image img {
    transform: scale(1.08);
}

.service-featured-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    pointer-events: none;
}

.service-featured-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.5);
}

.service-featured-category {
    position: absolute !important;
    top: 0.6rem !important;
    left: 0.6rem !important;
    right: auto !important;
    bottom: auto !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 4px !important;
    font-size: 0.55rem !important;
    font-weight: 600 !important;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    backdrop-filter: blur(4px);
    border: none !important;
    text-transform: capitalize;
    letter-spacing: 0.2px;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    line-height: 1.2 !important;
    z-index: 3;
    box-sizing: border-box !important;
    flex: none !important;
}

.service-featured-info {
    padding: 1rem;
}

.service-featured-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fef3c7;
    margin-bottom: 0.3rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-featured-desc {
    font-size: 0.8rem;
    color: #d4d4d4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-featured-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.service-featured-meta span {
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.service-featured-price {
    color: #4ade80;
    font-weight: 700;
    background: rgba(34, 197, 94, 0.15);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.service-featured-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-featured-whatsapp {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    transition: all 0.2s ease;
}

.btn-featured-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-featured-whatsapp svg {
    width: 14px;
    height: 14px;
}

.btn-featured-view {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-featured-view:hover {
    background: rgba(251, 191, 36, 0.25);
    border-color: rgba(251, 191, 36, 0.5);
}


/* Chips de categorias */
.service-category-chips {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 0 1rem 0;
    overflow: visible;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.service-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    background: rgba(168, 85, 247, 0.1);
    color: #c4b5fd;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.service-category-chip:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
    color: #e9d5ff;
}

.service-category-chip.active {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.service-category-chip .chip-icon {
    font-size: 1rem;
}

/* Dropdown de categorias */
.service-category-dropdown {
    position: relative;
    display: inline-flex;
}

.service-category-chip.dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 25px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    background: rgba(168, 85, 247, 0.1);
    color: #c4b5fd;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.service-category-chip.dropdown-trigger:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
    color: #e9d5ff;
}

.service-category-chip.dropdown-trigger.active {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.service-category-chip .dropdown-arrow {
    font-size: 0.55rem;
    margin-left: 0.15rem;
    transition: transform 0.2s ease;
    opacity: 0.8;
}

.service-category-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.service-category-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    background: rgba(25, 20, 35, 0.98);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    padding: 0.5rem;
    display: none;
    z-index: 100;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.service-category-dropdown.open .service-category-dropdown-menu {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-category-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #c4b5fd;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
}

.dropdown-category-item:hover {
    background: rgba(168, 85, 247, 0.2);
    color: #e9d5ff;
}

.dropdown-category-item.active {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
}

.dropdown-category-item .chip-icon {
    font-size: 1rem;
}

/* Scrollbar del dropdown */
.service-category-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.service-category-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(168, 85, 247, 0.1);
    border-radius: 3px;
}

.service-category-dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.4);
    border-radius: 3px;
}

.service-category-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.6);
}

/* Barra de filtros */
.service-filter-bar {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    flex-wrap: wrap;
    align-items: center;
}

.filter-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.filter-input-wrapper .filter-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a855f7;
    font-size: 0.9rem;
}

.filter-input {
    width: 100%;
    padding: 0.6rem 0.75rem 0.6rem 2.25rem;
    border-radius: 8px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    background: rgba(30, 30, 40, 0.8);
    color: #f1f5f9;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.filter-input:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2);
}

.filter-input::placeholder {
    color: #64748b;
}

.service-filter-bar .form-control {
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    background: rgba(30, 30, 40, 0.8);
    color: #f1f5f9;
    font-size: 0.9rem;
    min-width: 140px;
}

.service-filter-bar .form-control:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2);
}

/* Barra de resultados */
.service-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0 1rem 0;
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
    margin-bottom: 1rem;
}

.service-results-count {
    color: #94a3b8;
    font-size: 0.85rem;
}

.service-results-count strong {
    color: #e9d5ff;
}

/* Grid de servicios */
.service-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

/* Cards de servicios */
.service-card {
    background: linear-gradient(145deg, rgba(30, 30, 45, 0.9), rgba(20, 20, 35, 0.95));
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.25);
}

/* Card destacada */
.service-card.featured {
    border: 2px solid rgba(251, 191, 36, 0.5);
    background: linear-gradient(145deg, rgba(45, 40, 30, 0.95), rgba(30, 25, 20, 0.98));
    position: relative;
}

.service-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
    z-index: 2;
}

.service-card.featured:hover {
    border-color: rgba(251, 191, 36, 0.8);
    box-shadow: 0 12px 35px rgba(251, 191, 36, 0.3);
}

.service-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    pointer-events: none;
}

.service-badge {
    position: absolute !important;
    top: 0.6rem !important;
    left: 0.6rem !important;
    right: auto !important;
    bottom: auto !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 4px !important;
    font-size: 0.6rem !important;
    font-weight: 600 !important;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    backdrop-filter: blur(4px);
    border: none !important;
    text-transform: capitalize;
    letter-spacing: 0.2px;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    line-height: 1.2 !important;
    z-index: 3;
    box-sizing: border-box !important;
    flex: none !important;
    align-self: auto !important;
}

.service-featured-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
    display: flex;
    align-items: center;
    gap: 0.2rem;
}


.service-info {
    padding: 1.25rem;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.service-title a {
    color: #f1f5f9;
    text-decoration: none;
    transition: color 0.2s ease;
}

.service-title a:hover {
    color: #c4b5fd;
}

.service-card.featured .service-title a {
    color: #fef3c7;
}

.service-card.featured .service-title a:hover {
    color: #fbbf24;
}

.service-description {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    align-items: center;
}

.service-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #94a3b8;
    font-size: 0.8rem;
}

.service-meta .price {
    color: #4ade80;
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(34, 197, 94, 0.1);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
}

.service-contact {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(168, 85, 247, 0.15);
}

.service-contact-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.service-contact-btn.whatsapp {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(37, 211, 102, 0.1));
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #25d366;
}

.service-contact-btn.whatsapp:hover {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.service-contact-btn.phone {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #c4b5fd;
}

.service-contact-btn.phone:hover {
    background: rgba(168, 85, 247, 0.25);
    border-color: rgba(168, 85, 247, 0.5);
}

.service-contact-btn.web {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.service-contact-btn.web:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
}

/* Loading state */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

/* Estado vacio */
.service-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1.5rem;
    color: #94a3b8;
}

.service-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.service-empty-text {
    font-size: 1rem;
    color: #64748b;
}

/* Paginacion */
.pagination-container {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
}

/* ===========================================
   FREEMIUM MODEL - TIPOS DE CARDS
   =========================================== */

/* SOCIO + DESTACADO: Card dorada completa */
.service-card.partner.partner-featured {
    border: 2px solid rgba(251, 191, 36, 0.6);
    background: linear-gradient(145deg, rgba(60, 50, 30, 0.95), rgba(40, 35, 20, 0.98));
    position: relative;
}

.service-card.partner.partner-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #eab308, #fbbf24);
    z-index: 2;
}

.service-card.partner.partner-featured:hover {
    border-color: rgba(251, 191, 36, 0.9);
    box-shadow: 0 12px 40px rgba(251, 191, 36, 0.35);
}

.service-card.partner.partner-featured .service-title a {
    color: #fef3c7;
}

.service-card.partner.partner-featured .service-title a:hover {
    color: #fbbf24;
}

.service-featured-badge.partner-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    box-shadow: 0 2px 12px rgba(251, 191, 36, 0.5);
}

/* SOLO SOCIO: Algunos detalles dorados */
.service-card.partner-only {
    border: 1px solid rgba(251, 191, 36, 0.35);
    background: linear-gradient(145deg, rgba(45, 40, 30, 0.9), rgba(30, 28, 22, 0.95));
    position: relative;
}

.service-card.partner-only::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.6), transparent);
    z-index: 2;
}

.service-card.partner-only:hover {
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.2);
}

.service-card.partner-only .service-title a {
    color: #fef3c7;
}

.service-card.partner-only .service-title a:hover {
    color: #fbbf24;
}

.service-featured-badge.partner-only-badge {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.8), rgba(245, 158, 11, 0.8));
    color: #1f2937;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

/* SOLO DESTACADO: Sin dorado, estilo normal destacado */
.service-card.featured-only {
    border: 1px solid rgba(168, 85, 247, 0.3);
    background: linear-gradient(145deg, rgba(35, 30, 50, 0.95), rgba(25, 22, 40, 0.98));
}

.service-card.featured-only:hover {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
}

.service-card.featured-only .service-featured-badge {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.4);
}

/* COMUN: Sin botones, info resumida */
.service-card:not(.partner):not(.partner-featured):not(.partner-only):not(.featured-only) {
    cursor: default;
    opacity: 0.85;
}

.service-card:not(.partner):not(.partner-featured):not(.partner-only):not(.featured-only):hover {
    transform: none;
    box-shadow: none;
}

/* ===========================================
   FEATURED CARDS EN HERO - VARIANTES
   =========================================== */

/* SOCIO + DESTACADO en hero: Full golden */
.service-featured-card.partner-card.partner-featured {
    border: 2px solid rgba(251, 191, 36, 0.6);
    background: linear-gradient(145deg, rgba(60, 50, 30, 0.98), rgba(45, 40, 25, 0.99));
}

.service-featured-card.partner-card.partner-featured::before {
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #eab308, #fbbf24);
}

.service-featured-card.partner-card.partner-featured:hover {
    border-color: rgba(251, 191, 36, 0.9);
    box-shadow: 0 15px 45px rgba(251, 191, 36, 0.4);
}

/* SOLO SOCIO en hero: Algunos detalles dorados */
.service-featured-card.partner-only-card {
    border: 1px solid rgba(251, 191, 36, 0.4);
    background: linear-gradient(145deg, rgba(50, 45, 30, 0.95), rgba(38, 35, 25, 0.98));
}

.service-featured-card.partner-only-card::before {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.7), transparent);
}

.service-featured-card.partner-only-card:hover {
    border-color: rgba(251, 191, 36, 0.7);
    box-shadow: 0 12px 35px rgba(251, 191, 36, 0.25);
}

/* SOLO DESTACADO en hero: Sin dorado */
.service-featured-card.featured-only-card {
    border: 1px solid rgba(168, 85, 247, 0.4);
    background: linear-gradient(145deg, rgba(40, 35, 55, 0.95), rgba(30, 28, 45, 0.98));
}

.service-featured-card.featured-only-card::before {
    background: linear-gradient(90deg, #a855f7, #7c3aed, #a855f7);
}

.service-featured-card.featured-only-card:hover {
    border-color: rgba(168, 85, 247, 0.7);
    box-shadow: 0 12px 35px rgba(168, 85, 247, 0.3);
}

.service-featured-card.featured-only-card .service-featured-name {
    color: #e9d5ff;
}

.service-featured-card.featured-only-card .service-featured-badge {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
}

/* Boton Web para cards destacadas */
.btn-featured-web {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    transition: all 0.2s ease;
}

.btn-featured-web:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* Boton contactar para featured-only */
.btn-featured-contact {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #c4b5fd;
    transition: all 0.2s ease;
}

.btn-featured-contact:hover {
    background: rgba(168, 85, 247, 0.25);
    border-color: rgba(168, 85, 247, 0.5);
}

/* ===========================================
   MODAL DE SERVICIO (Solo para Partners)
   =========================================== */

.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: modalFadeIn 0.3s ease;
}

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

.service-modal-content {
    background: linear-gradient(145deg, #1e1b2e, #161422);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Modal Partner+Destacado: Estilo dorado completo */
.service-modal.partner-modal .service-modal-content {
    border: 2px solid rgba(251, 191, 36, 0.6);
    background: linear-gradient(145deg, rgba(60, 50, 30, 0.98), rgba(40, 35, 20, 0.99));
    box-shadow: 0 25px 60px rgba(251, 191, 36, 0.3);
}

.service-modal.partner-modal .service-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #eab308, #fbbf24);
    border-radius: 20px 20px 0 0;
}

/* Modal Solo Socio: Algunos detalles dorados */
.service-modal.partner-only-modal .service-modal-content {
    border: 1px solid rgba(251, 191, 36, 0.4);
    background: linear-gradient(145deg, rgba(50, 45, 30, 0.98), rgba(38, 35, 25, 0.99));
    box-shadow: 0 25px 60px rgba(251, 191, 36, 0.15);
}

.service-modal.partner-only-modal .service-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.7), transparent);
    border-radius: 20px 20px 0 0;
}

.service-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
}

.service-modal-close:hover {
    background: rgba(239, 68, 68, 0.8);
    border-color: #ef4444;
}

.service-modal-header {
    position: relative;
}

.service-modal-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.service-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-modal-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(30, 27, 46, 1), transparent);
}

.modal-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 5;
}

.modal-badge.partner-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.5);
}

.modal-badge.partner-only-badge {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.2));
    border: 1px solid rgba(251, 191, 36, 0.5);
    color: #fbbf24;
}

.service-modal-body {
    padding: 1.5rem;
}

.service-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
}

.service-modal.partner-modal .service-modal-title {
    color: #fef3c7;
}

.service-modal-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #c4b5fd;
    margin-bottom: 1rem;
}

.service-modal.partner-modal .service-modal-category {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

.service-modal-description {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-modal-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.service-modal-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.service-modal-detail .detail-icon {
    font-size: 1.1rem;
}

.service-modal-actions {
    display: flex;
    gap: 0.75rem;
}

.modal-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.modal-btn-web {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
}

.modal-btn-web:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.modal-btn-whatsapp {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(37, 211, 102, 0.1));
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #25d366;
}

.modal-btn-whatsapp:hover {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Responsive modal */
@media (max-width: 540px) {
    .service-modal {
        align-items: flex-end;
        padding: 0;
    }

    .service-modal-content {
        max-width: 100%;
        max-height: 85vh;
        margin: 0;
        border-radius: 20px 20px 0 0;
        animation: modalSlideUp 0.3s ease;
    }

    @keyframes modalSlideUp {
        from { transform: translateY(100%); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }

    .service-modal-image {
        height: 160px;
    }

    .service-modal-title {
        font-size: 1.3rem;
    }

    .service-modal-actions {
        flex-direction: column;
    }

    .service-modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 36px;
        height: 36px;
    }
}

