/* BOOKING FLOW — /book */
:root { --book-w: 600px; }
.book { min-height: 100vh; display: flex; flex-direction: column; background: #fff; }

/* TOP CHROME */
.book__chrome { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--gp-border-soft); }
.book__chrome img { height: 36px; }
.book__lang { display: flex; gap: 4px; font-size: 13px; }
.book__lang button { padding: 6px 10px; border-radius: 6px; color: var(--gp-fg-muted); }
.book__lang button.is-on { background: var(--gp-tint-warm-10); color: var(--gp-warm-brown); font-weight: 600; }

/* PROGRESS DOTS */
.book__progress { padding: 20px 24px 0; display: flex; gap: 6px; max-width: var(--book-w); margin: 0 auto; width: 100%; }
.book__dot { flex: 1; height: 4px; border-radius: 100px; background: var(--gp-beige); }
.book__dot.is-on { background: var(--gp-warm-brown); }
.book__dot.is-done { background: var(--gp-olive); }

/* MAIN */
.book__main { flex: 1; max-width: var(--book-w); width: 100%; margin: 0 auto; padding: 32px 24px 120px; }
.book__step-label { font-size: 13px; font-weight: 600; color: var(--gp-warm-brown); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.book__title { font-size: 28px; font-weight: 600; line-height: 1.3; color: var(--gp-charcoal); margin: 0 0 8px; }
.book__sub-h { font-size: 17px; font-weight: 600; color: var(--gp-charcoal); margin: 28px 0 12px; }
.field__help { font-size: 12px; color: var(--gp-fg-light); margin-top: 6px; line-height: 1.5; }
.book__sub { font-size: 16px; line-height: 1.7; color: var(--gp-fg-muted); margin: 0 0 32px; }

/* INTENT CARDS (Screen 1) */
.intent-grid { display: grid; gap: 14px; }
.intent { display: flex; align-items: center; gap: 16px; padding: 20px; background: #fff; border: 2px solid var(--gp-beige); border-radius: 12px; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; text-align: left; width: 100%; }
.intent:hover { border-color: var(--gp-warm-brown); box-shadow: 0 4px 20px rgba(0,0,0,.06); transform: translateY(-1px); }
.intent.is-selected { border-color: var(--gp-warm-brown); background: var(--gp-tint-warm-6); }
.intent__icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.intent__name { font-size: 16px; font-weight: 600; color: var(--gp-charcoal); margin: 0 0 4px; }
.intent__desc { font-size: 13px; color: var(--gp-fg-muted); margin: 0; }

/* URGENT BANNER */
.urgent-banner { margin-top: 20px; padding: 16px 20px; background: rgba(194,84,80,.08); border: 1px solid rgba(194,84,80,.30); border-radius: 12px; display: flex; gap: 12px; align-items: flex-start; }
.urgent-banner__icon { color: var(--gp-urgent); flex-shrink: 0; }
.urgent-banner h4 { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--gp-urgent-dark); }
.urgent-banner p { margin: 0 0 12px; font-size: 13px; line-height: 1.6; color: var(--gp-charcoal); }
.urgent-banner a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 100px; background: var(--gp-urgent); color: #fff; font-size: 13px; font-weight: 600; }

/* PET (Screen 2) */
.pet-strip { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.pet-tile { padding: 18px 12px; border: 2px solid var(--gp-beige); border-radius: 12px; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; transition: border-color .2s, background .2s; }
.pet-tile:hover { border-color: var(--gp-warm-brown); }
.pet-tile.is-selected { border-color: var(--gp-warm-brown); background: var(--gp-tint-warm-6); }
.pet-tile__icon { color: var(--gp-olive); }
.pet-tile.is-selected .pet-tile__icon { color: var(--gp-warm-brown); }
.pet-tile__label { font-size: 14px; font-weight: 600; color: var(--gp-charcoal); }

.field { margin-bottom: 16px; }
.field__label { display: block; font-size: 13px; font-weight: 600; color: var(--gp-charcoal); margin-bottom: 6px; }
.field__input, .field__select { width: 100%; padding: 14px 16px; font-size: 16px; border: 1px solid var(--gp-border-input); border-radius: 8px; background: #fff; color: var(--gp-charcoal); transition: border-color .2s, box-shadow .2s; }
.field__input:focus, .field__select:focus { outline: none; border-color: var(--gp-warm-brown); box-shadow: 0 0 0 3px rgba(165,126,85,.15); }
.field__help { font-size: 12px; color: var(--gp-fg-light); margin-top: 6px; }

.age-slider { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 4px; background: var(--gp-cream); border-radius: 100px; }
.age-slider button { padding: 10px; font-size: 13px; font-weight: 600; border-radius: 100px; color: var(--gp-fg-muted); }
.age-slider button.is-on { background: var(--gp-warm-brown); color: #fff; }

/* CALENDAR (Screen 3) */
.cal { background: #fff; border: 1px solid var(--gp-beige); border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cal__month { font-size: 16px; font-weight: 600; color: var(--gp-charcoal); }
.cal__nav { display: flex; gap: 6px; }
.cal__nav button { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--gp-fg-muted); border: 1px solid var(--gp-beige); }
.cal__nav button:hover { background: var(--gp-cream); color: var(--gp-warm-brown); }
.cal__grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.cal__dow { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--gp-fg-light); text-align: center; padding: 6px 0; font-weight: 600; }
.cal__day { aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--gp-charcoal); cursor: pointer; transition: background .2s, color .2s; }
.cal__day:hover:not(.is-disabled) { background: var(--gp-cream); }
.cal__day.is-selected { background: var(--gp-warm-brown); color: #fff; font-weight: 600; }
.cal__day.is-disabled { color: var(--gp-fg-light); cursor: not-allowed; opacity: .4; }
.cal__day.is-today { font-weight: 700; }
.cal__day.is-today::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gp-warm-brown); position: absolute; transform: translateY(12px); }

.times { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.time-chip { padding: 12px; border: 1px solid var(--gp-beige); border-radius: 100px; font-size: 14px; font-weight: 600; color: var(--gp-charcoal); background: #fff; cursor: pointer; transition: all .2s; }
.time-chip:hover { border-color: var(--gp-warm-brown); color: var(--gp-warm-brown); }
.time-chip.is-on { background: var(--gp-warm-brown); border-color: var(--gp-warm-brown); color: #fff; }
.time-chip.is-disabled { color: var(--gp-fg-light); cursor: not-allowed; opacity: .5; }

/* DOCTOR CARD */
.doc-card { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--gp-beige); border-radius: 12px; background: #fff; align-items: center; margin-bottom: 12px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.doc-card:hover, .doc-card.is-on { border-color: var(--gp-warm-brown); box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.doc-card__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.doc-card__name { font-size: 15px; font-weight: 600; color: var(--gp-charcoal); margin: 0 0 2px; }
.doc-card__meta { font-size: 12px; color: var(--gp-fg-muted); margin: 0; }
.doc-card__badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 100px; background: var(--gp-tint-warm-10); color: var(--gp-warm-brown); font-size: 11px; font-weight: 600; margin-top: 4px; }

/* CONFIRM (Screen 5) */
.itinerary { background: var(--gp-cream); border-radius: 12px; padding: 24px; margin-bottom: 20px; }
.itinerary__row { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(176,141,87,.18); align-items: flex-start; }
.itinerary__row:first-child { border-top: none; padding-top: 0; }
.itinerary__icon { color: var(--gp-warm-brown); margin-top: 2px; }
.itinerary__label { font-size: 12px; color: var(--gp-fg-muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; margin: 0 0 2px; }
.itinerary__value { font-size: 15px; color: var(--gp-charcoal); margin: 0; font-weight: 500; }
.itinerary__edit { margin-left: auto; color: var(--gp-warm-brown); font-size: 12px; font-weight: 600; }

.success { text-align: center; padding: 48px 24px; }
.success__check { width: 80px; height: 80px; border-radius: 50%; background: var(--gp-success); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.success__title { font-size: 28px; font-weight: 600; color: var(--gp-charcoal); margin: 0 0 12px; }
.success__text { font-size: 16px; line-height: 1.7; color: var(--gp-fg-muted); margin: 0 0 24px; max-width: 440px; margin-left: auto; margin-right: auto; }

/* STICKY BOTTOM CTA */
.book__cta { position: sticky; bottom: 0; left: 0; right: 0; padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--gp-border-soft); }
.book__cta-inner { max-width: var(--book-w); margin: 0 auto; display: flex; gap: 12px; align-items: center; }
.book__cta button { flex: 1; padding: 16px; font-size: 16px; font-weight: 600; border-radius: 100px; }
.book__back { background: transparent; color: var(--gp-fg-muted); flex: 0 0 auto; padding: 16px 20px; }
.book__primary { background: var(--gp-warm-brown); color: #fff; box-shadow: 0 4px 20px rgba(176,141,87,.4); }
.book__primary:hover:not(:disabled) { background: var(--gp-warm-brown-dark); }
.book__primary:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }

@media (min-width: 768px) {
  .book__title { font-size: 32px; }
}
