/* SENTINEL OT - About Us, Why Us & Contact Sections */

.nosotros-hidden {
    display: none;
}

.nosotros>.container,
.contacto>.container {
    width: 100%;
}

.nosotros__grid {
    display: grid;
    gap: 3rem;
}

.contacto__grid {
    display: grid;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contacto__action {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    perspective: 1000px;
}

#contactTrigger {
    background: linear-gradient(135deg, var(--color-accent) 0%, #7c3aed 100%);
    color: #fff;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 10px 30px -10px rgba(167, 139, 250, 0.6), 0 0 20px rgba(167, 139, 250, 0.2) inset;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

#contactTrigger:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(167, 139, 250, 0.8), 0 0 30px rgba(167, 139, 250, 0.4) inset;
    background: linear-gradient(135deg, #c4b5fd 0%, #6366f1 100%);
}

/* WHY US (Bento Grid) */
.why-us {
    padding: var(--space-3xl) 0 var(--space-2xl);
    position: relative;
    z-index: 3;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
}

.why-us::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(255, 255, 255, 0.06) 30%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.06) 70%, transparent 95%);
}

.why-us__grid {
    pointer-events: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 769px) {
    .why-us__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .why-us__grid .card:nth-child(1) {
        grid-column: 1 / 3;
    }

    .why-us__grid .card:nth-child(2) {
        grid-column: 3 / 4;
        grid-row: 1 / 3;
    }

    .why-us__grid .card:nth-child(3) {
        grid-column: 1 / 3;
    }
}

.why-us__grid .card {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    cursor: default;
}

.why-us__grid .card__icon {
    margin-bottom: 1.5rem;
    color: var(--color-accent);
    background: rgba(167, 139, 250, 0.1);
    padding: 1rem;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.why-us__grid .card:hover .card__icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(167, 139, 250, 0.2);
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.3);
}

/* Local Badge components used in these sections */
.badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
}

.badge:hover {
    border-color: rgba(167, 139, 250, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.badge__icon {
    color: var(--color-accent);
    font-size: 1.1rem;
}

/* Contact Specific Overrides for Bento List */
.contacto__card {
    background: rgba(22, 22, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 8px 32px rgba(0, 0, 0, 0.4);
}

.contacto__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.6), transparent);
    opacity: 0.3;
    z-index: 10;
}

.contacto__card:hover {
    background: rgba(30, 30, 30, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px) scale(1.02);
}

.contacto__card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

.contacto__card-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    font-family: var(--font-mono);
}

.contacto__card-value {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.contacto__card-sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {

    .nosotros,
    .contacto {
        padding: 4rem 0;
    }

    .why-us {
        padding: var(--space-2xl) 0;
    }

    .why-us__grid {
        display: flex;
        flex-direction: column;
        gap: 3.5rem;
        padding: 0 1.5rem;
        margin-top: 2rem;
    }

    .why-us__grid .card {
        padding: 5rem 2rem !important;
        min-height: 340px;
        justify-content: center;
        animation: cascadeFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        opacity: 0;
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .why-us__grid .card:nth-child(1) { animation-delay: 0.1s; }
    .why-us__grid .card:nth-child(2) { animation-delay: 0.2s; }
    .why-us__grid .card:nth-child(3) { animation-delay: 0.3s; }

    .why-us__grid .card__icon { 
        width: 48px; 
        height: 48px; 
        padding: 0; 
        margin-bottom: 1rem; 
        border-radius: 50%;
    }
    
    .why-us__grid .card__icon svg { 
        width: 24px; 
        height: 24px; 
    }
    
    .why-us__grid .card__title { 
        font-size: 1.2rem; 
        margin-bottom: 0.5rem; 
    }
    
    .why-us__grid .card__desc {
        font-size: 0.95rem;
        display: block;
        -webkit-line-clamp: unset;
        line-height: 1.5;
    }
}