/* EGIDRA — Ver Proyecto */

/* ── Hero ────────────────────────────────────────────────────── */
.vp-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: flex-end;
    margin-top: 70px;
    overflow: hidden;
}

.vp-hero-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 6s ease;
}
.vp-hero:hover .vp-hero-img { transform: scale(1); }

.vp-hero-placeholder {
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vp-placeholder-icon {
    font-size: 6rem;
    color: rgba(255, 193, 7, 0.25);
}

.vp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 20, 0.92) 0%,
        rgba(10, 10, 20, 0.55) 50%,
        rgba(10, 10, 20, 0.25) 100%
    );
}

.vp-hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 3rem;
}

.vp-back-link {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    transition: color 0.2s;
}
.vp-back-link:hover { color: #ffc107; }

.vp-badge { font-size: 0.8rem; padding: 0.45em 0.9em; display: inline-block; }

.vp-title {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    max-width: 800px;
    margin: 0;
}

/* ── Contenido principal ─────────────────────────────────────── */
.vp-main {
    background: #f8f9fa;
    padding: 4rem 0 5rem;
}

.vp-section { margin-bottom: 2.5rem; }

.vp-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #ffc107;
    display: inline-block;
}

.vp-desc {
    font-size: 1rem;
    line-height: 1.85;
    color: #444;
}

/* ── Ficha técnica ───────────────────────────────────────────── */
.vp-ficha {
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    position: sticky;
    top: 90px;
}

.vp-ficha-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

.vp-ficha-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vp-ficha-list li {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 0.2rem;
}
.vp-ficha-list li:last-child { border-bottom: none; }

.vp-ficha-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
}
.vp-ficha-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: #1a1a2e;
}

/* ── Proyectos relacionados ──────────────────────────────────── */
.vp-related {
    background: #fff;
    padding: 4rem 0 5rem;
    border-top: 1px solid #eee;
}

.vp-related-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 2rem;
}
.vp-related-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: #ffc107;
    margin-top: 8px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .vp-ficha { position: static; }
    .vp-hero  { min-height: 45vh; }
}
