/* ==========================================
   CORPORATE PAGE - CUSTOM STYLES
   ========================================== */

/* Hero Section */
.corporate-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1E3A8A 0%, #1E6BF1 50%, #7C3AED 100%);
    overflow: hidden;
}

.corporate-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/corporativo_background.webp') center/cover no-repeat;
    opacity: 0.15;
}

.corporate-hero .hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 6rem 1.5rem 4rem;
    color: white;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}



/* Stats Bar */
.stats-bar {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 20;
    margin-top: -2rem;
    border-radius: 20px;
    margin-left: 2rem;
    margin-right: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1E6BF1, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: #64748B;
    margin-top: 0.5rem;
}

/* Portfolio Section */
.portfolio-section {
    padding: 6rem 0;
    background: #F8FAFC;
    overflow: hidden;
}

/* Portfolio Image Cards Slider */
.portfolio-grid-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
}

.portfolio-grid-slider::-webkit-scrollbar {
    display: none;
}

/* Image Card Style */
.portfolio-image-card {
    position: relative;
    min-width: 280px;
    max-width: 280px;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--card-bg, url('../images/portfolio/placeholder.jpg')) center/cover no-repeat;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.portfolio-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(30, 107, 241, 0.85) 50%, #00BE9A 100%);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.portfolio-image-card:hover::before {
    opacity: 0.75;
}

.portfolio-image-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: white;
    z-index: 10;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.card-btn:hover {
    opacity: 0.8;
}

.card-btn:hover i {
    transform: translateX(5px);
}

/* Portfolio Navigation */
.portfolio-nav {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 2rem;
}

.portfolio-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1E6BF1;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-arrow:hover {
    background: #1854C6;
    transform: scale(1.1);
}

/* Backbone Section */
.backbone-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1E3A8A 0%, #1E6BF1 100%);
    color: white;
}

.backbone-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.backbone-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.backbone-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.backbone-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.backbone-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.backbone-feature i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.backbone-cities-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.backbone-cities-container h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.backbone-cities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.city-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.city-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.city-card.city-main {
    background: linear-gradient(135deg, #22C55E, #16A34A);
    grid-column: span 1;
}

.city-card i {
    font-size: 1.25rem;
}

.city-card span {
    font-weight: 600;
}

.city-card small {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: #F8FAFC;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #1E6BF1, #7C3AED);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 0.9rem;
    color: #64748B;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .backbone-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .corporate-hero .hero-content {
        padding: 5rem 1.5rem 3rem;
        max-width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
        word-break: break-word;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .stats-bar {
        margin-left: 1rem;
        margin-right: 1rem;
    }

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

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}