/* CSS PARA VARIABLES GENERALES */
:root {
	--primaryFont: 'Outfit', sans-serif;
    --colorFont: #0E0142;
    --colorBlue: #368b59;
    --colorBlueSecondary: #BCD2FB;
    --colorGreen: #00B16D;
    --colorGreenSecondary: #DDF6E3;
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth
}
body {
    background-color: #F8f8f8 !important;
    font-family: var(--primaryFont)!important;
}
html, body {
    height: 100%;
    margin: 0;
}

/* COMIENZA CSS DE LANDING */
header {
    height: 100dvh; /* Altura completa de la pantalla */
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center; /* Para centrar el texto dentro del header */
    border-radius: 0px;
    color: var(--colorFont);
    background: url('../images/img-landing/header.webp'), radial-gradient(closest-side at 50% 50%, #FFFFFF 0%, #BCD2FB 100%);
    background-position: center;
}

header h1 {
    font-size: 64px;
    font-weight: 700;
}
@media (max-width: 768px) {
    h1 {
        font-size: 32px;
        font-weight: 700;
    }
    header .landing_header {
        background: url('../images/img-landing/header-img-2.webp'), radial-gradient(closest-side at 50% 50%, #FFFFFF 0%, #BCD2FB 100%);
        background-position: center;
        background-size: cover; /* La imagen ocupará todo el espacio */
        background-repeat: no-repeat; /* Evita que la imagen se repita */
    }
}
/* Oculta el título para escritorio en dispositivos móviles */
.titulo-desktop {
    display: none;
}

.titulo-mobile {
    display: block;
}

/* A partir de 768px se oculta el título para móvil y se muestra el de escritorio */
@media (min-width: 768px) {
    .titulo-mobile {
        display: none;
    }

    .titulo-desktop {
        display: block;
    }
}


section h1 {
    font-size: 48px;
    color: var(--colorFont);
}

section .card {
    color: var(--colorFont);
}

.landing_header .btn {
    border-radius: 25px;
}

footer .btn {
    border-radius: 25px;
}

.btn-primary {
    background-color: var(--colorBlue);
    transition: color .2s ease-in-out;
}
.btn-success {
    background-color: var(--colorGreen) !important;
    transition: color .2s ease-in-out;
}

.landing_header .btn-outline-secondary {
    border-color: var(--colorFont);
    color: var(--colorFont);
    transition: .2s ease-in-out;
}
.landing_header .btn-outline-secondary:hover {
    border-color: var(--colorFont);
    color: #FFFFFF;
    background-color: var(--colorFont);
}

b {
    color: var(--colorBlue);
}

.gap {
    gap: 1rem;
}

.margin-section {
    margin-top: 154px;
}

.card-display {
    background-color: #FFFFFF;
    border-radius: 5px;
    border: #E8E8E8 1px solid;
    flex-direction: row !important;
    align-items: center;
    transition: box-shadow .2s ease-in-out;
    color: var(--colorFont);
}

.card-display:hover {
    box-shadow: 0 0 1px 1px var(--colorBlueSecondary);
}

.card-display .resized-icon {
    font-size: 64px;
    color: var(--colorFont) !important;
}

.card-header {
    background-color: var(--colorBlueSecondary) !important;
}

.card-function {
    color: var(--colorFont);
    background-color: var(--colorBlueSecondary);
    border-radius: 12px;
    border: var(--colorBlue) 1px solid;
}
.card-function-reverse {
    color: var(--colorFont);
    background-color: var(--colorGreenSecondary);
    border-radius: 12px;
    border: var(--colorGreen) 1px solid;
}

/* CSS PARA CARS PRICES */
.card-price {
    border-radius: 10px !important;
    background-color: #f3efff !important;
    transition: box-shadow .3s ease-in-out;
}
.card-price:hover {
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, .07), 0 5px 10px 0 rgba(0, 0, 0, .1);
}
.btn-start {
    color: #F8f8f8 !important;
    border-radius: 25px;
    background-color: var(--colorFont) !important;
    transition: color .2s ease-in-out;
}

.alert-light {
    border: #E8E8E8 1px solid !important;
}

/* CSS PARA SCROLL DE CARDS REDONDAS */
.styled-img {
    background-color: #FFFFFF;
    border-radius: 100%;
    border: #E8E8E8 1px solid;
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, .07), 0 5px 10px 0 rgba(0, 0, 0, .1);
    width: 10rem;
    padding: 0.3rem;
}

.scroller {
    margin-top: 48px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.scroller_inner {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll linear infinite;
}

.scroller[data-animated="true"] .scroller_inner {
    animation-duration: var(--_animation-duration, 30s);
    animation-timing-function: linear;
}

.scroller[data-direction="left"] {
    --_animation-direction: forwards;
}

.scroller[data-speed="slow"] {
    --_animation-duration: 50s;
}

.scroller[data-speed="fast"] {
    --_animation-duration: 20s;
}

@keyframes scroll {
    from {
      transform: translateX(-50%);
    }
    to {
      transform: translateX(0);
    }
  }


/* CSS CARDS TESTIMONIOS */
.card-testimonial {
    padding: 30px;
    background-color: #FFFFFF;
    border-radius: 8px;
    border: #E8E8E8 1px solid;
    color: var(--colorFont);
}
.styled-block-img {
    max-width: 100%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
}
.ud-testimonial-info {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

/* CSS PREGUNTAS FRECUENTES */
.ud-single-faq {
    background: #FFFFFF;
    border: #E8E8E8 1px solid;
    border-radius: 10px;
    margin-bottom: 30px;
}

.ud-single-faq .ud-faq-btn {
    text-align: left;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 18px;
    color: var(--colorFont);
    opacity: 0.88;
    padding: 30px;
}
.ud-single-faq .ud-faq-body {
    padding: 0px 30px 40px 95px;
}
.ud-single-faq .ud-faq-btn span.icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--colorBlueSecondary);
    border-radius: 10px;
    color: var(--colorBlue);
    margin-right: 24px;
}
.ud-single-faq .ud-faq-btn span.icon i {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 700;
}

/* STYLE INFO */
.iframe-container {
    position: relative;
    width: 100%; /* Ocupa todo el ancho del col-6 */
    padding-bottom: 56.25%; /* Proporción 16:9 para el iframe */
    height: 0;
    overflow: hidden;
    border-radius: 0.5rem;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Ajusta al ancho del contenedor */
    height: 100%; /* Ajusta la altura proporcionalmente */
    border: 0;
}


/* FOOTER CSS */
.styled-footer {
    height: 100dvh; /* Altura completa de la pantalla */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('../images/img-landing/header.webp'), var(--colorFont);
    background-position: center;
    color: #f3f5f9;
    border-radius: 24px 24px 0 0;
}
@media (max-width: 768px) {
    .styled-footer {
        background: url('../images/img-landing/header-img-2.webp'), var(--colorFont);
        background-position: center;
        background-size: cover; /* La imagen ocupará todo el espacio */
        background-repeat: no-repeat; /* Evita que la imagen se repita */
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    text-decoration: none;
    color: white;
}

/* Ocultar en móviles */
@media (max-width: 767px) {
    .whatsapp-float {
        display: none !important;
    }
}