/* 
Estilos landing
*/

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Thin.woff2') format('woff2'),
        url('../fonts/Gotham-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Black.woff2') format('woff2'),
        url('../fonts/Gotham-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Light.woff2') format('woff2'),
        url('../fonts/Gotham-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}




:root {
    --usp-primary: #01435B;
    --usp-secondary: #BD0A31;
    --usp-tertiary: #C5AB5D;
    --usp-tertiary-dark: #7b5e27;
    --usp-quaternary: #88ABE0;
    --usp-gray: #DEDFE3;
    --usp-light-gray: #F3F3F3;

}

body {
    font-family: 'Gotham';
    color: var(--usp-primary);
    font-weight: 300;
    overflow: unset !important;
    /* Para el banner sticky de la promo */
}

html {
    scroll-behavior: smooth;
}


/*-Textos-*/

a {
    color: var(--usp-secondary);
}

a:hover {
    color: var(--usp-primary);
}

p {
    color: var(--usp-primary);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 900;
    color: var(--usp-secondary);
    font-style: italic;
}

.h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: clamp(3rem, 7vw, 5rem);
    margin-bottom: 2rem;
    color: white;
    text-transform: uppercase;
}

.h1 span {
    display: inline-block;
    padding: .5rem 1rem;
    position: relative;
    z-index: 0;
}

.h1 span::after {
    position: absolute;
    background-color: var(--usp-secondary);
    content: '';
    inset: 0;
    transform: skew(-25deg);
    z-index: -1;
}

.h2 {
    font-size: clamp(1.9rem, 5vw, 3rem);
    line-height: clamp(2.1rem, 6vw, 3.4rem);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.h3 {
    font-size: 1.5rem;
    line-height: 1.6rem;
    margin-bottom: .75rem;
    text-transform: uppercase;
}

.lead {
    font-size: 1.8rem;
    line-height: 2.1rem;
    font-weight: 300;
    margin-bottom: 1.5rem;

}

b,
strong {
    font-weight: 900;
}

/*-Botónes-*/
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--usp-tertiary);
    --bs-btn-border-color: var(--usp-tertiary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--usp-tertiary-dark);
    --bs-btn-hover-border-color: var(--usp-tertiary-dark);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--usp-tertiary-dark);
    --bs-btn-active-border-color: var(--usp-tertiary-dark);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--usp-tertiary);
    --bs-btn-disabled-border-color: var(--usp-tertiary);
    border-radius: 0 !important;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 500;
}

.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--usp-tertiary);
    --bs-btn-border-color: var(--usp-tertiary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--usp-tertiary-dark);
    --bs-btn-hover-border-color: var(--usp-tertiary-dark);
    --bs-btn-focus-shadow-rgb: 130, 138, 145;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #565e64;
    --bs-btn-active-border-color: #51585e;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--usp-tertiary);
    --bs-btn-disabled-border-color: var(--usp-tertiary);
    border-radius: 0 !important;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 500;
}

/*---Header---*/
#masthead .navbar .navbar-brand img {
    width: 10rem;
    height: auto;
}

#masthead .navbar .navbar-nav {
    gap: .5rem;
}

#masthead .navbar .navbar-nav .nav-link {
    text-transform: uppercase;
    color: var(--usp-primary);
    border-radius: 0;
}

#masthead .navbar .navbar-nav .nav-link.active {
    background-color: var(--usp-light-gray);
    color: var(--usp-primary);
}

@media (max-width:989px) {

    #masthead .navbar .navbar-nav .nav-link {

        padding: .5rem;
        margin-bottom: .5rem;
    }

    #masthead .navbar .navbar-nav .nav-item:not(:last-child) {

        border-bottom: 1px solid var(--usp-gray);
    }
}

/*---landing---*/
main.pagina-inicio {
    position: relative;
}

/*BF Black Friday promo banner*/
.bf-banner {
    background-color: yellow;
    color: black;
    text-transform: uppercase;
    padding-top: .25rem;
    padding-bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;

}



.bf-banner span {
    font-weight: 900;
    font-size: clamp(1.4rem, 5vw, 1.9rem);
    text-transform: uppercase;
}

.bf-banner span+span {
    color: var(--usp-secondary);
}

.bf-banner p {
    font-size: clamp(0.7rem, 3vw, 1.3rem);
    color: black;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: .2rem;
}

/*-landing-hero-*/

.landing-hero {
    height: 75vh;
    min-height: 40rem;
    padding-top: 7rem;
    color: white;
    background-size: cover;
    background-attachment: fixed;
    background-position: bottom;
    background: linear-gradient(0deg, rgba(1, 67, 91, 0.70) 0%, rgba(1, 67, 91, 0.70) 100%), url(../img/united-sports-hero-bg.jpg) var(--usp-primary) 50% / cover no-repeat;
    background-blend-mode: luminosity;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.landing-hero::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 50%;
    bottom: 0;
    background-color: var(--usp-secondary);
    opacity: .7;
    z-index: -1;
    mix-blend-mode: color;
    clip-path: polygon(0 0, 0% 100%, 100% 100%);
}

.landing-hero::before {
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    left: 50%;
    bottom: 0;
    background-color: white;
    opacity: .3;
    z-index: -1;
    mix-blend-mode: plus-lighter;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.landing-hero .infobanner {
    padding: .5rem 1rem;
    background-color: var(--usp-primary);
    width: fit-content;
}

.landing-hero .lead {
    color: white;
}

.landing-hero img {
    -webkit-filter: drop-shadow(-5px 5px 5px var(--usp-primary));
    filter: drop-shadow(-5px 5px 5px var(--usp-primary));
}

/*-landing-how-*/

.landing-how {

    padding-top: 7rem;
    padding-bottom: 7rem;

}

/*-landing-about-*/

.landing-about {

    padding-top: 7rem;
    padding-bottom: 7rem;
    color: white;

}

/*-landing-why-*/

.landing-why,
.landing-personaliza {

    padding-top: 7rem;
    position: relative;
    z-index: 0;
    overflow-x: hidden;

}

.landing-personaliza {
    padding-bottom: 7rem;
}

.landing-why::after,
.landing-personaliza::after {
    opacity: .1;
    z-index: -1;
    content: '';
    position: absolute;
    width: 20vw;
    height: 20vw;
    aspect-ratio: 1;
    border-left: 3rem solid var(--usp-primary);
    border-right: 3rem solid var(--usp-primary);
    top: 0;
    right: 20;
    transform: skewX(-25deg);
    background: linear-gradient(to right,
            transparent calc(50% - 1.5rem),
            var(--usp-primary) calc(50% - 1.5rem) calc(50% + 1.5rem),
            transparent calc(50% + 1.5rem));

}

.landing-why .card {

    border: 0;
    padding: 2rem;
    border: 2px solid var(--usp-tertiary);
    border-radius: 0;
    height: 100%;

}

.landing-why .card svg {

    width: 6rem;
    height: 6rem;
    margin-bottom: 1rem;
    fill: var(--usp-tertiary);

}

.landing-why .card svg path {

    fill: var(--usp-tertiary);

}

/*-landing-deportes-mosaico-*/
.landing-deportes-mosaico {
    background-color: var(--usp-primary);
}

.landing-deportes-mosaico .h2,
.landing-deportes-mosaico p {
    color: white;
}

.landing-deportes-mosaico .card {
    border-radius: 0;
    border: none;
    position: relative;
    z-index: 0;
}

.landing-deportes-mosaico .card::after {
    position: absolute;
    content: '';
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 1) 100%);
    opacity: .5;
}


.landing-deportes-mosaico .card h3.h3 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    color: white;
    padding: 1rem;
    z-index: 1;

}

/*-landing-nosotros-*/

.landing-nosotros {

    padding-top: 7rem;
    padding-bottom: 7rem;
    background-color: var(--usp-light-gray);

}

.landing-nosotros .card {

    border: 0;
    padding: 2rem;
    border: 2px solid var(--usp-tertiary);
    border-radius: 0;
    height: 100%;

}

.landing-nosotros .card svg {

    width: 6rem;
    height: 6rem;
    margin-bottom: 1rem;

}

/*-landing-personaliza-*/


.landing-personaliza .card {

    border: 0;
    padding: 1rem;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    height: 100%;

}

.landing-personaliza .card img {


    width: 100%;
    margin-bottom: 1.5rem;

}

.landing-personaliza .card>p {

    font-size: 1.2rem;
    color: var(--usp-primary);

}

/*-Numbers-*/

.cta-numbers {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: var(--usp-secondary);
    color: white;
}

.cta-numbers .cifra {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.cta-numbers .cifra span {
    color: white;
}

.cta-numbers .cifra-dinamico {
    display: flex;
    font-size: clamp(3rem, 15vw, 5rem);
    line-height: clamp(3rem, 15vw, 5rem);
}

.cta-numbers .cifra-objeto {
    font-size: clamp(1.8rem, 11vw, 2rem);
    line-height: clamp(1.9rem, 12vw, 2.2rem);
    text-transform: uppercase;
}

.cta-numbers .cifra-matiz {
    font-size: clamp(1rem, 8vw, 1.2rem);
    line-height: clamp(1.5rem, 9vw, 1.9rem);
    text-transform: uppercase;
}

/*-landing-experiencias-*/
.landing-experiencias {
    padding-top: 7rem;
    padding-bottom: 7rem;
    background-color: var(--usp-secondary);
}

.landing-experiencias .h2,
.landing-experiencias .h5,
.landing-experiencias p {
    color: white;
}

.landing-experiencias .card p {
    color: var(--usp-primary);
}

/*Carrusel tipográfico*/
.dual-ticker {
    overflow: hidden;
    opacity: .3;
    margin-bottom: -5rem;
}

.ticker-group {
    display: flex;
    gap: 3rem;
}

.ticker-row {
    --speed: 60s;
    --gap: 4rem;
    --color: white;
    --stroke-color: white;
    line-height: 1;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.ticker-track {
    display: flex;
    gap: var(--gap);
    width: max-content;
    will-change: transform;
    animation: ticker var(--speed) linear infinite;
}

.ticker-row.right .ticker-track {
    animation-direction: reverse;
}

.ticker-text {
    font-weight: 800;
    font-size: clamp(2.2rem, 8vw, 8rem);
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
    color: white;
    font-style: italic;
}


.ticker-row.outline .ticker-text {
    color: transparent;
    -webkit-text-stroke: .03em var(--stroke-color);
    text-stroke: .08em var(--stroke-color);
    /* fallback si el navegador lo soporta */
}


@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }


}

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
        transform: translateX(0);
    }
}


/*Carrusel cards*/
.cards-carousel {
    --cc-gap: 24px;
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
}

.cards-carousel .cc-viewport {
    overflow: hidden;
    width: 100%;
}

.cards-carousel .cc-track {
    display: flex;
    gap: var(--cc-gap);
    transition: transform .45s ease;
    will-change: transform;
    padding: 2rem 1rem;

    padding-inline-end: var(--cc-gap);
}

.cards-carousel .cc-item {

    flex: 0 0 100%;
    max-width: 100%;
}

.cards-carousel .cc-item img {

    border-radius: 30rem;
}


.cards-carousel .cc-indicators {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cards-carousel .cc-dot {
    width: 1.2rem;
    height: 1.2rem;
    border: 0;
    border-radius: 999px;
    background: var(--usp-gray);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, opacity .2s ease;
    opacity: .9;
}

.cards-carousel .cc-dot:hover {
    transform: scale(1.15);
    opacity: 1;
}

.cards-carousel .cc-dot.active {
    background: var(--usp-primary);
}


.cards-carousel .card {
    border: 0;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px;
    border-radius: 1rem;
    color: var(--usp-primary);
}

/*-Landing-info-cta-*/
.landing-info-cta img {
    height: 100%;
    object-fit: cover;
}


/*-Landing-faq-*/

.landing-faq {
    padding-top: 7rem;
    padding-bottom: 7rem;
    background-color: var(--usp-primary);
    position: relative;
    z-index: 0;
}

.landing-faq::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: url(../img/landing-united-sports-faq-bg.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .3;
    mix-blend-mode: multiply;
}

.landing-faq .h2 {
    color: white;
}

.landing-faq .accordion {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    --bs-accordion-active-bg: var(--usp-gray);
}

.landing-faq .accordion .accordion-item {
    display: flex;
    flex-direction: column;
    border-radius: 0;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px;
}

.landing-faq .accordion .accordion-item .accordion-header,
.landing-faq .accordion .accordion-item .accordion-button {
    border-radius: 0 !important;
}

.landing-faq .accordion .accordion-item .accordion-button {
    font-weight: 900;
    color: var(--usp-primary);
    font-size: 1.2rem;
}

.landing-faq .accordion .accordion-item .accordion-button:focus {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}

/*--Formulario--*/
.wpcf7-form {
    color: var(--usp-primary);
}

.wpcf7-form label {
    width: 100%;
}

.wpcf7-form button,
.wpcf7-form input:not([type="checkbox"]),
.wpcf7-form optgroup,
.wpcf7-form select,
.wpcf7-form textarea {
    border: none;
    border-bottom: 1px solid var(--usp-secondary);
    width: 100%;
}

.wpcf7-form .aceptacion p,
.wpcf7-form .aceptacion a {
    margin-bottom: 0;
    font-size: .8rem;
    color: var(--usp-secondary);
    padding: 0;
}

.wpcf7-submit {
    display: inline-block;
    padding: .5rem 1rem;
    border-radius: 0;
    color: white;
    text-align: center;
    text-decoration: none;
    background-color: var(--usp-tertiary);
    border: none;
    display: block;
    width: 100%;
    margin: .5rem 0;
}

.wpcf7-submit:hover {
    background-color: var(--usp-tertiary-dark);
}

.wpcf7-form-control-wrap {
    width: 100%;
    display: block;
}

/*---Footer---*/
footer.landing-footer {
    border-top: .3rem solid var(--usp-tertiary);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

footer.landing-footer .legal-links button {
    text-decoration: none;
    color: var(--usp-secondary);
}

footer.landing-footer .cta-btn {
    position: fixed;
    bottom: 2rem;
    left: 1rem;
    background-color: var(--usp-tertiary);
    color: white;
    width: 6rem;
    height: 6rem;
    aspect-ratio: 1;
    border-radius: 50rem;
    animation: soft-shake 2s ease-in-out infinite;
    animation-delay: 0s;
    animation-delay: 4s;
    border: none;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    font-weight: 900;
    line-height: 1rem;
    font-size: .7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    transition: .3s ease-in-out;
}

footer.landing-footer .cta-btn:hover {
    background-color: var(--usp-tertiary-dark);
}

@keyframes soft-shake {
    0% {
        transform: translateX(0);
    }

    10% {
        transform: translateX(-3px) rotate(-1deg);
    }

    20% {
        transform: translateX(3px) rotate(1deg);
    }

    30% {
        transform: translateX(-3px) rotate(-1deg);
    }

    40% {
        transform: translateX(3px) rotate(1deg);
    }

    50% {
        transform: translateX(-2px);
    }

    60% {
        transform: translateX(2px);
    }

    70% {
        transform: translateX(-1px);
    }

    80% {
        transform: translateX(1px);
    }

    90% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(0);
    }
}

footer.landing-footer .cta-btn svg {
    width: 2rem;
    height: 2rem;
}

/*BF Black Friday promo footer*/

footer.landing-footer .cta-btn .bf-promo-btn {
    position: absolute;
    top: -30%;
    right: -30%;
    background-color: yellow;
    color: black;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    text-transform: uppercase;
    gap: 0;
    rotate: 10deg;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

footer.landing-footer .cta-btn .bf-promo-btn>span:nth-child(2) {
    display: block;
    color: var(--usp-secondary);
}

@media (min-width:990px) {
    footer.landing-footer .cta-btn {

        bottom: 3rem;
        right: 3rem;
        width: 7rem;
        height: 7rem;
        aspect-ratio: 1;
        border-radius: 50rem;
        line-height: 1rem;
        font-size: .9rem;

    }

    footer.landing-footer .cta-btn .bf-promo-btn {
        transform: scale(1.5);

    }
}