/* American Vibe Contact Form — dark theme, mobile first. */

/* Page wrapper used on /contact/ */
.avs-contact { max-width: 720px; margin: 0 auto; padding: 56px 16px 80px; }
.avs-contact > h1 { text-align: center; margin: 0 0 14px; }
.avs-contact__intro {
	text-align: center;
	max-width: 560px;
	margin: 0 auto 36px;
	font-size: 18px;
	line-height: 1.6;
	color: rgba(245, 247, 255, 0.72);
}
@media (max-width: 600px) {
	.avs-contact { padding: 32px 16px 56px; }
}

.avs-cf { max-width: 720px; margin: 0 auto; }

.avs-cf__row { display: flex; flex-wrap: wrap; gap: 16px; }
.avs-cf__row > .avs-cf__field { flex: 1 1 220px; }

.avs-cf__field { margin-bottom: 18px; }

.avs-cf__field label {
	display: block;
	margin-bottom: 7px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.2px;
	color: #f5f7ff;
}
.avs-cf__req { color: #ff7a90; }

.avs-cf__field input[type="text"],
.avs-cf__field input[type="email"],
.avs-cf__field input[type="tel"],
.avs-cf__field textarea {
	width: 100%;
	padding: 13px 15px;
	font-size: 16px;
	font-family: inherit;
	line-height: 1.5;
	color: #f5f7ff;
	background-color: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 10px;
	transition: border-color .15s ease, background-color .15s ease;
	-webkit-text-fill-color: #f5f7ff;
	box-sizing: border-box;
}

.avs-cf__field textarea { resize: vertical; min-height: 140px; }

.avs-cf__field input::placeholder,
.avs-cf__field textarea::placeholder { color: rgba(245, 247, 255, 0.45); opacity: 1; }

.avs-cf__field input:focus,
.avs-cf__field textarea:focus {
	outline: none;
	border-color: rgba(255, 255, 255, 0.5);
	background-color: rgba(255, 255, 255, 0.09);
}

/* Chrome autofill: keep the dark fill, keep the text readable. */
.avs-cf input:-webkit-autofill,
.avs-cf input:-webkit-autofill:hover,
.avs-cf input:-webkit-autofill:focus {
	-webkit-text-fill-color: #f5f7ff !important;
	-webkit-box-shadow: 0 0 0 1000px #1b1e2b inset !important;
	caret-color: #f5f7ff;
	transition: background-color 9999s ease-in-out 0s;
}

.avs-cf__error {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	color: #ff9d9d;
}
.avs-cf__error--top {
	margin: 0 0 18px;
	padding: 12px 15px;
	border-radius: 10px;
	background: rgba(255, 82, 82, 0.12);
	border: 1px solid rgba(255, 82, 82, 0.4);
}

/* Honeypot — off-screen but still focusable-free for bots. */
.avs-cf__hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.avs-cf__actions { margin-top: 8px; }
.avs-cf__submit {
	cursor: pointer;
	border: none;
	font-family: inherit;
	font-size: 16px;
}
/* Fall back to a solid brand fill if the theme's .btn styles are unavailable. */
.avs-cf__submit:not(.btn) {
	padding: 14px 32px;
	border-radius: 50px;
	color: #fff;
	background: linear-gradient(90deg, #064D74, #702B73, #CE2659, #D5573D);
}

.avs-cf__success {
	padding: 36px 28px;
	text-align: center;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 18px;
}
.avs-cf__success h3 { margin: 0 0 10px; font-size: clamp(24px, 3.5vw, 32px); }
.avs-cf__success p { margin: 0; color: rgba(245, 247, 255, 0.75); font-size: 17px; line-height: 1.6; }

@media (max-width: 600px) {
	.avs-cf__row { gap: 0; }
	.avs-cf__submit { width: 100%; }
}
