:root {
  --paper: #f4faf7;
  --ink: #17302c;
  --teal: #0f5c56;
  --coral: #e15a48;
  --line: #cfe3dc;
  --muted: #4f6b66;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Figtree, system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}
a { color: inherit; }
h1, h2 { font-family: Fraunces, serif; line-height: 1.12; }

.floatbar {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.floatbar > * { pointer-events: auto; }
.crest {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; font-weight: 800;
  background: #fff; padding: 8px 12px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(15,92,86,0.12);
}
.crest span {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--coral); color: #fff;
  display: grid; place-items: center;
}
.lang { display: flex; background: #fff; border-radius: 999px; overflow: hidden; box-shadow: 0 8px 24px rgba(15,92,86,0.12); }
.lang button {
  border: 0; background: transparent; padding: 10px 14px;
  cursor: pointer; font: inherit; font-weight: 700; font-size: 12px;
}
.lang button.active { background: var(--teal); color: #fff; }

.desk {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 96px 24px 48px;
  max-width: 760px;
  margin: 0 auto;
}
.hours { color: var(--coral); font-size: 12px; letter-spacing: 0.16em; font-weight: 700; margin-bottom: 16px; }
.desk h1 { font-size: clamp(34px, 6vw, 56px); margin-bottom: 16px; }
.lead { color: var(--muted); font-size: 18px; margin-bottom: 28px; }
.pass {
  width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 18px 22px;
  text-align: left;
  box-shadow: 0 16px 40px rgba(15,92,86,0.08);
}
.pass p { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0; flex-wrap: wrap; }
.pass b { color: var(--coral); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.pass a { color: var(--teal); }
.walk {
  margin-top: 28px;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.corridor-label {
  padding: 8px 24px;
  color: var(--coral);
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
}
.corridor {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 70vw);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 24px 40px;
}
.corridor article {
  scroll-snap-align: start;
  background: #fff;
  border-radius: 24px;
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
}
.corridor article p:first-child {
  font-family: Fraunces, serif;
  font-size: 40px;
  color: var(--coral);
}
.corridor h2 { font-size: 28px; margin: 8px 0 12px; }
.corridor article p:last-child { color: var(--muted); }

.triage {
  background: #d7f3ec;
  margin: 0 16px 32px;
  border-radius: 28px;
  padding: 36px 24px;
  text-align: center;
}
.triage h2 { font-size: 32px; margin-bottom: 12px; }
.triage > p { font-family: Fraunces, serif; font-size: 22px; margin-bottom: 18px; }
#triageActions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
#triageActions button {
  border: 1px solid var(--teal);
  background: #fff;
  color: var(--teal);
  padding: 12px 16px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.verdict { margin-top: 16px; color: var(--teal); font-weight: 800; }

.rx {
  background: #fff;
  margin: 0 16px 40px;
  border-radius: 8px 8px 24px 24px;
  border-top: 12px solid var(--coral);
  padding: 28px 24px 36px;
}
.rx-head p { color: var(--coral); font-size: 12px; letter-spacing: 0.2em; font-weight: 800; }
.rx-head h2 { font-size: 28px; margin: 8px 0 20px; }
form { display: grid; gap: 12px; }
@media (min-width: 700px) {
  form { grid-template-columns: 1fr 1fr; }
  .wide { grid-column: 1 / -1; }
}
label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; }
input, textarea {
  font: inherit; padding: 10px 0;
  border: 0; border-bottom: 1px dashed var(--line);
  background: transparent;
}
button[type="submit"] {
  justify-self: start;
  background: var(--teal); color: #fff; border: 0;
  padding: 12px 18px; border-radius: 999px;
  font: inherit; font-weight: 700; cursor: pointer;
}
.note { font-size: 13px; color: var(--muted); }
.rx-foot { margin-top: 24px; color: var(--muted); font-size: 13px; }
