/* Hero Section */
.hero-consorcio {
    background: linear-gradient(rgba(0, 51, 102, 0.4), rgba(0, 51, 102, 0.6)),
        url('https://images.unsplash.com/photo-1603386329225-868f9b1ee6c9?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 280px 0 100px;
    min-height: 80vh;
}

.hero-consorcio h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-consorcio p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

/* Form Section */
.quote-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.quote-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.quote-form .btn {
    border: none !important;
    box-shadow: none !important;
    width: auto;
    margin-top: 10px;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    letter-spacing: normal !important;
}

.quote-form .btn:hover {
    background-color: #e65c00 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.quote-form .btn {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    letter-spacing: normal !important;
}

.quote-form .btn {
    cursor: pointer !important;
}

.btn {
    cursor: pointer;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background-color: var(--light);
}

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

.benefit-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: var(--white);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
}

.step-line {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--secondary);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 20%;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.step-content {
    background-color: var(--light);
    padding: 20px;
    border-radius: 10px;
    min-height: 200px;
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Comparison Section */
.comparison-section {
    padding: 80px 0;
    background-color: var(--light);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th, 
.comparison-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #eee;
}

.comparison-table th {
    background-color: var(--primary);
    color: var(--white);
    font-weight: 500;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--light);
}

.comparison-table .feature {
    text-align: left;
    font-weight: 500;
    color: var(--primary);
}

.check-icon {
    color: #28a745;
    font-size: 1.2rem;
}

.times-icon {
    color: #dc3545;
    font-size: 1.2rem;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--white);
}

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

.testimonial-card {
    background-color: var(--light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--secondary);
    opacity: 0.2;
    position: absolute;
    top: -15px;
    left: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--light);
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background-color: var(--white);
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.9)),
        url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 15px;
    }

    .hero-consorcio {
        padding: 150px 0 80px;
        margin-top: 60px;
    }

    .hero-consorcio h1 {
        font-size: 2rem;
    }

    .steps-container {
        flex-direction: column;
    }

    .step {
        width: 100%;
        margin-bottom: 30px;
    }

    .step-line {
        display: none;
    }

    .step-number {
        margin-bottom: 15px;
    }

    .step-content {
        min-height: auto;
    }

    .quote-form {
        padding: 30px 20px;
    }

    .comparison-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 10px 25px;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .company-values {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .btn-gold,
    .btn-orange,
    .btn-white {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}
