/* Ivory consultation dialog with live native fields and existing form handlers. */
.editorial-site .consultation-modal { padding: 24px; }
.editorial-site .consultation-modal__backdrop { background: rgb(246 241 231 / 96%); backdrop-filter: blur(6px); overflow: hidden; }
.consultation-modal__backdrop::before,
.consultation-modal__backdrop::after { content: ""; position: absolute; width: 115vw; height: 75vh; left: -40vw; bottom: -32vh; border: 1px solid rgb(177 122 59 / 25%); border-radius: 50%; background: rgb(209 184 149 / 12%); transform: rotate(19deg); }
.consultation-modal__backdrop::after { left: 10vw; bottom: -44vh; transform: rotate(-18deg); }
.editorial-site .consultation-modal__panel { width: min(100%, 900px); max-height: calc(100dvh - 48px); padding: 24px 32px; border: 1px solid #fff; border-radius: 22px !important; background: #fdfaf5 !important; box-shadow: 0 24px 65px rgb(93 70 36 / 22%); scrollbar-width: thin; scrollbar-color: #c3b29c transparent; }
.editorial-site .consultation-modal__close { width: 44px; height: 44px; margin: -8px -10px 0 12px; border: 1px solid #e3dace; background: #faf7f1; color: #161c20; font-family: Arial, sans-serif; font-size: 32px; font-weight: 300; }
.editorial-site .consultation-modal__close:hover { color: #944527; background: #f0e5d9; }
.editorial-site .consultation-modal__heading { max-width: none; margin: 0 0 20px; }
.editorial-site .consultation-modal .eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: #9c491f; font-size: 11px; font-weight: 600; letter-spacing: .2em; }
.editorial-site .consultation-modal .eyebrow::after { content: ""; width: 54px; height: 1px; background: #aa6139; }
.editorial-site .consultation-modal__heading h2 { max-width: 950px; margin: 0 0 20px; color: #0d1a24; font-family: Georgia, "Times New Roman", serif; font-size: 36px; font-weight: 400; line-height: 1.06; letter-spacing: -.04em; text-wrap: initial; }
.editorial-site .consultation-modal__heading > p:last-child { max-width: 850px; margin: 0; color: #5e6574; font-size: 15px; line-height: 1.5; }
.editorial-site .consultation-modal .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.editorial-site .consultation-modal .form-grid label { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; }
.editorial-site .consultation-modal .form-grid label > span { color: #95471f !important; font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: .17em; text-transform: uppercase; }
.editorial-site .consultation-modal .form-full { grid-column: 1 / -1; }
.editorial-site .consultation-modal :is(input:not([type="hidden"]), select, textarea) { width: 100%; min-width: 0; min-height: 44px; margin: 0; padding: 10px 14px; border: 1px solid #c7bbaf !important; border-radius: 5px !important; background: #fdfbf7 !important; color: #2b333d !important; font-family: Arial, "Helvetica Neue", sans-serif; font-size: 14px; font-weight: 400; line-height: 1.4; box-shadow: none; }
.editorial-site .consultation-modal :is(input, textarea)::placeholder { color: #727787; opacity: 1; font-weight: 400; }
.editorial-site .consultation-modal select:invalid { color: #727787 !important; }
.editorial-site .consultation-modal select { padding-right: 44px; }
.editorial-site .consultation-modal textarea { min-height: 72px; height: 72px; resize: vertical; }
.editorial-site .consultation-modal :is(input, select, textarea):focus-visible { outline: 2px solid rgb(179 93 56 / 45%); outline-offset: 2px; border-color: #b35d38 !important; }
.editorial-site .consultation-modal .form-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 18px; }
.editorial-site .consultation-modal .form-submit-row .btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; margin: 0; padding: 11px 24px; border-radius: 8px; font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-weight: 400; line-height: 1.4; }
.editorial-site .consultation-modal .form-whatsapp { border-width: 1px; border-style: solid; background: transparent; color: #0d1a24 !important; }
.editorial-site .consultation-modal .form-privacy-note { margin: 10px 0 0; color: #7d7e84; font-size: 13px; line-height: 1.5; }
.editorial-site .consultation-modal .form-privacy-note a { color: #95471f; text-decoration: underline; text-underline-offset: 3px; }
.editorial-site .consultation-modal .form-status:empty { margin: 0; }
.editorial-site .consultation-modal__thanks h2 { color: #0d1a24; font-family: Georgia, "Times New Roman", serif; }

@media (max-width: 1000px) {
  .editorial-site .consultation-modal { padding: 24px; }
  .editorial-site .consultation-modal__panel { max-height: calc(100dvh - 48px); padding: 24px 28px; }
  .editorial-site .consultation-modal__heading h2 { font-size: 36px; }
  .editorial-site .consultation-modal__heading > p:last-child { font-size: 15px; }
  .editorial-site .consultation-modal .form-grid { gap: 16px 24px; }
  .editorial-site .consultation-modal :is(input:not([type="hidden"]), select, textarea) { padding: 10px 14px; font-size: 16px; }
}

@media (max-width: 640px) {
  .editorial-site .consultation-modal { padding: 12px; }
  .editorial-site .consultation-modal__panel { max-height: calc(100dvh - 24px); padding: 24px 20px; border-radius: 16px !important; }
  .editorial-site .consultation-modal__close { width: 44px; height: 44px; margin: -8px -6px 0 6px; font-size: 28px; }
  .editorial-site .consultation-modal .eyebrow { font-size: 10px; gap: 12px; margin-bottom: 16px; }
  .editorial-site .consultation-modal .eyebrow::after { width: 28px; }
  .editorial-site .consultation-modal__heading h2 { clear: both; font-size: 28px; line-height: 1.1; }
  .editorial-site .consultation-modal__heading > p:last-child { font-size: 14px; }
  .editorial-site .consultation-modal .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .editorial-site .consultation-modal .form-grid label > span { font-size: 11px; letter-spacing: .12em; }
  .editorial-site .consultation-modal .form-submit-row { gap: 12px; }
  .editorial-site .consultation-modal .form-submit-row .btn { width: 100%; min-height: 48px; padding: 11px 16px; font-size: 17px; }
  .editorial-site .consultation-modal .form-privacy-note { font-size: 12px; }
}
