/* ==========================================================================
   BO CLIM — Contact page. Scoped to body.bc-contact-body (the dedicated
   shell template). Same tokens, card recipe, field chrome and button
   language as the checkout and Merci pages.
   ========================================================================== */

body.bc-contact-body {
	--bc-navy: #0b2347;
	--bc-ink: #121414;
	--bc-ink-2: #5c6163;
	--bc-fine: #8a9097;
	--bc-paper: #ffffff;
	--bc-paper-2: #f7f8fa;
	--bc-line: #e2e5e8;
	--bc-accent: #0176d3;
	--bc-accent-ink: #0161ae;
	--bc-danger: #d92d20;
	--bc-success: #067647;
	--bc-radius-field: 11px;
	--bc-radius-card: 20px;

	margin: 0;
	background: var(--bc-paper-2);
	color: var(--bc-ink);
	font-family: "Inter", system-ui, -apple-system, sans-serif;
	font-size: 15px;
	line-height: 1.6;
}

body.bc-contact-body h1,
body.bc-contact-body h2,
body.bc-contact-body .bc-btn {
	font-family: "Inter Tight", "Inter", system-ui, sans-serif;
}

body.bc-contact-body input,
body.bc-contact-body select,
body.bc-contact-body textarea,
body.bc-contact-body button {
	font-family: inherit;
}

body.bc-contact-body input[type="checkbox"] {
	accent-color: var(--bc-accent);
}

.bc-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Shell header / footer
   -------------------------------------------------------------------------- */
.bc-shell-container {
	max-width: 1220px;
	margin-inline: auto;
	padding-inline: 24px;
}

.bc-shell-header {
	background: var(--bc-paper);
	border-bottom: 1px solid var(--bc-line);
}

.bc-shell-header .bc-shell-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 76px;
}

.bc-shell-logo img {
	display: block;
	height: 34px;
	width: auto;
}

.bc-shell-tag {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--bc-navy);
}

.bc-shell-footer {
	margin-top: 64px;
	background: #121414;
	color: rgba(227, 226, 226, 0.62);
	padding: 40px 0 28px;
}

.bc-shell-footer-grid {
	display: flex;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.bc-foot-logo-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 14px;
}

.bc-foot-logo {
	height: 32px;
	width: auto;
	filter: brightness(0) invert(1);
	opacity: 0.85;
}

.bc-foot-flag {
	width: 24px;
	height: 16px;
	border-radius: 3px;
	border: 1px solid rgba(255, 255, 255, 0.25);
}

.bc-foot-address {
	font-style: normal;
	font-size: 13px;
	line-height: 1.6;
}

.bc-foot-address strong {
	color: rgba(227, 226, 226, 0.75);
	font-weight: 500;
}

.bc-foot-legal ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 9px;
}

.bc-foot-legal a {
	color: rgba(227, 226, 226, 0.62);
	text-decoration: none;
	font-size: 13.5px;
	transition: color 180ms ease;
}

.bc-foot-legal a:hover {
	color: #66c7ff;
}

.bc-foot-legal a:focus-visible,
.bc-shell-logo:focus-visible {
	outline: 2px solid var(--bc-accent);
	outline-offset: 3px;
}

.bc-foot-colophon {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid rgba(227, 226, 226, 0.14);
	text-align: center;
	font-size: 12.5px;
	color: rgba(227, 226, 226, 0.4);
}

.bc-foot-colophon p {
	margin: 0 0 6px;
}

/* --------------------------------------------------------------------------
   Introduction
   -------------------------------------------------------------------------- */
.bc-contact-main {
	max-width: 980px;
	margin-inline: auto;
	padding-inline: 24px;
}

.bc-contact-intro {
	text-align: center;
	max-width: 640px;
	margin: 52px auto 32px;
}

.bc-eyebrow {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	color: var(--bc-accent-ink);
}

.bc-contact-intro h1 {
	margin: 14px 0 0;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--bc-navy);
}

.bc-contact-lede {
	margin: 16px 0 0;
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--bc-ink-2);
}

.bc-contact-reassure {
	margin: 10px 0 0;
	font-size: 13.5px;
	color: var(--bc-fine);
}

/* --------------------------------------------------------------------------
   Card + fields
   -------------------------------------------------------------------------- */
.bc-contact-card {
	background: var(--bc-paper);
	border: 1px solid var(--bc-line);
	border-radius: var(--bc-radius-card);
	box-shadow: 0 1px 2px rgba(18, 20, 20, 0.05), 0 14px 34px -18px rgba(18, 20, 20, 0.16);
	padding: 34px;
}

.bc-field {
	margin: 0 0 18px;
}

.bc-field > label,
.bc-upload-label {
	display: block;
	margin-bottom: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--bc-ink);
}

.bc-req {
	color: var(--bc-danger);
}

.bc-optional {
	margin-left: 6px;
	font-size: 12px;
	font-weight: 500;
	color: var(--bc-fine);
}

.bc-field input[type="text"],
.bc-field input[type="email"],
.bc-field select,
.bc-field textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 52px;
	padding: 12px 16px;
	border: 1px solid var(--bc-line);
	border-radius: var(--bc-radius-field);
	background: var(--bc-paper);
	font-size: 15px;
	color: var(--bc-navy);
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.bc-field ::placeholder {
	color: #9aa1a8;
}

.bc-field textarea {
	min-height: 220px;
	resize: vertical;
}

.bc-field input:focus,
.bc-field select:focus,
.bc-field textarea:focus {
	outline: none;
	border-color: var(--bc-accent);
	box-shadow: 0 0 0 3px rgba(1, 118, 211, 0.18);
}

.bc-field input[aria-invalid="true"],
.bc-field select[aria-invalid="true"],
.bc-field textarea[aria-invalid="true"] {
	border-color: var(--bc-danger);
	border-width: 1.5px;
}

.bc-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}

/* Honeypot: physically present, invisible to humans. */
.bc-hp {
	position: absolute !important;
	left: -9999px;
	top: auto;
}

/* --------------------------------------------------------------------------
   Upload zone + previews
   -------------------------------------------------------------------------- */
.bc-upload-help {
	margin: 0 0 10px;
	font-size: 13px;
	color: var(--bc-ink-2);
}

.bc-dropzone {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 26px 18px;
	border: 1.5px dashed var(--bc-line);
	border-radius: 14px;
	background: var(--bc-paper-2);
	text-align: center;
	cursor: pointer;
	transition: border-color 180ms ease, background-color 180ms ease;
}

.bc-dropzone svg {
	width: 26px;
	height: 26px;
	color: var(--bc-accent-ink);
	margin-bottom: 4px;
}

.bc-dropzone-main {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--bc-navy);
}

.bc-dropzone-sub {
	font-size: 12.5px;
	color: var(--bc-fine);
}

.bc-dropzone:hover,
.bc-dropzone.is-dragover {
	border-color: var(--bc-accent);
	background: #f0f7fd;
}

.bc-dropzone:focus-visible {
	outline: 2px solid var(--bc-accent);
	outline-offset: 3px;
}

.bc-file-list {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.bc-file-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border: 1px solid var(--bc-line);
	border-radius: 10px;
	background: var(--bc-paper);
}

.bc-file-thumb,
.bc-file-pdf {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	border-radius: 8px;
	border: 1px solid var(--bc-line);
	object-fit: cover;
	background: var(--bc-paper-2);
}

.bc-file-pdf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	color: var(--bc-danger);
}

.bc-file-meta {
	min-width: 0;
	flex: 1;
}

.bc-file-name {
	display: block;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--bc-ink);
	overflow-wrap: anywhere;
}

.bc-file-size {
	display: block;
	font-size: 12px;
	color: var(--bc-fine);
}

.bc-file-remove {
	flex: 0 0 auto;
	border: 0;
	background: transparent;
	color: var(--bc-ink-2);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	padding: 8px;
	border-radius: 8px;
	transition: color 180ms ease, background-color 180ms ease;
}

.bc-file-remove:hover {
	color: var(--bc-danger);
	background: #fef3f2;
}

.bc-file-remove:focus-visible {
	outline: 2px solid var(--bc-accent);
	outline-offset: 2px;
}

.bc-file-error {
	margin: 10px 0 0;
	font-size: 13.5px;
	color: var(--bc-danger);
}

/* --------------------------------------------------------------------------
   Privacy + submit + states
   -------------------------------------------------------------------------- */
.bc-privacy label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 13.5px;
	font-weight: 400;
	color: var(--bc-ink-2);
	line-height: 1.55;
}

.bc-privacy input {
	margin-top: 3px;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

.bc-privacy a {
	color: var(--bc-accent-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bc-submit {
	margin: 24px 0 0;
}

.bc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 0 30px;
	border: 0;
	border-radius: 13px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.bc-btn-primary {
	background: var(--bc-accent);
	color: #fff;
}

.bc-btn-primary:hover {
	background: var(--bc-accent-ink);
	box-shadow: 0 6px 16px rgba(1, 118, 211, 0.25);
}

.bc-btn-primary[disabled] {
	opacity: 0.6;
	cursor: default;
	box-shadow: none;
}

.bc-btn-secondary {
	background: var(--bc-paper);
	border: 1px solid var(--bc-line);
	color: var(--bc-navy);
}

.bc-btn-secondary:hover {
	border-color: var(--bc-accent);
	color: var(--bc-accent-ink);
}

.bc-btn:focus-visible {
	outline: 2px solid var(--bc-accent);
	outline-offset: 3px;
}

.bc-form-errors {
	margin: 0 0 22px;
	padding: 14px 18px;
	background: #fef3f2;
	border: 1px solid #f4c6c1;
	border-radius: 12px;
	color: #912018;
	font-size: 14px;
}

.bc-form-errors p {
	margin: 0 0 6px;
}

.bc-form-errors ul {
	margin: 6px 0 0;
	padding-left: 18px;
}

.bc-contact-success {
	text-align: center;
}

.bc-success-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 999px;
	border: 1.5px solid rgba(6, 118, 71, 0.35);
	background: #f0faf4;
	color: var(--bc-success);
}

.bc-success-icon svg {
	width: 30px;
	height: 30px;
}

.bc-contact-success h2 {
	margin: 16px 0 0;
	font-size: 26px;
	font-weight: 700;
	color: var(--bc-navy);
}

.bc-contact-success p {
	margin: 12px 0 0;
	color: var(--bc-ink-2);
}

.bc-success-ref strong {
	color: var(--bc-navy);
	font-size: 17px;
	letter-spacing: 0.01em;
}

.bc-success-actions {
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 26px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
	.bc-shell-container,
	.bc-contact-main {
		padding-inline: 16px;
	}

	.bc-contact-card {
		padding: 22px 18px;
	}

	.bc-row {
		grid-template-columns: 1fr;
	}

	.bc-submit .bc-btn,
	.bc-success-actions .bc-btn {
		width: 100%;
	}

	.bc-contact-intro {
		margin-top: 36px;
	}

	.bc-shell-footer-grid {
		flex-direction: column;
	}
}
