* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: #0B2B4A;
    padding: 15px 0;
    text-align: center;
}

.logo {
    display: inline-block;
    text-decoration: none;
}

.logo img {
    height: auto;
    width: 300px;
}

.nav ul {
    list-style: none;
}

.nav ul li {
    display: inline-block;
    margin-left: 30px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

/* Hero Styles */
.hero {
    padding: 80px 0;
    background: linear-gradient(180deg, #0B2B4A 0%, #003366 100%);
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    background-color: #00A3FF;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

/* About Section */
.about {
    padding: 60px 0;
    background-color: #F8FAFC;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) inset;
}

.badge-pyme {
    display: inline-block;
    width: 80px;
    height: 32px;
    background-color: #F59E0B;
    color: white;
    font-weight: bold;
    text-align: center;
    line-height: 32px;
    border-radius: 6px;
}

.about h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1E293B;
    padding-bottom: 10px;
    border-bottom: 2px solid #E2E8F0;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #475569;
}

/* Services Section */
.services {
    padding: 60px 0;
    background-color: white;
}

.services h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: #1E293B;
    padding-bottom: 20px;
    border-bottom: 2px solid #E2E8F0;
}

.services-grid {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.service-card {
    flex: 0 0 calc((100% - (4 * 15px)) / 4);
    min-width: 270px;
    height: 140px;
    padding: 20px;
    border-radius: 10px;
    background-color: white;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.service-card h3 { font-size: 18px; font-weight: 700; color: #1E293B; margin-bottom: 5px; }

.service-card p { font-size: 14px; line-height: 1.6; color: #64748B; }

.services-additional {
    width: 100%;
    padding: 20px;
    border-radius: 10px;
    background-color: white;
    border: 1px solid #E2E8F0;
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.services-additional h3 { font-size: 18px; font-weight: 700; color: #1E293B; margin-right: 20px; }

.services-additional p { font-size: 14px; line-height: 1.6; color: #64748B; }

/* Contact Section */
.contact {
    padding: 60px 0;
    background-color: white;
    text-align: center;
}

.contact h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
    color: #1E293B;
    padding-bottom: 10px;
    border-bottom: 2px solid #E2E8F0;
}

.email {
    display: inline-block;
    color: #00A3FF;
    font-size: 20px;
    margin-right: 15px;
}

.email:hover {
    text-decoration: underline;
}

.copy-btn {
    background-color: transparent;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    display: inline-block;
    font-size: 18px;
}

.copy-btn:hover::after {
    content: 'Copiar correo';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1E293B;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

.copy-btn:focus-visible::after {
    content: 'Copiar correo';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1E293B;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

/* Footer Styles */
.footer {
    background-color: #F1F5F9;
    padding: 30px 0;
    margin-top: 60px;
}

.footer-content p {
    text-align: center;
    color: #94A3B8;
    font-size: 14px;
}

.footer-nav a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .services-content {
        flex-direction: column;
    }

    .service-card,
    .services-additional {
        min-width: 95vw;
    }
}

@media (max-width: 768px) {
    .nav ul li {
        display: block;
        margin-left: 0;
        padding: 10px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .about h2 {
        font-size: 22px;
    }

    .services h2 {
        font-size: 24px;
    }

    .service-card,
    .services-additional {
        min-width: 100vw;
        padding: 20px;
    }
}

/* Mobile: 1024px and down */
@media (max-width: 1024px) {
    .nav ul li {
        display: block;
        margin-left: 0;
        padding: 10px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .services-grid {
        flex-direction: column;
    }

    .service-card,
    .services-additional {
        min-width: 95vw;
    }
}

/* Mobile: 768px and down */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }
}

/* Mobile: 480px and down */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .about h2 {
        font-size: 22px;
    }

    .services h2 {
        font-size: 24px;
    }

    .service-card,
    .services-additional {
        min-width: 100vw;
        padding: 20px;
    }

    .email,
    .copy-btn {
        display: block;
        width: 100%;
        margin: 15px 0;
    }
}
