/* Variables globales */
:root {
    --primary-color: #0077B5;
    --secondary-color: #0a66c2;
    --accent-color: #f5f5f5;
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --text-color: #4a4a4a;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    color: var(--dark-color);
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 20px;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* Botones */
.btn-primary, .btn-secondary, .btn-cta {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-cta {
    background-color: var(--primary-color);
    color: white;
    font-size: 18px;
    padding: 14px 28px;
    box-shadow: var(--box-shadow);
}

.btn-cta:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Header y navegación */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    margin-bottom: 0;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin-bottom: 5px;
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle span:last-child {
    margin-bottom: 0;
}

/* Sección Hero */
.hero {
    padding: 160px 0 80px;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 119, 181, 0.05) 0%, rgba(10, 102, 194, 0.1) 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    margin-left: 40px;
}

/* Sección de servicios */
.services {
    background-color: white;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.icon-container {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-bottom: 20px;
}

.icon-container i {
    font-size: 24px;
    color: var(--primary-color);
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 18px;
    color: #666;
}

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

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

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

.service-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Sección de método */
.method {
    background-color: #f9f9f9;
}

.method-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.method-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    z-index: 1;
}

.timeline-content {
    margin-left: 30px;
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    flex: 1;
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Banner CTA */
.cta-banner {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.cta-banner h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn-cta {
    background-color: white;
    color: var(--primary-color);
}

.cta-banner .btn-cta:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* Sección de beneficios */
.benefits {
    background-color: white;
}

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

.benefit-card {
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.benefit-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: rgba(0, 119, 181, 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
}

.benefit-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Sección de precios */
.pricing {
    background-color: #f9f9f9;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.pricing-card.highlighted {
    border: 2px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

.pricing-header {
    padding: 30px;
    background-color: #f9f9f9;
    text-align: center;
}

.pricing-card.highlighted .pricing-header {
    background-color: rgba(0, 119, 181, 0.1);
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.pricing-description {
    color: #666;
    font-size: 16px;
}

.pricing-features {
    padding: 30px;
}

.pricing-features p {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.pricing-features p:last-child {
    margin-bottom: 0;
}

.pricing-features p::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.pricing-card .btn-secondary {
    display: block;
    margin: 0 30px 30px;
}

/* Sección de resultados */
.results {
    background-color: white;
}

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

.result-card {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: #f9f9f9;
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.result-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background-color: rgba(0, 119, 181, 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
}

.result-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.result-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Sección de FAQ */
.faq {
    background-color: #f9f9f9;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.accordion-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header h3 {
    font-size: 18px;
    margin-bottom: 0;
    flex: 1;
}

.accordion-icon {
    margin-left: 15px;
}

.accordion-icon i {
    transition: var(--transition);
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.accordion-item.active .accordion-icon i {
    transform: rotate(45deg);
}

/* Sección de contacto */
.contact {
    background-color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 119, 181, 0.2);
}

.form-message {
    grid-column: 1 / -1;
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--border-radius);
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-info {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: var(--border-radius);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 119, 181, 0.1);
    border-radius: 50%;
    margin-right: 15px;
}

.info-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.info-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.info-content p {
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h3,
.footer-social h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 20px;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: white;
}

/* Botón flotante */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}

.btn-floating {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.btn-floating:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.btn-floating i {
    margin-right: 8px;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Media queries */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-image {
        max-width: 80%;
        margin-left: 0;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .menu-toggle span.active:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle span.active:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle span.active:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        margin-top: 10px;
    }
    
    .footer-legal a {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .btn-cta {
        font-size: 16px;
        padding: 12px 24px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
}

/* Estilos para la página de agradecimiento */
.thank-you {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    background-color: rgba(0, 119, 181, 0.1);
    border-radius: 50%;
    margin-bottom: 30px;
}

.thank-you-icon i {
    font-size: 50px;
    color: var(--primary-color);
}

.thank-you h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.thank-you p {
    font-size: 18px;
    margin-bottom: 30px;
}

.social-share {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.social-share a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #f5f5f5;
    border-radius: 50%;
    margin: 0 10px;
    color: #333;
    transition: var(--transition);
}

.social-share a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Estilos para el loader */
.loading-message {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-message::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    margin-left: 10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilos para reCAPTCHA */
.g-recaptcha {
    margin-bottom: 20px;
    grid-column: 1 / -1;
}


/* Estilos para las nuevas imágenes */
.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.service-card .service-icon img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.proceso img {
    max-width: 80%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Mejoras generales de diseño */
.section-header h2 {
    font-size: 3em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2em;
    color: var(--dark-color);
    line-height: 1.5;
}

.servicio-card {
    border: 1px solid #e0e0e0;
    background-color: var(--light-color);
}

.servicio-card:hover {
    border-color: var(--primary-color);
}

.proceso-item .proceso-numero {
    background-color: var(--secondary-color);
}

.estadistica-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.estadistica-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.estadistica-item .estadistica-numero {
    font-size: 2.5em;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.estadistica-item .estadistica-texto {
    font-size: 1.1em;
    color: var(--dark-color);
}

.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 40px 0;
    text-align: center;
}

.footer a {
    color: var(--primary-color);
}

.footer a:hover {
    color: var(--light-color);
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}


