/**
 * Feedback demo page.
 */

.feedback-demo-page {
	background: #fbfaf7;
}

.feedback-hero {
	padding: clamp(56px, 8vw, 96px) 0 clamp(34px, 5vw, 64px);
	background: #fff;
}

.feedback-hero__inner {
	text-align: center;
}

.feedback-hero__title {
	margin: 12px 0 0;
	color: #25211d;
	font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(2.1rem, 5vw, 4rem);
	font-weight: 500;
	line-height: 1.55;
	letter-spacing: 0;
}

.feedback-hero__lead {
	max-width: 720px;
	margin: 20px auto 0;
	color: #5e5850;
	font-size: clamp(1.4rem, 2.2vw, 1.7rem);
	line-height: 2;
}

.feedback-demo {
	padding: clamp(42px, 7vw, 86px) 0;
}

.feedback-demo__container {
	max-width: 860px;
}

.feedback-form,
.feedback-result__panel {
	padding: clamp(26px, 5vw, 48px);
	border: 1px solid rgba(173, 141, 94, 0.28);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 48px rgba(76, 62, 44, 0.08);
}

.feedback-form__group {
	min-width: 0;
	margin: 0 0 28px;
	padding: 0;
	border: 0;
}

.feedback-form__group legend,
.feedback-form__label {
	display: block;
	margin: 0 0 12px;
	color: #2e2924;
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1.7;
}

.feedback-rating {
	display: inline-flex;
	flex-direction: row-reverse;
	gap: 8px;
	align-items: center;
}

.feedback-rating input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.feedback-rating label {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	color: #d9c9ad;
	cursor: pointer;
	font-size: 4rem;
	line-height: 1;
	transition: color 0.18s ease, transform 0.18s ease;
}

.feedback-rating label:hover,
.feedback-rating label:hover ~ label,
.feedback-rating input:checked ~ label {
	color: #b9945f;
}

.feedback-rating input:focus-visible + label {
	outline: 2px solid #8f6f3e;
	outline-offset: 4px;
	border-radius: 4px;
}

.feedback-rating label:hover {
	transform: translateY(-2px);
}

.feedback-form__hint,
.feedback-result__note {
	margin: 12px 0 0;
	color: #756f68;
	font-size: 1.3rem;
	line-height: 1.8;
}

.feedback-form__control {
	width: 100%;
	margin: 0 0 26px;
	padding: 14px 16px;
	border: 1px solid rgba(151, 127, 91, 0.38);
	border-radius: 6px;
	background: #fff;
	color: #2f2b27;
	font-size: 1.6rem;
	line-height: 1.65;
}

.feedback-form__control:focus {
	border-color: #9a7846;
	outline: 2px solid rgba(185, 148, 95, 0.22);
	outline-offset: 0;
}

.feedback-form__textarea {
	resize: vertical;
}

.feedback-form__submit,
.feedback-result__button,
.feedback-result__reset {
	display: inline-flex;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border: 1px solid #b9945f;
	border-radius: 999px;
	background: #b9945f;
	color: #fff;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.feedback-form__submit:hover,
.feedback-result__button:hover {
	border-color: #8c6d3f;
	background: #8c6d3f;
	color: #fff;
}

.feedback-result[hidden],
.feedback-result__panel[hidden],
.feedback-form[hidden] {
	display: none;
}

.feedback-result__panel + .feedback-result__panel {
	margin-top: 22px;
}

.feedback-result__eyebrow {
	margin: 0 0 10px;
	color: #9a7846;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.feedback-result__panel h2 {
	margin: 0;
	color: #27231f;
	font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(2.2rem, 4vw, 3.4rem);
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0;
}

.feedback-result__panel p {
	margin: 16px 0 0;
	color: #5f5850;
	font-size: 1.5rem;
	line-height: 2;
}

.feedback-result__button {
	margin-top: 2px;
}

.feedback-result__button.is-disabled,
.feedback-result__button[aria-disabled="true"] {
	pointer-events: none;
	border-color: #cfc7ba;
	background: #d8d2c8;
	color: #fff;
}

.feedback-result__reset {
	margin-top: 22px;
	background: #fff;
	color: #8c6d3f;
}

.feedback-result__reset:hover {
	background: #f7f2ea;
	color: #6e542e;
}

.feedback-followup {
	margin-top: 18px;
	padding: 18px 20px;
	border-radius: 8px;
	background: #fbf7ef;
}

.feedback-followup[hidden] {
	display: none;
}

.feedback-followup h3 {
	margin: 0;
	color: #2d2924;
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1.6;
}

.feedback-followup p {
	margin: 8px 0 0;
	color: #5f5850;
	font-size: 1.32rem;
	line-height: 1.85;
}

.feedback-followup__button,
.feedback-followup__text-button {
	display: inline-flex;
	min-height: 42px;
	margin-top: 12px;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.feedback-followup__button {
	border: 1px solid #b9945f;
	background: #b9945f;
	color: #fff;
}

.feedback-followup__button:hover {
	background: #8c6d3f;
	color: #fff;
}

.feedback-followup--google {
	padding: 14px 18px;
	border: 1px solid rgba(151, 127, 91, 0.18);
	background: #fff;
}

.feedback-followup--google p {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.7;
}

.feedback-followup__text-button {
	min-height: auto;
	margin-top: 8px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #8c6d3f;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 0.22em;
}

.feedback-followup__text-button:hover {
	color: #6e542e;
}

.feedback-modal-open {
	overflow: hidden;
}

.feedback-modal[hidden] {
	display: none;
}

.feedback-modal {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 18px;
}

.feedback-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(32, 28, 24, 0.58);
}

.feedback-modal__dialog {
	position: relative;
	width: min(100%, 520px);
	max-height: min(86vh, 720px);
	overflow: auto;
	padding: clamp(18px, 3vw, 26px);
	border: 1px solid rgba(173, 141, 94, 0.32);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(28, 24, 20, 0.24);
}

.feedback-modal__dialog:focus {
	outline: none;
}

.feedback-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border: 1px solid rgba(151, 127, 91, 0.26);
	border-radius: 999px;
	background: #fff;
	color: #3a332c;
	cursor: pointer;
	font-size: 2rem;
	line-height: 1;
}

.feedback-modal__brand {
	display: inline-flex;
	margin: 0 0 8px;
	align-items: center;
	font-family: Arial, sans-serif;
	font-size: 1.9rem;
	font-weight: 700;
	letter-spacing: 0;
}

.feedback-google-logo--g,
.feedback-google-logo--g2 {
	color: #4285f4;
}

.feedback-google-logo--o1,
.feedback-google-logo--e {
	color: #ea4335;
}

.feedback-google-logo--o2 {
	color: #fbbc05;
}

.feedback-google-logo--l {
	color: #34a853;
}

.feedback-modal h2 {
	margin: 0;
	padding-right: 32px;
	color: #27231f;
	font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(1.85rem, 3.2vw, 2.35rem);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0;
}

.feedback-modal__text {
	margin: 10px 0 14px;
	color: #5f5850;
	font-size: 1.18rem;
	line-height: 1.75;
}

.feedback-modal__label {
	display: block;
	margin: 0 0 6px;
	color: #2e2924;
	font-size: 1.22rem;
	font-weight: 700;
	line-height: 1.5;
}

.feedback-modal__select {
	margin-bottom: 10px;
	padding: 10px 12px;
	font-size: 1.2rem;
}

.feedback-modal__review {
	width: 100%;
	min-height: 44px;
	padding: 10px 20px;
	font-size: 1.2rem;
}

.feedback-modal__note {
	margin-top: 8px;
	font-size: 1.05rem;
	line-height: 1.65;
}

.feedback-modal__finish {
	display: inline-flex;
	width: 100%;
	min-height: 40px;
	margin-top: 12px;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border: 1px solid rgba(151, 127, 91, 0.38);
	border-radius: 999px;
	background: #fff;
	color: #6f5b3e;
	cursor: pointer;
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.4;
}

.feedback-modal__finish:hover {
	background: #f7f2ea;
	color: #4e3d27;
}

.google-review-page .feedback-hero {
	padding-top: clamp(40px, 6vw, 72px);
	padding-bottom: clamp(28px, 4vw, 48px);
}

.google-review-section.feedback-demo {
	padding-top: clamp(28px, 4vw, 48px);
}

.google-review-hero__brand {
	justify-content: center;
	margin: 0 auto 12px;
	font-size: clamp(2.2rem, 4vw, 3rem);
}

.google-review-hero__title {
	font-size: clamp(2.4rem, 4.6vw, 4.2rem);
	line-height: 1.55;
	text-align: center;
}

.google-review-hero__subtitle {
	margin: 18px 0 0;
	color: #4a443d;
	font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: 0;
}

.google-review-card {
	max-width: 680px;
	margin: 0 auto;
	text-align: left;
}

.google-review-card .feedback-form__control {
	margin-bottom: 14px;
}

.google-review-card__note,
.google-review-card__policy {
	margin: 10px 0 0;
	color: #625c54;
	font-size: 1.3rem;
	line-height: 1.8;
}

.google-review-card__policy {
	color: #8a795d;
	font-size: 1.15rem;
}

@media (max-width: 640px) {
	.feedback-hero__title {
		font-size: 2.2rem;
		line-height: 1.75;
		text-align: left;
	}

	.feedback-hero__lead {
		text-align: left;
	}

	.feedback-rating {
		display: flex;
		justify-content: space-between;
		width: 100%;
		gap: 2px;
	}

	.feedback-rating label {
		width: 42px;
		height: 42px;
		font-size: 3.4rem;
	}

	.feedback-form__submit,
	.feedback-result__button,
	.feedback-result__reset {
		width: 100%;
	}

	.feedback-followup__button {
		width: 100%;
	}

	.feedback-modal {
		padding: 14px;
	}

	.feedback-modal__dialog {
		max-height: 88vh;
		padding: 20px 18px;
	}

	.feedback-modal h2 {
		font-size: 1.8rem;
	}

	.google-review-hero__brand {
		justify-content: flex-start;
	}

	.google-review-hero__title {
		font-size: 2.35rem;
		line-height: 1.65;
		text-align: center;
	}

	.google-review-hero__subtitle {
		font-size: 1.45rem;
		line-height: 1.9;
		text-align: left;
	}
}
