/* SHM Forms Experience */

/* ---------- Form: stato di invio ---------- */
.wpcf7-form.submitting input[type="submit"],
.wpcf7-form.submitting button[type="submit"] { opacity: .55; pointer-events: none; transition: opacity .2s; }
.wpcf7-form .form-cbox + .form-cbox,
.wpcf7-form .shmfx-nl { margin-top: 10px; }
.wpcf7-form .shmfx-nl { font-size: .92em; opacity: .85; }

/* ---------- Thank you page ---------- */
.shmfx-ty {
	--ink: #232323; --muted: #6f6e69; --line: #e7e5dc; --soft: #f6f4ec;
	min-height: 62vh; display: flex; align-items: center; justify-content: center;
	padding: 72px 16px 96px; font-family: Syne, sans-serif; color: var(--ink);
}
.shmfx-ty__inner { width: 100%; max-width: 760px; text-align: center; }
.shmfx-ty__lang { display: none; }
.shmfx-ty[data-lang="it"] .shmfx-ty__lang[data-lang="it"],
.shmfx-ty[data-lang="en"] .shmfx-ty__lang[data-lang="en"] { display: block; }
.shmfx-ty:not([data-lang]) .shmfx-ty__lang[data-lang="it"] { display: block; } /* prima del JS / no-JS */
.shmfx-ty[data-variant="client"] .v-job,
.shmfx-ty[data-variant="job"] .v-client { display: none !important; }

.shmfx-ty__eyebrow { margin: 0 0 14px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.shmfx-ty__title { margin: 0 0 20px; font-size: clamp(36px, 6vw, 64px); line-height: 1.05; font-weight: 500; letter-spacing: -.02em; }
.shmfx-ty__lead { margin: 0 auto 40px; max-width: 560px; font-size: 18px; line-height: 1.6; color: #3b3b39; }

.shmfx-check { width: 76px; height: 76px; margin: 0 auto 28px; display: block; }
.shmfx-check__c { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 190; }
.shmfx-check__p { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 44; }
.shmfx-js .shmfx-check__c { stroke-dashoffset: 190; }
.shmfx-js .shmfx-check__p { stroke-dashoffset: 44; }
.shmfx-ty.is-in .shmfx-check__c { animation: shmfx-draw .7s cubic-bezier(.65,0,.35,1) .1s forwards; }
.shmfx-ty.is-in .shmfx-check__p { animation: shmfx-draw .45s cubic-bezier(.65,0,.35,1) .65s forwards; }

.shmfx-ty__steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.shmfx-ty__steps li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.shmfx-ty__steps span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 18px; letter-spacing: .08em; }
.shmfx-ty__steps strong { display: block; font-weight: 500; font-size: 16px; margin-bottom: 6px; }
.shmfx-ty__steps em { display: block; font-style: normal; font-size: 14px; line-height: 1.5; color: var(--muted); }

.shmfx-ty__cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; }
.shmfx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 10px;
	border: 1px solid var(--line); background: #fff; color: var(--ink) !important; text-decoration: none !important; font-size: 15px; transition: transform .2s, background .2s; }
.shmfx-btn:hover { transform: translateY(-1px); }
.shmfx-btn--dark { background: var(--ink); border-color: var(--ink); color: #fff !important; }
.shmfx-ty__social { margin: 0; font-size: 14px; color: var(--muted); }
.shmfx-ty__social a { color: var(--ink); }

/* entrata sfalsata */
.shmfx-js .shmfx-a { opacity: 0; transform: translateY(14px); }
.shmfx-js .shmfx-ty.is-in .shmfx-a { animation: shmfx-up .7s cubic-bezier(.2,.7,.2,1) var(--d, 0s) forwards; }
.shmfx-js .shmfx-ty.is-in .shmfx-a--pop { animation: shmfx-pop .5s cubic-bezier(.2,.9,.3,1.3) var(--d, 0s) forwards; }

@keyframes shmfx-draw { to { stroke-dashoffset: 0; } }
@keyframes shmfx-up { to { opacity: 1; transform: none; } }
@keyframes shmfx-pop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }

@media (max-width: 720px) {
	.shmfx-ty { padding: 48px 16px 72px; }
	.shmfx-ty__steps { grid-template-columns: 1fr; }
	.shmfx-ty__lead { font-size: 16px; }
	.shmfx-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.shmfx-a, .shmfx-ty.is-in .shmfx-a { animation: none !important; opacity: 1; transform: none; }
	.shmfx-check__c, .shmfx-check__p { stroke-dashoffset: 0; animation: none !important; }
}