:root {
  --gold: #c9a233;
  --gold-dark: #a8861f;
  --black: #1a1a1a;
  --white: #fff;
  --bg: #f5f4f2;
  --line: #e4e2de;
  --muted: #8a8a8a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--black);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ===== Brand header ===== */
.brand-header {
  background: var(--white);
  text-align: center;
  padding: 26px 20px 20px;
  border-bottom: 2px solid var(--gold);
}
.brand-logo {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--gold);
  line-height: 1;
}
.brand-tag {
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ===== Main ===== */
main {
  max-width: 520px;
  margin: 0 auto;
  padding: 44px 18px 60px;
}

.intro h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 10px;
  line-height: 1.1;
}
.intro p {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 28px;
}

/* ===== Card ===== */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 22px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.field { margin-bottom: 22px; }
.field:last-of-type { margin-bottom: 0; }

label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

input[type="text"],
input[type="tel"] {
  width: 100%;
  font-size: 17px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafafa;
  color: var(--black);
}
input::placeholder { color: #bbb; }
input:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}

/* Phone with prefix */
.phone-row {
  display: flex;
  gap: 10px;
}
.prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f0efec;
  color: var(--black);
  flex-shrink: 0;
}
.phone-row input { flex: 1; }

/* Day chips */
.days {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.day-chip {
  flex: 0 0 auto;
  width: 66px;
  padding: 12px 0;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: all .15s;
}
.day-chip:hover { border-color: var(--gold); }
.day-chip .wd {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.day-chip .dn {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}
.day-chip .mo {
  font-size: 11px;
  color: var(--muted);
}
.day-chip.selected {
  background: var(--black);
  border-color: var(--black);
}
.day-chip.selected .wd,
.day-chip.selected .mo { color: var(--gold); }
.day-chip.selected .dn { color: var(--white); }

/* Time chips */
.times {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.time-chip {
  padding: 12px 0;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: all .15s;
}
.time-chip:hover:not(.off) { border-color: var(--gold); }
.time-chip.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.time-chip.off {
  background: #f3f3f3;
  color: #c4c4c4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.hint {
  font-size: 14px;
  color: var(--muted);
  padding: 6px 0;
}

/* Button */
.btn-submit {
  width: 100%;
  margin-top: 26px;
  font-size: 17px;
  font-weight: 700;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: var(--gold);
  color: #fff;
  cursor: pointer;
  transition: background .15s;
}
.btn-submit:hover:not(:disabled) { background: var(--gold-dark); }
.btn-submit:disabled {
  background: #e2e0db;
  color: #aaa;
  cursor: not-allowed;
}

.error {
  color: #b00020;
  font-size: 14px;
  margin: 14px 0 0;
}

/* Confirmation */
.confirmation {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 26px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}
.confirmation h2 {
  font-size: 26px;
  margin: 0 0 14px;
  color: var(--gold);
}
.confirmation p { margin: 6px 0; font-size: 16px; }
.confirmation .small { font-size: 14px; color: var(--muted); margin-top: 16px; }

footer {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  padding: 30px 18px 40px;
}

.hidden { display: none; }
