/* Highlight Cards with Background Images */
.highlight-card {
    position: relative;
    padding: var(--space-8);
    background-color: var(--color-charcoal);
    border: 1px solid var(--color-charcoal-light);
    text-align: center;
    transition: all var(--transition-base);
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Background image overlay for highlight cards */
.highlight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    transition: opacity var(--transition-base);
    z-index: 0;
}

/* Darken overlay on top of background */
.highlight-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.3) 0%, rgba(5, 5, 5, 0.9) 100%);
    z-index: 1;
}

/* Specific background images for each service type */
.highlight-card:nth-child(1)::before {
    background-image: url('/assets/images/service-classic-cut.jpg');
}

.highlight-card:nth-child(2)::before {
    background-image: url('/assets/images/service-traditional-shave.jpg');
}

.highlight-card:nth-child(3)::before {
    background-image: url('/assets/images/service-facial-treatment.jpg');
}

.highlight-card:hover::before {
    transform: scale(1.1);
    opacity: 0.4;
}

.highlight-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

/* Ensure content is above background */
.highlight-card>* {
    position: relative;
    z-index: 2;
}

.highlight-card__icon {
    width: 48px;
    height: 48px;
    color: var(--color-gold);
    margin: 0 auto var(--space-4);
}

.highlight-card__title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--color-white-off);
    margin-bottom: var(--space-2);
}

.highlight-card__description {
    font-size: var(--text-sm);
    color: var(--color-gray-light);
    margin-bottom: var(--space-4);
}

/* =========================================
   STANDARD SERVICE CARD STYLES (NEW)
   ========================================= */

.service-card {
    background-color: var(--color-charcoal);
    border: 1px solid var(--color-charcoal-light);
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all var(--transition-base);
    height: 100%;
}

.service-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Circular Image Wrapper */
.service-card__image-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: var(--space-4);
    border: 3px solid var(--color-charcoal-light);
    background-color: var(--color-black-matte);
    flex-shrink: 0;
    transition: border-color 0.3s ease;
}

.service-card:hover .service-card__image-wrapper {
    border-color: var(--color-gold);
}

.service-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
}

.service-card__category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gold);
    margin-bottom: var(--space-2);
}

.service-card__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--color-white-off);
    margin-bottom: var(--space-3);
    line-height: 1.3;
}

.service-card__desc {
    font-size: var(--text-sm);
    color: var(--color-gray);
    margin-bottom: var(--space-3);
    line-height: 1.45;
}

.service-card__includes {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: var(--space-4);
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    flex-grow: 1;
}

.service-card__includes-title {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--color-gold, #D4AF37);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-card__includes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-card__includes-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--color-gray-light, #E0E0E0);
    line-height: 1.35;
}

.service-card__includes-icon {
    color: var(--color-gold, #D4AF37);
    font-size: 0.75rem;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 1px;
}

.service-card__footer {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
}

.service-card__price {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-white-off);
    font-weight: 600;
}

.service-card__duration {
    font-size: 0.9rem;
    color: var(--color-gray);
    display: flex;
    align-items: center;
}

.service-card__btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .highlight-card {
        min-height: 250px;
        justify-content: flex-end;
    }

    .highlight-card__title {
        font-size: var(--text-lg);
    }

    .highlight-card__description {
        display: block;
        font-size: var(--text-xs);
    }
}

/* ============================================================
   ASYMMETRIC DESTACADOS GRID (Home Page Desktop)
   ============================================================ */
@media (min-width: 1024px) {
    .highlights-grid {
        grid-template-columns: 1.4fr 1fr;
        grid-template-rows: auto auto;
        gap: var(--space-8);
        align-items: stretch;
    }

    .highlights-grid .service-card:nth-child(1) {
        grid-row: span 2;
        padding: var(--space-8);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        text-align: left;
        align-items: flex-start;
    }

    .highlights-grid .service-card:nth-child(1) .service-card__image-wrapper {
        width: 100%;
        height: 260px;
        border-radius: var(--border-radius-md);
        margin-bottom: var(--space-6);
    }

    .highlights-grid .service-card:nth-child(1) .service-card__footer {
        justify-content: flex-start;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: var(--space-4);
    }

    .highlights-grid .service-card:nth-child(2),
    .highlights-grid .service-card:nth-child(3) {
        display: grid;
        grid-template-columns: 120px 1fr;
        gap: var(--space-6);
        text-align: left;
        align-items: center;
        padding: var(--space-6);
    }

    .highlights-grid .service-card:nth-child(2) .service-card__image-wrapper,
    .highlights-grid .service-card:nth-child(3) .service-card__image-wrapper {
        margin-bottom: 0;
        border-radius: var(--border-radius-md);
        width: 120px;
        height: 120px;
    }

    .highlights-grid .service-card:nth-child(2) .service-card__footer,
    .highlights-grid .service-card:nth-child(3) .service-card__footer {
        justify-content: flex-start;
        border-top: none;
        padding-top: 0;
        margin-bottom: var(--space-3);
    }

    .highlights-grid .service-card:nth-child(2) .service-card__btn,
    .highlights-grid .service-card:nth-child(3) .service-card__btn {
        width: auto;
        padding-inline: var(--space-4);
        margin-top: var(--space-2);
    }
}

/* ============================================================
   SERVICE CARD DYNAMIC TAGS & BENEFITS
   ============================================================ */
.service-card__tag-badge {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    background-color: var(--color-white-pure);
    color: var(--color-black-matte);
    font-size: 0.65rem;
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    padding: 3px 8px;
    border-radius: var(--border-radius-sm);
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.service-card__benefit-text {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--color-gray-light);
    margin-bottom: var(--space-2);
    display: block;
}