/*
################# HEADER #################
*/
.header {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 500px) {
    .header .container--l {
        padding-inline: 0;
        padding: 0 10px;
    }
}


.item__hide {
    display: none;
}


/*
################# HERO HEADER #################
*/
@keyframes rotateGradient {
    0% {
        background-position: 0% 50%;
    }

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

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

.hero--section {
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 100px 50px;
    background: linear-gradient(45deg, rgba(227, 6, 19, 1) 0%, rgba(163, 16, 8, 1) 100%);
    background-size: 300% 300%;
    animation: rotateGradient 5s infinite linear;
}



.hero--section .hero__container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}


.hero--section .hero__img-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -230px;
    z-index: 0;
}

.hero--section .hero__img-bg img {
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.hero--section .hero__container .hero__title {
    position: relative;
    text-align: center;
    margin-bottom: -40px;
    z-index: 1;
}

.hero--section .hero__container .hero__img-main {
    position: relative;
    width: 100%;
    height: 500px;
}

.hero--section .hero__container .hero__img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero--section .hero__container .hero__img-main .hero__description {
    position: absolute;
    width: 180px;
    bottom: 0;
    right: -200px;
}



@media screen and (max-width: 1360px) {
    .hero--section .hero__container {
        max-width: 700px;
    }
}

@media screen and (max-width: 1110px) {
    .hero--section .hero__container {
        max-width: 550px;
    }
}


@media screen and (max-width: 960px) {
    .hero--section {
        padding: 80px 30px;
    }

    .hero--section .hero__img-bg img {
        opacity: 0.5;
    }

    .hero--section .hero__container {
        max-width: 700px;
    }

    .hero--section .hero__container .hero__img-main {
        height: auto;
    }

    .hero--section .hero__container .hero__img-main .hero__description {
        position: relative;
        width: 100%;
        bottom: initial;
        right: initial;
        text-align: center;
        margin-top: 30px;
    }
}


/*
################# TABS #################
*/
.switcher__list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    gap: 10px;
}

.switcher__btn {
    border: 1px solid transparent;
    padding: 5px 15px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.switcher__btn:hover {
    border: 1px solid var(--red-color);
    border-radius: 30px;
}

.switcher__btn.active {
    border: 1px solid var(--red-color);
    background: var(--red-color);
    border-radius: 30px;
    color: #fff;
}

.tab--container {
    position: relative;
    overflow: hidden;
}

.tab__content {
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out, visibility 0.5s;
    position: absolute;
    width: 100%;
    z-index: 0;
}

.tab__content.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative;
    z-index: 1;
}

.tab__content.exiting {
    opacity: 0;
    transform: translateX(-50px);
    z-index: 0;
}



.tab__wrap {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 50px
}

.tab__wrap div {
    flex-basis: calc(50% - 50px);
}

.tab__content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.tab__text {
    text-align: left;
}


/*
################# IMG OVERFLOW #################
*/
@media screen and (max-width: 980px) {
    .overflow--img.hide--mobile {
        display: none;
    }
}


/*
################# FORM SECTION #################
*/
.form--section {
    width: 100%;
    position: relative;
}

.form--section .top__form-section {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 50px 20px;
}

.form--section .top__form-section .bg__form-section {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.form--section .top__form-section .bg__form-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8
}

.wrapper__section {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 100px 150px;
    color: white;
    z-index: 2;
}

.wrapper__section .content>* {
    margin-bottom: 13px;
}

.wrapper__section .content .price__section {
    margin: 20px 0 15px;
}

.wrapper__section .content .title {
    max-width: 450px;
    margin: 0 auto 20px;
}


.wrapper__section .content .price__section .price__text {
    text-transform: uppercase;
    margin-bottom: 13px;
}

.wrapper__section .content .price__section .price_qty {
    font-size: 35px;
    font-weight: 700;
    margin-top: -10px;
}

.wrapper__section .content .price__section .price_qty span {
    font-size: 18px;
}

.wrapper__section .content .footer__text {
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
}

.form--section .bottom__form-section {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 50px 20px;
}

.form--section .bottom__form-section .bg__form-section {
    position: absolute;
    left: -150px;
    top: 0;
    bottom: 0;
    z-index: 0;
}

.bottom__form-section .wrapper__form {
    position: relative;
    background: white;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 8px;
    z-index: 2;
}

.bottom__form-section .wrapper__form .title {
    margin-bottom: 30px;
}

.form--section .bottom__form-section .bg__form-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.fixed__img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
    height: auto;
    z-index: 2;
    margin: 0 auto;
    pointer-events: none;
}

body.page-id-2447 .header .logo,
body.page-id-2451 .header .logo {
    display: none;
}

body.page-id-2447 .fixed__img,
body.page-id-2451 .fixed__img {
    position: fixed;
    bottom: 0;
    top: inherit
}

.fixed__img img {
    display: block;
}

@media screen and (max-width: 1200px) {
    .form--section {
        overflow: hidden;
    }

    .fixed__img {
        max-width: 120vw;
        width: 120vw;
    }

    .fixed__img img {
        width: 100%;
        object-fit: cover;
    }
}

@media screen and (max-width: 960px) {
    .fixed__img {
        max-width: 140vw;
        width: 140vw;
    }

    .fixed__img img {
        width: 100%;
        object-fit: cover;
    }
}

@media screen and (max-width: 860px) {
    .wrapper__section {
        padding: 70px 100px;
    }

    .fixed__img {
        display: none;
    }

    .bottom__form-section .wrapper__form {
        padding: 40px 15px;
    }
}

@media screen and (max-width: 600px) {
    .wrapper__section {
        padding: 40px;
    }
}


/*
################# BANNER #################
*/
.banner--desktop {
    width: 100%;
}

.banner--desktop img {
    display: block;
    width: 100%;
    height: 100%;
}

.banner--mobile {
    display: none;
}

@media screen and (max-width: 890px) {
    .banner--mobile {
        display: block;
    }

    .banner--desktop {
        display: none;
    }
}



/*
################# FOOTER #################
*/
.hercules__right .form {
    max-width: 430px;
}

.hercules__right .form input[type="text"],
.hercules__right .form input[type="date"],
.hercules__right .form input[type="email"],
.hercules__right textarea {
    background: transparent;
    border-radius: 0;
    border: 0 !important;
    border-bottom: 2px solid white !important;
    color: white;
}

.hercules__right textarea::placeholder,
.hercules__right .form input::placeholder {
    color: white;
}

.hercules__right textarea {
    height: 50px !important;
}

.hercules__right .form .wpforms-container em.wpforms-error,
.form--hubspot .hs-error-msg {
    color: white;
}


.hercules__right .wpforms-field-gdpr-checkbox .wpforms-field-description {
    color: white !important;
    opacity: 0.8;
}

.hercules__right .wpforms-field-gdpr-checkbox label {
    color: white !important;
}

.hercules__right .wpforms-submit {
    background: black;
    padding: 22px 50px;
    text-transform: uppercase
}



/*################# WPFORMS ################# */
.wpforms-field-radio ul {
    display: flex;
    flex-flow: row wrap;
    gap: 12px;
}

.form--copy {
    line-height: 1.3;
    margin-top: 40px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    font-size: 13.8px !important;
}




/*################# TEXT WITH NUMBERS ################# */
.text--with-number {
    display: flex;
    gap: 50px;
    margin-bottom: 30px;
}

.text--with-number:last-child {
    margin-bottom: 0;
}

.text--with-number .text__with-number-desc {
    padding-top: 40px;
}

.text--with-number .text__with-number-desc .title {
    margin-bottom: 15px;
}

@media screen and (max-width: 600px) {
    .text--with-number {
        width: 100%;

        display: flex;
        flex-flow: column nowrap;
        gap: 10px;
        margin-bottom: 20px;
    }

    .text--with-number div {
        width: 100%;
        padding: 5px;
    }

    .text__with-number-num {
        font-size: 42px;
    }

    .text--with-number .text__with-number-desc {
        padding-top: 0;
    }

}


/*################# MARQUEE TEXT SLIDER ################# */
.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    position: relative;
    padding-left: 40px;
}

.marquee.to_left .marquee-content {
    padding: 20px 0;
    display: flex;
    flex-shrink: 0;
    animation: marquee_right_left 45s linear infinite;
}

.marquee.to_right .marquee-content {
    padding: 20px 0;
    display: flex;
    flex-shrink: 0;
    animation: marquee_left_right 45s linear infinite;
}

.marquee.marquee--img .marquee-content {
    padding: 35px;
}

.marquee span {
    position: relative;
    font-size: 24px;
    padding: 0 40px;
    font-weight: bold;
    white-space: nowrap;
    text-align: center;
}

.marquee span:before {
    position: absolute;
    content: '';
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50px;
    background-color: black;
}

.marquee.marquee--img span:before {
    position: relative;
}

.marquee.marquee--img img {
    display: block;
    max-width: 280px;
}

/* Animación izquieda-derecha */
@keyframes marquee_right_left {
    from {
        transform: translateX(0);
    }

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

/* Animación derecha-izquierda */
@keyframes marquee_left_right {
    from {
        transform: translateX(-100%);
    }

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



/*################# SLIDER IMG WITH TEXT ################# */
.slider--text-img {
    padding-bottom: 50px;
}

.slider__text-img-item {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 30px;
}

.slider__text-img-item div {
    flex-basis: calc(50% - 30px);
}

.slider__text-img-item .image img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.slider__text-img-item .content .title {
    margin-bottom: 30px;
}

.slider__text-img-item .content a:not(.button) {
    text-decoration: underline;
}

/* .swiper-slide-next .image img {
    width: 200px;
    height: 380px;
    transform: translateX(-500%);
} */

/* .slider--text-img .swiper-pagination {
    width: 100px !important;
    left: initial !important;
    bottom: 0px;
    right: 200px;
} */
.slider--text-img .swiper-pagination {
    width: 100px !important;
    left: initial !important;
    bottom: 0;
    right: 20%;
    transform: translateX(-25%);
}

.slider--text-img .swiper-button-prev {
    left: auto;
    right: 550px;
}

.slider--text-img .swiper-button-next,
.slider--text-img .swiper-button-prev {
    background-color: white;
    border-radius: 100%;
    height: 40px;
    width: 40px;
    padding: 0px;
}

.slider--text-img .swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px;
    color: var(--red-color)
}

.slider--text-img .swiper-button-next.swiper-button-disabled,
.slider--text-img .swiper-button-prev.swiper-button-disabled {
    display: none !important;
}


.slider--text-img .swiper-pagination-bullet-active {
    position: relative;
    background-color: var(--red-color);
}

.slider--text-img .swiper-pagination-bullet-active:before {
    position: absolute;
    content: '';
    left: 50;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--red-color);
    border-radius: 20px;
    opacity: 0.6;
    width: 17px;
    height: 17px;
    animation: pulse-animation 1.5s infinite ease-in-out;
}

@keyframes pulse-animation {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
}

@media screen and (max-width: 1348px) {
    .slider--text-img .swiper-button-prev {
        right: 500px;
    }
}

@media screen and (max-width: 1248px) {
    .slider__text-img-item .image img {
        height: 650px;
    }

    .slider--text-img .swiper-button-prev {
        right: 400px;
    }
}

@media screen and (max-width: 1148px) {
    .slider__text-img-item .image img {
        height: 750px;
    }

    .slider--text-img .swiper-button-prev {
        right: 350px;
    }
}


@media screen and (max-width: 980px) {

    .slider__text-img-item div {
        flex-basis: 100%;
    }

    .slider__text-img-item div:first-of-type {
        order: 2;
    }

    .slider__text-img-item .image img {
        display: block;
        width: 100%;
        height: 280px;
        object-position: center top;
    }

    .slider--text-img .swiper-button-prev {
        left: 10px;
        right: auto;

    }

    .slider--text-img .swiper-button-prev,
    .slider--text-img .swiper-button-next {
        top: 140px;
    }

    .slider--text-img .swiper-pagination {
        width: 100% !important;
        right: initial;
        transform: initial;
    }

}


/* 
.slider--text-img .swiper-slide:last-child .image {
    position: relative;
}

.slider--text-img .swiper-slide:last-child .image img {
    position: absolute;
    right: 0
}

@media screen and (max-width: 1487px) {
    .slider--text-img .swiper-button-prev {
        right: 45%;
    }

    .swiper-slide-next .image img {
        transform: translateX(-450%);
    }
}

@media screen and (max-width: 1390px) {
    .swiper-slide-next .image img {
        transform: translateX(-400%);
    }
}

@media screen and (max-width: 1280px) {
    .swiper-slide-next .image img {
        transform: translateX(-380%);
    }
}

@media screen and (max-width: 1250px) {
    .swiper-slide-next .image img {
        transform: translateX(-360%);
    }
}

@media screen and (max-width: 1230px) {
    .swiper-slide-next .image img {
        transform: translateX(-340%);
    }
}

@media screen and (max-width: 1160px) {
    .swiper-slide-next .image img {
        transform: translateX(-310%);
    }
}

@media screen and (max-width: 1110px) {
    .swiper-slide-next .image img {
        transform: translateX(-280%);
    }
}

@media screen and (max-width: 1045px) {
    .swiper-slide-next .image img {
        transform: initial;
    }

    .slider--text-img .swiper-button-prev {
        right: auto;
        left: 10px;
    }
} */





@media screen and (max-width: 600px) {
    .overflow--img {
        width: 100%;
    }
}

/*################# ALTERNATIVE IMG BLOCK ################# */
.alternative--img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/*################# MARTXA ################# */
.page-id-1388,
.page-id-2283 {
    overflow-x: hidden;
}

.martxa--hero-section {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}


.martxa__hero-frame1 img,
.martxa__hero-frame2 img,
.martxa__hero-frame3 img,
.martxa__hero-container {
    will-change: transform;
}

.martxa__hero-frame1 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.martxa__hero-frame2 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.martxa__hero-frame3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.martxa__hero-frame1 img,
.martxa__hero-frame2 img,
.martxa__hero-frame3 img {
    width: 100%;

}

.martxa__hero-frame1 img {
    z-index: 1;
    transform: scale(1);
}

.martxa__hero-frame2 img {
    z-index: 2;
    transform: scale(1.3);
}

.martxa__hero-frame3 img {
    z-index: 4;
    transform: scale(1.5);
}


.martxa__hero-container {
    opacity: 0;
    position: relative;
    z-index: 3;
}


/* CARD PLAN */
.martxa--card-plan {
    position: relative;
    width: 100%;
    background-color: white;
    border: 1px solid lightgray;
    border-radius: 12px;
    box-shadow: 3px 3px 28px 2px rgba(0, 0, 0, 0.26);
    -webkit-box-shadow: 3px 3px 28px 2px rgba(0, 0, 0, 0.26);
    -moz-box-shadow: 3px 3px 28px 2px rgba(0, 0, 0, 0.26);
}

.places--container {
    position: absolute;
    top: -20px;
    left: 20px;
    background-color: #5a5a5a;
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 5px;
    border-radius: 10px;
}

.martxa__card-container {
    width: 100%;
    height: 100%;
    padding: 12px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
}

.martxa__card-img {
    position: relative;
}

.martxa__card-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.martxa__card-container h3 {
    font-family: 'Akrobat', sans-serif;
}

.martxa__card-img .martxa__extra-info {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    overflow: hidden;
}

.martxa__card-content {
    height: 100%;
    margin: 8px 0;
    padding: 0 10px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
}

.martxa__card-info {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.martxa__card-info:first-of-type {
    margin: 10px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid lightgray;
}

.martxa__card__agotado {
    margin-top: 25px;
    font-weight: 700;
}


/* CINTA MARQUEE */
.cinta {
    margin-top: -38px;
    background: rgb(255, 255, 255);
    /*     background: linear-gradient(78deg, rgba(255, 255, 255, 1) 0%, rgba(238, 250, 85, 1) 11%, rgba(238, 250, 85, 1) 90%, rgba(255, 255, 255, 1) 100%);*/
    background: linear-gradient(78deg, rgba(255, 255, 255, 1) 0%, #E30613 11%, #E30613 90%, rgba(255, 255, 255, 1) 100%);
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    white-space: nowrap;
    width: 100vw;
    overflow: hidden;
    transform: rotate(2deg);
    /* InclinaciÃ³n de la cinta */
    position: relative;
}

.cinta p {
    color: white;
    display: inline-block;
    margin: 0;
    padding: 0 20px;
    font-size: 24px;
    /*   animation: movimiento 10s linear infinite; */
}

@keyframes movimiento {
    from {
        transform: translateX(100%);
    }

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


/*################# FOOTER ################# */
footer .section {
    padding-top: 40px;
}

.footer--contact,
.footer--contact ul {
    list-style: none;
    padding-left: 0;
}

.footer--contact li:first-child {
    margin-bottom: 5px;
}

.footer--contact li {
    margin-bottom: 5px;
}

.footer--contact a {
    padding: 0;
    border-bottom: 1px solid white;
}



/* ---------------------------------- */
/* Formulario de matrícula */

.matricula__step {
    display: none;
}

.matricula__step--current {
    display: block;
}

.matricula__step__number {
    text-transform: uppercase;
}

.matricula ul {
    list-style: none;
}

.matricula__action {
    color: var(--red-color);
    display: flex;
    font-weight: 700;
    gap: 8px;
    align-items: center;
}

.matricula__action--prev {
    border: 1px solid;
    padding: 5px 14px;
    font-size: 16px;
    border-radius: 1000px;
}

.matricula__field__subtitle {
    margin-bottom: 10px;
}

.matricula__field__area,
.matricula__subfield__area {
    position: relative;
    margin-top: 6px;
}

.matricula__field__input {
    width: 100%;
}

.matricula__field__message {
    margin-top: 8px;
}

.matricula__field__alert {
    height: 75px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.matricula__field--filled {
    visibility: hidden;
    position: absolute;
}

.matricula__field__input+.matricula__field__input {
    margin-top: 6px;
}

/* Checkbox y radio */
.matricula__field--checkbox .matricula__field__area,
.matricula__field--radio .matricula__field__area,
.matricula__field--legal .matricula__field__area,
.matricula__field--planes__turno__selector .matricula__field__area,
.matricula__field--planes__temporada .matricula__field__area,
.matricula__field--boolean .matricula__field__area {
    display: flex;
    gap: 10px;
    font-size: 16px;
}

.matricula__field--checkbox input,
.matricula__field--radio input,
.matricula__field--legal input,
.matricula__field--planes__turno__selector input,
.matricula__field--planes__temporada input,
.matricula__field--boolean input {
    margin-top: 3px !important;
}

.matricula__field--checkbox .matricula__field__area a,
.matricula__field--radio .matricula__field__area a,
.matricula__field--legal .matricula__field__area a,
.matricula__field--planes__turno__selector .matricula__field__area a,
.matricula__field--planes__temporada .matricula__field__area a,
.matricula__field--boolean .matricula__field__area a {
    text-decoration: underline;
}

.matricula__field--radio ul {
    display: flex;
    gap: 28px;
}

/* Select */
.matricula__field--select select,
.matricula__field--planes__turno__opciones select {
    padding-right: 35px !important;
}

.matricula__field--select .matricula__field__area::after,
.matricula__field--planes__turno__opciones .matricula__field__area::after {
    font-family: 'Material Symbols Outlined';
    content: "keyboard_arrow_down";
    -webkit-font-feature-settings: 'liga';
    position: absolute;
    transform: translateY(-50%);
    right: 10px;
    pointer-events: none;
    font-size: 22px;
    top: calc(50% + 1px);
}

/* Planes */
.matricula__alert {
    display: none;
    font-size: 14px;
    background: #e9f4f5;
    border: 1px solid #c9d9da;
    border-radius: 3px;
    padding: 6px 10px;
    margin-top: 10px;
    color: black;
}

.matricula__field--planes__checkboxes__unable {
    display: none;
}



.matricula__field--planes__turno--period-hidden {
    display: none;
}







.matricula__field--planes__checkboxes__unable+.matricula__alert {
    display: block;
}

.matricula__field--planes__turno--hidden {
    display: none;
}

.matricula__field--planes__turno--disabled {
    opacity: 0.3;
    pointer-events: none;
}

.matricula__field--planes__turno .matricula__field--planes__turno__opciones {
    display: none;
    padding-left: 30px;
    margin: 10px 0;
}

.matricula__field--planes__turno .matricula__field--planes__turno__opciones select {
    padding: 5px 10px;
    font-size: 15px;
}

.matricula__field--planes__turno--selected .matricula__field--planes__turno__opciones {
    display: block;
}


/* Repeater */
.matricula__fields--repeater {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.matricula__fields--repeater .matricula__row {
    border: 1px solid lightgray;
    border-radius: 5px;
}

.matricula__fields--repeater .matricula__row__title {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.matricula__fields--repeater .matricula__row:not(.matricula__row--hidden) .matricula__row__title {
    position: sticky;
    top: 97px;
    background: white;
    z-index: 1;
    border-bottom: 1px solid lightgray;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.matricula__fields--repeater .matricula__row__content {
    padding: 50px;
    padding-top: 40px;
}

.matricula__fields--repeater .matricula__row__title__label {
    cursor: pointer;
    width: 100%;
}

.matricula__fields--repeater .matricula__row__title__remove {
    cursor: pointer;
}

.matricula__fields--repeater .matricula__row--disabled {
    display: none;
}

.matricula__fields--repeater .matricula__row--hidden .matricula__row__content {
    display: none;
}

/* Control de visualización de campos condicionales */
.matricula__field--conditional--hidden {
    display: none;
}

/* Precarga de formulario */
.matricula__loading {
    width: 100%;
    display: block;
    text-align: center;
    padding-bottom: 30px;
    padding-bottom: 120px;
}

/* Precios */
.matricula__prices {
    height: 100%;
}

.matricula__prices>div {
    height: 100%;
}

.matricula__prices__resumen {
    max-width: 430px;
}

.matricula__prices__resumen:not(:empty),
.matricula__step__right,
.matricula__loading {
    position: sticky;
    top: 130px;
}

.matricula__prices__resumen:not(:empty)::before,
.matricula__step__right::before,
.matricula__loading::before {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: 0.5s;
    z-index: 100;
}

.matricula__prices__resumen:not(:empty)::after,
.matricula__step__right::after,
.matricula__loading::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    transition: 0.5s;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    width: 40px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #E30613;
    --_m:
        conic-gradient(#0000 10%, #000),
        linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: loading 1s infinite linear;
    opacity: 0;
    z-index: 110;
}

.matricula__prices__resumen--calculating:not(:empty)::before,
.matricula--loading .matricula__step__right::before,
.matricula--loading .matricula__loading::before {
    pointer-events: unset;
    opacity: 1;
}

.matricula__prices__resumen--calculating:not(:empty)::after,
.matricula--loading .matricula__step__right::after,
.matricula--loading .matricula__loading::after {
    opacity: 1;
}

.matricula__prices__resumen__mobile {
    display: none;
}

.matricula__prices__resumen .matricula__alert {
    display: block;
}

@keyframes loading {
    to {
        transform: translateY(-50%) translateX(-50%) rotate(1turn)
    }
}

/* CTAs */
.matricula--fraccionable .matricula__actions--unico {
    display: none;
}

.matricula:not(.matricula--fraccionable) .matricula__actions--fraccionable {
    display: none;
}


/* Estado de error */
.matricula__field--ko:not(.matricula__field--planes) .matricula__field__input,
.matricula__field--ko .matricula__field__input:not([type="checkbox"]) {
    border-color: var(--red-color);
}


/* Validación ajax */
.matricula__field--ajax--loading {
    opacity: 0.5;
    pointer-events: none;
}


/* Responsive */
@media (max-width: 980px) {

    .matricula__fields--repeater .matricula__row:not(.matricula__row--hidden) .matricula__row__title {
        top: 84px;
    }

    .matricula__prices {
        height: auto;
    }

    .matricula__prices>div {
        height: auto;
    }

    .matricula__prices__resumen {
        background: black;
        color: white;
        padding: 12px 20px;
        border-radius: 15px;
        position: fixed !important;
        bottom: 10px;
        z-index: 1000;
        left: 50px;
        width: calc(100% - 100px);
        max-width: none;
        transform: translateY(100%);
        transition: 0.5s;
        opacity: 0;
        pointer-events: none;
        top: auto !important;
    }

    .matricula__prices__resumen__detalle__abrir {
        cursor: pointer;
    }

    .matricula__prices__resumen__detalle__abrir__icon {
        transition: 0.1s;
    }

    .matricula__prices__resumen__detalle__dropdown {
        display: none;
    }

    .matricula__prices__resumen:empty {
        display: none;
    }

    .matricula__prices__resumen__mobile {
        display: block;
    }

    .matricula__prices__resumen__desktop {
        display: none;
    }

    .matricula__prices__resumen--abierto {
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .matricula__prices__resumen--abierto .matricula__prices__resumen__detalle__dropdown {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .matricula__prices__resumen--abierto .matricula__prices__resumen__detalle__abrir__icon {
        transform: rotate(180deg);
    }

    .matricula--inviewport .matricula__prices__resumen {
        transform: none;
        pointer-events: unset;
        opacity: 1;
    }

}


@media (max-width: 570px) {

    .matricula__step__label {
        display: none;
    }

    .matricula__fields--repeater .matricula__row__content {
        padding: 25px !important;
    }

    .matricula__field--radio ul {
        display: block;
    }

    .matricula__secure {
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .matricula__fields--repeater .matricula__row:not(.matricula__row--hidden) .matricula__row__title {
        top: 70px;
    }

}




/* ---------------------------------- */
/* Área privada */

.areaprivada {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
}

.areaprivada__left {
    grid-column-start: 1;
}

.areaprivada__right {
    grid-column-start: 3 span;
}

.areaprivada__left li {
    list-style: none;
}

.areaprivada__link {
    padding: 6px 0;
}

.areaprivada__link--current {
    color: var(--red-color);
    font-weight: 700;
}

/* Inscripción */
.areaprivada__inscripcion table {
    font-size: 15px;
    text-align: left;
}

.areaprivada__inscripcion table tr {
    background: none;
}

.areaprivada__inscripcion table td,
.areaprivada__inscripcion table th {
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 7px !important;
}

.areaprivada__inscripcion table tr td span:first-child {
    display: none;
    font-weight: 600;
}

@media (max-width: 1440px) {

    .areaprivada__inscripcion table thead {
        display: none;
    }

    .areaprivada__inscripcion table tr {
        display: flex;
        flex-direction: column;
    }

    .areaprivada__inscripcion table tr:not(:last-child) td:last-child {
        border-bottom: 1px solid black !important;
    }

    .areaprivada__inscripcion table tr td {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 4px;
    }

    .areaprivada__inscripcion table tr td span:first-child {
        display: inline;
    }

}

/* Pop up para seleccionar inscripciones a pagar */
.areaprivada__pagar ul {
    width: 100%;
}

.areaprivada__pagar li {
    list-style: none;
    padding: 10px 0;
}

.areaprivada__pagar li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 14px 0;
}

.areaprivada__pagar__cupon {
    border-bottom: none !important;
    padding-bottom: 5px !important;
}

/*
.areaprivada__pagar__error {
    display: none;
}
.areaprivada__pagar__error--show {
    display: block;
}
*/


/* Mensajes */
.message {
    background: rgba(224, 44, 44, 0.2);
    padding: 20px;
    border-radius: 6px;
    border: 1px solid rgba(224, 44, 44, 0.2);
}

.message.message--ok {
    background: rgba(25, 135, 84, 0.2);
    border: 1px solid rgba(25, 135, 84, 0.5);
    margin-bottom: 40px;
}

.message a {
    font-weight: 700;
    color: var(--red-color);
    border-bottom: 1px solid;
}

.message+.message {
    margin-top: 10px;
}

.message+.areaprivada {
    margin-top: 80px;
}

.area__privada-descargas li a span {
    border-bottom: 2px solid var(--red-color);
}

.area__privada-descargas li a svg {
    transition: transform 0.2s ease;
}

.area__privada-descargas li:hover a svg {
    transform: translateY(2px);
}

.area__privada-descargas li a:hover {
    color: var(--red-color);
}

.container--update-account-buttons {
    margin: 20px 0;
}

@media (max-width: 980px) {

    .areaprivada {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    .message+.areaprivada {
        margin-top: 40px;
    }

    .areaprivada__left {
        border-left: 3px solid #dedede;
        padding-left: 20px;
    }

}


/* ---------------------------------- */
/* Etiqueta */

.etiqueta {
    display: inline-block;
    text-transform: uppercase;
    font-size: 12px;
    text-align: center;
    border-radius: 5px;
    padding: 0 5px;
    border: 1px solid #4e4e4e;
    background: rgba(78, 78, 78, 0.05);
    color: #4e4e4e;
}

.etiqueta--pagado,
.etiqueta--programado {
    border-color: #2eba2e;
    background: rgba(46, 186, 46, 0.05);
    color: #2eba2e;
}

.etiqueta--fallido,
.etiqueta--no-finalizado {
    border-color: #e02c2c;
    background: rgba(224, 44, 44, 0.05);
    color: #e02c2c;
}









/* TABLA ESKOLA PRECOS */

.my-custom-pricing {
    width: 100%;
    max-width: 1000px;
    margin: 60px auto;
    font-family: 'Barlow', sans-serif;
    line-height: normal;
}

.my-custom-pricing *,
.my-custom-pricing *::before,
.my-custom-pricing *::after {
    box-sizing: border-box;
}

.pricing-wrapper {
    display: flex;
    gap: 15px;
    padding: 20px;
    position: relative;
    align-items: flex-start;
    justify-content: center;
}

.features-col {
    flex: 0 0 180px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    cursor: default;
    transform: translateY(-5px);
    margin-top: 300px;
}

.feature-label {
    background: #ffffff;
    color: #222;
    font-size: 13px;
    border-radius: 5px;
    font-weight: 700;
    line-height: 1.3;
    padding: 0 14px;
    height: 72px;
    display: flex;
    align-items: center;
}

.plan-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    cursor: default;
    border-radius: 16px;
    overflow: visible;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 380px;
}

.plan-col:hover {
    transform: scale(1.03);
    z-index: 10;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.plan-col.featured {
    position: relative;
    z-index: 2;
    box-shadow: 0 12px 60px rgba(0, 0, 0, 0.4);
}

.featured-badge {
    background: #111;
    color: #fff;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    padding: 10px;
    position: absolute;
    bottom: 100%;
    left: 0;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.254);
    transform: translateY(10px);
    right: 0;
    border-radius: 10px 10px 10px 10px;
}

.plan-header {
    background: linear-gradient(to bottom, rgba(238, 0, 0, 0.1), white, white);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    border-radius: 16px 16px 0 0;
    padding: 20px;
}

.plan-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 38px;
    letter-spacing: 2px;
    color: #111;
    margin-bottom: 5px;
}

.discount-badge {
    background: #e00;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
    min-height: 22px;
}

.price-main {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 52px;
    color: #111;
    line-height: 1;
}

.price-sub {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.btn-inscribe {
    display: inline-block;
    background: #e00;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 11px 28px;
    border-radius: 6px;
    margin-top: 16px;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-inscribe:hover {
    background: rgb(179, 4, 4);
}

.feature-row {
    text-align: center;
    padding: 0 16px;
    border-bottom: 1px solid #00000016;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #111;
}

.feature-row.negative {
    color: #e00;
}

.plan-col .check {
    color: #3a3;
    font-size: 26px;
}

.cross {
    color: #e00;
    font-size: 22px;
}

@media (max-width: 950px) {
    .pricing-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }

    .features-col {
        display: none;
    }

    .plan-col {
        width: 100%;
        max-width: 450px;
    }

    .feature-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: auto;
        padding: 18px 20px;
    }

    .feature-row::before {
        content: attr(data-label);
        font-size: 13px;
        color: #666;
        text-align: left;
        flex: 1;
        font-weight: 600;
    }

    .feature-row span,
    .feature-row {
        text-align: right;
    }
}





/* MAPA CONTACTOS GRID ----> Para 3 iframes */

div.contact-maps-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 40px 0 !important;
}

div.contact-maps-grid .map-item {
    width: 100%;
}

div.contact-maps-grid iframe {
    width: 100%;
    border-radius: 12px;
}

@media (max-width: 950px) {
    div.contact-maps-grid {
        grid-template-columns: 1fr !important;
    }
}