/* =========================================
   PÁGINA EN CONSTRUCCIÓN - LIBREMENTE
   Diseño Profesional y Moderno
   ========================================= */

/* Contenido Principal */
.construction-main {
    margin-top: 5px;
    min-height: calc(100vh - 60px);
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* =========================================
   HERO SECTION
   ========================================= */
.construction-hero {
    background: linear-gradient(135deg, #6b4c7f 0%, #5a9e7f 100%);
    padding: 80px 30px;
    border-radius: 20px;
    margin: 20px;
    position: relative;
    overflow: hidden;
}

.construction-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.construction-content {
    position: relative;
    z-index: 2;
    color: white;
}

/* Icono Animado */
.construction-icon-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 40px;
}

.construction-icon {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.construction-icon i {
    font-size: 4rem;
    color: white;
}

.construction-gear {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.construction-gear i {
    color: white;
}

.gear-1 {
    width: 60px;
    height: 60px;
    top: 10px;
    right: 10px;
    animation: rotate 8s linear infinite;
}

.gear-1 i {
    font-size: 1.8rem;
}

.gear-2 {
    width: 50px;
    height: 50px;
    bottom: 20px;
    left: 15px;
    animation: rotate 6s linear infinite reverse;
}

.gear-2 i {
    font-size: 1.5rem;
}

/* Título */
.construction-title {
    margin-bottom: 30px;
}

.title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.title-sub {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* Descripción */
.construction-description {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 50px;
    opacity: 0.95;
    font-weight: 300;
}

/* Barra de Progreso */
.construction-progress-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: 500;
}

.progress-percent {
    font-weight: 700;
    font-size: 1.1rem;
}

.construction-progress {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 10px;
    position: relative;
    animation: shimmer 2s ease-in-out infinite;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

/* =========================================
   FEATURES EN DESARROLLO
   ========================================= */
.construction-features {
    padding: 80px 0;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(107, 76, 127, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #6b4c7f 0%, #5a9e7f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(107, 76, 127, 0.2);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    text-align: center;
}

.feature-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin: 0 0 25px 0;
    text-align: center;
    flex-grow: 1;
}

.feature-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: auto;
}

.status-progress {
    background: #fff3cd;
    color: #856404;
}

.status-planned {
    background: #d1ecf1;
    color: #0c5460;
}

.status-testing {
    background: #d4edda;
    color: #155724;
}

/* =========================================
   TIMELINE
   ========================================= */
.construction-timeline {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.timeline-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #6b4c7f, #5a9e7f);
    border-radius: 2px;
}

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

.timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #6b4c7f 0%, #5a9e7f 100%);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.timeline-marker {
    position: absolute;
    left: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.timeline-marker i {
    font-size: 1.5rem;
    color: white;
}

.timeline-item.completed .timeline-marker {
    background: linear-gradient(135deg, #5a9e7f 0%, #4a8e6f 100%);
}

.timeline-item.in-progress .timeline-marker {
    background: linear-gradient(135deg, #6b4c7f 0%, #8b6b9f 100%);
}

.timeline-item.pending .timeline-marker {
    background: #95a5a6;
}

.timeline-content {
    background: white;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0 0 10px 0;
}

.timeline-date {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b4c7f;
    padding: 5px 15px;
    background: #f8f9fa;
    border-radius: 15px;
}

/* =========================================
   CONTACTO
   ========================================= */
.construction-contact {
    padding: 60px 0;
}

.contact-card {
    background: linear-gradient(135deg, #6b4c7f 0%, #5a9e7f 100%);
    padding: 50px;
    border-radius: 20px;
    color: white;
    box-shadow: 0 10px 40px rgba(107, 76, 127, 0.2);
}

.contact-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.contact-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
}

.contact-button {
    display: inline-block;
    padding: 15px 35px;
    background: white;
    color: #6b4c7f;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    color: #6b4c7f;
}

/* =========================================
   ANIMACIONES
   ========================================= */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

@keyframes shimmer {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.construction-content,
.feature-card,
.timeline-item,
.contact-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.timeline-item:nth-child(1) { animation-delay: 0.4s; }
.timeline-item:nth-child(2) { animation-delay: 0.5s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.7s; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .construction-hero {
        padding: 60px 25px;
    }
    
    .title-main {
        font-size: 2.8rem;
    }
    
    .title-sub {
        font-size: 1.3rem;
    }
    
    .construction-description {
        font-size: 1.1rem;
    }
    
    .timeline-title {
        font-size: 2rem;
    }
    
    .contact-card {
        padding: 40px 30px;
    }
    
    .contact-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .construction-main {
        margin-top: 10px;
    }
    
    .construction-hero {
        padding: 50px 20px;
        margin: 15px;
    }
    
    .construction-icon-wrapper {
        width: 120px;
        height: 120px;
        margin-bottom: 30px;
    }
    
    .construction-icon {
        width: 120px;
        height: 120px;
    }
    
    .construction-icon i {
        font-size: 3rem;
    }
    
    .gear-1 {
        width: 50px;
        height: 50px;
    }
    
    .gear-1 i {
        font-size: 1.5rem;
    }
    
    .gear-2 {
        width: 40px;
        height: 40px;
    }
    
    .gear-2 i {
        font-size: 1.2rem;
    }
    
    .title-main {
        font-size: 2.2rem;
    }
    
    .title-sub {
        font-size: 1.1rem;
    }
    
    .construction-description {
        font-size: 1rem;
    }
    
    .construction-features {
        padding: 50px 0;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .construction-timeline {
        padding: 50px 0;
    }
    
    .timeline-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .timeline-wrapper::before {
        left: 25px;
    }
    
    .timeline-item {
        padding-left: 70px;
    }
    
    .timeline-marker {
        width: 50px;
        height: 50px;
    }
    
    .timeline-marker i {
        font-size: 1.2rem;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-content h4 {
        font-size: 1.1rem;
    }
    
    .construction-contact {
        padding: 40px 0;
    }
    
    .contact-card {
        padding: 30px 25px;
        text-align: center;
    }
    
    .contact-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .contact-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .contact-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .construction-hero {
        padding: 40px 15px;
        margin: 10px;
    }
    
    .construction-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .construction-icon {
        width: 100px;
        height: 100px;
    }
    
    .construction-icon i {
        font-size: 2.5rem;
    }
    
    .title-main {
        font-size: 1.8rem;
    }
    
    .title-sub {
        font-size: 1rem;
    }
    
    .construction-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    
    .progress-label {
        font-size: 0.9rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon i {
        font-size: 1.7rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-text {
        font-size: 0.95rem;
    }
    
    .timeline-title {
        font-size: 1.5rem;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
}