:root {
  --cocoa: #412a22;
  --cocoa-deep: #281813;
  --clay: #8d5d45;
  --caramel: #c28b63;
  --cream: #f5ecdd;
  --paper: #fffdfa;
  --ink: #302522;
  --line: #dfd2c5;
  --muted: #786a62;
  --focus: #a76e4f;
}

* { box-sizing: border-box; }
html { background: var(--cocoa-deep); }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.55; }
button, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, textarea:focus-visible, input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.shell { width: min(100%, 740px); min-height: 100vh; margin: 0 auto; padding: 0 24px 48px; background: var(--paper); }
.masthead { margin: 0 -24px; padding: 34px 24px 28px; color: var(--cream); background: var(--cocoa); text-align: center; }
.wordmark { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.25rem, 8vw, 3.4rem); font-weight: 400; letter-spacing: .14em; line-height: 1; }
.salon-label { margin: 12px 0 0; color: #e5c6a8; font-size: .7rem; font-weight: 700; letter-spacing: .16em; }
.intro { padding: 38px 0 24px; }
.eyebrow { margin: 0 0 8px; color: var(--clay); font-size: .7rem; font-weight: 800; letter-spacing: .15em; }
h1, h2 { margin: 0; color: var(--cocoa); font-family: Georgia, "Times New Roman", "Noto Serif SC", serif; font-weight: 400; line-height: 1.12; }
h1 { font-size: clamp(2.1rem, 8vw, 3.7rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.45rem, 5vw, 2rem); letter-spacing: -.02em; }
.intro > p:not(.eyebrow), .review-card-header p:not(.eyebrow), .feedback-card p:not(.eyebrow), footer p { max-width: 560px; margin: 14px 0 0; color: var(--muted); }
.language-switcher { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: #f9f4ed; }
.language { min-height: 42px; border: 0; border-radius: 999px; color: var(--muted); background: transparent; font-size: .88rem; font-weight: 700; }
.language.active { color: var(--cream); background: var(--cocoa); box-shadow: 0 3px 8px rgba(39, 24, 19, .18); }
.form-section { padding: 31px 0; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; gap: 14px; align-items: baseline; }
.section-heading > span { flex: 0 0 auto; color: var(--caramel); font-size: .75rem; font-weight: 800; letter-spacing: .07em; }
.hint { margin: 8px 0 17px 31px; color: var(--muted); font-size: .9rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; display: flex; min-height: 52px; align-items: center; padding: 10px 13px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: .92rem; font-weight: 650; line-height: 1.25; transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease; }
.choice:hover { border-color: var(--clay); transform: translateY(-1px); }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice:has(input:checked) { border-color: var(--cocoa); color: var(--cream); background: var(--cocoa); }
.choice:has(input:checked)::after { content: "✓"; margin-left: auto; padding-left: 8px; color: #e5c6a8; font-weight: 800; }
.choice-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rating-row { display: flex; gap: 8px; margin-left: 31px; }
.rating-row input { position: absolute; opacity: 0; }
.rating-row label { display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--cocoa); font-size: .9rem; font-weight: 800; }
.rating-row input:checked + label { border-color: var(--cocoa); color: var(--cream); background: var(--cocoa); }
.form-actions { padding: 32px 0 10px; }
.primary, .google-button { display: flex; width: 100%; min-height: 58px; align-items: center; justify-content: space-between; padding: 14px 19px; border: 1px solid var(--cocoa); border-radius: 10px; color: var(--cream); background: var(--cocoa); font-weight: 800; transition: background .16s ease, transform .16s ease; }
.primary:hover, .google-button:hover { background: var(--cocoa-deep); transform: translateY(-1px); }
.validation-message, .status { min-height: 1.4rem; margin: 10px 0 0; color: var(--clay); font-size: .87rem; font-weight: 650; }
.review-card, .feedback-card { margin-top: 28px; padding: 25px; border: 1px solid #d7bfa9; border-radius: 16px; background: #fbf1e5; box-shadow: 0 10px 22px rgba(65, 42, 34, .06); }
.review-card[hidden] { display: none; }
.review-card textarea, .feedback-card textarea { display: block; width: 100%; resize: vertical; margin-top: 20px; padding: 14px; border: 1px solid #cbb9aa; border-radius: 9px; color: var(--ink); background: #fffdfa; font-size: 1rem; line-height: 1.6; }
.draft-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.secondary { min-height: 47px; padding: 10px 12px; border: 1px solid var(--clay); border-radius: 9px; color: var(--cocoa); background: transparent; font-size: .88rem; font-weight: 800; }
.secondary:hover { color: var(--cream); background: var(--clay); }
.google-button { margin-top: 12px; background: var(--clay); border-color: var(--clay); }
.google-button:hover { background: #6d4332; }
.feedback-card { margin-top: 18px; background: #fff; box-shadow: none; }
.feedback-card textarea { margin-top: 18px; }
.text-button { display: inline-flex; gap: 8px; align-items: center; padding: 11px 0 0; border: 0; color: var(--cocoa); background: transparent; font-weight: 800; }
.text-button:hover { color: var(--clay); }
footer { padding-top: 26px; }
footer p { font-size: .8rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (min-width: 600px) {
  .shell { padding: 0 48px 60px; }
  .masthead { margin: 0 -48px; padding: 44px 48px 38px; }
  .choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .choice-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .review-card, .feedback-card { padding: 31px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
