/* Forma — multistep contact form (full-bleed page template) */

/* ---------- reset chrome from Franco where it leaks in ---------- */
body.forma-page {
	margin: 0;
	padding: 0;
	background: #fff;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
	color: #171a1f;
	-webkit-font-smoothing: antialiased;
}
body.forma-page .top_panel_wrap,
body.forma-page .top_panel,
body.forma-page > header,
body.forma-page > footer,
body.forma-page .footer_wrap,
body.forma-page #wpadminbar { display: none !important; }

html.admin-bar-showing { margin-top: 0 !important; }

.forma { display: block; min-height: 100vh; }

/* =================================================================
   STEP BASE
   ================================================================= */
.forma-step {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.forma-step__content {
	position: relative;
	z-index: 2;
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	padding: 80px 128px;
	box-sizing: border-box;
}

.forma-step__heading {
	font-family: 'Archivo', 'Inter', sans-serif;
	font-weight: 700;
	margin: 0 0 32px;
	font-variation-settings: 'wdth' 100;
}

.forma-step__lead {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	margin: 0 0 48px;
}

/* =================================================================
   STEP 0 — dark intro / CTA
   ================================================================= */
.forma-step--0 {
	min-height: 100vh;
	display: flex;
	align-items: center;
	color: #fff;
}

.forma-step--0 .forma-step__bg {
	position: absolute; inset: 0;
	background: #1a1a1a url('hero-bg.jpg') center/cover no-repeat;
	z-index: 0;
}
.forma-step--0 .forma-step__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(
		90deg,
		rgba(0,0,0,0.7) 24.93%,
		rgba(102,102,102,0) 122.95%
	);
	z-index: 1;
}

.forma-step--0 .forma-step__heading {
	font-size: 70px;
	line-height: 80px;
	color: #fff;
	max-width: 913px;
}
.forma-step--0 .forma-step__lead {
	font-size: 20px;
	line-height: 28px;
	color: #fff;
	max-width: 459px;
}

/* =================================================================
   STEP 1..4 — light
   ================================================================= */
.forma-step--light {
	background: #fff;
	color: #171a1f;
}
.forma-step--light .forma-step__heading--h2 {
	font-family: 'Archivo', sans-serif;
	font-weight: 600;
	font-size: 30px;
	line-height: 36px;
	color: #171a1f;
	margin: 0 0 24px;
}
.forma-step__heading--center { text-align: center; }
.forma-step__content--narrow { max-width: 1300px; }

/* =================================================================
   PROGRESS INDICATOR (4 circles + 3 connector lines)
   ================================================================= */
.forma-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 0 48px;
	padding: 0;
	list-style: none;
}
.forma-progress__circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #f3f4f6;
	color: #565d6d;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	box-sizing: border-box;
}
.forma-progress__circle.is-active,
.forma-progress__circle.is-done {
	background: #ca6b27;
	color: #fff;
}
.forma-progress__line {
	flex: 0 0 auto;
	display: inline-block;
	width: 32px;
	height: 1px;
	background: #bcc1ca;
}
.forma-progress__item {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}
.forma-progress__label {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	line-height: 16px;
	color: #171a1f;
}
.forma-progress--labelled {
	align-items: flex-start;
}
.forma-progress--labelled .forma-progress__line {
	margin-top: 16px;
	width: 48px;
}

/* =================================================================
   CHOICES (step-1 grid of cards)
   ================================================================= */
.forma-choices__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 31px;
	margin-bottom: 48px;
}
.forma-choices--2col .forma-choices__grid {
	grid-template-columns: repeat(2, 1fr);
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.forma-choice {
	position: relative;
	display: block;
	background: #fff;
	border: 1px solid #dee1e6;
	border-radius: 4px;
	overflow: hidden;
	cursor: pointer;
	box-shadow:
		0 2px 5px rgba(23,26,31,0.09),
		0 0 2px rgba(23,26,31,0.12);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.forma-choice:hover {
	border-color: #ca6b27;
	box-shadow: 0 4px 12px rgba(23,26,31,0.08);
}
.forma-choice.is-selected {
	border-color: #ca6b27;
}
.forma-choice:focus-within {
	outline: none;
	border-color: #ca6b27;
}
.forma-choice__input {
	position: absolute;
	opacity: 0;
	width: 1px; height: 1px;
	pointer-events: none;
}

/* selected checkmark badge (top-right) */
.forma-choice__check {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #ca6b27;
	border: 2px solid #fff;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: scale(.6);
	transition: opacity .15s ease, transform .15s ease;
	pointer-events: none;
	z-index: 2;
	box-sizing: border-box;
}
.forma-choice.is-selected .forma-choice__check {
	opacity: 1;
	transform: scale(1);
}
.forma-choice__check svg { display: block; }
.forma-choice__image {
	display: block;
	width: 100%;
	height: 160px;
	overflow: hidden;
	background: #e9ebee;
}
.forma-choice__image--lg { height: 192px; }
.forma-choice__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.forma-choice__label {
	display: block;
	padding: 16px;
	text-align: center;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 24px;
	color: #171a1f;
}
.forma-choice__label--lg {
	padding: 24px 16px;
	font-weight: 400;
	font-size: 18px;
	line-height: 28px;
}

.forma-choices__actions {
	display: flex;
	justify-content: center;
	margin-bottom: 24px;
}

/* =================================================================
   STEP 2 — INDIVIDUALUS (3-image hero + dropzone + textarea)
   ================================================================= */
.forma-hero-trio {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 31px;
	margin-bottom: 48px;
}
.forma-hero-trio img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

.forma-individualus__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	margin-bottom: 48px;
}
.forma-individualus__lead {
	font-family: 'Inter', sans-serif;
	font-size: 18px;
	line-height: 28px;
	color: #565d6d;
	margin: 0 0 20px;
}

/* Dropzone */
.forma-dropzone {
	display: block;
	position: relative;
	border: 2px dashed #dee1e6;
	border-radius: 10px;
	background: rgba(243, 244, 246, 0.2);
	padding: 32px 24px;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease;
}
.forma-dropzone:hover,
.forma-dropzone:focus-within,
.forma-dropzone.is-drag {
	border-color: #ca6b27;
	background: rgba(202, 107, 39, 0.06);
	outline: none;
}
.forma-dropzone__input {
	position: absolute;
	width: 1px; height: 1px;
	opacity: 0;
	pointer-events: none;
}
.forma-dropzone__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}
.forma-dropzone__icon {
	color: #565d6d;
	margin-bottom: 4px;
}
.forma-dropzone__headline {
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 28px;
	color: #171a1f;
}
.forma-dropzone__button {
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding: 0 16px;
	border-radius: 6px;
	color: #00458e;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 22px;
	transition: background-color .15s ease;
}
.forma-dropzone:hover .forma-dropzone__button,
.forma-dropzone.is-drag .forma-dropzone__button {
	background-color: rgba(0, 69, 142, 0.06);
}
.forma-dropzone__hint {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	line-height: 20px;
	color: #565d6d;
	max-width: 320px;
}
.forma-dropzone__list {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.forma-dropzone__file {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background: #fff;
	border: 1px solid #dee1e6;
	border-radius: 6px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	line-height: 20px;
	color: #171a1f;
}
.forma-dropzone__remove {
	background: transparent;
	border: 0;
	font-size: 20px;
	line-height: 1;
	color: #565d6d;
	cursor: pointer;
	padding: 0 4px;
}
.forma-dropzone__remove:hover { color: #ca6b27; }
.forma-dropzone__file.is-uploading {
	background: #f9fafc;
	color: #565d6d;
	border-style: dashed;
}
.forma-dropzone__file.is-uploading span::after {
	content: '';
	display: inline-block;
	width: 10px; height: 10px;
	margin-left: 6px;
	border: 2px solid #bcc1ca;
	border-top-color: #ca6b27;
	border-radius: 50%;
	vertical-align: -1px;
	animation: forma-spin .8s linear infinite;
}
.forma-dropzone__file.is-error {
	background: #fff7f7;
	border-color: #f2c2c2;
	color: #b71c1c;
}
@keyframes forma-spin { to { transform: rotate(360deg); } }

/* Textarea */
.forma-textarea {
	display: block;
}
.forma-textarea textarea {
	width: 100%;
	min-height: 240px;
	padding: 12px 20px;
	border: 1px solid #dee1e6;
	border-radius: 6px;
	background: #fff;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	line-height: 22px;
	color: #171a1f;
	resize: vertical;
	box-sizing: border-box;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.forma-textarea textarea::placeholder {
	color: #565d6d;
}
.forma-textarea textarea:focus {
	border-color: #ca6b27;
	box-shadow: 0 0 0 3px rgba(202,107,39,0.15);
	outline: none;
}

.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0);
	white-space: nowrap; border: 0;
}

/* =================================================================
   STEP 4 — CONTACT FORM CARD
   ================================================================= */
.forma-contact {
	display: flex;
	justify-content: center;
}
/* CF7 wraps <form> between us and the card; keep centering intact. */
.forma-contact .wpcf7,
.forma-contact form.wpcf7-form {
	width: 100%;
	display: flex;
	justify-content: center;
}
.forma-contact form.wpcf7-form > * + .wpcf7-response-output {
	margin-top: 16px;
}
.forma-contact__card {
	width: 100%;
	max-width: 512px;
	background: #fff;
	border: 1px solid #dee1e6;
	border-radius: 4px;
	box-shadow:
		0 2px 5px rgba(23,26,31,0.09),
		0 0 2px rgba(23,26,31,0.12);
	padding: 32px;
	box-sizing: border-box;
}
/* CF7 wraps each control in a <span class="wpcf7-form-control-wrap">.
   Force block so inputs take the card width cleanly. */
.forma-contact__card .wpcf7-form-control-wrap {
	display: block;
}
/* CF7 inline error tip per field — repaint to match our own .forma-field__error. */
.forma-contact__card .wpcf7-not-valid-tip {
	display: block;
	min-height: 18px;
	margin-top: 4px;
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	line-height: 18px;
	color: #d93f3f;
}
/* CF7 marks invalid inputs with .wpcf7-not-valid. */
.forma-contact__card .wpcf7-not-valid.forma-field__input {
	border-color: #d93f3f;
	background: #fff7f7;
}
/* Submit input — we already put .forma-btn classes via CF7 [submit], but inputs
   need extra resets: appearance and line-height in some browsers. */
.forma-contact__card input[type="submit"].forma-btn {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	padding: 0;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 55px;
	text-transform: none;
	letter-spacing: normal;
}
/* CF7 form-level response box — hidden; per-field .wpcf7-not-valid-tip
   messages are enough, and success navigates to step-5. */
.forma-contact .wpcf7-response-output {
	display: none !important;
}
/* CF7 spinner inside the button area */
.forma-contact__card .wpcf7-spinner {
	margin-left: 8px;
	background-color: #ca6b27;
}
.forma-contact__heading {
	font-family: 'Archivo', sans-serif;
	font-weight: 600;
	font-size: 24px;
	line-height: 32px;
	color: #171a1f;
	text-align: center;
	margin: 0 0 24px;
	letter-spacing: 0;
	font-variation-settings: 'wdth' 100;
}
.forma-field {
	margin-bottom: 16px;
}
.forma-field__label {
	display: block;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 22px;
	color: #171a1f;
	margin-bottom: 8px;
}
.forma-field__star {
	color: #171a1f;
	margin-left: 2px;
}
.forma-field__input {
	display: block;
	width: 100%;
	height: 44px;
	padding: 10px 16px;
	border: 1px solid #dee1e6;
	border-radius: 4px;
	background: #fff;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	line-height: 22px;
	color: #171a1f;
	box-sizing: border-box;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.forma-field__input::placeholder { color: #565d6d; }
.forma-field__input:focus {
	border-color: #ca6b27;
	box-shadow: 0 0 0 3px rgba(202,107,39,0.15);
	outline: none;
}
.forma-field__input--area {
	min-height: 96px;
	height: auto;
	padding: 12px 16px;
	resize: vertical;
}
.forma-field__input.is-invalid {
	border-color: #d93f3f;
	background: #fff7f7;
}
.forma-field__error {
	display: block;
	min-height: 18px;
	margin-top: 4px;
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	line-height: 18px;
	color: #d93f3f;
}

.forma-btn--wide {
	display: flex;
	width: 100%;
	min-width: 0;
	height: 48px;
	font-weight: 500;
	font-size: 18px;
	line-height: 28px;
	margin-top: 8px;
}

.forma-contact__note {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 24px 0 0;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	line-height: 20px;
	color: #565d6d;
}
.forma-contact__note svg {
	flex: 0 0 auto;
	color: #565d6d;
}

/* =================================================================
   STEP 5 — THANK YOU
   ================================================================= */
.forma-thanks {
	max-width: 792px;
	margin: 24px auto 0;
	padding: 40px 32px;
	background: #fff;
	border-radius: 10px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.forma-thanks__icon {
	color: #171a1f;
	margin-bottom: 40px;
}
.forma-thanks__heading {
	font-family: 'Archivo', sans-serif;
	font-weight: 700;
	font-size: 30px;
	line-height: 36px;
	color: #171a1f;
	margin: 0 0 16px;
	font-variation-settings: 'wdth' 100;
}
.forma-thanks__lead {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	line-height: 24px;
	color: #565d6d;
	margin: 0 0 32px;
	max-width: 373px;
}
.forma-btn--shop {
	min-width: 0;
	width: auto;
	height: 40px;
	padding: 0 20px;
	border-radius: 6px;
	font-weight: 500;
	font-size: 14px;
	line-height: 22px;
}

/* =================================================================
   BUTTONS
   ================================================================= */
.forma-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 156px;
	height: 55px;
	padding: 0 24px;
	border: 0;
	border-radius: 4px;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 22px;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	letter-spacing: normal;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s ease, transform .1s ease, opacity .2s ease;
	box-shadow:
		0 2px 5px rgba(23,26,31,0.09),
		0 0 2px rgba(23,26,31,0.12);
}
.forma-btn--primary,
a.forma-btn--primary,
a.forma-btn--primary:link,
a.forma-btn--primary:visited { background-color: #ca6b27; color: #fff; }
.forma-btn--primary:hover:not([disabled]),
.forma-btn--primary:focus:not([disabled]),
a.forma-btn--primary:hover,
a.forma-btn--primary:focus { background-color: #b35d1f; color: #fff; }
.forma-btn--primary:active:not([disabled]) { transform: translateY(1px); }
.forma-btn[disabled] {
	opacity: .45;
	cursor: not-allowed;
	box-shadow: none;
}

/* =================================================================
   FOOTER (single copyright strip, shared across all steps)
   ================================================================= */
.forma-footer {
	border-top: 1px solid #dee1e6;
	padding: 20px 24px;
	background: transparent;
}
.forma-footer__line {
	margin: 0;
	text-align: center;
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	line-height: 18px;
	color: #616268;
}

/* =================================================================
   BACK LINK — top-right of content column (Figma 436:18)
   ================================================================= */
a.forma-back,
a.forma-back:link,
a.forma-back:visited {
	position: absolute;
	top: 80px;
	right: 128px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	color: #565d6d;
	text-decoration: none;
	transition: color .15s ease;
	z-index: 3;
}
a.forma-back:hover,
a.forma-back:focus {
	color: #2c2d34;
	text-decoration: none;
}
.forma-back__icon {
	flex: 0 0 auto;
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1024px) {
	.forma-step__content { padding: 64px 64px; }
	a.forma-back { top: 64px; right: 64px; }
	.forma-step--0 .forma-step__heading { font-size: 56px; line-height: 64px; }
	.forma-choices__grid { grid-template-columns: repeat(2, 1fr); }
	.forma-hero-trio { grid-template-columns: repeat(3, 1fr); gap: 16px; }
	.forma-hero-trio img { height: 120px; }
	.forma-individualus__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
	.forma-step__content { padding: 48px 24px; }
	a.forma-back { top: 48px; right: 24px; }
	.forma-step--0 { align-items: flex-start; padding-top: 80px; }
	.forma-step--0 .forma-step__heading { font-size: 38px; line-height: 44px; margin-bottom: 24px; }
	.forma-step--0 .forma-step__lead { font-size: 16px; line-height: 24px; margin-bottom: 32px; }
	.forma-step--light .forma-step__heading--h2 { font-size: 22px; line-height: 28px; }
	.forma-choices__grid { grid-template-columns: 1fr; gap: 16px; }
	.forma-choices--2col .forma-choices__grid { grid-template-columns: 1fr; }
	.forma-hero-trio { grid-template-columns: 1fr; gap: 12px; }
	.forma-hero-trio img { height: 180px; }
	.forma-btn { width: 100%; }
	.forma-btn--shop { width: auto; }
	.forma-progress--labelled .forma-progress__line { width: 24px; }
	.forma-contact__card { padding: 24px; }
	.forma-thanks { padding: 32px 20px; }
	.forma-footer { padding: 16px 24px; }
}
