/* Shared frame for the funnel pages D, E, F: header with name + phone, phone Call/Book bar, slim footer,
   section rhythm. Each page adds its own hero and layout. Tokens come from /shared/tokens.css. */

html { scroll-padding-top: var(--nav); }
body { padding-bottom: var(--bar); }
p, li, summary, td, th { text-wrap: pretty; }

.top { position: fixed; inset: 0 0 auto; z-index: 10; height: var(--nav); background: var(--color-ground); border-bottom: 1px solid var(--color-line); }
.top__row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.top__name { font: 400 1.25rem/1.1 var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top__with { color: var(--color-muted); }
.top__right { display: flex; align-items: center; gap: var(--space-4); }
.top__phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 12px; border-radius: var(--radius-sm); background: var(--color-accent-soft); color: var(--color-ink); font-weight: 500; text-decoration: none; }
.top__phone svg { width: 18px; height: 18px; color: var(--color-accent); }
.top__num, .top__book, .top__with { display: none; }
@media (min-width: 640px) { .top__num, .top__with { display: inline; } }
@media (min-width: 1024px) { .top__book { display: inline-flex; } .top__phone { background: none; } }

main { padding-top: var(--nav); }
.band { padding: var(--space-8) 0; }
.band--surface { background: var(--color-surface); }
.band--stone { background: var(--color-stone); }
.band h2 { font-size: var(--t-h2); }
.band__intro { margin-top: var(--space-3); font-size: var(--t-lead); line-height: 1.5; max-width: 52ch; }

/* Small proof list used in heroes */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); font-size: 0.9375rem; }
.facts li { padding-left: 18px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 2px; background: var(--color-accent); }
.facts [hidden] { display: none; }

.actions { display: grid; gap: var(--space-3); }
@media (min-width: 480px) { .actions { grid-template-columns: auto auto; justify-content: start; } }

/* Round placeholder portrait for phones */
.avatar { flex: none; width: 64px; height: 64px; padding: 2px; border-radius: 50%; border-width: 2px; font-size: 0.6875rem; }

/* Booking block */
.book__grid { display: grid; gap: var(--space-5); grid-template-columns: minmax(0, 1fr); }
.book__head { display: grid; gap: var(--space-3); align-content: start; max-width: 46ch; }
.book__call .link { display: inline-block; padding: 10px 0; }
@media (min-width: 1024px) {
  .book__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--space-5); }
  .book__head { grid-column: 1 / span 4; }
  .book__widget { grid-column: 6 / span 7; }
}

/* Short Q&A */
.qa { border-bottom: 1px solid var(--color-line); max-width: 820px; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) 0; min-height: 56px; font-weight: 500; font-size: 1.0625rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font: 400 1.5rem/1 var(--font-display); color: var(--color-accent); }
.qa[open] summary::after { content: "\2212"; }
.qa p { padding: 0 0 var(--space-5); max-width: 62ch; }

.foot { padding: var(--space-6) 0 var(--space-7); border-top: 1px solid var(--color-line); font-size: var(--t-small); color: var(--color-muted); }
.foot__row { display: grid; gap: var(--space-2); }
.foot .link { display: inline-block; padding: 10px 0; }

.actionbar { position: fixed; inset: auto 0 0; z-index: 10; display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); padding: 8px var(--gut) calc(8px + env(safe-area-inset-bottom)); background: var(--color-ground); border-top: 1px solid var(--color-line); transition: transform 200ms ease; }
.actionbar .btn { padding: 0 18px; }
.actionbar.is-hidden { transform: translateY(110%); }
@media (min-width: 640px) { .actionbar { display: none; } }

/* Phones: the bottom bar already has Call, so the hero keeps one button and the proof stays above the fold. */
@media (max-width: 639px) { main .actions .btn--secondary { display: none; } }
