.jp-form-anchor { container-type: inline-size; scroll-margin-top: 140px; }
.jp-form-anchor .ff-el-form-control { width: 100%; max-width: 100%; min-height: 46px; font-size: 16px; }
.jp-form-anchor textarea.ff-el-form-control { min-height: 128px; }
.jp-form-anchor .ff-el-group { min-width: 0; }
.jp-form-intro { margin-bottom: 26px; line-height: 1.65; color: #636363; }
.jp-form-anchor .jp-whatsapp-submit { align-items: center; gap: 10px; white-space: normal; }
.jp-whatsapp-submit::before { content: ''; display: inline-block; flex: 0 0 21px; width: 21px; height: 21px; background: currentColor; -webkit-mask: url('/wp-content/plugins/wp-whatsapp/assets/img/whatsapp_logo.svg') center / contain no-repeat; mask: url('/wp-content/plugins/wp-whatsapp/assets/img/whatsapp_logo.svg') center / contain no-repeat; }
.jp-form-anchor input:focus-visible, .jp-form-anchor select:focus-visible, .jp-form-anchor textarea:focus-visible { outline: 2px solid #cf2137; outline-offset: 2px; }
.jp-qa-page .jp-shell { max-width: 900px; }
.jp-qa-page h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; margin: 0 0 20px; }
.jp-qa-page .jp-form { margin-top: 28px; }
@container (min-width: 620px) {
  .jp-form-anchor fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; min-inline-size: 0; }
  .jp-form-anchor .jp-field-mensaje, .jp-form-anchor .ff_submit_btn_wrapper, .jp-form-anchor .ff-message-success, .jp-form-anchor .ff-errors-in-stack { grid-column: 1 / -1; }
}
.jp-home-additions { clear: both; background: #fff; color: #393939; position: relative; padding: 64px 0 0; }
.jp-home-additions *, .jp-home-branches * { box-sizing: border-box; }
.jp-home-additions .jp-shell, .jp-home-branches .jp-shell { max-width: 1180px; }
.jp-home-additions h2, .jp-home-branches h2 { color: #393939; font-family: 'Lato-Bold', 'Lato', sans-serif; font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.2; margin: 0 0 18px; }
.jp-home-lead { color: #636363; max-width: 700px; font-size: 17px; line-height: 1.65; margin: 0 0 30px; }
.jp-home-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin: 0; padding: 0; }
.jp-home-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid #e2e2e2; border-radius: 16px; overflow: hidden; background: #fff; }
.jp-home-card figure { margin: 0; position: relative; overflow: hidden; background: #f2f2f2; }
.jp-home-photo { display: block; width: 100%; height: auto; aspect-ratio: 1800 / 760; object-fit: contain; background-color: #101010; }
.jp-home-photo--seminuevos { background-repeat: no-repeat; background-size: 230% auto; background-position: right 60%; }
.jp-home-card figcaption { position: absolute; right: 7px; bottom: 6px; border-radius: 3px; background: rgb(0 0 0 / 65%); color: #fff; padding: 2px 5px; font: 10px/1.35 Arial, sans-serif; }
.jp-home-card-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 23px 21px 25px; }
.jp-home-card h3 { font-family: 'Lato-Bold', 'Lato', sans-serif; font-size: 20px; font-weight: 700; line-height: 1.3; margin: 0 0 14px; color: #393939; }
.jp-home-card p { font-size: 15px; line-height: 1.65; margin: 0 0 24px; color: #636363; }
.jp-home-link { display: inline-block; color: #b31a2e; font-size: 15px; line-height: 1.4; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; margin-top: auto; }
.jp-home-link:hover { color: #870e1f; }
.jp-home-link:focus-visible, .jp-home-branches a:focus-visible { outline: 2px solid #cf2137; outline-offset: 4px; }
.jp-home-branches { background: #f4f4f4; margin-top: 64px; padding: 56px 0 64px; }
.jp-home-branches-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.jp-home-branch { background: #fff; border: 1px solid #e2e2e2; border-radius: 16px; padding: 32px; }
.jp-home-branch h3 { color: #393939; font-size: 24px; font-family: 'Lato-Bold', 'Lato', sans-serif; line-height: 1.25; margin: 0 0 18px; }
.jp-home-branch p { color: #636363; line-height: 1.65; margin: 0 0 14px; font-size: 16px; }
.jp-home-hours { border-top: 1px solid #e2e2e2; padding-top: 18px; margin-top: 20px; }
.jp-home-branch .jp-actions { margin-top: 26px; gap: 12px; }
.jp-home-branch .jp-button { font-size: 15px !important; padding: 11px 16px !important; }
@media (max-width: 767px) {
  .jp-home-additions { padding-top: 42px; }
  .jp-home-cards, .jp-home-branches-grid { grid-template-columns: 1fr; }
  .jp-home-cards { gap: 24px; }
  .jp-home-photo { height: auto; }
  .jp-home-card-body { padding: 24px; }
  .jp-home-branches { margin-top: 42px; padding: 40px 0; }
  .jp-home-branch { padding: 26px; }
  .jp-form-anchor .jp-whatsapp-submit { width: 100%; }
}
