/* -------------------------------------------------------------
   Evenpro CSS - Sección Nosotros (Santiago Otero & Legado)
   Diseño Premium, Responsivo y Adaptable
   ------------------------------------------------------------- */

/* Contenedor Principal de la Historia */
.fullimage {
    width: 85%;
    max-width: 1400px;
    margin: 120px auto 5rem auto;
    min-height: calc(100vh - 180px);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border-radius: 20px;
    overflow: hidden;
    background: #0f1118;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 1;
}

/* Columna Izquierda: Imagen de Santiago Otero */
.fullimage-img-col {
    flex: 1 1 45%;
    min-height: 480px;
    overflow: hidden;
    position: relative;
    background-color: #07080a;
}

.fullimage-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fullimage:hover .fullimage-photo {
    transform: scale(1.03);
}

/* Columna Derecha: Contenido de Texto */
.fullimage-content {
    flex: 1 1 55%;
    z-index: 2;
    background: linear-gradient(135deg, rgba(12, 14, 20, 0.98) 0%, rgba(7, 8, 10, 0.99) 100%);
    padding: 3.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Subtítulo / Lead */
.fullimage-lead {
    display: inline-block;
    width: fit-content;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.6rem;
    background: linear-gradient(90deg, #b524f7 0%, #8b5cf6 38%, #00d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Título Principal */
.fullimage-title {
    font-family: var(--font-heading, 'Helvetica LT Std', sans-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 1.8rem;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Párrafos Legibles */
.fullimage-text p {
    font-family: var(--font-body, 'Helvetica LT Std', sans-serif);
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.25rem;
    font-weight: 300;
}

.fullimage-text p:last-child,
.fullimage-highlight {
    position: relative;
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    font-size: 1.25rem;
    font-weight: 800;
    padding-left: 1.25rem;
    margin-top: 1.8rem;
    margin-bottom: 0;
    border-left: none;
    background: linear-gradient(90deg, #b524f7 0%, #8b5cf6 38%, #00d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.01em;
}

.fullimage-text p:last-child::before,
.fullimage-highlight::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, #b524f7 0%, #8b5cf6 45%, #00d2ff 100%);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.45);
}

/* -------------------------------------------------------------
   RESPONSIVIDAD: Tablets (iPad / Pantallas Medianas)
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
    .fullimage {
        width: 92%;
        margin: 100px auto 4rem auto;
    }

    .fullimage-content {
        padding: 2.8rem 2.5rem;
    }
}

/* -------------------------------------------------------------
   RESPONSIVIDAD: Tablets Verticales y Móviles (<= 880px)
   ------------------------------------------------------------- */
@media (max-width: 880px) {
    .fullimage {
        flex-direction: column;
        width: 92%;
        margin: 90px auto 3rem auto;
        min-height: auto;
    }

    .fullimage-img-col {
        flex: none;
        width: 100%;
        height: 360px;
        order: -1;
        /* Foto arriba */
    }

    .fullimage-photo {
        object-position: left top;
    }

    .fullimage-content {
        padding: 2.5rem 1.8rem;
    }

    .fullimage-title {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }
}

/* -------------------------------------------------------------
   RESPONSIVIDAD: Móviles Pequeños (iPhone SE, Android 360px)
   ------------------------------------------------------------- */
@media (max-width: 480px) {
    .fullimage {
        width: 94%;
        margin: 80px auto 2.5rem auto;
        border-radius: 14px;
    }

    .fullimage-img-col {
        height: 280px;
    }

    .fullimage-content {
        padding: 1.8rem 1.2rem;
    }

    .fullimage-lead {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .fullimage-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .fullimage-text p {
        font-size: 0.92rem;
        line-height: 1.65;
        margin-bottom: 1rem;
    }
}