.hero * {
  color: #111827 !important;
}

/* ===== HERO БЛОКИ — КОМПАКТНЫЕ ===== */

.hero-points {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  margin: 18px 0 !important;
  max-width: 450px !important;
}

.hero-point {
  position: relative !important;
  display: block !important;
  padding: 12px 14px 12px 44px !important;
  min-height: 74px !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  border: 1px solid #d7e5f7 !important;
  box-shadow: 0 6px 14px rgba(15,87,177,.05) !important;
}

/* галочка */
.tick {
  position: absolute !important;
  left: 14px !important;
  top: 14px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #e6fbf6 !important;
  color: #047857 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* заголовок */
.hero-point strong {
  display: block !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  margin-bottom: 4px !important;
}

/* текст */
.hero-point div {
  font-size: 13.5px !important;
  line-height: 1.25 !important;
  color: #334155 !important;
}

/* мобильная версия */
@media(max-width:768px){
  .hero-points {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }

  .hero-point {
    min-height: auto !important;
  }
}

/* ===== ФИЛЬТРЫ ===== */

.filters,
.tabs,
.cennik-tabs {
  display: flex !important;
  gap: 10px !important;
  margin: 20px 0 !important;
  flex-wrap: wrap !important;
}

.filters a,
.tabs a,
.cennik-tabs a {
  padding: 10px 18px !important;
  border-radius: 999px !important;
  border: 1px solid #dbe7f5 !important;
  background: #ffffff !important;
  color: #0f57b1 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
}

.filters a:hover,
.tabs a:hover,
.cennik-tabs a:hover {
  background: #e8f1ff !important;
  transform: translateY(-1px);
}

.filters a.active,
.tabs a.active,
.cennik-tabs a.active {
  background: #0f57b1 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(15,87,177,.2);
}

/* ===== БУРГЕР ===== */

.nav-toggle {
  display: none !important;
}

@media(max-width:768px){

  .site-header .nav {
    display: grid !important;
    grid-template-columns: 1fr auto auto !important;
    align-items: center !important;
    gap: 10px !important;
    position: relative !important;
  }

  .brand {
    font-size: 24px !important;
    white-space: nowrap !important;
  }

  .mobile-burger {
    display: flex !important;
    width: 42px !important;
    height: 42px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    border: 1px solid #dbe7f5 !important;
    background: #ffffff !important;
    color: #0f57b1 !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    grid-column: 3 !important;
  }

  .menu-wrap {
    display: contents !important;
  }

  .menu-wrap > .btn-primary {
    grid-column: 2 !important;
    padding: 9px 13px !important;
    font-size: 13px !important;
    min-height: 40px !important;
  }

  .site-nav {
    display: none !important;
    grid-column: 1 / -1 !important;
    background: #ffffff !important;
    border: 1px solid #dbe7f5 !important;
    border-radius: 18px !important;
    padding: 16px !important;
    margin-top: 10px !important;
    box-shadow: 0 12px 28px rgba(15,87,177,.12) !important;
  }

  .nav-toggle:checked ~ .menu-wrap .site-nav {
    display: block !important;
  }

  .site-nav ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  .social-mini {
    display: none !important;
  }
}

@media(min-width:769px){
  .mobile-burger {
    display: none !important;
  }
}

/* ===== PORTFOLIO / GALERIA FIX ===== */

.gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 18px !important;
  margin-top: 28px !important;
}

.gallery-card {
  background: #fff !important;
  border: 1px solid #dbe7f5 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(15,87,177,.06) !important;
}

.gallery-photo {
  height: 240px !important;
  background: #eaf3ff center/cover no-repeat !important;
}

.gallery-caption {
  padding: 16px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

/* ===== DLACZEGO MY FIX ===== */

.usp-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 14px !important;
  margin-top: 28px !important;
  max-width: 780px !important;
}

.usp-item {
  background: #fff !important;
  border: 1px solid #dbe7f5 !important;
  border-radius: 16px !important;
  padding: 16px !important;
  display: flex !important;
  gap: 12px !important;
  align-items: flex-start !important;
  box-shadow: 0 6px 18px rgba(15,87,177,.05) !important;
}

.usp-item strong {
  font-size: 16px !important;
  color: #0f172a !important;
}

.usp-item div {
  font-size: 14.5px !important;
  color: #334155 !important;
  line-height: 1.4 !important;
}

@media(max-width:768px){
  .gallery-grid,
  .usp-grid {
    grid-template-columns: 1fr !important;
  }
}

#dlaczego-my .btn {
  margin-top: 26px !important;
}

/* ===== FORMULARZ — PREMIUM ===== */

.order-grid {
  display: grid !important;
  grid-template-columns: 1fr 1.1fr !important;
  gap: 22px !important;
  align-items: start !important;
}

.contact-card,
.form-card {
  background: #ffffff !important;
  border: 1px solid #dbe7f5 !important;
  border-radius: 20px !important;
  padding: 28px !important;
  box-shadow: 0 12px 28px rgba(15,87,177,.06) !important;
}

#zamow .contact-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  margin: 22px 0 !important;
}

#zamow .contact-item {
  background: #f8fbff !important;
  border: 1px solid #dbe7f5 !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  box-shadow: none !important;
}

#zamow .contact-item strong {
  font-size: 15px !important;
  color: #0f172a !important;
}

#zamow .contact-item {
  font-size: 14px !important;
  color: #334155 !important;
  line-height: 1.35 !important;
}

.wpcf7 form {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
}

.wpcf7 label {
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #0f172a !important;
}

.wpcf7 input,
.wpcf7 textarea {
  width: 100% !important;
  margin-top: 6px !important;
  padding: 14px 16px !important;
  border: 1px solid #dbe7f5 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  font-size: 15px !important;
}

.wpcf7 textarea {
  min-height: 125px !important;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none !important;
  border-color: #0f57b1 !important;
  box-shadow: 0 0 0 3px rgba(15,87,177,.12) !important;
}

.wpcf7 input[type="submit"] {
  background: #0f57b1 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

.wpcf7 input[type="submit"]:hover {
  background: #084899 !important;
}

@media(max-width:900px){
  .order-grid,
  .form-row {
    grid-template-columns: 1fr !important;
  }
}

/* чекбокс согласия — выравнивание */

.wpcf7-acceptance {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

.wpcf7-acceptance input[type="checkbox"] {
  margin-top: 4px !important;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.wpcf7-acceptance span {
  display: inline-block !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  color: #334155 !important;
}

/* CF7 checkbox — жёсткое выравнивание */
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

.wpcf7-form .wpcf7-acceptance label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-weight: 700 !important;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  margin: 3px 0 0 0 !important;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label {
  display: inline !important;
  line-height: 1.4 !important;
}

#cennik .cta-center {
  margin-top: 30px !important;
}

/* текст перед кнопкой — ниже и крупнее */
#cennik .price-note {
  margin-top: 18px !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: #1e293b !important;
}

/* кнопка ещё ниже */
#cennik .cta-center {
  margin-top: 28px !important;
}

/* ЖЁСТКО увеличиваем текст */
#cennik .price-note,
#cennik .price-note * {
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: #1e293b !important;
}

/* если всё ещё мало — вот максимум */
@media(min-width:768px){
  #cennik .price-note,
  #cennik .price-note * {
    font-size: 19px !important;
  }
}

/* ===== KONTAKT — как на примере ===== */

#kontakt .contact-grid {
  display: grid !important;
  grid-template-columns: 0.9fr 1.1fr !important;
  gap: 22px !important;
  align-items: stretch !important;
  margin-top: 28px !important;
}

#kontakt .contact-card {
  background: #ffffff !important;
  border: 1px solid #dbe7f5 !important;
  border-radius: 18px !important;
  padding: 22px !important;
  box-shadow: 0 10px 26px rgba(15,87,177,.06) !important;
}

#kontakt .contact-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  margin: 0 0 22px !important;
}

#kontakt .contact-item {
  background: #f8fbff !important;
  border: 1px solid #dbe7f5 !important;
  border-radius: 14px !important;
  padding: 16px !important;
  font-size: 15px !important;
  color: #0f172a !important;
}

#kontakt .contact-item strong {
  display: block !important;
  font-size: 15px !important;
  margin-bottom: 4px !important;
}

#kontakt .btn {
  width: 100% !important;
}

#kontakt .map-wrap {
  border: 1px solid #dbe7f5 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 26px rgba(15,87,177,.06) !important;
  min-height: 385px !important;
}

#kontakt .map-wrap iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 385px !important;
  border: 0 !important;
}

.footer {
  border-top: 1px solid #dbe7f5 !important;
  background: #ffffff !important;
  color: #334155 !important;
}

.footer p {
  color: #334155 !important;
}

@media(max-width:768px){
  #kontakt .contact-grid {
    grid-template-columns: 1fr !important;
  }
}

/* уменьшаем отступы в контакт-блоке */
#kontakt .contact-card {
  padding: 16px !important;
}

#kontakt .contact-list {
  gap: 10px !important;
  margin-bottom: 14px !important;
}

#kontakt .contact-item {
  padding: 10px 12px !important;
  border-radius: 12px !important;
}

#kontakt .contact-item strong {
  margin-bottom: 2px !important;
}

#kontakt .btn {
  margin-top: 10px !important;
  padding: 12px !important;
}

/* ультра-компакт + крупнее текст */
#kontakt .contact-card {
  padding: 14px !important;
}

#kontakt .contact-list {
  gap: 8px !important;
  margin-bottom: 12px !important;
}

#kontakt .contact-item {
  padding: 8px 10px !important;
  border-radius: 10px !important;
  font-size: 16px !important;        /* было ~14 */
  line-height: 1.45 !important;
}

#kontakt .contact-item strong {
  font-size: 16.5px !important;      /* заголовок чуть крупнее */
  margin-bottom: 2px !important;
}

#kontakt .btn {
  margin-top: 8px !important;
  padding: 12px !important;
  font-size: 16px !important;
}

/* ===== KONTAKT — ПРОФЕССИОНАЛЬНЫЙ ВИД ===== */

#kontakt .contact-card {
  padding: 18px !important;
  background: #ffffff !important;
  border-radius: 18px !important;
  border: 1px solid #dbe7f5 !important;
  box-shadow: 0 10px 30px rgba(15,87,177,.08) !important;
}

#kontakt .contact-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

/* КАРТОЧКИ С ИКОНКАМИ */
#kontakt .contact-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  background: #f8fbff !important;
  border: 1px solid #dbe7f5 !important;
  font-size: 16px !important;
}

/* иконки */
#kontakt .contact-item:nth-child(1)::before {
  content: "📞";
}
#kontakt .contact-item:nth-child(2)::before {
  content: "✉️";
}
#kontakt .contact-item:nth-child(3)::before {
  content: "📍";
}

#kontakt .contact-item::before {
  font-size: 18px;
  width: 28px;
  display: inline-flex;
  justify-content: center;
}

/* заголовки убираем как отдельный блок */
#kontakt .contact-item strong {
  display: none !important;
}

/* кнопка */
#kontakt .btn {
  margin-top: 14px !important;
  width: 100% !important;
  font-size: 16px !important;
  padding: 14px !important;
  border-radius: 999px !important;
}

/* карта аккуратнее */
#kontakt .map-wrap {
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(15,87,177,.08) !important;
}

/* выравнивание иконок и текста */
#kontakt .contact-item {
  display: grid !important;
  grid-template-columns: 28px 1fr !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 12px 14px !important;
}

/* иконка строго по центру */
#kontakt .contact-item::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 16px;
}

/* текст ровный */
#kontakt .contact-item {
  font-size: 15.5px !important;
  line-height: 1.3 !important;
}

/* кнопка чуть ниже и симметрично */
#kontakt .btn {
  margin-top: 16px !important;
}

/* FIX kontakt: ровные строки без переноса */
#kontakt .contact-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 16px !important;
  min-height: 54px !important;
  white-space: nowrap !important;
}

#kontakt .contact-item::before {
  flex: 0 0 24px !important;
  width: 24px !important;
  height: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#kontakt .contact-item,
#kontakt .contact-item a {
  font-size: 15px !important;
  line-height: 1.3 !important;
}

/* мобильное выравнивание кнопки */
@media(max-width:768px){

  #kontakt .btn {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 12px 0 0 !important;
  }

  #kontakt .contact-card {
    padding: 14px !important;
  }

}

/* фикс галочки в верхней полоске */
.topbar .tick {
  display: none !important;
}

/* выравниваем topbar обратно */
.topbar .row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.topbar .row > div:first-child {
  text-align: left !important;
}

/* УБРАТЬ ВСЕ ИКОНКИ СЛЕВА В TOPBAR */
.topbar *::before {
  content: none !important;
  display: none !important;
}

/* если вдруг это span или svg */
.topbar svg,
.topbar .icon,
.topbar i {
  display: none !important;
}

/* жёстко скрываем чекбокс бургера, который вылез как галочка */
#navToggle,
.nav-toggle {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  pointer-events: none !important;
  appearance: none !important;
}

/* если галочка из класса tick попала в topbar */
.topbar .tick {
  display: none !important;
}

/* скрываем checkbox бургера (галочку) */
#navToggle {
  display: none !important;
}

/* прячем случайную галочку в верхней полоске */
.topbar .tick,
.topbar [class*="tick"],
.topbar [class*="check"] {
  display: none !important;
}

/* tick работает только внутри hero */
body:not(.home) .tick {
  position: static;
}

.hero .tick {
  display: flex !important;
}

/* FIX: убрать уехавшую галочку */
.tick {
  position: static !important;
  left: auto !important;
  top: auto !important;
}

/* галочка только в hero-карточках */
.hero-point .tick {
  position: absolute !important;
  left: 14px !important;
  top: 14px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #e6fbf6 !important;
  color: #047857 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* HEADER В ОДНУ СТРОКУ (МОБИЛКА) */
@media(max-width:768px){

  .nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
  }

  .brand {
    font-size: 22px !important;
    white-space: nowrap;
  }

  .menu-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .btn.btn-primary {
    padding: 8px 12px !important;
    font-size: 13px !important;
    white-space: nowrap;
  }

  .mobile-burger {
    width: 38px !important;
    height: 38px !important;
  }

}

/* HEADER В ОДНУ СТРОКУ — ПРАВИЛЬНЫЙ ФИКС */
@media(max-width:768px){

  .nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* убираем перенос */
  .menu-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important;
  }

  /* скрываем меню ссылки (оставляем только бургер) */
  .site-nav {
    display: none !important;
  }

  /* логотип */
  .brand {
    font-size: 22px !important;
    white-space: nowrap;
  }

  /* кнопка */
  .btn.btn-primary {
    padding: 8px 12px !important;
    font-size: 13px !important;
    white-space: nowrap;
  }

  /* бургер */
  .mobile-burger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
  }

}

/* ===== FINAL FIX HEADER (ПЕРЕБИВАЕТ ВСЁ) ===== */
@media(max-width:768px){

  /* строка header */
  .site-header .nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
  }

  /* логотип */
  .brand {
    font-size: 22px !important;
    white-space: nowrap !important;
  }

  /* правая часть */
  .menu-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important;
  }

  /* кнопка */
  .menu-wrap .btn-primary {
    padding: 8px 12px !important;
    font-size: 13px !important;
    min-height: auto !important;
    white-space: nowrap !important;
  }

  /* бургер */
  .mobile-burger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    border: 1px solid #dbe7f5 !important;
    background: #fff !important;
    font-size: 20px !important;
  }

  /* меню */
  .site-nav {
    position: absolute !important;
    top: 64px !important;
    right: 12px !important;
    width: 220px !important;
    background: #fff !important;
    border-radius: 16px !important;
    padding: 16px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,.12) !important;
    display: none !important;
    z-index: 999 !important;
  }

  /* открытие меню */
  #navToggle:checked ~ .menu-wrap .site-nav {
    display: block !important;
  }

  .site-nav ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  /* скрываем соцсети */
  .social-mini {
    display: none !important;
  }
}

@media(max-width:768px){

  .menu-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  /* бургер будет ПОСЛЕ */
  .mobile-burger {
    order: 2 !important;
  }

  /* кнопка будет ПЕРЕД бургером */
  .menu-wrap .btn-primary {
    order: 1 !important;
  }

}

/* вернуть чекбокс в форме */
.wpcf7-acceptance input[type="checkbox"] {
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
  appearance: auto !important;
  width: 16px !important;
  height: 16px !important;
}

/* ВОССТАНОВИТЬ ЧЕКБОКС CF7 ЖЁСТКО */
.wpcf7 input[type="checkbox"] {
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  left: 0 !important;
  width: 18px !important;
  height: 18px !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
}

/* убираем влияние глобального before */
.wpcf7 *::before {
  content: unset !important;
}

/* правильное выравнивание */
.wpcf7-acceptance label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.site-title {
    display: none !important;
}

.custom-logo {
    max-height: 60px;
    display: block;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    display: none !important;
}

.site-title {
    display: none !important;
}

.site-title {
    display: none !important;
}

header {
    position: relative !important;
}

.site-title {
    display: none !important;
}

header {
    position: relative !important;
    display: flex;
    align-items: center;
}

header {
    position: relative !important;
}

header {
    position: relative !important;
}

/* ищем контейнер темы */
header .container,
header .wrapper,
header .inner {
    position: relative;
}

/* логотип */
header .container::before,
header .wrapper::before,
header .inner::before {
    content: "";
    position: absolute;
    left: 0; /* ВАЖНО */
    top: 50%;
    transform: translateY(-50%);
    
    width: 420px;
    height: 84px;

    background-image: url("https://cleanverogroup.com/wp-content/uploads/2026/04/cropped-cleanvero_logo_wp-1.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;

    z-index: 9999;
}

@media (max-width: 768px) {
    header .container::before,
    header .wrapper::before,
    header .inner::before {
        width: 180px !important;
        height: 45px !important;
        left: 0px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background-size: contain !important;
        background-position: left center !important;
    }

    header {
        min-height: 72px !important;
    }
}

header .container::before,
header .wrapper::before,
header .inner::before {
    left: -25px !important;
}

.hero p {
    font-size: 0 !important;
}

.hero .container p:last-child {
    display: none !important;
}

.hero p {
    color: transparent !important;
}

.mini-note {
    display: none !important;
}

.order-grid {
    display: flex;
    align-items: stretch;
}

.order-grid > div {
    display: flex;
    flex-direction: column;
}

.contact-card,
.form-card {
    height: 100%;
}

/* ВЫРАВНИВАНИЕ БЛОКОВ */
.order-grid {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.order-grid > div {
    display: flex;
    flex-direction: column;
}

/* УБИРАЕМ ЛИШНИЕ ОТСТУПЫ */
.contact-card,
.form-card {
    padding: 20px !important;
    height: 100%;
}

/* СЖИМАЕМ ВНУТРЕННИЕ БЛОКИ СЛЕВА */
.contact-card .contact-item {
    margin-bottom: 10px;
    padding: 12px;
}

/* СЖИМАЕМ ФОРМУ */
.form-card label {
    margin-bottom: 5px;
    display: block;
}

.form-card input,
.form-card textarea {
    margin-bottom: 10px;
}

/* УМЕНЬШАЕМ ВЫСОТУ ТЕКСТОВОГО ПОЛЯ */
.form-card textarea {
    min-height: 120px !important;
}

/* КНОПКА ЧТОБЫ НЕ ПЛАВАЛА */
.btn-block {
    margin-top: auto;
}

/* МОБИЛКА */
@media (max-width: 768px) {
    .order-grid {
        flex-direction: column;
    }

    .contact-card,
    .form-card {
        padding: 15px !important;
    }
}

.order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.contact-card,
.form-card {
    display: flex;
    flex-direction: column;
}

/* ключевое — прижимаем кнопку вниз */
.contact-card .btn {
    margin-top: auto;
}

.order-grid {
    gap: 8px !important;
}

.contact-card .contact-item {
    margin-bottom: 6px !important;
    padding: 10px 14px !important;
}

.contact-card .contact-item strong {
    display: block;
    margin-bottom: 2px;
}

.contact-card .contact-item strong {
    display: block;
    margin-bottom: 2px;
}

.contact-card .contact-item br {
    display: none;
}

.form-card textarea {
    height: 140px !important;
    min-height: 140px !important;
}

.form-card {
    justify-content: flex-start;
}

.order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start !important; /* ВАЖНО */
}

#zamow .order-grid {
    align-items: flex-start !important;
}

#zamow .form-card {
    height: auto !important;
    min-height: 0 !important;
    align-self: flex-start !important;
}

#zamow .contact-card {
    height: auto !important;
    min-height: 0 !important;
}

.form-card form {
    display: flex;
    flex-direction: column;
}

.form-card textarea {
    height: 100px !important;
    min-height: 100px !important;
}

.form-card .wpcf7-form-control-wrap {
    margin-bottom: 8px !important;
}

.form-card p {
    margin-bottom: 8px !important;
}

/* FINAL: блок формы Zamów */
#zamow .order-grid {
    display: grid !important;
    grid-template-columns: 1fr 1.1fr !important;
    gap: 16px !important;
    align-items: stretch !important;
}

#zamow .contact-card,
#zamow .form-card {
    min-height: 620px !important;
    display: flex !important;
    flex-direction: column !important;
}

#zamow .contact-card .btn {
    margin-top: auto !important;
}

#zamow .form-card form {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

#zamow .form-card textarea {
    height: 150px !important;
    min-height: 150px !important;
    resize: none !important;
}

#zamow .form-card input,
#zamow .form-card textarea {
    margin-bottom: 14px !important;
}

#zamow .form-card .wpcf7-submit {
    margin-top: auto !important;
}

@media (max-width: 768px) {
    #zamow .order-grid {
        grid-template-columns: 1fr !important;
    }

    #zamow .contact-card,
    #zamow .form-card {
        min-height: auto !important;
    }
}

/* FIX: форма без растягивания */
#zamow .order-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
    align-items: start !important;
}

#zamow .contact-card,
#zamow .form-card {
    min-height: unset !important;
    height: auto !important;
}

#zamow .contact-card .btn,
#zamow .form-card .wpcf7-submit {
    margin-top: 18px !important;
}

#zamow .form-card textarea {
    height: 120px !important;
    min-height: 120px !important;
    resize: none !important;
}

#zamow .form-card p {
    margin-bottom: 10px !important;
}

@media (max-width: 768px) {
    #zamow .order-grid {
        grid-template-columns: 1fr !important;
    }
}

#zamow .order-grid {
    align-items: stretch !important;
}

#zamow .contact-card,
#zamow .form-card {
    min-height: 650px !important;
}

#zamow .form-card {
    display: flex !important;
    flex-direction: column !important;
}

#zamow .form-card .wpcf7-form {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

#zamow .form-card .wpcf7-submit {
    margin-top: auto !important;
}

#zamow .order-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    align-items: stretch !important;
}

#zamow .contact-card,
#zamow .form-card {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: unset !important;
}

#zamow .form-card .wpcf7-form {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

#zamow .form-card .wpcf7-submit {
    margin-top: auto !important;
}

#zamow .contact-card,
#zamow .form-card {
    padding: 18px !important;
}

/* уменьшаем расстояния слева */
#zamow .contact-card .contact-item {
    margin-bottom: 8px !important;
    padding: 10px 12px !important;
}

/* уменьшаем расстояния в форме */
#zamow .form-card p {
    margin-bottom: 8px !important;
}

#zamow .form-card label {
    margin-bottom: 4px !important;
}

/* уменьшаем поля */
#zamow .form-card input {
    padding: 10px 12px !important;
}

#zamow .form-card textarea {
    height: 90px !important;
    min-height: 90px !important;
    padding: 10px 12px !important;
    resize: none !important;
}

/* чекбокс ближе к кнопке */
#zamow .form-card .wpcf7-acceptance {
    margin-bottom: 8px !important;
}

/* кнопка ближе */
#zamow .form-card .wpcf7-submit {
    margin-top: 8px !important;
}

/* заголовок тоже чуть плотнее */
#zamow .contact-card h2 {
    margin-bottom: 10px !important;
}

#zamow .contact-card p {
    margin-bottom: 12px !important;
}

#zamow .contact-card,
#zamow .form-card {
    min-height: auto !important;
    height: auto !important;
    padding-bottom: 18px !important;
}

#zamow .contact-card .btn {
    margin-top: 18px !important;
}

#zamow .form-card .wpcf7-submit {
    margin-top: 14px !important;
}

#zamow .order-grid {
    align-items: start !important;
}

#zamow .form-card textarea {
    height: 170px !important;
    min-height: 170px !important;
}

/* FINAL MOBILE FIX — CF7 поля вниз */
@media (max-width: 768px) {
  #zamow .form-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  #zamow .form-row label {
    width: 100% !important;
    max-width: 100% !important;
  }

  #zamow .wpcf7 input,
  #zamow .wpcf7 textarea {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 768px) {
  #zamow .order-grid {
    grid-template-columns: 1fr !important;
  }
}

/* CF7 consent checkbox — mobile fix */
@media (max-width: 768px) {
  #zamow .wpcf7-acceptance label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: auto !important;
  }

  #zamow .wpcf7-acceptance input[type="checkbox"] {
    margin: 3px 0 0 0 !important;
    flex: 0 0 18px !important;
  }

  #zamow .wpcf7-acceptance .wpcf7-list-item-label {
    display: inline !important;
    width: auto !important;
    max-width: calc(100% - 28px) !important;
  }

  #zamow .wpcf7-acceptance .wpcf7-list-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 0 !important;
  }
}

.site-header .nav {
  position: relative;
}

.site-header .brand {
  position: relative !important;
  z-index: 999999 !important;
  display: block !important;
  width: 230px !important;
  height: 64px !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  text-decoration: none !important;

  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: contain !important;
}

.site-header .brand-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header .menu-wrap {
  position: relative !important;
  z-index: 1 !important;
}

.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
  background: #ffffff !important;
  box-shadow: 0 8px 25px rgba(10, 30, 60, 0.08);
}

.admin-bar .site-header {
  top: 32px !important;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px !important;
  }
}

@media (max-width: 768px) {
  .site-header .nav {
    position: relative !important;
  }

  .site-header .nav-toggle:not(:checked) ~ .menu-wrap {
    display: none !important;
  }

  .site-header .nav-toggle:checked ~ .menu-wrap {
    display: flex !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;

    width: 220px !important;
    max-width: calc(100vw - 24px) !important;

    background: #ffffff !important;
    opacity: 1 !important;
    border-radius: 14px !important;
    padding: 10px !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18) !important;
    z-index: 999999 !important;

    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
  }

  .site-header .menu-wrap .site-nav,
  .site-header .menu-wrap .site-nav ul {
    position: static !important;
    width: 100% !important;
    background: transparent !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  .site-header .menu-wrap .site-nav ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .site-header .menu-wrap .site-nav li {
    list-style: none !important;
  }

  .site-header .menu-wrap .site-nav a {
    display: block !important;
    width: 100% !important;
  }
	
	  .site-header .header-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    position: relative !important;
    z-index: 999999 !important;
  }
}

@media (max-width: 768px) {
  .site-header .menu-wrap .site-nav ul {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .site-header .menu-wrap .site-nav {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
}

	



