:root {
    --primary-bg: #f2f1ed;
    --primary-text: #2c2c2c;
    --heading-text: #323232;
    --accent: #004451;
    --accent-light: #005f74;
    --footer-bg: #00262d;
    --footer-text: #a5a5a5;
    --footer-link: #dbdbdb;
    --border-light: #ebeae6;
    --border-dark: #dad8d1;
}

/* BEM: Error page */
.error-page--main {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-bg);
}

.error-page__card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,68,81,0.10), 0 1.5px 6px rgba(0,0,0,0.04);
    padding: 48px 36px 36px 36px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    border: 1.5px solid var(--border-light);
    animation: error-pop 0.7s cubic-bezier(.68,-0.55,.27,1.55);
}

@keyframes error-pop {
    0% {
        transform: scale(0.92) translateY(30px);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.error-page__icon {
    margin-bottom: 18px;
    animation: error-shake 1.2s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes error-shake {
    10%, 90% {
        transform: translateX(-1px);
    }

    20%, 80% {
        transform: translateX(2px);
    }

    30%, 50%, 70% {
        transform: translateX(-4px);
    }

    40%, 60% {
        transform: translateX(4px);
    }

    100% {
        transform: translateX(0);
    }
}

.error-page__title {
    color: var(--accent);
    font-size: 2.2rem;
    font-family: 'Roboto Slab', serif;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.error-page__subtitle {
    color: var(--primary-text);
    font-size: 1.1rem;
    margin-bottom: 18px;
    font-weight: 400;
}

.error-page__requestid {
    background: var(--primary-bg);
    color: var(--accent);
    border-radius: 8px;
    padding: 8px 0;
    margin-bottom: 18px;
    font-size: 0.98rem;
}

.error-page__home-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--accent-light);
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

    .error-page__home-link:hover {
        color: var(--accent);
        text-decoration: underline;
    }

@media (max-width: 600px) {
    .error-page__card {
        padding: 28px 8px 24px 8px;
    }
}

/* BEM: Page */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page__container { /* wrapper for page content */
}

.page__content {
    flex: 1 0 auto;
}

/* BEM: Header */
.header--main {
    background: #131313;
    border-bottom: 5px solid #4c4c4c;
    position: relative;
    height: 130px;
    z-index: 500;
    display: flex;
    align-items: center;
}

.header__container {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: space-between;
    position: relative;
}

.header__logo {
    display: block;
    height: 100px;
    margin: 15px 0 0;
    text-decoration: none;
}

.header__mobilemenu-button {
    display: none;
}

.header__mobilemenu-icon {
}

/* BEM: Menu */
.menu__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.menu__item {
    margin: 0;
    padding: 0;
}

.menu__link {
    display: block;
    height: 110px;
    line-height: 110px;
    padding: 0 20px;
    font-family: Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #a0a0a0;
    background: transparent;
    border-bottom: 5px solid transparent;
    transition: background 0.2s, color 0.2s, border-bottom 0.2s;
}

    .menu__link:hover,
    .menu__link--active {
        background: var(--accent-light);
        color: #fff;
        border-bottom: 5px solid var(--accent);
    }

/* BEM: Welcome Section */
.welcome--main {
}

.welcome__article {
}

.welcome__header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 24px 32px;
    border-radius: 12px;
}

.welcome__title {
    color: var(--accent);
    text-transform: uppercase;
    text-align: left;
    font-size: 48px;
    margin: 0;
    padding-top: 0;
    letter-spacing: 2px;
    font-family: 'Roboto Slab', serif;
}

.welcome__body-text {
    background: var(--primary-bg);
    color: var(--primary-text);
    padding: 15px 0;
    border-top: 5px solid var(--accent-light);
}

.welcome__container {
}

/* BEM: Section Header */
.section-header--contact {
}

.section-header__title {
}

/* BEM: Office Map */
.office-map--contact {
}

/* BEM: Contact Form */
.contact-form--main {
}

.contact-form__columns {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.contact-form__col {
    flex: 1 1 0;
    min-width: 220px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
}

.contact-form__col--info {
}

.contact-form__col--form {
}

.contact-form__heading {
}

.contact-form__description {
}

.contact-form__form {
}

.contact-form__fieldset {
}

.contact-form__legend {
}

.contact-form__input-wrapper {
    margin-bottom: 12px;
}

.contact-form__label {
}

.contact-form__input {
}

.contact-form__textarea {
}

.contact-form__button {
}

/* BEM: Contact Details */
.contact-details--main {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
    background: var(--accent);
    color: var(--border-light);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 32px 0;
}

.contact-details__container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: center;
}

.contact-details__col {
    flex: 0 1 300px;
    min-width: 220px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
    text-align: center;
}

.contact-details__col--phone {
}

.contact-details__col--email {
}

.contact-details__col--address {
}

.contact-details__icon {
    font-size: 3.2rem;
    color: var(--accent);
    margin-bottom: 20px;
    margin-right: 0;
    vertical-align: middle;
    background: #fff;
    border-radius: 50%;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.contact-details__heading.visually-hidden {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-details__link,
.contact-details__address {
    font-size: 1rem;
    color: #fff;
    word-break: break-word;
    background: transparent;
}

    .contact-details__link:hover {
        color: var(--accent-light);
        text-decoration: underline;
    }

/* BEM: Footer */
.footer--main {
    border-top: 10px solid var(--footer-bg);
    padding-top: 45px;
    font-size: 12px;
    background: var(--footer-bg);
    color: var(--footer-text);
    flex-shrink: 0;
}

.footer__columns {
    display: flex;
}

.footer__col {
    flex: 1;
}

.footer__col--contact {
}

.footer__col--privacy {
}

.footer__heading {
    color: white;
    margin-top: 0;
    padding-bottom: 5px;
    font-weight: normal;
}

.footer__contact-details {
    line-height: 1.8;
}

.footer__link {
    color: var(--footer-link);
}

    .footer__link:hover {
        color: var(--accent-light);
    }

.footer__content-info {
    padding: 20px 0;
    margin-top: 45px;
    background: black;
    font-size: 10px;
}

.footer__content-container {
}

.footer__copyright {
    float: left;
}

.footer__extra {
    float: right;
}

/* Utility */
.visually-hidden {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Responsive */
@media only screen and (max-width: 768px) {
    .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .welcome__title {
        font-size: 42px;
    }

    .welcome__header {
        padding: 18px 16px;
    }

    .menu__list {
        flex-direction: column;
    }

    .contact-details__container {
        flex-direction: column;
        gap: 0;
    }

    .contact-details__col {
        max-width: 100%;
        padding: 12px 0;
    }

    .contact-form__columns {
        flex-direction: column;
        gap: 0;
    }

    .contact-form__col {
        max-width: 100%;
        padding: 12px 0;
    }
}

@media only screen and (max-width: 568px) {
    .container {
        padding-right: 10px;
        padding-left: 10px;
    }

    .welcome__title {
        font-size: 32px;
        padding-top: 148px;
    }

    .welcome__header {
        padding: 12px 8px;
    }

    .welcome__body-text {
        padding: 30px 10px;
    }
}

@media only screen and (max-width: 320px) {
    .welcome__title {
        font-size: 24px;
    }

    .welcome__header {
        padding: 8px 4px;
    }
}
