@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

body {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}
.contacts-flex {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 40px;
    justify-content: center;
    margin: 48px auto 0 auto;
    max-width: 1200px;
}
.contacts-block {
    flex: 0 1 370px;
    max-width: 420px;
}
.contacts-map-block {
    flex: 1 1 700px;
    max-width: 800px;
    min-width: 340px;
    /* убираю фон, обводку, скругление, тень */
    padding: 0;
}
.contacts-map-block iframe {
    background: #fffbe9;
    border: 2px solid #EEBD81;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(238,189,129,0.12);
    padding: 0;
    display: block;
    margin: 18px 0 0 0;
}
.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1em;
    color: #222;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.contact-label {
    font-weight: 500;
    color: #8B1F1F;
}
.contact-link {
    color: #9d6f00;
    text-decoration: none;
    transition: color 0.2s;
}
.contact-link:hover {
    color: #8B1F1F;
    text-decoration: underline;
}
.contact-text {
    color: #9d6f00;
    line-height: 1.6;
}
.contacts-socials {
    display: flex;
    gap: 18px;
    margin-top: 8px;
}
.contacts-socials h3 {
    color: #8B1F1F;
    margin-bottom: 1em;
    font-size: 1.2em;
}
.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ececec;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    font-size: 1.3em;
    color: #fff;
    text-decoration: none;
}
.social-icon:hover {
    background: #EEBD81;
    box-shadow: 0 2px 8px rgba(238,189,129,0.18);
}
.workdays {
    display: block;
    margin-left: 0.5em;
    line-height: 1.6;
}
.contact-label + .contact-text {
    display: flex;
    flex-direction: column;
}
.contacts-map-block h3 {
    margin-left: 0;
    padding-left: 0;
    text-align: left;   
    display: block;
    margin-bottom: 16px;
    font-weight: 500;
}
.contact-address {
    font-weight: 400;
    font-size: 1em;
    margin: 0 0 12px 0;
    color: #222;
}
@media (max-width: 1000px) {
    .contacts-flex {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }
    .contacts-map-block {
        max-width: 100%;
        min-width: 0;
    }
    .contacts-block {
        max-width: 100%;
    }
}
@media (max-width: 700px) {
    .contacts-flex {
        margin-top: 18px;
    }
    .contacts-block {
        padding: 14px 6px;
        border-radius: 6px;
        max-width: 100%;
    }
    .contacts-socials {
        gap: 10px;
    }
    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 1em;
    }
    .contacts-socials h3 {
        font-size: 1.1em;
    }
    .social-links {
        gap: 8px;
    }
    .contact-item {
        white-space: normal;
        flex-wrap: wrap;
    }
} 