/* ===== QUIÉNES SOMOS — Dark modern theme ===== */

/* --- Hero banner --- */
#top_banner .banner {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

#top_banner .banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255, 84, 0, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

#top_banner .banner .inner {
    position: relative;
    z-index: 2;
    padding: 70px 20px;
    animation: slideInUp 0.8s ease forwards;
}

#top_banner .banner .inner h2 {
    font-family: 'Inter', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

#top_banner .banner .inner h2 span {
    color: #FF5400;
}

#top_banner .page_info {
    background: #111 !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
    border-top: none !important;
}

#top_banner .page_info h4 {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    padding: 14px 0;
}

#top_banner .page_info div[style*="text-align"] {
    color: rgba(255,255,255,0.45);
    padding: 14px 0;
    font-size: 13px;
}

#top_banner .page_info .current {
    color: #FF5400;
    font-weight: 600;
}

#top_banner .page_info .sep {
    color: rgba(255,255,255,0.3);
}

/* --- Historia --- */
#about-story {
    background: #0d0d0d;
    padding: 90px 0;
}

#about-story .section-heading h1 {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
    margin-top: 0;
}

#about-story .section-heading h1 span {
    color: #FF5400;
}

#about-story .section-heading .subheading {
    color: #fff;
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 28px;
}

#about-story p {
    color: #fff;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

#about-story p strong {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}

.story-image-card {
    background: #000;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px;
    min-height: 300px;
}

.story-image-card img {
    max-width: 240px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: brightness(1.05);
}

/* --- Pilares --- */
#about-pillars {
    background: #111 !important;
    padding: 90px 0 !important;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: #f5f5f5;
}

#about-pillars .row {
    display: flex !important;
    flex-wrap: wrap;
}

#about-pillars .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.pillars-header {
    text-align: center;
    margin-bottom: 56px;
}

.pillars-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #FF5400;
    margin-bottom: 14px;
}

.pillars-title {
    font-family: 'Inter', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    margin: 0;
}

.pillars-title span {
    color: #FF5400;
}

.pillar-card {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-top: 3px solid #FF5400 !important;
    border-radius: 14px !important;
    padding: 32px 28px !important;
    margin-bottom: 24px;
    display: flex !important;
    align-items: flex-start !important;
    gap: 18px !important;
    flex: 1;
    width: 100%;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.23,1,0.32,1);
}

.pillar-card:hover {
    background: rgba(255,255,255,0.07) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 20px rgba(255,84,0,0.07) !important;
    transform: translateY(-4px);
}

.pillar-icon {
    font-size: 28px !important;
    color: #FF5400 !important;
    min-width: 36px !important;
    margin-top: 4px;
}

.pillar-title {
    font-family: 'Inter', sans-serif;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 8px !important;
    letter-spacing: 0.3px;
}

.pillar-text {
    color: rgba(255,255,255,0.5) !important;
    font-size: 14.5px !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

.pillar-accent {
    color: #FF5400 !important;
    font-weight: 600;
}

/* --- Métricas --- */
#about-metrics {
    background: #0d0d0d;
    padding: 90px 0;
}

.metrics-eyebrow {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #FF5400;
    margin-bottom: 12px;
}

.metrics-title {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    margin: 0 0 56px;
}

.metrics-title span {
    color: #FF5400;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 767px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
        margin: 0 auto;
    }
}

.metric-item {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-top: 3px solid #FF5400 !important;
    border-radius: 14px !important;
    padding: 40px 32px !important;
    text-align: center;
    box-shadow: none !important;
    transition: transform 0.35s cubic-bezier(0.23,1,0.32,1), box-shadow 0.35s ease;
    min-height: unset !important;
    max-width: unset !important;
    flex: unset !important;
}

.metric-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 24px rgba(255,84,0,0.07) !important;
}

.metric-item h3 {
    font-family: 'Inter', sans-serif;
    font-size: 52px !important;
    font-weight: 800 !important;
    color: #FF5400 !important;
    margin: 0 0 12px !important;
    line-height: 1;
}

.metric-item p {
    color: rgba(255,255,255,0.5) !important;
    font-size: 13px !important;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 !important;
}

/* --- Partners --- */
.partners-section {
    background: #111 !important;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 80px 0 !important;
}

.partners-section h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 32px;
    color: #fff;
    margin-bottom: 8px;
}

.partners-section .subheading {
    color: rgba(255,255,255,0.45);
    margin-bottom: 40px;
    display: block;
}

/* --- Marquee infinito --- */
@keyframes partnersScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.partners-marquee-wrap {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-marquee-track {
    display: flex;
    align-items: center;
    gap: 32px;
    width: max-content;
    animation: partnersScroll 22s linear infinite;
}

.partners-marquee-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    display: block;
    height: 48px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    object-position: center;
    opacity: 1;
    background: #fff;
    border-radius: 10px;
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: none !important;
    transition: opacity 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.partner-logo.partner-microsoft,
.partner-logo.partner-hikvision {
    height: 60px;
    max-width: 180px;
    padding: 8px 16px;
}

.partner-logo:hover {
    background: #fff;
    border-color: rgba(255, 84, 0, 0.4);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3) !important;
    transform: translateY(-3px);
    outline: none;
}

.partners-section .carousel,
.partners-section .carousel .item,
.partners-section .carousel .item.active,
.partners-section .partner-slide {
    background: transparent !important;
    box-shadow: none !important;
}

.partners-section .carousel .item .partner-logo::before,
.partners-section .carousel .item .partner-logo::after {
    display: none !important;
    content: none !important;
}

.partners-section .carousel-control {
    background: none;
    color: rgba(255,255,255,0.5);
    text-shadow: none;
    opacity: 0.7;
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.partners-section .carousel-control.left { left: -32px; }
.partners-section .carousel-control.right { right: -32px; }
.partners-section .carousel-control i { font-size: 28px; line-height: 1; }
.partners-section .carousel-control:hover { opacity: 1; color: #FF5400; }

@media (max-width: 767px) {
    .partners-section .partner-slide {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }
    .partners-section .partner-slide .partner-logo {
        flex: 0 1 42%;
        min-width: 100px;
        max-width: 130px;
        height: 40px;
        padding: 8px 12px;
    }
    .partners-section .partner-slide .partner-logo.partner-microsoft,
    .partners-section .partner-slide .partner-logo.partner-hikvision {
        height: 48px;
        max-width: 160px;
    }
    .partners-section .carousel-control.left { left: 0; }
    .partners-section .carousel-control.right { right: 0; }
}

/* --- CTA --- */
#about-cta {
    background: #0d0d0d;
    padding: 90px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.cta-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 60px 52px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,84,0,0.09) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card-text {
    flex: 1;
    min-width: 260px;
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.3px;
}

.cta-card p {
    color: rgba(255,255,255,0.5);
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
}

.cta-card-action {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.btn-cta-orange {
    display: inline-block;
    padding: 15px 42px;
    background: #FF5400;
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 6px;
    border: 2px solid #FF5400;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 24px rgba(255,84,0,0.4);
}

.btn-cta-orange:hover {
    background: transparent;
    color: #FF5400 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255,84,0,0.2);
}

/* --- Scroll-reveal --- */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 991px) {
    #top_banner .banner .inner h2 { font-size: 28px; }
    #about-story .section-heading h1 { font-size: 30px; }
    .pillars-title { font-size: 28px; }
    .metrics-title { font-size: 28px; }
    .cta-card { padding: 44px 32px; }
    .cta-card h2 { font-size: 26px; }
}

@media (max-width: 767px) {
    #top_banner .banner .inner h2 { font-size: 22px; }
    .cta-card { padding: 36px 24px; }
}
