/* Salong Ljung – demosida av Bureau Nord. Mobilen först. */

:root {
  --sand: #f4ede4;
  --sand-2: #ebe1d4;
  --cream: #fbf7f1;
  --beige: #d9c7b0;
  --clay: #b8916b;
  --clay-dark: #8f6a48;
  --ink: #2b2420;
  --ink-soft: #6b5e54;
  --line: rgba(43, 36, 32, 0.12);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1120px;
  --gutter: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 84px; /* plats för fast bokningsknapp i mobilen */
}
a { color: inherit; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }
h1 { font-size: clamp(3rem, 12vw, 6.2rem); }
h2 { font-size: clamp(2.3rem, 7vw, 3.8rem); margin-bottom: 18px; }
h3 { font-size: 1.7rem; }
:focus-visible { outline: 2px solid var(--clay-dark); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Demorad */
.demo-bar {
  background: var(--ink);
  color: var(--sand);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 7px 16px;
}
.demo-bar a { color: var(--cream); text-underline-offset: 3px; }
.demo-bar__sep { margin: 0 6px; opacity: 0.5; }
@media (max-width: 420px) {
  .demo-bar { font-size: 0.7rem; padding: 6px 10px; }
  .demo-bar__sep { margin: 0 3px; }
  .demo-bar .demo-bar__tag { font-size: 0.66rem; padding: 0 7px; }
}
.demo-bar .demo-bar__tag {
  display: inline-block;
  padding: 1px 9px;
  border-radius: 999px;
  border: 1px solid rgba(57, 209, 180, 0.45);
  background: rgba(57, 209, 180, 0.12);
  color: #5fe0c6;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.demo-bar .demo-bar__tag:hover { background: rgba(57, 209, 180, 0.22); }

/* Knappar och länkar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:hover { background: var(--clay-dark); transform: translateY(-1px); box-shadow: 0 14px 30px -14px rgba(143, 106, 72, 0.7); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 0.85rem; }
.btn--large { min-height: 58px; padding: 0 38px; font-size: 1rem; }
.link {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.link:hover { color: var(--clay-dark); border-color: var(--clay-dark); }

.eyebrow {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 16px;
}

/* Sidhuvud */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 237, 228, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; text-decoration: none; letter-spacing: 0.01em; }
.nav { display: none; }
.header .btn--small { display: none; }

/* Hero */
.hero { padding: 40px 0 72px; overflow: hidden; }
.hero__inner { display: grid; gap: 48px; }
.hero__title { margin-bottom: 22px; }
.hero__lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 30rem; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

.hero__art {
  position: relative;
  height: 380px;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}
.arch {
  position: absolute;
  border-radius: 999px 999px 24px 24px;
}
.arch--back {
  width: 62%;
  height: 86%;
  right: 0;
  top: 0;
  background: linear-gradient(170deg, var(--beige), var(--clay));
}
.arch--front {
  width: 62%;
  height: 86%;
  left: 0;
  bottom: 0;
  overflow: hidden;
  background: linear-gradient(160deg, #efe3d3 0%, #dcc6aa 55%, #c9a988 100%);
  box-shadow: 0 30px 60px -30px rgba(43, 36, 32, 0.45);
}
.arch__waves { position: absolute; inset: 0; width: 100%; height: 100%; }
.arch__waves path { fill: none; stroke: rgba(251, 247, 241, 0.65); stroke-width: 1.4; }
.sun {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  right: 8%;
  bottom: 10%;
  background: radial-gradient(circle at 35% 35%, #fbf1e2, #e7caa3 70%);
  box-shadow: 0 20px 40px -20px rgba(143, 106, 72, 0.6);
}

/* Sektioner */
.section { padding: 80px 0; }
.section--tint { background: var(--sand-2); }
.section__head { max-width: 36rem; margin-bottom: 40px; }
.section__lead { color: var(--ink-soft); max-width: 34rem; }

/* Prislista */
.menu { display: grid; gap: 36px; }
.menu__group h3 { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.menu__group li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.98rem;
}
.menu__group li span:last-child { font-weight: 600; white-space: nowrap; }
.dots { flex: 1; border-bottom: 1px dotted rgba(43, 36, 32, 0.3); transform: translateY(-4px); min-width: 16px; }

/* Om salongen */
.about { display: grid; gap: 44px; align-items: center; }
.about__text p:not(.eyebrow) { color: var(--ink-soft); margin-bottom: 16px; max-width: 32rem; }
.about__art {
  position: relative;
  height: 320px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
.tile { border-radius: 22px; }
.tile--a {
  grid-row: span 2;
  background:
    radial-gradient(circle at 30% 25%, rgba(251, 247, 241, 0.7), transparent 45%),
    linear-gradient(180deg, #d8c2a6, #b8916b);
}
.tile--b {
  background:
    repeating-linear-gradient(135deg, rgba(251, 247, 241, 0.5) 0 2px, transparent 2px 14px),
    #e6d8c6;
}
.tile--c {
  background: linear-gradient(135deg, #cdb79b, #efe3d3);
  border-radius: 22px 22px 999px 22px;
}

/* Frisörer */
.team { display: grid; gap: 28px; }
.person p { color: var(--ink-soft); }
.person h3 { margin: 18px 0 2px; }
.person .person__role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 8px;
}
.person__art {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 20px 20px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 22px;
  overflow: hidden;
  position: relative;
}
.person__art span {
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(251, 247, 241, 0.85);
}
.person__art--1 { background: linear-gradient(170deg, #e8d9c6, #c4a07c); }
.person__art--2 { background: linear-gradient(170deg, #efe4d6, #d3b794); }
.person__art--3 { background: linear-gradient(170deg, #ddd0bf, #a98866); }
.person__art::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  top: 12%;
  border-radius: 50%;
  border: 1px solid rgba(251, 247, 241, 0.5);
}

/* Öppettider och karta */
.visit { display: grid; gap: 40px; }
.hours { margin-top: 10px; }
.hours div {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.hours dd { font-weight: 600; }

/* Kontakt */
.contact { text-align: center; }
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact .section__lead { margin: 0 auto 30px; }
.contact__grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
  width: 100%;
  max-width: 820px;
}
.contact__label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 6px;
}
.contact__grid a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact__grid a:hover { border-color: var(--ink); }

/* Ruta om Bas-paketet */
.package-note { padding: 0 0 56px; }
.package-note__box {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.package-note__box a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  margin-left: 4px;
  white-space: nowrap;
}
.package-note__box a:hover { color: var(--clay-dark); border-color: var(--clay-dark); }

/* Sidfot */
.footer { background: var(--ink); color: var(--sand-2); padding: 44px 0; }
.footer__inner { display: grid; gap: 8px; }
.footer__logo { font-family: var(--serif); font-size: 1.8rem; color: var(--cream); }
.footer__small { font-size: 0.8rem; color: #a9998b; margin-top: 10px; }
.footer a { color: var(--cream); }

/* Fast bokningsknapp i mobilen */
.sticky-book {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(244, 237, 228, 0), rgba(244, 237, 228, 0.95) 35%);
}
.sticky-book .btn { width: 100%; box-shadow: 0 16px 34px -18px rgba(43, 36, 32, 0.7); }

/* Demo-meddelande */
.toast {
  position: fixed;
  left: 50%;
  bottom: 100px;
  z-index: 70;
  max-width: calc(100% - 40px);
  transform: translate(-50%, 12px);
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.9rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Mjuka intoningar. Döljs bara när JavaScript körs. */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .toast { transition: none; }
}

/* Surfplatta och dator */
@media (min-width: 760px) {
  :root { --gutter: 36px; }
  body { padding-bottom: 0; }
  .sticky-book { display: none; }
  .toast { bottom: 32px; }
  .header__inner { height: 74px; }
  .header .btn--small { display: inline-flex; }

  .hero { padding: 72px 0 100px; }
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .hero__art { height: 480px; }

  .section { padding: 110px 0; }
  .menu { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; }
  .about { grid-template-columns: 1fr 1fr; gap: 72px; }
  .about__art { height: 440px; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .visit { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
  .visit--single { grid-template-columns: minmax(0, 560px); justify-content: center; }
  .contact__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__inner { grid-template-columns: 1fr auto; align-items: end; }
  .footer__small { grid-column: 1 / -1; }
}

@media (min-width: 960px) {
  .nav { display: flex; gap: 30px; font-size: 0.92rem; }
  .nav a { text-decoration: none; color: var(--ink-soft); transition: color 0.2s; }
  .nav a:hover { color: var(--ink); }
}
