@font-face {
    font-family: "Gilroy ExtraBold";
    src: url("../font/Gilroy-ExtraBold.otf") format("opentype");
    font-display: swap;
}
@font-face {
    font-family: "Gilroy Regular";
    src: url("../font/Gilroy-Regular.ttf") format("truetype");
    font-display: swap;
}
@font-face {
    font-family: "Gilroy Light";
    src: url("../font/Gilroy-Light.ttf") format("truetype");
    font-display: swap;
}

:root {
    --color-rojo: #D50032;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    background: #000;
}

body {
    font-family: "Gilroy Regular", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.stage {
    position: relative;
    width: 100%;
    background: #000;
}

.stage .photo {
    display: block;
    width: 100%;
    height: auto;
}

.stage .photo-mobile {
    display: none;
}

.hero {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6vw 6vh;
    text-align: center;
    pointer-events: none;
}

.hero h1 {
    margin: 0;
    color: var(--color-rojo);
    font-family: "Gilroy ExtraBold", "Gilroy Regular", sans-serif;
    font-weight: normal;
    font-size: clamp(4.4rem, 11vw, 10.5rem);
    line-height: 1;
    letter-spacing: -0.035em;
}

.hero p {
    position: absolute;
    left: 6vw;
    right: 6vw;
    bottom: 16%;
    margin: 0;
    color: var(--color-rojo);
    font-family: "Gilroy Regular", sans-serif;
    font-size: clamp(1.15rem, 2.2vw, 1.85rem);
    line-height: 1.15;
    letter-spacing: 0.01em;
}

.slider-footer {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 7%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.4rem;
    width: max-content;
    max-width: 92%;
    color: var(--color-rojo);
}

.slider-footer a {
    color: var(--color-rojo);
    text-decoration: none;
}

.slider-footer-telf {
    font-family: "Gilroy Regular", sans-serif;
    font-size: 1.5rem;
    white-space: nowrap;
}

.slider-footer-adreca {
    font-family: "Gilroy Light", sans-serif;
    font-size: 1.15rem;
    white-space: nowrap;
}

.slider-pictogramas {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.slider-pictogramas img {
    display: block;
    width: 42px;
    height: auto;
}

.logo-mark {
    position: absolute;
    z-index: 2;
    right: 5vw;
    bottom: 6%;
    width: 170px;
    height: auto;
}

@media screen and (max-width: 1100px) {
    .logo-mark {
        width: 130px;
        right: 3vw;
    }

    .slider-footer {
        gap: 1.4rem;
    }
}

@media screen and (max-width: 767px) {
    .stage .photo-desktop {
        display: none;
    }

    .stage .photo-mobile {
        display: block;
    }

    .hero {
        padding: 16vh 7vw 22vh;
    }

    .hero h1 {
        font-size: clamp(3.6rem, 18vw, 5.4rem);
    }

    .hero p {
        bottom: 28%;
        font-size: 1.15rem;
    }

    .slider-footer {
        bottom: 5%;
        display: grid;
        grid-template-columns: 1fr auto;
        column-gap: 0.75rem;
        row-gap: 0.15rem;
        width: 90%;
        max-width: 90%;
        align-items: center;
    }

    .slider-footer-telf,
    .slider-footer-adreca {
        font-size: 15px;
        white-space: normal;
    }

    .slider-pictogramas {
        grid-column: 2;
        grid-row: 1 / span 2;
        gap: 0.85rem;
    }

    .slider-pictogramas img {
        width: 34px;
    }

    .logo-mark {
        top: 4.5%;
        right: 0;
        left: 0;
        bottom: auto;
        width: min(46vw, 190px);
        margin: 0 auto;
    }
}
