/* ========================================
   ABOUT PAGE - INDUSTRIAL PREMIUM REBORN
======================================== */

#binox-about-wrapper {
    background: #ffffff;
    overflow-x: hidden;
}

/* ========================================
   HERO SECTION - IMPACTFUL
======================================== */
.about-hero {
    position: relative;
    padding: 180px 0 120px;
    background-image: url('../public/fachada_binox.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero .section-tag {
    background: rgba(220, 38, 38, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.about-hero .page-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--white);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-hero .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.35rem;
    max-width: 800px;
}

/* ========================================
   STATS BAR - FLOATING INDUSTRIAL
======================================== */
.stats-bar-section {
    position: relative;
    z-index: 10;
    margin-top: -60px;
}

.stats-grid {
    background: var(--white);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-100);
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        padding: 50px 80px;
    }
}

.stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--gray-200);
}

@media (max-width: 1023px) {
    .stat-item:nth-child(2)::after {
        display: none;
    }
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-400);
}

/* ========================================
   HISTORY SECTION - INDUSTRIAL STORYTELLING
======================================== */
.about-history-section {
    padding: 120px 0;
    background: var(--bg-main);
}

.about-grid-modern {
    display: grid;
    gap: 80px;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid-modern {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.title-with-accent {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.accent-line {
    width: 80px;
    height: 6px;
    background: var(--primary);
    border-radius: 10px;
}

.lead-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 50px;
}

.history-cards {
    display: grid;
    gap: 30px;
}

.history-card {
    background: var(--white);
    padding: 40px;
    border-radius: 32px;
    border: 1px solid var(--gray-100);
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.history-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-glow);
}

.history-year {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Image Composition */
.about-image-side {
    position: relative;
}

.image-stack {
    position: relative;
}

.image-main {
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    transform: rotate(2deg);
    transition: all 0.6s var(--ease-out);
}

.image-main img {
    width: 100%;
    height: auto;
    display: block;
}

.image-accent-box {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 100%;
    height: 100%;
    background: var(--primary);
    opacity: 0.05;
    border-radius: 40px;
    z-index: 1;
    transform: rotate(-2deg);
}

.image-stack:hover .image-main {
    transform: rotate(0) scale(1.02);
}

/* ========================================
   PILLARS - TECH CARDS
======================================== */
.about-pillars-section {
    padding: 120px 0;
    background: var(--white);
}

.pillars-grid-modern {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.pillar-card-modern {
    padding: 50px 40px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 40px;
    position: relative;
    transition: all 0.5s var(--ease-out);
}

.pillar-number {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 5rem;
    font-weight: 900;
    color: var(--gray-100);
    opacity: 0.5;
    line-height: 1;
}

.pillar-icon-box {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.pillar-card-modern:hover {
    background: var(--dark);
    border-color: var(--dark);
    transform: translateY(-15px);
}

.pillar-card-modern:hover .pillar-number {
    color: rgba(255, 255, 255, 0.05);
}

.pillar-card-modern:hover .pillar-icon-box {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(10deg);
}

.pillar-card-modern:hover h3,
.pillar-card-modern:hover p {
    color: var(--white);
}

/* ========================================
   CORE FEATURES - PREMIUM LIST
======================================== */
.about-specialization-section {
    padding: 120px 0;
    background: var(--bg-main);
}

.dual-feature-grid {
    display: grid;
    gap: 80px;
    align-items: center;
}

@media (min-width: 1024px) {
    .dual-feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.tech-img {
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
    filter: sepia(0.3) brightness(0.9);
    transition: all 0.6s var(--ease-out);
}

.tech-image-wrapper:hover .tech-img {
    filter: none;
    transform: scale(1.02);
}

.premium-check-list {
    list-style: none;
    margin: 40px 0;
}

.premium-check-list li {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
}

.check-icon {
    width: 56px;
    height: 56px;
    background: var(--white);
    color: var(--primary);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.check-text strong {
    font-size: 1.25rem;
    display: block;
    margin-bottom: 8px;
}

/* ========================================
   CTA PREMIUM - THE GRAND FINALE
======================================== */
.about-cta-premium {
    padding: 100px 0;
    background: var(--white);
}

.cta-premium-box {
    background: var(--dark);
    padding: 100px 60px;
    border-radius: 50px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-premium-box::before {
    content: 'BINOX';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    letter-spacing: 2vw;
}

.cta-premium-content {
    position: relative;
    z-index: 2;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 50px;
}

.btn-white {
    background: var(--white);
    color: var(--dark);
    padding: 20px 40px;
}

.btn-white:hover {
    background: var(--primary);
    color: var(--white);
}

/* ========================================
   CLIENTS CAROUSEL - INDUSTRIAL TRACK
======================================== */
.about-clients-section {
    padding: 80px 0;
    background: var(--bg-main);
}

.clients-carousel {
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.clients-track {
    display: flex;
    gap: 80px;
    animation: scroll-infinite 40s linear infinite;
    width: fit-content;
}

.clients-track:hover {
    animation-play-state: paused;
}

.client-logo {
    width: 180px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(1) opacity(0.5);
    transition: all 0.4s var(--ease-out);
}

.client-logo:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   RESPONSIVE OVERRIDES
======================================== */
@media (max-width: 768px) {
    .about-hero {
        padding: 120px 0 80px;
    }

    .stats-grid {
        padding: 30px;
        gap: 20px;
    }

    .cta-premium-box {
        padding: 60px 30px;
    }

    .cta-actions {
        flex-direction: column;
    }
}