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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0;
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border-radius: 8px;
    overflow: hidden;
}

main {
    padding: 0;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #3c5ca2 0%, #2c4a8a 100%);
    color: white;
    padding: 60px 40px 40px;
    text-align: center;
}

h1 {
    color: white;
    margin: 0 0 15px 0;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0;
    font-weight: 400;
    text-align: center;
}

/* Main content */
main > p:first-of-type,
main > div:first-of-type {
    margin-top: 0;
}

h2 {
    color: #2c4a8a;
    margin: 50px 40px 20px;
    font-size: 1.8rem;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

h3 {
    color: #3c5ca2;
    margin: 40px 40px 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

p {
    margin: 0 40px 20px;
    text-align: justify;
    font-size: 1.05rem;
}

hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 40px 40px;
}

/* Contact section styling */
main > h2:nth-of-type(5) {
    background: #f8f9fa;
    margin: 50px 0 0 0;
    padding: 30px 40px 10px;
    border-bottom: none;
}

main > h2:nth-of-type(5) + p {
    background: #f8f9fa;
    padding-top: 0;
}

main > h2:nth-of-type(5) + p + p {
    background: #f8f9fa;
    font-size: 1.2rem;
}

main > h2:nth-of-type(5) + p + p strong {
    color: #3c5ca2;
}

/* Requisites section */
main > hr:last-of-type + h3 {
    background: #fafbfc;
    margin: 0;
    padding: 30px 40px 15px;
}

main > hr:last-of-type ~ p {
    background: #fafbfc;
    margin-bottom: 0;
}

main > hr:last-of-type ~ p strong {
    color: #2c4a8a;
    display: block;
    margin-top: 15px;
}

/* Footer */
main > hr:last-of-type ~ p:last-of-type {
    background: #2c4a8a;
    color: white;
    text-align: center;
    padding: 20px 40px;
    margin: 0;
}

main > hr:last-of-type ~ p:last-of-type small {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Service sections - add icons */
main > h2::before {
    margin-right: 10px;
    font-size: 1.2em;
}

main > h2:nth-of-type(1)::before {
    content: "💻";
}

main > h2:nth-of-type(2)::before {
    content: "⚡";
}

main > h2:nth-of-type(3)::before {
    content: "🔧";
}

main > h2:nth-of-type(4)::before {
    content: "🏗️";
}

main > h2:nth-of-type(5)::before {
    content: "📧";
}

@media (max-width: 768px) {
    .container {
        margin: 20px;
        border-radius: 4px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
        margin: 30px 20px 15px;
    }

    h3 {
        font-size: 1.2rem;
        margin: 30px 20px 10px;
    }

    p {
        margin: 0 20px 15px;
        font-size: 1rem;
    }

    hr {
        margin: 30px 20px;
    }

    .hero {
        padding: 40px 20px 30px;
    }

    main > h2:nth-of-type(5),
    main > hr:last-of-type + h3 {
        padding-left: 20px;
        padding-right: 20px;
    }
}
