/* ─── Profile Page ──────────────────────────────────── */
.profile-hero {
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: var(--color-surface-alt);
}

.profile-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    opacity: 0.3;
}

.profile-header {
    padding: var(--space-6) 0;
    margin-bottom: var(--space-6);
    border-bottom: 1px solid var(--color-border);
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-6);
}

.profile-main { min-width: 0; }
.profile-sidebar { min-width: 0; }

/* Contact card */
.contact-row {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-border);
}

.contact-row:last-of-type {
    border-bottom: none;
}

.contact-label {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: var(--text-sm);
    color: var(--color-text);
}

.contact-locked {
    filter: blur(4px);
    user-select: none;
    pointer-events: none;
}

.contact-lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2px);
    border-radius: var(--radius);
    text-align: center;
    padding: var(--space-4);
}

.contact-lock-overlay p {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text);
}

.social-link {
    font-size: var(--text-sm);
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: none;
    transition: opacity var(--transition);
}

.social-link:hover {
    opacity: 0.7;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-2);
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Reviews */
.review-item {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-border);
}

.review-item:last-child {
    border-bottom: none;
}

/* Promotions */
.promo-card {
    padding: var(--space-3);
    background: var(--color-surface-alt);
    border-radius: var(--radius);
    margin-bottom: var(--space-2);
}

.promo-card:last-child {
    margin-bottom: 0;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: fadeIn 0.2s ease;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Responsive profile */
@media (max-width: 768px) {
    .profile-hero {
        height: 200px;
    }

    .profile-content {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        order: -1;
    }
}
