/* ============================================================
   ============================================================
   PAGINA EQUIPOS POS - PDRTECH
   ============================================================
   ============================================================ */


/* ============================================================
   HERO / PRESENTACION PRINCIPAL
============================================================ */

.pos-page-hero {
    position: relative;
    overflow: hidden;

    padding-top: 75px;
    padding-bottom: 80px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            var(--pdr-light) 100%
        );
}


/* DECORACION DE FONDO */

.pos-page-hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    top: -180px;
    right: -160px;

    border-radius: 50%;

    background:
        rgba(215, 25, 32, 0.05);

    pointer-events: none;
}


.pos-page-hero::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    bottom: -220px;
    left: -150px;

    border-radius: 50%;

    background:
        rgba(17, 24, 39, 0.04);

    pointer-events: none;
}


/* GRID PRINCIPAL */

.pos-page-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    align-items: center;

    gap: 50px;
}


/* ============================================================
   TEXTO DEL HERO
============================================================ */

.pos-page-content {
    position: relative;
}


.pos-page-content .section-label {
    margin-bottom: 12px;
}


.pos-page-content h1 {
    margin: 12px 0 20px;

    color: var(--pdr-navy);

    font-size:
        clamp(38px, 5vw, 58px);

    font-weight: 900;

    line-height: 1.05;

    letter-spacing: -2px;
}


.pos-page-content h1 span {
    color: var(--pdr-red);
}


.pos-page-content > p {
    max-width: 570px;

    margin: 0;

    color: var(--pdr-gray);

    font-size: 17px;

    line-height: 1.7;
}


/* ============================================================
   CARACTERISTICAS HERO
============================================================ */

.pos-page-features {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px 18px;

    margin-top: 28px;
}


.pos-page-features div {
    display: flex;

    align-items: center;

    color: var(--pdr-text);

    font-size: 13px;

    font-weight: 700;
}


.pos-page-features strong {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    flex: 0 0 22px;

    margin-right: 8px;

    border-radius: 50%;

    background: #ecfdf3;

    color: var(--pdr-green);

    font-size: 12px;

    font-weight: 900;
}


/* ============================================================
   BOTONES HERO
============================================================ */

.pos-page-actions {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 12px;

    margin-top: 32px;
}


.pos-page-actions .btn {
    min-width: 155px;
}


/* ============================================================
   IMAGEN PRINCIPAL
============================================================ */

.pos-page-image {
    position: relative;

    overflow: hidden;

    background: #ffffff;

    border:
        1px solid var(--pdr-border);

    border-radius: 22px;

    box-shadow:
        0 25px 60px
        rgba(17, 24, 39, 0.14);
}


.pos-page-image::before {
    content: "";

    position: absolute;

    z-index: 2;

    top: 0;
    left: 0;
    right: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--pdr-red),
            var(--pdr-navy)
        );
}


.pos-page-image img {
    display: block;

    width: 100%;

    height: auto;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}


.pos-page-image:hover img {
    transform: scale(1.025);
}


/* ============================================================
   SECCION PUNTO DE VENTA COMPLETO
============================================================ */

.pos-complete-info {
    padding-top: 85px;
    padding-bottom: 90px;

    background: #ffffff;
}


.pos-complete-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;
}


/* TARJETA */

.pos-complete-item {
    position: relative;

    overflow: hidden;

    padding: 30px 25px;

    text-align: center;

    background: #ffffff;

    border:
        1px solid var(--pdr-border);

    border-radius: 16px;

    box-shadow:
        var(--shadow-small);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


.pos-complete-item::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 3px;

    background: var(--pdr-red);

    transform: scaleX(0);

    transition:
        transform .25s ease;
}


.pos-complete-item:hover {
    transform:
        translateY(-6px);

    border-color:
        rgba(215, 25, 32, .35);

    box-shadow:
        var(--shadow);
}


.pos-complete-item:hover::before {
    transform: scaleX(1);
}


/* ICONO */

.pos-complete-item > span {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    margin:
        0 auto 20px;

    border-radius: 18px;

    background:
        var(--pdr-red-light);

    font-size: 36px;
}


/* TITULO */

.pos-complete-item h3 {
    margin-bottom: 10px;

    color:
        var(--pdr-navy);

    font-size: 18px;

    font-weight: 900;
}


/* TEXTO */

.pos-complete-item p {
    margin: 0;

    color:
        var(--pdr-gray);

    font-size: 13px;

    line-height: 1.65;
}


/* ============================================================
   SECCION PRODUCTOS
============================================================ */

.pos-products-section {
    padding-top: 85px;
    padding-bottom: 90px;

    background:
        var(--pdr-light);
}


.pos-products-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;
}


/* ============================================================
   TARJETAS PRODUCTOS
============================================================ */

.pos-product-card {
    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 100%;

    padding: 30px 27px;

    background:
        #ffffff;

    border:
        1px solid var(--pdr-border);

    border-radius: 18px;

    box-shadow:
        var(--shadow-small);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


.pos-product-card:hover {
    transform:
        translateY(-7px);

    border-color:
        rgba(215, 25, 32, .40);

    box-shadow:
        0 20px 45px
        rgba(17, 24, 39, 0.12);
}


/* ICONO PRODUCTO */

.pos-product-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    margin-bottom: 21px;

    background:
        var(--pdr-red-light);

    border-radius: 15px;

    font-size: 30px;

    transition:
        transform .25s ease,
        background .25s ease;
}


.pos-product-card:hover
.pos-product-icon {
    transform:
        scale(1.07);

    background:
        #ffe4e6;
}


/* TITULO PRODUCTO */

.pos-product-card h3 {
    margin-bottom: 10px;

    color:
        var(--pdr-navy);

    font-size: 20px;

    font-weight: 900;

    line-height: 1.2;
}


/* DESCRIPCION */

.pos-product-card > p {
    margin-bottom: 20px;

    color:
        var(--pdr-gray);

    font-size: 13px;

    line-height: 1.65;
}


/* ============================================================
   LISTA PRODUCTOS
============================================================ */

.pos-product-card ul {
    flex: 1;

    margin:
        0 0 25px;

    padding: 0;

    list-style: none;
}


.pos-product-card li {
    position: relative;

    margin-bottom: 11px;

    padding-left: 25px;

    color:
        var(--pdr-text);

    font-size: 13px;

    line-height: 1.5;
}


.pos-product-card li::before {
    content: "\2713";

    position: absolute;

    left: 0;
    top: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 17px;
    height: 17px;

    border-radius: 50%;

    background:
        #ecfdf3;

    color:
        var(--pdr-green);

    font-size: 10px;

    font-weight: 900;
}


/* BOTON TARJETA */

.pos-product-card .btn {
    width: 100%;

    margin-top: auto;
}


/* ============================================================
   LLAMADO A LA ACCION
============================================================ */

.pos-cta-section {
    padding-top: 85px;
    padding-bottom: 90px;

    background: #ffffff;
}


.pos-cta {
    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 45px;

    padding:
        50px 55px;

    background:
        var(--pdr-navy);

    border-radius:
        var(--radius);

    box-shadow:
        0 25px 60px
        rgba(17, 24, 39, .20);
}


/* DECORACION */

.pos-cta::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    top: -170px;
    right: -100px;

    border-radius: 50%;

    background:
        rgba(215, 25, 32, .15);
}


.pos-cta::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    bottom: -160px;
    left: 35%;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .04);
}


/* CONTENIDO CTA */

.pos-cta > div {
    position: relative;

    z-index: 2;
}


.pos-cta-label {
    display: inline-block;

    margin-bottom: 5px;

    color:
        #ff5b61;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 1.3px;
}


.pos-cta h2 {
    max-width: 650px;

    margin:
        8px 0 14px;

    color: #ffffff;

    font-size:
        clamp(28px, 4vw, 40px);

    font-weight: 900;

    line-height: 1.1;

    letter-spacing: -1px;
}


.pos-cta p {
    max-width: 650px;

    margin: 0;

    color: #d1d5db;

    font-size: 15px;

    line-height: 1.7;
}


.pos-cta-action {
    flex: 0 0 auto;
}


.pos-cta-action .btn {
    min-width: 210px;
}


/* ============================================================
   EFECTOS GENERALES
============================================================ */

.pos-page-image,
.pos-complete-item,
.pos-product-card,
.pos-cta {
    -webkit-backface-visibility:
        hidden;

    backface-visibility:
        hidden;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1100px) {

    .pos-page-grid {
        grid-template-columns:
            1fr 1fr;

        gap: 35px;
    }


    .pos-page-content h1 {
        font-size: 44px;
    }


    .pos-complete-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .pos-products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ============================================================
   TABLET / MOVIL
============================================================ */

@media (max-width: 900px) {

    .pos-page-hero {
        padding-top: 55px;
        padding-bottom: 65px;
    }


    .pos-page-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .pos-page-content {
        text-align: center;
    }


    .pos-page-content > p {
        margin-left: auto;
        margin-right: auto;
    }


    .pos-page-features {
        max-width: 600px;

        margin-left: auto;
        margin-right: auto;

        margin-top: 28px;

        text-align: left;
    }


    .pos-page-actions {
        justify-content: center;
    }


    .pos-page-image {
        max-width: 760px;

        margin:
            0 auto;
    }


    .pos-cta {
        flex-direction: column;

        align-items: flex-start;

        padding:
            40px 35px;
    }


    .pos-cta-action {
        width: 100%;
    }


    .pos-cta-action .btn {
        width: 100%;
    }

}


/* ============================================================
   MOVIL
============================================================ */

@media (max-width: 600px) {

    .pos-page-hero {
        padding-top: 40px;
        padding-bottom: 50px;
    }


    .pos-page-content h1 {
        margin-top: 10px;

        font-size: 37px;

        line-height: 1.08;

        letter-spacing: -1px;
    }


    .pos-page-content > p {
        font-size: 15px;
    }


    /* CARACTERISTICAS */

    .pos-page-features {
        grid-template-columns: 1fr;

        gap: 10px;

        margin-top: 23px;
    }


    /* BOTONES */

    .pos-page-actions {
        flex-direction: column;

        gap: 10px;

        margin-top: 25px;
    }


    .pos-page-actions .btn {
        width: 100%;
    }


    /* IMAGEN */

    .pos-page-image {
        border-radius: 15px;
    }


    /* SECCIONES */

    .pos-complete-info,
    .pos-products-section,
    .pos-cta-section {
        padding-top: 55px;
        padding-bottom: 60px;
    }


    /* EQUIPO COMPLETO */

    .pos-complete-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .pos-complete-item {
        padding: 25px 20px;
    }


    /* PRODUCTOS */

    .pos-products-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .pos-product-card {
        padding: 26px 22px;
    }


    /* CTA */

    .pos-cta {
        padding:
            32px 23px;

        border-radius: 15px;
    }


    .pos-cta h2 {
        font-size: 29px;
    }


    .pos-cta p {
        font-size: 14px;
    }

}


/* ============================================================
   CELULARES PEQUENOS
============================================================ */

@media (max-width: 400px) {

    .pos-page-content h1 {
        font-size: 32px;
    }


    .pos-page-image {
        border-radius: 12px;
    }


    .pos-complete-item,
    .pos-product-card {
        padding: 22px 18px;
    }


    .pos-cta {
        padding:
            28px 19px;
    }


    .pos-cta h2 {
        font-size: 26px;
    }

}