/* ============================================
   NOSOTROS - ESTILOS VISUALES
   Diseño estilo cobranza temprana con imagen e iconos
   ============================================ */

/* ============================================
   QUIÉNES SOMOS - VISUAL LAYOUT
   ============================================ */

.nosotros-quienes-visual {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2.5rem;
    padding: 2rem;
    background: linear-gradient(145deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.nosotros-quienes-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--gold-accent), var(--success-color), var(--info-color));
}

/* Decoraciones de fondo */
.nosotros-quienes-visual::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Imagen con overlay */
.nosotros-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    height: fit-content;
}

.nosotros-image-wrapper img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.nosotros-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.25rem;
}

.nosotros-badge {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #0891b2 100%);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
}

.nosotros-badge i {
    font-size: 1rem;
}

/* Contenido */
.nosotros-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Header con icono */
.nosotros-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nosotros-header__icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #0891b2 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.35);
    flex-shrink: 0;
}

.nosotros-header__text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.nosotros-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.nosotros-subtitle {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 500;
}

.nosotros-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
}

.nosotros-description strong {
    color: var(--primary-color);
}

/* Features grid */
.nosotros-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.nosotros-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.nosotros-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.nosotros-feature__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.nosotros-feature:hover .nosotros-feature__icon {
    transform: scale(1.1);
}

.nosotros-feature__icon--human {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0369a1;
}

.nosotros-feature__icon--strategy {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.nosotros-feature__icon--trust {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.nosotros-feature__icon--excellence {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    color: #7c3aed;
}

.nosotros-feature__text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.nosotros-feature__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nosotros-feature__desc {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Beneficios tags */
.nosotros-benefits {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.06) 0%, rgba(201, 168, 112, 0.04) 100%);
    border-radius: 12px;
}

.nosotros-benefit-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.nosotros-benefit-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nosotros-benefit-tag i {
    color: var(--accent-color);
    font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media screen and (max-width: 1024px) {
    .nosotros-quienes-visual {
        grid-template-columns: 280px 1fr;
        gap: 2rem;
    }

    .nosotros-image-wrapper img {
        min-height: 300px;
    }
}

@media screen and (max-width: 900px) {
    .nosotros-quienes-visual {
        grid-template-columns: 250px 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .nosotros-features {
        grid-template-columns: 1fr;
    }

    .nosotros-title {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .nosotros-quienes-visual {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.25rem;
        border-radius: 16px;
    }

    .nosotros-image-wrapper {
        max-height: 220px;
        border-radius: 12px;
    }

    .nosotros-image-wrapper img {
        min-height: 200px;
        max-height: 220px;
    }

    .nosotros-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .nosotros-header__icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .nosotros-header__text {
        align-items: center;
    }

    .nosotros-title {
        font-size: 1.5rem;
    }

    .nosotros-description {
        text-align: center;
        font-size: 1rem;
    }

    .nosotros-features {
        grid-template-columns: 1fr 1fr;
    }

    .nosotros-feature {
        padding: 0.875rem;
    }

    .nosotros-benefits {
        padding: 1rem;
        gap: 0.75rem;
    }

    .nosotros-benefit-tag {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

@media screen and (max-width: 600px) {
    .nosotros-features {
        grid-template-columns: 1fr;
    }

    .nosotros-feature {
        flex-direction: row;
        align-items: center;
    }
}

@media screen and (max-width: 480px) {
    .nosotros-quienes-visual {
        padding: 1rem;
        gap: 1.25rem;
    }

    .nosotros-image-wrapper {
        max-height: 180px;
    }

    .nosotros-image-wrapper img {
        min-height: 160px;
        max-height: 180px;
    }

    .nosotros-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .nosotros-header__icon {
        width: 45px;
        height: 45px;
        font-size: 1.15rem;
        border-radius: 12px;
    }

    .nosotros-title {
        font-size: 1.35rem;
    }

    .nosotros-subtitle {
        font-size: 0.85rem;
    }

    .nosotros-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .nosotros-feature {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .nosotros-feature__icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        border-radius: 8px;
    }

    .nosotros-feature__title {
        font-size: 0.875rem;
    }

    .nosotros-feature__desc {
        font-size: 0.75rem;
    }

    .nosotros-benefits {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .nosotros-benefit-tag {
        justify-content: center;
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 350px) {
    .nosotros-quienes-visual {
        padding: 0.875rem;
    }

    .nosotros-image-wrapper {
        max-height: 150px;
    }

    .nosotros-image-wrapper img {
        min-height: 140px;
        max-height: 150px;
    }

    .nosotros-header__icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .nosotros-title {
        font-size: 1.2rem;
    }

    .nosotros-description {
        font-size: 0.9rem;
    }

    .nosotros-feature {
        padding: 0.625rem;
    }

    .nosotros-feature__icon {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .nosotros-feature__title {
        font-size: 0.8rem;
    }

    .nosotros-feature__desc {
        font-size: 0.7rem;
    }

    .nosotros-benefit-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.875rem;
    }
}

/* ============================================
   POR QUÉ ELEGIR COBEX - VISUAL LAYOUT
   ============================================ */

.porque-elegir-visual {
    padding: 2.5rem;
    background: linear-gradient(145deg, #fef3c7 0%, #fef9c3 30%, #fffbeb 70%, #f8fafc 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.porque-elegir-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-accent), #f59e0b, var(--accent-color), var(--gold-accent));
}

/* Decoraciones de fondo */
.porque-elegir-visual::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(201, 168, 112, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Header */
.porque-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.porque-header__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold-accent) 0%, #b39760 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 8px 25px rgba(201, 168, 112, 0.4);
    flex-shrink: 0;
}

.porque-header__text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.porque-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.porque-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

/* Grid de razones */
.porque-reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.porque-reason {
    background: white;
    border-radius: 14px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
}

.porque-reason:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.porque-reason__number {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 2rem;
    font-weight: 900;
    color: rgba(201, 168, 112, 0.15);
    line-height: 1;
}

.porque-reason__icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.porque-reason:hover .porque-reason__icon {
    transform: scale(1.1);
}

.porque-reason__icon--team {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0369a1;
}

.porque-reason__icon--tech {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.porque-reason__icon--training {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.porque-reason__icon--results {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    color: #7c3aed;
}

.porque-reason__icon--support {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    color: #be185d;
}

.porque-reason__icon--security {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #4338ca;
}

.porque-reason__content {
    position: relative;
    z-index: 1;
}

.porque-reason__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.porque-reason__desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* CTA interno */
.porque-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.75rem;
    background: linear-gradient(135deg, rgba(201, 168, 112, 0.12) 0%, rgba(245, 158, 11, 0.08) 100%);
    border-radius: 12px;
    border: 1px solid rgba(201, 168, 112, 0.2);
}

.porque-cta__text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-color);
}

.porque-cta__text i {
    color: var(--gold-accent);
    font-size: 1.25rem;
}

.porque-cta__text strong {
    color: var(--primary-color);
}

.porque-cta__button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--gold-accent) 0%, #b39760 100%);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(201, 168, 112, 0.35);
    transition: all 0.3s ease;
}

.porque-cta__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 112, 0.45);
}

.porque-cta__button i {
    font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE - POR QUÉ ELEGIR
   ============================================ */

@media screen and (max-width: 1024px) {
    .porque-reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .porque-elegir-visual {
        padding: 1.75rem 1.25rem;
        border-radius: 16px;
    }

    .porque-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .porque-header__icon {
        width: 55px;
        height: 55px;
        font-size: 1.35rem;
    }

    .porque-header__text {
        align-items: center;
    }

    .porque-title {
        font-size: 1.5rem;
    }

    .porque-subtitle {
        font-size: 0.9rem;
    }

    .porque-reasons-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .porque-reason {
        padding: 1.25rem;
    }

    .porque-reason__icon {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }

    .porque-reason__title {
        font-size: 0.95rem;
    }

    .porque-reason__desc {
        font-size: 0.8rem;
    }

    .porque-cta {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }

    .porque-cta__text {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 600px) {
    .porque-reasons-grid {
        grid-template-columns: 1fr;
    }

    .porque-reason {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }

    .porque-reason__icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .porque-reason__number {
        top: 8px;
        right: 10px;
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .porque-elegir-visual {
        padding: 1.25rem 1rem;
    }

    .porque-header__icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        border-radius: 12px;
    }

    .porque-title {
        font-size: 1.35rem;
    }

    .porque-subtitle {
        font-size: 0.85rem;
    }

    .porque-reason {
        padding: 0.875rem;
        gap: 0.875rem;
    }

    .porque-reason__icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .porque-reason__title {
        font-size: 0.9rem;
    }

    .porque-reason__desc {
        font-size: 0.75rem;
    }

    .porque-cta__text {
        font-size: 0.9rem;
    }

    .porque-cta__button {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 350px) {
    .porque-elegir-visual {
        padding: 1rem 0.875rem;
    }

    .porque-header__icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .porque-title {
        font-size: 1.2rem;
    }

    .porque-reason {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .porque-reason__icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .porque-reason__title {
        font-size: 0.85rem;
    }

    .porque-reason__desc {
        font-size: 0.7rem;
    }

    .porque-cta__text {
        font-size: 0.85rem;
    }

    .porque-cta__button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}
