/* Base Styles */
:root {
    --primary-color: #153a5f;
    --primary-dark: #0c2440;
    --primary-light: #2c5282;
    --secondary-color: #f47b3d;
    --secondary-dark: #e06424;
    --secondary-light: #ff9661;
    --accent-color: #f47b3d;
    --text-color: #2d3748;
    --text-light: #718096;
    --bg-color: #ffffff;
    --bg-light: #f7fafc;
    --bg-dark: #153a5f;
    --success-color: #48bb78;
    --warning-color: #f47b3d;
    --error-color: #e53e3e;
    --border-color: #e2e8f0;
    --border-radius: 6px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: white;
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.1rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: auto;
    width: 220px;
    max-height: 50px;
    transition: var(--transition);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

nav ul li a:hover:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 150px 0 100px;
    background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    margin-top: 70px;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 58, 95, 0.7);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.credibility {
    margin-top: 2rem;
    font-size: 1.1rem;
}

.credibility span {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 30px;
}

.credibility i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* Mejora del botón CTA en el hero */
.hero .btn-primary {
    background-color: var(--secondary-color);
    color: white;
    padding: 16px 32px;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(244, 123, 61, 0.5);
    border: 2px solid white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero .btn-primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(244, 123, 61, 0.6);
}

/* Benefits Section - Ajuste para mostrar todas las tarjetas sin scroll */
.benefits {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.benefit-card {
    flex: 1;
    min-width: 0; /* Permite que las tarjetas se reduzcan según sea necesario */
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px 15px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.benefit-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.comparison-chart {
    text-align: center;
    margin-top: 3rem;
}

.comparison-chart img {
    max-width: 700px;
    margin: 1.5rem auto;
}

.chart-caption {
    color: var(--text-light);
    font-style: italic;
}

/* Prototypes Section */
.prototypes {
    padding-top: 80px;
}

.prototypes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.prototype-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.prototype-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.prototype-image {
    height: 250px;
    overflow: hidden;
}

.prototype-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.prototype-card:hover .prototype-image img {
    transform: scale(1.05);
}

.prototype-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
}

.prototype-details {
    margin-bottom: auto;
}

.prototype-details li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.prototype-details li i {
    color: var(--primary-color);
    margin-right: 10px;
    min-width: 20px;
}

.success-case {
    background-color: rgba(72, 187, 120, 0.1);
    border-left: 3px solid var(--secondary-color);
    padding: 15px;
    margin-bottom: 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.success-case i {
    color: var(--secondary-color);
}

.cta-secondary {
    text-align: center;
    margin-top: 2rem;
}

.cta-secondary p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Financing Section */
.financing {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.financing-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.financing-info h3 {
    margin-bottom: 1.5rem;
}

.financing-info ul {
    margin-bottom: 2rem;
}

.financing-info ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.financing-info ul li i {
    color: var(--success-color);
    margin-right: 10px;
    margin-top: 5px;
}

.financing-comparison {
    margin-top: 2rem;
}

.financing-comparison h4 {
    margin-bottom: 1rem;
}

.financing-comparison table {
    width: 100%;
    border-collapse: collapse;
}

.financing-comparison th, .financing-comparison td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.financing-comparison th {
    background-color: rgba(44, 82, 130, 0.1);
}

.financing-testimonial {
    display: flex;
    align-items: center;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.testimonial-image {
    height: 200px;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: 25px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

.cta-financing {
    text-align: center;
}

/* Experience Section */
.experience {
    padding: 80px 0;
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.experience-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.experience-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.experience-stats {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-light);
}

.experience-certifications {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
}

.experience-certifications img {
    height: 50px;
    opacity: 0.8;
}

/* Process Section Mejorado */
.process {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.process-steps {
    max-width: 900px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 0;
    overflow: hidden;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    padding: 20px 30px;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.step-content p {
    margin-bottom: 0;
    color: var(--text-light);
}

.process-cta {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .process-step {
        flex-direction: column;
    }
    
    .step-number {
        width: 100%;
        height: 60px;
    }
    
    .step-content {
        padding: 20px;
    }
}

/* Testimonials Section */
.testimonials {
    padding-top: 40px;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.testimonial {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.testimonial-image {
    height: 100%;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: 30px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.testimonial-position {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.testimonial-rating {
    color: var(--accent-color);
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background-color: var(--primary-color);
}

/* Financial Analysis Section */
.financial-analysis {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.financial-table {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.financial-table table {
    width: 100%;
    border-collapse: collapse;
}

.financial-table th, .financial-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.financial-table th {
    background-color: var(--primary-color);
    color: white;
}

.financial-table tr:nth-child(even) {
    background-color: rgba(44, 82, 130, 0.05);
}

/* ==== Nota financiera — versión más sutil ==== */
.financial-note {
    margin: 10px 0 20px;
    background: none;
    border: none;
    padding: 0;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
}

.financial-note i {
    color: #999;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.financial-cta {
    text-align: center;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background-color: rgba(44, 82, 130, 0.05);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.contact-form {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.form-submit {
    margin-top: 2rem;
}

.form-privacy {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.urgency-box, .guarantee-box {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
}

.urgency-box {
    border-left: 3px solid var(--warning-color);
}

.urgency-box h3 {
    color: var(--warning-color);
}

.guarantee-box {
    border-left: 3px solid var(--success-color);
}

.guarantee-box h3 {
    color: var(--success-color);
}

.contact-methods {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
}

.contact-methods ul li {
    margin-bottom: 10px;
}

.contact-methods ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.final-cta .container {
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.final-cta p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 1rem;
    opacity: 0.95;
}

/* Footer */
footer {
    background-color: #f8f9fa;
    color: var(--text-color);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: auto;
    width: 240px;
    max-height: 60px;
    filter: none;
    margin-bottom: 1rem;
}

.footer-logo p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-links h4, .footer-contact h4, .footer-social h4 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    color: var(--primary-color);
}

.footer-links h4:after, .footer-contact h4:after, .footer-social h4:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul li, .footer-contact ul li {
    margin-bottom: 10px;
}

.footer-links ul li a, .footer-contact ul li a {
    color: var(--text-light);
}

.footer-links ul li a:hover, .footer-contact ul li a:hover {
    color: var(--primary-color);
}

.footer-contact ul li i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(21, 58, 95, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.footer-bottom p {
    color: var(--text-light);
}

.footer-legal {
    display: flex;
}

.footer-legal li {
    margin-left: 20px;
}

.footer-legal li a {
    color: var(--text-light);
}

.footer-legal li a:hover {
    color: var(--primary-color);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: white;
}

/* Lead Capture Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup.active {
    display: flex;
}

.popup-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.popup-content h3 {
    margin-bottom: 1.5rem;
}

.popup-content p {
    margin-bottom: 2rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .process-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .process-steps:before {
        display: none;
    }
    
    .process-step {
        width: 45%;
        margin-bottom: 30px;
    }
    
    .financing-content {
        grid-template-columns: 1fr;
    }
    
    .experience-content {
        grid-template-columns: 1fr;
    }
    
    .experience-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        grid-template-columns: 1fr;
    }
    
    .testimonial-image {
        height: 200px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        margin-top: 15px;
        justify-content: center;
    }
    
    .footer-legal li:first-child {
        margin-left: 0;
    }
    
    .process-step {
        width: 100%;
    }
    
    .logo img {
        width: 180px;
        max-height: 45px;
    }
    
    .footer-logo img {
        width: 200px;
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    .btn-large {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .experience-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat {
        margin-bottom: 15px;
    }
    
    .final-cta h2 {
        font-size: 1.8rem;
    }
    
    .logo img {
        width: 150px;
    }
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 15px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-image {
    display: flex;
    align-items: center;
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 10% center;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        max-width: 100%;
        height: 350px;
        margin: 0 auto 30px;
    }
}

/* Ajustes responsivos */
@media (max-width: 992px) {
    .benefits-grid {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .benefit-card {
        flex: 0 0 calc(33.333% - 20px);
        margin-bottom: 20px;
    }
    
    /* Las dos últimas tarjetas centradas en la segunda fila */
    .benefit-card:nth-child(4),
    .benefit-card:nth-child(5) {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .benefit-card {
        flex: 0 0 calc(50% - 15px);
    }
    
    .benefit-card:nth-child(5) {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 576px) {
    .benefit-card {
        flex: 0 0 100%;
    }
    
    .benefit-card:nth-child(4),
    .benefit-card:nth-child(5) {
        flex: 0 0 100%;
    }
}

/* Comparison Section */
.comparison {
    padding: 3rem 0 5rem;
    background-color: var(--bg-light);
}

.comparison-bars {
    max-width: 800px;
    margin: 50px auto;
}

.comparison-item {
    margin-bottom: 2rem;
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.comparison-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 500;
}

.investment-type {
    font-size: 1.1rem;
}

.investment-value {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-bar {
    height: 25px;
    background-color: #e9ecef;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress {
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 30px;
}

.monthly-return {
    font-size: 0.9rem;
    color: var(--text-light);
}

.comparison-item:first-child {
    border-left: 4px solid var(--secondary-color);
}

.comparison-item:first-child .investment-type,
.comparison-item:first-child .investment-value {
    color: var(--secondary-color);
    font-weight: 600;
}

.comparison-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.comparison-cta {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.comparison-cta p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Beneficios y Comparativa Combinados */
.benefits-comparison {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.comparison-title {
    text-align: center;
    margin: 3rem 0 2rem;
    font-size: 1.8rem;
    position: relative;
}

.comparison-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Estilos para la nueva sección de financiamiento */
.financing-options {
    flex: 1;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.financing-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-item {
    text-align: center;
    padding: 20px;
    border-radius: var(--border-radius);
    background-color: var(--bg-light);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-item h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.service-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Mejora del botón en la sección final CTA */
.btn-xl {
    padding: 18px 36px;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 2.5rem;
    background-color: var(--secondary-color);
    border: 3px solid white;
    box-shadow: 0 8px 25px rgba(244, 123, 61, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    animation: pulse 2s infinite;
}

.btn-xl:hover {
    transform: translateY(-7px);
    background-color: var(--secondary-dark);
    box-shadow: 0 12px 30px rgba(244, 123, 61, 0.7);
    animation: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(244, 123, 61, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(244, 123, 61, 0.7);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(244, 123, 61, 0.5);
    }
}

/* Ajuste para alinear botones en tarjetas de prototipos */
.prototype-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.prototype-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
}

.prototype-details {
    margin-bottom: auto;
}

.prototype-card .btn {
    margin-top: 20px;
    align-self: center;
    width: 100%;
}

/* Estilos para la sección de terreno */
.terrain-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 25px;
    margin: 60px auto 20px;
    max-width: 800px;
    text-align: center;
}

.terrain-card h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.terrain-image-container {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
}

.terrain-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.terrain-image-container:hover img {
    transform: scale(1.03);
}

.terrain-card p {
    color: #555;
    font-size: 18px;
    margin-bottom: 25px;
}

.terrain-cta {
    margin-top: 20px;
}

/* Etiqueta de consulta gratuita */
.free-tag {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    margin-left: 8px;
    vertical-align: middle;
    letter-spacing: 0.5px;
    animation: pulse-light 2s infinite;
}

@keyframes pulse-light {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 123, 61, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(244, 123, 61, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(244, 123, 61, 0);
    }
}

/* Botón dentro del paso del proceso */
.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    margin-top: 15px;
}

.step-cta {
    align-self: flex-start;
    margin-top: 15px;
    box-shadow: 0 3px 8px rgba(244, 123, 61, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(244, 123, 61, 0.4);
}

/* Mejorar visualización de detalles en tarjetas de prototipos */
.prototype-details li strong {
    margin-right: 4px; /* Asegura espacio después de los dos puntos */
}

.prototype-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    line-height: 1.5;
}

.prototype-details li i {
    color: var(--primary-color);
    margin-right: 10px;
    min-width: 20px;
    margin-top: 3px; /* Alinea mejor los iconos con el texto */
}

/* Asegurar que el símbolo de colón se muestre correctamente */
.prototype-details li:nth-child(2),
.prototype-details li:nth-child(4) {
    font-variant-numeric: normal; /* Evita problemas con símbolos de moneda */
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Mejoras para la versión móvil */

/* Ajuste general para secciones en móvil */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    /* Ajuste para el hero en móvil */
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    /* Ajuste para las tarjetas de beneficios */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .benefit-card {
        padding: 15px;
    }
    
    .benefit-card h3 {
        font-size: 1rem;
    }
    
    .benefit-card p {
        font-size: 0.85rem;
    }
    
    /* Ajuste para las barras de comparación */
    .comparison-bars {
        margin: 30px auto;
    }
    
    .comparison-item {
        padding: 15px;
    }
    
    .investment-type {
        font-size: 0.9rem;
    }
    
    .monthly-return {
        font-size: 0.8rem;
    }
    
    /* Ajuste para las tarjetas de prototipos */
    .prototypes-grid {
        gap: 30px;
    }
    
    .prototype-image {
        height: 200px;
    }
    
    /* Ajuste para el formulario de contacto */
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        width: 100%;
        margin-bottom: 15px;
    }
    
    /* Ajuste para el CTA final */
    .final-cta h2 {
        font-size: 1.8rem;
    }
    
    .final-cta p {
        font-size: 1rem;
    }
    
    .btn-xl {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
}

/* Ajustes específicos para móviles muy pequeños */
@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-title {
        font-size: 1.5rem;
    }
    
    .progress-bar {
        height: 20px;
    }
    
    .testimonial-content {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    /* Ajuste para el WhatsApp float button */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    /* Ajuste para el popup */
    .popup-content {
        padding: 20px;
    }
    
    .popup-content h3 {
        font-size: 1.3rem;
    }
}

/* Ajuste para la navegación móvil */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    z-index: 2000;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav ul {
    margin-top: 60px;
}

.mobile-nav ul li {
    margin-bottom: 20px;
}

.mobile-nav ul li a {
    display: block;
    padding: 10px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
}

.mobile-nav-overlay.active {
    display: block;
}

/* Ajuste para el formulario en móvil */
@media (max-width: 768px) {
    .form-row {
        display: block;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
}

/* Ajuste del espaciado entre comparativa y prototipos */
.prototypes .section-header {
    margin-top: 20px;
}

/* Estilo para ocultar el campo honeypot */
.hidden {
    display: none;
}

/* Estilos para la página de agradecimiento */
.thank-you-section {
    padding: 100px 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.success-icon {
    font-size: 80px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.thank-you-content h1 {
    margin-bottom: 20px;
    color: #333;
}

.thank-you-content p {
    margin-bottom: 30px;
    color: #666;
    font-size: 18px;
}

.return-home {
    margin-top: 30px;
}

.return-home a {
    color: #666;
    text-decoration: underline;
    transition: color 0.3s;
}

.return-home a:hover {
    color: #333;
}

