/**
 * Contact page — form-card wrapper around the Everest Forms shortcode.
 * Shared .page-hero / .btn-navy / .section-label styles already live in
 * assets/css/style.css.
 */

.contact-body { background: var(--cream-dark); padding: 4rem 2rem 5rem; }
.form-card {
	background: white;
	border-radius: var(--radius);
	padding: 3rem;
	box-shadow: var(--shadow-lg);
	max-width: 680px;
	margin: 0 auto;
}
.form-card > .section-label { justify-content: center; }
.form-card h2 {
	font-family: 'Allumi Std', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 1.5rem;
	color: var(--navy);
	margin: 0.75rem 0;
	text-align: center;
}
.form-intro {
	color: var(--text-mid);
	font-size: 0.9rem;
	line-height: 1.8;
	margin-bottom: 2rem;
	text-align: center;
}

/* ---- urgent-allergy callout ---- */
.urgent-note {
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
	background: var(--gold-pale);
	border-left: 3px solid var(--gold);
	border-radius: var(--radius);
	padding: 1rem 1.15rem;
	margin-bottom: 2rem;
	font-size: 0.8rem;
	line-height: 1.7;
	color: var(--text-mid);
	text-align: left;
}
.urgent-note svg { flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.urgent-note strong { color: var(--navy); }
.urgent-note a { color: var(--navy); font-weight: 700; }

.form-note {
	margin-top: 1.25rem;
	font-size: 0.75rem;
	color: var(--text-light);
	line-height: 1.7;
	text-align: center;
}
.form-note a { color: var(--navy); font-weight: 700; }

@media (max-width: 640px) {
	.contact-body { padding: 2.5rem 1rem 3.5rem; }
	.form-card { padding: 2rem 1.25rem; }
}

/* ---- Everest Forms: align field styling with the site's design system ---- */
.form-card .everest-form label {
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--navy);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.form-card .everest-form input[type="text"],
.form-card .everest-form input[type="email"],
.form-card .everest-form input[type="tel"],
.form-card .everest-form input[type="date"],
.form-card .everest-form select,
.form-card .everest-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1.5px solid var(--border);
	border-radius: var(--radius);
	font-size: 0.88rem;
	font-family: inherit;
	color: var(--text);
	background: white;
	outline: none;
	box-sizing: border-box;
	transition: border-color var(--transition), box-shadow var(--transition);
}
.form-card .everest-form textarea { resize: vertical; min-height: 150px; line-height: 1.7; }
.form-card .everest-form input:focus,
.form-card .everest-form select:focus,
.form-card .everest-form textarea:focus {
	border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(13, 32, 68, 0.08);
}
.form-card .everest-form .evf-field-description,
.form-card .everest-form .evf-field-limit-text {
	font-size: 0.72rem;
	color: var(--text-light);
	line-height: 1.6;
}
/* !important on background/color/border-color: Everest Forms' own stylesheet
   targets this button via `.everest-forms button.button:not(.button-large)`,
   which out-specifies our selector by one element-type selector at the
   tie-break, so a plain override loses to the plugin's default grey button. */
.form-card .everest-form .everest-forms-submit-button {
	display: block;
	width: 100%;
	text-align: center;
	background: var(--navy) !important;
	color: white !important;
	border: 2px solid var(--navy);
	border-color: var(--navy) !important;
	border-radius: var(--radius);
	font-weight: 700;
	letter-spacing: 0.03em;
	font-size: 0.9rem;
	padding: 0.9rem 1.5rem;
	cursor: pointer;
	transition: background var(--transition), border-color var(--transition);
}
.form-card .everest-form .everest-forms-submit-button:hover {
	background: var(--navy-mid) !important;
	border-color: var(--navy-mid) !important;
}
