/* ── Page background (paper) ── */

body {
	background: url("../assets/images/bgTexture.webp");
	background-blend-mode: multiply;
	background-position: center;
	background-size: cover;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
	mix-blend-mode: multiply;
	opacity: 0.32;
}

/* ── Layout ── */

.cSection {
	position: relative;
}

.cSection::before,
.cSection::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 5px;
	background: var(--gold-beam);
	z-index: 2;
}

.cSection::before {
	top: 0;
}

.cSection::after {
	bottom: 0;
}

.cContainer {
	max-width: 1300px;
	margin: 0 auto;
	padding: 300px 35px 72px;
	position: relative;
	z-index: 1;
	text-align: center;
}

/* ── Brand block (crest + wordmark) ── */

.cBrand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin-bottom: 28px;
}

.cBrand__crest {
	width: 110px;
	height: 96px;
	object-fit: contain;
	filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.14));
}

.cBrand__wordmark {
	font-family: "Playfair Display", serif;
	font-weight: 700;
	font-size: clamp(24px, 3.6vw, 32px);
	letter-spacing: 0.18em;
	color: #b48e30;
	margin: 0;
	transform: scaleY(0.9);
}

.cBrand__period {
	color: #b48e30;
}

/* ── Title ── */

.cTitle {
	font-family: "Playfair Display", serif;
	font-weight: 500;
	font-size: clamp(34px, 5.6vw, 54px);
	color: var(--ink);
	margin: 0 0 14px;
	letter-spacing: 0.005em;
	line-height: 1.15;
}

.cLede {
	font-family: "Libre Baskerville", serif;
	color: #5a554b;
	font-size: clamp(20px, 2vw, 25px);
	line-height: 1.55;
	max-width: 760px;
	margin: 0 auto 52px;
}

/* ── Category cards ── */

.cCategories {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
	margin: 0 auto 64px;
}

.cCategory {
	background: #fef9f5;
	border: 1px solid rgba(220, 195, 150, 0.3);
	box-shadow: 0 4px 12px rgba(60, 45, 20, 0.25);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.cCategory__header {
	background: url("../assets/images/bgGreenTexture.webp") center / cover no-repeat;
	color: #ead7b2;
	font-family: "Playfair Display", serif;
	font-weight: 700;
	padding: 20px 16px;
	margin: 0;
	border-bottom: 1px solid rgba(201, 162, 74, 0.55);
	box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.22);
	line-height: 1;
}

.cCategory__headerText {
	display: inline-block;
	font-size: 19px;
	letter-spacing: 0.22em;
	transform: scaleY(1.1);
	transform-origin: center;
}

.cCategory__body {
	padding: 24px 22px 28px;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cCategory__body p {
	margin: 0;
	font-family: "Libre Baskerville", serif;
	font-size: 17.5px;
	line-height: 1.55;
	color: #4a3f31;
}

/* ── Form header (gold title with side rules) ── */

.cFormHeader {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	margin-bottom: 32px;
}

.cFormHeader__line {
	flex: 1;
	max-width: 240px;
	height: 1px;
	background: linear-gradient(
		to right,
		rgba(180, 140, 63, 0),
		rgba(180, 140, 63, 0.55),
		rgba(180, 140, 63, 0)
	);
}

.cFormHeader__title {
	font-family: "Playfair Display", serif;
	font-weight: 500;
	font-size: clamp(26px, 3.8vw, 34px);
	color: #b48e30;
	margin: 0;
	letter-spacing: 0.02em;
	font-style: normal;
	transform: scaleY(0.92);
	white-space: nowrap;
}

/* ── Form ── */

.cForm {
	display: flex;
	flex-direction: column;
	gap: 21px;
	max-width: 780px;
	margin: 0 auto 36px;
}

.cField {
	display: block;
}

.cField__input {
	display: block;
	width: 100%;
	font-family: "Libre Baskerville", serif;
	font-size: 23px;
	color: var(--ink);
	background: #fef9f5;
	border: 1px solid rgba(220, 195, 150, 0.3);
	padding: 21px 24px;
	box-shadow: 0 2px 6px rgba(60, 45, 20, 0.25);
	transition:
		border-color 0.2s,
		box-shadow 0.2s,
		background 0.2s;
	outline: none;
}

.cField__input::placeholder {
	color: rgba(74, 63, 49, 0.62);
	font-style: normal;
}

.cField__input:hover {
	background: #fef9f5;
	border-color: rgba(220, 195, 150, 0.45);
}

.cField__input:focus {
	border-color: rgba(220, 195, 150, 0.3);
	box-shadow:
		0 6px 18px rgba(60, 45, 20, 0.22),
		inset 0 1px 3px rgba(60, 45, 20, 0.06);
}

.cField__input--textarea {
	resize: vertical;
	min-height: 195px;
	font-family: "Libre Baskerville", serif;
	line-height: 1.55;
}

.cForm__submit {
	display: flex;
	justify-content: center;
	margin-top: 21px;
}

.cForm__status {
	text-align: center;
	font-family: "Libre Baskerville", serif;
	font-size: 15px;
	min-height: 1.5em;
	margin: 0;
}

.cForm__status--ok {
	color: #2e6b51;
}

.cForm__status--err {
	color: #8b2e2e;
}

.cSendBtn {
	min-width: 270px;
	font-size: 22px;
	padding: 14px 32px;
	letter-spacing: 0.14em;
	color: #ead7b2;
	transform: scaleY(1.05);
	transform-origin: center;
}

.cSendBtn:hover {
	color: #efdfc4;
}

/* ── Direct info columns ── */

.cInfo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	max-width: 560px;
	margin: 56px auto 0;
	padding-top: 36px;
	border-top: 1px solid rgba(180, 140, 63, 0.28);
}

.cInfo__col {
	text-align: center;
}

.cInfo__title {
	font-family: "Playfair Display", serif;
	font-weight: 600;
	font-style: normal;
	font-size: 24px;
	color: #b48e30;
	margin: 0 0 12px;
	letter-spacing: 0.02em;
	transform: scaleY(0.92);
}

.cInfo__email {
	font-family: "Libre Baskerville", serif;
	font-size: 16px;
	color: #4a3f31;
	text-decoration: none;
	transition:
		color 0.2s,
		opacity 0.2s;
}

.cInfo__email:hover {
	color: var(--gold);
}

/* ── Responsive ── */

@media (max-width: 860px) {
	.cContainer {
		padding: 190px 22px 56px;
	}

	.cCategories {
		grid-template-columns: 1fr;
		gap: 16px;
		max-width: 420px;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 48px;
	}

	.cCategory__body {
		padding: 20px 22px 24px;
	}

	.cFormHeader {
		gap: 16px;
	}

	.cFormHeader__line {
		max-width: 100px;
	}

	.cFormHeader__title {
		font-size: 24px;
		white-space: normal;
	}

	.cLede {
		font-size: 19px;
	}

	.cInfo {
		grid-template-columns: 1fr;
		gap: 28px;
		max-width: 360px;
		margin-top: 48px;
	}
}

@media (max-width: 480px) {
	.cContainer {
		padding: 180px 18px 48px;
	}

	.cBrand__crest {
		width: 92px;
		height: 80px;
	}

	.cBrand__wordmark {
		font-size: 22px;
	}

	.cTitle {
		font-size: 30px;
	}

	.cLede {
		font-size: 17px;
	}

	.cCategory__headerText {
		font-size: 17px;
	}

	.cCategory__body p {
		font-size: 16px;
	}

	.cSendBtn {
		min-width: 0;
		width: 100%;
		max-width: 280px;
		font-size: 17px;
	}

	.cInfo__title {
		font-size: 21px;
	}
}
