/* Tropical morning — Booking Phase A
   Mobile first. One column, max ~640px, left aligned, generous rhythm. */

:root {
  --mist: #EEF2EC;        /* page background */
  --eucalyptus: #1F3D36;  /* text and headings */
  --lagoon: #2F7A6E;      /* buttons, links, focus ring */
  --frangipani: #F3DDA6;  /* spots-left only */
  --sand-line: #D8DED5;   /* dividers, input borders */
  --white: #FFFFFF;       /* form surfaces */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--mist);
  color: var(--eucalyptus);
  font-family: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 20px 72px;
  text-align: left;
}

h1, h2, h3 {
  font-family: Newsreader, Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.35rem; margin-top: 2.25rem; }
h3 { font-size: 1.1rem; }

p { margin: 0 0 0.75rem; }

a {
  color: var(--lagoon);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
.pay-option:focus-within {
  outline: 2px solid var(--lagoon);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ------------------------------------------------------------- page header */
.intro { margin-bottom: 2rem; }

.portrait {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sand-line);
  margin-bottom: 1rem;
}

.tagline { max-width: 34em; }

.links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 0.75rem 0 0;
}

/* --------------------------------------------------------------- schedule */
.week-label {
  font-family: Newsreader, Georgia, serif;
  font-size: 1.05rem;
  color: #45605a;
  margin: 1.75rem 0 0.35rem;
}

.day-label {
  font-weight: 600;
  margin: 1rem 0 0.15rem;
}

.slots { list-style: none; margin: 0; padding: 0; }

/* Rows are separated by thin dividers, not boxed into identical cards. */
.slot {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--sand-line);
}
.slots .slot:last-child { border-bottom: 1px solid var(--sand-line); }

.slot-time {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  margin: 0;
}
.slot-title { margin: 0; }
.slot-meta { margin: 0; color: #4c665f; font-size: 0.95rem; }

.slot-side {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.spots {
  display: inline-block;
  background: var(--frangipani);
  color: var(--eucalyptus);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.spots-muted { background: var(--sand-line); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  background: var(--lagoon);
  color: var(--white);
  border: 1px solid var(--lagoon);
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: #276b60; border-color: #276b60; }

.btn-block { width: 100%; }

.btn-quiet {
  background: transparent;
  color: var(--lagoon);
}
.btn-quiet:hover { background: rgba(47, 122, 110, 0.08); }

.btn-disabled,
.btn[disabled] {
  background: var(--sand-line);
  border-color: var(--sand-line);
  color: #55655f;
  cursor: not-allowed;
}

/* ------------------------------------------------------------- summaries */
.summary {
  margin: 1.25rem 0 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
}
.summary dt { font-weight: 600; }
.summary dd { margin: 0; }

.back { margin-bottom: 1.25rem; }

.ref {
  font-family: Newsreader, Georgia, serif;
  font-size: 1.9rem;
  letter-spacing: 0.06em;
}

/* ------------------------------------------------------------------ form */
.form { margin-top: 1.5rem; }

.field { margin-bottom: 1.15rem; }

label { display: block; font-weight: 600; margin-bottom: 0.3rem; }

.optional { font-weight: 400; color: #4c665f; font-size: 0.9rem; }

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  min-height: 48px;
  padding: 0.55rem 0.75rem;
  font: inherit;
  color: var(--eucalyptus);
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: 8px;
}

.field-error {
  color: #8c2f2f;
  font-size: 0.95rem;
  margin: 0.3rem 0 0;
}

.pay {
  border: 0;
  padding: 0;
  margin: 0 0 1.25rem;
}
.pay legend { font-weight: 600; padding: 0; margin-bottom: 0.5rem; }

.pay-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.6rem;
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: 8px;
  font-weight: 400;
  cursor: pointer;
}
.pay-option input {
  width: 20px;
  height: 20px;
  accent-color: var(--lagoon);
  flex: none;
}

.privacy {
  font-size: 0.95rem;
  color: #4c665f;
  margin-bottom: 1.25rem;
}

/* Off-screen rather than hidden: bots fill it, people never see it. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------- payment + QR */
.qr {
  display: block;
  width: 220px;
  max-width: 100%;
  padding: 0.5rem;
  margin: 1rem 0;
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: 8px;
}

.bank-note { font-size: 0.95rem; color: #4c665f; }

/* ------------------------------------------------------------- notices */
.notice,
.empty {
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: 8px;
  padding: 0.9rem 1rem;
}
.notice.warn { background: var(--frangipani); border-color: #e2c98a; }

/* ------------------------------------------------------- personal sessions */
.ps { margin-bottom: 1.75rem; }

.ps-img {
  display: block;
  width: 100%;
  max-width: 240px;
  border-radius: 8px;
  margin-bottom: 0.6rem;
}

/* The one memorable element: a slow breath on the confirmation page. */
.breathe {
  width: 190px;
  height: 190px;
  margin: 2.25rem auto;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  border-radius: 50%;
  background: rgba(47, 122, 110, 0.1);
  border: 1px solid var(--lagoon);
}
.breathe p {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-size: 1.05rem;
}

@media (prefers-reduced-motion: no-preference) {
  .breathe { animation: breathe 8s ease-in-out infinite; } /* 4s in, 4s out */
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.15); }
}

/* --------------------------------------------------------- wider screens */
@media (min-width: 560px) {
  .page { padding: 44px 24px 88px; }

  .slot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .slot-side { justify-content: flex-end; }
}
