:root {
  --blue: #1239F5; --blue-dark: #0A1A4F; --yellow: #FFD500; --yellow-dark: #C9A400;
  --ink: #0A1A4F; --soft: #3D4766; --mute: #5A6380; --line: #E3E7F3; --tint: #F1F4FF; --bg: #F7F8FC;
  --green: #1FAF5A; --red: #C8452C;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Nunito', system-ui, sans-serif; font-size: 16px; line-height: 1.5; }
a { color: var(--blue); }
h1, h2, h3, .fred { font-family: 'Fredoka', 'Nunito', sans-serif; letter-spacing: -0.01em; }
.top { background: var(--blue); color: #fff; padding: 14px 20px; }
.top-in { max-width: 720px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-t { display: flex; flex-direction: column; gap: 4px; }
.brand b { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 26px; line-height: 0.9; }
.brand small { font-weight: 700; font-size: 11px; line-height: 1; color: #DCE4FF; padding-left: 2px; }
.brand .logo { height: 39px; width: auto; display: block; }
.step-label { font-size: 13px; font-weight: 800; color: #DCE4FF; }
.bar { max-width: 720px; margin: 12px auto 0; height: 8px; border-radius: 99px; background: rgba(255,255,255,.22); overflow: hidden; }
.bar > div { height: 8px; background: var(--yellow); border-radius: 99px; width: 0; transition: width .3s; }
.wrap { max-width: 720px; margin: 0 auto; padding: 28px 20px 140px; }
.card { background: #fff; border-radius: 24px; padding: 24px; box-shadow: 0 2px 0 var(--line); }
h1 { font-size: 34px; line-height: 1.08; margin: 0 0 12px; font-weight: 700; }
h2 { font-size: 27px; line-height: 1.12; margin: 0 0 8px; font-weight: 700; }
.lead { font-size: 17px; color: var(--soft); margin: 0 0 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; font-weight: 800; font-size: 15px; }
.field small { font-weight: 600; color: var(--mute); font-size: 13px; }
.req { color: var(--red); }
input[type=text], input[type=tel], input[type=email], input[type=url], input[type=number], select, textarea {
  font: inherit; font-weight: 600; font-size: 16px; color: var(--ink); background: #fff;
  padding: 13px 14px; border: 2px solid var(--line); border-radius: 14px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); }
textarea { resize: vertical; min-height: 96px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 15px; font-weight: 800; padding: 10px 14px; min-height: 44px; border-radius: 99px; border: 2px solid var(--line); background: #fff; color: var(--soft); cursor: pointer; }
.chip[aria-pressed=true] { background: var(--blue); border-color: var(--blue); color: #fff; }
.choice { display: block; width: 100%; text-align: left; font: inherit; padding: 16px 18px; border-radius: 18px; border: 2px solid var(--line); background: #fff; cursor: pointer; margin: 0 0 10px; color: var(--ink); }
.choice[aria-pressed=true] { border-color: var(--blue); background: var(--tint); }
.choice b { display: block; font-size: 17px; }
.choice span { font-size: 14px; color: var(--mute); font-weight: 600; }
.choice .price { float: right; font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 20px; color: var(--blue); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.sector { font: inherit; text-align: left; padding: 18px; border-radius: 20px; border: 2px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); min-height: 92px; }
.sector:hover, .sector:focus { border-color: var(--blue); outline: none; }
.sector b { display: block; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 20px; }
.sector span { font-size: 14px; color: var(--mute); font-weight: 600; }
.tip { background: #FFF7CC; border-radius: 16px; padding: 12px 14px; font-size: 14px; font-weight: 700; margin: 0 0 16px; }
.note { font-size: 13px; color: var(--mute); }
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.ph { position: relative; aspect-ratio: 1/1; border-radius: 14px; overflow: hidden; background: var(--tint); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph .st { position: absolute; left: 6px; bottom: 6px; background: rgba(10,26,79,.8); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; }
.ph button { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: none; background: rgba(255,255,255,.95); color: var(--ink); font-weight: 800; cursor: pointer; }
.upload { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px; border: 2px dashed #B9C4EA; border-radius: 18px; background: #fff; font-weight: 800; color: var(--blue); cursor: pointer; text-align: center; }
.upload input { display: none; }
.counter { font-weight: 800; font-size: 15px; }
.counter.ok { color: var(--green); }
.btn { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 19px; padding: 15px 22px; min-height: 52px; border-radius: 99px; border: none; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn-y { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 var(--yellow-dark); }
.btn-y:disabled { opacity: .5; cursor: not-allowed; }
.btn-o { background: #fff; color: var(--ink); border: 2px solid var(--line); }
.btn-g { background: var(--green); color: #fff; }
.foot { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); }
.foot-in { max-width: 720px; margin: 0 auto; display: flex; gap: 10px; }
.foot-in .btn-y { flex: 1; }
.err { background: #FBEBEB; color: #9B2C1C; border-radius: 14px; padding: 12px 14px; font-weight: 700; font-size: 14px; margin: 0 0 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 15px; margin: 0 0 14px; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }
.rec { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; }
.hidden { display: none !important; }
.done-ic { width: 96px; height: 96px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; margin: 12px auto 18px; }
.center { text-align: center; }
.stars { display: flex; gap: 8px; }
.stars button { font-size: 30px; background: none; border: none; cursor: pointer; color: #C9CFE6; padding: 4px; }
.stars button.on { color: #E8A500; }
