/* ====== FONTS: GERBERA ====== */
@font-face {
    font-family: "Gerbera";
    src: url("../fonts/Gerbera-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Gerbera";
    src: url("../fonts/Gerbera.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Gerbera";
    src: url("../fonts/Gerbera-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* ====== BASE ====== */
:root {
    --bg: #FFFFFF;
    --dark: #101B20;
    --g80: #40464D;
    --g60: #707479;
    --container: 1240px;
}

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

html, body {
    font-family: "Gerbera", system-ui, -apple-system, sans-serif;
    color: var(--dark);
    background: var(--bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}

/* ====== HEADER ====== */
.header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(16,27,32,.06);
    z-index: 100;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: relative;
}

.header__brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.header__logo {
    display: block;
    height: 64px;
    width: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

.header__nav {
    display: flex;
    gap: 32px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--dark);
    transition: opacity .2s;
}

.nav-link:hover {
    opacity: .6;
}

.nav-link--active {
    opacity: 1;
    font-weight: 500;
}

/* Social icons */
.header__socials {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.header__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(16,27,32,.15);
    transition: all .3s;
    overflow: hidden;
}

.header__social-link:hover {
    border-color: var(--dark);
    background: rgba(16,27,32,.05);
    transform: translateY(-2px);
}

.header__social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.header__burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 12px;
    flex-shrink: 0;
}

.header__burger span {
    display: block;
    height: 1px;
    background: var(--dark);
    margin: 6px 0;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid rgba(16,27,32,.08);
}

.mobile-menu--open {
    display: block;
}

.mobile-menu__inner {
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-link {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mobile-menu__socials {
    display: flex;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(16,27,32,.08);
}

.mobile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(16,27,32,.2);
    transition: all .3s;
}

.mobile-social-link:hover {
    border-color: var(--dark);
    background: rgba(16,27,32,.05);
}

.mobile-social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* ====== PAGE ====== */
.page {
    padding-bottom: 0;
}

/* Breadcrumbs */
.crumbs {
    padding: 24px 0 0;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--g60);
}

.crumbs span {
    margin: 0 8px;
}

/* Page title */
.page__title {
    margin: 48px 0 64px;
    text-align: center;
    font-size: 64px;
    font-weight: 400;
    letter-spacing: .02em;
    text-transform: uppercase;
    line-height: 1;
}

/* ====== CONTACT INFO ====== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(16,27,32,.1);
}

.contact-card {
    padding: 24px 0;
}

.contact-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-card__icon {
    width: 20px;
    height: 20px;
    opacity: .6;
}

.contact-card__icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--dark);
    stroke-width: 1.5;
    fill: none;
}

.contact-card__label {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--g60);
}

.contact-card__value {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark);
}

.contact-card__value a {
    transition: opacity .2s;
}

.contact-card__value a:hover {
    opacity: .6;
}

/* ====== MAP ====== */
.map-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 600px;
    background: #f5f5f5;
}

.map-section iframe,
.map-section > div {
    width: 100% !important;
    height: 100% !important;
}

/* ====== DECOR ====== */
.decor-section {
    position: relative;
    height: 180px;
}

.decor-d {
    position: absolute;
    left: -20px;
    top: 20px;
    width: 120px;
    height: 140px;
    border: 12px solid var(--dark);
    border-radius: 0 100px 100px 0;
    border-left: none;
}

/* ====== FOOTER ====== */
.footer {
    background: var(--dark);
    color: #fff;
    padding: 64px 0 0;
}

.footer__inner {
    display: grid;
    gap: 48px;
}

.footer__brand {
    display: flex;
    align-items: center;
}

.footer__logo {
    height: 64px;
    width: auto;
}

.footer__cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer__title {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .5;
    margin-bottom: 20px;
}

.footer__col a,
.footer__col div {
    display: block;
    font-size: 13px;
    font-weight: 400;
    line-height: 2;
    opacity: .8;
}

.footer__col a:hover {
    opacity: 1;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 12px;
    opacity: .5;
}

.footer__bottom a {
    opacity: 1;
}

.footer__bottom a:hover {
    opacity: .7;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1100px) {
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .header__nav {
        display: none;
    }

    .header__socials {
        display: none;
    }

    .header__burger {
        display: block;
    }

    .map-section {
        height: 450px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .page__title {
        font-size: 36px;
        margin: 32px 0 40px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .map-section {
        height: 350px;
    }

    .footer__cols {
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}