:root {
  --chtz-footer-ink: #202a30;
  --chtz-footer-copy: #5e696f;
  --chtz-footer-muted: #758086;
  --chtz-footer-line: #ded6c7;
  --chtz-footer-paper: #f3efe6;
  --chtz-footer-card: #fff;
  --chtz-footer-accent: #f5a400;
  --chtz-footer-accent-light: #ffbd38;
}

.intec-template-layout-footer .widget-web-form-2 {
  padding: 1px 0 !important;
  border: 0 !important;
  background: var(--chtz-footer-paper) !important;
}

.intec-template-layout-footer .widget-web-form-2::after {
  display: none !important;
  content: none !important;
}

.intec-template-layout-footer .widget-web-form-2 .intec-content-wrapper,
.c-footer.c-footer-template-1 .widget-wrapper-2 {
  box-sizing: border-box !important;
  width: calc(100% - 32px) !important;
  max-width: 1200px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.intec-template-layout-footer .widget-web-form-2-wrapper {
  box-sizing: border-box;
  margin: 17px 0 !important;
  padding: 19px 22px !important;
  border: 1px solid var(--chtz-footer-line);
  border-left: 6px solid var(--chtz-footer-accent);
  background: var(--chtz-footer-card);
  box-shadow: 0 12px 28px rgba(76, 65, 45, .09);
}

.intec-template-layout-footer .widget-web-form-2-wrapper > .intec-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) 224px !important;
  gap: 24px !important;
  align-items: center !important;
}

.intec-template-layout-footer .widget-web-form-2-wrapper > .intec-grid > div {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

.intec-template-layout-footer .widget-web-form-2-image {
  display: none !important;
}

.intec-template-layout-footer .widget-web-form-2-title {
  max-width: 440px !important;
  padding: 0 !important;
  color: var(--chtz-footer-ink) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.intec-template-layout-footer .widget-web-form-2-description {
  color: var(--chtz-footer-copy) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.intec-template-layout-footer .widget-web-form-2-button {
  position: relative !important;
  box-sizing: border-box !important;
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 52px !important;
  min-height: 52px !important;
  padding: 0 18px !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(135deg, var(--chtz-footer-accent), var(--chtz-footer-accent-light)) !important;
  color: var(--chtz-footer-ink) !important;
  box-shadow: 0 9px 20px rgba(245, 164, 0, .22) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: .035em;
  white-space: nowrap !important;
  text-transform: uppercase;
  cursor: pointer;
  animation: chtz-footer-submit-breathe 2.8s ease-in-out infinite !important;
}

.intec-template-layout-footer .widget-web-form-2-button::after {
  position: absolute;
  inset: -1px;
  border: 1px solid var(--chtz-footer-accent);
  content: '';
  pointer-events: none;
  animation: chtz-footer-submit-ring 2.8s ease-out infinite;
}

.intec-template-layout-footer .widget-web-form-2-button:hover {
  background: linear-gradient(135deg, #ffb20d, #ffc94f) !important;
}

.c-footer.c-footer-template-1 .widget-view-5 {
  border-top: 1px solid var(--chtz-footer-line) !important;
  background: var(--chtz-footer-paper) !important;
}

.c-footer.c-footer-template-1 .widget-view-5 .widget-wrapper {
  padding-top: 22px !important;
  padding-bottom: 18px !important;
}

.c-footer.c-footer-template-1 .widget-parts {
  gap: 18px !important;
}

.c-footer.c-footer-template-1 .menu-column {
  padding-right: 12px !important;
}

.c-footer.c-footer-template-1 .menu-column-wrapper,
.c-footer.c-footer-template-1 .widget-search {
  box-sizing: border-box;
  height: 100%;
  border: 1px solid #e2dacb !important;
  background: #fff !important;
  box-shadow: 0 7px 18px rgba(76, 65, 45, .055);
}

.c-footer.c-footer-template-1 .menu-column-wrapper {
  padding: 14px !important;
  border-top: 3px solid var(--chtz-footer-accent) !important;
}

.c-footer.c-footer-template-1 .menu-column-header {
  margin-bottom: 9px !important;
}

.c-footer.c-footer-template-1 .menu-column-header-link {
  color: var(--chtz-footer-ink) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .045em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.c-footer.c-footer-template-1 .menu-column-item-link {
  color: #647078 !important;
  font-size: 10px !important;
  line-height: 1.45 !important;
}

.c-footer.c-footer-template-1 .menu-column-item-link:hover {
  color: #a66c00 !important;
}

.c-footer.c-footer-template-1 .widget-search {
  padding: 14px !important;
}

.chtz-footer-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.chtz-footer-proof__item {
  position: relative;
  box-sizing: border-box;
  display: block;
  min-width: 0;
  padding: 13px 14px 13px 17px;
  border: 1px solid #e2dacb;
  background: #fff;
  box-shadow: 0 6px 16px rgba(76, 65, 45, .05);
  color: inherit !important;
  text-decoration: none !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.chtz-footer-proof__item::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--chtz-footer-accent);
  content: '';
}

.chtz-footer-proof__item:hover {
  border-color: var(--chtz-footer-accent);
  box-shadow: 0 9px 20px rgba(76, 65, 45, .09);
  transform: translateY(-1px);
}

.chtz-footer-proof__item strong,
.chtz-footer-proof__item span {
  display: block;
}

.chtz-footer-proof__item strong {
  color: var(--chtz-footer-ink);
  font-size: 12px;
}

.chtz-footer-proof__item span {
  margin-top: 3px;
  color: var(--chtz-footer-muted);
  font-size: 9px;
}

.chtz-footer-socials {
  display: grid;
  gap: 7px;
  margin-top: 9px;
}

.chtz-footer-social {
  display: flex;
  padding: 9px 10px;
  align-items: center;
  gap: 8px;
  border: 1px solid #e2dacb;
  background: #fff;
  color: #26323a !important;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.chtz-footer-social:hover {
  border-color: var(--chtz-footer-accent);
  background: #fffaf0;
  transform: translateX(2px);
}

.chtz-footer-social--telegram {
  border-left: 3px solid #229ed9;
}

.chtz-footer-social--max {
  border-left: 3px solid #6e63e8;
}

.chtz-footer-social__icon {
  display: flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
}

.chtz-footer-social__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.chtz-footer-menu-toggle {
  margin-top: 9px;
  padding: 0;
  border: 0;
  border-bottom: 1px dashed #9b6b09;
  background: transparent;
  color: #8d620d;
  font-size: 9px;
  cursor: pointer;
}

.c-footer.c-footer-template-1 .menu-column:first-child .menu-column-items-wrapper {
  max-height: 150px;
  overflow: hidden;
}

.c-footer.c-footer-template-1 .menu-column:first-child.is-chtz-expanded .menu-column-items-wrapper {
  max-height: none;
}

.chtz-footer-proof__item:focus-visible,
.chtz-footer-social:focus-visible,
.chtz-footer-menu-toggle:focus-visible,
.intec-template-layout-footer .widget-web-form-2-button:focus-visible {
  outline: 3px solid rgba(245, 164, 0, .48) !important;
  outline-offset: 3px;
}

@keyframes chtz-footer-submit-breathe {
  0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 7px 10px rgba(245, 164, 0, .12)); }
  50% { transform: translateY(-1px) scale(1.018); filter: drop-shadow(0 10px 15px rgba(245, 164, 0, .32)); }
}

@keyframes chtz-footer-submit-ring {
  0%, 35% { opacity: 0; transform: scale(1); }
  55% { opacity: .55; }
  100% { opacity: 0; transform: scale(1.08, 1.34); }
}

@media (max-width: 1024px) {
  .intec-template-layout-footer .widget-web-form-2-wrapper > .intec-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .intec-template-layout-footer .widget-web-form-2-wrapper > .intec-grid > div:last-child {
    grid-column: 1 / 3;
  }

  .chtz-footer-proof {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .c-footer.c-footer-template-1 .menu-column:first-child .menu-column-items-wrapper {
    max-height: none;
  }

  .chtz-footer-menu-toggle {
    display: none;
  }
}

@media (max-width: 600px) {
  .intec-template-layout-footer .widget-web-form-2 .intec-content-wrapper,
  .c-footer.c-footer-template-1 .widget-wrapper-2 {
    width: calc(100% - 20px) !important;
  }

  .intec-template-layout-footer .widget-web-form-2-wrapper {
    padding: 16px 15px !important;
  }

  .intec-template-layout-footer .widget-web-form-2-wrapper > .intec-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .intec-template-layout-footer .widget-web-form-2-wrapper > .intec-grid > div:last-child {
    grid-column: 1;
  }

  .chtz-footer-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .chtz-footer-proof__item {
    min-height: 82px;
    padding: 12px 11px 11px 14px;
  }

  .c-footer.c-footer-template-1 .widget-parts {
    display: block !important;
    width: 100% !important;
  }

  .c-footer.c-footer-template-1 .widget-part,
  .c-footer.c-footer-template-1 .widget-part-left,
  .c-footer.c-footer-template-1 .widget-part-right {
    box-sizing: border-box !important;
    display: block !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .c-footer.c-footer-template-1 .widget-part-right {
    margin-top: 10px !important;
  }

  .c-footer.c-footer-template-1 .menu-columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .c-footer.c-footer-template-1 .menu-column {
    box-sizing: border-box !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .c-footer.c-footer-template-1 .menu-column-wrapper {
    min-height: 70px;
    padding: 12px !important;
  }

  .c-footer.c-footer-template-1 .menu-column-header {
    margin: 0 !important;
  }

  .c-footer.c-footer-template-1 .widget-search,
  .c-footer.c-footer-template-1 .widget-search input,
  .c-footer.c-footer-template-1 .widget-search form {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .c-footer.c-footer-template-1 .widget-logotype,
  .c-footer.c-footer-template-1 .widget-logotype img {
    width: auto !important;
    max-width: 170px !important;
    height: auto !important;
  }

  .c-footer.c-footer-template-1 .widget-part-right,
  .c-footer.c-footer-template-1 .widget-part-right * {
    min-width: 0;
  }

  #chtz-local-assistant {
    right: 12px !important;
    bottom: calc(82px + env(safe-area-inset-bottom)) !important;
  }

  #chtz-local-assistant .chtz-local-assistant__toggle {
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
    padding: 6px !important;
  }

  #chtz-local-assistant .chtz-local-assistant__toggle-icon {
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
  }

  #chtz-local-assistant .chtz-local-assistant__toggle-copy {
    display: none !important;
  }

  #chtz-local-assistant .chtz-local-assistant__panel {
    right: 10px !important;
    bottom: calc(146px + env(safe-area-inset-bottom)) !important;
    width: calc(100vw - 20px) !important;
    max-width: 360px !important;
    max-height: calc(100vh - 180px) !important;
    overflow-y: auto !important;
  }

  .intec-template-layout-header .widget-logotype img {
    width: auto !important;
    max-width: 170px !important;
    max-height: 64px !important;
    object-fit: contain;
  }
}

@media (max-width: 360px) {
  .chtz-footer-proof,
  .c-footer.c-footer-template-1 .menu-columns {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intec-template-layout-footer .widget-web-form-2-button,
  .intec-template-layout-footer .widget-web-form-2-button::after,
  .chtz-footer-proof__item,
  .chtz-footer-social {
    animation: none !important;
    transition: none !important;
  }
}
