* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #3a2f14;
    background: #ffffff;
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

button {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(204, 146, 0, .45);
    outline-offset: 3px;
}

img {
    display: block;
    width: 100%;
}

.container {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}

.topbar {
    color: #edeadb;
    background: #412f01;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 36px;
    font-size: 12px;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-contact a:hover {
    color: #e7d187;
}

#site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
}

.site-header-shell {
    box-shadow: 0 5px 18px rgba(63, 48, 8, 0.13);
}

.header {
    position: relative;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #f1efe6;
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border-radius: 50%;
    place-items: center;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name strong {
    color: #3f3008;
    font-size: 22px;
    letter-spacing: 4px;
}

.brand-name small {
    font-size: 10px;
    letter-spacing: 1.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 21px;
    font-size: 14px;
}

.nav-menu a:hover {
    color: #cc9200;
}

.nav-menu a.active:not(.nav-button) {
    color: #cc9200;
    font-weight: 700;
}

.nav-menu .nav-button {
    padding: 11px 23px;
    color: #ffffff;
    background: #cc9200;
    border-radius: 30px;
}

.nav-menu .nav-button:hover {
    color: #ffffff;
    background: #715100;
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    color: #624600;
    background: none;
    border: 0;
    border-radius: 12px;
    font-size: 26px;
    cursor: pointer;
    place-items: center;
}

.menu-button:hover {
    background: #f9f7ef;
}


.section-heading > span {
    display: inline-block;
    margin-bottom: 10px;
    color: #cc9200;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}


.section {
    padding: 90px 0;
}


.footer {
    margin-top: 70px;
    color: #ffffff;
    background: #412f01;
    border-top: 0;
}

.home-page .footer {
    margin-top: 0;
}

.footer-main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 42px 0;
}

.footer-brand-mark {
    display: grid;
    width: 120px;
    height: 120px;
    background: #ffffff;
    border-radius: 50%;
    place-items: center;
}

.footer-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-office h2 {
    color: #ffffff;
    font-size: 21px;
    line-height: 1.35;
}

.footer-address {
    margin-top: 8px;
    color: #e4dfcd;
    font-size: 14px;
}

.footer-phone-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 17px;
    margin-top: 8px;
    color: #f1eee3;
    font-size: 14px;
}

.footer-phone-list a:hover,
.footer-social-link:hover {
    color: #e7d187;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ece9db;
    font-size: 13px;
}

.footer-social-link i {
    display: grid;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    color: #ffffff;
    background: #cc9200;
    border-radius: 9px;
    place-items: center;
    font-size: 16px;
}

.footer-social-link .fa-square-facebook {
    background: #4267a9;
    font-size: 17px;
}

.footer-social-link .fa-line {
    background: #28b64b;
    font-size: 17px;
}

.footer-social-link .fa-envelope {
    background: #e78e53;
    font-size: 15px;
}


@media (max-width: 900px) {
    .menu-button { display: grid; }
    .nav-menu {
        position: absolute;
        top: 82px;
        right: 20px;
        left: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 18px;
        background: #ffffff;
        border: 1px solid #edebe1;
        border-radius: 16px;
        box-shadow: 0 18px 35px rgba(65, 50, 13, 0.15);
    }
    .nav-menu.open { display: flex; }
    .nav-menu a { padding: 11px 14px; }
    .nav-menu .nav-button { margin-top: 8px; text-align: center; }
    .footer-main { grid-template-columns: auto 1fr; }
    .footer-social {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        padding-top: 12px;
    }
}

@media (max-width: 620px) {
    .container { width: min(100% - 28px, 1140px); }
    .brand-name strong { font-size: 18px; }
    .brand-name small { font-size: 8px; }
    .topbar-office,
    .topbar-contact span { display: none; }
    .topbar-inner { justify-content: center; min-height: 33px; }
    .footer-main {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 35px 0;
    }
    .footer-brand-mark {
        width: 65px;
        height: 65px;
    }
    .footer-social {
        grid-column: auto;
        flex-direction: column;
        padding-top: 0;
    }
}
