.pnc-calculator-wrapper,
.pnc-results {
	font-family: inherit;
	color: #2f221b;
}

.pnc-calculator-wrapper {
	max-width: 680px;
	margin: 50px auto;
	padding: 38px;
	background:
		linear-gradient(135deg, rgba(251,225,225,.95), rgba(255,255,255,.98));
	border: 1px solid rgba(99,52,26,.12);
	border-radius: 28px;
	box-shadow: 0 24px 70px rgba(99,52,26,.12);
	position: relative;
	overflow: hidden;
}

.pnc-calculator-wrapper::before {
	content: "";
	position: absolute;
	width: 180px;
	height: 180px;
	right: -70px;
	top: -70px;
	background: rgba(99,52,26,.12);
	border-radius: 999px;
}

.pnc-calculator-title {
	margin: 0 0 10px;
	font-size: 32px;
	line-height: 1.15;
	color: #63341a;
	position: relative;
}

.pnc-calculator-subtitle {
	margin: 0 0 28px;
	font-size: 16px;
	line-height: 1.6;
	color: rgba(47,34,27,.72);
	position: relative;
}

.pnc-calculator-form {
	position: relative;
}

.pnc-field {
	margin-bottom: 22px;
}

.pnc-field label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 700;
	color: #63341a;
}

.pnc-field input {
	width: 100%;
	box-sizing: border-box;
	padding: 16px 18px;
	border: 1px solid rgba(99,52,26,.18);
	border-radius: 16px;
	background: rgba(255,255,255,.88);
	color: #2f221b;
	font-size: 16px;
	outline: none;
	transition: all .2s ease;
}

.pnc-field input:focus {
	border-color: #63341a;
	box-shadow: 0 0 0 4px rgba(99,52,26,.12);
	background: #fff;
}

.pnc-submit {
	width: 100%;
	margin-top: 6px;
	padding: 16px 22px;
	border: none;
	border-radius: 18px;
	background: linear-gradient(135deg, #63341a, #8b5230);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 14px 30px rgba(99,52,26,.25);
	transition: all .2s ease;
}

.pnc-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 38px rgba(99,52,26,.32);
}

.pnc-error {
	max-width: 680px;
	margin: 20px auto;
	padding: 14px 18px;
	border-radius: 14px;
	background: #fff1f1;
	border: 1px solid #ffd0d0;
	color: #9b1c1c;
}

.pnc-results {
	max-width: 1180px;
	margin: 55px auto;
}

.pnc-results-header {
	margin-bottom: 24px;
	padding: 30px;
	background:
		linear-gradient(135deg, #63341a, #8b5230);
	color: #fff;
	border-radius: 28px;
	box-shadow: 0 24px 70px rgba(99,52,26,.18);
	position: relative;
	overflow: hidden;
}

.pnc-results-header::after {
	content: "";
	position: absolute;
	width: 220px;
	height: 220px;
	right: -90px;
	top: -90px;
	border-radius: 999px;
	background: rgba(255,255,255,.12);
}

.pnc-results-header h2 {
	margin: 0 0 14px;
	font-size: 34px;
	line-height: 1.15;
	color: #fff;
	position: relative;
}

.pnc-results-header p {
	margin: 6px 0;
	color: rgba(255,255,255,.88);
	position: relative;
}

.pnc-results-header strong {
	color: #fff;
}

.pnc-map-layout {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.pnc-box {
	background: #fff;
	border: 1px solid rgba(99,52,26,.10);
	border-radius: 24px;
	padding: 24px;
	box-shadow: 0 16px 45px rgba(99,52,26,.08);
}

.pnc-box-wide {
	grid-column: 1 / -1;
}

.pnc-box h3 {
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(99,52,26,.10);
	font-size: 20px;
	color: #63341a;
}

.pnc-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 13px 0;
	border-bottom: 1px solid rgba(99,52,26,.08);
}

.pnc-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.pnc-row span,
.pnc-mini-grid span {
	font-size: 14px;
	font-weight: 600;
	color: rgba(47,34,27,.68);
}

.pnc-row strong {
	min-width: 54px;
	padding: 8px 12px;
	border-radius: 999px;
	background: #fbe1e1;
	color: #63341a;
	text-align: center;
	font-size: 20px;
	line-height: 1;
}

.pnc-mini-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.pnc-mini-grid > div {
	padding: 20px 14px;
	border-radius: 20px;
	background:
		linear-gradient(135deg, rgba(251,225,225,.9), rgba(255,255,255,.95));
	border: 1px solid rgba(99,52,26,.10);
	text-align: center;
}

.pnc-mini-grid span {
	display: block;
	margin-bottom: 10px;
}

.pnc-mini-grid strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 52px;
	min-height: 52px;
	padding: 8px;
	border-radius: 999px;
	background: #63341a;
	color: #fff;
	font-size: 22px;
	line-height: 1;
}

@media (max-width: 900px) {
	.pnc-map-layout {
		grid-template-columns: 1fr;
	}

	.pnc-mini-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.pnc-calculator-wrapper,
	.pnc-results-header,
	.pnc-box {
		border-radius: 20px;
		padding: 22px;
	}

	.pnc-calculator-title,
	.pnc-results-header h2 {
		font-size: 26px;
	}

	.pnc-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.pnc-row strong {
		text-align: left;
	}

	.pnc-mini-grid {
		grid-template-columns: 1fr;
	}
}