/**
 * ROI Calculator Styles
 * Estilos para la calculadora de ROI interactiva
 */

.roi-calculator-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 130px 0 60px 0;
}

/* Header Section */
.roi-header {
    text-align: center;
    margin-bottom: 60px;
}

.roi-header-content {
    max-width: 800px;
    margin: 0 auto;
}


.roi-title {
    font-size: 48px;
    font-weight: 700;
    color: #107586;
    margin-bottom: 20px;
    font-family: 'Exo 2', sans-serif;
}

.roi-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Calculator Section */
.roi-calculator {
    margin-bottom: 80px;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Input Form */
.calculator-inputs {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(70, 181, 229, 0.1);
}

.calculator-inputs h2 {
    color: #107586;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    font-family: 'Exo 2', sans-serif;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    color: #107586;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 16px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
    color: #333;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #46B5E5;
    box-shadow: 0 0 0 3px rgba(70, 181, 229, 0.1);
}

.input-help {
    display: block;
    font-size: 13px;
    color: #888;
    margin-top: 5px;
    font-style: italic;
}

.calculate-button-group {
    margin-top: 30px;
    text-align: center;
}

.btn-calculate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #107586, #46B5E5);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 117, 134, 0.3);
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 117, 134, 0.4);
    background: linear-gradient(135deg, #0d6374, #3ba3d9);
}

.btn-calculate:active {
    transform: translateY(0);
}

.calculator-results {
    transition: transform 0.3s ease;
}

/* Results Panel */
.calculator-results {
    background: linear-gradient(135deg, #107586, #46B5E5);
    color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(16, 117, 134, 0.3);
}

.calculator-results h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    font-family: 'Exo 2', sans-serif;
}

.result-highlight {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.result-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    font-weight: 700;
    margin-bottom: 10px;
}

.result-value .currency {
    font-size: 24px;
}

.result-value #monthly_savings {
    font-size: 48px;
    line-height: 1;
}

.result-value .period {
    font-size: 18px;
    opacity: 0.8;
}

.result-label {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.metric {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.metric-label {
    font-size: 13px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Breakdown */
.breakdown {
    margin-bottom: 30px;
}

.breakdown h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0.95;
}

.breakdown-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.breakdown-label {
    font-size: 14px;
    opacity: 0.9;
}

.breakdown-value {
    font-weight: 600;
    font-size: 15px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 30px;
}

.cta-section .btn {
    background: white;
    color: #107586;
    border: 2px solid white;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-note {
    font-size: 12px;
    opacity: 0.8;
    margin: 0;
}

/* Benefits Section */
.roi-benefits {
    margin-bottom: 80px;
}

.roi-benefits h2 {
    text-align: center;
    font-size: 32px;
    color: #107586;
    margin-bottom: 50px;
    font-family: 'Exo 2', sans-serif;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(70, 181, 229, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 117, 134, 0.15);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #107586, #46B5E5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
}

.benefit-item h3 {
    color: #107586;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Exo 2', sans-serif;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Methodology Section */
.roi-methodology {
    background: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(70, 181, 229, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.methodology-content h2 {
    color: #107586;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Exo 2', sans-serif;
}

.methodology-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.methodology-item h4 {
    color: #107586;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Exo 2', sans-serif;
}

.methodology-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.methodology-item li {
    color: #666;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.methodology-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #46B5E5;
    font-weight: bold;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .roi-calculator-page {
        padding: 100px 0 40px 0;
    }

    .roi-title {
        font-size: 32px;
    }

    .roi-subtitle {
        font-size: 16px;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .calculator-inputs,
    .calculator-results {
        padding: 30px 20px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .result-value #monthly_savings {
        font-size: 36px;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }

    .roi-methodology {
        padding: 30px 20px;
    }

    .methodology-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .calculator-inputs,
    .calculator-results {
        padding: 20px 15px;
    }

    .result-highlight {
        padding: 20px;
    }

    .result-value #monthly_savings {
        font-size: 28px;
    }

    .metric-value {
        font-size: 22px;
    }

    .breakdown-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}