/*
  TurnKey contact form styles, shared by the Astro ContactForm component
  (/go/phoenix-web-design/) and the /contact/ snapshot. Same tokens as the
  rest of the site: Outfit, charcoal #263238, orange #ffa726. The Lettery
  theme styles every input and textarea as a transparent underline field,
  so the fields below set their own box explicitly.
*/
.tk-cf {
  --tk-cf-slate: #263238;
  --tk-cf-orange: #ffa726;
  --tk-cf-muted: #687176;
  --tk-cf-line: rgba(38, 50, 56, 0.18);
  position: relative;
  box-sizing: border-box;
  margin: 0;
  padding: clamp(22px, 3vw, 32px);
  background: #fff;
  border: 1px solid rgba(38, 50, 56, 0.12);
  border-top: 4px solid var(--tk-cf-orange);
  box-shadow: 0 22px 60px -36px rgba(38, 50, 56, 0.45);
  color: var(--tk-cf-slate);
  font-family: Outfit, Arial, sans-serif;
  text-align: left;
}

.tk-cf *,
.tk-cf *::before,
.tk-cf *::after {
  box-sizing: border-box;
}

.tk-cf__intro {
  margin: 0 0 14px;
  color: var(--tk-cf-slate);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
}

.tk-cf__call {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: baseline;
  margin: 0 0 22px;
  padding: 12px 16px;
  background: #f4f5f5;
  border-left: 4px solid var(--tk-cf-orange);
  font-size: 15px;
  line-height: 1.5;
}

.tk-cf__call strong {
  font-weight: 600;
}

.tk-cf__call a {
  color: var(--tk-cf-slate);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--tk-cf-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.tk-cf__call a:hover,
.tk-cf__call a:focus-visible {
  color: #e68a00;
}

.tk-cf__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tk-cf__field {
  display: block;
  margin: 0;
  min-width: 0;
}

.tk-cf__field--wide {
  grid-column: 1 / -1;
}

.tk-cf__field span {
  display: block;
  margin: 0 0 6px;
  color: var(--tk-cf-slate);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.tk-cf__field small {
  color: var(--tk-cf-muted);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.tk-cf .tk-cf__input,
.tk-cf .tk-cf__textarea {
  display: block;
  width: 100%;
  height: auto;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--tk-cf-line);
  border-radius: 0;
  color: var(--tk-cf-slate);
  font-family: Outfit, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.tk-cf .tk-cf__textarea {
  min-height: 132px;
  resize: vertical;
}

.tk-cf .tk-cf__input:focus,
.tk-cf .tk-cf__textarea:focus {
  outline: 0;
  border-color: var(--tk-cf-orange);
  box-shadow: 0 0 0 3px rgba(255, 167, 38, 0.28);
}

.tk-cf__honey {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.tk-cf__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-top: 20px;
}

.tk-cf .tk-cf__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin: 0;
  padding: 0 32px;
  background: var(--tk-cf-orange);
  border: 0;
  border-radius: 0;
  color: var(--tk-cf-slate);
  cursor: pointer;
  font-family: Outfit, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.tk-cf .tk-cf__button:hover,
.tk-cf .tk-cf__button:focus-visible {
  background: var(--tk-cf-slate);
  color: #fff;
  transform: translateY(-2px);
}

.tk-cf .tk-cf__button[disabled] {
  cursor: progress;
  opacity: 0.7;
  transform: none;
}

.tk-cf__note {
  margin: 0;
  color: var(--tk-cf-muted);
  font-size: 13px;
  line-height: 1.5;
}

.tk-cf__status {
  margin: 14px 0 0;
  min-height: 1.5em;
  color: var(--tk-cf-slate);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.tk-cf__status:empty {
  margin: 0;
  min-height: 0;
}

.tk-cf__status[data-state="success"] {
  color: #1b7f3b;
}

.tk-cf__status[data-state="error"] {
  color: #b3261e;
}

.tk-cf__fallback {
  margin: 8px 0 0;
  color: var(--tk-cf-muted);
  font-size: 14px;
  line-height: 1.5;
}

.tk-cf__fallback a {
  color: var(--tk-cf-slate);
  text-decoration: underline;
}

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

  .tk-cf .tk-cf__button {
    width: 100%;
  }
}

/* /contact/ snapshot only: on phones the Lettery theme flattens the intro
   section into one flex column (heading, scheduler, copy). Keep the form
   after the copy there instead of jumping ahead of the heading. */
@media screen and (max-width: 767px) {
  .elementor-element-6be581b .tk-contact-form-widget {
    order: 4;
  }
}

.tk-contact-form-widget .tk-cf {
  margin-top: 30px;
}
