* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Fondo con imagen desenfocada y oscurecida */
.bg {
    position: fixed;
    inset: 0;
    background: url("img/fondo.jpg") center/cover no-repeat;
    filter: blur(1px) brightness(0.3); /* desenfoque + oscuridad */
    transform: scale(1.05);            /* evita bordes al aplicar blur */
    z-index: -1;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center; 
    align-items: center;
}

/* Bloque principal centrado */
.wrapper {
    text-align: center;
    padding: 30px 25px;
    max-width: 900px;
    width: 100%;
    /*background: rgba(0, 0, 0, 0.45);*/  /* capa oscura para que se lea bien */
    border-radius: 12px;
}

/* Logo */
.logo {
    margin-top: 10px;
    margin-bottom: 0px;
    text-align: center;
}

.logo img {
    max-width: 400px;
    height: auto;
    display: inline-block;
}

/* Texto principal */
.maintenance-text {
    font-size: 1.5rem;
    font-family: sans-serif;
    margin-bottom: 70px;
    color: #f5f5f5;
}

/* Tarjetas de contacto */
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-bottom: 55px;
}

.card {
    background: #ffffff;
    border-radius: 10px;
    padding: 18px 22px;
    width: 265px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-top: 4px solid #415a77;
}

.icon {
    font-size: 0;
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon img {
    width: 48px;
    height: 48px;
    display: block;
}


.card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: #1b263b;
}

.card p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.4;
}

/* Footer */
.footer {
    font-size: 0.85rem;
    color: #ddd;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .wrapper {
        padding: 16px 12px;
        max-width: 360px;
    }

    .logo {
        margin-top: 0;
        margin-bottom: 10px;
    }

    .logo img {
        max-width: 80%;   
        margin: 0 auto;
    }

    .maintenance-text {
        font-size: 1.1rem;
        margin-bottom: 18px;
    }

    .cards {
        display: flex;
        flex-direction: column;   
        align-items: center;      
        gap: 14px;
        margin-bottom: 12px;
    }

    .card {
        width: 100%;
        max-width: 280px;
        padding: 12px 14px;
    }

    .icon {
        width: 36px;
        height: 36px;
        margin: 0 auto 6px;
    }

    .icon img {
        width: 26px;
        height: 26px;
    }

    .card h3 {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .card p {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .footer {
        font-size: 0.8rem;
        margin-top: 4px;
    }
}
