:root {
  --wp-admin--admin-bar--height: 0px;
}

html {
  scroll-behavior: smooth;
}

html.is-step-scrolling {
  scroll-behavior: auto !important;
}

/* The corresponding dialog is not rendered while feedback forms are hidden. */
.zamki24-lead-forms-hidden [data-event="lead_form_open"] {
  display: none !important;
}

.sequence-slide__actions.sequence-slide__actions--phone {
  position: static;
  margin-top: 20px;
}

body.admin-bar .site-header {
  top: calc(20px + var(--wp-admin--admin-bar--height));
}

.hero-nav > ul,
.footer nav > ul,
.mobile-menu nav > ul {
  display: contents;
}

body.admin-bar .mobile-menu-button {
  top: calc(84px + var(--wp-admin--admin-bar--height));
}

@media (min-width: 783px) {
  body.admin-bar {
    --wp-admin--admin-bar--height: 32px;
  }
}

@media (max-width: 782px) {
  body.admin-bar {
    --wp-admin--admin-bar--height: 46px;
  }
}

.wp-call-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 5px;
  padding: 12px 20px;
  background: #d7a95b;
  color: #171713;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 12px 35px rgba(215, 169, 91, .24);
  cursor: pointer;
  transition: background-color .25s ease, transform .25s ease, opacity .25s ease;
}

.wp-call-button:hover {
  background: #e7bd76;
}

.wp-call-button:active {
  transform: translateY(1px);
}

.wp-call-button:focus-visible {
  outline: 3px solid rgba(215, 169, 91, .42);
  outline-offset: 3px;
}

.wp-call-button svg,
.lead-form__success > span svg,
.wp-lead-dialog__icon svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sequence-slide__facts svg,
.repair-items svg,
.final-trust svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.price-accordion,
.faq-list {
  width: 100%;
}

.price-factor,
.faq-item {
  border-bottom: 1px solid rgba(118, 107, 88, .22);
}

.price-factor h3,
.faq-item h3 {
  margin: 0;
}

.price-factor [data-accordion-trigger],
.faq-item [data-accordion-trigger] {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  padding: 18px 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.price-factor [data-accordion-trigger] svg,
.faq-item [data-accordion-trigger] svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform .25s ease;
}

.price-factor.is-open [data-accordion-trigger] svg,
.faq-item.is-open [data-accordion-trigger] svg {
  transform: rotate(90deg);
}

.price-factor [data-accordion-panel],
.faq-item [data-accordion-panel] {
  padding: 0 44px 20px 0;
  color: inherit;
  opacity: .72;
}

.price-factor [data-accordion-panel] p,
.faq-item [data-accordion-panel] p {
  margin: 0;
}

.price-factor [hidden],
.faq-item [hidden] {
  display: none !important;
}

.situation-chip span {
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .55;
}

.situation-chip.is-active span::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 5px;
  border-radius: 50%;
  background: currentColor;
}

.mobile-menu[hidden] {
  display: none !important;
}

.mobile-menu {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 28px;
  background: rgba(15, 15, 13, .98);
  color: #fff;
}

.mobile-menu nav {
  display: grid;
  gap: 4px;
}

.mobile-menu nav a {
  padding: 14px 0;
  color: inherit;
  font-size: clamp(28px, 9vw, 44px);
  font-weight: 650;
  text-decoration: none;
}

.mobile-menu__phone {
  color: #d7a95b;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

.mobile-menu__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 5px;
  background: transparent;
  color: #fff;
}

.mobile-menu__close svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

body.has-mobile-menu,
body.has-lead-dialog {
  overflow: hidden;
}

.wp-lead-dialog {
  width: min(560px, calc(100vw - 28px));
  max-width: 560px;
  max-height: min(860px, calc(100dvh - 28px));
  margin: auto;
  border: 0;
  border-radius: 5px;
  padding: 0;
  background: transparent;
  color: #22221e;
  overflow: visible;
}

.wp-lead-dialog::backdrop {
  background: rgba(10, 10, 9, .78);
  backdrop-filter: blur(10px);
}

.wp-lead-dialog__panel {
  position: relative;
  max-height: min(860px, calc(100dvh - 28px));
  overflow: auto;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 5px;
  padding: 28px;
  background: #f7f3eb;
  box-shadow: 0 28px 90px rgba(0,0,0,.42);
}

.wp-lead-dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #22221e;
  cursor: pointer;
}

.wp-lead-dialog__close:hover {
  background: rgba(0,0,0,.06);
}

.wp-lead-dialog__close svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.wp-lead-dialog__intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding-right: 34px;
}

.wp-lead-dialog__intro h2,
.lead-form__success h2 {
  margin: 0 0 8px;
  font-size: clamp(27px, 5vw, 38px);
  line-height: 1.04;
}

.wp-lead-dialog__intro p,
.lead-form__success p {
  margin: 0;
  color: #6e695f;
  line-height: 1.55;
}

.wp-lead-dialog__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: rgba(215, 169, 91, .18);
  color: #9e6a1e;
}

#lead-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.lead-form__field {
  display: grid;
  gap: 7px;
}

.lead-form__field label {
  font-size: 14px;
  font-weight: 700;
}

.lead-form__field label span {
  color: #9f3d32;
}

.lead-form__field input,
.lead-form__field textarea {
  width: 100%;
  border: 1px solid #d6cfc2;
  border-radius: 5px;
  padding: 13px 14px;
  background: #fffdf8;
  color: #22221e;
  font: inherit;
  line-height: 1.35;
  box-sizing: border-box;
}

.lead-form__field textarea {
  min-height: 96px;
  resize: vertical;
}

.lead-form__field input:focus,
.lead-form__field textarea:focus {
  border-color: #b97c27;
  outline: 3px solid rgba(215, 169, 91, .25);
}

.lead-form__field small,
.lead-form__checkbox-error {
  min-height: 0;
  color: #9f3d32;
  font-size: 12px;
}

.lead-form__consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: #5e594f;
  font-size: 13px;
  line-height: 1.45;
}

.lead-form__consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #a66f22;
}

.lead-form__consent a {
  color: #76511d;
  text-underline-offset: 2px;
}

.lead-form__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.lead-form__submit {
  width: 100%;
  margin-top: 4px;
}

.lead-form__submit:disabled {
  cursor: wait;
  opacity: .65;
}

.lead-form__status {
  min-height: 20px;
  margin: 0;
  color: #9f3d32;
  font-size: 13px;
}

.lead-form__success {
  display: grid;
  gap: 12px;
  padding: 26px 0 6px;
  text-align: center;
}

.lead-form__success > span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 5px;
  background: rgba(76, 150, 85, .14);
  color: #34713d;
}

.lead-form__success .wp-call-button {
  margin-top: 8px;
}

.zamki24-legal {
  min-height: 100vh;
  margin: 0;
  background: #f4efe6;
  color: #22221e;
  font-family: Arial, Helvetica, sans-serif;
}

.legal-header,
.legal-footer,
.legal-main {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.legal-header {
  padding: 28px 0;
}

.legal-brand,
.legal-footer a {
  color: #76511d;
  font-weight: 700;
  text-decoration: none;
}

.legal-main {
  padding: 38px 0 80px;
}

.legal-article {
  border: 1px solid #ddd3c4;
  border-radius: 5px;
  padding: clamp(24px, 5vw, 64px);
  background: #fffdf8;
  box-shadow: 0 20px 70px rgba(45, 35, 19, .06);
}

.legal-eyebrow {
  margin: 0 0 18px;
  color: #a66f22;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.legal-article h1 {
  max-width: 800px;
  margin: 0 0 34px;
  font-size: clamp(36px, 7vw, 70px);
  line-height: .98;
  letter-spacing: -.045em;
}

.legal-content {
  max-width: 800px;
  font-size: 17px;
  line-height: 1.65;
}

.legal-content h2 {
  margin: 40px 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.legal-content p,
.legal-content ul {
  margin: 0 0 17px;
}

.legal-content li + li {
  margin-top: 7px;
}

.legal-content .legal-note {
  border-left: 3px solid #d7a95b;
  padding: 14px 18px;
  background: #f7f0e3;
}

.legal-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #ddd3c4;
  padding: 25px 0 40px;
  font-size: 14px;
}

.legal-footer p {
  margin: 0;
}

@media (max-width: 767px) {
  .wp-lead-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
  }

  .wp-lead-dialog__panel {
    max-height: calc(100dvh - 16px);
    padding: 20px;
  }

  .wp-lead-dialog__intro {
    grid-template-columns: 1fr;
  }

  .wp-lead-dialog__icon {
    width: 44px;
    height: 44px;
  }

  .legal-header,
  .legal-footer,
  .legal-main {
    width: min(100% - 24px, 1080px);
  }

  .legal-main {
    padding-top: 12px;
  }

  .legal-article {
    padding: 24px 18px;
  }

  .legal-content {
    font-size: 16px;
  }

  .legal-footer {
    flex-direction: column;
  }
}

/* Keep the full service name readable beside the menu on narrow screens. */
.site-header .brand,
.footer .brand {
  width: auto;
  min-width: 0;
  max-width: 300px;
  letter-spacing: .045em;
  line-height: 1.35;
}

.brand__mark {
  flex: 0 0 auto;
}

.site-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 20px 0;
  color: #d7a95b;
  font-size: 16px;
  font-weight: 650;
}

.site-contacts a {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.mobile-menu__contacts {
  flex-direction: column;
  margin: 0;
}

@media (max-width: 767px) {
  .site-header .brand {
    max-width: calc(100% - 44px);
    gap: 8px;
    font-size: 11px;
  }

  .site-header .brand > span:last-child {
    max-width: 205px;
  }

  .site-contacts {
    flex-direction: column;
  }
}
