:root{
  --appt-bg: rgba(251,247,239,.55);
  --appt-ink: #0b2434;
  --appt-muted: rgba(11,36,52,.72);
  --appt-line: rgba(11,36,52,.14);
  --appt-accent: #11cbd7;
  --appt-accent-2: #0aa3c0;
}

.appt .container{ max-width: 1100px; }

.appt-hero{
  padding: calc(var(--header-h, 96px) + 36px) 0 84px;
  background: linear-gradient(180deg, var(--appt-bg), rgba(255,255,255,.0));
}

.appt-grid{
  display:grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items:start;
}

.appt-copy h1{
  margin: 0 0 18px;
  font-family: "Alexandria", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(46px, 5.6vw, 74px);
  color: var(--appt-ink);
}

.appt-copy p{
  margin: 0;
  max-width: 520px;
  font-size: 20px;
  line-height: 1.75;
  color: var(--appt-muted);
}
.appt-copy a{ color:#0b5a7a; text-decoration: underline; text-underline-offset: 3px; }

.appt-notes{
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 10px;
  max-width: 520px;
  color: rgba(11,36,52,.78);
  font-weight: 650;
}
.appt-notes li{
  padding-left: 28px;
  position: relative;
}
.appt-notes li::before{
  content:"";
  position:absolute;
  left:0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 6px;
  background: radial-gradient(circle at 30% 30%, rgba(255,199,44,.95), rgba(17,203,215,.95));
  box-shadow: 0 10px 24px rgba(7,26,42,.14);
}

.appt-card{
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(11,36,52,.12);
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(7,26,42,.16);
  padding: 20px 20px 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.appt-top{
  display:flex;
  align-items:center;
  gap: 18px;
  margin-bottom: 18px;
}
.appt-step{
  font-weight: 750;
  color: rgba(11,36,52,.72);
  letter-spacing: .02em;
  font-size: 13px;
  white-space: nowrap;
}

.appt-progress{
  position: relative;
  flex: 1 1 auto;
  height: 14px;
  border-radius: 999px;
  background: rgba(11,36,52,.14);
  overflow: hidden;
}
.appt-progress-fill{
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--appt-accent), #22e3b3);
  border-radius: inherit;
  transition: width 420ms cubic-bezier(.16,1,.3,1);
}
.appt-progress-pill{
  position: absolute;
  top: 50%;
  left: 18%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(11,36,52,.14);
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 800;
  font-size: 12px;
  color: #0b2434;
  box-shadow: 0 16px 40px rgba(7,26,42,.12);
  transition: left 420ms cubic-bezier(.16,1,.3,1);
}

.appt-form{ display:block; }
.appt-legend{
  font-family: "Alexandria", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  font-size: 18px;
  margin: 0 0 14px;
  color: var(--appt-ink);
}
.req{ color:#eb1d44; }

.appt-radio{
  display:flex;
  align-items:flex-start;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(11,36,52,.12);
  background: rgba(255,255,255,.58);
  margin-bottom: 10px;
  transition: transform 180ms cubic-bezier(.16,1,.3,1), box-shadow 180ms cubic-bezier(.16,1,.3,1), border-color 180ms;
}
.appt-radio input{ margin-top: 3px; accent-color: var(--appt-accent-2); }
.appt-radio:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(7,26,42,.10);
  border-color: rgba(11,36,52,.18);
}
.appt-help{
  margin: 14px 0 0;
  color: rgba(11,36,52,.68);
  line-height: 1.7;
}
.appt-sub{
  margin: -4px 0 14px;
  color: rgba(11,36,52,.68);
  line-height: 1.7;
}

.appt-fields{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 6px 0 4px;
}
.appt-field{
  display:grid;
  gap: 8px;
}
.appt-field span{
  font-weight: 750;
  color: rgba(11,36,52,.74);
  font-size: 13px;
}
.appt-field input,
.appt-field textarea{
  width: 100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(11,36,52,.16);
  background: rgba(255,255,255,.86);
  font: inherit;
  outline: none;
  transition: border-color 180ms, box-shadow 180ms, transform 180ms;
}
.appt-field textarea{ resize: vertical; min-height: 110px; }
.appt-field input:focus,
.appt-field textarea:focus{
  border-color: rgba(17,203,215,.78);
  box-shadow: 0 0 0 5px rgba(17,203,215,.14);
}
.appt-field--full{ grid-column: 1 / -1; }

.appt-checks{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border-top: 1px solid rgba(11,36,52,.10);
  margin-top: 16px;
  padding-top: 16px;
}
.appt-check{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(11,36,52,.10);
}
.appt-check input{
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--appt-accent-2);
}
.appt-check strong{
  display:block;
  font-weight: 850;
  color: var(--appt-ink);
}
.appt-check small{
  display:block;
  margin-top: 4px;
  color: rgba(11,36,52,.66);
  line-height: 1.5;
}

.appt-pillgrid{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.appt-pill{
  position: relative;
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11,36,52,.14);
  background: rgba(255,255,255,.78);
  cursor: pointer;
  user-select: none;
  transition: transform 180ms cubic-bezier(.16,1,.3,1), box-shadow 180ms, border-color 180ms;
}
.appt-pill input{
  width: 16px;
  height: 16px;
  accent-color: var(--appt-accent-2);
}
.appt-pill:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(7,26,42,.10);
  border-color: rgba(11,36,52,.20);
}
.appt-label{
  font-weight: 800;
  color: rgba(11,36,52,.72);
  font-size: 13px;
  margin: 2px 0 10px;
}

.appt-cols{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 14px;
  align-items:start;
}

.appt-actions{
  display:flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}
.appt-actions .btn{
  border-radius: 999px;
  padding: 12px 22px;
  min-width: 150px;
}
.appt-prev[disabled]{
  opacity: .55;
  pointer-events: none;
}
.appt-submit{ min-width: 170px; }

.appt-errors{
  margin-top: 12px;
  color: #a71934;
  font-weight: 700;
}

.appt-alert{
  margin: 8px 0 14px;
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(11,36,52,.12);
  background: rgba(255,255,255,.72);
  color: rgba(11,36,52,.78);
  font-weight: 700;
}
.appt-alert--error{
  border-color: rgba(235,29,68,.35);
  background: rgba(235,29,68,.06);
  color: #7a0f22;
}

.appt-review{
  border: 1px solid rgba(11,36,52,.12);
  background: rgba(255,255,255,.78);
  border-radius: 18px;
  padding: 14px;
  display:grid;
  gap: 10px;
}
.appt-review .row{
  display:flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(11,36,52,.04);
}
.appt-review .k{
  font-weight: 850;
  color: rgba(11,36,52,.72);
}
.appt-review .v{
  color: rgba(11,36,52,.84);
  font-weight: 750;
  text-align: right;
}

.appt--thanks .appt-hero{ padding: calc(var(--header-h, 96px) + 32px) 0 90px; }
.appt-thanks{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items:center;
}
.appt-thanks-card{
  border-radius: 28px;
  border: 1px solid rgba(11,36,52,.12);
  background: rgba(255,255,255,.80);
  box-shadow: 0 28px 80px rgba(7,26,42,.16);
  padding: 26px;
}
.appt-thanks-badge{
  display:inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17,203,215,.12);
  border: 1px solid rgba(17,203,215,.26);
  color: rgba(11,36,52,.82);
  font-weight: 900;
  letter-spacing: .02em;
  margin-bottom: 10px;
}
.appt-thanks-card h1{
  margin: 0 0 10px;
  font-family: "Alexandria", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.appt-thanks-card p{
  margin: 0 0 18px;
  color: rgba(11,36,52,.74);
  line-height: 1.8;
  font-size: 18px;
}
.appt-thanks-actions{ display:flex; flex-wrap: wrap; gap: 12px; }
.appt-thanks-side img{
  width: 100%;
  height: auto;
  border-radius: 26px;
  border: 1px solid rgba(11,36,52,.10);
  box-shadow: 0 28px 80px rgba(7,26,42,.14);
  background: rgba(255,255,255,.76);
}

@media (max-width: 980px){
  .appt-grid{ grid-template-columns: 1fr; }
  .appt-copy p{ max-width: none; }
  .appt-checks{ grid-template-columns: 1fr; }
  .appt-fields{ grid-template-columns: 1fr; }
  .appt-cols{ grid-template-columns: 1fr; }
  .appt-actions .btn{ min-width: 0; flex: 1 1 auto; }
  .appt-thanks{ grid-template-columns: 1fr; }
}

