:root {
  --yellow: #FEC000;
  --yellow-soft: #FFF4CC;
  --ink: #161C27;
  --text: #2B3531;
  --muted: #5B6661;
  --line: #E1E6E2;
  --field: #C9D0CB;
  --bg: #FFFFFF;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
}
h1, h2, h3 { font-family: Poppins, Inter, sans-serif; margin: 0; line-height: 1.2; }
button, input, textarea { font: inherit; color: inherit; }
a { color: var(--ink); }

.wrap { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 20px; }

.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.logo { height: 72px; width: auto; display: block; }
.header-phone { font-weight: 600; font-size: 14px; padding: 10px 14px; border: 1px solid var(--field); border-radius: 22px; text-decoration: none; white-space: nowrap; }

.hero { padding: 28px 0 16px; }
.hero h1 { font-size: 28px; }
.hero p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 32px; }

.progress { height: 6px; background: #E6E8EB; border-radius: 3px; overflow: hidden; }
.progress-bar { height: 100%; width: 25%; background: var(--yellow); transition: width .25s ease; }
.step-count { margin: 10px 0 4px; font-size: 13px; color: var(--muted); }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 8px; }
legend h2 { font-size: 23px; }
.hint { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.step h3 { font-size: 16px; margin-bottom: 4px; }
.group { margin: 18px 0; }

/* service options */
.options { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 16px; }
.option {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px;
  padding: 12px 14px; border: 1px solid #D3D9D4; border-radius: var(--radius);
  background: #fff; text-align: left; cursor: pointer;
}
.option .dot { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid #8A948F; }
.option strong { display: block; font-size: 16px; }
.option small { display: block; color: var(--muted); font-size: 13px; }
.option[aria-checked="true"] { border: 2px solid var(--ink); background: var(--yellow-soft); }
.option[aria-checked="true"] .dot { border: 6px solid var(--ink); background: #fff; }

.included { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.included h3 { font-size: 15px; margin-bottom: 6px; }
.included ul { margin: 0 0 8px; padding-left: 18px; font-size: 14px; color: var(--text); }
.included .no { color: #9A3412; margin-top: 8px; }
.included p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

/* fields */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--field);
  border-radius: 10px; font-size: 16px; font-weight: 400; background: #fff;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .option:focus-visible, .chip:focus-visible, .btn:focus-visible, .stepper button:focus-visible {
  outline: 3px solid var(--yellow); outline-offset: 2px;
}
.field .invalid, input.invalid { border-color: #B42318; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

/* counters */
.counters { border: 1px solid var(--line); border-radius: var(--radius); padding: 0 16px; margin: 4px 0 16px; }
.counter { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; border-bottom: 1px solid #EEF1EE; }
.counter:last-child { border-bottom: 0; }
.counter strong { display: block; font-size: 16px; }
.counter small { display: block; color: var(--muted); font-size: 13px; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--field); background: #fff; font-size: 20px; cursor: pointer; }
.stepper button.plus { border-color: var(--ink); background: var(--yellow-soft); }
.stepper output { min-width: 20px; text-align: center; font-size: 18px; font-weight: 700; }
.yesno { display: flex; gap: 6px; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.grid-2 { display: grid; }
.chip, .yesno button {
  min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--field);
  background: #fff; cursor: pointer; font-weight: 500;
}
.chips.grid-2 .chip { border-radius: var(--radius); min-height: 56px; }
.chip[aria-checked="true"], .yesno button[aria-checked="true"] { border: 2px solid var(--ink); background: var(--yellow-soft); font-weight: 600; }

.notice { display: block; padding: 14px; background: #FFF7E6; border: 1px solid #F3D9A4; border-radius: var(--radius); font-size: 14px; color: #4A3200; }
.info { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); margin: 16px 0 8px; font-size: 14px; }
.fine { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.error { margin: 12px 0 0; padding: 12px; border-radius: 10px; background: #FEF3F2; color: #912018; font-size: 14px; }

.actions { display: flex; gap: 10px; margin-top: 20px; }
.btn { min-height: 52px; padding: 0 20px; border-radius: var(--radius); font-weight: 600; font-size: 16px; cursor: pointer; }
.btn-primary { flex: 1; border: none; background: var(--yellow); color: var(--ink); }
.btn-primary[disabled] { opacity: .6; cursor: wait; }
.btn-ghost { border: 1px solid var(--field); background: #fff; }

.done { text-align: center; }
.done .check { width: 72px; height: 72px; margin: 8px auto 12px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 700; }
.done h2 { font-size: 26px; }
.done p { color: var(--text); }
.done h3 { margin-top: 20px; font-size: 16px; }
.done ol { display: inline-block; text-align: left; padding-left: 20px; color: var(--text); }

.site-footer { border-top: 1px solid var(--line); padding: 20px 0 32px; font-size: 13px; color: var(--muted); }
.site-footer p { margin: 4px 0; }

[hidden] { display: none !important; }

@media (min-width: 720px) {
  .hero h1 { font-size: 34px; }
  .card { padding: 28px; }
}

/* header nav + about page */
.header-nav { display: flex; gap: 8px; align-items: center; }
.header-link { font-weight: 600; font-size: 14px; padding: 10px 6px; text-decoration: none; }
.header-link:hover { text-decoration: underline; }
.about-hero { text-align: center; padding: 28px 0 8px; }
.about-photo { width: 128px; height: 128px; margin: 0 auto 14px; border-radius: 50%; border: 3px solid var(--yellow); background: var(--yellow-soft); object-fit: cover; display: block; }
.about-hero p { color: var(--text); font-size: 16px; margin: 10px 0 0; }
.about-section { margin: 32px 0; }
.about-section h2 { font-size: 22px; margin-bottom: 12px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gallery figure { margin: 0; }
.gallery img, .gallery .ph { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); display: block; }
.gallery .ph { background: #F3F4F6; border: 1px dashed var(--field); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.gallery figcaption { font-size: 13px; font-weight: 600; margin-top: 6px; }
.reasons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.reasons li { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.reasons strong { display: block; }
.reasons span { color: #44504B; font-size: 14px; }
.social { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.social a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: var(--radius); background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; }
.cta { display: flex; justify-content: center; align-items: center; min-height: 52px; border-radius: var(--radius); background: var(--yellow); color: var(--ink); text-decoration: none; font-weight: 600; margin: 8px 0 40px; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
