/* ============================================================
   Toms Arena · bestilling.html (runde 2026-10, redesign)

   Øverst et mørkt bånd med tittel og tre fakta. Bestillingsflyten
   ligger i et hvitt kort som overlapper båndet, med «Din time» som et
   mørkt kort til høyre (shared/booking/booking-flow.css). Under kortet:
   «Godt å vite» og kontaktveier.

   .bk-page og .bk-wrap brukes også av avbestill.html og venteliste.html.
   ============================================================ */

.bk-page { background: var(--paper-2); }
/* Runde 21: html faar samme flate som body, saa overscroll og kantene
   paa mobil (header.css, KANTENE PAA MOBIL) er en farge. */
html:has(body.bk-page) { background: var(--paper-2); }
.bk-wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }

/* ---------- Bånd ---------- */
.bk-hero {
  margin: 0 12px; border-radius: 32px; /* runde 2026-10-17: runde hjørner også øverst, ellers så kanten under headeren avkuttet ut */
  padding: 136px 0 128px; color: #fff;
  background:
    radial-gradient(60% 80% at 90% 0%, rgba(74, 102, 80, .55) 0%, rgba(31, 74, 47, 0) 70%),
    var(--forest-950);
}
/* Lenka i brødsmula er minst 44 px høy (runde 3, PA A4); den negative
   margen holder raden like høy som før. */
.bk-crumb { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 14px; color: rgba(255, 255, 255, .94); }
.bk-crumb a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; color: rgba(255, 255, 255, .94); text-decoration: none; }
.bk-crumb a:hover { color: #fff; }
.bk-hero h1 { margin: 0; font-family: 'Instrument Serif', 'TA Serif', Georgia, serif; font-weight: 400; font-size: clamp(52px, 7vw, 96px); line-height: .95; letter-spacing: -0.02em; }
.bk-hero h1 em { font-style: italic; color: var(--sage); }
.bk-lede { margin: 18px 0 0; max-width: 50ch; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .94); }
.bk-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.bk-facts li { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px 0 6px; border-radius: 999px; background: rgba(21, 25, 26, .1); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: #fff; }
.bk-facts .ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(183, 211, 174, .18); color: var(--sage-2); }
.bk-facts svg { width: 16px; height: 16px; }

/* ---------- Flyten, løftet opp over båndet ---------- */
.bk-main { position: relative; z-index: 2; margin-top: -88px; padding: 0 0 56px; scroll-margin-top: 96px; }
/* Plass til bestillingen før booking-flow.js har tegnet den (runde 22): ellers
   står hjelpeseksjonen rett under heroen og skyves 300-600 px ned når flyten kommer. */
.bk-flow:empty { min-height: 320px; }

/* ---------- Godt å vite ---------- */
.bk-more { padding: 0 0 96px; }
.bk-more-grid { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 12px; align-items: stretch; }
.bk-info { padding: 32px 36px; border-radius: 32px; background: #fff; box-shadow: 0 0 0 1px rgba(21, 25, 26, .06); }
.bk-info h2 { margin: 0 0 22px; font-family: 'Instrument Serif', 'TA Serif', Georgia, serif; font-weight: 400; font-size: 34px; line-height: 1; color: var(--ink, #15191A); }
.bk-info dl { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.bk-info dl > div { padding-top: 16px; border-top: 1px solid rgba(21, 25, 26, .1); }
.bk-info dt { font-size: 14px; font-weight: 600; color: var(--ink, #15191A); }
.bk-info dd { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.bk-info dd a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink, #15191A); font-weight: 500; text-underline-offset: 3px; }
.bk-help { display: grid; gap: 12px; align-content: stretch; }
.bk-tom { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 22px; border-radius: 32px; background: var(--sage-2); color: var(--ink, #15191A); text-decoration: none; transition: background-color .3s var(--ease), transform .3s var(--ease); }
.bk-tom:hover { background: var(--sage); color: var(--ink, #15191A); transform: translateY(-2px); }
.bk-tom b { display: block; font-size: 16px; font-weight: 600; }
.bk-tom span span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--forest-800); }
.bk-tom i { font-style: normal; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.bk-tom:hover i { transform: translateX(3px); }
.bk-tom__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 18px; background: rgba(255, 255, 255, .7); color: var(--ink, #15191A); }
.bk-call { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 64px; padding: 0 26px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(21, 25, 26, .06); color: var(--ink); text-decoration: none; font-size: 15px; }
.bk-call b { font-weight: 600; color: var(--ink, #15191A); }
.bk-call:hover { background: var(--paper-3); color: var(--ink); }

@media (max-width: 1100px) {
  .bk-more-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .bk-info dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 959px) {
  .bk-more-grid { grid-template-columns: 1fr; }
  /* Plass til den faste bunnlinja i flyten */
  .bk-bestill { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 640px) {
  .bk-hero { margin: 0; border-radius: 0 0 26px 26px; padding: 100px 0 84px; }
  .bk-hero h1 { font-size: 52px; }
  .bk-crumb { margin-bottom: 14px; }
  .bk-lede { font-size: 16px; }
  /* Faktaene står også i «Din time» og under «Godt å vite». På mobil
     skyver de bare flyten ned under folden. */
  .bk-facts { display: none; }
  .bk-wrap { width: calc(100% - 24px); }
  .bk-hero .bk-wrap { width: calc(100% - 40px); }
  .bk-main { margin-top: -64px; padding-bottom: 40px; }
  .bk-more { padding-bottom: 56px; }
  .bk-info { padding: 24px 20px; border-radius: 28px; }
  .bk-info h2 { font-size: 30px; }
  .bk-info dl { grid-template-columns: 1fr; gap: 0; }
  .bk-info dl > div { padding: 14px 0; }
  .bk-tom { padding: 18px; border-radius: 28px; grid-template-columns: 44px 1fr auto; }
  .bk-tom__ic { width: 44px; height: 44px; border-radius: 14px; }
  .bk-call { padding: 0 22px; }
}

/* Runde 2026-10-17: «Godt å vite» er borte; hjelpekortene står side om side. */
.bk-more-grid { grid-template-columns: 1fr; }
.bk-help { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .bk-help { grid-template-columns: 1fr; } }

/* ---------- Runde 2026-10-17: mobilgjennomgang ----------
   Plassen til den faste bookinglinja legges bare inn når linja vises,
   og footeren har samme skoggrønne farge og runde topp som resten av
   nettsiden. */
@media (max-width: 959px) {
  .bk-bestill:not(:has(.tabf-bar:not([hidden]))) { padding-bottom: 0; }
}

