.imoto-contact-page,
.imoto-contact-page * {
	box-sizing: border-box;
}

.imoto-contact-page {
	background: #fff;
}

.imoto-contact-page .container {
	width: min(100% - 32px, 1224px);
	margin-right: auto;
	margin-left: auto;
}

.imoto-contact-hero {
	padding: 56px 0 42px;
	background: linear-gradient(180deg, #fff 0%, #fff7f4 100%);
	border-bottom: 1px solid #f3f3f3;
}

.imoto-contact-hero p {
	width: fit-content;
	margin: 0 0 12px;
	padding: 7px 12px;
	color: #f05225;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	background: rgba(240, 82, 37, .1);
	border-radius: 999px;
}

.imoto-contact-hero h1 {
	max-width: 720px;
	margin: 0;
	color: #1f1f1f;
	font-size: 42px;
	font-weight: 800;
	line-height: 1.15;
}

.imoto-contact-hero div {
	margin-top: 14px;
	color: #666;
	font-size: 17px;
	line-height: 1.7;
}

.imoto-contact-hero div p {
	width: auto;
	margin: 0;
	padding: 0;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-transform: none;
	background: transparent;
	border-radius: 0;
}

.imoto-contact-section {
	padding: 48px 0 80px;
}

.imoto-contact-grid {
	display: grid;
	grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

.imoto-contact-info,
.imoto-contact-form,
.imoto-contact-map {
	background: #fff;
	border: 1px solid #eeeeee;
	border-radius: 16px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, .07);
}

.imoto-contact-info {
	position: sticky;
	top: 20px;
	padding: 24px;
}

.imoto-contact-info-head span,
.imoto-contact-form-head span {
	display: inline-flex;
	margin-bottom: 8px;
	color: #f05225;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.imoto-contact-info-head h2,
.imoto-contact-form-head h2 {
	margin: 0;
	color: #1f1f1f;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.25;
}

.imoto-contact-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 24px;
}

.imoto-contact-item {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 14px;
	padding: 16px;
	background: #fafafa;
	border: 1px solid #f0f0f0;
	border-radius: 12px;
}

.imoto-contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	color: #fff;
	background: #f05225;
	border-radius: 12px;
}

.imoto-contact-icon svg {
	width: 22px;
	height: 22px;
}

.imoto-contact-item h3 {
	margin: 0 0 5px;
	color: #1f1f1f;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.3;
}

.imoto-contact-item p,
.imoto-contact-item a {
	margin: 0;
	color: #555;
	font-size: 15px;
	line-height: 1.55;
	text-decoration: none;
	word-break: break-word;
}

.imoto-contact-item a:hover {
	color: #f05225;
}

.imoto-contact-extra {
	margin-top: 22px;
	padding-top: 22px;
	color: #555;
	font-size: 15px;
	line-height: 1.7;
	border-top: 1px solid #f0f0f0;
}

.imoto-contact-extra :where(p, ul, ol) {
	margin-bottom: 14px;
}

.imoto-contact-main {
	display: grid;
	gap: 24px;
	min-width: 0;
}

.imoto-contact-map {
	overflow: hidden;
	min-height: 360px;
}

.imoto-contact-map iframe {
	display: block;
	width: 100%;
	height: 360px;
	border: 0;
}

.imoto-contact-form {
	padding: 26px;
}

.imoto-contact-form-head {
	margin-bottom: 20px;
}

.imoto-contact-alert {
	margin-bottom: 18px;
	padding: 12px 14px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	border-radius: 10px;
}

.imoto-contact-alert.is-success {
	color: #166534;
	background: #dcfce7;
	border: 1px solid #bbf7d0;
}

.imoto-contact-alert.is-error {
	color: #991b1b;
	background: #fee2e2;
	border: 1px solid #fecaca;
}

.imoto-contact-native-form,
.imoto-contact-form .wpcf7 form {
	display: grid;
	gap: 16px;
}

.imoto-contact-field-group {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.imoto-contact-field,
.imoto-contact-form .wpcf7 p {
	margin: 0;
}

.imoto-contact-field label,
.imoto-contact-form .wpcf7 label {
	display: block;
	margin-bottom: 7px;
	color: #222;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.imoto-contact-field input,
.imoto-contact-field textarea,
.imoto-contact-form .wpcf7 input:not([type="submit"]),
.imoto-contact-form .wpcf7 textarea,
.imoto-contact-form .wpcf7 select {
	width: 100%;
	min-height: 46px;
	padding: 11px 13px;
	color: #1f1f1f;
	font-size: 15px;
	line-height: 1.45;
	background: #fff;
	border: 1px solid #dcdcdc;
	border-radius: 9px;
	outline: none;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.imoto-contact-form input[type="text"],
.imoto-contact-form input[type="tel"],
.imoto-contact-form input[type="email"],
.imoto-contact-form input[type="url"],
.imoto-contact-form input[type="number"],
.imoto-contact-form input[type="search"],
.imoto-contact-form textarea,
.imoto-contact-form select {
	display: block !important;
	width: 100% !important;
	min-height: 48px;
	padding: 12px 14px;
	color: #1f1f1f;
	font-size: 15px;
	line-height: 1.45;
	background: #fff !important;
	border: 1px solid #d8d8d8 !important;
	border-radius: 10px !important;
	outline: none;
	box-shadow: inset 0 1px 0 rgba(0, 0, 0, .02);
	transition: border-color .18s ease, box-shadow .18s ease;
}

.imoto-contact-form .wpcf7-form-control-wrap {
	display: block;
	margin-top: 7px;
}

.imoto-contact-native-form .imoto-contact-field input,
.imoto-contact-native-form .imoto-contact-field textarea {
	margin-top: 0;
}

.imoto-contact-field textarea,
.imoto-contact-form .wpcf7 textarea {
	min-height: 132px;
	resize: vertical;
}

.imoto-contact-field input:focus,
.imoto-contact-field textarea:focus,
.imoto-contact-form .wpcf7 input:not([type="submit"]):focus,
.imoto-contact-form .wpcf7 textarea:focus,
.imoto-contact-form .wpcf7 select:focus {
	border-color: #f05225;
	box-shadow: 0 0 0 3px rgba(240, 82, 37, .12);
}

.imoto-contact-form input[type="text"]:focus,
.imoto-contact-form input[type="tel"]:focus,
.imoto-contact-form input[type="email"]:focus,
.imoto-contact-form input[type="url"]:focus,
.imoto-contact-form input[type="number"]:focus,
.imoto-contact-form input[type="search"]:focus,
.imoto-contact-form textarea:focus,
.imoto-contact-form select:focus {
	border-color: #f05225 !important;
	box-shadow: 0 0 0 3px rgba(240, 82, 37, .12);
}

.imoto-contact-submit,
.imoto-contact-form .wpcf7 input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-width: 150px;
	height: 48px;
	padding: 0 22px;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	background: #f05225;
	border: 0;
	border-radius: 9px;
	cursor: pointer;
	transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.imoto-contact-submit:hover,
.imoto-contact-form .wpcf7 input[type="submit"]:hover {
	background: #df431a;
	box-shadow: 0 10px 22px rgba(240, 82, 37, .22);
	transform: translateY(-1px);
}

.imoto-contact-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.imoto-contact-form .wpcf7-not-valid-tip {
	margin-top: 6px;
	color: #dc2626;
	font-size: 13px;
}

.imoto-contact-form .wpcf7-response-output {
	margin: 0 !important;
	padding: 12px 14px !important;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
}

@media (max-width: 1023px) {
	.imoto-contact-page .container {
		width: calc(100% - 32px);
	}

	.imoto-contact-hero {
		padding: 38px 0 32px;
	}

	.imoto-contact-hero h1 {
		font-size: 32px;
	}

	.imoto-contact-hero div {
		font-size: 15px;
	}

	.imoto-contact-section {
		padding: 32px 0 56px;
	}

	.imoto-contact-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.imoto-contact-info {
		position: static;
	}

	.imoto-contact-map,
	.imoto-contact-map iframe {
		min-height: 300px;
		height: 300px;
	}
}

@media (max-width: 640px) {
	.imoto-contact-page .container {
		width: calc(100% - 24px);
	}

	.imoto-contact-hero h1 {
		font-size: 28px;
	}

	.imoto-contact-info,
	.imoto-contact-form {
		padding: 18px;
		border-radius: 14px;
	}

	.imoto-contact-info-head h2,
	.imoto-contact-form-head h2 {
		font-size: 22px;
	}

	.imoto-contact-item {
		grid-template-columns: 40px minmax(0, 1fr);
		padding: 14px;
	}

	.imoto-contact-icon {
		width: 40px;
		height: 40px;
		border-radius: 10px;
	}

	.imoto-contact-field-group {
		grid-template-columns: 1fr;
	}

	.imoto-contact-submit,
	.imoto-contact-form .wpcf7 input[type="submit"] {
		width: 100%;
	}
}
