/* ============ Layout shell ============ */
.sw-cf-wrap {
	--sw-cf-accent: #7a5a2f;
	max-width: 900px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	border-radius: 14px;
	overflow: hidden;
	box-sizing: border-box;
}
.sw-cf-wrap * { box-sizing: border-box; }
.sw-cf-panel { padding: 40px; }
.sw-cf-heading {
	margin: 0 0 8px 0;
	font-size: 28px;
	line-height: 1.2;
}
.sw-cf-intro {
	margin: 0 0 24px 0;
	font-size: 16px;
	line-height: 1.6;
	opacity: 0.85;
}

/* ============ Form fields ============ */
.sw-cf-form { display: flex; flex-direction: column; gap: 16px; }
.sw-cf-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) {
	.sw-cf-row { grid-template-columns: 1fr 1fr; }
}
.sw-cf-field label {
	display: block;
	font-weight: 700;
	margin-bottom: 6px;
	font-size: 15px;
}
.sw-cf-field input,
.sw-cf-field select,
.sw-cf-field textarea {
	width: 100%;
	padding: 13px 14px;
	font-size: 16px;
	border-radius: 8px;
	font-family: inherit;
}
.sw-cf-field input:focus,
.sw-cf-field select:focus,
.sw-cf-field textarea:focus {
	outline: 3px solid var(--sw-cf-accent);
	outline-offset: 1px;
}
.sw-cf-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sw-cf-submit {
	padding: 16px 24px;
	font-size: 17px;
	font-weight: 700;
	color: #fff;
	background-color: var(--sw-cf-accent);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	min-height: 52px;
	transition: opacity 0.15s ease;
}
.sw-cf-submit:hover { opacity: 0.9; }
.sw-cf-submit:disabled { opacity: 0.6; cursor: default; }
.sw-cf-status { font-size: 15px; font-weight: 600; min-height: 20px; }

/* ============ Skin: Parchment ============ */
.sw-cf-skin-parchment {
	--sw-cf-accent: #8a5a2b;
	background: #f6efe0;
	background-image:
		radial-gradient(circle at 15% 20%, rgba(138,90,43,0.05) 0%, transparent 45%),
		radial-gradient(circle at 85% 80%, rgba(138,90,43,0.05) 0%, transparent 45%);
	border: 1px solid #ddcaa3;
	box-shadow: 0 6px 24px rgba(90,60,20,0.08);
}
.sw-cf-skin-parchment .sw-cf-heading { color: #5a3d1a; font-family: Georgia, 'Times New Roman', serif; }
.sw-cf-skin-parchment .sw-cf-intro { color: #6b5636; }
.sw-cf-skin-parchment .sw-cf-field label { color: #5a3d1a; }
.sw-cf-skin-parchment .sw-cf-field input,
.sw-cf-skin-parchment .sw-cf-field select,
.sw-cf-skin-parchment .sw-cf-field textarea {
	background: #fffdf8;
	border: 2px solid #ddcaa3;
	color: #3d2c15;
}

/* ============ Skin: Light & Airy ============ */
.sw-cf-skin-light {
	--sw-cf-accent: #6b7fd7;
	background: #ffffff;
	border: 1px solid #e6e9f5;
	box-shadow: 0 6px 24px rgba(60,70,140,0.07);
}
.sw-cf-skin-light .sw-cf-heading { color: #2c3358; }
.sw-cf-skin-light .sw-cf-intro { color: #5b6285; }
.sw-cf-skin-light .sw-cf-field label { color: #2c3358; }
.sw-cf-skin-light .sw-cf-field input,
.sw-cf-skin-light .sw-cf-field select,
.sw-cf-skin-light .sw-cf-field textarea {
	background: #f7f8fd;
	border: 2px solid #e0e4f5;
	color: #22264a;
}

/* ============ Skin: Dark Elegant ============ */
.sw-cf-skin-dark {
	--sw-cf-accent: #c9a24a;
	background: #1c1a2b;
	background-image: radial-gradient(circle at 20% 10%, rgba(201,162,74,0.10) 0%, transparent 50%);
	border: 1px solid #33304a;
	box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.sw-cf-skin-dark .sw-cf-heading { color: #f3e6c8; font-family: Georgia, 'Times New Roman', serif; }
.sw-cf-skin-dark .sw-cf-intro { color: #cfc9e0; }
.sw-cf-skin-dark .sw-cf-field label { color: #e7dcc0; }
.sw-cf-skin-dark .sw-cf-field input,
.sw-cf-skin-dark .sw-cf-field select,
.sw-cf-skin-dark .sw-cf-field textarea {
	background: #262440;
	border: 2px solid #423d63;
	color: #f1ecff;
}
.sw-cf-skin-dark .sw-cf-status { color: #e7dcc0; }

/* ============ Skin: Card with Image ============ */
.sw-cf-skin-card-image {
	background: #fff;
	border: 1px solid #eee;
	box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}
@media (min-width: 768px) {
	.sw-cf-skin-card-image { grid-template-columns: 1fr 1.2fr; }
}
.sw-cf-card-image {
	position: relative;
	min-height: 220px;
	overflow: hidden;
}
@media (min-width: 768px) {
	.sw-cf-card-image { min-height: 100%; }
}
.sw-cf-card-image-layer {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1.2s ease;
}
.sw-cf-card-image-layer.is-active { opacity: 1; }
.sw-cf-skin-card-image .sw-cf-heading { color: #2b2b2b; }
.sw-cf-skin-card-image .sw-cf-intro { color: #666; }
.sw-cf-skin-card-image .sw-cf-field label { color: #2b2b2b; }
.sw-cf-skin-card-image .sw-cf-field input,
.sw-cf-skin-card-image .sw-cf-field select,
.sw-cf-skin-card-image .sw-cf-field textarea {
	background: #fafafa;
	border: 2px solid #e2e2e2;
	color: #222;
}
