/* ==========================================================================
   Delta Warrior Contact — isolated, theme-proof styles
   Everything is scoped under .dwc-wrap and hard-reset with !important /
   `all: unset` so the parent theme or page builder cannot leak underlines,
   borders, fonts, or spacing into the form.
   ========================================================================== */

.dwc-wrap {
	all: initial !important;
	display: block !important;
	box-sizing: border-box !important;
	max-width: 1400px !important;
	width: 100% !important;
	margin: 0 auto !important;
	padding: 56px clamp(24px, 6vw, 72px) !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
	color: #1c2434 !important;
	background: transparent;
	overflow-x: hidden;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.dwc-wrap,
.dwc-wrap * {
	box-sizing: border-box !important;
	text-decoration: none !important;
	list-style: none !important;
	-webkit-text-size-adjust: 100%;
}

.dwc-wrap p,
.dwc-wrap div,
.dwc-wrap span,
.dwc-wrap label,
.dwc-wrap strong,
.dwc-wrap h1,
.dwc-wrap h2,
.dwc-wrap h3 {
	font-family: inherit !important;
	color: inherit !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	border: none !important;
	font-size: inherit;
	font-weight: normal;
	line-height: inherit;
	float: none !important;
}

:root {
	--dwc-primary: #0b1f4e;
	--dwc-primary-light: #16306e;
	--dwc-border: #e2e5ee;
	--dwc-bg-card: #ffffff;
	--dwc-bg-soft: #f7f8fb;
	--dwc-text: #1c2434;
	--dwc-muted: #5a6376;
	--dwc-radius: 16px;
	--dwc-danger: #d33;
}

.dwc-grid {
	display: grid !important;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) !important;
	gap: 48px !important;
	align-items: start;
}
.dwc-left,
.dwc-right {
	min-width: 0;
}

.dwc-heading {
	display: block !important;
	color: var(--dwc-primary) !important;
	font-size: 25px !important;
	font-weight: 800 !important;
	letter-spacing: 0.4px !important;
	text-transform: uppercase !important;
	margin: 0 0 26px !important;
	padding-left: 16px !important;
	border-left: 4px solid var(--dwc-primary) !important;
	line-height: 1.3 !important;
}

/* ---------- LEFT: contact cards ---------- */
.dwc-cards {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
	gap: 16px !important;
}

.dwc-card {
	display: flex !important;
	gap: 14px !important;
	align-items: flex-start !important;
	min-height: 96px;
	border: 1px solid var(--dwc-border) !important;
	border-radius: var(--dwc-radius) !important;
	background: var(--dwc-bg-card) !important;
	padding: 20px !important;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03), 0 1px 6px rgba(16, 24, 40, 0.03) !important;
	transition: box-shadow .18s ease, transform .18s ease;
}
.dwc-card:hover {
	box-shadow: 0 4px 14px rgba(16, 24, 40, 0.08) !important;
	transform: translateY(-1px);
}

.dwc-icon {
	flex: 0 0 auto !important;
	width: 38px !important;
	height: 38px !important;
	color: #fff !important;
	background: var(--dwc-primary) !important;
	border-radius: 10px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}
.dwc-icon svg { width: 20px !important; height: 20px !important; display: block !important; }
.dwc-icon-small { width: 32px !important; height: 32px !important; border-radius: 50% !important; }
.dwc-icon-small svg { width: 17px !important; height: 17px !important; }

.dwc-card div strong {
	display: block !important;
	color: var(--dwc-primary) !important;
	font-weight: 700 !important;
	margin-bottom: 4px !important;
	font-size: 15px !important;
}
.dwc-card div span {
	display: block !important;
	color: var(--dwc-muted) !important;
	font-size: 13.5px !important;
	line-height: 1.55 !important;
}
.dwc-card div span a {
	color: var(--dwc-muted) !important;
}
.dwc-card div span a:hover {
	color: var(--dwc-primary) !important;
	text-decoration: underline !important;
}

.dwc-hours {
	margin-top: 26px !important;
	padding-top: 22px !important;
	border-top: 1px solid var(--dwc-border) !important;
}
.dwc-hours strong {
	display: block !important;
	color: var(--dwc-primary) !important;
	font-weight: 700 !important;
	margin-bottom: 12px !important;
	font-size: 15px !important;
}
.dwc-hours-row {
	display: flex !important;
	align-items: flex-start !important;
	gap: 12px !important;
}
.dwc-hours-row .dwc-icon {
	background: transparent !important;
	color: var(--dwc-primary) !important;
	border: 2px solid var(--dwc-primary) !important;
	border-radius: 50% !important;
	width: 32px !important;
	height: 32px !important;
}
.dwc-hours-row span {
	color: var(--dwc-muted) !important;
	font-size: 13.5px !important;
	line-height: 1.6 !important;
}

.dwc-socials {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 26px !important;
	margin-top: 24px !important;
}
.dwc-social {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 8px !important;
	width: 96px !important;
	transition: transform .15s ease;
}
.dwc-social:hover { transform: translateY(-2px); }
.dwc-social-icon {
	width: 44px !important;
	height: 44px !important;
	border: 2px solid var(--dwc-primary) !important;
	color: var(--dwc-primary) !important;
	background: #fff !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: background .15s ease, color .15s ease;
}
.dwc-social:hover .dwc-social-icon {
	background: var(--dwc-primary) !important;
	color: #fff !important;
}
.dwc-social-icon svg { width: 21px !important; height: 21px !important; }
.dwc-social-name {
	font-size: 11.5px !important;
	color: var(--dwc-muted) !important;
	text-align: center !important;
	line-height: 1.3 !important;
}

/* ---------- RIGHT: form ---------- */
.dwc-form {
	display: flex !important;
	flex-direction: column !important;
	gap: 18px !important;
}

.dwc-row { width: 100% !important; }
.dwc-row-2 {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
	gap: 18px !important;
}

.dwc-field {
	display: flex !important;
	flex-direction: column !important;
	gap: 7px !important;
	min-width: 0;
	width: 100%;
}

.dwc-field label {
	display: block !important;
	font-size: 13px !important;
	color: var(--dwc-muted) !important;
	font-weight: 600 !important;
}
.dwc-req { color: var(--dwc-danger) !important; }

/* Hard reset every form control, then rebuild from scratch so the theme
   cannot inject its own border / underline / background / font. */
.dwc-field input,
.dwc-field select,
.dwc-field textarea {
	all: unset !important;
	box-sizing: border-box !important;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	border: 1.5px solid var(--dwc-border) !important;
	border-radius: 10px !important;
	padding: 13px 16px !important;
	font-size: 16px !important;
	line-height: 1.4 !important;
	font-family: inherit !important;
	color: var(--dwc-text) !important;
	background-color: #fff !important;
	cursor: text;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.dwc-field input::placeholder,
.dwc-field textarea::placeholder {
	color: #9aa2b1 !important;
}
.dwc-field input:focus,
.dwc-field select:focus,
.dwc-field textarea:focus {
	outline: none !important;
	border-color: var(--dwc-primary) !important;
	box-shadow: 0 0 0 3px rgba(11, 31, 78, 0.12) !important;
}

.dwc-field select {
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' stroke='%235a6376' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") !important;
	background-repeat: no-repeat !important;
	background-position: right 16px center !important;
	padding-right: 42px !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	cursor: pointer !important;
}
.dwc-field select::-ms-expand {
	display: none !important;
}
.dwc-field select option {
	color: var(--dwc-text) !important;
}

.dwc-field textarea {
	resize: vertical !important;
	min-height: 130px !important;
	cursor: auto;
}

.dwc-error {
	display: block !important;
	color: var(--dwc-danger) !important;
	font-size: 12px !important;
	min-height: 14px !important;
}

.dwc-feedback {
	font-size: 14px !important;
	border-radius: 10px !important;
	display: none;
}
.dwc-feedback.dwc-feedback-success {
	display: block !important;
	padding: 14px 16px !important;
	background: #e7f6ec !important;
	color: #1f7a3d !important;
	border: 1px solid #bfe6c9 !important;
}
.dwc-feedback.dwc-feedback-error {
	display: block !important;
	padding: 14px 16px !important;
	background: #fdeaea !important;
	color: #b42318 !important;
	border: 1px solid #f3c2c2 !important;
}

.dwc-submit {
	all: unset !important;
	box-sizing: border-box !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	width: 100% !important;
	background: var(--dwc-primary) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 17px 20px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: 1px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	text-align: center !important;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06) !important;
	transition: background .15s ease, box-shadow .15s ease, transform .1s ease;
}
.dwc-submit:hover {
	background: var(--dwc-primary-light) !important;
	box-shadow: 0 6px 16px rgba(11, 31, 78, 0.25) !important;
}
.dwc-submit:active { transform: translateY(1px); }
.dwc-submit:disabled { opacity: 0.7 !important; cursor: not-allowed !important; }

.dwc-spinner {
	display: none;
	width: 16px !important;
	height: 16px !important;
	border: 2px solid rgba(255, 255, 255, 0.4) !important;
	border-top-color: #fff !important;
	border-radius: 50% !important;
	animation: dwc-spin 0.7s linear infinite;
}
.dwc-submit.dwc-loading .dwc-spinner { display: inline-block !important; }
.dwc-submit.dwc-loading .dwc-btn-text { opacity: 0.85; }

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

.dwc-field.dwc-field-invalid input,
.dwc-field.dwc-field-invalid select,
.dwc-field.dwc-field-invalid textarea {
	border-color: var(--dwc-danger) !important;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
	.dwc-wrap { padding: 40px clamp(20px, 5vw, 48px) !important; }
	.dwc-grid {
		grid-template-columns: 1fr !important;
		gap: 40px !important;
	}
}

@media (max-width: 640px) {
	.dwc-wrap { padding: 28px 20px !important; }
	.dwc-heading { font-size: 19px !important; margin-bottom: 18px !important; padding-left: 12px !important; }
	.dwc-cards { grid-template-columns: 1fr !important; gap: 12px !important; }
	.dwc-row-2 { grid-template-columns: 1fr !important; gap: 16px !important; }
	.dwc-card { padding: 16px !important; }
	.dwc-field input,
	.dwc-field select,
	.dwc-field textarea { padding: 12px 14px !important; }
	.dwc-field select { padding-right: 38px !important; background-position: right 12px center !important; }
	.dwc-socials { gap: 14px !important; justify-content: space-between !important; }
	.dwc-social { width: 64px !important; }
	.dwc-social-name { font-size: 10px !important; }
	.dwc-submit { padding: 15px 18px !important; font-size: 14px !important; }
}

@media (max-width: 360px) {
	.dwc-wrap { padding: 22px 16px !important; }
}
