/* Salon Stråle - demo site styles
   Layout paradigm: split-screen, sticky brand panel left / scrolling content right. */

/* Self-hosted fonts (SIL Open Font License 1.1, see CREDITS.md) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/playfair-display-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-display-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --plum: #3E1F3A;
  --blush: #F7E6E1;
  --rose: #C9828A;
  --ink: #2A1F28;
  --muted: #6A4F63;
  --focus: #3E1F3A;
  --shadow: 0 18px 40px rgba(62, 31, 58, .18);
  --section-padding: clamp(56px, 8vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--ink);
  background: var(--blush);
  line-height: 1.65;
}
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  margin: 0;
  color: var(--plum);
}
p { margin: 0; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
.demo-banner, .panel, .site-footer { --focus: #C9828A; }
input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }

.container {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--plum);
  color: var(--blush);
  padding: 12px 20px;
  z-index: 1000;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Demo banner ---------- */
.demo-banner {
  background: var(--plum);
  color: var(--blush);
  padding: 10px 16px;
  text-align: center;
  font-size: .9rem;
}
.demo-banner a { color: var(--rose); font-weight: 700; text-decoration: underline; }

/* ---------- Split layout ---------- */
.split { display: block; }
@media (min-width: 1024px) {
  .split { display: grid; grid-template-columns: minmax(320px, 38%) 1fr; align-items: start; }
}

/* ---------- Panel (sticky brand header) ---------- */
.panel {
  background: var(--plum);
  color: var(--blush);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 16px 20px;
  overflow: hidden;
}
.panel .logo {
  order: 1;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--blush);
}
.panel .logo em { color: var(--rose); font-style: italic; font-weight: 500; }
.panel__cta { order: 2; background: var(--blush); color: var(--plum); padding: 9px 18px; border-radius: 999px; font-weight: 700; }
.panel__nav { order: 3; flex-basis: 100%; }
.panel__nav ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.panel__nav a {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  color: var(--blush);
  border-bottom: 2px solid transparent;
}
.panel__nav a:hover { border-bottom-color: var(--rose); }
.panel__contact, .panel__art { display: none; }

@media (min-width: 1024px) {
  .panel {
    position: sticky;
    top: 0;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 32px 40px 176px;
    overflow-y: auto;
    gap: 0;
  }
  .panel .logo { order: 0; font-size: 2rem; margin-bottom: 28px; }
  .panel__cta { order: 0; margin-bottom: 32px; }
  .panel__nav { order: 0; flex-basis: auto; margin-bottom: auto; }
  .panel__nav ul { flex-direction: column; gap: 16px; }
  .panel__nav a { font-size: 1.35rem; }
  .panel__contact {
    display: block;
    order: 0;
    color: rgba(247, 230, 225, .8);
    font-size: .92rem;
    margin-top: 24px;
  }
  .panel__contact p { margin-top: 4px; }
  .panel__art {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 160px;
    opacity: .8;
  }
}
@media (min-width: 1024px) and (max-height: 920px) {
  .panel { padding-top: 24px; }
  .panel .logo { margin-bottom: 20px; }
  .panel__cta { margin-bottom: 24px; }
  .panel__nav ul { gap: 12px; }
  .panel__contact { margin-top: 16px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn--primary { background: var(--plum); color: var(--blush); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Main sections ---------- */
main { background: var(--blush); }
.hero, .treatments, .stylists, .book, .visit { padding-block: var(--section-padding); }
.section-title {
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem);
  margin-bottom: clamp(24px, 4vw, 40px);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2rem, 1.5rem + 2.6vw, 3rem); line-height: 1.1; margin-bottom: 16px; }
.hero__text { color: var(--muted); max-width: 46ch; margin-bottom: 24px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__chips li {
  border: 1px solid var(--rose);
  border-radius: 999px;
  padding: 6px 18px;
  font-weight: 600;
  font-size: .85rem;
  color: var(--plum);
}

/* ---------- Behandlinger ---------- */
.treatments__group { margin-bottom: 36px; }
.treatments__group h3 { margin-bottom: 12px; }
.treatment-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-block: 12px;
  border-bottom: 1px solid var(--rose);
}
.treatment-row__name { font-weight: 600; }
.treatment-row__duration { color: var(--muted); font-size: .85rem; }
.treatment-row__price {
  margin-left: auto;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--plum);
  white-space: nowrap;
}

/* ---------- Frisørerne ---------- */
.stylists__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  text-align: center;
}
@media (min-width: 640px) {
  .stylists__grid { grid-template-columns: repeat(3, 1fr); }
}
.stylist-card__monogram { width: 90px; margin-inline: auto; margin-bottom: 14px; }
.stylist-card h3 { margin-bottom: 6px; }
.stylist-card p { color: var(--muted); }

/* ---------- Book ---------- */
.form-note { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.req { color: #7A3A45; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(62, 31, 58, .25);
  border-radius: 16px;
  background: #FFFFFF;
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 100px; }

.slots { border: none; padding: 0; margin: 0 0 18px; }
.slots legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.slots__list { display: flex; flex-wrap: wrap; gap: 10px; }
.slots__list input[type="radio"] {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.slots__list label {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--plum);
  color: var(--plum);
  font-weight: 600;
  cursor: pointer;
}
.slots__list input[type="radio"]:checked + label {
  background: var(--plum);
  color: var(--blush);
}

.booking__summary {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 14px 18px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 18px;
}
.demo-form__status { margin-top: 14px; font-weight: 700; color: var(--plum); min-height: 1.4em; }

/* ---------- Besøg ---------- */
.visit__hours { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.visit__hours div { display: flex; justify-content: space-between; max-width: 260px; gap: 12px; }
.visit__hours dt { font-weight: 700; }
.visit__hours dd { color: var(--muted); margin: 0; }
.visit p { margin-top: 8px; }
.visit a { font-weight: 700; color: var(--plum); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--plum);
  color: rgba(247, 230, 225, .85);
  padding-block: 22px;
  text-align: center;
}
.site-footer a { color: var(--rose); font-weight: 700; }

/* ======================================================================
   Multi-page additions
   ====================================================================== */
[hidden] { display: none !important; }
img { height: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.panel__cta[aria-current="page"] { box-shadow: 0 0 0 3px var(--rose); }

/* Photo treatment: arch top */
.arch { display: block; width: 100%; border-radius: 999px 999px 16px 16px; object-fit: cover; aspect-ratio: 3 / 4; box-shadow: var(--shadow); }

/* Hero */
.hero__inner { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 640px) { .hero__inner { grid-template-columns: 1.15fr .85fr; } }
.hero__photo-wrap { max-width: 340px; width: 100%; justify-self: center; }
.hero__photo { aspect-ratio: 3 / 4; object-position: 30% center; }

/* Salonen */
.salon { padding-block: var(--section-padding); }
.salon__intro { color: var(--muted); max-width: 52ch; margin: -12px 0 32px; }
.salon__grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 480px) { .salon__grid { grid-template-columns: 1fr 1fr; } }
.salon__item { margin: 0; }
.salon__item figcaption { margin-top: 12px; text-align: center; font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.1rem; color: var(--plum); }

/* Band */
.band { --focus: #C9828A; background: var(--plum); color: var(--blush); padding-block: clamp(44px, 7vw, 72px); }
.band h2 { color: var(--blush); font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); margin-bottom: 10px; }
.band p { color: rgba(247, 230, 225, .9); margin-bottom: 22px; }
.band .btn--primary { background: var(--blush); color: var(--plum); }

/* Booking wizard */
.book__layout.container { max-width: 980px; }
.book__layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .book__layout { grid-template-columns: minmax(0, 1fr) 210px; } }
.book__side { display: none; }
@media (min-width: 1024px) { .book__side { display: block; position: sticky; top: 40px; align-self: start; } }
.book__photo { aspect-ratio: 4 / 5; }
.book__main h1 { margin-bottom: 12px; }
.wizard__steps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; counter-reset: wz; }
.wizard__steps li { counter-increment: wz; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--plum); border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--plum); }
.wizard__steps li::before { content: counter(wz); font-weight: 700; }
.wizard__steps li[aria-current="step"] { background: var(--plum); color: var(--blush); }
.wizard__progress { font-weight: 700; color: var(--muted); margin-bottom: 20px; }
fieldset[data-step] { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset[data-step] > legend { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.5rem; color: var(--plum); padding: 0; margin-bottom: 16px; }
.opts { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 560px) { .opts { grid-template-columns: 1fr 1fr; } }
.opt input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.opt label { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; height: 100%; background: #fff; border: 1px solid rgba(62, 31, 58, .35); border-radius: 16px; padding: 14px 16px; cursor: pointer; }
.opt label:hover { border-color: var(--plum); }
.opt__name { font-weight: 700; color: var(--plum); }
.opt__meta { color: var(--muted); font-size: .88rem; grid-column: 1; }
.opt__price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: 'Playfair Display', serif; font-style: italic; color: var(--plum); white-space: nowrap; }
.opt input:checked + label { border-color: var(--plum); box-shadow: inset 0 0 0 2px var(--plum); }
.opt--person label { display: flex; align-items: center; gap: 14px; }
.opt__mono { width: 52px; height: 52px; flex-shrink: 0; }
.opt__text { display: grid; gap: 2px; }
.slots__list input:disabled + label { text-decoration: line-through; border-style: dashed; color: var(--muted); cursor: not-allowed; }
.slot-info { color: var(--muted); font-weight: 600; min-height: 1.4em; margin-bottom: 8px; }
.step-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn--ghost-dark { background: transparent; color: var(--plum); border: 2px solid var(--plum); }
.btn--ghost-dark:hover { background: var(--plum); color: var(--blush); }
.btn.panel__cta { background: var(--blush); color: var(--plum); padding: 9px 18px; }
