/* Contact form — ApexEra styling */
.fw-contact-wrap {
	display: grid;
	gap: 2rem;
}

@media (min-width: 900px) {
	.apex-contact-layout .fw-contact-wrap {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
		align-items: start;
	}
}

.fw-contact-options {
	display: grid;
	gap: 1rem;
}

.fw-contact-option {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	padding: 1.1rem 1.25rem;
	backdrop-filter: blur(6px);
}

.fw-contact-option-title {
	font-family: var(--font-display, 'Playfair Display', Georgia, serif);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--white, #fff);
	margin-bottom: 0.35rem;
}

.fw-contact-option-desc {
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.5;
}

.fw-contact-form {
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid var(--border, #D1D9E6);
	border-radius: 16px;
	padding: 1.5rem;
	box-shadow: 0 18px 48px rgba(13, 34, 68, 0.12);
}

.fw-contact-fields {
	display: grid;
	gap: 1rem;
}

@media (min-width: 640px) {
	.fw-contact-fields {
		grid-template-columns: 1fr 1fr;
	}
	.fw-field--message,
	.fw-field--interest {
		grid-column: 1 / -1;
	}
}

.fw-field label {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--text, #0F172A);
	margin-bottom: 0.4rem;
}

.fw-required {
	color: var(--accent, #C9923A);
}

.fw-field input,
.fw-field select,
.fw-field textarea {
	width: 100%;
	border: 1px solid var(--border, #D1D9E6);
	border-radius: 10px;
	padding: 0.75rem 0.9rem;
	font: inherit;
	color: var(--text, #0F172A);
	background: var(--white, #fff);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fw-field input:focus,
.fw-field select:focus,
.fw-field textarea:focus {
	outline: none;
	border-color: var(--secondary, #0B7285);
	box-shadow: 0 0 0 3px rgba(11, 114, 133, 0.15);
}

.fw-field--error input,
.fw-field--error select,
.fw-field--error textarea {
	border-color: #dc2626;
}

.fw-field-error {
	margin: 0.35rem 0 0;
	font-size: 0.82rem;
	color: #dc2626;
}

.fw-field--honeypot {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.fw-contact-alert {
	border-radius: 10px;
	padding: 0.85rem 1rem;
	margin-bottom: 1rem;
	font-size: 0.92rem;
	line-height: 1.5;
}

.fw-contact-alert--error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.fw-contact-alert--success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.fw-contact-actions {
	margin-top: 1.25rem;
}

.fw-contact-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-width: 180px;
	border: none;
	cursor: pointer;
	font-size: 1rem;
	padding: 16px 36px;
	border-radius: 999px;
	background: var(--accent, #C9923A);
	color: var(--primary, #0D2244);
	font-weight: 600;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fw-contact-submit:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(201, 146, 58, 0.35);
}

.fw-contact-submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.fw-contact-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid rgba(13, 34, 68, 0.2);
	border-top-color: var(--primary, #0D2244);
	border-radius: 50%;
	animation: fw-spin 0.7s linear infinite;
}

@keyframes fw-spin {
	to { transform: rotate(360deg); }
}

/* Inside CTA section shell */
.apex-contact-section .cta-inner {
	max-width: 1100px;
}

.apex-contact-section .apex-contact-layout {
	margin-top: 0.5rem;
}

.apex-contact-section .fw-contact-form {
	color: var(--text, #0F172A);
	text-align: left;
}

.apex-contact-section .fw-field label,
.apex-contact-section .fw-field legend {
	text-align: left;
}

.apex-contact-section .fw-contact-actions {
	text-align: left;
}

.apex-contact-fallback {
	padding: 2rem;
	text-align: center;
	background: var(--off-white, #F8FAFC);
	border: 1px dashed var(--border, #D1D9E6);
	border-radius: 12px;
}

.fw-choice-group {
	display: grid;
	gap: 0.5rem;
}

.fw-choice-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 400;
	cursor: pointer;
}

.fw-field fieldset {
	border: none;
	margin: 0;
	padding: 0;
}

.fw-field legend {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--text, #0F172A);
	margin-bottom: 0.4rem;
	padding: 0;
}
