:root {
  --bg: #f7f3ee;
  --card: #ffffff;
  --ink: #1c1714;
  --muted: #6e645c;
  --line: #e7dfd5;
  --gold: #b8924a;
  --gold-soft: #f3e6cf;
  --gold-bright: #e8d4a8;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 40% at 10% 0%, rgba(184,146,74,.14), transparent 55%),
    linear-gradient(180deg, #faf7f2 0%, var(--bg) 100%);
  line-height: 1.6;
}
a { color: var(--gold); text-decoration: none; }
.wrap { width: min(1080px, 100% - 2rem); margin-inline: auto; }
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 72px; gap: 1rem;
}
.logo { color: var(--ink); font-weight: 600; font-size: .98rem; }
.logo .we { font-family: var(--display); font-style: italic; color: var(--gold); margin-right: .15rem; font-size: 1.15rem; }
.phone { font-weight: 700; color: var(--ink); }
.intro { padding: 2.25rem 0 1.1rem; max-width: 44rem; }
.eyebrow {
  margin: 0 0 .7rem;
  text-transform: uppercase; letter-spacing: .16em; font-size: .72rem;
  color: var(--gold); font-weight: 700;
}
h1 {
  margin: 0 0 .85rem;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  line-height: 1.12; font-weight: 600;
}
.lead { margin: 0; color: var(--muted); font-weight: 300; font-size: 1.05rem; }
.lead strong { color: var(--ink); font-weight: 600; }

.booking-shell { display: grid; gap: 1rem; padding-bottom: 3rem; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: 0 18px 50px rgba(40, 30, 20, .06);
}
.step-label {
  display: flex; align-items: baseline; gap: .65rem; flex-wrap: wrap;
  margin: 0 0 1rem;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.step-label span {
  width: 1.55rem; height: 1.55rem; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1208; font-size: .8rem; letter-spacing: 0;
}
.step-label em { font-style: normal; font-weight: 500; letter-spacing: .04em; text-transform: none; color: #9a8f86; }

.durations { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.dur {
  cursor: pointer; border: 1px solid var(--line); border-radius: 14px;
  padding: .95rem .65rem; background: #fcfaf7; transition: .2s border-color, .2s background, .2s transform;
}
.dur input { position: absolute; opacity: 0; pointer-events: none; }
.dur span { display: grid; gap: .15rem; text-align: center; }
.dur strong { font-size: 1.08rem; color: var(--ink); }
.dur em { font-style: normal; color: var(--muted); font-size: .8rem; }
.dur:hover { border-color: rgba(184,146,74,.4); }
.dur:has(input:checked) {
  border-color: rgba(184,146,74,.65);
  background: var(--gold-soft);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(184,146,74,.15);
}

/* Modern calendar */
.cal-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.25rem;
  align-items: start;
}
.cal-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1rem 1.1rem;
  background: linear-gradient(180deg, #fffcf8, #faf6f0);
}
.cal-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .85rem;
}
.cal-month {
  margin: 0;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.cal-nav-btn {
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
  font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink);
}
.cal-nav-btn:hover { border-color: var(--gold); background: var(--gold-soft); }
.cal-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: .25rem;
  margin-bottom: .35rem;
  text-align: center;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #a3988e;
}
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem;
}
.cal-day {
  aspect-ratio: 1;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font: inherit;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  cursor: pointer;
  transition: .15s background, .15s transform, .15s box-shadow;
}
.cal-day:hover:not(:disabled):not(.is-empty) {
  background: rgba(184,146,74,.12);
}
.cal-day.is-empty { cursor: default; }
.cal-day.is-closed,
.cal-day:disabled {
  color: #c5bdb4;
  cursor: not-allowed;
  font-weight: 500;
}
.cal-day.is-available {
  background: rgba(184,146,74,.1);
  color: #5c4318;
}
.cal-day.is-selected {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1208;
  box-shadow: 0 8px 18px rgba(184,146,74,.28);
  transform: scale(1.04);
}
.cal-day.is-today:not(.is-selected) {
  outline: 1px solid rgba(184,146,74,.55);
}
.cal-legend {
  margin: .85rem 0 0;
  font-size: .82rem;
  color: var(--muted);
}

.slots-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: #fff;
  min-height: 280px;
}
.slots-title {
  margin: 0 0 .85rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
}
.slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  max-height: 340px;
  overflow: auto;
  padding-right: .15rem;
}
.slot {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfaf7;
  padding: .7rem .55rem;
  font: inherit;
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  color: var(--ink);
  transition: .15s;
}
.slot:hover { border-color: rgba(184,146,74,.5); background: var(--gold-soft); }
.slot.is-selected {
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1208;
  box-shadow: 0 6px 16px rgba(184,146,74,.22);
}
.slot.is-taken {
  opacity: .4;
  text-decoration: line-through;
  cursor: not-allowed;
}
.slots-empty {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: .92rem;
  padding: .5rem 0;
}

.row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
label {
  display: grid; gap: .35rem; margin-bottom: .8rem;
  font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600;
}
input, select, textarea {
  width: 100%; border-radius: 11px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font: inherit;
  text-transform: none; letter-spacing: 0; padding: .8rem .9rem;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: rgba(184,146,74,.55);
  box-shadow: 0 0 0 3px rgba(184,146,74,.12);
}

.summary {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(184,146,74,.12), rgba(255,255,255,.8));
  border: 1px solid rgba(184,146,74,.22);
  font-size: .98rem;
  color: var(--ink);
}
.btn {
  width: 100%; border: 0; border-radius: 999px; cursor: pointer;
  padding: 1rem 1.2rem; font: inherit; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  background: linear-gradient(135deg, #e8d4a8, #b8924a);
  color: #1a1208;
}
.btn-lg { font-size: .92rem; }
.btn:hover { filter: brightness(1.03); }
.note { min-height: 1.3em; margin: .75rem 0 0; color: var(--gold); font-size: .92rem; }
.hidden-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Project file upload */
.upload-block { margin-top: .35rem; }
.upload-label { margin-bottom: .55rem; }
.upload-help {
  margin: 0 0 .85rem;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.5;
}
.upload-drop {
  display: grid;
  justify-items: center;
  gap: .35rem;
  margin: 0;
  padding: 1.35rem 1rem;
  border: 1.5px dashed rgba(184,146,74,.45);
  border-radius: 16px;
  background: linear-gradient(180deg, #fffcf8, #f7f1e8);
  cursor: pointer;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  transition: .2s border-color, .2s background, .2s box-shadow;
}
.upload-drop:hover,
.upload-drop.is-dragover {
  border-color: var(--gold);
  background: var(--gold-soft);
  box-shadow: 0 10px 28px rgba(184,146,74,.12);
}
.upload-drop input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.upload-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1208;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .25rem;
}
.upload-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
}
.upload-sub {
  font-size: .82rem;
  color: var(--muted);
  font-weight: 400;
}
.upload-list {
  list-style: none;
  margin: .75rem 0 0;
  padding: 0;
  display: grid;
  gap: .45rem;
}
.upload-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem .8rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: .88rem;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.upload-list .file-meta {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 400;
  margin-left: .35rem;
}
.upload-list button {
  border: 0;
  background: transparent;
  color: #a05040;
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.success-card { text-align: left; margin-bottom: 3rem; }
.success-eyebrow { margin: 0 0 .5rem; }
.success-title {
  margin: 0 0 .75rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
}
.success-lead { margin: 0 0 1.25rem; color: var(--muted); font-weight: 300; font-size: 1.05rem; }
.foot {
  border-top: 1px solid var(--line); padding: 1.2rem 0 2rem;
  color: #8a8078; font-size: .85rem;
}

@media (max-width: 860px) {
  .cal-layout, .row, .durations { grid-template-columns: 1fr; }
  .slots { grid-template-columns: 1fr 1fr; max-height: none; }
  .logo { font-size: .85rem; }
}
