/* Form pages: a form card and side cards. Forms are Contact Form 7. */
.pf-form-layout p { max-width: none; }
.pf-form-layout .pf-wrap { max-width: 1186px; }
.pf-form-layout h2, .pf-form-layout h3 { font-family: var(--wp--preset--font-family--serif); font-weight: 400; line-height: 1.1; letter-spacing: 0; }
.pf-form-layout .pf-form-layout__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 64px); align-items: start; max-width: var(--pf-max); margin: 0 auto; }
.pf-form-layout .pf-form-layout__grid > * { min-width: 0; }
.pf-form-layout .pf-mcard { padding: clamp(22px, 3.4vw, 40px); border: 1px solid #d7cdb8; border-radius: 14px; background: #fffdf7; box-shadow: 0 18px 40px #3a2d1010; }
.pf-form-layout .pf-form-layout__form h2 { margin: 0 0 18px; font-size: clamp(26px, 3vw, 36px); }
.pf-form-layout .pf-form-layout__aside { display: grid; gap: 18px; }
.pf-form-layout .pf-form-layout__aside > * { margin: 0 !important; }
.pf-form-layout .pf-form-layout__aside .pf-mcard { padding: 26px; }
.pf-form-layout .pf-form-layout__aside h3 { margin: 0 0 12px; font-size: 22px; }
.pf-form-layout .pf-form-layout__aside p { margin: 0 0 8px; }
.pf-form-layout .pf-form-layout__aside a { font-weight: 600; }
.pf-form-layout .pf-form-layout__aside .wp-block-buttons { margin: 0 0 8px; }
.pf-form-layout p.pf-note, .pf-form-layout .pf-note { font-size: 14px; color: #5b5240; }
.pf-form-layout .pf-mlist { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.pf-form-layout .pf-mlist li { display: flex; gap: 12px; align-items: flex-start; }
.pf-form-layout .pf-mlist li::before { content: ''; flex: none; width: 10px; height: 10px; margin-top: 9px; border: 1.5px solid #d1a333; border-radius: 50%; background: #d1a33344; }

/* Contact Form 7 fields */
.pf-form-layout .wpcf7-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pf-form-layout .wpcf7-form > * { min-width: 0; }
.pf-form-layout .wpcf7-form .full, .pf-form-layout .wpcf7-form .wpcf7-response-output { grid-column: 1 / -1; }
.pf-form-layout .wpcf7-form > .hidden-fields-container, .pf-form-layout .wpcf7-form .screen-reader-response { display: none; }
.pf-form-layout .wpcf7-form-control-wrap, .pf-form-layout .wpcf7-form-control.wpcf7-checkbox, .pf-form-layout .wpcf7-form-control.wpcf7-radio { display: contents; }
.pf-form-layout .wpcf7-form-control-wrap > input, .pf-form-layout .wpcf7-form-control-wrap > select, .pf-form-layout .wpcf7-form-control-wrap > textarea { display: block; }
.pf-form-layout .wpcf7-form label, .pf-form-layout .wpcf7-form legend { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.pf-form-layout .wpcf7-form input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=file]), .pf-form-layout .wpcf7-form select, .pf-form-layout .wpcf7-form textarea { box-sizing: border-box; width: 100%; padding: 12px 14px; border: 1px solid #bfb393; border-radius: 10px; background: #fff; color: var(--pf-ink); font: inherit; }
.pf-form-layout .wpcf7-form input[type=file] { width: 100%; font: inherit; }
.pf-form-layout .wpcf7-form textarea { height: 130px; min-height: 130px; resize: vertical; }
.pf-form-layout .wpcf7-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.pf-form-layout .m-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.pf-form-layout .m-choices .wpcf7-list-item { margin: 0; }
.pf-form-layout .m-choices label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 16px; border: 1px solid #bfb393; border-radius: 40px; background: #fff; font-weight: 500; cursor: pointer; }
.pf-form-layout .m-choices input { width: auto; accent-color: #92701e; }
.pf-form-layout .m-choices label:has(input:checked) { border-color: #d1a333; background: #d1a33328; }
.pf-form-layout .m-rating { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-form-layout .m-rating .wpcf7-list-item { margin: 0; }
.pf-form-layout .m-rating label { display: grid; place-items: center; width: 52px; height: 52px; margin: 0; border: 1px solid #bfb393; border-radius: 50%; background: #fff; cursor: pointer; font-weight: 700; position: relative; }
.pf-form-layout .m-rating input { position: absolute; opacity: 0; pointer-events: none; }
.pf-form-layout .m-rating label:has(input:checked) { background: #d1a333; border-color: #d1a333; }
.pf-form-layout .m-rating label:has(input:focus-visible) { outline: 3px solid #aa7410; outline-offset: 3px; }
.pf-form-layout .m-scale { display: flex; justify-content: space-between; max-width: 340px; margin-top: 6px; font-size: 13px; color: #5b5240; }
.pf-form-layout .wpcf7-submit { display: inline-flex; align-items: center; justify-content: center; padding: 13px 48px 13px 21px; border: 1px solid #d1a333; background-image: url(../../svg/arrow-dark.svg); background-repeat: no-repeat; background-position: right 20px center; background-size: 17px; border-radius: 12px; background-color: #d1a333; color: var(--pf-ink); font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.65; cursor: pointer; transition: transform .3s, box-shadow .3s, background .3s, border-color .3s; }
.pf-form-layout .wpcf7-submit:hover, .pf-form-layout .wpcf7-submit:focus-visible { transform: translateY(-3px); box-shadow: 0 8px 20px #a4772338; background-color: #e5b94f; border-color: #e5b94f; }
.pf-form-layout .wpcf7-submit:active { transform: scale(.97); }
.pf-form-layout .wpcf7-spinner { margin: 0 0 0 12px; vertical-align: middle; }
.pf-form-layout .wpcf7-not-valid-tip { margin-top: 4px; font-size: 13px; color: #9b2c1f; }
.pf-form-layout .wpcf7-form .wpcf7-response-output { margin: 20px 0 0; padding: 18px 20px; border: 0; border-left: 4px solid #d1a333; border-radius: 8px; background: #d1a33322; }
.pf-form-layout .wpcf7-form.invalid .wpcf7-response-output, .pf-form-layout .wpcf7-form.failed .wpcf7-response-output { border-left-color: #9b2c1f; background: #9b2c1f14; }
@media (max-width: 980px) { .pf-form-layout .pf-form-layout__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .pf-form-layout .wpcf7-form { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pf-form-layout .wpcf7-submit { transition: none; transform: none !important; } }
.pf-form-layout .wpcf7-form .m-note { margin: 8px 0 0; font-size: 14px; color: #5b5240; }
.pf-form-layout .pf-form-layout__aside .pf-link-button .wp-block-button__link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
