/* Contact page in Only Audit's colours: orange #f78b30 and slate #344f61.
   Every rule is scoped so the WordPress theme's global styles stay out. */
#onlyaudit-contact, #onlyaudit-contact * { box-sizing: border-box; }
#onlyaudit-contact { display: block; font-family: 'Montserrat', system-ui, sans-serif; line-height: 1.5; color: #1c2b35; background: #fff; }
#onlyaudit-contact a { text-decoration: none !important; }
#onlyaudit-contact h1, #onlyaudit-contact h2 { font-family: inherit; text-transform: none; letter-spacing: -0.02em; margin: 0; padding: 0; color: #1c2b35; }

/* Top: intro on the left, form on the right */
/* The beige band runs edge to edge behind the whole top section, however tall it gets. */
#onlyaudit-contact .oa-contact-top { box-shadow: 0 0 0 100vmax #f6f3ef; clip-path: inset(0 -100vmax); background: #f6f3ef; margin-bottom: clamp(40px, 6vw, 72px) !important; }
#onlyaudit-contact .oa-contact-top { max-width: 1280px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) 20px clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(40px, 6vw, 88px); align-items: start; }
#onlyaudit-contact .oa-contact-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: #f78b30; margin-bottom: 16px; }
#onlyaudit-contact h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; font-weight: 700; max-width: 14ch; text-wrap: balance; }
#onlyaudit-contact .oa-contact-lede { margin: 20px 0 0; font-size: 18px; line-height: 1.6; color: #4a5b66 !important; max-width: 44ch; }

/* Tracey */
#onlyaudit-contact .oa-contact-person { display: flex; align-items: center; gap: 18px; margin-top: 32px; max-width: 560px; padding: 18px 20px; background: #fff; border-radius: 20px; border: 1px solid #e7e1da; }
#onlyaudit-contact .oa-contact-person img { flex: 0 0 76px; width: 76px; height: 76px; border-radius: 999px; object-fit: cover; box-shadow: 0 0 0 4px #fdeee1; }
#onlyaudit-contact .oa-contact-person p { margin: 0; }
#onlyaudit-contact .oa-contact-person-text { font-size: 15px; line-height: 1.55; color: #33434d !important; }
#onlyaudit-contact .oa-contact-person-name { margin-top: 8px !important; font-size: 14px; color: #1c2b35 !important; }
#onlyaudit-contact .oa-contact-person-name span { color: #7a8a94; margin-left: 4px; }
#onlyaudit-contact .oa-contact-person-link { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 600; color: #e57a1f !important; }
#onlyaudit-contact .oa-contact-person-link:hover { color: #1c2b35 !important; }

/* Contact cards */
#onlyaudit-contact .oa-contact-cards { display: grid; gap: 12px; margin-top: 16px; max-width: 560px; }
#onlyaudit-contact .oa-contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid #e7e1da; border-radius: 16px; color: #1c2b35 !important; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
#onlyaudit-contact .oa-contact-card:hover { border-color: #f78b30; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(28,43,53,0.08); }
#onlyaudit-contact .oa-contact-card-icon { flex: 0 0 44px; height: 44px; border-radius: 12px; background: #fdeee1; display: grid; place-items: center; }
#onlyaudit-contact .oa-contact-card-icon svg { width: 20px; height: 20px; fill: #f78b30; }
#onlyaudit-contact .oa-contact-card-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#onlyaudit-contact .oa-contact-card-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #7a8a94; }
#onlyaudit-contact .oa-contact-card-value { font-size: 17px; font-weight: 600; color: #1c2b35; overflow-wrap: anywhere; }
#onlyaudit-contact .oa-contact-card-arrow svg { width: 20px; height: 20px; fill: #b7c2c9; transition: fill 0.15s, transform 0.15s; display: block; }
#onlyaudit-contact .oa-contact-card:hover .oa-contact-card-arrow svg { fill: #f78b30; transform: translateX(3px); }

/* Steps */
#onlyaudit-contact .oa-contact-steps { margin-top: 44px; max-width: 560px; }
#onlyaudit-contact .oa-contact-steps h2 { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 18px; }
#onlyaudit-contact .oa-contact-steps ol { list-style: none; margin: 0; padding: 0; position: relative; }
#onlyaudit-contact .oa-contact-steps ol::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: #e7d6c6; }
#onlyaudit-contact .oa-contact-steps li { position: relative; display: flex; align-items: center; gap: 16px; padding: 8px 0; font-size: 16px; font-weight: 500; color: #33434d; }
#onlyaudit-contact .oa-step-num { position: relative; flex: 0 0 32px; height: 32px; border-radius: 999px; background: #344f61; color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; }

/* Form card */
#onlyaudit-contact .oa-contact-form-card { background: #fff; border-radius: 24px; padding: clamp(28px, 4vw, 44px); box-shadow: 0 1px 2px rgba(28,43,53,0.06), 0 24px 60px rgba(28,43,53,0.10); position: sticky; top: 100px; }
#onlyaudit-contact .oa-contact-form-card h2 { font-size: 24px; font-weight: 700; }
#onlyaudit-contact .oa-contact-form-note { margin: 6px 0 24px; font-size: 14px; color: #7a8a94 !important; }
#onlyaudit-contact .oa-contact-form { margin: 0; text-align: left; }
#onlyaudit-contact .oa-field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
#onlyaudit-contact .oa-field { margin-bottom: 18px; }
#onlyaudit-contact .oa-field label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; color: #33434d; text-transform: none; letter-spacing: 0; }
#onlyaudit-contact .oa-field input, #onlyaudit-contact .oa-field textarea { display: block; width: 100%; height: auto; margin: 0; padding: 13px 16px; font-family: inherit; font-size: 16px; line-height: 1.4; color: #1c2b35; background: #f8f6f3; border: 1px solid #e2dcd5; border-radius: 12px; box-shadow: none; text-transform: none; letter-spacing: 0; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; }
#onlyaudit-contact .oa-field textarea { min-height: 132px; resize: vertical; }
#onlyaudit-contact .oa-field input::placeholder, #onlyaudit-contact .oa-field textarea::placeholder { color: #9aa7af; text-transform: none; letter-spacing: 0; font-size: 15px; }
#onlyaudit-contact .oa-field input:focus, #onlyaudit-contact .oa-field textarea:focus { outline: none; background: #fff; border-color: #f78b30; box-shadow: 0 0 0 4px rgba(247,139,48,0.18); }
#onlyaudit-contact .oa-contact-submit { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 54px; margin-top: 6px; border-radius: 999px; background: #f78b30; color: #1c2b35; font-family: inherit; font-size: 16px; font-weight: 700; transition: background 0.15s; }
#onlyaudit-contact .oa-contact-submit svg { width: 18px; height: 18px; fill: currentColor; }
#onlyaudit-contact .oa-contact-submit { position: relative; transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
#onlyaudit-contact .oa-contact-submit:hover { background: #e57a1f; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(247,139,48,0.35); }
#onlyaudit-contact .oa-contact-submit:active { transform: translateY(0); box-shadow: none; }
/* The theme draws a grey outline on buttons on hover. Switch it off here. */
#onlyaudit-contact button::before, #onlyaudit-contact button::after,
#onlyaudit-contact input::before, #onlyaudit-contact input::after { content: none !important; display: none !important; }
/* A gentle hover on the fields to match the focus style. */
#onlyaudit-contact .oa-field input:hover, #onlyaudit-contact .oa-field textarea:hover { border-color: rgba(247,139,48,0.6); background: #fff; }
/* No outline on the form card itself. */
#onlyaudit-contact .oa-contact-form-card, #onlyaudit-contact .oa-contact-form-card:hover, #onlyaudit-contact .oa-contact-form, #onlyaudit-contact .oa-contact-form:hover { outline: none !important; border: 0 !important; }
#onlyaudit-contact .oa-contact-submit:focus-visible { outline: 3px solid #1c2b35; outline-offset: 3px; }
#onlyaudit-contact .oa-contact-form-help { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: #7a8a94 !important; text-align: center; }

/* The theme's page wrappers hide overflow, which stops the form card
   following the page as it scrolls. Clip sideways only, which keeps the
   page from scrolling sideways without blocking that. This file loads on
   the contact page only. */
#canvas, #box_wrapper { overflow: visible !important; overflow-x: clip !important; }

/* Map */
#onlyaudit-contact .oa-contact-map { position: relative; max-width: 1280px; margin: 0 auto clamp(48px, 7vw, 96px); padding: 0 20px; }
#onlyaudit-contact .oa-contact-map iframe { display: block; width: 100%; height: clamp(320px, 38vw, 460px); border: 0; border-radius: 24px; background: #e9e5df; }
#onlyaudit-contact .oa-contact-map-card { position: absolute; left: 44px; bottom: 24px; background: #1c2b35; color: #fff; border-radius: 18px; padding: 20px 24px; max-width: 300px; box-shadow: 0 16px 40px rgba(28,43,53,0.25); }
#onlyaudit-contact .oa-contact-map-card .oa-contact-card-label { color: #f78b30; }
#onlyaudit-contact .oa-contact-map-card address { margin: 8px 0 14px; font-style: normal; font-size: 15px; line-height: 1.55; color: #dfe7ec; }
#onlyaudit-contact .oa-contact-map-card a { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-size: 14px; font-weight: 600; }
#onlyaudit-contact .oa-contact-map-card a svg { width: 16px; height: 16px; fill: #f78b30; }
#onlyaudit-contact .oa-contact-map-card a:hover { color: #f78b30 !important; }
#onlyaudit-contact a:focus-visible { outline: 2px solid #f78b30; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  #onlyaudit-contact .oa-contact-submit, #onlyaudit-contact .oa-contact-submit:hover { transition: none; transform: none; }
  #onlyaudit-contact .oa-contact-card, #onlyaudit-contact .oa-contact-card-arrow svg { transition: none; }
  #onlyaudit-contact .oa-contact-card:hover { transform: none; }
}
@media (max-width: 899px) {
  #onlyaudit-contact { background: #f6f3ef; padding-bottom: 1px; }
  #onlyaudit-contact .oa-contact-top { grid-template-columns: minmax(0, 1fr); }
  #onlyaudit-contact .oa-contact-form-card { position: static; }
}
@media (max-width: 599px) {
  #onlyaudit-contact .oa-contact-person { align-items: flex-start; }
  #onlyaudit-contact .oa-contact-person img { flex-basis: 60px; width: 60px; height: 60px; }
  #onlyaudit-contact .oa-field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  #onlyaudit-contact .oa-contact-map-card { position: static; margin-top: 12px; max-width: none; }
}

/* The postal address card: not a link. */
#onlyaudit-contact .oa-contact-card-static { cursor: default; }
#onlyaudit-contact .oa-contact-card-static:hover { transform: none; box-shadow: none; border-color: #e7e1da; }

/* The HubSpot enquiry form, styled like the rest of the site. */
#onlyaudit-contact .oa-hubspot-form { text-align: left; min-height: 360px; }
#onlyaudit-contact .oa-hubspot-loading { margin: 0; padding: 40px 0; text-align: center; font-size: 14px; color: #7a8a94; }
#onlyaudit-contact .oa-hubspot-form form { margin: 0; }
#onlyaudit-contact .oa-hubspot-form fieldset { max-width: none !important; margin: 0; padding: 0; border: 0; }
#onlyaudit-contact .oa-hubspot-form fieldset.form-columns-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
#onlyaudit-contact .oa-hubspot-form fieldset .hs-form-field, #onlyaudit-contact .oa-hubspot-form fieldset .input { width: auto !important; float: none !important; margin-right: 0 !important; }
#onlyaudit-contact .oa-hubspot-form .hs-form-field { margin-bottom: 18px; }
#onlyaudit-contact .oa-hubspot-form .hs-form-field > label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; color: #33434d; text-transform: none; letter-spacing: 0; }
#onlyaudit-contact .oa-hubspot-form .hs-form-required { margin-left: 2px; color: #f78b30; }
#onlyaudit-contact .oa-hubspot-form .hs-field-desc { margin: -2px 0 8px; font-size: 13px; color: #7a8a94; }
#onlyaudit-contact .oa-hubspot-form input.hs-input:not([type=checkbox]):not([type=radio]), #onlyaudit-contact .oa-hubspot-form textarea.hs-input, #onlyaudit-contact .oa-hubspot-form select.hs-input { display: block; width: 100% !important; height: auto; margin: 0; padding: 13px 16px; font-family: inherit; font-size: 16px; line-height: 1.4; color: #1c2b35; background: #f8f6f3; border: 1px solid #e2dcd5; border-radius: 12px; box-shadow: none; text-transform: none; letter-spacing: 0; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; }
#onlyaudit-contact .oa-hubspot-form textarea.hs-input { min-height: 132px; resize: vertical; }
#onlyaudit-contact .oa-hubspot-form textarea.hs-input.oa-compact, #onlyaudit-contact .oa-hubspot-form textarea[name="client_names"] { min-height: 50px; max-height: 320px; overflow-y: auto; }
#onlyaudit-contact .oa-hubspot-form select.hs-input { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c2b35' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
#onlyaudit-contact .oa-hubspot-form .hs-input::placeholder { color: #9aa7af; font-size: 15px; }
#onlyaudit-contact .oa-hubspot-form .hs-input:not([type=checkbox]):not([type=radio]):hover { border-color: rgba(247,139,48,0.6); background-color: #fff; }
#onlyaudit-contact .oa-hubspot-form .hs-input:not([type=checkbox]):not([type=radio]):focus { outline: none; background-color: #fff; border-color: #f78b30; box-shadow: 0 0 0 4px rgba(247,139,48,0.18); }
#onlyaudit-contact .oa-hubspot-form .hs-input.invalid.error { border-color: #d64545; }
#onlyaudit-contact .oa-hubspot-form .inputs-list { margin: 0; padding: 0; list-style: none; }
#onlyaudit-contact .oa-hubspot-form .inputs-list li { margin: 0 0 8px; }
#onlyaudit-contact .oa-hubspot-form .inputs-list label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; font-weight: 400; color: #33434d; text-transform: none; }
#onlyaudit-contact .oa-hubspot-form .inputs-list input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: #f78b30; }
#onlyaudit-contact .oa-hubspot-form .hs-error-msgs { margin: 6px 0 0; padding: 0; list-style: none; }
#onlyaudit-contact .oa-hubspot-form .hs-error-msgs label, #onlyaudit-contact .oa-hubspot-form .hs-error-msg { display: block; margin: 0; font-size: 13px; font-weight: 500; color: #d64545; text-transform: none; }
#onlyaudit-contact .oa-hubspot-form .hs_error_rollup { margin-bottom: 12px; }
#onlyaudit-contact .oa-hubspot-form .legal-consent-container, #onlyaudit-contact .oa-hubspot-form .hs-richtext { margin: 4px 0 16px; font-size: 13px; line-height: 1.55; color: #7a8a94; }
#onlyaudit-contact .oa-hubspot-form .legal-consent-container p, #onlyaudit-contact .oa-hubspot-form .hs-richtext p { margin: 0 0 8px; font-size: 13px; color: #7a8a94 !important; }
#onlyaudit-contact .oa-hubspot-form .legal-consent-container a, #onlyaudit-contact .oa-hubspot-form .hs-richtext a { color: #f78b30 !important; text-decoration: underline; }
#onlyaudit-contact .oa-hubspot-form .hs_submit, #onlyaudit-contact .oa-hubspot-form .actions { margin: 6px 0 0; padding: 0; }
#onlyaudit-contact .oa-hubspot-form input.hs-button { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; height: 54px; border-radius: 999px; background: #f78b30; color: #1c2b35; font-family: inherit; font-size: 16px; font-weight: 700; text-align: center; transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
#onlyaudit-contact .oa-hubspot-form input.hs-button:hover { background: #e57a1f; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(247,139,48,0.35); }
#onlyaudit-contact .oa-hubspot-form input.hs-button:active { transform: none; box-shadow: none; }
#onlyaudit-contact .oa-hubspot-form input.hs-button:focus-visible { outline: 3px solid #1c2b35; outline-offset: 3px; }
#onlyaudit-contact .oa-hubspot-form .submitted-message { padding: 24px; border-radius: 16px; background: #fdf1e6; color: #1c2b35; font-size: 16px; line-height: 1.6; text-align: center; }
#onlyaudit-contact .oa-hubspot-form .submitted-message p { margin: 0; color: #1c2b35 !important; }
#onlyaudit-contact .oa-hubspot-form iframe { width: 100% !important; border: 0; }
@media (max-width: 600px) {
  #onlyaudit-contact .oa-hubspot-form fieldset.form-columns-2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #onlyaudit-contact .oa-hubspot-form input.hs-button, #onlyaudit-contact .oa-hubspot-form input.hs-button:hover { transition: none; transform: none; }
}
/* After sending: hide the heading and the required-fields note, leaving the thank-you message. */
#onlyaudit-contact .oa-contact-form-card.is-submitted > h2, #onlyaudit-contact .oa-contact-form-card.is-submitted > .oa-contact-form-note, #onlyaudit-contact .oa-contact-form-card.is-submitted > .oa-contact-routes { display: none; }
#onlyaudit-contact .oa-contact-form-card.is-submitted .oa-hubspot-form { min-height: 0; }

/* Enquiry route choice above the form */
#onlyaudit-contact .oa-contact-routes { margin: 16px 0 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
#onlyaudit-contact .oa-contact-routes legend { width: auto; border: 0; text-transform: none; letter-spacing: 0; line-height: 1.4; font-family: inherit; padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 700; color: #1c2b35; }
#onlyaudit-contact .oa-contact-routes label { position: relative; display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 16px; border-radius: 14px; border: 1px solid #e3ddd6; background: #fff; cursor: pointer; text-transform: none !important; letter-spacing: 0; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.4; color: #1c2b35; transition: border-color 0.2s ease, background 0.2s ease; }
#onlyaudit-contact .oa-contact-routes label:hover { border-color: #f3c9a4; }
#onlyaudit-contact .oa-contact-routes input { appearance: none; -webkit-appearance: none; flex: 0 0 20px; width: 20px; height: 20px; margin: 0; border-radius: 999px; border: 2px solid #c9bfb4; background: #fff; display: grid; place-items: center; }
#onlyaudit-contact .oa-contact-routes input:checked { border-color: #f78b30; box-shadow: inset 0 0 0 4px #fff; background: #f78b30; }
#onlyaudit-contact .oa-contact-routes input:focus-visible { outline: 2px solid #f78b30; outline-offset: 2px; }
#onlyaudit-contact .oa-contact-routes label:has(input:checked) { border-color: #f78b30; background: #fdf6ef; }
