
/* =========================================================
   VARIABLES
========================================================= */

:root {
    --gold: #c5a15b;
    --gold-light: #e0c27e;
    --white: #ffffff;
    --text: rgba(255, 255, 255, .82);
    --dark: #070b10;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    overflow-x: hidden;

    background: var(--dark);

    color: var(--white);

    font-family:
        "Montserrat",
        sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   BACKGROUND
========================================================= */

.background {
    position: fixed;
    inset: 0;

    z-index: -10;

    overflow: hidden;
}

.background-image {
    position: absolute;
    inset: -3%;

    background-image:
        url(
            "https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=2400&q=90"
        );

    background-position: center;
    background-size: cover;

    filter: grayscale(100%);

    transform: scale(1.05);

    animation:
        backgroundZoom 18s ease-in-out infinite alternate;
}

.background-overlay {
    position: absolute;
    inset: 0;

    /*
     * Overlay oscuro para que el texto
     * destaque sobre la fotografía.
     */

    background:
        linear-gradient(
            90deg,
            rgba(3, 7, 12, .94),
            rgba(5, 10, 17, .78),
            rgba(3, 7, 12, .86)
        );
}

.background-overlay::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent 0%,
            rgba(0, 0, 0, .45) 100%
        );
}

@keyframes backgroundZoom {

    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.12);
    }

}


/* =========================================================
   CONTENEDOR PRINCIPAL
========================================================= */

.coming-soon {
    position: relative;

    min-height: 100vh;
    min-height: 100svh;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    padding:
        70px 30px 40px;
}


/* =========================================================
   CONTENT
========================================================= */

.content {
    width: 100%;

    max-width: 1050px;

    margin: auto;

    text-align: center;
}


/* =========================================================
   LOGO
========================================================= */
/* =========================================================
   LOGO
========================================================= */

.logo {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    width: auto;

    margin-bottom: 35px;
}


/* =========================================================
   IMAGEN DEL LOGO
========================================================= */

.logo-image {
    display: block;

    width: 100px;

    height: auto;

    object-fit: contain;

    flex-shrink: 0;
}


/* =========================================================
   NOMBRE DE LA FIRMA
========================================================= */

.logo-name {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    text-align: left;

    line-height: 1;
}


/* FIRMA LEGAL */

.logo-name strong {
    color: var(--white);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 18px;

    font-weight: 700;

    letter-spacing: 1px;

    white-space: nowrap;
}


/* ABOGADOS & CONSULTORES */

.logo-name span {
    margin-top: 6px;

    color: var(--gold-light);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 11px;

    font-weight: 500;

    letter-spacing: 1.8px;

    white-space: nowrap;
}

/* =========================================================
   TITULO
========================================================= */

h1 {
    margin: 0;

    font-family:
        "Montserrat",
        sans-serif;

    font-size:
        clamp(
            52px,
            8vw,
            92px
        );

    font-weight: 800;

    line-height: .95;

    letter-spacing: 2px;

    text-shadow:
        0 5px 25px rgba(0, 0, 0, .55);
}


/* =========================================================
   SUBTITULO
========================================================= */

h2 {
    margin-top: 28px;

    color:
        var(--gold-light);

    font-size:
        clamp(
            17px,
            2.2vw,
            27px
        );

    font-weight: 600;

    letter-spacing: 2px;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.description {
    max-width: 820px;

    margin:
        18px auto 0;

    color:
        var(--text);

    font-size: 13px;

    line-height: 1.8;

    font-weight: 400;
}


/* =========================================================
   COUNTDOWN
========================================================= */

.countdown {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;

    margin:
        48px auto 38px;
}


/* =========================================================
   COUNTDOWN BOX
========================================================= */

.countdown-box {
    position: relative;

    min-height: 170px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    align-items: center;

    background:
        rgba(255, 255, 255, .08);

    border:
        1px solid rgba(255, 255, 255, .12);

    backdrop-filter:
        blur(5px);

    -webkit-backdrop-filter:
        blur(5px);

    transition:
        transform .3s ease,
        background .3s ease,
        border-color .3s ease;
}

.countdown-box:hover {
    transform:
        translateY(-5px);

    background:
        rgba(255, 255, 255, .11);

    border-color:
        rgba(197, 161, 91, .45);
}


/* =========================================================
   NUMBER
========================================================= */

.number {
    flex: 1;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    padding-top: 20px;

    font-size:
        clamp(
            48px,
            5vw,
            68px
        );

    font-weight: 700;

    line-height: 1;

    text-shadow:
        0 3px 12px rgba(0, 0, 0, .5);
}


/* =========================================================
   LABEL
========================================================= */

.label {
    width: 100%;

    padding:
        17px 10px;

    background:
        rgba(255, 255, 255, .94);

    color:
        #15191e;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


/* =========================================================
   NEWSLETTER TITLE
========================================================= */

.newsletter-title {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    margin-top: 8px;

    margin-bottom: 18px;

    color:
        rgba(255, 255, 255, .9);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 1px;
}

.newsletter-title i {
    color:
        var(--gold);
}


/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter {
    width:
        min(
            100%,
            580px
        );

    height: 48px;

    display: flex;

    margin: auto;
}


/* =========================================================
   NEWSLETTER INPUT
========================================================= */

.newsletter input {
    flex: 1;

    min-width: 0;

    border:
        1px solid rgba(255, 255, 255, .15);

    border-right: none;

    outline: none;

    padding:
        0 18px;

    background:
        rgba(255, 255, 255, .94);

    color:
        #222;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 12px;
}

.newsletter input::placeholder {
    color:
        #888;
}


/* =========================================================
   NEWSLETTER BUTTON
========================================================= */

.newsletter button {
    width: 150px;

    border: none;

    cursor: pointer;

    background:
        var(--gold);

    color:
        #111;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

    transition:
        background .3s ease;
}

.newsletter button:hover {
    background:
        var(--gold-light);
}

.newsletter button i {
    margin-left: 7px;
}


/* =========================================================
   CONTACT INFO
========================================================= */

.contact-info {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 15px;

    margin-top: 28px;

    color:
        rgba(255, 255, 255, .55);

    font-size: 10px;
}

.contact-info a {
    transition:
        color .3s ease;
}

.contact-info a:hover {
    color:
        var(--gold-light);
}

.contact-info i {
    margin-right: 5px;

    color:
        var(--gold);
}

.separator {
    color:
        rgba(255, 255, 255, .2);
}


/* =========================================================
   SOCIAL
========================================================= */

.social {
    display: flex;

    justify-content: center;

    gap: 10px;

    margin-top: 20px;
}

.social a {
    width: 31px;

    height: 31px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid rgba(255, 255, 255, .15);

    border-radius: 50%;

    color:
        rgba(255, 255, 255, .6);

    font-size: 10px;

    transition:
        color .3s ease,
        border-color .3s ease,
        transform .3s ease;
}

.social a:hover {
    color:
        var(--gold-light);

    border-color:
        var(--gold);

    transform:
        translateY(-3px);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    position: absolute;

    bottom: 20px;

    left: 30px;

    right: 30px;

    display: flex;

    justify-content: space-between;

    color:
        rgba(255, 255, 255, .28);

    font-size: 7px;

    letter-spacing: 1.5px;
}


/* =========================================================
   RESPONSIVE — TABLET / MOBILE
========================================================= */

@media (max-width: 768px) {

    .coming-soon {
        padding:
            45px 20px 75px;
    }


    /* ---------------------------------------------
       LOGO
    --------------------------------------------- */

    .logo {
        margin-bottom: 28px;
    }

    .logo-image {
        /*
         * El logo permanece en 100px.
         */
        width: 100px;

        height: auto;
    }


    /* ---------------------------------------------
       TITULO
    --------------------------------------------- */

    h1 {
        font-size:
            clamp(
                42px,
                12vw,
                65px
            );
    }


    /* ---------------------------------------------
       SUBTITULO
    --------------------------------------------- */

    h2 {
        margin-top: 20px;

        font-size: 15px;

        line-height: 1.4;
    }


    /* ---------------------------------------------
       DESCRIPTION
    --------------------------------------------- */

    .description {
        font-size: 11px;

        line-height: 1.7;
    }


    /* ---------------------------------------------
       COUNTDOWN
    --------------------------------------------- */

    .countdown {
        gap: 7px;

        margin-top: 30px;
    }

    .countdown-box {
        min-height: 105px;
    }

    .number {
        font-size: 32px;
    }

    .label {
        padding:
            11px 4px;

        font-size: 7px;
    }


    /* ---------------------------------------------
       NEWSLETTER
    --------------------------------------------- */

    .newsletter-title {
        font-size: 9px;

        text-align: center;
    }

    .newsletter {
        height: 45px;
    }

    .newsletter button {
        width: 115px;

        font-size: 8px;
    }


    /* ---------------------------------------------
       CONTACTO
    --------------------------------------------- */

    .contact-info {
        flex-direction: column;

        gap: 7px;

        font-size: 9px;
    }

    .separator {
        display: none;
    }


    /* ---------------------------------------------
       FOOTER
    --------------------------------------------- */

    footer {
        position: relative;

        left: auto;

        right: auto;

        bottom: auto;

        width: 100%;

        flex-direction: column;

        align-items: center;

        gap: 7px;

        margin-top: 30px;

        text-align: center;
    }

}


/* =========================================================
   RESPONSIVE — SMARTPHONE PEQUEÑO
========================================================= */

@media (max-width: 420px) {

    /* El logo continúa siendo exactamente 100px */

    .logo-image {
        width: 100px;
    }


    .countdown {
        gap: 5px;
    }


    .countdown-box {
        min-height: 90px;
    }


    .number {
        font-size: 25px;
    }


    .label {
        font-size: 6px;
    }


    .newsletter button {
        width: 100px;
    }


    .newsletter button i {
        display: none;
    }

}

