/*Introduccion*/
.introServicios {
    width: 80%;
    margin: 0 auto;
    margin-top: 30px;
    padding-top: 100px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgb(0, 0, 85, 0.400);
}
.introServicios a {
    display: inline-block;
    margin-top: 20px;
}

/*Servicios*/
.servicios {
    width: 80%;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgb(0, 0, 85, 0.400);
}
.tarjeta {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.tarjetaReversa {
    display: grid;
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}
.tarjetaReversa > * {
    direction: ltr;
}
.tarjeta img {
    width: 500px;
    height: 400px;
    object-fit: cover;
    border-radius: 2vh;
    margin-top: 20px;
}
.numServicio {
    color: rgb(0, 175, 255);
}
.texto ul {
    margin: 10px 20px;
    list-style: none;
}
.texto ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.texto ul li::before {
    content: "";
    width: 15px;
    height: 2px;
    background-color: rgb(0, 0, 85);
}

/* Planes */
.introPlanes {
    width: 80%;
    margin: 30px auto;
    border-bottom: 1px solid rgb(0, 0, 85, 0.4);
}
.planes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
    align-items: stretch;
}
.tarjetaPlan {
    position: relative;
    min-height: 480px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgb(0, 0, 85);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.20);
    border-radius: 12px;
    transition: transform 0.3s ease, border 0.3s ease;
    box-sizing: border-box;
}
.tarjetaPlan:hover {
    transform: translateY(-5px);
    border: 1px solid rgba(0, 175, 255, 0.8);
}
.tarjetaPlan h3 {
    font-size: 30px;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(0, 0, 85);
}
.paraQuien {
    color: rgba(0, 174, 255, 0.9);
    margin-bottom: 20px;
}
.tarjetaPlan ul {
    margin: 10px 0 20px;
    padding: 0;
    list-style: none;
}
.tarjetaPlan li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.4;
}
.tarjetaPlan li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 15px;
    height: 2px;
    background-color: rgb(0, 0, 85);
}
.precio {
    border-top: 1px solid rgb(0, 0, 85);
    padding-top: 15px;
    margin-top: auto;
    font-weight: bold;
}
.pedirPlan {
    display: block;
    text-decoration: none;
    background: rgb(0, 0, 85);
    color: white;
    font-weight: bold;
    padding: 10px;
    border-radius: 30px;
    margin-top: 15px;
    text-align: center;
    transition: background 0.3s ease;
}
.pedirPlan:hover {
    background: rgba(0, 174, 255, 0.9);
}
.recomendado {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(0, 0, 85);
    color: white;
    font-weight: bold;
    padding: 5px 18px;
    border-radius: 30px;
    white-space: nowrap;
}

/*Contacto*/
.introContacto {
    width: 80%;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 100px;
}
.introContacto a {
    display: block;
    font-style: oblique;
    text-decoration: none;
    text-align: center;
    width: 220px;
    color: white;
    font-weight: bold;
    padding: 10px;
    margin-top: 20px;
    background-color: rgb(0, 0, 85);
    border-radius: 40px;
}

/* ------------------------------- Tablets ------------------------------- */
@media (max-width: 850px) {
    .introServicios {
        margin-top: 80px;
    }

    /* Servicios en una columna */
    .tarjeta {
        display: block;
    }
    .tarjetaReversa {
        display: block;
        direction:ltr;
    }
    .tarjeta img {
        width: 300px;
        height: 200px;
    }

    /* Planes en una columna */
    .planes {
        display: block;
        width: 60%;
        margin: 0 auto;
        margin-top: 30px;
    }
    .tarjetaPlan {
        margin-bottom: 50px;
    }
}

/* ------------------------------- Moviles ------------------------------- */
@media (max-width: 500px) {
    .introServicios {
        margin-top: 100px;
    }

    /* Planes en una columna */
    .planes {
        width: 90%;
    }
}