/*
Theme Name: Blachex Industriale
Theme URI: https://blachex.pl
Author: Sferahost.pl <support@sferahost.pl>
Description: Motyw WordPress przygotowany na podstawie dostarczonych widoków HTML (strona główna, usługi, produkty, kontakt).
Version: 1.0.0
Text Domain: blachex-industriale
*/

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; }
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.industrial-gradient { background: linear-gradient(135deg, #303B45 0%, #47525C 100%); }
.industrial-glass {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.blueprint-pattern {
  background-image: radial-gradient(circle, #bcc8d4 1px, transparent 1px);
  background-size: 32px 32px;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 767px) {
  header {
    min-height: auto;
  }

  .industrial-gradient {
    background: linear-gradient(135deg, #26313a 0%, #47525c 100%);
  }

  .material-symbols-outlined {
    line-height: 1;
  }
}

img {
  max-width: 100%;
  height: auto;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

/* CF7 - formularz szybkiego zapytania */
.wpcf7 .blx-quote-form,
.wpcf7 .blx-quote-form * {
  box-sizing: border-box;
}

.wpcf7 .blx-quote-form {
  width: 100%;
}

.wpcf7 .blx-quote-form p {
  margin: 0 !important;
}

.wpcf7 .blx-form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px 14px !important;
  margin-bottom: 12px !important;
}

.wpcf7 .blx-field {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.wpcf7 .blx-field label {
  display: block !important;
  width: 100% !important;
  margin: 0 0 5px !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: #26313a !important;
}

.wpcf7 .blx-field .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
}

.wpcf7 .blx-field input:not([type="submit"]),
.wpcf7 .blx-field textarea {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  border: 1px solid #d6dde5 !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  padding: 9px 11px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  color: #111827 !important;
  box-shadow: none !important;
}

.wpcf7 .blx-field input:not([type="submit"]) {
  min-height: 40px !important;
}

.wpcf7 .blx-field textarea {
  min-height: 86px !important;
  max-height: 120px !important;
  resize: vertical !important;
}

.wpcf7 .blx-field input:focus,
.wpcf7 .blx-field textarea:focus {
  outline: none !important;
  border-color: #47525c !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(71, 82, 92, .12) !important;
}

.wpcf7 .blx-field input::placeholder,
.wpcf7 .blx-field textarea::placeholder {
  color: #6b7280 !important;
  opacity: 1 !important;
}

.wpcf7 .blx-field-full {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.wpcf7 .blx-file-field {
  margin-bottom: 10px !important;
}

.wpcf7 .blx-file-field input[type="file"] {
  display: block !important;
  width: 100% !important;
  padding: 8px 10px !important;
  border: 1px dashed #d6dde5 !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  font-size: 13px !important;
  cursor: pointer !important;
}

.wpcf7 .blx-file-field small {
  display: block !important;
  margin-top: 5px !important;
  margin-bottom: 8px !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  color: #64748b !important;
}

.wpcf7 .blx-submit {
  margin: 0 !important;
}

.wpcf7 .blx-submit input[type="submit"] {
  display: block !important;
  width: 100% !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #303B45 0%, #47525C 100%) !important;
  color: #fff !important;
  padding: 12px 18px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.wpcf7 .blx-submit input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .18) !important;
}

.wpcf7 .wpcf7-not-valid-tip {
  margin-top: 4px !important;
  font-size: 11px !important;
}

.wpcf7 .wpcf7-response-output {
  margin: 12px 0 0 !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
}
.blx-white-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 220px;
  background: #ffffff !important;
  color: #303B45 !important;
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 12px 24px rgba(15, 23, 42, .18);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.blx-white-cta:hover {
  background: #f1f5f9 !important;
  color: #303B45 !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, .24);
}

a.blx-doc-cta,
a.blx-doc-cta:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 220px !important;
  margin-top: 6px !important;
  padding: 14px 24px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #303b45 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: 0 14px 28px rgba(15, 23, 42, .22) !important;
}

a.blx-doc-cta:hover,
a.blx-doc-cta:focus {
  background: #f1f5f9 !important;
  color: #303b45 !important;
  transform: translateY(-1px);
}a.blx-dark-cta,
a.blx-dark-cta:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 220px !important;
  padding: 14px 24px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #303b45 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  box-shadow: 0 14px 28px rgba(15, 23, 42, .18) !important;
  transition: all .2s ease !important;
}

a.blx-dark-cta:hover {
  background: #f1f5f9 !important;
  color: #303b45 !important;
  transform: translateY(-1px);
}

a.blx-dark-cta,
a.blx-dark-cta:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 220px !important;
  padding: 14px 24px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #303b45 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  box-shadow: 0 14px 28px rgba(15, 23, 42, .18) !important;
  transition: all .2s ease !important;
}

a.blx-dark-cta:hover {
  background: #f1f5f9 !important;
  color: #303b45 !important;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .wpcf7 .blx-form-grid {
    grid-template-columns: 1fr !important;
  }
}