.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: #f3f3f3;
    border-radius: 20px;
    padding: 0.2rem 0.8rem;
    font-size: 0.9rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.lang-switch a {
    color: #15838f;
    font-weight: 700;
    text-decoration: none;
    padding: 0 0.2rem;
    transition: color 0.2s;
}
.lang-switch a.active-lang {
    color: #fff;
    background: #15838f;
    border-radius: 12px;
    padding: 0.1rem 0.7rem;
}
.lang-switch a:hover {
    color: #0d5a6b;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1002;
}

.logo {
    height: 40px;
    width: auto;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #15838f;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
    color: #15838f;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav a:hover {
    color: #0d5a6b;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #15838f 0%, #764ba2 100%);
    color: white;
    padding: 120px 20px 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-microcopy {
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
    margin-top: 1rem;
    opacity: 0.8;
}

.hero-illustration {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #15838f, #357ABD);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.1rem);
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(21, 131, 143, 0.3);
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.cta-button.primary {
    background: linear-gradient(45deg, #FF6B6B, #EE5A24);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.cta-button.primary:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0;
}

/* Nav demo button */
.nav-demo-btn {
    background: linear-gradient(45deg, #FF6B6B, #EE5A24) !important;
    color: white !important;
    padding: 0.4rem 1.1rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: opacity 0.2s !important;
    white-space: nowrap;
}

.nav-demo-btn:hover {
    opacity: 0.88;
    color: white !important;
}

/* Sections */
.section {
    padding: 60px 20px;
}

.section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    text-align: center;
}

.section p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

.section:nth-child(even) {
    background: white;
}

.problema {
    background: #f1f3f4;
}

.solucion {
    background: white;
}

.beneficios {
    background: #f8f9fa;
}

.como-funciona {
    background: white;
}

.casos-uso {
    background: #f1f3f4;
}

.confianza {
    background: white;
}

.cta-final {
    background: linear-gradient(135deg, #15838f 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.faq {
    background: #f8f9fa;
}

.contact {
    background: white;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 1rem;
    margin: 0.5rem 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact input:focus, .contact textarea:focus {
    outline: none;
    border-color: #15838f;
}

.contact label {
    display: block;
    margin: 0.5rem 0 0.25rem;
    font-weight: 500;
    color: #333;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.benefit-card h3 {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    margin-bottom: 1rem;
    color: #15838f;
}

.benefit-card p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    text-align: left;
}

/* Steps */
.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3rem;
    gap: 2rem;
}

.step {
    flex: 1 1 280px;
    max-width: 350px;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #15838f;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
}

.step p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

/* Use Cases */
.use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.use-case h3 {
    color: #15838f;
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
}

.use-case p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    text-align: left;
}

/* FAQ */
.faq-list {
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: #15838f;
    margin-bottom: 0.5rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
}

.faq-item p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    text-align: left;
}

.faq-item a {
    color: #15838f;
    font-weight: 600;
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1.5rem;
}

.footer-info, .footer-contact {
    flex: 1 1 250px;
}

.footer-info h3 {
    margin-bottom: 0.5rem;
    color: #15838f;
    font-size: clamp(1rem, 2vw, 1.125rem);
}

.footer-contact a {
    color: #15838f;
    text-decoration: none;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.footer-contact a:hover {
    text-decoration: underline;
}

.update-date {
    color: #827d7d;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .header .container {
        flex-direction: row !important;
        justify-content: space-between !important;
        gap: 0 !important;
        padding: 0.75rem 15px !important;
        position: relative;
    }
    
    .header-left {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        z-index: 1002;
    }
    
    .logo {
        height: 35px;
        z-index: 1002;
    }
    
    .lang-switch {
        font-size: 0.85rem;
        padding: 0.15rem 0.6rem;
    }
    
    .hamburger {
        display: flex !important;
        z-index: 1002;
    }
    
    .nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(10px);
        flex-direction: column !important;
        width: 100% !important;
        height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: height 0.3s ease, max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        padding: 0 15px !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        gap: 0 !important;
        justify-content: flex-start !important;
        padding-top: 70px !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    .nav.active {
        height: auto !important;
        max-height: 100vh !important;
        padding: 70px 15px 2rem !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nav a {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        text-align: center;
        font-size: 1rem;
    }
    
    .nav a:last-child {
        border-bottom: none;
    }
    
    .hero {
        padding: 140px 15px 60px;
        min-height: auto;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }
    
    .hero-illustration {
        order: 2;
    }
    
    .section {
        padding: 50px 15px;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        max-width: 100%;
    }

    .benefits-grid,
    .use-cases {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card,
    .use-case {
        padding: 1.5rem;
    }
    
    .contact form {
        padding: 0 15px;
    }
    
    .contact input, 
    .contact textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 10px 50px;
    }
    
    .section {
        padding: 40px 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        padding: 0.5rem 10px;
    }
    
    .hamburger {
        width: 28px;
        height: 22px;
    }
    
    .nav {
        top: 60px;
    }
    
    .nav a {
        font-size: 0.95rem;
    }
    
    .hero {
        padding: 160px 10px 40px;
    }
    
    .cta-button {
        padding: 0.875rem 1.5rem;
        width: 100%;
        max-width: 300px;
    }
    
    .section {
        padding: 40px 10px;
    }
    
    .benefits-grid,
    .use-cases {
        gap: 1rem;
    }
    
    .benefit-card,
    .use-case,
    .step,
    .faq-item {
        padding: 1.25rem;
    }
}