
.logo-qarta {
    color: #000; /* Para SVGs con fill="currentColor" */
    filter: brightness(0) saturate(100%); /* Alternativa para PNG/SVG */
    width: 250px;
    height: 150px;
}

.logo-qarta:hover {
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}

.navbar>.container-fluid {
    justify-content: space-around !important;
}

form{
    font-family: 'Caviar Dreams', sans-serif;
    font-weight: 600;
    gap:2.5rem;
}

form a:hover {
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    background: white;
    gap: 4rem;
    width: 1520px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

h1{
    font-size: 3.5rem !important;
}
section {
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    width: 100%;
}

section:is(:first-child) {
    padding-top: 1.5rem;
}

/* QARTA */

#qarta .container-fluid {
    padding: 0 !important;
    border-radius: 5px;
    border-end-end-radius: 0;
    border-end-start-radius: 0;
    /* Fondo difuminado arriba y abajo */
    background: linear-gradient(
        to bottom,
        rgba(var(--background-color-rgb), 0) 0%,
        var(--background-color) 20%,
        var(--background-color) 95%,
        rgba(var(--background-color-rgb), 0) 100%
    );
    border-top: none;
    height: 100vh;
}

#qarta .content{
    margin-top: 3rem;
    margin-bottom: 3rem;
}

#qarta .row{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

#qarta .row h1{
    font-size: 3.5rem;
    font-weight: 800 !important;
    color: #000;
}

#qarta .row p{
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 50%;
    justify-content: justify;
}

#qarta .col{
    width: 100%;
}

#qarta .iphone1-img{
    width: 70%;
    left: 105px;

}
#qarta .iphone3-img{
    width: 70%;
}
#qarta .iphone2{
    width: 26%;
}

#qarta .iphone1-img:hover, .iphone2-img:hover, .iphone3-img:hover{
    transform: scale(1.05);
    transition: all 0.5s ease-in-out;
}

#qarta .iphone2:hover{
    transform: scale(1.05);
    transition: all 0.5s ease-in-out;
}


.iphone2-fade, .iphone1-fade, .iphone3-fade  {
    position: relative;
    display: inline-block;
    width: 26%;
}
.iphone2-img, .iphone1-img, .iphone3-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: auto;
    transition: opacity 1.5s;
}
.iphone2-img.base, .iphone1-img.base, .iphone3-img.base { opacity: 1; z-index: 1; }
.iphone2-img.hover, .iphone1-img.hover, .iphone3-img.hover { opacity: 0; z-index: 2; }
.iphone2-fade.active .iphone2-img.hover , .iphone1-fade.active .iphone1-img.hover, .iphone3-fade.active .iphone3-img.hover { opacity: 1; }
.iphone2-fade.active .iphone2-img.base, .iphone1-fade.active .iphone1-img.base, .iphone3-fade.active .iphone3-img.base { opacity: 0; }

.iphone1-fade:hover,
.iphone2-fade:hover,
.iphone3-fade:hover {
    transform: scale(1.03);
    transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.iphone2-fade:hover{
    transform: scale(1.07);
    transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}


/* DEMO */
samp{
    font-weight: 600 !important;
    color: var(--text-color-purple);
}

#pruebalo .container-fluid {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem 0;
}
#pruebalo h1 {
    font-size: 3.5rem;
    margin-bottom: 5rem;
}
.iphone-frame {
    position: relative;
    width: 512px;        /* ancho exacto de la imagen del móvil */
    height: 761px;       /* alto exacto de la imagen del móvil */
    background-image: url('/src/assets/imgs/iphone2off.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.iphone-frame iframe {
    transform: scale(0.8);
    position: absolute;
    top: -60px;
    left: 41px;
    width: 425px;
    height: 881px;
    border: none;
    border-radius: 64px;
}


/* CARASTERISTICAS */

#caracteristicas h1 {
    font-size: 3.5rem;
    margin-bottom: 0rem;
}

#caracteristicas p {
    margin-bottom: 0rem;
    font-size: 0.8rem;
}

#caracteristicas .row {
    background-color: var(--background-color); /* morado claro */
    padding: 4rem 2rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    gap: 7rem;
    justify-content: center;

}

#caracteristicas .up {
    margin: 5rem;
    margin-left: 0rem;
    margin-right: 0rem;
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 10% 100%);
    border-radius: 10px 0px 0px 10px;
}

#caracteristicas .down {
    margin: 5rem;
    margin-left: 0rem;
    margin-right: 0rem;
    clip-path: polygon(0 0, 90% 0%, 90% 100%, 0% 100%);
    border-radius: 0px 10px 10px 0px;
}


#caracteristicas .card {
    padding: 1rem;
    border-radius: 40px !important;
    border: 5px solid var(--background-color-green) !important;
    background: #FFF;
    box-shadow: 12px 12px 30px 0px rgba(0, 0, 0, 0.25);
    max-width: 210px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

#caracteristicas .card:hover{
    transform: scale(1.10);
    transition: all 0.3s ease-in-out;
}

.col-2{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

i{
    margin: 0.5rem;
    display: flex;
}

i::before{
    font-size: 3.5rem;
}

.ico-img{
    width: 56px;
}

/* PLANES */
#planes .card {
    position: relative; /* Necesario para posicionar el pseudo-elemento */
    padding: 1rem;
    border-radius: 5px !important;
    border: none;
    box-shadow: 12px 12px 30px 0px rgba(0, 0, 0, 0.35);
    width: 350px;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items: center;
}

#planes .card h3{
    padding: 1rem;
}
#planes p{
    font-size: 1rem;
}

#planes .card ul{
    font-family: 'Caviar Dreams', sans-serif;
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

#planes .row{
    display: flex;
    justify-content: center;
    padding: 6rem 2rem;
    gap:1.5rem;

}
.col-3{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

#planes  .card.individual{
    background: #EBDAFF;
}
#planes  .card.extendido{
    background: #DDBFFF;
    transform: scale(1.15);
    z-index: 1;
}
#planes  .card.multi{
    background: #CEA3FF;
}

#planes .card::after {
    content: "";
    position: absolute;
    top: -18px;      /* Ajusta según el tamaño que desees */
    right: -18px;    /* Ajusta según el tamaño que desees */
    width: 60px;     /* Diámetro del círculo */
    height: 60px;
    border: 4px solid #CEA3FF; /* Color y grosor de la línea */
    border-radius: 50%;
    border-left: none;
    border-bottom: none;
    background: transparent;
    z-index: 2;
}

#planes .card.card.individual::after {
    content: "";
    position: absolute;
    top: -18px;      /* Ajusta según el tamaño que desees */
    right: -18px;    /* Ajusta según el tamaño que desees */
    width: 60px;     /* Diámetro del círculo */
    height: 60px;
    border: 4px solid #EBDAFF; /* Color y grosor de la línea */
    border-radius: 50%;
    border-left: none;
    border-bottom: none;
    background: transparent;
    z-index: 1;
}

#planes .card.individual:hover {
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}
#planes .card.multi:hover{
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}

#planes .card.extendido::after {
    content: "";
    position: absolute;
    top: 0px;      /* Ajusta según el tamaño que desees */
    right: 0px;    /* Ajusta según el tamaño que desees */
    width: 60px;     /* Diámetro del círculo */
    height: 60px;
    border: 10px solid #D6FF89; /* Color y grosor de la línea */
    border-end-start-radius: 100%;
    border-start-start-radius: 0px;
    border-end-end-radius: 0px;
    border-top: none;
    border-right: none;
    background: transparent;
    z-index: 3;
}
#planes .card.extendido:hover{
    transform: scale(1.25);
    transition: all 0.3s ease-in-out;
}
/* FAQ */

.accordion{
    padding: 2rem 12rem;
}

.accordion-body{
    font-family: 'Montserrat', sans-serif !important;
}

.accordion-button{
    height: 80px;
    padding: 1rem;
    font-family: 'Caviar Dreams', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.3rem !important;
    color: #000 !important;
}

.accordion-button:not(.collapsed) {
    background-color: #f0f0f0 !important;
    color: #000 !important;
}

.accordion-item:not(:last-child) {
    border: 1px solid #000 !important;
    border-bottom: none !important;
}
.accordion-item:last-child {
    border: 1px solid #000 !important;
    border-bottom: 1px solid #000 !important;
}

/* CONTACTO */

#contacto .container-fluid {
    background-color: var(--background-color-green);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    padding: 2.5rem !important;
}

#contacto .col-6 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

#contacto a {
    color: #000;
    text-decoration: none;
}

/* FOOTER */

footer .container-fluid{
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    padding: 2.5rem !important;
    padding-left: 6rem !important;
    padding-right: 6rem !important;
}

footer p{
    width: 50%;
    font-size: 0.8rem;
}

/* ANIMACIONES */

/* Animación de flecha que se va a la derecha y vuelve */
.fi-tr-arrow-square-right {
    display: inline-block;
    transition: transform 0.5s;
}

.fi-tr-arrow-square-right:hover {
    animation: arrow-move-right 1s;
}

@keyframes arrow-move-right {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    40% {
        transform: translateX(40px);
        opacity: 0;
    }
    60% {
        transform: translateX(-40px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}



/* Oculta la versión móvil por defecto */
.mobile-only {
    display: none;
}

/* RESPONSIVE */
@media (max-width: 1600px) {
    main {
    width: 1350px;
    }
    #qarta .container-fluid {
        height: 130vh !important;
    }
    #planes .row {
        gap: 5.5rem;
    }
}

/* Si el ancho de la pantalla es menor a 970px, muestra la versión móvil y oculta la de escritorio */
@media (max-width: 970px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    #qarta .container-fluid {
        margin-top: 4rem !important;
        height: 100vh !important;
    }
    section:is(:first-child) {
    padding-top: 12.5rem !important;
    }
}


