/* ============================================================
   TheoB — Contact / CTA  |  theoasso/theobills-contact
   ============================================================ */

.theoasso-tbcontact {
	background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(108, 99, 255, 0.18) 0%, transparent 70%), #0a0a0a;
	color: #fff;
	padding: 96px 32px;
	box-sizing: border-box;
}

.theoasso-tbcontact.alignfull,
.wp-block-theoasso-theobills-contact.alignfull {
	width: calc(100vw - 64px);
	max-width: calc(100vw - 64px);
	margin-left: calc(50% - 50vw + 32px);
	margin-right: calc(50% - 50vw + 32px);
}

@supports (overflow: clip) {
	.theoasso-tbcontact {
		overflow-x: clip;
	}
}

/* ---- Inner ---- */

.theoasso-tbcontact__inner {
	max-width: 1080px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: start;
}

/* ---- Text ---- */

.theoasso-tbcontact__title {
	margin: 0 0 20px;
	font-family: var(--wp--preset--font-family--google-sans-flex), sans-serif;
	font-weight: 600;
	font-size: clamp(28px, 3.5vw, 46px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #fff;
}

.theoasso-tbcontact__desc {
	margin: 0;
	font-size: clamp(16px, 1.5vw, 19px);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.65);
}

/* ---- Form area ---- */

.theoasso-tbcontact__form {
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 8px 48px rgba(0, 0, 0, 0.45);
}

/* CF7 override inside this block */
.theoasso-tbcontact__form .wpcf7-form input[type="text"],
.theoasso-tbcontact__form .wpcf7-form input[type="email"],
.theoasso-tbcontact__form .wpcf7-form input[type="tel"],
.theoasso-tbcontact__form .wpcf7-form textarea {
	width: 100%;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 10px;
	padding: 12px 16px;
	font-size: 15px;
	box-sizing: border-box;
	color: #fff;
}

.theoasso-tbcontact__form .wpcf7-form input[type="submit"] {
	background: #6c63ff;
	color: #fff;
	border: none;
	border-radius: 50px;
	padding: 14px 36px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
	margin-top: 8px;
	transition: background 0.2s;
}

.theoasso-tbcontact__form .wpcf7-form input[type="submit"]:hover {
	background: #5a52e0;
}

.theoasso-tbcontact__missing {
	color: rgba(255, 255, 255, 0.35);
	font-style: italic;
	font-size: 14px;
}

/* ---- Store badges ---- */

.theoasso-tbcontact__stores {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	margin-top: 36px;
}

.theoasso-tbcontact__store-link {
	display: inline-block;
	line-height: 0;
	transition: opacity 0.2s, transform 0.2s;
}

.theoasso-tbcontact__store-link:hover {
	opacity: 0.85;
	transform: translateY(-2px);
}

.theoasso-tbcontact__stores img {
	height: 54px;
	width: auto;
	display: block;
}

/* ---- Responsive ---- */

@media (max-width: 820px) {
	.theoasso-tbcontact__inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}
