/*
 * Contact Us page (page-contact-us.php): the approved contact design.
 * Hero with contact ways + validated enquiry form card, "what happens next" steps. The FAQ and shared
 * components come from site.css. Loads after site.css on the contact page only.
 * Taken verbatim from the design export, plus the shared "spin" keyframes the form card's animated border
 * uses (the export defines them in its careers block).
 */
@keyframes spin{to{--ang:360deg}}
/* ===================== Contact Us ===================== */
.cu-hero{padding-bottom:clamp(36px,4vw,56px)}
.cu-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,4.5vw,72px);align-items:start}
.cu-copy{padding-top:clamp(4px,1vw,14px)}
.cu-copy h1{font-size:clamp(38px,4.6vw,64px)}
.cu-ways{list-style:none;margin:clamp(22px,2.6vw,32px) 0 0;padding:0;display:grid;gap:10px;max-width:520px}
.cu-w{display:flex;gap:14px;align-items:center;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.7);border:1px solid color-mix(in srgb,var(--a1) 10%,var(--line));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:transform .35s cubic-bezier(.22,1,.36,1),border-color .35s,box-shadow .35s}
.cu-w:hover{transform:translateX(4px);border-color:color-mix(in srgb,var(--a1) 30%,var(--line));box-shadow:0 14px 30px -22px rgba(67,97,238,.5)}
.cu-wi{flex:none;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,var(--a2),var(--a1) 55%,var(--a3));box-shadow:0 10px 20px -12px var(--a1)}
.cu-wi svg{width:20px;height:20px;stroke:#fff}
.cu-wt{display:grid;min-width:0}.cu-wt small{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--dim)}
.cu-wt a{font-weight:650;color:var(--ink);text-decoration:none;overflow-wrap:anywhere}.cu-wt a:hover{color:var(--a1)}
.cu-book{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin-top:18px}
.cu-book .btn svg{width:18px;height:18px;margin-right:8px;stroke:currentColor}
.cu-car{font-size:14.5px;color:var(--muted)}.cu-car a{color:var(--a1);font-weight:650}
/* form card */
.cu-card{position:relative;border-radius:28px;padding:clamp(22px,2.4vw,32px);background:#fff;box-shadow:0 1px 2px rgba(23,40,94,.06),0 40px 80px -40px rgba(23,40,94,.45);isolation:isolate}
.cu-card::before{content:"";position:absolute;inset:-1px;z-index:-1;border-radius:inherit;padding:1.5px;background:conic-gradient(from var(--ang),rgba(76,201,240,.9),rgba(67,97,238,.9),rgba(114,9,183,.9),rgba(76,201,240,.9));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.55}
.cf-hd{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}
.cf-hd>span:first-child{display:grid;gap:2px}.cf-hd b{font-size:20px;letter-spacing:-.02em}.cf-hd small{font-size:13.5px;color:var(--muted)}
.cf-live{flex:none;font-size:11.5px}
.cf-g{display:grid;grid-template-columns:1fr;gap:12px}
.cf-f{display:grid;gap:5px}
.cf-f>label{font-size:13.5px;font-weight:650;color:var(--ink-2)}
.cf-req{color:#E11D48;margin-left:2px}
.cf input[type=text],.cf input[type=email],.cf input[type=tel],.cf select,.cf textarea{width:100%;font:inherit;font-size:15.5px;padding:11px 13px;border-radius:12px;border:1px solid var(--line-2);background:#FBFCFF;color:var(--ink);transition:border-color .25s,box-shadow .25s,background .25s}
.cf textarea{resize:vertical;min-height:92px}
.cf input:focus,.cf select:focus,.cf textarea:focus{outline:none;border-color:var(--a1);background:#fff;box-shadow:0 0 0 4px color-mix(in srgb,var(--a1) 14%,transparent)}
.cf-ph{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px}.cf-ph select{width:auto;max-width:118px}
.cf-f.bad input,.cf-f.bad select{border-color:#E11D48;box-shadow:0 0 0 4px rgba(225,29,72,.1)}
.cf-err{margin:0;font-size:13px;color:#BE123C}
.cf-cb{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;font-size:14px;color:var(--muted);cursor:pointer}
.cf-cb input{position:absolute;opacity:0;width:1px;height:1px}
.cf-box{width:22px;height:22px;border-radius:7px;border:1.5px solid var(--line-2);background:#fff;display:grid;place-items:center;transition:background .2s,border-color .2s}
.cf-box svg{width:14px;height:14px;stroke:#fff;stroke-width:3;transform:scale(0);transition:transform .25s cubic-bezier(.34,1.56,.64,1)}
.cf-cb input:checked+.cf-box{background:linear-gradient(135deg,var(--a2),var(--a1));border-color:transparent}.cf-cb input:checked+.cf-box svg{transform:none}
.cf-cb input:focus-visible+.cf-box{box-shadow:0 0 0 4px color-mix(in srgb,var(--a1) 20%,transparent)}
.cf-ck.bad .cf-box{border-color:#E11D48}
.cf-cb a{color:var(--a1);font-weight:600}
.cf-go{width:100%;justify-content:center;margin-top:16px;padding-block:15px;font-size:16px}
.cf-go.busy{opacity:.7;pointer-events:none}
.cf-note{margin:12px 0 0;text-align:center;font-size:13.5px;color:var(--muted)}.cf-note a{color:var(--a1);font-weight:600}
.cf-done{display:grid;justify-items:center;text-align:center;gap:10px;padding:clamp(20px,4vw,48px) 6px;outline:none}
.cf-done[hidden]{display:none}
.cf-done h2{font-size:clamp(26px,2.6vw,34px)}.cf-done p{margin:0;color:var(--muted);max-width:40ch}.cf-done .cf-soon{color:var(--ink);font-weight:650;margin-top:8px}
.cf-dk{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#34D399,#10B981 60%,#059669);box-shadow:0 0 0 8px rgba(16,185,129,.14);margin-bottom:6px}
.cf-dk svg{width:30px;height:30px;stroke:#fff;stroke-width:2.6}
@media (prefers-reduced-motion:no-preference){
 .motion .cu-card{animation:fxPop .8s .15s cubic-bezier(.22,1,.36,1) backwards}
 .motion .cu-card::before{animation:spin 9s linear infinite}
 .motion .cf-g>.cf-f{animation:fxUp .55s cubic-bezier(.22,1,.36,1) backwards}
 .motion .cf-g>.cf-f:nth-child(1){animation-delay:.35s}.motion .cf-g>.cf-f:nth-child(2){animation-delay:.42s}.motion .cf-g>.cf-f:nth-child(3){animation-delay:.49s}.motion .cf-g>.cf-f:nth-child(4){animation-delay:.56s}.motion .cf-g>.cf-f:nth-child(5){animation-delay:.63s}.motion .cf-g>.cf-f:nth-child(6){animation-delay:.7s}.motion .cf-g>.cf-f:nth-child(7){animation-delay:.77s}
 .motion .cu-w{animation:fxUp .6s cubic-bezier(.22,1,.36,1) backwards;animation-delay:calc(.5s + var(--k) * 110ms)}
 .motion .cf-live i{animation:ppLive 1.4s ease-in-out infinite}
 .motion .cf-done:not([hidden]) .cf-dk{animation:fxPop .6s cubic-bezier(.34,1.56,.64,1) backwards}
 .motion .cf-f.bad{animation:cfShake .4s}
}
@keyframes cfShake{20%,60%{transform:translateX(-4px)}40%,80%{transform:translateX(4px)}}
@media (max-width:900px){ .cu-grid{grid-template-columns:1fr} .cf-hd{flex-wrap:wrap} }
/* what happens next */
.nxl{position:relative;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2vw,24px)}
.nxl::before{content:"";position:absolute;left:16.6%;right:16.6%;top:32px;border-top:3px dotted color-mix(in srgb,var(--a1) 35%,transparent)}
.nx{position:relative;display:grid;justify-items:center;text-align:center;gap:12px}
.nx-n{position:relative;width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--a2),var(--a1) 55%,var(--a3));box-shadow:0 0 0 7px var(--bg,#F5F7FC),0 14px 26px -12px var(--a1)}
.nx-n svg{width:26px;height:26px;stroke:#fff}
.nx-n b{position:absolute;right:-6px;top:-6px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:13px;color:var(--a1);background:#fff;box-shadow:0 4px 10px -4px rgba(23,40,94,.4)}
.nx p{margin:0;max-width:30ch;font-size:16px;line-height:1.55;color:var(--ink-2)}
.nx-run{position:absolute;left:16.6%;top:32px;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:#fff;border:3px solid var(--a1);box-shadow:0 0 0 5px color-mix(in srgb,var(--a1) 18%,transparent)}
@media (prefers-reduced-motion:no-preference){
 .motion .fx-nx .nxl[data-rise]{opacity:1;transform:none}
 .motion .fx-nx .nxl:not(.in) .nx{opacity:0}
 .motion .fx-nx .nxl.in .nx{animation:fxUp .6s cubic-bezier(.22,1,.36,1) backwards;animation-delay:calc(var(--k) * 180ms)}
 .motion .fx-nx .nxl.in .nx-n{animation:fxPop .5s cubic-bezier(.34,1.56,.64,1) backwards;animation-delay:calc(var(--k) * 180ms)}
 .motion .fx-nx .nxl.in .nx-run{animation:nxRun 5s cubic-bezier(.65,0,.35,1) 1s infinite}
}
@keyframes nxRun{0%{left:16.6%;opacity:0}8%{opacity:1}45%,52%{left:50%}90%{left:83.3%;opacity:1}100%{left:83.3%;opacity:0}}
@media (max-width:760px){ .nxl{grid-template-columns:1fr;gap:22px} .nxl::before,.nx-run{display:none} }
/* contact: fit the hero on one screen */
.cu-hero.ph{padding-top:clamp(96px,9vw,118px)}
.cu-card{padding:clamp(20px,2vw,26px)}
.cf-hd{margin-bottom:12px}
.cf-g{gap:9px}
.cf input[type=text],.cf input[type=email],.cf input[type=tel],.cf select,.cf textarea{padding:9px 12px;font-size:15px}
.cf textarea{min-height:70px}
.cf-go{margin-top:12px;padding-block:13px}
.cf-note{margin-top:8px}
.cu-copy .eyebrow{margin-bottom:10px}
@media (max-width:900px){
 .cu-grid{display:flex;flex-direction:column;gap:0}
 .cu-copy{display:contents}
 .cu-copy>*{order:0}
 .cu-card{order:1;margin-top:22px}
 .cu-ways{order:2;margin-top:26px}
 .cu-book{order:3}
}
.cu-copy h1{font-size:clamp(36px,3.9vw,56px)}
.cu-ways{gap:8px;margin-top:22px}.cu-w{padding:9px 12px}.cu-wi{width:38px;height:38px}
.cu-book{margin-top:14px}

/* WordPress wiring (not in the design export): the hero eyebrow was removed (the breadcrumb names the page). Below 900px the copy column is
   display:contents with no gap, and the eyebrow margin used to separate the breadcrumb from the heading, so space the stack here. */
@media (max-width:900px){ .cu-copy .crumbs{margin-bottom:16px} .cu-copy h1{margin-bottom:14px} }

/* WordPress wiring (not in the design export): the enquiry form as a Contact Form 7 form ("Contact Us - Enquiry", inc/contact.php).
   CF7 wraps every control in .wpcf7-form-control-wrap and adds its own error tips, status and checkbox markup, so those are skinned
   here to look like the design's own field errors, consent box and button. The field rules above (.cf input, .cf select ...) already apply. */
.cu-card>.cf-hd[hidden]{display:none}
.cf .wpcf7-form-control-wrap{display:block;min-width:0}
.cu-card .screen-reader-response{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);border:0;word-wrap:normal}
.cf .wpcf7-not-valid-tip{display:block;margin:5px 0 0;font-size:13px;font-weight:400;color:#BE123C}
.cf .wpcf7-not-valid:not([type=checkbox]){border-color:#E11D48;box-shadow:0 0 0 4px rgba(225,29,72,.1)}
.cf .cf-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.cf-cf7[data-status=submitting] .cf-go,.cf-cf7.submitting .cf-go{opacity:.7;pointer-events:none}
.cf .wpcf7-acceptance .wpcf7-list-item{display:block;margin:0}
.cf .wpcf7-acceptance label{display:block;cursor:pointer;font-size:14px;color:var(--muted)}
.cf .wpcf7-acceptance input{position:absolute;opacity:0;width:1px;height:1px}
.cf .wpcf7-acceptance .wpcf7-list-item-label{position:relative;display:block;padding-left:32px;line-height:1.45}
.cf .wpcf7-acceptance .wpcf7-list-item-label::before{content:"";position:absolute;left:0;top:0;width:22px;height:22px;box-sizing:border-box;border-radius:7px;border:1.5px solid var(--line-2);background:#fff;transition:background .2s,border-color .2s}
.cf .wpcf7-acceptance .wpcf7-list-item-label::after{content:"";position:absolute;left:4px;top:4px;width:14px;height:14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat;transform:scale(0);transition:transform .25s cubic-bezier(.34,1.56,.64,1)}
.cf .wpcf7-acceptance input:checked+.wpcf7-list-item-label::before{background:linear-gradient(135deg,var(--a2),var(--a1));border-color:transparent}
.cf .wpcf7-acceptance input:checked+.wpcf7-list-item-label::after{transform:none}
.cf .wpcf7-acceptance input:focus-visible+.wpcf7-list-item-label::before{box-shadow:0 0 0 4px color-mix(in srgb,var(--a1) 20%,transparent)}
.cf .wpcf7-acceptance input.wpcf7-not-valid+.wpcf7-list-item-label::before{border-color:#E11D48}
.cf .wpcf7-acceptance a{color:var(--a1);font-weight:600}
.cu-card .wpcf7 form.cf-cf7 .wpcf7-response-output{margin:12px 0 0;padding:10px 14px;border:1px solid var(--line-2);border-radius:12px;background:#FBFCFF;font-size:13.5px;color:var(--ink-2)}
.cu-card .wpcf7 form.cf-cf7 .wpcf7-response-output:empty{display:none}
.cu-card .wpcf7 form.cf-cf7.invalid .wpcf7-response-output,.cu-card .wpcf7 form.cf-cf7.unaccepted .wpcf7-response-output,.cu-card .wpcf7 form.cf-cf7.failed .wpcf7-response-output,.cu-card .wpcf7 form.cf-cf7.spam .wpcf7-response-output,.cu-card .wpcf7 form.cf-cf7[data-status=invalid] .wpcf7-response-output,.cu-card .wpcf7 form.cf-cf7[data-status=unaccepted] .wpcf7-response-output,.cu-card .wpcf7 form.cf-cf7[data-status=failed] .wpcf7-response-output,.cu-card .wpcf7 form.cf-cf7[data-status=spam] .wpcf7-response-output{border-color:#FDA4AF;background:#FFF1F2;color:#BE123C}
.cu-card .wpcf7 form.cf-cf7.sent .wpcf7-response-output,.cu-card .wpcf7 form.cf-cf7[data-status=sent] .wpcf7-response-output{border-color:#6EE7B7;background:#ECFDF5;color:#047857}
