/* inquiry-form — burgundy form card + form plumbing (rows, fields, radio,
   checkbox, security note). Measured from reference dist__components__inquiry-form,
   dist__components__form and the form rules in their compiled global.css. */

.inquiry-form {
	background-color: var(--color-burgundy-2);
	border-radius: 0;
	color: var(--color-soft-white);
	display: block;
	padding: 25px;
}
@media screen and (min-width: 768px) {
	.inquiry-form { padding: 30px; }
}

/* Standalone variant: centered card used as a closing CTA on marketing pages */
.inquiry-form--standalone {
	margin: var(--grid-section-gutter) auto 0;
	max-width: var(--wrap-width-narrow);
}

.inquiry-form__title {
	align-items: center;
	display: flex;
	justify-content: center;
	text-align: center;
}
/* Ornament hairlines either side of the title (svg flourish in reference, 25% opacity) */
.inquiry-form__title::before,
.inquiry-form__title::after {
	background-color: currentColor;
	content: "";
	flex: 1;
	height: 1px;
	opacity: 0.25;
}
.inquiry-form__title-text { padding: 0 8px; }
.inquiry-form__title + .form { margin-top: 20px; }

.inquiry-form .btn {
	margin-top: var(--forms-field-spacing);
	width: 100%;
}
@media screen and (min-width: 768px) {
	.inquiry-form .btn { width: auto; }
	.form-hero .inquiry-form .btn,
	.inquiry-form--standalone .btn { width: 100%; }
}

/* ------------------------------------------------------------ form plumbing */

.form { display: block; }

.form-row {
	display: grid;
	gap: var(--forms-field-spacing);
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	margin-top: var(--forms-field-spacing);
	min-width: 0;
}
.form-row:first-child { margin-top: 0; }

.form-field {
	display: block;
	margin-top: var(--forms-field-spacing);
	min-width: 0;
}
.form-field:first-child,
.form-row .form-field { margin-top: 0; }
.form-field label { display: block; margin-bottom: 8px; }

.form-field--inline,
.form-field--inline-content {
	align-items: center;
	display: flex;
	flex-flow: row wrap;
	gap: 10px 20px;
}
@media screen and (max-width: 576px) {
	.form-field--inline,
	.form-field--inline-content { flex-direction: column; align-items: flex-start; }
}

.form textarea { min-height: 105px; resize: vertical; }

.form select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23FEFEFC' stroke-width='1.5'/%3E%3C/svg%3E");
	background-position: right 10px center;
	background-repeat: no-repeat;
	padding-right: 30px;
}

.form-submit { margin-top: var(--forms-field-spacing); }

.form__required-info { font-style: italic; }
.form__required-info p { margin-bottom: 0; }
.form-row + .form__required-info,
.form-field + .form__required-info { margin-top: 8px; }

/* Honest demo disclaimer under the submit button */
.form__demo-note {
	color: var(--color-brass-2);
	font-style: italic;
	margin-top: 10px;
}
/* On the consultation form-hero card the reference has no note in the row
   flow, so the disclaimer floats in the card's bottom padding band. */
.form-hero .inquiry-form .form__demo-note {
	bottom: 5px;
	left: 25px;
	margin: 0;
	position: absolute;
	right: 25px;
	text-align: center;
}
@media screen and (min-width: 768px) {
	.form-hero .inquiry-form .form__demo-note { left: 30px; right: 30px; }
}

/* Consultation form-hero card row anatomy (measured live on the reference):
   required-info keeps its 8px offset even as the first row, form-rows stack
   on mobile and split only from 768px up, and text inputs run 44px tall on
   desktop (38px on mobile). */
.form-hero .inquiry-form .form__required-info { margin-top: 8px; }
.form-hero .inquiry-form .form-row { grid-template-columns: 1fr; }
/* The wrapper .form-submit already carries the field spacing; without this
   the inline-block button's own margin stacks on top of it (no collapse). */
.form-hero .inquiry-form .form-submit .btn { margin-top: 0; }
@media screen and (min-width: 768px) {
	.form-hero .inquiry-form .form-row {
		grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	}
	.form-hero .inquiry-form input[type="email"],
	.form-hero .inquiry-form input[type="tel"],
	.form-hero .inquiry-form input[type="text"] {
		padding-bottom: 10px;
		padding-top: 10px;
	}
}

.form__security-info { margin-top: var(--forms-field-spacing); }
.form__security-info-content {
	align-items: center;
	display: flex;
	font-size: 12px;
	justify-content: left;
	line-height: 1.3;
	min-height: 23px;
}
.form__security-info-content p { margin-bottom: 0; }
.form__security-info-icon {
	align-items: center;
	background-color: var(--color-soft-white);
	border-radius: 50%;
	color: var(--color-burgundy-2);
	display: inline-flex;
	height: 23px;
	justify-content: center;
	margin-right: 7px;
	min-width: 23px;
	width: 23px;
}
.form__security-info-icon svg { height: 12px; width: 12px; }

/* ------------------------------------------------------------ radio / checkbox */

.form .radio,
.form .checkbox {
	display: flex;
	justify-content: flex-start;
	line-height: 1.6;
	margin: 0;
}
.form .radio { font-size: 15px; }
.form .checkbox:not(.body-text-tiny) { font-size: 15px; }

.form .radio input {
	appearance: none;
	-webkit-appearance: none;
	background-color: transparent;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none'%3E%3Ccircle cx='9' cy='9' r='9' fill='%23fff'/%3E%3C/svg%3E");
	background-position: 50%;
	background-repeat: no-repeat;
	border: 0;
	cursor: pointer;
	height: 20px;
	margin: 2px 10px 0 0;
	min-width: 20px;
	transition: all 0.2s var(--transition-easing);
	width: 20px;
}
.form .radio input:checked {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none'%3E%3Ccircle cx='9' cy='9' r='9' fill='%23fff'/%3E%3Ccircle cx='9' cy='9' r='3' fill='%2316191B'/%3E%3C/svg%3E");
}

.form .checkbox input {
	appearance: none;
	-webkit-appearance: none;
	background-color: transparent;
	border: 1px solid var(--forms-border-color);
	border-radius: 0;
	cursor: pointer;
	height: 20px;
	margin: 2px 10px 0 0;
	min-width: 20px;
	position: relative;
	width: 20px;
}
.form .checkbox input:checked {
	background-color: var(--color-soft-white);
	border-color: var(--color-soft-white);
}
.form .checkbox input:checked::after {
	content: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath fill='%2324272A' fill-rule='evenodd' d='M4.242 6.665a1 1 0 0 1-1.413 0L.748 4.544a1 1 0 0 1 1.414-1.415l1.373 1.415L7.864.294a.999.999 0 1 1 1.414 1.413z'/%3E%3C/svg%3E");
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
}

.form .checkbox__content { flex: 1; }
.form .checkbox.body-text-tiny .checkbox__content { font-size: 12px; }
.form .checkbox__content a { color: inherit; text-decoration: underline; }
.form .checkbox__content a:hover { text-decoration: none; }

.form-field--inline-title { display: block; }
