/* ============================================================
   BAYOUPEP USA — CUSTOM CONTACT FORM
   ============================================================ */
.bp-contact {
	max-width: 720px;
	margin: 40px auto;
	padding: clamp(24px, 4vw, 44px);
}
.bp-contact__head { margin-bottom: 26px; }
.bp-contact__head h2 { font-size: clamp(28px, 4vw, 46px); margin: 0 0 8px; }
.bp-contact__head p { color: var(--bp-muted); font-size: 15px; line-height: 1.6; margin: 0; }

.bp-contact__form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.bp-field { display: flex; flex-direction: column; gap: 7px; }
.bp-field--full { grid-column: 1 / -1; }
.bp-field label {
	font-family: var(--bp-caps);
	font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
	color: var(--bp-muted);
}
.bp-field input,
.bp-field textarea {
	background: var(--bp-bg-2);
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-radius-sm);
	color: var(--bp-ink);
	padding: 13px 15px;
	font-family: var(--bp-font);
	font-size: 15px;
	transition: border-color .18s, box-shadow .18s;
}
.bp-field input:focus,
.bp-field textarea:focus {
	outline: none;
	border-color: var(--bp-primary);
	box-shadow: 0 0 0 3px rgba(var(--bp-primary-rgb),0.18);
}
.bp-field.is-error input,
.bp-field.is-error textarea { border-color: #ff5d73; box-shadow: 0 0 0 3px rgba(255,93,115,.15); }

.bp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bp-contact__foot {
	grid-column: 1 / -1;
	display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
	margin-top: 6px;
}
.bp-contact__status { font-size: 14px; }
.bp-contact__status.is-ok { color: #4ade80; }
.bp-contact__status.is-bad,
.bp-contact__status.is-err { color: #ff5d73; }
.bp-contact__form.is-loading .bp-btn { opacity: .65; pointer-events: none; }

/* Dynamic form-builder field types */
.bp-field select {
	background: var(--bp-bg-2);
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-radius-sm);
	color: var(--bp-ink);
	padding: 13px 15px;
	font-family: var(--bp-font);
	font-size: 15px;
	transition: border-color .18s, box-shadow .18s;
}
.bp-field select:focus {
	outline: none;
	border-color: var(--bp-primary);
	box-shadow: 0 0 0 3px rgba(var(--bp-primary-rgb),0.18);
}
.bp-field__check {
	flex-direction: row !important;
	align-items: center;
	gap: 10px;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-family: var(--bp-font) !important;
	font-size: 14px !important;
	color: var(--bp-ink) !important;
	cursor: pointer;
}
.bp-field__check input { width: 18px; height: 18px; padding: 0; flex: none; }

@media (max-width: 600px) { .bp-contact__form { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT PAGE TEMPLATE (page-contact.php)
   ============================================================ */
.bp-contactpage { overflow: hidden; }

/* ---- Hero ---- */
.bp-ct-hero { padding: clamp(150px, 9vw, 110px) 0 clamp(28px, 4vw, 48px); }
.bp-ct-hero__inner { text-align: center; max-width: 760px; }
.bp-ct-hero .bp-eyebrow { display: inline-block; margin-bottom: 16px; }
.bp-ct-hero__title {
	font-size: clamp(44px, 8vw, 92px);
	line-height: 0.98;
	margin: 0 0 18px;
}
.bp-ct-hero__intro {
	color: var(--bp-muted);
	font-size: clamp(15px, 1.5vw, 18px);
	line-height: 1.7;
	margin: 0 auto;
	max-width: 600px;
}
.bp-ct-hero__rule {
	display: block;
	width: 72px;
	height: 3px;
	margin: 28px auto 0;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--bp-primary), var(--bp-accent));
	box-shadow: var(--bp-glow);
}

/* ---- Two-column body ---- */
.bp-ct-body { padding: clamp(8px, 2vw, 24px) 0 clamp(56px, 8vw, 104px); }
.bp-ct-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(20px, 3vw, 40px);
	align-items: start;
}
.bp-ct-aside { display: flex; flex-direction: column; gap: clamp(18px, 2.4vw, 26px); }

/* ---- Info cards ---- */
.bp-ct-info {
	padding: clamp(22px, 3vw, 34px);
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.bp-ct-info__row { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.bp-ct-info__ico {
	width: 46px; height: 46px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 12px;
	background: rgba(var(--bp-primary-rgb), 0.14);
	border: 1px solid var(--bp-line);
	color: var(--bp-accent);
}
.bp-ct-info__ico svg { width: 22px; height: 22px; }
.bp-ct-info__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bp-ct-info__label {
	font-family: var(--bp-caps);
	font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--bp-muted);
}
.bp-ct-info__value {
	color: var(--bp-ink);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	word-break: break-word;
	text-decoration: none;
}
a.bp-ct-info__value:hover { color: var(--bp-accent); }
.bp-ct-info__note { color: var(--bp-muted); font-size: 13px; line-height: 1.55; }

/* ---- FAQ accordion ---- */
.bp-ct-faq { padding: clamp(22px, 3vw, 34px); }
.bp-ct-faq__title { font-size: clamp(20px, 2.4vw, 26px); margin: 0 0 18px; }
.bp-ct-faq__list { display: flex; flex-direction: column; }
.bp-ct-faq__item {
	border-top: 1px solid var(--bp-line);
	padding: 4px 0;
}
.bp-ct-faq__item:last-child { border-bottom: 1px solid var(--bp-line); }
.bp-ct-faq__q {
	list-style: none;
	cursor: pointer;
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
	padding: 16px 2px;
	color: var(--bp-ink);
	font-size: 15px; font-weight: 500; line-height: 1.5;
	transition: color 0.18s;
}
.bp-ct-faq__q::-webkit-details-marker { display: none; }
.bp-ct-faq__q:hover { color: var(--bp-accent); }
.bp-ct-faq__ico {
	position: relative;
	flex: none;
	width: 18px; height: 18px;
}
.bp-ct-faq__ico::before,
.bp-ct-faq__ico::after {
	content: "";
	position: absolute;
	background: var(--bp-accent);
	border-radius: 2px;
	transition: transform 0.22s ease, opacity 0.22s ease;
}
.bp-ct-faq__ico::before { top: 8px; left: 0; width: 18px; height: 2px; }
.bp-ct-faq__ico::after { top: 0; left: 8px; width: 2px; height: 18px; }
.bp-ct-faq__item[open] .bp-ct-faq__ico::after { transform: scaleY(0); opacity: 0; }
.bp-ct-faq__a {
	padding: 0 2px 18px;
	color: var(--bp-muted);
	font-size: 14px; line-height: 1.7;
}
.bp-ct-faq__a p:first-child { margin-top: 0; }
.bp-ct-faq__a p:last-child { margin-bottom: 0; }

/* ---- Form wrapper / pro form ---- */
.bp-ct-formwrap { position: relative; }
.bp-cform { padding: clamp(24px, 3.4vw, 40px); }
.bp-cform__title { font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 8px; }
.bp-cform__intro { color: var(--bp-muted); font-size: 15px; line-height: 1.6; margin: 0 0 24px; }
.bp-cform__form { grid-template-columns: 1fr; gap: 16px; }
.bp-req { color: var(--bp-accent); }
.bp-field__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bp-field__cols input { width: 100%; box-sizing: border-box; }
.bp-cform__form input,
.bp-cform__form textarea { width: 100%; box-sizing: border-box; }
.bp-cform__submit { width: 100%; justify-content: center; padding-block: 15px; }

/* ---- Upload dropzone ---- */
.bp-upload__drop {
	position: relative;
	border: 1.5px dashed var(--bp-line);
	border-radius: var(--bp-radius);
	background: rgba(var(--bp-primary-rgb), 0.05);
	padding: 28px 18px;
	text-align: center;
	transition: border-color 0.18s, background 0.18s;
}
.bp-upload__drop.is-drag { border-color: var(--bp-primary); background: rgba(var(--bp-primary-rgb), 0.12); }
.bp-upload__input {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	opacity: 0; cursor: pointer;
	padding: 0 !important; border: 0 !important;
}
.bp-upload__hint { margin: 0; color: var(--bp-muted); font-size: 14px; }
.bp-upload__browse { color: var(--bp-accent); font-weight: 600; text-decoration: underline; }
.bp-upload__limit { display: block; margin-top: 6px; color: var(--bp-muted); font-size: 12px; opacity: 0.8; }
.bp-upload__list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bp-upload__list li {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	background: var(--bp-bg-2);
	border: 1px solid var(--bp-line);
	border-radius: var(--bp-radius-sm);
	padding: 9px 12px;
	font-size: 13px; color: var(--bp-ink);
}
.bp-upload__list .bp-upload__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-upload__list .bp-upload__size { color: var(--bp-muted); flex: none; font-family: var(--bp-mono); font-size: 11px; }
.bp-upload__note { margin: 10px 0 0; color: var(--bp-muted); font-size: 12px; line-height: 1.55; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
	.bp-ct-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.bp-field__cols { grid-template-columns: 1fr; }
}
