/* ==================================================
   HOME QUIÉNES OSGRAP PRO MAX
================================================== */

.home-quienes {
    padding: 120px 0;
    background: #fff;
    position: relative;
}

/* =========================
   GRID
========================= */
.home-quienes-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* =========================
   BADGE
========================= */
.quienes-badge {
    display: inline-block;
    background: var(--osgrap-red);
    color: #fff;
    padding: 6px 14px;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* =========================
   TITULO OSGRAP
========================= */
.quienes-text h2 {
    font-size: 40px;
    margin: 10px 0 20px;
    line-height: 1.2;
    font-weight: 700;
}

.quienes-text h2 span {
    display: inline-block;
    background: var(--osgrap-red);
    color: #fff !important;
    padding: 6px 16px;
    position: relative;
}

/* Pico */
.quienes-text h2 span::after {
    content: "";
    position: absolute;
    top: 0;
    right: -14px;

    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 14px solid var(--osgrap-red);
}

/* =========================
   TEXTO
========================= */
.quienes-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    max-width: 520px;
}

/* =========================
   BOTÓN
========================= */
.btn-primary {
    display: inline-block;
    margin-top: 25px;
    background: var(--osgrap-red);
    color: #fff;
    padding: 14px 34px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;

    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--osgrap-red-dark);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* =========================
   IMAGEN PRO (CON PROFUNDIDAD)
========================= */
.quienes-image .image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.25);
}

/* Decoración roja */
.quienes-image .image-wrapper::before {
    content: "";
    position: absolute;
    top: -12px;
    left: -12px;
    width: 90px;
    height: 4px;
    background: var(--osgrap-red);
    z-index: 2;
}

/* Glow suave */
.quienes-image .image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 60%);
    z-index: 1;
}

.quienes-image img {
    width: 100%;
    display: block;

    transform: scale(1);
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.quienes-image:hover img {
    transform: scale(1.08);
}

/* =========================
   FEATURES PRO
========================= */
.quienes-features {
    margin-top: 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* CARD */
.feature {
    text-align: center;
    padding: 40px 25px;
    border-radius: 20px;
    background: #fafafa;
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center; /* ✅ CENTRADO REAL */

    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Línea roja animada */
.feature::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--osgrap-red);
    transition: width 0.4s ease;
}

/* ICONO */
.feature img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    margin-bottom: 18px;
}

/* TITULO */
.feature h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

/* TEXTO */
.feature p {
    font-size: 14px;
    color: #666;
    max-width: 260px;
}

/* HOVER */
.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.feature:hover::before {
    width: 70%;
}

/* =========================
   ANIMACIONES (APPLE STYLE)
========================= */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {

    .home-quienes-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .quienes-text h2 {
        font-size: 32px;
    }

    .quienes-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {

    .home-quienes {
        padding: 80px 0;
    }

    .quienes-text h2 {
        font-size: 26px;
    }

    .btn-primary {
        padding: 12px 26px;
        font-size: 14px;
    }
}