/* Smart contact form (/contact-us/ only) - matches site branding:
   Heebo type, #1F2933 dark navy, #FD5C5C red accent. */

.scf {
  font-family: 'Heebo', sans-serif;
  color: #1f2933;
  max-width: 760px;
}

.scf__block {
  padding: 32px 0;
  border-bottom: 1px solid #e5e5e5;
}

.scf__block:first-child {
  padding-top: 0;
}

.scf__block-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.scf__block-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 20px;
  color: #1f2933;
}

.scf__block-desc {
  color: #5b6472;
  font-size: 15px;
  line-height: 1.5;
  margin: -8px 0 20px;
}

.scf__hint {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9296a7;
}

.scf__grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
}

@media (max-width: 640px) {
  .scf__grid2 {
    grid-template-columns: 1fr;
  }
}

.scf__field label,
.scf__question-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9296a7;
  margin-bottom: 8px;
}

.scf__optional {
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}

.scf__field input[type="text"],
.scf__field input[type="email"],
.scf__field input[type="tel"],
.scf__field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #1f2933;
  padding: 8px 0 10px;
  font-family: 'Heebo', sans-serif;
  font-size: 17px;
  color: #1f2933;
  background: transparent;
  box-sizing: border-box;
}

.scf__field textarea {
  border: 1px solid #dbdce2;
  border-radius: 4px;
  padding: 14px;
  resize: vertical;
  min-height: 110px;
}

.scf__field input::placeholder,
.scf__field textarea::placeholder {
  color: #9296a7;
}

.scf__field input:focus,
.scf__field textarea:focus {
  outline: none;
  border-color: #fd5c5c;
}

.scf__services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

@media (max-width: 640px) {
  .scf__services {
    grid-template-columns: 1fr;
  }
}

.scf__group-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9296a7;
  border-bottom: 1px solid #1f2933;
  padding-bottom: 8px;
  margin: 20px 0 0;
}

.scf__group-title:first-child {
  margin-top: 0;
}

.scf__service {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 12px;
  border-bottom: 1px solid #e5e5e5;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}

.scf__service-num {
  font-size: 13px;
  color: #9296a7;
  min-width: 20px;
}

.scf__service.is-selected .scf__service-num {
  color: rgba(255, 255, 255, 0.6);
}

.scf__service-label {
  flex: 1;
  font-size: 17px;
  font-weight: 500;
}

.scf__checkbox {
  width: 22px;
  height: 22px;
  border: 1px solid #1f2933;
  border-radius: 3px;
  flex-shrink: 0;
  position: relative;
}

.scf__service input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.scf__service.is-selected {
  background: #1f2933;
  color: #fff;
  margin: 0 -12px;
  padding-left: 24px;
  padding-right: 24px;
}

.scf__service.is-selected .scf__checkbox {
  background: #fd5c5c;
  border-color: #fd5c5c;
}

.scf__service.is-selected .scf__checkbox::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.scf__conditional {
  margin: 8px 0 32px;
  padding: 28px 28px 32px;
  background: #f5f5f5;
  border-left: 4px solid #fd5c5c;
  border-radius: 4px;
}

.scf__conditional[hidden] {
  display: none;
}

.scf__conditional-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fd5c5c;
  margin-bottom: 12px;
}

.scf__conditional-count {
  color: #9296a7;
  font-weight: 400;
}

.scf__question {
  margin-top: 20px;
}

.scf__question:first-of-type {
  margin-top: 0;
}

.scf__segmented {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid #1f2933;
  border-radius: 4px;
  overflow: hidden;
}

@media (max-width: 640px) {
  .scf__segmented {
    grid-template-columns: repeat(2, 1fr);
  }
}

.scf__segmented button {
  font-family: 'Heebo', sans-serif;
  font-size: 14px;
  color: #1f2933;
  background: #fff;
  border: none;
  border-right: 1px solid #1f2933;
  padding: 14px 8px;
  cursor: pointer;
}

.scf__segmented button:last-child {
  border-right: none;
}

.scf__segmented button.is-active {
  background: #1f2933;
  color: #fff;
}

.scf__attach {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px dashed #9296a7;
  border-radius: 4px;
  padding: 16px;
  margin-top: 24px;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #5b6472;
}

.scf__attach input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.scf__attach-filename {
  color: #1f2933;
  font-weight: 700;
}

.scf__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  font-size: 14px;
  color: #5b6472;
  cursor: pointer;
}

.scf__consent input {
  margin-top: 3px;
}

.scf__consent a {
  color: #1f2933;
  text-decoration: underline;
}

.scf__submit {
  margin-top: 32px;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  background: #1f2933;
  padding: 16px 48px;
  border-radius: 100px;
  transition: background-color .15s ease;
}

.scf__submit:hover {
  background: #fd5c5c;
}

.scf__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.scf__thankyou {
  padding: 56px 0;
  text-align: center;
}

.scf__thankyou-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #fd5c5c;
  color: #fff;
  font-size: 26px;
  line-height: 56px;
}

.scf__thankyou-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 26px;
  margin: 0 0 12px;
  color: #1f2933;
}

.scf__thankyou-text {
  font-size: 16px;
  line-height: 1.6;
  color: #5b6472;
  max-width: 440px;
  margin: 0 auto;
}

.scf__error {
  color: #fd5c5c;
  font-size: 13px;
  margin-top: 8px;
  display: none;
}

.scf__error.is-visible {
  display: block;
}
