/* Facade-only graphite header; the original configurator retains its layout. */
.tc-header--facade-contact { display: grid; grid-template-columns: 150px minmax(260px, 1fr) auto auto auto; grid-template-areas: "logo navigation phone messengers request"; align-items: center; gap: 24px; height: 94px; min-height: 94px; padding: 0 40px; box-sizing: border-box; background: #1C1C1A; color: #fff; border-bottom: 1px solid rgba(255,255,255,.14); backdrop-filter: none; }
.tc-header--facade-contact .tc-header__inner, .tc-header--facade-contact .tc-header-contact { display: contents; }
.tc-header--facade-contact .tc-brand { grid-area: logo; }
.tc-header--facade-contact .tc-brand img { width: 150px; max-width: 100%; height: auto; }
.tc-header--facade-contact .tc-header__product,
.taiga-facade-contacts .tp-site-pro-entry,
.taiga-facade-contacts [data-taiga-pro-entry] { display: none !important; }
.tc-header--facade-contact .tc-directions { grid-area: navigation; justify-self: start; display: flex; align-items: stretch; gap: 28px; background: transparent; padding: 0; border: 0; border-radius: 0; width: auto; }
.tc-header--facade-contact .tc-direction { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #bdbdb8; font-size: 15px; }
.tc-header--facade-contact .tc-direction:hover, .tc-header--facade-contact .tc-direction.is-active { color: #fff; background: transparent; }
.tc-header--facade-contact .tc-direction.is-active::after { content: ""; position: absolute; height: 2px; bottom: 0; left: 0; right: 0; background: #F4F1EB; }
.tc-header-contact__phone { grid-area: phone; color: inherit; font-size: 16px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.tc-header-contact__phone svg { display: none; }
.tc-header-contact__messengers { grid-area: messengers; display: flex; gap: 8px; align-items: center; }
.tc-messenger { width: 42px; height: 42px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.3); border-radius: 0; background: transparent; color: #fff; text-decoration: none; flex-shrink: 0; }
.tc-messenger svg { width: 22px; height: 22px; fill: currentColor; }
.tc-messenger:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.tc-header--facade-contact .tc-facade-request-link { grid-area: request; min-height: 48px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 0 20px; border: 1px solid #F4F1EB; border-radius: 0; background: #F4F1EB; color: #1C1C1A; text-decoration: none; text-align: center; font-size: 14px; white-space: nowrap; }
.tc-header--facade-contact .tc-facade-request-link:hover { background: #fff; }
.tc-facade-menu { display: none; grid-area: menu; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; padding: 0; }
.tc-facade-menu svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.tc-facade-dialog .tc-messenger { color: #1C1C1A; border-color: #b7b1a7; }
.tc-facade-dialog .tc-messenger:hover { background: #e8e5dd; }
.tc-facade-dialog { box-sizing: border-box; width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 32px; border: 1px solid #d4cec3; color: #171916; background: #f8f6f1; overflow: auto; }
.tc-facade-dialog:not([open]) { display: none; }
.tc-facade-dialog::backdrop { background: rgba(14, 17, 14, .6); backdrop-filter: blur(3px); }
.tc-facade-dialog h2 { margin: 0 40px 12px 0; font-size: 28px; line-height: 1.2; }
.tc-facade-dialog > p { margin: 0 0 22px; line-height: 1.5; }
.tc-facade-dialog__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; font-size: 30px; cursor: pointer; color: inherit; }
.tc-facade-modal-open { overflow: hidden; }
.tc-facade-form { position: relative; }
.tc-facade-form > p { font-size: 14px; line-height: 1.5; }
.tc-facade-form__fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.tc-facade-form__fields label { display: grid; gap: 8px; font-size: 13px; }
.tc-facade-form__fields small { color: #666960; }
.tc-facade-form__fields input { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #b7b1a7; background: #fff; padding: 12px; border-radius: 0; color: #171916; }
.tc-facade-form__fields button { min-height: 48px; border: 1px solid #171916; padding: 12px 20px; background: #171916; color: #fff; cursor: pointer; }
.tc-facade-form__fields button:disabled { opacity: .6; cursor: wait; }
.tc-facade-form__consent { display: flex; align-items: start; gap: 8px; font-size: 12px; line-height: 1.5; margin-top: 18px; }
.tc-facade-form__consent input { flex-shrink: 0; margin-top: 3px; }
.tc-facade-form__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tc-facade-form [data-state="success"] { color: #21552e; }
.tc-facade-form [data-state="error"] { color: #9b2020; }
.tc-facade-form__alternative { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; margin-top: 18px; }
.tc-header--facade-contact a:focus-visible, .tc-facade-dialog :focus-visible { outline: 2px solid #855e28; outline-offset: 4px; }
@media (max-width: 1180px) {
    .tc-header--facade-contact { grid-template-columns: 130px minmax(0,1fr) auto auto 44px; grid-template-areas: "logo phone messengers request menu"; gap: 16px; padding: 0 32px; height: 88px; min-height: 88px; }
    .tc-header--facade-contact .tc-brand img { width: 130px; }
    .tc-header--facade-contact .tc-header-contact__phone { justify-self: end; }
    .tc-header--facade-contact .tc-directions { display: none; position: absolute; top: 100%; left: 32px; right: 32px; padding: 16px 24px; background: #1C1C1A; border: 1px solid rgba(255,255,255,.2); }
    .tc-header--facade-contact .tc-directions.is-open { display: flex; }
    .tc-header--facade-contact .tc-facade-menu { display: inline-flex; }
    .tc-header--facade-contact .tc-messenger { width: 44px; height: 44px; }
}
@media (max-width: 1000px) {
    .tc-header--facade-contact .tc-header-contact__phone { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.3); }
    .tc-header--facade-contact .tc-header-contact__phone span { display: none; }
    .tc-header--facade-contact .tc-header-contact__phone svg { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.4; }
}
@media (max-width: 680px) {
    .tc-header--facade-contact { grid-template-columns: minmax(0,1fr) auto 44px; grid-template-areas: "logo phone menu" "messengers request request"; gap: 12px; height: auto; min-height: 128px; padding: 14px 18px; }
    .tc-header--facade-contact .tc-brand img { width: 116px; }
    .tc-header--facade-contact .tc-directions { left: 18px; right: 18px; padding: 12px 16px; justify-content: space-between; gap: 12px; }
    .tc-header--facade-contact .tc-facade-request-link { min-height: 46px; gap: 12px; padding: 0 14px; font-size: 13px; }
    .tc-header--facade-contact .tc-header-contact__messengers { gap: 6px; }
    .tc-facade-dialog { padding: 24px 20px; }
}
@media (max-width: 380px) {
    .tc-header--facade-contact { grid-template-columns: minmax(144px,1fr) auto 44px; padding-left: 16px; padding-right: 16px; column-gap: 8px; }
    .tc-header--facade-contact .tc-facade-request-link { padding: 0 4px; gap: 2px; font-size: 12px; }
}
@media print { .tc-facade-dialog, .tc-header-contact, .tc-facade-request-link, .tc-facade-menu { display: none !important; } }
