/* ========================================
   ESTILOS PARA PÁGINAS DE PARTNERS
   ======================================== */

/* HERO SECTION */
.partner-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/PorteriaCentral.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
	min-height: 480px;
	display: flex;
    align-items: center;
    justify-content: center;
}

.partner-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

.partner-hero-content {
    position: relative;
    z-index: 1;
}

.partner-logo-hero {
    max-width: 300px;
    height: auto;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
}

.partner-hero h1 {
    font-family: 'Asap', sans-serif;
    font-size: 2.8em;
    color: #fff;
    margin: 20px 0;
    text-align: center;
    padding: 0;
}

.hero-subtitle {
    font-size: 1.3em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

/* SECTIONS */
.partner-section {
    padding: 15px 20px;
}

.white-bg {
    background-color: #fff;
}

.gray-bg {
    background-color: #F7F7FF;
}

.container-partner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-intro {
    text-align: left;
    font-size: 1.2em;
    color: #272728;
    max-width: 1160px;
    margin: 10px;
    line-height: 1.8;
}

/* GRIDS */
.features-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.features-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

/* FEATURE CARDS */
.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.feature-card i {
    font-size: 2.5em;
    color: #f07328;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-family: 'Asap', sans-serif;
    color: #272728;
    font-size: 1.5em;
    margin: 15px 0;
    text-align: left;
    padding: 0;
}

.feature-card p {
    color: #555;
    line-height: 1.6;
    font-size: 16px;
}

/* FEATURE BOXES */
.feature-box {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(240, 115, 40, 0.2);
}

.feature-box i {
    font-size: 2.5em;
    color: #f07328;
    margin-bottom: 15px;
}

.feature-box h4 {
    font-family: 'Asap', sans-serif;
    color: #272728;
    font-size: 1.2em;
    margin: 10px 0;
}

.feature-box p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* FEATURE HIGHLIGHT */
.feature-highlight {
    background-color: #f9f9f9;
    padding: 35px;
    border-left: 4px solid #f07328;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.feature-highlight i {
    font-size: 2.8em;
    color: #f07328;
    margin-bottom: 20px;
    display: block;
}

.feature-highlight h3 {
    font-family: 'Asap', sans-serif;
    color: #f07328;
    font-size: 1.6em;
    margin: 15px 0;
    text-align: left;
    padding: 0;
}

.feature-highlight p {
    color: #272728;
    line-height: 1.7;
    font-size: 16px;
}

/* BENEFITS LIST */
.benefits-list {
    max-width: 900px;
    margin: 40px auto;
}

.benefits-list ul {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    font-size: 16px;
    color: #272728;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    line-height: 1.6;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list i {
    color: #f07328;
    margin-right: 15px;
    font-size: 1.2em;
}

/* STATS GRID */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 50px 0;
}

.stat-box {
    background: linear-gradient(135deg, #f07328 0%, #ff9a56 100%);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    box-shadow: 0 4px 10px rgba(240, 115, 40, 0.3);
}

.stat-box h3 {
    font-size: 2.5em;
    margin: 0 0 10px 0;
    color: #fff;
    text-align: center;
    padding: 0;
}

.stat-box p {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

/* ODOO SPECIFIC */
.odoo-intro {
    max-width: 900px;
    margin: 40px auto;
}

.intro-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #272728;
    margin: 20px 0;
    text-align: center;
}

.intro-highlight {
    font-size: 1.3em;
    line-height: 1.8;
    color: #f07328;
    font-weight: 600;
    text-align: center;
    max-width: 900px;
    margin: 30px auto;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.app-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(240, 115, 40, 0.2);
}

.app-card i {
    font-size: 2.5em;
    color: #f07328;
    margin-bottom: 15px;
}

.app-card h4 {
    font-family: 'Asap', sans-serif;
    color: #272728;
    font-size: 1.2em;
    margin: 10px 0;
}

.app-card p {
    color: #666;
    font-size: 14px;
}

.ai-intro {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.benefit-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f07328 0%, #ff9a56 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 2.2em;
    color: #fff;
}

.benefit-card h3 {
    font-family: 'Asap', sans-serif;
    color: #272728;
    font-size: 1.4em;
    margin: 15px 0;
    text-align: center;
    padding: 0;
}

.benefit-card p {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.industry-box {
    background-color: #f9f9f9;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.industry-box:hover {
    background-color: #f07328;
    color: #fff;
    transform: scale(1.05);
}

.industry-box i {
    font-size: 2.5em;
    color: #f07328;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.industry-box:hover i {
    color: #fff;
}

.industry-box h4 {
    font-family: 'Asap', sans-serif;
    color: #272728;
    font-size: 1.1em;
    margin: 0;
    transition: color 0.3s ease;
}

.industry-box:hover h4 {
    color: #fff;
}

/* CTA SECTION */
.partner-cta {
    background: linear-gradient(135deg, #272728 0%, #3a3a3c 100%);
    padding: 40px 20px;
    text-align: center;
    color: #fff;
}

.partner-cta h2 {
    font-family: 'Asap', sans-serif;
    font-size: 2.5em;
    color: #fff;
    margin: 0 0 20px 0;
    text-align: center;
    padding: 0;
}

.partner-cta p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 40px;
    font-size: 1.1em;
    font-family: 'Asap', sans-serif;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #f07328;
    color: #fff;
    border: 2px solid #f07328;
}

.btn-primary:hover {
    background-color: #ff9a56;
    border-color: #ff9a56;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 115, 40, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #f07328;
    transform: translateY(-2px);
}

.btn-secondary i {
    margin-right: 8px;
}

/* TWO COLUMN LAYOUT */
.two-column-section {
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    gap: 50px;
    align-items: center;
    margin: 15px 0;
}

.two-column-section.reverse {
    grid-template-columns: 0.5fr 1fr;
}

.column-text {
    padding: 0;
}

.column-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.app-screenshot {
    width: 100%;
    max-width: 240px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-screenshot:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* RESPONSIVE - TABLETS */
@media (max-width: 1080px) {
    .partner-hero h1 {
        font-size: 2.2em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .features-grid-2col,
    .features-grid-3col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .apps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .two-column-section {
        grid-template-columns: 1fr 0.6fr;
        gap: 30px;
    }
    
    .two-column-section.reverse {
        grid-template-columns: 0.6fr 1fr;
    }
    
    .app-screenshot {
        max-width: 250px;
    }
	
}

/* RESPONSIVE - MÓVILES */
@media (max-width: 767px) {
    .partner-hero {
        padding: 50px 20px;
        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/PorteriaCentral-mobile.jpg');
        background-size: cover;
        background-position: center;
        background-attachment: scroll; /* Quita el parallax en móviles */
        min-height: 400px;
    }
    

    .partner-hero h1 {
        font-size: 1.8em;
    }
    
    .hero-subtitle {
        font-size: 1em;
    }
    
    .partner-section {
        padding: 40px 15px;
    }
    
    .section-intro {
        font-size: 0.9em;
    }
    
    .features-grid-2col,
    .features-grid-3col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card,
    .feature-highlight {
        padding: 25px 20px;
    }
    
    .feature-card h3,
    .feature-highlight h3 {
        font-size: 1.3em;
    }
    
    .feature-box {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-box {
        padding: 20px 15px;
    }
    
    .stat-box h3 {
        font-size: 2em;
    }
    
    .stat-box p {
        font-size: 12px;
    }
    
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .app-card {
        padding: 20px 15px;
    }
    
    .app-card i {
        font-size: 2em;
    }
    
    .app-card h4 {
        font-size: 1em;
    }
    
    .app-card p {
        font-size: 13px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-card {
        padding: 25px 20px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon i {
        font-size: 1.8em;
    }
    
    .benefit-card h3 {
        font-size: 1.2em;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .industry-box {
        padding: 20px 15px;
    }
    
    .industry-box i {
        font-size: 2em;
    }
    
    .industry-box h4 {
        font-size: 1em;
    }
    
    .partner-cta {
        padding: 50px 20px;
    }
    
    .partner-cta h2 {
        font-size: 1.8em;
    }
    
    .partner-cta p {
        font-size: 1em;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 30px;
        font-size: 1em;
        width: 100%;
        max-width: 300px;
    }
    
    .intro-text {
        font-size: 1em;
    }
    
    .intro-highlight {
        font-size: 1.1em;
    }
    
    .benefits-list li {
        font-size: 16px;
    }
	
    .two-column-section,
    .two-column-section.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .column-image {
        order: -1; /* Imagen siempre arriba en móvil */
    }
    
    .app-screenshot {
        max-width: 220px;
    }
}

/* RESPONSIVE - MÓVILES (menos de 600px) */
@media (max-width: 600px) {
    .two-column-section,
    .two-column-section.reverse {
        gap: 20px;
    }
    
    .column-image {
        padding: 10px;
    }
    
    .app-screenshot {
        max-width: 200px;
        border-radius: 15px;
    }
}

/* RESPONSIVE - MÓVILES PEQUEÑOS (menos de 480px) */
@media (max-width: 480px) {
    .app-screenshot {
        max-width: 180px;
    }
}
