:root {
    --bg: #f7f4ec;
    --bg2: #efe9dd;
    --ink: #182420;
    --ink2: #0f1815;
    --teal: #14454e;
    --teal-acc: #2e7f91;
    --gold: #a98a55;
    --paper: #fffdf8;
    --line: rgba(24, 36, 32, .14);
    --line-soft: rgba(24, 36, 32, .08);
    --mut: #5c6a66;
    --serif: 'Prata', 'Times New Roman', serif;
    --serif-i: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Manrope', -apple-system, 'Segoe UI', sans-serif;
}

.fc-wrap {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 clamp(18px, 3vw, 56px);
}

/* Легаси-шапка/подвал Elementor заменяются единым fc-шеллом. */
.elementor-location-header,
.elementor-location-footer { display: none !important; }

.fc-topbar {
    font-family: var(--sans);
    background: var(--ink2);
    color: rgba(247, 244, 236, .78);
    font-size: 12px;
    letter-spacing: .06em;
    display: flex;
    justify-content: center;
    gap: 28px;
    padding: 9px 16px;
    flex-wrap: wrap;
}

.fc-topbar a { color: rgba(247, 244, 236, .92); text-decoration: none; }

.fc-topbar__set {
    color: #d6b071;
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(214, 176, 113, .5);
    padding-bottom: 1px;
    transition: color .25s ease, border-color .25s ease;
}

.fc-topbar__set span { display: inline-block; margin-left: 4px; transition: transform .25s ease; }

.fc-topbar__set:hover { color: #ecc98d; border-color: #ecc98d; }

.fc-topbar__set:hover span { transform: translateX(3px); }

.fc-hd {
    font-family: var(--sans);
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 14px 24px;
    background: rgba(247, 244, 236, .94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
}

.fc-hd.is-solid { background: rgba(247, 244, 236, .99); box-shadow: 0 12px 32px -22px rgba(24, 36, 32, .35); }

.fc-nav { display: flex; align-items: center; gap: 22px; }

.fc-nav ul {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fc-nav li { margin: 0; position: relative; }

.fc-nav--main { justify-self: center; }
.fc-nav--main > ul { flex-wrap: nowrap; gap: 16px; }
.fc-nav--main > ul > li > a { white-space: nowrap; font-size: 10.5px; letter-spacing: .12em; padding: 8px 0; }

.fc-nav--m { display: none; }

.fc-nav--m ul { flex-direction: column; align-items: flex-start; gap: 14px; }

.fc-nav a {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--mut);
    text-decoration: none;
    transition: color .25s ease;
}

.fc-nav > ul > li > a { display: inline-block; }

.fc-nav a:hover { color: var(--ink); }

.fc-nav li.has-sub > a::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .25s ease;
    vertical-align: middle;
}

.fc-nav li.has-sub:hover > a::after { transform: translateY(0) rotate(225deg); }

.fc-nav .fc-sub {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 40px -18px rgba(5, 46, 45, .35);
    padding: 8px;
    min-width: 230px;
    z-index: 60;
    margin: 0;
    list-style: none;
}

.fc-nav li:hover > .fc-sub { display: flex; }

.fc-nav .fc-sub li a { display: block; padding: 9px 14px; border-radius: 8px; white-space: nowrap; font-size: 12px; }

.fc-nav .fc-sub li a:hover { background: rgba(5, 46, 45, .06); }

.fc-brand {
    justify-self: start;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    line-height: 1.2;
}

.fc-brand__logo {
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
}

.fc-brand__txt { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.2; gap: 2px; }

.fc-brand__t {
    font-family: var(--serif);
    font-size: 26px;
    color: var(--ink);
    letter-spacing: .14em;
    text-transform: uppercase;
}

.fc-brand__s {
    font-size: 8.5px;
    letter-spacing: .38em;
    text-transform: uppercase;
    color: var(--gold);
}

.fc-hd__right { justify-self: end; display: flex; align-items: center; gap: 14px; }

.fc-hd__login {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--mut);
    text-decoration: none;
    transition: color .25s ease;
}

.fc-hd__login:hover { color: var(--ink); }

.fc-hd__phone {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: .04em;
    white-space: nowrap;
}

.fc-hd__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    font-family: var(--sans);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    line-height: 1;
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.fc-hd__cta span { line-height: 1; transition: transform .25s ease; }

.fc-hd__cta:hover { color: var(--ink); border-color: var(--ink); background: rgba(24, 36, 32, .04); transform: translateY(-1px); }

.fc-hd__cta:hover span { transform: translateX(4px); }

.fc-srch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    transition: border-color .25s ease, background .25s ease;
}

.fc-srch-btn:hover { border-color: var(--ink); background: rgba(24, 36, 32, .04); }

.fc-srch-btn svg { width: 17px; height: 17px; }

.fc-srch {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--paper);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: 0 30px 50px rgba(24, 36, 32, .14);
    padding: 18px clamp(18px, 3vw, 56px) 20px;
}

.fc-hd.is-srch .fc-srch { display: block; }

.fc-srch__form { display: flex; gap: 10px; max-width: 720px; margin: 0 auto; }

.fc-srch__form input {
    flex: 1 1 auto;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    padding: 13px 22px;
    font-family: var(--sans);
    font-size: 15px;
    color: var(--ink);
    outline: none;
    transition: border-color .25s ease;
}

.fc-srch__form input:focus { border-color: var(--teal-acc); }

.fc-srch__form button {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: var(--teal);
    color: #f4f1e9;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 0 28px;
    cursor: pointer;
    transition: background .25s ease;
}

.fc-srch__form button:hover { background: var(--teal-acc); }

.fc-srch__res {
    max-width: 720px;
    margin: 10px auto 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 40px -18px rgba(5, 46, 45, .3);
    overflow: hidden;
}

.fc-srch__res a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid var(--line-soft);
}

.fc-srch__res a:last-child { border-bottom: 0; }

.fc-srch__res a:hover { background: rgba(5, 46, 45, .05); }

.fc-srch__res img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; background: var(--bg2); }

.fc-srch__res .fc-srch__t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.fc-srch__res .fc-srch__p { color: var(--teal); font-weight: 700; white-space: nowrap; font-size: 13.5px; }

.fc-srch__res .fc-srch__empty { display: block; padding: 14px 16px; color: var(--mut); font-family: var(--sans); font-size: 13.5px; }

.fc-burger { display: none; }

.fc-ft {
    font-family: var(--sans);
    background: #0c1310;
    color: rgba(244, 241, 233, .62);
}

.fc-ft__g {
    display: grid;
    grid-template-columns: 1.1fr 2.4fr .9fr;
    gap: 48px;
    padding: 64px 28px 48px;
}

.fc-ft__brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-decoration: none;
}

.fc-ft__logo { width: 64px; height: 64px; margin-bottom: 14px; }

.fc-ft__brand .fc-brand__t { color: #f4f1e9; font-size: 21px; }

.fc-ft__brand .fc-brand__s { color: rgba(244, 241, 233, .4); }

.fc-ft__brand p { font-size: 14px; line-height: 1.7; margin: 16px 0 0; max-width: 340px; }

.fc-ft__soc { display: flex; gap: 10px; margin-top: 20px; }

.fc-ft__soc a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(244, 241, 233, .22);
    color: rgba(244, 241, 233, .8);
    transition: border-color .25s ease, color .25s ease, transform .25s ease;
}

.fc-ft__soc a:hover { border-color: #f4f1e9; color: #f4f1e9; transform: translateY(-2px); }

.fc-ft__soc svg { width: 17px; height: 17px; }

.fc-ft__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; align-content: start; }

.fc-ft__col { display: grid; gap: 10px; align-content: start; }

.fc-ft__col b {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(244, 241, 233, .45);
    margin-bottom: 6px;
}

.fc-ft__col a {
    color: rgba(244, 241, 233, .78);
    text-decoration: none;
    font-size: 13.5px;
    line-height: 1.5;
    width: fit-content;
    border-bottom: 1px solid transparent;
    transition: color .25s ease, border-color .25s ease;
}

.fc-ft__col a:hover { color: #fff; border-color: rgba(244, 241, 233, .4); }

.fc-ft__contact { display: grid; gap: 10px; align-content: start; }

.fc-ft__contact a, .fc-ft__addr {
    color: rgba(244, 241, 233, .78);
    text-decoration: none;
    font-size: 14.5px;
    width: fit-content;
    border-bottom: 1px solid transparent;
    transition: color .25s ease, border-color .25s ease;
}

.fc-ft__contact a:hover { color: #fff; border-color: rgba(244, 241, 233, .4); }

.fc-ft__addr { font-size: 13.5px; line-height: 1.7; color: rgba(244, 241, 233, .55); }

.fc-ft__legal {
    border-top: 1px solid rgba(244, 241, 233, .1);
    padding-top: 26px;
    padding-bottom: 34px;
    display: grid;
    gap: 14px;
}

.fc-ft__req { font-size: 12px; color: rgba(244, 241, 233, .38); letter-spacing: .02em; }

.fc-ft .pcs-footer-links { font-size: 12.5px; }

.fc-ft .pcs-footer-links a { color: rgba(244, 241, 233, .5); text-decoration: none; }

.fc-ft .pcs-footer-links a:hover { color: #f4f1e9; }

.fc-ft .pcs-footer-links__sep { color: rgba(244, 241, 233, .3); }

.fc-wa {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1f8f5f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(31, 143, 95, .35);
    transition: transform .25s ease;
}

.fc-wa:hover { transform: translateY(-3px) scale(1.04); }

@media (max-width: 1220px) {
    .fc-ft__g { grid-template-columns: 1fr 1.8fr 1fr; gap: 36px; }
    .fc-ft__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1280px) {
    .fc-hd__phone { display: none; }
}

@media (max-width: 960px) {
    .fc-hd { display: flex; justify-content: space-between; padding: 14px 20px; gap: 12px; }
    .fc-nav--main { display: none; }
    .fc-burger { order: 3; display: inline-flex; flex-direction: column; gap: 6px; background: none; border: 0; padding: 8px; cursor: pointer; }
    .fc-burger i { width: 24px; height: 2px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
    .fc-hd.is-open .fc-burger i:first-child { transform: translateY(4px) rotate(45deg); }
    .fc-hd.is-open .fc-burger i:last-child { transform: translateY(-4px) rotate(-45deg); }
    .fc-nav--m { display: none; }
    .fc-hd.is-open .fc-nav--m {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line-soft);
        padding: 20px 24px 26px;
        box-shadow: 0 30px 50px rgba(24, 36, 32, .12);
        max-height: calc(100vh - 160px);
        overflow-y: auto;
    }
    .fc-nav a { font-size: 12px; letter-spacing: .14em; }
    .fc-hd__login, .fc-hd__phone, .fc-hd__cta { display: none; }
    .fc-nav--m .fc-sub {
        position: static;
        transform: none;
        display: none;
        box-shadow: none;
        background: transparent;
        padding: 0 0 0 16px;
        min-width: 0;
    }
    .fc-nav--m li.is-sub-open > .fc-sub { display: flex; }
    .fc-srch__form button { padding: 0 20px; }
    .fc-ft__g { grid-template-columns: 1fr 1fr; gap: 36px; padding: 52px 20px 40px; }
    .fc-ft__cols { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .fc-wrap { padding: 0 18px; }
    .fc-topbar { gap: 14px; font-size: 11px; }
    .fc-topbar span { display: none; }
    .fc-srch__form { flex-wrap: wrap; }
    .fc-srch__form button { flex: 1 1 100%; padding: 12px; }
    .fc-ft__g { grid-template-columns: 1fr; gap: 32px; padding: 48px 18px 36px; }
    .fc-ft__cols { grid-template-columns: 1fr 1fr; gap: 22px; }
    .fc-wa { right: 14px; bottom: 14px; width: 46px; height: 46px; }
}
