.hero_contenedor {
    margin-top: -6rem;
    grid-template-columns: 1fr;
}

.hero_texto .hero_titulo {
    text-align: center;
}

@media (max-width: 810px) {
    .hero_texto .hero_titulo {
        font-size: clamp(4.8rem, 7.8vw, 6.2rem);
    }
}
@media (max-width: 610px) {
    .hero_texto .hero_titulo {
        font-size: clamp(4.5rem, 7.8vw, 6.2rem);
    }
}

.hero_texto .hero_parrafo {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 565px) {
    .hero_texto .hero_titulo {
        text-align: start;
        text-wrap: wrap;
        font-size: clamp(4.8rem, 10.5vw, 6.2rem);
    }

    .hero_texto .hero_parrafo {
        text-align: start;
    }
}

.hero_texto a {
    width: fit-content;
    margin: 0 auto;
    animation: floting 1.25s ease-in-out infinite alternate; 
}

@keyframes floting {
    0% {
        transform: translateY(0rem);
    }

    100% {
        transform: translateY(.6rem);
    }
}


body {
    background-color: #F8F9FA;
}

h2 {
    font-size: clamp(3.4rem, 5vw, 4.4rem);
}

/* LAPTO */
@media (max-width: 1134px) {
    h2 {
        font-size: clamp(3.4rem, 6vw, 4rem);
    }
}
/* PRE - CELULAR */
@media (max-width: 590px) {
    h2 {
        font-size: clamp(3rem, 6vw, 3.4rem);
    }
}



.catalogo__encabezado {
    text-align: center;
    margin-bottom: 6.4rem;
}

.catalogo__titulo {
    color: var(--P2);
}

.catalogo__linea {
    width: 96px;
    height: 6px;
    border-radius: 12px;
    background-color: var(--P1);
    margin: 2.4rem auto 0;
}

/* --- GRID --- */
.catalogo__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

/* --- TARJETA --- */
.tarjeta-servicio {
    background-color: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-servicio:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.tarjeta-servicio__contenido {
    padding: 4rem 3rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tarjeta-servicio__icono-caja {
    width: 65px;
    height: 65px;
    background-color: #F1F5F9;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.tarjeta-servicio__nombre {
    font-size: 2rem;
    color: var(--P2);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.tarjeta-servicio__descripcion {
    font-size: 1.4rem;
    color: #40484F;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.tarjeta-servicio__tag {
    font-size: 1.2rem;
    font-weight: 700;
    color: #94A3B8;
    letter-spacing: 1px;
    margin-top: auto;
}

/* --- BOTÓN INFERIOR --- */
.tarjeta-servicio__boton {
    background-color: var(--P1);
    color: var(--P3);
    text-align: center;
    padding: 2rem;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.4rem;
    letter-spacing: 1.4px;
    transition: background-color 0.3s ease;
}

.tarjeta-servicio__boton:hover {
    background-color: #e08600;
}

/* ==========================================
   RESPONSIVO
   ========================================== */

/* Tablet / Laptop pequeña */
@media (max-width: 1134px) {
    .catalogo__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

/* Tablet Vertical */
@media (max-width: 900px) {
    .catalogo__titulo {
        font-size: 3rem;
    }
}

@media (max-width: 685px) {
    .catalogo__grid {
        grid-template-columns: 1fr;
    }
}

/* Móvil */
@media (max-width: 495px) {
    .tarjeta-servicio {
        border-radius: 25px;
    }

    .tarjeta-servicio__contenido {
        padding: 3.5rem 2rem;
    }
}





.cta {
    padding-bottom: 9rem;
}

.cta__bloque {
    background-color: var(--P2);
    border-radius: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

/* --- CONTENIDO IZQUIERDA --- */
.cta__contenido {
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.cta__etiqueta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--P1);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 1.4px;
    margin-bottom: 2.5rem;
}

.cta__titulo {
    color: var(--P3);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.cta__texto {
    color: #cbd5e0;
    font-size: 1.7rem;
    line-height: 1.6;
    margin-bottom: 3.5rem;
    max-width: 450px;
}

.cta__boton {
    padding: 1.75rem 4rem;
    border-radius: 8px;
    letter-spacing: 1.4px;
}

/* --- IMAGEN DERECHA --- */
.cta__imagen-caja {
    width: 100%;
    height: 100%;
    max-height: 500px;
}

.cta__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}

/* ==========================================
   RESPONSIVO
   ========================================== */

/* Laptop / Tablet Horizontal */
@media (max-width: 1134px) {
    .cta__contenido {
        padding: 4rem;
    }

    .cta__titulo {
        font-size: 3.4rem;
    }
}

/* Tablet Vertical / Móvil Grande */
@media (max-width: 900px) {
    .cta__bloque {
        grid-template-columns: 1fr; /* Apilar verticalmente */
    }

    .cta__imagen-caja {
        order: -1; /* La imagen pasa arriba en móvil */
        height: 350px;
    }

    .cta__contenido {
        padding: 5rem 3rem;
        align-items: center;
        text-align: center;
    }
    
    .cta__texto {
        max-width: 100%;
    }
}

/* Móvil */
@media (max-width: 495px) {
    .cta {
        padding: 4rem 0;
    }

    .cta__bloque {
        border-radius: 20px;
    }

    .cta__titulo {
        font-size: 2.8rem;
    }

    .cta__imagen-caja {
        height: 250px;
    }

    .cta__boton {
        width: 100%;
        text-align: center;
        padding: 1.75rem 3rem;
    }
}