/**
 * ALPK Forms — front-end form styles.
 * Matches the ALPK brand guide: underline inputs on paper, sharp corners,
 * marinara-red focus, black → red buttons.
 */

.alpk-form-wrap {
	font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
	color: #1A1A1A;
}

.alpk-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 24px;
}

.alpk-field {
	grid-column: 1 / -1;
	margin-bottom: 22px;
}

.alpk-field--half {
	grid-column: auto / span 1;
}

@media (max-width: 640px) {
	.alpk-field--half {
		grid-column: 1 / -1;
	}
}

.alpk-field label {
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #1A1A1A;
	margin-bottom: 8px;
}

.alpk-req {
	color: #C41E3A;
}

.alpk-input,
.alpk-textarea,
.alpk-select {
	width: 100%;
	padding: 14px;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.4;
	color: #1A1A1A;
	background: #F5F1EA;
	border: none;
	border-bottom: 2px solid rgba(0, 0, 0, 0.2);
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.alpk-input:focus,
.alpk-textarea:focus,
.alpk-select:focus {
	outline: none;
	border-bottom-color: #C41E3A;
	background: #FFFFFF;
}

.alpk-input::placeholder,
.alpk-textarea::placeholder {
	color: #6E6E6E;
}

.alpk-textarea {
	min-height: 110px;
	resize: vertical;
}

.alpk-select {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%231A1A1A' stroke-width='2'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
}

/* Honeypot — visually removed, still in the DOM for bots. */
.alpk-hp {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	margin: 0;
}

.alpk-submit {
	margin: 8px 0 0;
}

.alpk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 32px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	line-height: 1;
	color: #FFFFFF;
	background: #1A1A1A;
	border: 2px solid #1A1A1A;
	border-radius: 0;
	cursor: pointer;
	transition: all 0.2s ease;
}

.alpk-btn:hover,
.alpk-btn:focus {
	background: #C41E3A;
	border-color: #C41E3A;
	color: #FFFFFF;
}

.alpk-notice {
	display: none;
	padding: 14px 18px;
	font-size: 14px;
	line-height: 1.6;
	border-left: 3px solid;
	margin-top: 16px;
}

.alpk-notice.is-visible {
	display: block;
}

.alpk-notice-success {
	background: rgba(34, 139, 34, 0.08);
	border-left-color: #228B22;
	color: #1F5F1F;
}

.alpk-notice-success strong {
	color: #228B22;
}

.alpk-notice-error {
	background: rgba(196, 30, 58, 0.08);
	border-left-color: #C41E3A;
	color: #9E1830;
}

.alpk-form .cf-turnstile {
	margin-bottom: 18px;
}
