.apoyo-detalle-page {
    padding-top: 80px;
    background: #f5f7fa;
    min-height: 100vh;
}

.detalle-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.detalle-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.detalle-breadcrumb a {
    color: #1a73e8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.detalle-breadcrumb a:hover {
    color: #1557b0;
}

.detalle-breadcrumb i {
    font-size: 10px;
    color: #999;
}

.detalle-main-content {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
}

.detalle-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detalle-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ---- HERO CARD ---- */
.detalle-card-hero {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.detalle-card-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(25, 165, 83, 0.08) 0%, transparent 100%);
    pointer-events: none;
}

.detalle-hero {
    display: flex;
    gap: 28px;
    margin-bottom: 28px;
    position: relative;
}

.detalle-profile {
    width: 160px;
    height: 160px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 4px solid #fff;
}

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

.detalle-profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detalle-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.detalle-oficio-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
}

.detalle-oficio-badge.soldador {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
}

.detalle-oficio-badge.electricista {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
}

.detalle-oficio-badge.pintor {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    color: #c2185b;
}

.detalle-oficio-badge.carpintero-metalico {
    background: linear-gradient(135deg, #efebe9 0%, #d7ccc8 100%);
    color: #5d4037;
}

.detalle-oficio-badge.tecnico-electronico {
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
    color: #303f9f;
}

.detalle-oficio-badge.cerrajero {
    background: linear-gradient(135deg, #f1f8e9 0%, #c8e6c9 100%);
    color: #558b2f;
}

.detalle-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
}

.detalle-profile-info h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #1a1a2e;
    line-height: 1.2;
}

.detalle-especialidad {
    color: #5a6b7a;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 500;
}

.detalle-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5a6b7a;
    font-size: 15px;
}

.detalle-location i {
    color: #19A553;
}

/* ---- STATS ---- */
.detalle-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 0;
    border-top: 1px solid #e8ecf0;
    border-bottom: 1px solid #e8ecf0;
}

.detalle-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-value {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
}

.rating-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rating-stars {
    color: #ffb400;
    font-size: 16px;
    letter-spacing: 2px;
}

.rating-count {
    color: #7a8a9a;
    font-size: 13px;
}

.detalle-stat-item {
    text-align: center;
    padding: 0 20px;
    border-left: 1px solid #e8ecf0;
}

.detalle-stat-item:first-of-type {
    border-left: none;
}

@media (max-width: 768px) {
    .detalle-stat-item:first-of-type {
        border-left: none;
    }
}

.stat-num {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
}

.stat-label {
    font-size: 12px;
    color: #7a8a9a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- SECTIONS ---- */
.detalle-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.detalle-section {
    margin-bottom: 28px;
}

.detalle-section:last-child {
    margin-bottom: 0;
}

.detalle-section h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detalle-section h2 i {
    color: #19A553;
    font-size: 18px;
}

.detalle-section p {
    color: #4a5a6a;
    line-height: 1.7;
    font-size: 15px;
}

/* ---- REVIEWS ---- */
.detalle-reviews {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item {
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
    border-radius: 12px;
    border: 1px solid #e8ecf0;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #19A553 0%, #128c7e 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.review-info {
    flex: 1;
}

.review-name {
    display: block;
    font-weight: 600;
    color: #1a1a2e;
    font-size: 15px;
}

.review-date {
    font-size: 13px;
    color: #8a9aaa;
}

.review-stars {
    color: #ffb400;
    font-size: 13px;
    letter-spacing: 2px;
}

.review-text {
    color: #5a6a7a;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* ---- CTA CARD ---- */
.detalle-cta-card {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
    border: 1px solid #e8ecf0;
}

.detalle-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #25d366, #19A553);
    border-radius: 16px 16px 0 0;
}

.detalle-cta-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.detalle-cta-card p {
    color: #6a7a8a;
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-whatsapp-large,
.btn-call-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-bottom: 12px;
    cursor: pointer;
    border: none;
}

.btn-whatsapp-large {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

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

.btn-call-large {
    background: #fff;
    color: #1a1a2e;
    border: 2px solid #e8ecf0;
}

.btn-call-large:hover {
    background: #f8fafc;
    border-color: #19A553;
}

.detalle-disponible,
.detalle-no-disponible {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px;
    border-radius: 8px;
}

.detalle-disponible {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
}

.detalle-disponible i {
    color: #2e7d32;
}

.detalle-no-disponible {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #c62828;
}

.detalle-no-disponible i {
    color: #c62828;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .detalle-main-content {
        grid-template-columns: 1fr;
    }

    .detalle-right {
        order: -1;
    }

    .detalle-cta-card {
        position: static;
    }
}

@media (max-width: 600px) {
    .detalle-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .detalle-profile {
        width: 140px;
        height: 140px;
    }

    .detalle-profile-info h1 {
        font-size: 26px;
    }

    .detalle-stats {
        flex-direction: column;
        gap: 16px;
    }

    .detalle-stat-item {
        border-left: none;
        padding: 8px 0;
    }

    .detalle-badges {
        justify-content: center;
    }

    .detalle-location {
        justify-content: center;
    }
}
