/* ==========================================================================
   Anchors de navegación one-page
   ========================================================================== */
.why-choose,
.equipment-types,
.consumibles-info,
.contact {
    scroll-margin-top: var(--navbar-height);
}

/* ==========================================================================
   Service Grid
   ========================================================================== */
.services-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap;
    padding: 40px 20px;
    background-color: var(--neutral-light);
}

.service-card {
    width: 300px;
    height: 200px;
    background-size: cover;
    background-position: center;
    margin: 10px;
    position: relative;
    color: var(--white);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: var(--transition-lift);
}

.service-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.service-card h2 {
    position: relative;
    z-index: 1;
    font-weight: 700;
    font-size: clamp(18px, 2.4vw, 24px);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.service-card p {
    position: relative;
    z-index: 1;
    font-weight: 600;
    font-size: clamp(13px, 1.6vw, 16px);
}

.venta {
    background-image: url('../impresoras/venta.jpeg');
}

.alquiler {
    background-image: url('../impresoras/alquiler.jpg');
}

.soporte {
    background-image: url('../impresoras/soporte.jpg');
}

.insumos {
    background-image: url('../impresoras/insumo.webp');
}

.abonos {
    background-image: url('../impresoras/abonos.webp');
}

.revisiones {
    background-image: url('../impresoras/revisiones.webp');
}

.reparacion-equipos {
    background-image: url('../impresoras/soporte.jpg');
}

.reparacion-pc {
    background-image: url('../impresoras/reparacion-pc.jpeg');
}

/* Media Query for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .services-grid {
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px 10px;
    }

    .service-card {
        width: 100%;
        max-width: 320px;
        height: 150px;
        margin: 10px 0;
    }
}

/* ==========================================================================
   Why Choose Section
   ========================================================================== */
.why-choose .container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.why-choose .text-section {
    width: 70%;
    padding-right: 20px;
}

.why-choose .text-section h2 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--text-color);
}

.why-choose .text-section p {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--neutral-dark);
}

.why-choose .text-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.why-choose .text-section ul li {
    font-size: 16px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.why-choose .text-section ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ==========================================================================
   Section CTA ("Ver más" hacia páginas dedicadas)
   ========================================================================== */
.section-cta {
    display: inline-block;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.section-cta:hover {
    color: var(--secondary-hover);
    text-decoration: underline;
}

.why-choose .image-section {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-choose .image-section img {
    width: 100%;
    height: auto;
    object-fit: contain;
    box-shadow: none;
    border: none;
}

/* Media Query for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .why-choose .container {
        flex-direction: column;
        padding: 15px 3%;
        align-items: center;
        max-width: 100%;
    }

    .why-choose .text-section {
        width: 100%;
        padding: 0;
        margin: 0 auto;
    }

    .why-choose .text-section h2 {
        margin-bottom: 10px;
        line-height: 1.4;
        text-align: center;
    }

    .why-choose .text-section p {
        font-size: 14px;
        margin: 0 auto 10px;
        line-height: 1.6;
        max-width: 94%;
        text-align: justify;
    }

    .why-choose .text-section ul {
        margin: 0 auto 10px;
        padding: 0;
        list-style: none;
        max-width: 94%;
    }

    .why-choose .text-section ul li {
        font-size: 14px;
        margin-bottom: 8px;
        position: relative;
        padding-left: 20px;
        text-align: justify;
    }

    .why-choose .image-section {
        width: 100%;
        gap: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .why-choose .image-section img {
        width: 80%;
        max-width: 80%;
        margin: 0 auto;
        height: auto;
        display: block;
        object-fit: contain;
        box-shadow: none;
        border: none;
    }
}

/* ==========================================================================
   Equipment Types Section
   ========================================================================== */
.equipment-types {
    padding: 60px 20px;
    background-color: #f7f7f7;
    text-align: center;
}

.equipment-types h2 {
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--text-color);
}

.equipment-types p {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--neutral-dark);
}

.types-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.type-item {
    text-align: center;
    flex: 1 1 20%;
    margin: 0 10px 20px;
    min-width: 200px;
}

.type-item img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
    box-shadow: none;
    border: none;
}

.type-item p {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

/* Media Query for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .equipment-types {
        padding: 30px 3%;
    }

    .equipment-types h2 {
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .equipment-types p {
        font-size: 14px;
        margin-bottom: 20px;
        max-width: 94%;
        margin-left: auto;
        margin-right: auto;
    }

    .types-grid {
        flex-direction: column;
        align-items: center;
        max-width: 100%;
        margin: 0;
    }

    .type-item {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 15px;
        min-width: 0;
    }

    .type-item img {
        width: 80%;
        max-width: 80%;
        min-width: 150px;
        margin: 0 auto 8px;
        height: auto;
        display: block;
        box-shadow: none;
        border: none;
    }

    .type-item p {
        font-size: 14px;
        margin: 0 auto;
        max-width: 80%;
    }
}

/* ==========================================================================
   Consumibles Info Section
   ========================================================================== */
.consumibles-info {
    padding: 60px 0;
    background-color: var(--neutral-light);
}

.consumibles-info .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.consumibles-info .text-section {
    width: 60%;
    padding-right: 20px;
    text-align: left;
}

.consumibles-info .text-section h2 {
    font-size: clamp(26px, 3.5vw, 32px);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.consumibles-info .text-section p {
    font-size: 16px;
    color: var(--neutral-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.consumibles-info .text-section ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.consumibles-info .text-section ul li {
    font-size: 16px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.consumibles-info .text-section ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.consumibles-info .image-section {
    width: 35%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.consumibles-info .category-item {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    text-align: center;
    transition: var(--transition-lift);
}

.consumibles-info .category-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.consumibles-info .category-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.consumibles-info .category-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0;
    color: var(--text-color);
}

/* Media Query for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .consumibles-info .container {
        flex-direction: column;
        padding: 0 15px;
    }

    .consumibles-info .text-section {
        width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .consumibles-info .image-section {
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }

    .consumibles-info .text-section p,
    .consumibles-info .text-section ul li {
        font-size: 14px;
        text-align: justify;
    }

    .consumibles-info .category-item h3 {
        font-size: 16px;
    }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    padding: 100px 20px;
    background-color: var(--neutral-medium);
    text-align: left;
}

.contact .container {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: space-between;
    gap: 60px;
}

.contact .left-section {
    width: 55%;
}

.contact .left-section h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
}

.contact .left-section p {
    font-size: 18px;
    color: var(--neutral-dark);
    line-height: 1.7;
    max-width: 480px;
    margin: 0;
}

.contact .right-section {
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.contact .contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.contact .contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact .contact-item img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    object-fit: contain;
}

.contact .contact-item a,
.contact .contact-item p {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    margin: 0;
    transition: color var(--transition-normal);
}

.contact .contact-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Media Query for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .contact {
        padding: 50px 20px;
        text-align: center;
    }

    .contact .container {
        flex-direction: column;
        gap: 32px;
    }

    .contact .left-section,
    .contact .right-section {
        width: 100%;
    }

    .contact .left-section p {
        max-width: 100%;
        font-size: 15px;
        margin: 0 auto;
    }

    .contact .contact-item {
        justify-content: center;
    }

    .contact .contact-item a,
    .contact .contact-item p {
        font-size: 16px;
    }
}
