/* =========================================================
   PIXPRINT.MX
   Hoja de estilos principal
   ========================================================= */

/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #222222;
}


/* ---------- CONTENEDOR PRINCIPAL ---------- */

.landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* ---------- CONTENIDO ---------- */

.content {
    width: min(1100px, 92%);
    margin: 0 auto;
    padding: 55px 20px 30px;

    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* ---------- LOGOTIPO ---------- */

.logo {
    width: 500px;
    max-width: 80%;
    height: 250px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 15px;
}

.logo img {
    display: block;

    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: 250px;

    object-fit: contain;
}


/* ---------- SERVICIOS ---------- */

.services {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 0;

    margin-top: 5px;
    margin-bottom: 60px;

    font-size: 14px;
    line-height: 1.8;
    color: #555555;
    text-align: center;
}

.services span {
    display: inline-block;
    padding: 0 10px;

    position: relative;
}

.services span:not(:last-child)::after {
    content: "•";

    position: absolute;
    right: -3px;

    color: #aaaaaa;
}


/* ---------- MENSAJE PRINCIPAL ---------- */

h1 {
    max-width: 700px;

    margin: 0 auto 18px;

    text-align: center;

    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
    font-weight: 700;

    color: #222222;
}

h1::after {
    content: "";

    display: block;

    width: 70px;
    height: 5px;

    margin: 25px auto 0;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        #00a8e8,
        #e9008c,
        #ffd500
    );
}


/* ---------- TEXTO ---------- */

.follow {
    margin-top: 25px;
    margin-bottom: 22px;

    text-align: center;

    font-size: 16px;
    color: #777777;
}


/* ---------- REDES SOCIALES ---------- */

.socials {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 18px;

    margin-top: 5px;
}

.socials a {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 130px;
    min-height: 48px;

    padding: 10px 20px;

    border-radius: 14px;

    background: #ffffff;

    color: #333333;
    text-decoration: none;

    border: 1px solid #e5e5e5;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.socials a:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.12);

    border-color: #cccccc;
}

.socials img {
    width: 30px;
    height: 30px;

    object-fit: contain;

    margin-right: 10px;
}

.socials span {
    font-size: 14px;
    font-weight: 600;
}


/* ---------- FOOTER ---------- */

footer {
    width: 100%;

    padding: 25px 20px;

    text-align: center;

    font-size: 12px;

    color: #999999;

    border-top: 1px solid #eeeeee;

    background: #fafafa;
}

footer p {
    margin: 0;
}


/* ---------- ANIMACIÓN DE ENTRADA ---------- */

.content > * {
    animation: fadeUp 0.7s ease both;
}

.logo {
    animation-delay: 0.05s;
}

.services {
    animation-delay: 0.15s;
}

h1 {
    animation-delay: 0.25s;
}

.follow {
    animation-delay: 0.35s;
}

.socials {
    animation-delay: 0.45s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ---------- TABLET ---------- */

@media (max-width: 768px) {

    .content {
        padding-top: 40px;
    }

    .logo {
        width: 400px;
        height: 200px;
    }

    .services {
        margin-bottom: 45px;
        font-size: 13px;
    }

    h1 {
        font-size: 40px;
    }

    .socials {
        gap: 12px;
    }

    .socials a {
        min-width: 120px;
    }
}


/* ---------- CELULAR ---------- */

@media (max-width: 480px) {

    .content {
        width: 94%;
        padding: 25px 10px 25px;
    }

    .logo {
        width: 320px;
        max-width: 95%;
        height: 160px;

        margin-bottom: 5px;
    }

    .services {
        margin-bottom: 35px;

        font-size: 12px;
        line-height: 1.7;
    }

    .services span {
        padding: 0 7px;
    }

    h1 {
        font-size: 34px;
    }

    h1::after {
        width: 55px;
        height: 4px;
        margin-top: 20px;
    }

    .follow {
        font-size: 14px;
    }

    .socials {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .socials a {
        width: 90%;
        max-width: 300px;
    }

    footer {
        padding: 20px 15px;
    }
}