/* Lead form (replaces the WordPress Forminator form) */
.dt-lead-form { display: grid; gap: 14px; font-family: "Barlow", sans-serif; }
.dt-field label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 600; color: inherit; }
.dt-field label span { color: #cf2e2e; }
.dt-field input {
  width: 100%; box-sizing: border-box; padding: 11px 14px; font: 400 16px "Barlow", sans-serif;
  color: #292929; background: #fff; border: 1px solid #ccc; border-radius: 4px;
}
.dt-field input:focus { outline: 2px solid #0201C9; outline-offset: 1px; border-color: #0201C9; }
.dt-field input.dt-invalid { border-color: #cf2e2e; }
.dt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dt-submit {
  width: 100%; padding: 14px 20px; font: 600 17px "Barlow", sans-serif; color: #fff;
  background: #0201C9; border: 0; border-radius: 4px; cursor: pointer;
}
.dt-submit:hover { background: #01019a; }
.dt-submit[disabled] { opacity: .6; cursor: wait; }
.dt-status { margin: 0; font-size: 15px; min-height: 1em; }
.dt-status.ok { color: #0a7a3d; font-weight: 600; }
.dt-status.err { color: #cf2e2e; }

/* Services hub */
.dt-service-list { columns: 2 260px; padding-left: 1.2em; }
.dt-service-list li { margin: 0 0 8px; break-inside: avoid; }

/* Local city pages (citygen.pl) */
.dt-city { font-family: "Barlow", sans-serif; color: #292929; font-size: 17px; line-height: 1.65; }
.dt-city h2 { font-weight: 600; font-size: 28px; line-height: 1.2; margin: 44px 0 14px; color: #000; }
.dt-city h3 { font-weight: 600; font-size: 19px; margin: 22px 0 6px; color: #000; }
.dt-city a { color: #0201C9; }
.dt-lede { font-size: 19px; }
.dt-photo { margin: 22px 0; }
.dt-photo img { display: block; width: 100%; max-width: 720px; height: auto; border-radius: 8px; }
.dt-cta {
  display: inline-block; padding: 12px 22px; margin-right: 6px; font-weight: 600; color: #fff !important;
  background: #0201C9; border-radius: 4px; text-decoration: none;
}
.dt-cta:hover { background: #01019a; }
.dt-checks { list-style: none; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.dt-checks li { position: relative; padding: 12px 14px 12px 42px; background: #F8F8F8; border-radius: 6px; }
.dt-checks li::before {
  content: "\2713"; position: absolute; left: 14px; top: 11px; width: 18px; height: 18px; font-size: 12px; line-height: 18px;
  text-align: center; color: #fff; background: #0201C9; border-radius: 3px;
}
.dt-steps { padding-left: 1.4em; }
.dt-steps li { margin-bottom: 10px; padding-left: 4px; }
.dt-steps li::marker { color: #0201C9; font-weight: 600; }
.dt-consult { margin: 44px 0; padding: 28px; background: #F8F8F8; border-left: 4px solid #0201C9; border-radius: 6px; scroll-margin-top: 20px; }
.dt-consult h2 { margin-top: 0; }
.dt-consult .dt-lead-form { max-width: 560px; }
.dt-areas, .dt-related { columns: 2 240px; padding-left: 1.2em; }
.dt-areas li, .dt-related li { margin-bottom: 6px; break-inside: avoid; }
.dt-faq { border-bottom: 1px solid #e3e3e3; padding-bottom: 6px; }
.dt-faq p { margin-top: 0; }
.dt-close { margin-top: 32px; padding: 18px 20px; background: #0201C9; color: #fff; border-radius: 6px; }
.dt-close a { color: #fff; text-decoration: underline; }
@media (max-width: 600px) { .dt-city h2 { font-size: 23px; } .dt-consult { padding: 20px 16px; } }

/* Name / address / phone bar above the footer */
.dt-nap { background: #0201C9; color: #fff; font-family: "Barlow", sans-serif; font-size: 16px; line-height: 1.6; }
.dt-nap-inner { max-width: 1140px; margin: 0 auto; padding: 26px 16px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.dt-nap a { color: #fff; }
.dt-consult > p { margin-bottom: 18px; }

/* Recent projects gallery (services page) */
.dt-gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 10px 0 34px; }
.dt-gallery figure { margin: 0; }
.dt-gallery img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: right bottom; border-radius: 6px; }
.dt-gallery figcaption { font-size: 14px; color: #555; margin-top: 6px; }

/* Combined city pages (hubgen.pl) */
.dt-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 26px 0 10px; }
.dt-card { display: flex; flex-direction: column; gap: 4px; padding-bottom: 14px; color: #292929 !important; background: #F8F8F8; border-radius: 8px; overflow: hidden; text-decoration: none !important; }
.dt-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: right bottom; margin-bottom: 8px; }
.dt-card strong { padding: 0 14px; font-size: 18px; color: #0201C9; }
.dt-card span { padding: 0 14px; font-size: 15px; line-height: 1.4; }
.dt-card:hover strong { text-decoration: underline; }
.dt-city h2[id] { scroll-margin-top: 20px; }
.dt-table-wrap { overflow-x: auto; }
.dt-compare { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 16px; }
.dt-compare th, .dt-compare td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #e3e3e3; vertical-align: top; }
.dt-compare thead th { color: #fff; background: #0201C9; }
.dt-compare tbody th { font-weight: 600; background: #F8F8F8; }
.dt-card span { text-decoration: none; }

/* Keep images in proportion now that pages set width and height */
img { max-width: 100%; height: auto; }
