/* Yardi Calculator Page Styles - Consistente con el sitio principal */

.seo-heading {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

.hero-banner {
    background: linear-gradient(135deg, #4361ee 0%, #3730a3 100%);
    border-radius: 12px;
    padding: 3em 2em;
    margin-bottom: 2em;
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.15);
    text-align: center;
    color: white;
    position: relative;
}

.hero-banner h2 {
    color: white;
    font-size: 2.2em;
    margin-bottom: 0.8em;
    font-weight: 700;
}

.hero-banner .hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.1em;
    margin-bottom: 1.5em;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2em;
    margin-top: 1.5em;
}

.stat-item {
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1.2em 1.5em;
    min-width: 120px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-number {
    font-size: 1.8em;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 0.3em;
}

.stat-label {
    font-size: 0.85em;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.calculator-section,
.experts-section {
    margin: 2.5em 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.08);
    padding: 2.5em 2em;
    border: 1px solid rgba(67, 97, 238, 0.1);
    position: relative;
}

.calculator-section::before,
.experts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4361ee, #3730a3);
    border-radius: 12px 12px 0 0;
}

.calculator-section h3,
.experts-section h3 {
    color: #4361ee;
    font-size: 1.4em;
    margin-bottom: 1.2em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.accent-color {
    color: #4361ee;
}

.calculator-form {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.8em;
    border: 1px solid #e2e8f0;
    margin-top: 1em;
}

.calculator-form input[type="number"] {
    border-radius: 6px;
    border: 1px solid #d1d5db;
    padding: 0.9em 1em;
    width: 100%;
    margin-bottom: 1em;
    font-size: 1em;
    background: white;
    color: #2d3748;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.calculator-form input[type="number"]:focus {
    border-color: #4361ee;
    outline: none;
    box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.1);
}

.calculator-form button.button.primary {
    width: 100%;
    margin-top: 0.5em;
    background: linear-gradient(135deg, #4361ee, #3730a3);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1em;
    padding: 0.9em 1.5em;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}

.calculator-form button.button.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

.cta-banner {
    margin: 2.5em 0;
    background: linear-gradient(135deg, #4361ee, #3730a3);
    color: white;
    border-radius: 12px;
    padding: 2.5em 2em;
    text-align: center;
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.2);
}

.cta-banner h3 {
    color: white;
    margin-bottom: 0.8em;
    font-size: 1.8em;
    font-weight: 700;
}

.cta-banner p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1em;
    margin-bottom: 1.5em;
    line-height: 1.5;
}

.cta-banner .button {
    background: white;
    color: #4361ee;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1em;
    padding: 0.8em 2em;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(255,255,255,0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    text-decoration: none;
    justify-content: center;
    min-width: 200px;
}

.cta-banner .button:hover {
    background: #10b981;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255,255,255,0.3);
    text-decoration: none;
}

.cta-banner .button.large {
    padding: 1em 2.5em;
    font-size: 1.1em;
    min-width: 250px;
}

.cta-banner .button i {
    margin-right: 0.5em;
    font-size: 1em;
}

.cta-banner .button.cta-contact-experts {
    background: white;
    color: #4361ee;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1em;
    padding: 1em 2.5em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255,255,255,0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    text-decoration: none;
    justify-content: center;
    min-width: 250px;
    letter-spacing: 0.5px;
}

.cta-banner .button.cta-contact-experts:hover {
    background: #10b981;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.4);
    text-decoration: none;
}

.cta-banner .button.cta-contact-experts i {
    margin-right: 0.5em;
    font-size: 1em;
    transition: transform 0.3s ease;
}

.cta-banner .button.cta-contact-experts:hover i {
    transform: translateX(3px);
}

/* Fix calculator result display */
#calculator-result {
    font-size: 1.2em;
    color: #10b981;
    font-weight: 600;
    margin-top: 1em;
    padding: 1em;
    background: #f0fdf4;
    border-radius: 6px;
    border: 1px solid #10b981;
    text-align: center;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

#calculator-result:empty {
    display: none;
}

#calculator-result.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.calculator-result-content {
    background: #f0fdf4;
    border: 2px solid #10b981;
    border-radius: 8px;
    padding: 1.5em;
    text-align: center;
}

.calculator-result-monthly {
    font-size: 1.4em;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.5em;
}

.calculator-result-annual {
    font-size: 1.1em;
    color: #059669;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    margin-bottom: 0.8em;
    font-size: 1em;
    color: #2d3748;
    display: flex;
    align-items: center;
    padding: 0.6em;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.check-list .icon {
    color: #10b981;
    margin-right: 0.8em;
    font-size: 1.1em;
    flex-shrink: 0;
}

/* Responsive Design */
@media screen and (max-width: 980px) {
    .hero-banner {
        padding: 2.5em 1.5em;
    }
    
    .hero-banner h2 {
        font-size: 2em;
    }
    
    .hero-stats {
        gap: 1.5em;
    }
    
    .calculator-section,
    .experts-section,
    .cta-banner {
        padding: 2em 1.5em;
    }
}

@media screen and (max-width: 736px) {
    .hero-banner {
        padding: 2em 1em;
    }
    
    .hero-banner h2 {
        font-size: 1.7em;
    }
    
    .hero-banner .hero-subtitle {
        font-size: 1em;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1em;
        align-items: center;
    }
    
    .stat-item {
        min-width: 180px;
    }
    
    .calculator-section,
    .experts-section,
    .cta-banner {
        padding: 1.5em 1em;
        margin: 2em 0;
    }
    
    .calculator-section h3,
    .experts-section h3 {
        font-size: 1.3em;
        text-align: center;
        flex-direction: column;
        gap: 0.3em;
    }
    
    .calculator-form {
        padding: 1.5em;
    }
    
    .cta-banner h3 {
        font-size: 1.5em;
    }
    
    .cta-banner p {
        font-size: 1em;
    }
}

@media screen and (max-width: 480px) {
    .hero-banner {
        padding: 1.5em 0.8em;
    }
    
    .hero-banner h2 {
        font-size: 1.5em;
    }
    
    .stat-number {
        font-size: 1.6em;
    }
    
    .calculator-section,
    .experts-section,
    .cta-banner {
        padding: 1.2em 0.8em;
    }
    
    .calculator-form {
        padding: 1.2em;
    }
    
    .calculator-form input[type="number"] {
        padding: 0.8em;
        font-size: 0.95em;
    }
    
    .check-list li {
        font-size: 0.95em;
        padding: 0.5em;
    }
}

/* Animation for calculator result */
#calculator-result {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

#calculator-result.show {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced button hover effects */
.button {
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.button:hover::before {
    left: 100%;
}

/* Enhanced button hover effects for CTA contact button */
.button.cta-contact-experts {
    position: relative;
    overflow: hidden;
}

.button.cta-contact-experts::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
    transition: left 0.5s;
}

.button.cta-contact-experts:hover::before {
    left: 100%;
}

/* Improved focus states for accessibility */
.calculator-form input[type="number"]:focus,
.button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading animation for calculator */
.calculator-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
}
