/* Premium, light-mode, responsive background system for Maintenance Page */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

:root {
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --accent-color: #2563eb;
    --bg-overlay: rgba(255, 255, 255, 0.1);
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #f8fafc;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
}

.maintenance-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Backdrop layer: Improved visibility - clearer but made subtle (tenue) */
.backdrop {
    position: absolute;
    top: -2%;
    left: -2%;
    width: 104%;
    height: 104%;
    background: url('sitio_mantencion.jpg') no-repeat center center;
    background-size: cover;
    filter: brightness(0.9) blur(4px); /* Tenue: slightly dimmer and soft blur */
    z-index: 1;
}

/* Subtle light overlay to bridge image and content card */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15); /* Lightening layer instead of vignette */
    z-index: 2;
    pointer-events: none;
}

/* Premium Light Glassmorphism Card */
.content-card {
    position: relative;
    z-index: 10;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4rem 3rem;
    max-width: 650px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow);
    animation: fadeInScale 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.logo-image {
    max-width: 180px; /* Slightly larger for better branding */
    height: auto;
    margin-bottom: 2.5rem;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
}

.logo-image:hover {
    transform: scale(1.03);
}

.main-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 3rem;
    font-weight: 500;
}

.card-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2.5rem;
}

.contact-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    padding: 0.8rem 1.6rem;
    border-radius: 9999px;
    background: #f1f5f9;
    font-weight: 600;
    border: 1px solid transparent;
}

.contact-link:hover {
    background: #fff;
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
}

.icon {
    width: 22px;
    height: 22px;
    color: var(--accent-color);
}

@media (max-width: 640px) {
    .content-card {
        padding: 3rem 1.5rem;
        width: 85%;
    }
    
    .main-title {
        font-size: 1.9rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }

    .logo-image {
        max-width: 140px;
    }
}
