/* Configuración Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header y Navegación */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.8rem;
    color: #1a365d;
    font-weight: 700;
}

.logo h1 span {
    color: #0077b6;
}

.tagline {
    font-size: 0.8rem;
    color: #666;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #0077b6;
}

/* Botones */
.btn-primary {
    background-color: #0077b6;
    color: #fff !important;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background-color: #005b8e;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #1a365d;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.85)), url('https://images.unsplash.com/photo-1584100936595-c0654b55a2e2?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 5rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

/* Tarjetas y Servicios */
.services {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 2.5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 1rem;
    color: #1a365d;
}

/* Bloque Certificación OEKO-TEX */
.oeko-container {
    margin-top: 3rem;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
}

.oeko-logo {
    max-width: 180px;
    height: auto;
}

.oeko-text h3 {
    color: #1a365d;
    margin-bottom: 0.5rem;
}

/* Sobre Nosotros */
.about {
    background-color: #e9ecef;
    padding: 4rem 0;
    text-align: center;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about h2 {
    margin-bottom: 1rem;
    color: #1a365d;
}

/* Contacto */
.contact {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input, .contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
}

/* Footer */
.footer {
    background-color: #1a365d;
    color: #ffffff;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Ajustes Responsivos */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }

    .oeko-container {
        flex-direction: column;
        text-align: center;
    }
}