/* A spacious shared form with native controls and clear focus states. */
.fp-estimate-grid, .pg-contact-layout { display: grid; grid-template-columns: minmax(240px, .65fr) minmax(0, 1.6fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.fp-form.ef-form, .fp-edition-two .fp-form.ef-form, .pg-form-panel.ef-panel { width: 100%; min-width: 0; padding: clamp(28px, 3.2vw, 48px); background: #fff; border: 1px solid #d7ddda; border-radius: 5px; box-shadow: none; color: #18323d; }
.ef-form, .pg-form.ef-form { display: block; }
.ef-form [hidden], .ef-panel [hidden] { display: none !important; }
.ef-heading { margin: 0 0 34px; }
.ef-form .ef-heading h3, .ef-panel .ef-heading h2 { margin: 0 0 12px !important; color: #18323d; font-size: clamp(29px, 2.7vw, 40px) !important; font-weight: 750; letter-spacing: -.045em; line-height: 1.15; }
.ef-form .ef-heading p, .ef-panel .ef-heading p { margin: 0; color: #5c6b70; font-size: 15px !important; line-height: 1.6; }
.ef-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.ef-layout > * { min-width: 0; }
.ef-wide { grid-column: 1 / -1; }
.ef-form.cv-lead-form .ef-field { display: flex; flex-direction: column; gap: 10px; }
.ef-form.cv-lead-form .ef-field > label, .ef-form .ef-contact-preference legend { display: block; margin: 0; color: #18323d; font-size: 16px; font-weight: 650; line-height: 1.5; }
.ef-optional { color: #5c6b70; font-size: 14px; font-weight: 400; white-space: nowrap; }
.ef-form.cv-lead-form .ef-field input, .ef-form.cv-lead-form .ef-field select, .ef-form.cv-lead-form .ef-field textarea { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; min-height: 60px; margin: 0; padding: 16px; border: 1px solid #bdc9c7; border-radius: 5px; background: #fff; color: #18323d; font-family: inherit; font-size: 17px; font-weight: 400; line-height: 1.5; }
.ef-form.cv-lead-form .ef-field select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23475d64' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.ef-form.cv-lead-form .ef-field textarea { resize: vertical; min-height: 150px; }
.ef-form.cv-lead-form .ef-field input::placeholder, .ef-form.cv-lead-form .ef-field textarea::placeholder { color: #6a7678; opacity: 1; }
.ef-form.cv-lead-form .ef-field [aria-invalid="true"] { border-color: #a63025; }
.ef-form.cv-lead-form .ef-field input:focus, .ef-form.cv-lead-form .ef-field select:focus, .ef-form.cv-lead-form .ef-field textarea:focus { outline: 3px solid #c9dafa; outline-offset: 2px; border-color: #255bd5; background-color: #fff; }
.ef-form .ef-contact-preference { padding: 0; margin: 0; border: 0; min-width: 0; }
.ef-form .ef-contact-preference legend { padding: 0; margin-bottom: 12px; }
.ef-contact-options { display: flex; flex-wrap: wrap; gap: 12px; }
.ef-form .ef-contact-options .ef-choice { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 10px; min-height: 54px; min-width: 104px; padding: 12px 18px; border: 1px solid #cbd3d0; border-radius: 5px; background: #fff; color: #18323d; font-size: 16px; font-weight: 500; line-height: 1.4; cursor: pointer; }
.ef-form .ef-contact-options .ef-choice input { appearance: auto; width: 20px; height: 20px; min-height: 20px; flex: 0 0 20px; margin: 0; padding: 0; accent-color: #255bd5; cursor: pointer; }
.ef-choice:focus-within { outline: 3px solid #c9dafa; outline-offset: 2px; }
.ef-form .ef-choice:has(input:checked) { background: #f0f5ff; border-color: #255bd5; }
.ef-choice input:checked + span { font-weight: 650; }
.ef-form .ef-error { margin: 0; font-size: 13px; font-weight: 500; line-height: 1.5; color: #9d3023; }
.ef-form .ef-hint { margin: 0; font-size: 13px; line-height: 1.5; color: #5c6b70; }
.ef-form button[type="submit"] { display: block; width: 100%; min-height: 58px; margin-top: 30px; padding: 16px 20px; border: 0; border-radius: 5px; background: #255bd5; color: #fff; font-family: inherit; font-size: 16px; font-weight: 650; line-height: 1.5; cursor: pointer; }
.ef-form button[type="submit"]:focus-visible { outline: 3px solid #153b7f; outline-offset: 4px; }
.ef-form button[type="submit"]:disabled { opacity: .7; cursor: wait; }
.ef-form .ef-next { margin: 16px 0 0; font-size: 14px; line-height: 1.6; color: #5c6b70; }
.ef-form .ef-privacy { margin: 12px 0 0; font-size: 12px; line-height: 1.7; color: #5c6b70; }
.ef-privacy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ef-form .form-status:not([hidden]) { margin: 18px 0 0; padding: 16px; border: 1px solid #bdcbd2; border-radius: 5px; font-size: 14px; line-height: 1.6; background: #f3f6f8; color: #18323d; }
.ef-form .form-status[data-state="error"] { border-color: #d1a39c; background: #fff5f2; color: #842c22; }
@media (hover: hover) { .ef-form .ef-choice:hover { border-color: #255bd5; } .ef-form button[type="submit"]:hover { background: #194bb5; } }
@media (max-width: 1050px) {
  .fp-estimate-grid, .pg-contact-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fp-form.ef-form, .pg-form-panel.ef-panel { max-width: 860px; justify-self: center; }
  .pg-contact-layout .pg-form-panel { order: -1; }
  .fp-estimate-grid > div:first-child { max-width: 620px; }
}
@media (max-width: 700px) {
  .fp-form.ef-form, .fp-edition-two .fp-form.ef-form, .pg-form-panel.ef-panel { padding: 28px 20px; }
  .ef-heading { margin-bottom: 28px; }
  .ef-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ef-form.cv-lead-form .ef-field input, .ef-form.cv-lead-form .ef-field select, .ef-form.cv-lead-form .ef-field textarea { min-height: 56px; padding: 14px; font-size: 16px; }
  .ef-form.cv-lead-form .ef-field select { padding-right: 40px; }
  .ef-form.cv-lead-form .ef-field textarea { min-height: 148px; }
  .ef-contact-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ef-form .ef-contact-options .ef-choice { min-width: 0; padding: 12px 8px; gap: 7px; font-size: 15px; }
  .ef-form .ef-contact-options .ef-choice input { width: 18px; height: 18px; min-height: 18px; flex-basis: 18px; }
}
@media (max-width: 360px) {
  .fp-form.ef-form, .fp-edition-two .fp-form.ef-form, .pg-form-panel.ef-panel { padding-inline: 16px; }
  .ef-form .ef-contact-options .ef-choice { padding-inline: 5px; gap: 5px; font-size: 14px; }
}
