.contact-franchise {
	min-height: 100svh;
	box-sizing: border-box;
	padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
	justify-content: center;
	align-items: center;
	display: flex;
	flex-direction: column;
}
.contact-franchise__inner {
	width: min(100%, var(--wp--style--global--wide-size, 75rem));
	display: flex;
	gap: clamp(3rem, 8vw, 7rem);
}
.contact-franchise__col-left, .contact-franchise__col-right-wrap {
	box-sizing: border-box;
	flex: 1;
	min-width: 0;
	max-width: 50%;
}
.contact-franchise__col-right-wrap {
	position: relative;
}
.contact-franchise__col-right {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	border-radius: 13px;
	border: 1px solid #000;
	padding: 0 1rem;
	background: var(--wp--preset--color--ivory, #fef9f4);
}

.contact-franchise__svg {
	position: absolute;
	top: 50%;
	left: 0;
	display: block;
	width: clamp(8rem, 16vw, 16.25rem);
	transform: translate(0, -40%) rotate(-45deg);
	transform-origin: center;
	pointer-events: none;
	z-index: 0;
}

.contact-franchise__svg.is-revealed {
	animation: contact-franchise-svg-reveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes contact-franchise-svg-reveal {
	from {
		transform: translate(0, -40%) rotate(-45deg);
	}

	to {
		transform: translate(-90%, -40%) rotate(0deg);
	}
}

.contact-franchise__svg-image {
	display: block;
	width: 100%;
	height: auto;
}
.contact-franchise__title *, .contact-franchise__col-right-title *{
	-webkit-text-stroke-width: 0.8px;
	-webkit-text-stroke-color: #000;
}
.contact-franchise__text{
	padding: 1rem 0;
}
.contact-franchise__details {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}
.contact-franchise__detail {
	display: grid;
	align-items: center;
	justify-items: start;
}
.contact-franchise__detail-toggle,
.contact-franchise__detail-content {
	grid-area: 1 / 1;
}
.contact-franchise__form{
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	align-items: center;
}

.contact-franchise__wrapper p {
	display: flex;
	width: 100%;
	gap: 4%;
}

.contact-franchise__wrapper {
	display: flex;
	width: 100%;
	gap: 4%;
}

.contact-franchise__field {
	display: flex;
	width: 100%;
	min-width: 0;
	flex: 1 1 0;
	flex-direction: column;
	gap: 0.4rem;
}

.contact-franchise__field label {
	display: block;
	width: 100%;
	font-weight: 400;
}

.contact-franchise__field p {
	display: flex;
	margin: 0;
	flex-direction: column;
	gap: 5px;
}

.contact-franchise__field p > br {
	display: none;
}

.contact-franchise__field .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.contact-franchise__field input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.contact-franchise__field textarea {
	width: 100%;
	background: transparent;
	border: 1px solid var(--wp--preset--color--black, #000);
	border-radius: 13px;
	padding: 0.5rem 1rem;
}
.contact-franchise__wrapper p span {
	display: flex;
	width: 48%;
}
.contact-franchise__wrapper p span span{
	display: flex;
	width: 48%;
}
.contact-franchise__wrapper p span input, .contact-franchise__wrapper p span textarea {
	background: transparent;
	border: 1px solid var(--wp--preset--color--black, #000);
	border-radius: 13px;
	padding: 0.5rem 1rem;
}

.contact-franchise-select-origin {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.contact-franchise__form > p:has(.contact-franchise-select-origin),
.contact-franchise__wrapper > p:has(.contact-franchise-select-origin),
.contact-franchise__field > p:has(.contact-franchise-select-origin) {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	overflow: hidden;
}

.contact-franchise__select-wrapper {
	box-sizing: border-box;
	position: relative;
	display: flex;
	width: 100%;
	min-width: 0;
	flex-direction: column;
	border: 1px solid var(--wp--preset--color--black, #000);
	border-radius: 13px;
	background: transparent;
}

.team-building-form .contact-franchise__select-wrapper {
	width: 48%;
	max-width: 48%;
}

.team-building-form .contact-franchise__wrapper:has(> .contact-franchise__select-wrapper) {
	display: flex;
	align-items: flex-start;
	gap: 4%;
}

.team-building-form .contact-franchise__wrapper:has(> .contact-franchise__select-wrapper) > p:not(:has(.contact-franchise-select-origin)) {
	width: 48%;
	max-width: 48%;
}

.contact-franchise__select-choice {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1.5rem;
	align-items: center;
	width: 100%;
	padding: 17px 20px;
	box-sizing: border-box;
	cursor: pointer;
}

.team-building-form .contact-franchise__select-choice {
	padding: 0.65rem 1rem;
}

.contact-franchise__select-choice p {
	margin: 0;
}

.contact-franchise__select-icon {
	display: block;
	width: 14px;
	height: 9px;
	transform: rotate(0deg);
	transform-origin: center;
	transition: transform 0.3s ease;
}

.contact-franchise__select-options {
	display: grid;
	grid-template-rows: 0fr;
	visibility: hidden;
	border-top: 0 solid var(--wp--preset--color--black, #000);
	transition: grid-template-rows 0.3s ease, visibility 0s linear 0.3s, border-width 0.3s ease;
}

.contact-franchise__select-options-inner {
	display: flex;
	min-height: 0;
	max-height: 0;
	overflow: hidden;
	flex-direction: column;
	background: var(--wp--preset--color--beige, #e7cec0);
	transition: max-height 0.3s ease;
	border-radius: 0 0 13px 13px;
}

.contact-franchise__select-wrapper.active .contact-franchise__select-options {
	grid-template-rows: 1fr;
	visibility: visible;
	border-top-width: 1px;
	transition-delay: 0s;
}

.contact-franchise__select-wrapper.active .contact-franchise__select-options-inner {
	max-height: var(--contact-select-height, 24rem);
}

.contact-franchise__select-wrapper.active .contact-franchise__select-icon {
	transform: rotate(180deg);
}

.contact-franchise__option {
	display: block;
	width: 100%;
	padding: 14px 20px;
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--black, #000);
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.contact-franchise__option:last-child {
	border-bottom: 0;
}

.contact-franchise__option:hover,
.contact-franchise__option:focus-visible,
.contact-franchise__option[aria-selected="true"] {
	background: var(--wp--preset--color--sky-blue, #67d0f8);
}

.contact-franchise__select-choice:focus-visible,
.contact-franchise__option:focus-visible {
	outline: 2px solid var(--wp--preset--color--rush-magenta);
	outline-offset: -2px;
}

.contact-franchise__shortcode,
.contact-franchise__shortcode form,
.contact-franchise__form,
.contact-franchise__wrapper,
.contact-franchise__wrapper > p,
.contact-franchise__wrapper > p > .wpcf7-form-control-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.contact-franchise__form *,
.contact-franchise__form *::before,
.contact-franchise__form *::after {
	box-sizing: border-box;
}

.contact-franchise__wrapper > p {
	margin: 0;
	flex-wrap: nowrap;
}

.contact-franchise__wrapper > p > br {
	display: none;
}

.contact-franchise__wrapper > p > .wpcf7-form-control-wrap {
	display: block;
	flex: 1 1 0;
}

.contact-franchise__wrapper > p > .wpcf7-form-control-wrap:only-of-type {
	flex-basis: 100%;
}

.contact-franchise__form input:not([type="checkbox"]):not([type="radio"]),
.contact-franchise__form select,
.contact-franchise__form textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}
.contact-franchise__wrapper input[type="submit"],
.contact-franchise__detail-toggle {
	background: var(--wp--preset--color--rush-magenta);
	color: var(--wp--preset--color--black, #000);
	border: 1px solid var(--wp--preset--color--black, #000);
	border-radius: 99px;
	padding: 0.5rem 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.contact-franchise__wrapper input[type="submit"] {
	color: var(--wp--preset--color--black, #000);
}
.contact-franchise__wrapper input[type="submit"]:is(:hover, :focus-visible),
.contact-franchise__detail-toggle:is(:hover, :focus-visible) {
	background-color: var(--wp--preset--color--plum);
	box-shadow: 4px 4px 0 var(--wp--preset--color--black);
	transform: translate(-2px, -2px);
}
.contact-franchise__detail-toggle:focus-visible,
.contact-franchise__detail-content a:focus-visible {
	outline: 2px solid var(--wp--preset--color--rush-magenta);
	outline-offset: 3px;
}
.contact-franchise__detail-content[hidden] {
	display: none;
}
.contact-franchise__detail-toggle {
	position: relative;
	z-index: 1;
	opacity: 1;
	transition: opacity 0.35s ease, visibility 0s linear 0.35s, transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.contact-franchise__detail-content {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.35s ease;
}
.contact-franchise__detail.is-revealed .contact-franchise__detail-toggle {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}
.contact-franchise__detail.is-revealed .contact-franchise__detail-content {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
.contact-submit p{
	display: flex;
	flex-direction: column;
}

@media (max-width: 820px) {
	.contact-franchise__svg {
		display: none;
	}

	.contact-franchise__inner {
		flex-direction: column;
	}

	.contact-franchise__col-left,
	.contact-franchise__col-right-wrap {
		box-sizing: border-box;
		flex: 0 1 auto;
		width: 100%;
		max-width: 100%;
		overflow-wrap: anywhere;
	}
	.contact-franchise__wrapper p {
		flex-direction: column;
	}
	.contact-franchise__wrapper {
		flex-direction: column;
		gap: 1rem;
	}
	.team-building-form .contact-franchise__wrapper:has(> .contact-franchise__select-wrapper) {
		flex-direction: column;
		gap: 1rem;
	}
	.team-building-form .contact-franchise__select-wrapper {
		width: 100%;
		max-width: 100%;
	}
	.team-building-form .contact-franchise__wrapper:has(> .contact-franchise__select-wrapper) > p:not(:has(.contact-franchise-select-origin)) {
		width: 100%;
		max-width: 100%;
	}
	.contact-franchise__text br{
		display: block;
	}
}

@media (prefers-reduced-motion: reduce) {
	.contact-franchise__svg,
	.contact-franchise__svg.is-revealed {
		animation: none;
		transform: translate(-90%, -40%) rotate(0deg);
	}

	.contact-franchise__select-options,
	.contact-franchise__select-options-inner,
	.contact-franchise__select-icon,
	.contact-franchise__wrapper input[type="submit"],
	.contact-franchise__detail-toggle,
	.contact-franchise__detail-content {
		transition: none;
	}
}
