:root {
    --primary: #38b6ff;
    --secondary: #dd2e44;
    --gray: #737373;
    --light-gray: #f5f5f5;
    --dark: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

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

header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    scroll-margin-top: 80px;
}

nav ul li a:hover {
    color: var(--primary);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px 10px;
}

.hero {
    background: linear-gradient(135deg, rgba(56, 182, 255, 0.9) 0%, rgba(42, 143, 214, 0.9) 100%), 
                url('../images/hero-image.jpg') center/cover no-repeat;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #c0263a;
}

.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.section {
    padding: 80px 0;
}

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

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

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

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

.service-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: var(--light-gray);
}

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

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 5px 0;
    color: var(--gray);
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
}

.process {
    background-color: var(--light-gray);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 40px;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
    margin: 10px;
}

.step-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid var(--primary);
    background-color: var(--light-gray);
}

.step h3 {
    margin-bottom: 10px;
    color: var(--dark);
}

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

.pricing-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    text-align: center;
    border-top: 4px solid var(--primary);
}

.pricing-card.featured {
    transform: scale(1.05);
    border-top-color: var(--secondary);
}

.price {
    font-size: 2.5rem;
    color: var(--primary);
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    color: var(--gray);
}

.pricing-features {
    list-style: none;
    margin: 20px 0;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.contact {
    background-color: var(--light-gray);
}

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

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: var(--secondary);
}

.social-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

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

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(56, 182, 255, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

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

.footer-col h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #bbb;
    font-size: 0.9rem;
}

.about {
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.value-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.value-item h4 {
    margin-bottom: 5px;
    color: var(--dark);
}

.value-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: bold;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.clients {
    background-color: var(--light-gray);
}

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

.client-logo {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--gray);
    font-size: 0.9rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.client-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.allies-section {
    margin-top: 50px;
}

.allies-section h3 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 30px;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.case-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.case-header {
    background: linear-gradient(135deg, var(--primary) 0%, #2a8fd6 100%);
    padding: 20px;
    color: white;
}

.case-header h3 {
    margin-bottom: 5px;
}

.case-header p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.case-body {
    padding: 25px;
}

.case-challenge, .case-solution, .case-result {
    margin-bottom: 15px;
}

.case-challenge h4, .case-solution h4, .case-result h4 {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-result h4 {
    color: #22c55e;
}

.case-challenge p, .case-solution p, .case-result p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 0;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.case-tag {
    background-color: var(--light-gray);
    color: var(--dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        margin: 0 0 15px 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Chatbots Section */
.chatbots-section {
    background-color: var(--light-gray);
    color: var(--dark);
}

.chatbots-section .section-title h2 {
    color: var(--primary);
}

.chatbots-section .section-title h2 i {
    color: var(--primary);
    margin-right: 8px;
}

.chatbots-section .section-title p {
    color: var(--gray);
}

.chatbots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.chatbot-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem 1.8rem;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.chatbot-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(56, 182, 255, 0.15);
}

.chatbot-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-pyme .chatbot-card-icon {
    background: rgba(56, 182, 255, 0.12);
    color: var(--primary);
}

.chatbot-profesional .chatbot-card-icon {
    background: rgba(221, 46, 68, 0.1);
    color: var(--secondary);
}

.chatbot-empresarial .chatbot-card-icon {
    background: rgba(51, 51, 51, 0.1);
    color: var(--dark);
}

.chatbot-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.badge-intermedio {
    background: var(--secondary);
    color: white;
}

.badge-empresarial {
    background: var(--dark);
    color: white;
}

.chatbot-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.chatbot-card > p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.chatbot-price {
    margin-bottom: 1.2rem;
    padding: 0.8rem 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    width: 100%;
}

.price-from {
    display: block;
    font-size: 0.7rem;
    color: var(--gray);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.price-amount small {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--gray);
}

.chatbot-features {
    list-style: none;
    text-align: left;
    width: 100%;
    margin-bottom: 1.5rem;
}

.chatbot-features li {
    padding: 0.4rem 0;
    color: var(--gray);
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.chatbot-features li i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.chatbot-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    margin-top: auto;
}

.chatbot-card:hover .chatbot-btn {
    background: #2a8fd6;
    transform: scale(1.02);
}

.chatbots-footer-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.chatbots-footer-note i {
    color: var(--primary);
    margin-right: 6px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: white;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Form Messages */
.form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    display: none;
    font-weight: 500;
    align-items: center;
    gap: 10px;
}

.form-message.success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.message-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.form-notice {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    font-size: 0.9rem;
}

.form-notice p {
    margin: 0;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
