/* Stonebridge Building Solutions — Elementor page template styles */
.sbpt-section { box-sizing: border-box; }
.sbpt-inner { margin-left: auto; margin-right: auto; }
.sbpt-eyebrow .elementor-heading-title {
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.sbpt-h1 .elementor-heading-title {
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(40px, 4.4vw, 62px);
  line-height: 1.04;
  font-weight: 500;
}
.sbpt-h2 .elementor-heading-title {
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.1;
  font-weight: 500;
}
.sbpt-card__title .elementor-heading-title {
  font-family: Inter, Arial, sans-serif;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
}
.sbpt-copy, .sbpt-lead, .sbpt-card__copy {
  font-family: Inter, Arial, sans-serif;
}
.sbpt-copy--center { max-width: 900px; margin-left: auto; margin-right: auto; text-align: center; }
.sbpt-copy p:last-child, .sbpt-lead p:last-child, .sbpt-card__copy p:last-child { margin-bottom: 0; }
.sbpt-copy ul, .sbpt-copy ol, .sbpt-card__copy ul, .sbpt-card__copy ol { margin: 0.6em 0 0; padding-left: 1.25em; }
.sbpt-copy li, .sbpt-card__copy li { margin-bottom: 0.45em; }
.sbpt-copy blockquote, .sbpt-card__copy blockquote {
  margin: 1.2em 0 0;
  padding: 18px 20px;
  border-left: 4px solid #BB862B;
  background: rgba(187,134,43,.08);
}
.sbpt-image img {
  display: block;
  width: 100%;
  min-height: 320px;
  max-height: 560px;
  object-fit: cover;
  border-radius: 12px;
}
.sbpt-card { overflow: hidden; min-width: 0; }
.sbpt-card .sbpt-image img { min-height: 180px; height: 200px; border-radius: 0; }
.sbpt-card-grid { width: 100%; }
.sbpt-button-row { align-items: center; }
.sbpt-button .elementor-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 13px 21px;
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.sbpt-button--primary .elementor-button {
  background: #0D1B2A;
  color: #FFFFFF;
  border: 1px solid #0D1B2A;
}
.sbpt-button--primary .elementor-button:hover,
.sbpt-button--primary .elementor-button:focus {
  background: #142536;
  border-color: #142536;
  color: #FFFFFF;
}
.sbpt-button--secondary .elementor-button {
  background: transparent;
  color: #0D1B2A;
  border: 1px solid #0D1B2A;
}
.sbpt-button--secondary .elementor-button:hover,
.sbpt-button--secondary .elementor-button:focus {
  background: #E8EDF1;
  border-color: #BB862B;
  color: #0D1B2A;
}
.sbpt-section--dark .sbpt-button--primary .elementor-button,
.sbpt-button--light .elementor-button {
  background: #FFFFFF;
  color: #0D1B2A;
  border-color: #FFFFFF;
}
.sbpt-section--dark .sbpt-button--primary .elementor-button:hover,
.sbpt-button--light .elementor-button:hover {
  background: #E8EDF1;
  border-color: #E8EDF1;
  color: #0D1B2A;
}
.sbpt-section--dark .sbpt-button--secondary .elementor-button {
  color: #FFFFFF;
  border-color: #D6DCE1;
}
.sbpt-section--dark .sbpt-button--secondary .elementor-button:hover {
  color: #FFFFFF;
  border-color: #BB862B;
  background: rgba(187,134,43,.12);
}
.sbpt-form-placeholder {
  padding: 28px;
  border: 1px dashed #BB862B;
  border-radius: 8px;
  background: #E8EDF1;
}
@media (max-width: 1024px) {
  .sbpt-image img { min-height: 300px; max-height: 460px; }
}
@media (max-width: 767px) {
  .sbpt-button-row { width: 100%; align-items: stretch; }
  .sbpt-button-row > .elementor-element { width: 100%; }
  .sbpt-button .elementor-button { width: 100%; }
  .sbpt-image img { min-height: 230px; max-height: 360px; }
  .sbpt-card .sbpt-image img { height: 170px; min-height: 170px; }
}

/* Built-in Stonebridge consultation form */
.sbpt-contact-form { font-family: Inter, Arial, sans-serif; }
.sbpt-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 20px; }
.sbpt-field { margin: 0; }
.sbpt-field--wide { grid-column: 1 / -1; }
.sbpt-field label { display: block; margin: 0 0 7px; color: #0D1B2A; font-size: 14px; font-weight: 600; }
.sbpt-field input, .sbpt-field select, .sbpt-field textarea {
  width: 100%; box-sizing: border-box; border: 1px solid #B8C1CA; border-radius: 6px;
  background: #FFFFFF; color: #111827; padding: 12px 13px; font: inherit; min-height: 46px;
}
.sbpt-field textarea { min-height: 150px; resize: vertical; }
.sbpt-field input:focus, .sbpt-field select:focus, .sbpt-field textarea:focus {
  outline: 3px solid rgba(187,134,43,.22); border-color: #BB862B;
}
.sbpt-consent { margin: 22px 0 0; color: #52606D; font-size: 14px; line-height: 1.55; }
.sbpt-consent input { margin-right: 8px; }
.sbpt-form-submit {
  margin-top: 18px; min-height: 46px; border: 1px solid #0D1B2A; border-radius: 4px;
  background: #0D1B2A; color: #FFFFFF; padding: 13px 22px; font-family: Inter,Arial,sans-serif;
  font-size: 15px; font-weight: 600; cursor: pointer;
}
.sbpt-form-submit:hover, .sbpt-form-submit:focus { background: #142536; border-color: #142536; }
.sbpt-form-note { color: #52606D; font-size: 13px; line-height: 1.5; }
.sbpt-form-message { margin: 0 0 20px; padding: 14px 16px; border-radius: 6px; font-family: Inter,Arial,sans-serif; }
.sbpt-form-message--success { background: #E7F5EC; border: 1px solid #75A887; color: #173D24; }
.sbpt-form-message--error { background: #FFF0F0; border: 1px solid #CC7777; color: #6A2020; }
.sbpt-honeypot { position: absolute !important; left: -99999px !important; height: 1px; width: 1px; overflow: hidden; }
@media (max-width: 767px) {
  .sbpt-form-grid { grid-template-columns: 1fr; }
  .sbpt-field--wide { grid-column: auto; }
  .sbpt-form-submit { width: 100%; }
}
