/* ==========================================================================
   StarzMeet — Contact page (child theme override of template-contact.php)
   Content-first two-column layout, StarzMeet design language.
   Tokens mirror assets/css/starzmeet-single.css: teal #7c3aed, slate greys.
   ========================================================================== */

.sm-contact {
	--sm-teal: #7c3aed;
	--sm-teal-dark: #6d28d9;
	--sm-ink: #0f172a;
	--sm-muted: #64748b;
	--sm-line: #e5e7eb;
	--sm-soft: #f8fafc;
	--sm-mint: #e8f5f0;
	--sm-mint-line: #b7e3d4;
	background: var(--sm-soft);
	padding: 48px 20px 64px;
}

.sm-contact__wrap {
	max-width: 1140px;
	margin: 0 auto;
}

/* ---- Header ------------------------------------------------------------- */
.sm-contact__head {
	margin-bottom: 36px;
}
.sm-contact__title {
	font-size: 34px;
	line-height: 1.15;
	font-weight: 700;
	color: var(--sm-ink);
	margin: 0 0 10px;
}
.sm-contact__lead {
	font-size: 17px;
	line-height: 1.6;
	color: var(--sm-muted);
	max-width: 640px;
	margin: 0 0 20px;
}
.sm-contact__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.sm-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	background: #fff;
	border: 1px solid var(--sm-line);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	color: var(--sm-ink);
	text-decoration: none;
	transition: border-color .15s, box-shadow .15s, color .15s;
}
a.sm-chip:hover {
	color: var(--sm-teal-dark);
	border-color: var(--sm-mint-line);
	box-shadow: 0 2px 8px rgba(15, 123, 95, .10);
}
.sm-chip i {
	color: var(--sm-teal);
	font-size: 14px;
}
.sm-chip--static {
	background: var(--sm-mint);
	border-color: var(--sm-mint-line);
	color: var(--sm-teal-dark);
}
.sm-chip--static i { color: var(--sm-teal-dark); }

/* ---- Two-column grid --------------------------------------------------- */
.sm-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	gap: 40px;
	align-items: start;
}

/* ---- Left: written content -------------------------------------------- */
.sm-contact__content {
	background: #fff;
	border: 1px solid var(--sm-line);
	border-radius: 14px;
	padding: 32px 34px;
	color: #334155;
	font-size: 15.5px;
	line-height: 1.7;
}
.sm-contact__content > p:first-child {
	font-size: 17px;
	color: var(--sm-ink);
}
.sm-contact__content h2 {
	font-size: 19px;
	font-weight: 700;
	color: var(--sm-ink);
	margin: 28px 0 10px;
	padding-top: 22px;
	border-top: 1px solid var(--sm-line);
}
.sm-contact__content h2:first-of-type,
.sm-contact__content > *:first-child + h2 { }
.sm-contact__content p { margin: 0 0 14px; }
.sm-contact__content ul {
	margin: 0 0 16px;
	padding-left: 0;
	list-style: none;
}
.sm-contact__content ul li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 8px;
}
.sm-contact__content ul li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--sm-teal);
}
.sm-contact__content a {
	color: var(--sm-teal-dark);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--sm-mint-line);
}
.sm-contact__content a:hover { border-bottom-color: var(--sm-teal-dark); }
.sm-contact__content em { color: var(--sm-muted); }

/* ---- Right: sticky form card ------------------------------------------ */
.sm-contact__aside {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.sm-card {
	background: #fff;
	border: 1px solid var(--sm-line);
	border-radius: 14px;
	padding: 26px 24px;
	box-shadow: 0 8px 28px rgba(15, 23, 42, .06);
}
.sm-card__title {
	font-size: 20px;
	font-weight: 700;
	color: var(--sm-ink);
	margin: 0 0 6px;
}
.sm-card__hint {
	font-size: 13.5px;
	color: var(--sm-muted);
	margin: 0 0 20px;
}
.sm-card__hint a {
	color: var(--sm-teal-dark);
	font-weight: 600;
	text-decoration: none;
}

/* ---- Form -------------------------------------------------------------- */
.sm-form__row { margin-bottom: 16px; }
.sm-form__row--split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.sm-form__field { display: flex; flex-direction: column; }
.sm-form__field label {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--sm-ink);
	margin-bottom: 6px;
	text-transform: none;
}
.sm-form input[type="text"],
.sm-form input[type="email"],
.sm-form textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--sm-line);
	border-radius: 9px;
	background: #fff;
	font-size: 14.5px;
	color: var(--sm-ink);
	line-height: 1.4;
	transition: border-color .15s, box-shadow .15s;
	box-shadow: none;
}
.sm-form input::placeholder,
.sm-form textarea::placeholder { color: #9aa4b2; }
.sm-form input:focus,
.sm-form textarea:focus {
	outline: none;
	border-color: var(--sm-teal);
	box-shadow: 0 0 0 3px rgba(15, 123, 95, .14);
}
.sm-form textarea { resize: vertical; min-height: 120px; }

.sm-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 13px;
	color: var(--sm-muted);
}
.sm-form__consent input { margin-top: 3px; }
.sm-form__consent a { color: var(--sm-teal-dark); font-weight: 600; text-decoration: none; }

/* Submit button — override the theme's default button chrome. */
.sm-form .sm-btn,
.sm-form input[type="submit"].sm-btn {
	display: inline-block;
	width: 100%;
	padding: 13px 20px;
	background: var(--sm-teal);
	color: #fff;
	border: 0;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s, transform .05s;
}
.sm-form .sm-btn:hover { background: var(--sm-teal-dark); }
.sm-form .sm-btn:active { transform: translateY(1px); }
.sm-form .sm-btn:disabled {
	background: #cbd5e1;
	cursor: not-allowed;
}
.sm-form .statuss { text-align: center; margin-top: 12px; color: var(--sm-teal); }

.sm-form__notice {
	margin-top: 14px;
	padding: 11px 14px;
	border-radius: 9px;
	font-size: 14px;
}
.sm-form__notice p { margin: 0; }
.sm-form__notice--ok {
	background: var(--sm-mint);
	border: 1px solid var(--sm-mint-line);
	color: var(--sm-teal-dark);
}
.sm-form__notice--err {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
}

/* If the CubeWP/WPForms shortcode path is used, keep its inputs on-brand. */
.sm-card .cwp-frontend-form-container input:not([type="submit"]),
.sm-card .cwp-frontend-form-container textarea,
.sm-card .wpforms-field input,
.sm-card .wpforms-field textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--sm-line);
	border-radius: 9px;
}

/* ---- Social card ------------------------------------------------------- */
.sm-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}
.sm-social li { margin: 0; }
.sm-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--sm-soft);
	border: 1px solid var(--sm-line);
	color: var(--sm-muted);
	font-size: 16px;
	transition: background .15s, color .15s, border-color .15s;
}
.sm-social a:hover {
	background: var(--sm-mint);
	border-color: var(--sm-mint-line);
	color: var(--sm-teal-dark);
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 900px) {
	.sm-contact__grid {
		grid-template-columns: 1fr;
		gap: 26px;
	}
	.sm-contact__aside {
		position: static;
		order: -1; /* form first on mobile — quicker path to action */
	}
}
@media (max-width: 560px) {
	.sm-contact { padding: 32px 14px 48px; }
	.sm-contact__title { font-size: 27px; }
	.sm-contact__content { padding: 24px 20px; }
	.sm-form__row--split { grid-template-columns: 1fr; }
}
