/* ===== PROYECTOS — Dark modern theme ===== */

/* --- Hero banner --- */
#proj-hero {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

#proj-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(255, 84, 0, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

#proj-hero .hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 20px;
    animation: slideInUp 0.8s ease forwards;
}

#proj-hero .hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #FF5400;
    margin-bottom: 14px;
    display: block;
}

#proj-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.1;
    margin: 0 0 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

#proj-hero h1 span {
    color: #FF5400;
}

#proj-hero .hero-sub {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

/* --- Sección genérica dark --- */
.proj-section {
    padding: 90px 0;
}

.proj-section-alt {
    background: #111 !important;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.proj-section-main {
    background: #0d0d0d !important;
}

.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #FF5400;
    text-align: center;
    display: block;
    margin-bottom: 12px;
}

.section-title-dark {
    font-family: 'Inter', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    text-align: center;
    margin: 0 0 14px;
}

.section-title-dark span {
    color: #FF5400;
}

.section-sub-dark {
    font-size: 16px;
    color: rgba(255,255,255,0.45);
    text-align: center;
    margin: 0 0 56px;
}

/* --- Cards de metodología (3 cards) --- */
.metodologia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .metodologia-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

.metod-card {
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 3px solid #FF5400;
    border-radius: 14px;
    padding: 40px 32px 36px;
    text-align: center;
    transition: transform 0.35s cubic-bezier(0.23,1,0.32,1),
                box-shadow 0.35s ease,
                background 0.35s ease;
    overflow: hidden;
}

.metod-card:hover {
    background: rgba(255,255,255,0.07);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(255,84,0,0.08);
    border-color: rgba(255,84,0,0.4);
}

.metod-card-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: rgba(255,84,0,0.1);
    border: 2px solid rgba(255,84,0,0.2);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.metod-card:hover .metod-card-icon {
    background: rgba(255,84,0,0.18);
    border-color: rgba(255,84,0,0.5);
}

.metod-card-icon .fa {
    font-size: 28px;
    color: #FF5400;
    position: relative;
    z-index: 2;
}

.metod-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    margin: 0 0 12px;
}

.metod-card p {
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.metod-card-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #FF5400, transparent);
    border-radius: 0 0 14px 14px;
    transition: width 0.4s ease;
}

.metod-card:hover .metod-card-line {
    width: 100%;
}

/* --- Steps (4 pasos) --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.steps-grid::before {
    display: none;
}

@media (max-width: 767px) {
    .steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .steps-grid::before { display: none; }
}

@media (max-width: 480px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.step-item {
    text-align: center;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255,84,0,0.08);
    border: 2px solid rgba(255,84,0,0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.step-item:hover .step-number {
    background: rgba(255,84,0,0.16);
    border-color: #FF5400;
    transform: scale(1.08);
}

.step-number .fa {
    font-size: 32px;
    color: #FF5400;
}

.step-num-label {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 26px;
    height: 26px;
    background: #FF5400;
    border-radius: 50%;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-item h3 {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin: 0 0 10px;
}

.step-item p {
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(255,255,255,0.45);
    margin: 0;
}

/* --- Método de trabajo (4 cards horizontales) --- */
.metodo-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 767px) {
    .metodo-list { grid-template-columns: 1fr; }
}

.metodo-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid #FF5400;
    border-radius: 14px;
    padding: 28px 28px 28px 32px;
    transition: background 0.3s ease, transform 0.3s cubic-bezier(0.23,1,0.32,1), box-shadow 0.3s ease;
}

.metodo-item:hover {
    background: rgba(255,255,255,0.07);
    transform: translateX(6px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), -2px 0 12px rgba(255,84,0,0.1);
}

.metodo-item strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #FF5400;
    margin-bottom: 8px;
}

.metodo-item span {
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
}

/* --- Resultados (3 métricas) --- */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 767px) {
    .results-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
}

.result-card-dark {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 3px solid #FF5400;
    border-radius: 14px;
    padding: 40px 28px;
    text-align: center;
    transition: transform 0.35s cubic-bezier(0.23,1,0.32,1), box-shadow 0.35s ease;
}

.result-card-dark:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 20px rgba(255,84,0,0.07);
}

.result-card-dark .result-value {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #FF5400;
    line-height: 1;
    margin-bottom: 12px;
    display: block;
}

.result-card-dark .result-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
}

/* --- CTA final --- */
#proj-cta {
    background: #0d0d0d;
    padding: 90px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.proj-cta-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 60px 52px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.proj-cta-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,84,0,0.09) 0%, transparent 70%);
    pointer-events: none;
}

.proj-cta-text {
    flex: 1;
    min-width: 260px;
    position: relative;
    z-index: 1;
}

.proj-cta-text h2 {
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: -0.3px;
}

.proj-cta-text p {
    color: rgba(255,255,255,0.5);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.proj-cta-action {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.btn-proj-cta {
    display: inline-block;
    padding: 15px 42px;
    background: #FF5400;
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 6px;
    border: 2px solid #FF5400;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 24px rgba(255,84,0,0.4);
}

.btn-proj-cta:hover {
    background: transparent;
    color: #FF5400 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255,84,0,0.2);
}

/* --- Reveal --- */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.23,1,0.32,1),
                transform 0.7s cubic-bezier(0.23,1,0.32,1);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive headers --- */
@media (max-width: 991px) {
    #proj-hero h1 { font-size: 34px; }
    .section-title-dark { font-size: 28px; }
    .proj-cta-card { padding: 44px 32px; }
    .proj-cta-text h2 { font-size: 24px; }
    .steps-grid { gap: 20px; }
}

@media (max-width: 767px) {
    #proj-hero h1 { font-size: 26px; }
    .proj-cta-card { padding: 36px 24px; }
}
