/* ==========================================================================
   Luna Beauty — main stylesheet
   Depends on tokens.css. Mobile-first; breakpoints at 720px and 980px.
   ========================================================================== */

/* --- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--c-page);
  color: var(--c-ink-body);
  font-family: var(--f-ui);
  font-size: var(--t-body);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* The UA rule for [hidden] is display:none, but any author rule that sets a
   display beats it. Without this, hiding an element by attribute silently
   fails wherever we style it with display. */
[hidden] { display: none !important; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 500; color: var(--c-ink); }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.shell {
  width: min(1180px, 100% - (var(--s-gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--c-accent); color: var(--c-ink-invert);
  padding: .75rem 1.25rem; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* --- Typography --------------------------------------------------------- */
.h2 {
  font-family: var(--f-display);
  font-size: var(--t-h2);
  font-weight: 500;
  line-height: 1.25;
  color: var(--c-heading-gold);
  margin: 0 0 1.1rem;
  letter-spacing: .005em;
}

.h2--barred {
  border-left: 2px solid var(--c-accent);
  padding-left: 1.15rem;
  color: var(--c-ink);
}

.h2--ruled { position: relative; padding-bottom: .85rem; }
.h2--ruled::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 54px; height: 1.5px;
  background: var(--c-accent);
}

.section__lede { max-width: 56ch; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--f-ui);
  font-size: var(--t-micro);
  font-weight: 400;
  letter-spacing: var(--ls-micro);
  text-transform: uppercase;
  text-decoration: none;
  padding: .85rem 1.9rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--solid { background: var(--c-accent); color: var(--c-ink-invert); }
.btn--solid:hover { background: var(--c-accent-deep); }

.btn--ghost { background: transparent; color: var(--c-accent); border-color: var(--c-accent-soft); }
.btn--ghost:hover { background: var(--c-accent); color: var(--c-ink-invert); border-color: var(--c-accent); }

.btn--sm { padding: .62rem 1.35rem; font-size: .625rem; }
.btn--lg { padding: 1rem 2.4rem; }

.btn__ext {
  flex: none;
  width: 11px;
  height: 11px;
  opacity: .8;
  margin-left: -.1rem;
}
.btn--lg .btn__ext { width: 12px; height: 12px; }
.btn--sm .btn__ext { width: 9.5px; height: 9.5px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- Language modal ----------------------------------------------------- */
.langmodal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: var(--s-gutter);
  background: rgba(40, 32, 25, .45);
  backdrop-filter: blur(3px);
  animation: modalIn .25s var(--ease);
}
@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .langmodal { animation: none; } }

.langmodal__panel {
  width: min(360px, 100%);
  padding: 2rem 1.75rem 1.75rem;
  text-align: center;
  background: var(--c-page);
  border-radius: var(--r-frame);
  box-shadow: var(--shadow-frame);
}
.langmodal__mark { width: 48px; height: 48px; margin: 0 auto .9rem; border-radius: 50%; }
.langmodal__title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--c-ink);
  margin: 0 0 .25rem;
}
.langmodal__lede {
  font-size: var(--t-small);
  color: var(--c-ink-muted);
  margin: 0 0 1.5rem;
}
.langmodal__actions { display: grid; gap: .6rem; }
.langmodal__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.25rem;
  border-radius: 99px;
  border: 1px solid var(--c-line);
  font-family: var(--f-ui);
  font-size: var(--t-micro);
  letter-spacing: var(--ls-micro);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-ink-body);
  background: var(--c-surface);
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease);
}
.langmodal__btn:hover {
  background: var(--c-accent-tint);
  border-color: var(--c-accent-tint);
  color: var(--c-heading-gold);
}

body.modal-open { overflow: hidden; }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--c-surface-sunk) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line-soft);
}

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none;
  color: var(--c-ink);
}
.brand__mark {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
}
.brand__name {
  font-family: var(--f-display);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: .01em;
}

.nav {
  display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.2rem);
}
.nav__link {
  font-size: var(--t-micro);
  letter-spacing: var(--ls-micro);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-ink-body);
  padding-bottom: 3px;
  border-bottom: 1.5px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.nav__link:hover { color: var(--c-ink); }
.nav__link.is-active { color: var(--c-heading-gold); border-bottom-color: var(--c-accent); }
.nav__link--mobile { display: none; }

.nav__divider {
  flex: none;
  width: 1px;
  height: 16px;
  background: var(--c-line);
}
.nav__link--page { color: var(--c-heading-gold); }
.nav__link--page:hover { color: var(--c-accent-deep); }

.lang { position: relative; }
.lang > summary {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .5rem;
  border-radius: 4px;
  font-size: var(--t-micro);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-ink-body);
  cursor: pointer;
  list-style: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary:hover { background: var(--c-line-soft); color: var(--c-ink); }
.lang__chev {
  width: 10px; height: 10px;
  opacity: .55;
  transition: transform .2s var(--ease);
}
.lang[open] > summary .lang__chev { transform: rotate(180deg); }

.lang__menu {
  position: absolute; right: 0; top: calc(100% + .4rem);
  z-index: 60;
  min-width: 100%;
  margin: 0; padding: .25rem;
  list-style: none;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  box-shadow: var(--shadow-card);
}
.lang__opt {
  display: flex; align-items: center; gap: .4rem;
  padding: .4rem .55rem;
  border-radius: 4px;
  font-size: var(--t-micro);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--c-ink-body);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.lang__opt:hover { background: var(--c-line-soft); color: var(--c-ink); }
.lang__opt.is-current { color: var(--c-heading-gold); }
.lang__flag {
  flex: none;
  width: 16px; height: 12px;
  border-radius: 1.5px;
  box-shadow: 0 0 0 .5px rgba(61, 50, 41, .2);
}

/* Drawer alternative to the dropdown; shown only below 720px. */
.lang-pills { display: none; gap: .5rem; }
.lang-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .85rem;
  border-radius: 99px;
  border: 1px solid var(--c-line);
  font-size: var(--t-micro);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-ink-muted);
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease);
}
/* Quiet on purpose: this is a preference, not an action, so it must not
   compete with the booking button sitting just below it. */
.lang-pill.is-current {
  background: var(--c-accent-tint);
  border-color: var(--c-accent-tint);
  color: var(--c-heading-gold);
}

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 4px;
  width: 40px; height: 40px;
  padding: 0 9px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 100%;
  background: var(--c-ink);
  transition: transform .28s var(--ease), opacity .18s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(78vh, 660px);
  display: grid; place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(40,32,25,.34) 0%, rgba(40,32,25,.12) 42%, rgba(40,32,25,.46) 100%);
}
.hero__content {
  text-align: center;
  padding: 4rem var(--s-gutter);
  display: grid; justify-items: center; gap: 1.75rem;
}
.hero__content .btn--solid {
  border-width: 1.5px;
  border-color: var(--c-accent-deep);
}
.hero__content .btn--solid:hover { border-color: var(--c-ink); }

.hero__title {
  font-family: var(--f-display);
  font-size: var(--t-hero);
  font-weight: 500;
  line-height: 1.1;
  color: var(--c-ink-invert);
  margin: 0;
  text-shadow: 0 2px 24px rgba(30, 24, 18, .35);
}
.hero__scroll {
  position: absolute; bottom: 1.75rem; left: 50%;
  translate: -50% 0;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  color: rgba(253, 251, 249, .85);
  animation: nudge 2.4s var(--ease) infinite;
}
.hero__scroll svg { width: 22px; height: 22px; }
@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) { .hero__scroll { animation: none; } }

/* --- Section shells ----------------------------------------------------- */
.section { padding-block: var(--s-section); }
.section--warm { background: var(--c-surface-warm); }
.section__head { margin-bottom: clamp(2rem, 4vw, 3rem); }

/* --- About -------------------------------------------------------------- */
.about__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about__figure {
  margin: 0;
  border-radius: var(--r-frame);
  overflow: hidden;
  box-shadow: var(--shadow-frame);
}
.about__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* --- Service cards ------------------------------------------------------ */
.cards {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  gap: clamp(1.1rem, 2.2vw, 1.75rem);
}

.card {
  display: flex; flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 6px rgba(61,50,41,.06), 0 16px 40px rgba(61,50,41,.08);
}

.card__media { background: var(--c-accent-tint); }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.card__body { padding: 1.4rem 1.4rem .4rem; flex: 1; }
.card__title {
  font-family: var(--f-display);
  font-size: var(--t-h3);
  font-weight: 500;
  color: var(--c-ink);
  margin: 0 0 .55rem;
  line-height: 1.3;
}
.card__text { font-size: var(--t-small); line-height: 1.7; margin: 0; }
.card__meta {
  font-size: var(--t-micro);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-ink-muted);
  margin: .9rem 0 0;
}

.card__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem 1.4rem;
}
.card__price {
  font-family: var(--f-display);
  font-size: 1.25rem;
  color: var(--c-ink);
}
/* Midlertidig, til prisen er satt. */
.card__price--tbd {
  font-family: var(--f-ui);
  font-size: var(--t-micro);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-ink-muted);
}

/* --- Services teaser ---------------------------------------------------- */
.teaser__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.teaser__cta { margin-top: 1.75rem; }

.pricelist { list-style: none; margin: 0; padding: 0; }
.pricelist__row {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  padding: .55rem 0;
}
.pricelist__name { color: var(--c-ink); }
.pricelist__lead {
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 1px dotted var(--c-line);
  translate: 0 -.25rem;
}
.pricelist__price {
  font-family: var(--f-display);
  font-size: 1.0625rem;
  color: var(--c-heading-gold);
  white-space: nowrap;
}

/* --- Sub-page head ------------------------------------------------------- */
.page-head {
  background: var(--c-surface-warm);
  border-bottom: 1px solid var(--c-line);
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
}
.page-head__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--c-ink);
  margin: 0 0 .8rem;
}
.page-head__lede { max-width: 62ch; margin: 0; }

/* --- CTA band ------------------------------------------------------------ */
.cta-band__inner {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

/* --- Booking ------------------------------------------------------------ */
.booking__inner {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.steps { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: 1.4rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step__num {
  flex: none;
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-accent-soft);
  color: var(--c-heading-gold);
  font-size: var(--t-small);
  margin-top: 2px;
}
.step__title {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-ink);
  margin: 0 0 .2rem;
}
.step p { font-size: var(--t-small); margin: 0; }
.step p a { color: var(--c-heading-gold); text-underline-offset: 3px; }


.policy {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  font-size: var(--t-small);
}
.policy__icon { display: block; width: 26px; height: 26px; color: var(--c-accent); margin-bottom: .9rem; }
.policy__icon svg { width: 100%; height: 100%; }
.policy__title {
  font-family: var(--f-display);
  font-size: var(--t-h3);
  font-weight: 500;
  color: var(--c-ink);
  margin: 0 0 .8rem;
}
.policy__rule { border: 0; border-top: 1px solid var(--c-line); margin: 1.25rem 0; }
.policy__note { color: var(--c-ink-muted); }

/* --- Visit / map -------------------------------------------------------- */
.visit__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.visit__addr { display: flex; align-items: flex-start; gap: .6rem; color: var(--c-ink); }
.visit__pin { flex: none; width: 18px; height: 18px; color: var(--c-accent); margin-top: 5px; }
.visit__pin svg { width: 100%; height: 100%; }
.visit__text .btn { margin-top: 1.4rem; }

.map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-frame);
  overflow: hidden;
  box-shadow: var(--shadow-frame);
  background: var(--c-accent-tint);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--c-surface-warm);
  border-top: 1px solid var(--c-line);
  padding-top: clamp(2.75rem, 6vw, 4rem);
  font-size: var(--t-small);
}

.footer__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.footer__tagline { margin-top: 1rem; max-width: 32ch; color: var(--c-ink-body); }

.footer__head {
  font-size: var(--t-micro);
  font-weight: 400;
  letter-spacing: var(--ls-micro);
  text-transform: uppercase;
  color: var(--c-ink-muted);
  margin: 0 0 1.1rem;
}
.footer__sub {
  font-size: var(--t-micro);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-ink-muted);
  margin: 0 0 .5rem;
}

.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer__list a {
  display: inline-flex; align-items: center; gap: .55rem;
  text-decoration: none;
  color: var(--c-ink-body);
  transition: color .2s var(--ease);
  word-break: break-word;
}
.footer__list a:hover { color: var(--c-heading-gold); }
.ico { flex: none; width: 16px; height: 16px; color: var(--c-accent); }

.hours { border-collapse: collapse; width: 100%; max-width: 260px; }
.hours th, .hours td { padding: .18rem 0; font-weight: 300; text-align: left; }
.hours th { color: var(--c-ink-body); padding-right: 1.5rem; }
.hours td { text-align: right; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.hours__closed { color: var(--c-ink-muted); }

.footer__addr {
  display: flex; align-items: flex-start; gap: .55rem;
  font-style: normal;
  margin-top: 1.25rem;
  line-height: 1.6;
}
.footer__addr .ico { margin-top: 3px; }

.footer__base {
  border-top: 1px solid var(--c-line);
  padding-block: 1.35rem;
  text-align: center;
  font-size: var(--t-micro);
  letter-spacing: .02em;
  color: var(--c-ink-muted);
}
.footer__base p { margin: 0; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */

/* --- Under 720px: stacked nav drawer ------------------------------------ */
@media (max-width: 719px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--c-surface-sunk);
    border-bottom: 1px solid var(--c-line);
    padding: .5rem var(--s-gutter) 1.5rem;
    box-shadow: 0 16px 40px rgba(61,50,41,.1);

    /* Collapsed by default; JS toggles .is-open. */
    display: none;
  }
  .nav.is-open { display: flex; }
  body.nav-open { overflow: hidden; }

  .nav__link {
    padding: 1.05rem 0;
    border-bottom-color: transparent;
  }
  .nav__link.is-active { border-bottom-color: transparent; }
  .nav__link--mobile { display: block; }

  .nav__divider {
    width: 100%;
    height: 1px;
    margin: .7rem 0;
    background: var(--c-line);
  }

  .nav__link--page { color: var(--c-ink-body); }
  .nav__link--page.is-active { color: var(--c-heading-gold); }

  /* The dropdown is desktop-only; the drawer gets two pills side by side. */
  .lang { display: none; }
  .lang-pills { display: inline-flex; margin-top: 1.1rem; align-self: flex-start; }

  .nav__cta { margin-top: .9rem; align-self: flex-start; }
}

/* --- 720px and up ------------------------------------------------------- */
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .cta-band__inner { grid-template-columns: 1fr auto; gap: 2.5rem; }
}

/* --- 980px and up ------------------------------------------------------- */
@media (min-width: 980px) {
  .about__grid  { grid-template-columns: 1fr 1fr; }
  .visit__grid  { grid-template-columns: 1fr 1fr; }
  .teaser__grid { grid-template-columns: 1fr 1fr; }
  .booking__inner { grid-template-columns: 1.55fr 1fr; }
  .cards { grid-template-columns: repeat(3, 1fr); }

  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
}
