@font-face {
    font-family: 'ProductSans';
    src: url('../assets/fonts/Product\ Sans\ Regular.ttf') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'ProductSans';
    src: url('../assets/fonts/Product\ Sans\ Regular.ttf') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'ProductSans';
    src: url('../assets/fonts/Product\ Sans\ Regular.ttf') format('woff2');
    font-weight: 600;
    font-style: normal;
}

/* Texto principal */
.headline {
    font-weight: 400;
}

/* IEMCO is evolving */
.announcement h2 {
    font-weight: 700;
}

/* Textos normales */
.announcement p {
    font-weight: 400;
}

/* Mail, Tel y ubicaciones */
.contact p,
.location {
    font-weight: 600;
}

/* Email y Call us */
.contact a {
    font-weight: 700;
}

/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'ProductSans', Arial, sans-serif;
    background: #0d3155;
    color: #ffffff;
}



/* =========================
   HERO
========================= */

.hero {
    position: relative;

    width: 100%;
    min-height: 100vh;

    overflow: hidden;

    /* Fallback */
    background-image: url("../assets/images/bg-desktop.jpg");
    background-size: cover;
    background-position: center;

    display: flex;
    flex-direction: column;
}


/* =========================
   VIDEO DESKTOP
========================= */

.hero-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: rgba(5, 35, 65, 0.10);

    z-index: 1;
}


/* Todo el contenido encima */
.header,
.content,
.footer {
    position: relative;
    z-index: 2;
}


/* =========================
   HEADER
========================= */

.header {
    width: 100%;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding:
        clamp(35px, 4vw, 65px)
        clamp(40px, 4vw, 70px);
}


.logo {
    width: clamp(180px, 14vw, 260px);
    height: auto;
}


/* =========================
   LOCATIONS
========================= */

.locations {
    display: flex;
    align-items: center;
    gap: clamp(30px, 4vw, 70px);
}

.location {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    font-size: clamp(16px, 1.4vw, 24px);
    font-weight: 700;
    letter-spacing: 1px;

    white-space: nowrap;
}

.location img {
    width: 20px;
    height: 28px;
}


/* =========================
   CONTENT
========================= */

.content {
    padding-left: clamp(40px, 4vw, 70px);

    display: flex;
    flex-direction: column;

    flex: 1;
}


/* TITULO */

.headline {
    margin-top: 10px;

    max-width: 650px;

    font-size: clamp(28px, 2.3vw, 42px);
    font-weight: 400;
    line-height: 1.1;

    color: #eeeeee;
}


/* =========================
   ANNOUNCEMENT
========================= */

.announcement {
    margin-top: auto;
    margin-bottom: 24px;
}

.announcement h2 {
    color: #d7f04a;

    font-size: clamp(20px, 1.6vw, 28px);
    font-weight: 700;

    margin-bottom: 2px;
}

.announcement p {
    font-size: clamp(18px, 1.4vw, 25px);
    line-height: 1.05;

    color: #ffffff;
}


/* =========================
   CONTACT
========================= */

.contact {
    margin-bottom: 25px;
}

.contact p {
    font-size: clamp(18px, 1.4vw, 25px);
    font-weight: 700;

    margin-bottom: 20px;
}

.contact a {
    color: #d7f04a;

    text-decoration: none;
}

.contact a:hover {
    opacity: 0.8;
}


/* =========================
   FOOTER
========================= */

.footer {
    padding:
        0
        clamp(40px, 4vw, 70px)
        clamp(35px, 3vw, 55px);
}

.locations-bottom {
    display: none;
}

.copyright {
    font-size: clamp(12px, 0.9vw, 16px);

    color: #eeeeee;
}

@media (max-width: 768px) {

    .hero {
        min-height: 100vh;

        background-image:
            linear-gradient(
                rgba(5, 35, 65, 0.08),
                rgba(5, 35, 65, 0.08)
            ),
            url("../assets/images/bg-mobile.jpg");

        background-position: center center;
    }


    /* HEADER */

    .header {
        padding: 55px 58px 0;

        display: block;
    }


    .logo {
        width: 220px;
    }


    /* OCULTAMOS UBICACIONES ARRIBA */

    .locations-top {
        display: none;
    }


    /* CONTENIDO */

    .content {
        padding: 0 58px;

        flex: none;
    }


    .headline {
        margin-top: 18px;

        font-size: 36px;
        line-height: 1.05;

        max-width: 600px;
    }


    .announcement {
        margin-top: 20px;
        margin-bottom: 0;
    }


    .announcement h2 {
        font-size: 25px;
    }


    .announcement p {
        font-size: 22px;
    }


    .contact {
        margin-top: 18px;
        margin-bottom: 0;
    }


    .contact p {
        font-size: 22px;
        margin-bottom: 12px;
    }


    /* FOOTER */

    .footer {
        margin-top: auto;

        padding: 0 50px 50px;
    }


    .locations-bottom {
        display: flex;

        gap: 45px;

        margin-bottom: 45px;
    }


    .location {
        font-size: 18px;
    }


    .location img {
        width: 22px;
        height: 30px;
    }


    .copyright {
        font-size: 12px;
    }

}

@media (max-width: 480px) {

    .header {
        padding: 45px 35px 0;
    }


    .content {
        padding: 0 35px;
    }


    .logo {
        width: 120px;
    }


    .headline {
        font-size: 18px;
    }


    .announcement h2 {
        font-size: 16px;
    }


    .announcement p {
        font-size: 14px;
    }


    .contact p {
        font-size: 14px;
    }


    .footer {
        padding: 0 35px 35px;
    }


    .locations-bottom {
        gap: 10px;

        flex-wrap: wrap;

        margin-bottom: 30px;
    }


    .location {
        font-size: 15px;
    }

}