/* 
Theme Name: Academia Fuenla Theme
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Generales*/
.heading-h1, .heading-h2 {
    font-family: "pragmatica extended", sans-serif;
    font-weight: 300;
    line-height: 1;
}

.heading-h1 {
    font-size: 72px;
}

.heading-h2 {
    font-size: 48px;
}

.bold-title {
    font-weight: 800;
}

.caps {
    text-transform: uppercase;
}

strong {
    font-weight: 800;
}

.white {
    color: #f7f7f7;
}

.primary-color {
    color: #1A4393;
}

/* HEADER */
.header {
    justify-self: center;
}

.header-sticky {
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.header-sticky.is-scrolled {
    background-color: #1A4393 !important;
}

.mobile-menu-icon .elementor-icon {
    background-color: transparent !important;
}

/* LANDING FORMULARIO */
form .section {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: 2rem;
}

form .two-col {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

form .flex-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

form .title {
    color: #f7f7f7;
    font-weight: bold;
    text-transform: uppercase;
    font-family: "pragmatica extended" sans sans-serif;
}

form .label-title {
    color: #f7f7f7;
    font-weight: bold;
}

form .wpcf7-list-item-label {
    color: #f7f7f7;
    line-height: 1.5;
    font-size: 12px;
}

form .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item {
    margin: 1rem 0 2rem;
}

form .checkbox {
    color: #f7f7f7;
    margin-bottom: 1rem;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

form .wpcf7-list-item.first {
    margin-left: 0 !important;
}

form input[type="submit"], form input[type="submit"]:hover {
    background-color: #F7F7F7;
    border: none;
    border-radius: 100px;
    font-family: "pragmatica extended", sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    padding: 12px 24px;
    color: #1A4393;
    position: relative;
    display: inline-flex;
    align-items: center;
    transition: padding-right 0.35s ease;
}

.wpcf7-response-output {
    background-color: #f7f7f7;
    border: 1px solid #f7f7f7 !important;
    color: #1A4393;
    border-radius: 5px;
}

/* BOTONES */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-right: 48px !important;
    transition: padding-right 0.35s ease;
}

.btn::before, .form input[type=submit]::before {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    transform: translateY(-50%);
    transform-origin: right center;
    transition:
        width 0.35s ease,
        right 0.35s ease;
}

.btn::after, .form input[type=submit]::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    transition: right 0.35s ease;
}

.btn:hover, .form input[type=submit]:hover {
    padding-right: 88px !important;
}

.btn:hover::before {
    width: 56px;
}

.btn:hover::after {
    right: 20px;
}

/* BLOQUE INSTALACIONES */
.grid-instalaciones > :first-child {
    grid-column: 1 / -1;
}

.instalaciones-container {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.instalaciones-container {
    min-height: 200px;
}

.grid-instalaciones > :first-child {
    min-height: 400px;
}

/* Bloque Instalaciones */
.instalaciones-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(26, 67, 148, 0);
    transition: background 0.45s ease;
    pointer-events: none;
    z-index: 0;
}

.instalaciones-container:hover::before {
    background: rgba(26, 67, 148, 0.82);
}

.instalaciones-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    z-index: 2;
    transform: translateY(0);
    transition: bottom 0.5s ease, transform 0.5s ease;
}

.instalaciones-container:hover .instalaciones-content {
    bottom: 50%;
    transform: translateY(50%);
}

.instalaciones-hover {
    display: flex !important;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.08s, transform 0.45s ease, max-height 0.5s ease, visibility 0.4s;
}

.instalaciones-container:hover .instalaciones-hover {
    opacity: 1;
    visibility: visible;
    max-height: 250px;
    transform: translateY(0);
}

/* SWIPER */
.swiper {
    height: 100%;
    border-radius: 20px;
}

.swiper .swiper-slide {
    height: 100% !important;
}

/* SECCION PASOS */
.timeline-item:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 35px;
    left: 50%;
    width: calc(100% + 50px);
    height: 4px;
    background: #FBCB00;
    z-index: 0;
}

/* Formularios */
.form-home input[type=text], .form-home input[type=tel], .form-home input[type=email] {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid #1A4393;
    border-radius: 0;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.form-home input::placeholder {
    color: #1A4393 !important;
}

.form-home input[type="submit"], .form-home input[type="submit"]:hover {
    background-color: #1A4393;
    color: #f7f7f7;
    position: relative;
}

.form-home-reserva input[type="submit"], .form-home-reserva input[type="submit"]:hover {
    background-color: #f7f7f7;
    color: #1A4393;
    position: relative;
}

.form-home-reserva .section {
    padding: 0 !important;
}

.form-home-reserva input {
    margin-bottom: 0 !important;
    padding-left: 1rem !important;
}

.form-home-reserva .two-col {
    gap: 4rem;
}

@media (max-width: 992px) {
    form .two-col {
        flex-direction: column;
    }
    
    .heading-h1 {
        font-size: 50px;
    }
    
    .heading-h2 {
        font-size: 32px;
        
    }
    
    .timeline-item::before {
        content: "";
        position: absolute;
        top: 35px;
        left: 50%;
        width: 4px !important;
        height: 30vh !important;
        background: #FBCB00;
        z-index: 0;
        
    }
}