/* ======================================================
   ESTILOS ESPECÍFICOS PARA desarrollo-web.html
   ====================================================== */

/* HERO ESPECÍFICO */
.hero-desarrollo {
    padding: 10rem 2rem 5rem;
    background: radial-gradient(circle at 30% 20%, rgba(255,107,107,0.15), transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(190, 163, 163, 0.05), transparent 50%),
                var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.hero-desarrollo .hero-content {
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,107,107,0.1);
    border: 1px solid rgba(255,107,107,0.3);
    color: #ff6b6b;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    text-transform: uppercase;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title .highlight {
    color: #ff6b6b;
    display: inline-block;
    position: relative;
}

.btn-primary-web {
    display: inline-block;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
    background: transparent;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 122, 122, 0.1);
    min-width: 240px;
}

.btn-primary-web:hover {
    color: #000;
    background: #ff6b6b;
}

.btn-secondary-web {
    display: inline-block;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    min-width: 240px;
}

.btn-secondary-web:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(255,107,107,0.2);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* INTRO */
.intro-desarrollo {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-text .section-title {
    margin-bottom: 1rem;
}

.section-title {
    width: 100%;
    text-align: center;
}

.intro-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.7;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: #ff6b6b;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6b6b;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ESPECIFICACIONES */
.especificaciones {
    padding: 80px 0;
}

.especificaciones-header {
    text-align: center;
    margin-bottom: 50px;
}

.especificaciones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.espec-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.espec-card:hover {
    transform: translateY(-8px);
    border-color: #ff6b6b;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.espec-card:hover::before {
    transform: scaleX(1);
}

.espec-card.highlight-card {
    border: 1px solid rgba(255,107,107,0.5);
    background: linear-gradient(145deg, rgba(255,107,107,0.05), var(--bg-elevated));
}

.espec-icon {
    font-size: 2.5rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.espec-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.espec-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.espec-list {
    list-style: none;
    padding: 0;
}

.espec-list li {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.espec-list li i {
    color: var(--text-primary);
    font-size: 0.8rem;
}

/* Badge para el paso 2 (feedback) */
.proceso-badge {
    display: inline-block;
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: rgb(85, 42, 42);
    border: 1px solid rgba(255,107,107,0.3);
    color: #ff6b6b;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Sección presencial Lanzarote */
.presencial-lanzarote {
    background: linear-gradient(145deg, rgba(255,107,107,0.05), rgba(0,0,0,0.2));
    border: 1px solid rgba(255,107,107,0.3);
    border-radius: 40px;
    padding: 40px 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0,0,0,0.3);
}

.presencial-lanzarote::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,107,107,0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: rotateSlow 30s linear infinite;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.presencial-content {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.presencial-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: rgba(255,107,107,0.08);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 2px dashed #ff6b6b;
    animation: pulseIcon 3s infinite ease-in-out;
}

@keyframes pulseIcon {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,107,0.3); }
    50% { box-shadow: 0 0 0 15px rgba(255,107,107,0); }
}

.presencial-icon img {
    height: 70%;
    color: #ff6b6b;
}

.presencial-icon i:first-child {
    font-size: 2.2rem;
    margin-bottom: -5px;
}

.presencial-text {
    flex: 1;
}

.presencial-text h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.presencial-text h3 i {
    color: #ff6b6b;
    font-size: 1.8rem;
}

.presencial-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 800px;
}

.presencial-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 30px;
    margin-bottom: 25px;
}

.presencial-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 1rem;
}

.presencial-features i {
    color: #ff6b6b;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
}

/* CTA FINAL */
.cta-final {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(255,107,107,0.1), transparent 70%),
                var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.cta-final h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-final p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ======================================================
   NUEVO: TIMELINE VERTICAL (adaptado de automatizaciones-ia)
   ====================================================== */

.como-funciona {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, #ff6b6b, transparent);
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid #ff6b6b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #ff6b6b;
    position: relative;
    z-index: 2;
    background: var(--bg-secondary);
}

.timeline-content {
    flex: 1;
    padding-bottom: 20px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.timeline-tag {
    display: inline-block;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.2rem 0.8rem;
    border-radius: 100px;
}

.presencial-lanzarote-section {
    background: var(--bg-primary);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 15px;
    }
    
    .timeline-number {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .timeline-item {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    .timeline-item {
        margin-bottom: 24px;
    }
}

/* ======================================================
   RESPONSIVE
   ====================================================== */

@media (max-width: 1100px) {
    .especificaciones-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .proceso-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .presencial-content {
        flex-direction: column;
        text-align: center;
    }
    
    .presencial-text h3 {
        justify-content: center;
    }
    
    .presencial-features {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .intro-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 12px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.9rem;
        color: var(--text-secondary);
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
    .especificaciones-grid,
    .proceso-grid {
        grid-template-columns: 1fr;
    }
    .intro-grid {
        gap: 30px;
    }
    .presencial-lanzarote {
        padding: 30px 20px;
    }
    
    .presencial-text h3 {
        font-size: 1.6rem;
    }
    
    .presencial-text p {
        font-size: 1rem;
    }
    
    .presencial-features {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .presencial-features > span {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: fit-content;
        min-width: 280px;
    }

    .presencial-features > span > span {
        text-align: left;
    }
    .cta-final h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 650px) {
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 520px) {
}

@media (max-width: 480px) {
    .hero-desarrollo {
        padding: 8rem 2rem 4rem;
    }
    .container {
        padding: 0 20px;
    }
    section, .especificaciones,
    .intro-desarrollo, .proceso-trabajo, 
    .como-funciona, .presencial-lanzarote-section {
        padding: 40px 0;
    }
    .especificaciones-header {
        margin-bottom: 30px;
    }
    .proceso-grid {
        gap: 30px;
        margin-top: 30px;
    }
    .proceso-item {
        max-width: 360px;
        margin: 0 auto;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-badge {
        font-size: 0.8rem;
    }
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    .hero-cta .btn {
        width: 100%;
    }
    .presencial-icon {
        width: 90px;
        height: 90px;
    }
    
    .presencial-icon i {
        font-size: 1.5rem;
    }
    
    .presencial-text h3 {
        font-size: 1.3rem;
    }
    .espec-card {
        max-width: 360px;
        margin: 0 auto;
    }
}