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

body {
    font-family: 'Aptos', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fafafa;
    padding: 2rem 0 0 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 2rem 20px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.logo {
    max-height: 80px;
    height: auto;
    width: auto;
    margin-bottom: 0.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Main Content */
main {
    flex: 1;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0 0 0;
}

.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.service-heading {
    font-size: 1.4rem;
    color: #565656;
    font-weight: 500;
    margin-bottom: 1.5rem;
    margin-top: 0;
    text-transform: lowercase;
}

.service-heading:last-child {
    margin-bottom: 0;
}

/* Footer */
footer {
    background: #fafafa;
    color: #333;
    padding: 2rem 0;
}

.footer-contacts {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 20px 0 20px;
    margin-bottom: 1rem;
    text-align: center;
    border-top: 1px solid #ddd;
}

.contact-info {
    text-align: center;
}

.contact-info:last-child {
    text-align: center;
    margin-top: 1rem;
}

.offices-group {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.offices-group .year {
    font-size: 1.0rem;
    font-weight: normal;
    font-style: italic;
    color: #565656;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: lowercase;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-info strong {
    color: #B5161B;
    text-transform: uppercase;
}

.copyright {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 20px 0 20px;
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.8;
    text-transform: lowercase;
    text-align: center;
    border-top: 1px solid #ddd;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Full-width lines on mobile */
    header {
        border-bottom: 1px solid #ddd;
    }
    
    header .container {
        border-bottom: none;
    }
    
    footer {
        border-top: 1px solid #ddd;
    }
    
    .footer-contacts {
        border-top: none;
    }
    
    .copyright {
        border-top: 1px solid #ddd;
        position: relative;
    }
    
    .copyright::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: 1px;
        background-color: #ddd;
    }

    .service-heading {
        font-size: 1.2rem;
    }
}