* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #000;
    padding: 25px 40px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.molecular-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.1;
    background-image: 
        /* Moléculas de carbono (C) */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctext x='10' y='15' font-family='Arial' font-size='12' fill='%23aaaaaa' text-anchor='middle'%3EC%3C/text%3E%3C/svg%3E"),
        /* Moléculas de tecnología (T) */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctext x='10' y='15' font-family='Arial' font-size='12' fill='%23aaaaaa' text-anchor='middle'%3ET%3C/text%3E%3C/svg%3E");
    background-size: 30px 30px, 25px 25px;
    background-position: 0 0, 15px 15px;
}

.logo {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
    z-index: 2;
    position: relative;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.main-title {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #000;
    font-weight: 700;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}

h1:after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #e74c3c;
    margin: 15px auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.title-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: justify;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact {
    text-align: center;
    margin-top: 50px;
    padding: 25px;
    background-color: #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact p {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.2rem;
}

.email-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #000;
    color: white;
    border-radius: 50%;
    margin-right: 12px;
}

.contact a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.contact a:hover {
    color: #555;
}

@media (max-width: 768px) {
    header {
        padding: 20px;
        justify-content: center;
        min-height: 100px;
    }
    
    .logo {
        width: 150px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h1:after {
        width: 60px;
        height: 3px;
    }
    
    p {
        font-size: 1rem;
    }
    
    .contact p {
        font-size: 1rem;
        flex-direction: column;
    }
    
    .email-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}