/* General */
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 15px;
}

.terceario {
    color: #5f687b;
}

.color-base {
    color: color-mix(in srgb, #444444, transparent 30%);
}

.color-texto {
    color: #444444;
}

.activo {
    color: var(--cui-orange-wia);
}

.activo-hover:hover {
    color: var(--cui-orange-wia) !important;
}

.activo-border-hover:hover {
    border-color: var(--cui-orange-wia) !important;
}

.fondo-activo {
    background-color: var(--cui-orange-wia) !important;
}

.fondo-activo-transparente {
    background: color-mix(in srgb, var(--cui-orange-wia), transparent 92%);
}

.fondo-activo:hover {
    background-color: color-mix(in srgb, #10bc69, transparent 25%);
}

.fondo-superficial {
    background-color: #ffffff;
}

.section {
    padding: 60px 0;
    scroll-margin-top: 100px;
    overflow: clip;
}

/* Fin */

/* Footer */

.footer .footer-top {
    padding-top: 50px;
}

.footer .footer-about .sitename {
    color: #5f687b;
    font-size: 24px;
    font-weight: 600;
    font-family: Raleway;
}

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

.footer .footer-links {
    margin-bottom: 30px;
}

.footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}

.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul i {
    margin-right: 3px;
    font-size: 12px;
    line-height: 0;
}

.footer .footer-links ul i:hover {
    color: #10bc69;
}

.footer .footer-links ul a {
    display: inline-block;
    line-height: 1;
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, #444444, transparent 50%);
    font-size: 16px;
    margin-right: 10px;
    transition: 0.3s;
}

.footer .social-links a:hover {
    color: var(--cui-orange-wia);
    border-color: var(--cui-orange-wia);
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid color-mix(in srgb, #444444, transparent 90%);
}

/* Fin */

/* Header de la pagina de wia */

.list-header {
    display: none;
}

@media (max-width: 1200px) {
    .header .logo {
        order: 1;
    }

    .header .navmenu {
        order: 3;
    }

    .navmenu {
        display: none;
    }

    .list-header {
        display: block;
    }
}

.titulo-color {
    color: #5f687b;
}

.titulo-color:hover {
    color: var(--cui-orange-wia);
}

/* Fin */

/* Comienzo clases de 'services' */
.services {
    background-color: #f9f9f9;
    padding: 60px 0;
    scroll-margin-top: 100px;
    overflow: clip;
}

.section-title {
    text-align: center;
    padding: 30px 0;
    margin-bottom: 30px;
    position: relative;
}

.section-title span {
    position: absolute;
    top: 4px;
    color: color-mix(in srgb, #5f687b, transparent 95%);
    left: 0;
    right: 0;
    font-weight: 700;
    font-size: 52px;
    text-transform: uppercase;
    line-height: 1;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 0;
    position: relative;
}

.section-title p {
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.service-item {
    background-color: white;
    text-align: center;
    border: 1px solid color-mix(in srgb, #444444, transparent 85%);
    padding: 80px 20px;
    transition: border ease-in-out 0.3s;
    height: 100%;
}


.service-item .icono {
    margin: 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: 0.3s;
}

.service-item .icono i {
    color: white;
    font-size: 28px;
    transition: ease-in-out 0.3s;
}

.service-item h3 {
    font-weight: 700;
    margin: 10px 0 15px 0;
    font-size: 22px;
    transition: 0.3s;
}

/* Fin */

/* About us */
.about .content ul {
    list-style: none;
    padding: 0;
}

.about .content ul li {
    padding: 10px 0 0 0;
    display: flex;
}

.about .content ul i {
    margin-right: 0.5rem;
    line-height: 1.2;
    font-size: 1.25rem;
}

/* Fin */

/* Contacto */

.contact .info-wrap {
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.contact .info-item {
    margin-bottom: 17.5px;
}

.contact .info-item:hover i {
    background: var(--cui-orange-wia);
    color: white;
}

.contact .info-item i {
    font-size: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    margin-right: 15px;
}

.contact .info-item h3 {
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact .mapa {
    border: 0;
    width: 100%;
    height: 270px;
}

.contact .php-email-form {
    height: 100%;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.php-email-form .loading {
    display: none;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form button[type=submit] {
    border: 0;
    padding: 10px 30px;
    transition: 0.4s;
    border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
    background: #10bc69;
}

/* Fin */


.btn-titulo-color {
    color: #fff;
    padding: 8px 25px;
    margin: 0 0 0 30px;
    border-radius: 50px;
    transition: 0.3s;
}

.call-to-action {
    padding: 80px 0;
    background-color: var(--cui-orange-wia);
}

.call-to-action p {
    color: white;
}

.call-to-action h3 {
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.call-to-action .cta-btn {
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px;
    border: 2px solid white;
    color: white;
}

.call-to-action .cta-btn:hover {
    background: color-mix(in srgb, var(--cui-orange-wia) 90%, white 15%);
}

.hero {
    width: 100%;
    min-height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
}

.hero h1 {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
}

.hero p {
    margin: 5px 0 30px 0;
    font-size: 20px;
    font-weight: 400;
}

.hero .btn-watch-video {
    font-size: 16px;
    transition: 0.5s;
    margin-left: 25px;
    font-weight: 600;
    cursor: pointer;
}

.hero .btn-watch-video i {
    font-size: 32px;
    transition: 0.3s;
    line-height: 0;
    margin-right: 8px;
}

@keyframes up-down {
    0% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(10px);
    }
}

.hero .animated {
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
}


.menu-toggle {
    display: none;
}

.header-landing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: linear-gradient(90deg, #4B6EAF, #1E3C72);
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo-icon {
    width: 35px;
    height: 35px;
    margin-right: 10px;
}

.text-logo {
    font-size: 2.2rem;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    cursor: pointer;
}

.actions {
    display: flex;
    align-items: center;
}

.btn_header {
    border: none;
    border-radius: 20px;
    padding: 10px 15px;
    margin-left: 10px;
    cursor: pointer;
    font-weight: 500;
}

.lang-btn {
    background: transparent;
    color: white;

}

.toggle-btn {
    background: transparent;
    color: white;
}

.demo-btn {
    background: #F05257;
    color: white;
}

.login-btn {
    background: transparent;
    border: 1px solid white;
    color: white;
    border-radius: 20px;
    text-decoration: none;
}

@media (max-width: 811px) {
    .header-landing {
        align-items: center;
        justify-content: center;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        display: none;
    }

    nav ul.show {
        display: flex;
    }

    .logo {
        margin-bottom: 10px;
    }

    .actions {
        margin-top: 10px;
    }

    .btn_header {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 460px) {
    .botones-hero{
        align-items: center;
        justify-content: center;
        flex-direction: column;

    }
    .botones-hero a {
        margin-bottom: 20px;
    }

    .hero .btn-watch-video {
        font-size: 16px;
        transition: 0.5s;
        margin-right: 55px;
        font-weight: 600;
        cursor: pointer;
    }
}

/* prices front */

.description {
    margin-top: 50px;
}

.description ul {
    list-style: none;
    padding: 0;
}

.description ul li {
    padding: 10px 0 0 0;
    display: flex;
}

.description ul li i {
    margin-right: auto;
    line-height: 1.2;
    font-size: 1.25rem;
}

.description ul li span {
    flex-grow: 1;
}

.package-name {
    margin-top: 30px !important;
}

.section-prices {
    height: 500px;
    background-color: #f5f5f5;
    padding: 20px;
    justify-content: space-around;
}

.flip-card {
    perspective: 1000px;
    margin: 20px;
    width: 500px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;

}

.flip-card-front {
    width: 100%;
    height: 100%;

}

.flip-card:hover .price {
    color: #007bff;
}

@media (max-width: 920px) {
    .section-prices {
        height: auto;
        width: 100%;
        background-color: #f5f5f5;
        padding: 20px;
        flex-direction: column;
    }

    .flip-card {
        perspective: 1000px;
        margin: 20px;
        width: 97%;
    }


}

/* footer de la pagina de wia */

.footer-landing {
    background: linear-gradient(90deg, #4B6EAF, #1E3C72);
    color: #ffffff;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.footer-logo {
    flex: 1;
}

.footer-logo img {
    width: 60px;
}

.footer-logo p {
    margin: 10px 0;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

.footer-bottom p, .footer-bottom a {
    color: #ffffff;
}

/* section-demos */
.section-demos {
    text-align: center;
    padding: 50px;
}

.titulo-demos {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    cursor: pointer;
}


.step {
    display: flex;
    flex: 1 1 24%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 10px;
    width: 500px;
    text-align: center;

}

.icon-demos {
    background: linear-gradient(90deg, #26a3d4, #6cc0e1);
    color: white;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.5rem;
}

h2_2 {
    color: #2c3e50;
    font-size: 1.5rem;
}

@media (max-width: 1650px) {

    .steps {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        cursor: pointer;
        gap: 10px;
    }

    .step {
        display: flex;
        flex: 1 1 24%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 20px;
        margin: 10px;
        width: 100%;
        text-align: center;

    }

}

@media (max-width: 810px) {

    .steps {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        cursor: pointer;
        gap: 10px;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sub Header de landing */

.sub_header {
    display: flex;
    align-items: center;
    justify-content: end;
    padding: 40px;
    margin-top: 50px;
    background: linear-gradient(90deg, #4B6EAF, #1E3C72);
}

.sub_header_text {
    color: white;
    font-weight: 500;
    width: 500px;
}

.sub_header_title {
    font-size: 2.5rem;
    line-height: 1.2;
}

.sub_header_sub_title {
    font-size: 20px;
    margin: 20px 0;
}

.btn-sub_header {
    background-color: white;
    color: #A474C6;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

.btn-sub_header:hover {
    background-color: #E7E7E7;
}

.sub_header_image {
    flex-basis: 50%;
    display: flex;
    justify-content: center;
}

.sub_header_image img {
    width: 300px;
    height: auto;
    border-radius: 5px;
}

.modal-landing {
    display: none; /* Oculto por defecto */
    position: fixed; /* Fijo */
    z-index: 1000; /* Por encima de otros elementos */
    left: 0;
    top: 0;
    width: 100%; /* Ancho completo */
    height: 100%; /* Alto completo */
    overflow: auto; /* Habilitar desplazamiento si es necesario */
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro */
}

.modal-content-landing {
    background-color: #fff;
    margin: 15% auto; /* 15% desde la parte superior y centrado */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Ancho del modal */
}

.close-landing {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-landing:hover,
.close-landing:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.video-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.video {
    width: 100%;
    height: auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.video iframe {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    display: block;
}
