:root {
    --color-primario: #00a7ff;
    --color-secundario: #b29d66;
}

body {
    font-family: 'Montserrat', sans-serif;
}

img {
    max-width: 100%;
}

.tit_secciones {
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
    font-size: 35px;
}

.btn.btnSportlife {
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    padding: 15px 25px;
    color: #111;
    background: var(--color-secundario);
    border: 1px solid #fff;
}

/* Base (tus estilos) */
.btn.btnSportlife {
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    padding: 15px 25px;
    color: #111;
    background: var(--color-secundario);
    border: 1px solid #fff;

    /* Necesario para el anillo de pulso */
    position: relative;
    overflow: visible;
    /* Ajusta este RGB a tu color secundario para que el pulso combine */
    --pulse-rgb: 255, 113, 89;
    /* ejemplo: #ff7159 => 255,113,89 */
    will-change: transform;
}

/* Activa el pulso con esta clase adicional */
.btn.btnSportlife.pulse {
    animation: pulse-scale 1.5s ease-in-out infinite;
}

/* Anillo expansivo (no tapa el texto) */
.btn.btnSportlife.pulse::after {
    content: "";
    position: absolute;
    inset: -6px;
    /* cuánto “sale” el anillo hacia fuera */
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(var(--pulse-rgb), 0.45);
    animation: pulse-ring 1.5s ease-out infinite;
    pointer-events: none;
    /* no bloquea clics */
    z-index: -1;
    /* queda detrás del botón */
}

/* Pausa el efecto al pasar el mouse (opcional) */
.btn.btnSportlife.pulse:hover,
.btn.btnSportlife.pulse:focus {
    animation-play-state: paused;
}

.btn.btnSportlife.pulse:hover::after,
.btn.btnSportlife.pulse:focus::after {
    animation-play-state: paused;
}

/* Animaciones */
@keyframes pulse-scale {
    0% {
        transform: scale(0.98);
    }

    70% {
        transform: scale(1);
    }

    100% {
        transform: scale(0.98);
    }
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--pulse-rgb), 0.45);
    }

    70% {
        box-shadow: 0 0 0 16px rgba(var(--pulse-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--pulse-rgb), 0);
    }
}

/* Accesibilidad: respeta usuarios con reducción de movimiento */
@media (prefers-reduced-motion: reduce) {

    .btn.btnSportlife.pulse,
    .btn.btnSportlife.pulse::after {
        animation: none !important;
    }
}


.btn.btnSportlife.morado {
    background: linear-gradient(45deg, #af0165, #d9298e);
}

.btn.btnSportlife.azul {
    background: #005397;
}

a.btn.btnSportlife_new {
    display: block;
    position: absolute;
    /* centrado absoluto */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;

    width: 220px;
    height: 70px;

    /* text-formatting */
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    letter-spacing: 2px;
    line-height: 70px;
    font-family: 'Squada One', cursive;
    font-size: 28px;

    z-index: 1;
}


a.btn.btnSportlife_new::after {
    content: '';
    position: absolute;
    /* centrado absoluto dentro del <a> */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;

    background: linear-gradient(120deg, #6559ae, #ff7159, #6559ae);
    background-size: 400% 400%;

    /* frame recortado (clip-frame) */
    -webkit-clip-path: polygon(0% 100%, 4px 100%, 4px 4px, 216px 4px, 216px 66px, 4px 66px, 4px 100%, 100% 100%, 100% 0%, 0% 0%);
    clip-path: polygon(0% 100%, 4px 100%, 4px 4px, 216px 4px, 216px 66px, 4px 66px, 4px 100%, 100% 100%, 100% 0%, 0% 0%);

    -webkit-animation: gradient 3s ease-in-out infinite, border 1s forwards ease-in-out reverse;
    animation: gradient 3s ease-in-out infinite, border 1s forwards ease-in-out reverse;
}

a.btn.btnSportlife_new>span {
    display: block;
    background: linear-gradient(120deg, #6559ae, #ff7159, #6559ae);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    -webkit-animation: gradient 3s ease-in-out infinite;
    animation: gradient 3s ease-in-out infinite;
}

/* Animaciones */
@-webkit-keyframes gradient {
    0% {
        background-position: 14% 0%;
    }

    50% {
        background-position: 87% 100%;
    }

    100% {
        background-position: 14% 0%;
    }
}

@keyframes gradient {
    0% {
        background-position: 14% 0%;
    }

    50% {
        background-position: 87% 100%;
    }

    100% {
        background-position: 14% 0%;
    }
}

/* Animación del borde (clip-path) */
@-webkit-keyframes border {
    0% {
        -webkit-clip-path: polygon(0% 100%, 4px 100%, 4px 4px, 216px 4px, 216px 66px, 4px 66px, 4px 100%, 100% 100%, 100% 0%, 0% 0%);
        clip-path: polygon(0% 100%, 4px 100%, 4px 4px, 216px 4px, 216px 66px, 4px 66px, 4px 100%, 100% 100%, 100% 0%, 0% 0%);
    }

    25% {
        -webkit-clip-path: polygon(0% 100%, 4px 100%, 4px 4px, 216px 4px, 216px 66px, 216px 66px, 216px 100%, 100% 100%, 100% 0%, 0% 0%);
        clip-path: polygon(0% 100%, 4px 100%, 4px 4px, 216px 4px, 216px 66px, 216px 66px, 216px 100%, 100% 100%, 100% 0%, 0% 0%);
    }

    50% {
        -webkit-clip-path: polygon(0% 100%, 4px 100%, 4px 4px, 216px 4px, 216px 4px, 216px 4px, 216px 4px, 216px 4px, 100% 0%, 0% 0%);
        clip-path: polygon(0% 100%, 4px 100%, 4px 4px, 216px 4px, 216px 4px, 216px 4px, 216px 4px, 216px 4px, 100% 0%, 0% 0%);
    }

    75% {
        -webkit-clip-path: polygon(0% 100%, 4px 100%, 4px 4px, 4px 4px, 4px 4px, 4px 4px, 4px 4px, 4px 4px, 4px 0%, 0% 0%);
        clip-path: polygon(0% 100%, 4px 100%, 4px 4px, 4px 4px, 4px 4px, 4px 4px, 4px 4px, 4px 4px, 4px 0%, 0% 0%);
    }

    100% {
        -webkit-clip-path: polygon(0% 100%, 4px 100%, 4px 100%, 4px 100%, 4px 100%, 4px 100%, 4px 100%, 4px 100%, 4px 100%, 0% 100%);
        clip-path: polygon(0% 100%, 4px 100%, 4px 100%, 4px 100%, 4px 100%, 4px 100%, 4px 100%, 4px 100%, 4px 100%, 0% 100%);
    }
}

@keyframes border {
    0% {
        -webkit-clip-path: polygon(0% 100%, 4px 100%, 4px 4px, 216px 4px, 216px 66px, 4px 66px, 4px 100%, 100% 100%, 100% 0%, 0% 0%);
        clip-path: polygon(0% 100%, 4px 100%, 4px 4px, 216px 4px, 216px 66px, 4px 66px, 4px 100%, 100% 100%, 100% 0%, 0% 0%);
    }

    25% {
        -webkit-clip-path: polygon(0% 100%, 4px 100%, 4px 4px, 216px 4px, 216px 66px, 216px 66px, 216px 100%, 100% 100%, 100% 0%, 0% 0%);
        clip-path: polygon(0% 100%, 4px 100%, 4px 4px, 216px 4px, 216px 66px, 216px 66px, 216px 100%, 100% 100%, 100% 0%, 0% 0%);
    }

    50% {
        -webkit-clip-path: polygon(0% 100%, 4px 100%, 4px 4px, 216px 4px, 216px 4px, 216px 4px, 216px 4px, 216px 4px, 100% 0%, 0% 0%);
        clip-path: polygon(0% 100%, 4px 100%, 4px 4px, 216px 4px, 216px 4px, 216px 4px, 216px 4px, 216px 4px, 100% 0%, 0% 0%);
    }

    75% {
        -webkit-clip-path: polygon(0% 100%, 4px 100%, 4px 4px, 4px 4px, 4px 4px, 4px 4px, 4px 4px, 4px 4px, 4px 0%, 0% 0%);
        clip-path: polygon(0% 100%, 4px 100%, 4px 4px, 4px 4px, 4px 4px, 4px 4px, 4px 4px, 4px 4px, 4px 0%, 0% 0%);
    }

    100% {
        -webkit-clip-path: polygon(0% 100%, 4px 100%, 4px 100%, 4px 100%, 4px 100%, 4px 100%, 4px 100%, 4px 100%, 4px 100%, 0% 100%);
        clip-path: polygon(0% 100%, 4px 100%, 4px 100%, 4px 100%, 4px 100%, 4px 100%, 4px 100%, 4px 100%, 4px 100%, 0% 100%);
    }
}


section {
    padding: 70px 0;
}

.header {
    /* background: #111; */
    min-height: 100vh;
    position: relative;
    z-index: 1;
    /* background: linear-gradient(207deg, #1414149e, transparent), url(../img/bg-vina.jpg) no-repeat center; */
    background: #000;
    background-size: cover;
}

.video_fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    /* background: url(../img/gaviotas.png) no-repeat center;
    background-size: cover; */
}

video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo {
    /* filter: contrast(0); */
}

.ppal {
    margin-top: -70px;
    z-index: 1;
    position: relative;
}

.ppal::before {
    /* clip-path: polygon(0 5%, 100% 0, 100% 100%, 0% 100%); */
    clip-path: polygon(0% 2%, 100% 4%, 100% 100%, 0% 100%);
    border-radius: 0 50px 0 0;
    background: #111;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.fondo-ppal {
    background: url(../img/fondo-ppal.jpg) no-repeat left center;
    background-size: cover;
    border-radius: 50px;
}

.ppal .carousel-caption {
    position: unset;
    padding: 2rem;
    background-color: #fff;
    border-radius: 20px;
}

.ppal .carousel-caption i {
    display: block;
    font-size: 2.3rem;
}

/* .ppal .carousel-caption h5 {
    text-transform: uppercase;
    color: var(--color-secundario);
    font-weight: 800;
    font-size: 2rem;
} */

/* .ppal .carousel-caption p {
    color: #111;
    font-size: 1.2rem;
} */

.ppal .carousel-indicators [data-bs-target] {
    background-color: #111;
}

.ppal .carousel-indicators {
    bottom: -40px;
}


.fila_info_valpo {
    align-items: stretch;
    gap: 30px;
}

.fila_info_valpo .col-sm {
    background-color: #fff;
    border-radius: 20px;
}

.fila_info_valpo .col-sm:first-of-type {
    display: flex;
    align-items: center;
    justify-content: center;
}

.preventas {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info_plan {
    padding: 30px;
}

.info_plan h4 {
    color: #111;
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0;
}

.tit_preventa span {
    display: block;
    font-weight: 400;
    font-size: .9rem;
}

.info_plan .precio {
    font-size: 2.9rem;
    font-weight: 800;
    color: var(--color-secundario);
    margin-bottom: -10px;
}

.info_plan .precio span {
    font-size: 2rem;
    font-weight: 600;
}

.info_plan .precio_old {
    text-align: center;
    font-size: 1.5rem;
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    text-decoration: line-through;
    color: #bcbcbc;
    opacity: .8;
    font-weight: 800;
}

.info_plan .precio_old span {
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
}

.disabled_preventa {
    filter: contrast(0);
    opacity: .3;
}

.info_plan .txt_separador {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.1;
    padding: 2px 0;
    border: 1px solid #111;
    border-left: 0;
    border-right: 0;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.list_info_sede {
    color: #000;
}

h1 {
    color: #fff;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
    font-size: 34px;
    padding: 0 5%;
}

h1 span {
    color: #00a7ff;
}


.list_info_sede {
    padding: 0;
    list-style: none;
    font-size: 1.1rem;
}

.fila_info_valpo .col-sm:last-of-type {
    /* display: flex;
    align-items: center; */
    padding: 0;
}

.mapa_valpo {
    margin-top: 50px;
}

.mapa_valpo iframe {
    border-radius: 20px;
}

.box_preventa_mapa {
    border-radius: 20px;
    background: linear-gradient(45deg, #000, transparent), url(../img/bg-cta-sportlife2.jpg) no-repeat center;
    background-size: cover;
    width: 100%;
    height: 460px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.box_ppal {
    padding: 30px;
}

.box_ppal h2 {
    color: #fff;
    font-size: 35px;
    font-weight: 700;
}

.box_ppal ul {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.box_ppal ul li {
    margin-bottom: 10px;
}

.bg_form_init {
    background-color: #00a7ff;
    border-radius: 50px;
}

.iconos_sede {
    background-color: #111;
}

.iconos_sede .container {
    max-width: 1140px;
}

.iconos_flex {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.icono_valpo {
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background-color: var(--color-secundario);
    justify-content: center;
}

.icono_valpo i {
    font-size: 1.1rem;
    color: #111;
}

.icono_valpo p {
    font-size: .7rem;
    color: #111;
    margin: 0;
}

.iconos {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0 5%;
}

.box_icono {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 25%;
}

.box_icono img {
    width: 45px;
}

.box_icono p {
    color: #fff;
    text-align: center;
    font-size: 14px;
}

.galeria {
    /* background: url(../img/bg-galeria.png) no-repeat right center; */
    background: #111;
    background-size: cover;
    /* margin-top: -180px; */
    /* padding-top: 200px; */
    padding-bottom: 50px;
}

.galeria h2 {
    color: #1b3160;
    padding: 0 10%;
}

.carrusel_fotos {
    position: relative;
    z-index: 2;
}

.video {
    position: relative;
    background-color: #111;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0% 100%);
    border-radius: 0 50px 0 50px;
    margin-top: -150px;
    padding-top: 200px;
    padding-bottom: 150px;
}

.video::before {
    background: radial-gradient(#ffffff36, transparent);
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.video .container {
    max-width: 1000px;
}

.content_video {
    border: 10px solid #00a7ff;
    position: relative;
    border-radius: 60px;
    overflow: hidden;
}

.content_video .btn_play {
    width: 100px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.inbody {
    padding-top: 0;
    margin-top: -60px;
    background: url(../img/bg-inbody.jpg) no-repeat center;
    background-size: cover;
    padding-top: 30px;
}

.bg_tit_inbody {
    background: url(../img/bg-tit-inbody.png) no-repeat center;
    background-position: cover;
    border-radius: 20px;
}

.inbody h2 {
    color: #fff;
    margin: 50px 0;
}


.box_inbody {
    background: url(../img/bg-inbody-new.jpg) no-repeat right center;
    background-size: 60%;
    border-radius: 50px;
    position: relative;
    z-index: 2;
}

.box_info_inbody {
    background-color: #00a7ff;
    padding: 50px;
    border-radius: 50px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.box_info_inbody p {
    color: #fff;
    font-size: 18px;
}

.sedes {
    position: relative;
    background-color: #111;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0% 100%);
    border-radius: 0 50px 0 50px;
    padding-top: 250px;
    margin-top: -200px;
    padding-bottom: 90px;
    z-index: 1;
}

.sedes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(#ffffff36, transparent);
    z-index: -1;
}

.sedes h2 {
    color: #fff;
}

.sedes .btn.btnSportlife {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 25px;
}

.img_btn {
    width: 25px;
    height: auto;
}

.cta {
    background: linear-gradient(to top, #000, #00000038), url(../img/sportlife-valpo-cta.jpg) no-repeat center top;
    background-size: cover;
    /* margin-top: -50px; */
    padding-top: 190px;
    padding-bottom: 190px;
}

.cta h2 {
    color: #fff;
}

.mapa_contacto {
    background: #000;
}

.box_form {
    background-color: var(--color-secundario);
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    border-radius: 20px;
    padding: 30px;
}

.flex_form {
    gap: 20px;
}

.flex_col {
    width: 100%;
}

.box_form label {
    color: #fff;

}

.box_form input {
    width: 100%;
}

.contacto {
    position: relative;
    background-color: #000;
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0% 100%);
    border-radius: 0 50px 0 0;
    margin-top: -50px;
}

.contacto::before {
    /* content: ''; */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: radial-gradient(#ffffff36, transparent); */
    z-index: -1;
}

.contacto .container {
    max-width: 1140px;
}

.faqs {
    background-color: #000;
}

.faqs .container {
    max-width: 900px;
}

.faqs .accordion-button:not(.collapsed) {
    background-color: var(--color-secundario);
    color: #111;
}

.faqs .accordion-button {
    background-color: var(--color-secundario);
    color: #111;
    font-weight: 700;
    border-radius: 10px;
    padding: 15px 30px;
}

.faqs .accordion-item {
    border: 0;
    margin-bottom: 15px;
    border-radius: 10px;
}

.faqs .accordion-body {
    padding: 30px;
}

.faqs table {
    font-size: 13px;
}

.faqs table th {
    background: #bcbcbc;
    vertical-align: middle;
}

.faqs table td {
    font-size: 12px;
}

/* .box_contacto {
    background: url(../img/contactanos.jpg) no-repeat right center;
    background-size: cover;
    border-radius:50px;
} */

.box_form_contacto {
    padding: 45px;
    border-radius: 50px;
    background-color: #00a7ff;
}

.contacto h2 {
    font-size: 45px;
    color: #fff;
}

.contacto label {
    color: #fff;
}

.form-control {
    margin-bottom: 15px;
}

.btn.btnSportlife.btnSubmit {
    background: #111;
    font-size: 15px;
    color: #fff;
}


#map {
    width: 100%;
    height: 500px;
    border-radius: 20px;
}

.region-filter {
    /* position: absolute; */
    display: flex;
    padding: 20px 0;
    z-index: 1;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.region-filter label {
    color: #fff;
}

.region-filter select {
    padding: 10px 30px;
    border-radius: 50px;
    border: 0;
}

.ppal .container {
    max-width: 1140px;
}

.box_contacto .d-flex {
    gap: 30px;
}

.logo_foot {
    max-width: 250px;
    height: auto;
}

.logo_foot.logo_pch {
    max-width: 90px;
}

.nos_adelantamos {
    padding: 20px;
    background: #b39d66;
    display: table;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 18%;
    right: 41%;
    transform: rotate(315deg);
}

.nos_adelantamos h2 {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 0;
}

@media (max-width:767px) {
    .header {
        min-height: 40vh;
        background: #000;
        padding: 30px 0;
    }

    .logo {
        width: 150px;
        float: right;
    }

    .ppal::before {
        clip-path: polygon(0 3%, 100% 0, 100% 100%, 0% 100%);
    }

    .ppal .carousel-item.active .carousel-caption {
        display: block !important;
    }

    .tit_secciones {
        font-size: 30px;
    }

    h1 {
        font-size: 25px;
    }

    .bg_form_init iframe {
        height: 900px;
    }

    .iconos {
        flex-wrap: wrap;
        gap: 4%;
    }

    .box_icono {
        width: 48%;
    }

    .cta {
        padding-bottom: 100px;
    }

    .faqs {
        padding-top: 0px;
    }

    .contacto h2 {
        font-size: 30px;
    }

    .fila_info_valpo {
        padding: 0 20px;
    }

    .iconos_flex {
        flex-direction: column;
        padding: 0 30px;
    }

    .icono_valpo {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
}