:root {
  --ink: #161616;
  --muted: #6f6f6f;
  --paper: #fffdf8;
  --line: #e8e1d5;
  --gold: #b98a2e;
  --soft: #f6f0e5;
  --danger: #9b2c2c;
  --success: #246b45;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg,#f7f1e6,#ffffff 65%);
  color: var(--ink);
}
.shell {
  min-height: 100vh;
  padding: 28px 14px 60px;
}
.card {
  width: min(760px, 100%);
  margin: 0 auto;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(22px, 5vw, 44px);
  box-shadow: 0 18px 55px rgba(0,0,0,.08);
}
.brand {
  display: inline-block;
  letter-spacing: .18em;
  font-size: .8rem;
  font-weight: 800;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
}
h1 { font-size: clamp(2.1rem,7vw,4.1rem); line-height: .98; margin: 14px 0 12px; }
h2 { margin: 3px 0 10px; }
.intro { color: var(--muted); margin-bottom: 28px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 800; color: var(--gold); margin: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 28px; }
legend { font-size: 1.15rem; font-weight: 800; margin-bottom: 12px; }
.choice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  margin: 10px 0;
  cursor: pointer;
}
.choice:has(input:checked) { outline: 2px solid var(--gold); background: var(--soft); }
.choice input { margin-top: 4px; transform: scale(1.15); accent-color: var(--gold); }
.choice strong, .choice small { display: block; }
.choice small { color: var(--muted); margin-top: 4px; line-height: 1.4; }
label { font-weight: 700; display: block; margin: 10px 0 7px; }
input {
  width: 100%;
  border: 1px solid #cfc7ba;
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
}
input:focus { outline: 2px solid var(--gold); border-color: transparent; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 28px 0; }
.wide { grid-column: 1 / -1; }
button {
  border: 0;
  border-radius: 12px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
button:disabled { opacity: .5; cursor: not-allowed; }
.primary { width: 100%; background: var(--ink); color: white; margin-top: 14px; }
.secondary { background: var(--soft); color: var(--ink); border: 1px solid var(--line); margin-top: 10px; }
.quote {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  margin-top: 12px;
}
.quote > div { display: flex; justify-content: space-between; padding: 7px 0; }
.quote .total { border-top: 1px solid var(--line); margin-top: 5px; padding-top: 12px; font-size: 1.1rem; }
.quote small { color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 14px; margin-top: 22px; }
.slots { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 8px; margin: 14px 0 26px; }
.slot {
  background: white;
  border: 1px solid var(--line);
  padding: 12px;
}
.slot.selected { outline: 2px solid var(--gold); background: var(--soft); }
.price-line { display: flex; justify-content: space-between; align-items: center; font-size: 1.15rem; margin: 14px 0; }
#card-container { min-height: 90px; padding: 8px 0; }
.notice { border-radius: 12px; padding: 12px 14px; margin: 14px 0; background: #fff3f3; color: var(--danger); border: 1px solid #f0caca; }
.success { text-align: center; padding: 20px 0; }
.check { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; background: #e8f4ed; color: var(--success); font-size: 2rem; font-weight: 900; }
.address-box { text-align: left; margin: 18px auto 0; background: var(--soft); padding: 15px; border-radius: 14px; border: 1px solid var(--line); }
.fineprint { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.hidden { display: none !important; }

@media (max-width: 560px) {
  .contact-grid { grid-template-columns: 1fr; }
  .wide { grid-column: auto; }
  .section-head { display: block; }
  .section-head .secondary { width: 100%; }
}
