/* ========================================
   BORNES DE RECHARGE - OPTIMIZED STYLES
   ======================================== */

/* Reusable gradient variables */
:root {
    --gradient-blue: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(59, 130, 246, 0.7) 100%);
    --gradient-orange: linear-gradient(135deg, var(--primary-orange), #e55a2b);
    --gradient-blue-solid: linear-gradient(135deg, #3B82F6, #1E40AF);
}

/* Hero Section */
.hero-bornes {
    position: relative;
    background: url('images/hero.avif') center/cover fixed;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-blue);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Hero Stats Cards */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    min-width: 160px;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.stat-content {
    text-align: left;
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-orange);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-orange);
    margin: 0 auto;
    border-radius: 2px;
}

/* Content Grids - Shared Styles */
.content-modern-grid,
.advantages-modern {
    display: grid;
    gap: 4rem;
    align-items: center;
}

.content-modern-grid {
    grid-template-columns: 1fr 1fr;
}

/* Images */
.image-showcase-modern,
.advantage-highlight {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.image-showcase-modern img,
.advantage-highlight img {
    width: 100%;
    height: auto;
    display: block;
}

/* Text Content */
.lead-paragraph {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.lead-paragraph strong {
    color: var(--primary-blue);
}

/* Features */
.features-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    background: var(--gradient-blue-solid);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.feature-content h4 {
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.feature-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
}

/* Services Box */
.services-box-modern {
    background: linear-gradient(135deg, var(--light-gray), white);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.services-box-modern h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.services-grid-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.service-tag {
    background: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    background: var(--primary-orange);
    color: white;
}

/* Advantages Section */
.advantage-highlight {
    height: 400px;
}

.advantage-highlight img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advantage-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 58, 138, 0.95), transparent);
    padding: 3rem 2rem 2rem;
    color: white;
}

.advantage-overlay h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.advantages-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Card Styles - Unified */
.advantage-card-modern,
.solution-card-modern,
.guarantee-card-modern {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card-modern::before,
.solution-card-modern::before,
.guarantee-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue-solid);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.advantage-card-modern:hover::before,
.solution-card-modern:hover::before,
.guarantee-card-modern:hover::before {
    transform: scaleX(1);
}

.advantage-card-modern:hover,
.solution-card-modern:hover,
.guarantee-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-card-modern h3,
.solution-card-modern h3,
.guarantee-card-modern h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Dynamic Metrics */
.advantage-card-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.advantage-card-modern[data-metric-value]::after {
    content: attr(data-metric-value) ' ' attr(data-metric-label);
    font-size: 0.9rem;
    color: var(--text-gray);
}

.advantage-card-modern[data-metric-value]::before {
    content: attr(data-metric-value);
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-orange);
}

/* Solutions Section */
.solutions-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card-modern.featured {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 2px solid var(--primary-orange);
}

.solution-card-modern.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.solution-header {
    text-align: center;
    margin-bottom: 2rem;
}

.solution-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.solution-tag {
    background: rgba(59, 130, 246, 0.1);
    color: var(--light-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.solution-tag.recommended {
    background: var(--gradient-orange);
    color: white;
}

.solution-specs {
    margin-bottom: 2rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.spec-value {
    color: var(--primary-blue);
    font-weight: 600;
}

.solution-cta {
    display: block;
    text-align: center;
    padding: 1rem;
    background: var(--gradient-blue-solid);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.solution-cta.primary {
    background: var(--gradient-orange);
}

.solution-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
}

/* Guarantees Section */
.guarantees-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.guarantee-card-modern.featured {
    background: var(--gradient-blue-solid);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.guarantee-card-modern.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.guarantee-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.guarantee-icon-modern {
    font-size: 3rem;
}

.guarantee-badge {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.guarantee-card-modern.featured .guarantee-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.guarantee-card-modern.featured h3,
.guarantee-card-modern.featured p {
    color: white;
}

.guarantee-card-modern p {
    color: var(--text-gray);
}

.guarantee-card-modern.featured p {
    color: rgba(255, 255, 255, 0.9);
}

/* CTA Final Section */
.final-cta-modern {
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.final-cta-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-modern-wrapper {
    position: relative;
    z-index: 1;
}

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

.cta-modern-content {
    max-width: 600px;
}

.section-header-left {
    text-align: left;
    margin-bottom: 2rem;
}

.section-header-left .section-line {
    margin: 0;
}

.cta-modern-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

.cta-modern-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.cta-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cta-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-blue-solid);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.cta-stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.cta-button-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-button-modern.primary {
    background: var(--gradient-orange);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.cta-button-modern.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.cta-button-modern.secondary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.cta-button-modern.secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

.cta-visual-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-orange);
}

.cta-visual-header {
    text-align: center;
    margin-bottom: 2rem;
}

.cta-visual-badge {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

.cta-process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 45px;
    width: 1px;
    height: calc(100% + 1.5rem);
    background: linear-gradient(to bottom, var(--primary-blue), transparent);
    opacity: 0.3;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-blue-solid);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.step-content h4 {
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

.cta-trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .cta-modern-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cta-visual-card {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .cta-modern-stats {
        justify-content: space-between;
        gap: 1.5rem;
    }

    .cta-stat-number {
        font-size: 2rem;
    }

    .cta-modern-buttons {
        flex-direction: column;
    }

    .cta-button-modern {
        width: 100%;
        justify-content: center;
    }

    .cta-trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .process-step {
        gap: 1rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .step-content h4 {
        font-size: 1rem;
    }
}

/* Utility Classes */
.bg-gray {
    background: var(--light-gray);
}

/* Responsive */
@media (max-width: 1200px) {
    .solutions-cards-wrapper {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .solution-card-modern.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    /* Hero Adjustments */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        min-width: 140px;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .stat-content {
        text-align: center;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    /* Section Adjustments */
    .section-title {
        font-size: 1.8rem;
    }

    .content-modern-grid,
    .advantages-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .advantage-highlight {
        height: 300px;
    }

    /* CTA Adjustments */
    .cta-buttons-elegant {
        flex-direction: column;
        align-items: center;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.1); 
        opacity: 0.8; 
    }
}