/* ============================================================
   Citypraktiken Borås — "Lugn nordisk wellness-editorial"
   Display: Fraunces (optical serif) · Body: Hanken Grotesk
   Loaded from Google Fonts in header.php; Inter kept as fallback.
   ============================================================ */
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   DESIGN TOKENS
   Brand green retained; deepened to a forest tone for AA-safe
   text/buttons, with the original bright green kept for accents.
   ============================================================ */
:root {
  /* Brand greens */
  --color-primary:        #2f7d22;   /* links, accents, icons — ~4.5:1 on white */
  --color-primary-hover:  #255f1a;
  --color-primary-bright: #54b747;   /* decorative accents, underlines, glows */
  --color-btn-bg:         #2f7d22;
  --color-btn-bg-hover:   #255f1a;
  --color-icon:           #2f7d22;

  /* Neutrals — warm, paper-like */
  --color-text:           #2b332d;
  --color-muted:          #5f6b62;
  --color-bg:             #ffffff;
  --color-alt:            #f3f6ee;   /* soft green-tinted cream for alt sections */
  --color-border:         #e3eadf;
  --color-ink:            #16211b;   /* header / footer dark */

  /* On-brand text */
  --color-on-primary:     #ffffff;

  /* Footer */
  --color-footer-bg:      #16211b;
  --color-footer-text:    #aebbb0;
  --color-footer-heading: #ffffff;
  --color-footer-muted:   #7d8d82;
  --color-footer-border:  rgba(255,255,255,.10);

  /* Status / rating */
  --color-success-text:   #166534;
  --color-error:          #dc2626;
  --color-star:           #e8a52a;

  /* Scrims / glass */
  --color-scrim:          rgba(20,40,25,.45);
  --color-scrim-shadow:   rgba(20,40,25,.22);

  /* Shadows — soft, green-tinted */
  --shadow-xs:  0 1px 2px rgba(20,40,25,.06);
  --shadow-sm:  0 4px 14px rgba(20,40,25,.06), 0 1px 3px rgba(20,40,25,.05);
  --shadow-md:  0 10px 30px rgba(20,40,25,.08), 0 4px 10px rgba(20,40,25,.05);
  --shadow-lg:  0 22px 50px rgba(20,40,25,.12), 0 8px 18px rgba(20,40,25,.07);

  /* Typography */
  --font:         'Hanken Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;

  /* Layout */
  --radius:    14px;
  --radius-sm: 10px;
  --container: 1180px;
  --gap:       1.5rem;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, video { max-width: 100%; display: block; border-radius: var(--radius); }
address { font-style: normal; }
ul { list-style: none; }
[hidden] { display: none !important; }

a { color: var(--color-primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--color-primary-hover); text-decoration: underline; }

::selection { background: rgba(84,183,71,.22); color: var(--color-ink); }

/* Accessible focus ring for keyboard users */
:focus-visible {
  outline: 3px solid var(--color-primary-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

#priser .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pricelist-centered {
  max-width: 680px;
  width: 100%;
  margin-inline: auto;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  line-height: 1.12;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-text);
  letter-spacing: -.012em;
  font-optical-sizing: auto;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.05rem, 5vw, 3.6rem); font-weight: 500; line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 500; }
h3 { font-size: 1.22rem; margin-bottom: .4rem; letter-spacing: -.006em; }

p + p { margin-top: .8rem; }

.lead {
  font-size: 1.16rem;
  line-height: 1.6;
  color: var(--color-muted);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.4rem;
}

.section          { padding-block: 5rem; }
.section-alt      { background: var(--color-alt); }

.section-header {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 2.75rem;
}
.section-header h2   { margin-bottom: .6rem; }
.section-header .lead { margin-inline: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.7rem;
  background: var(--color-btn-bg);
  color: var(--color-on-primary);
  border: 1.5px solid var(--color-btn-bg);
  border-radius: 999px;
  font-family: var(--font);
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: .005em;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(20,40,25,.12);
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn:hover {
  background: var(--color-btn-bg-hover);
  border-color: var(--color-btn-bg-hover);
  color: var(--color-on-primary);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(47,125,34,.22);
}
.btn:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--color-alt);
  color: var(--color-primary-hover);
  border-color: var(--color-primary);
  box-shadow: none;
}

.btn-sm { font-size: .875rem; padding: .55rem 1.2rem; }

/* Badged button — the "Boka tid" pill sits centered on the button's bottom
   edge, half overlapping, so a long call-to-action stays compact. */
.btn-badged { position: relative; overflow: visible; }
.hero-actions:has(.btn-badged) { padding-bottom: .85rem; }
.btn-chip {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  background: #fff;
  color: var(--color-btn-bg);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: .22rem .6rem;
  border: 1.5px solid var(--color-btn-bg);
  border-radius: 999px;
  line-height: 1;
  box-shadow: 0 3px 8px rgba(20,40,25,.16);
}
.btn-badged:hover .btn-chip { border-color: var(--color-btn-bg-hover); color: var(--color-btn-bg-hover); }

/* ============================================================
   HEADER  (frosted dark forest)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding-block: .8rem;
}
/* Blur lives on a pseudo-element so .site-header itself doesn't become a
   containing block for the fixed-position mobile drawer (Safari/iOS bug). */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(18,28,22,.82);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  margin-right: auto;
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
}
.logo:hover { text-decoration: none; }

.logo-img {
  display: inline-block;
  height: 40px;
  width: auto;
  max-width: 180px;
  vertical-align: middle;
  shape-rendering: geometricPrecision;
  image-rendering: -webkit-optimize-contrast;
  border-radius: 0;
}

.footer-logo { display: inline-block; }
.footer-logo:hover { text-decoration: none; opacity: .85; }
.footer-logo-img {
  display: block;
  height: 32px;
  width: auto;
  object-fit: contain;
  border-radius: 0;
  margin-bottom: .5rem;
}

.site-nav ul { display: flex; gap: 1.9rem; align-items: center; }
.site-nav a  { position: relative; color: rgba(255,255,255,.74); font-weight: 500; font-size: .95rem; padding-block: .25rem; }
.site-nav a:hover { color: #fff; text-decoration: none; }
.site-nav a.is-active { color: #fff; }

/* Animated underline indicator (top-level links only) */
.site-nav > ul > li > a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .26s ease;
}
.site-nav > ul > li > a:hover::after,
.site-nav > ul > li > a.is-active::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: .5rem; }
.nav-cta-item { display: none; }
.nav-drawer-contact { display: none; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  background: #e7ede8;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* Nav close button */
.nav-close {
  display: none;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  padding: .35rem;
  margin-bottom: .75rem;
  border-radius: var(--radius-sm);
  transition: background .15s;
}
.nav-close:hover { background: var(--color-alt); }

/* Drawer overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-scrim);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  z-index: 99;
}
.nav-overlay.is-visible { display: block; }

@keyframes drawer-slide-in {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

/* ============================================================
   HERO  [block: hero]
   ============================================================ */
.hero {
  position: relative;
  padding-block: 4rem 4.25rem;
  overflow: clip;
  background:
    radial-gradient(58% 80% at 86% -12%, rgba(84,183,71,.16), transparent 62%),
    radial-gradient(48% 60% at -5% 112%, rgba(84,183,71,.10), transparent 60%),
    linear-gradient(180deg, #f5f8ef 0%, #ffffff 78%);
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1  { margin-bottom: 1rem; }
.hero-content .lead { margin-bottom: 2rem; max-width: 34ch; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.hero-eyebrow::before {
  content: '';
  width: 1.9rem;
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary-bright);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.hero-price {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  font-family: var(--font-heading);
}
.hero-price small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-muted);
  font-family: var(--font);
}

.hero-media {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-media img,
.hero-media video { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* ============================================================
   COLUMNS / CARDS  [block: columns]
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
}

.card {
  padding: 2rem 1.85rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #d6e2cf;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--color-alt);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  margin-bottom: 1.1rem;
  color: var(--color-icon);
}

/* ============================================================
   TEXT & MEDIA  [block: textmedia]
   ============================================================ */
.tm-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.75rem;
  align-items: center;
}
.tm-reversed .tm-media { order: 2; }
.tm-reversed .tm-content { order: 1; }

.tm-media img,
.tm-media video {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-height: 500px;
  max-height: 500px;
}

.tm-content h2   { margin-bottom: .75rem; }
.tm-content .btn { margin-top: 1.5rem; }

/* ============================================================
   SERVICE CARDS  [block: services]
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #d6e2cf;
}

.service-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform .5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }

.service-card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}

.service-card-body h3 { margin-bottom: 0; }
.service-card-body p  { color: var(--color-muted); font-size: .95rem; flex: 1; }
.service-card-body .btn { align-self: flex-start; margin-top: .75rem; }

/* ============================================================
   PRICELIST  [block: pricelist]
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap);
  align-items: stretch;
  width: 100%;
}

.price-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s, border-color .25s;
  height: 100%;
}

.price-card img { max-height: 260px; border-radius: var(--radius-sm); }

.price-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #d6e2cf;
}

/* Featured plan — quietly elevated with a green ring */
.price-featured {
  border-color: var(--color-primary-bright);
  box-shadow: 0 0 0 1px var(--color-primary-bright), var(--shadow-md);
}
.price-featured:hover {
  box-shadow: 0 0 0 1px var(--color-primary-bright), var(--shadow-lg);
}

.price-badge {
  position: absolute;
  top: 0;
  right: 1.5rem;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: .06em;
  z-index: 1;
}

.price-name   { font-weight: 700; font-size: 1.05rem; }
.price-amount { font-size: 2.1rem; font-weight: 600; line-height: 1; font-family: var(--font-heading); color: var(--color-text); }
.price-amount span { font-size: 1rem; font-weight: 400; color: var(--color-muted); font-family: var(--font); }
.price-desc   { color: var(--color-muted); font-size: .92rem; }

.price-features { display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.price-features li {
  padding-left: 1.5rem;
  position: relative;
  font-size: .95rem;
}
.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .5em;
  width: .85rem;
  height: .85rem;
  background:
    no-repeat center/.85rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7d22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ============================================================
   FAQ  [block: faq]
   ============================================================ */
.faq-wrap   { max-width: 780px; }
.faq-list   { display: flex; flex-direction: column; gap: .65rem; }

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s, border-color .2s;
  background: #fff;
}
.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: #d6e2cf;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  gap: 1rem;
  transition: color .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--color-primary); }

.faq-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform .25s ease;
  line-height: 1;
}
.faq-item[open] .faq-icon { transform: rotate(135deg); }

.faq-answer {
  padding: 0 1.35rem 1.2rem;
  color: var(--color-muted);
  font-size: .97rem;
}

/* ============================================================
   CONTACT  [block: contact]
   ============================================================ */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.6rem;
  background: var(--color-bg);
  color: var(--color-text);
  font-weight: 600;
  font-size: 1rem;
  transition: background .2s;
}
.contact-item:hover { background: var(--color-alt); text-decoration: none; }

.contact-kicker {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-primary);
}

.contact-item-wide { grid-column: span 1; }

/* ============================================================
   HOURS TABLE  [block: hours]
   ============================================================ */
.hours-table {
  width: 100%;
  max-width: 480px;
  border-collapse: collapse;
}
.hours-table td {
  padding: .55rem 1rem .55rem 0;
  font-size: .95rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:last-child {
  text-align: right;
  color: var(--color-muted);
  padding-left: 1rem;
  white-space: nowrap;
}
.hours-section-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding-top: 1rem !important;
}

/* ============================================================
   MENU / PRICE LIST  [block: menu]
   ============================================================ */
.menu-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
  width: 100%;
  padding-right: 24px;
  max-width: 680px;
}

.menu-filter {
  padding: .45rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: transparent;
  color: var(--color-text);
  font-family: inherit;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background .15s, border-color .15s, color .15s;
}
.menu-filter:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.menu-filter.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-on-primary);
}

.menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-item {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--color-border);
}
.menu-item:first-child { border-top: 1px solid var(--color-border); }
.menu-item[hidden] { display: none; }

.menu-item-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.menu-item-name {
  font-weight: 600;
  font-size: 1.02rem;
}

.menu-item-price {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
}

.menu-item-desc {
  margin-top: .3rem;
  font-size: .92rem;
  color: var(--color-muted);
}

.menu-item-action {
  margin-top: .55rem;
}
.menu-item-action a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* ============================================================
   BADGE / TAG
   ============================================================ */
.badge-friskvard {
  display: inline-flex;
  align-items: center;
  background: #d9efc4;
  color: #1f4a1a;
  font-size: .75rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: .4rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding-block: 3.5rem 1.75rem;
}
.site-footer a       { color: var(--color-footer-text); }
.site-footer a:hover { color: var(--color-footer-heading); }
.footer-copy a       { color: var(--color-footer-heading); }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 1.75rem 3rem;
  margin-bottom: 2.25rem;
}

.footer-heading {
  display: block;
  color: var(--color-footer-heading);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .75rem;
  font-weight: 700;
}

.footer-col p      { font-size: .9rem; }
.footer-col ul li + li { margin-top: .35rem; }
.footer-col ul a { font-size: .9rem; }

/* Opening hours */
.hours-list { display: table; border-collapse: separate; border-spacing: 0 .2rem; }
.hours-row  { display: table-row; font-size: .85rem; }
.hours-row dt { display: table-cell; padding-right: 1.25rem; color: var(--color-footer-text); white-space: nowrap; }
.hours-row dd { display: table-cell; white-space: nowrap; }

.footer-copy {
  border-top: 1px solid var(--color-footer-border);
  padding-top: 1.25rem;
  font-size: .85rem;
  color: var(--color-footer-muted);
  text-align: center;
}

/* ============================================================
   PROSE  [block: prose]
   ============================================================ */
.prose {
  max-width: 740px;
  margin-inline: auto;
}

.prose .section-header {
  text-align: left;
  max-width: none;
  margin-inline: 0;
}

.prose h3 {
  margin-top: 2rem;
  margin-bottom: .4rem;
  font-size: 1.22rem;
}

.prose p {
  color: var(--color-text);
  margin-top: .8rem;
}

.prose-updated {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: .875rem;
  color: var(--color-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .tm-wrap,
  .tm-reversed .tm-media,
  .tm-reversed .tm-content { order: unset; }

  .tm-wrap { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 850px) {
  .menu-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, black 90%, transparent 100%);
  }
  .menu-filters::-webkit-scrollbar { display: none; }
  .menu-filter { flex: 0 0 auto; }

  .site-nav { display: none; }
  .burger   { display: flex; }
  .hero { padding-top: 2rem; }

  /* Mobile drawer — must live at the same breakpoint the burger appears (≤850),
     otherwise the 769–850 band shows the burger but has no drawer to open. */
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 86vw);
    background: var(--color-bg);
    border-left: 1px solid var(--color-border);
    box-shadow: -4px 0 40px var(--color-scrim-shadow);
    padding: 1.4rem 1.6rem;
    z-index: 200;
    overflow-y: auto;
    animation: drawer-slide-in .28s ease;
  }
  .site-nav.is-open .nav-close { display: flex; }
  .site-nav.is-open ul { flex-direction: column; gap: 1.1rem; align-items: stretch; }
  .site-nav.is-open a { font-size: 1.08rem; color: var(--color-text); }
  .site-nav.is-open a.is-active { color: var(--color-primary); }
  /* drawer links use plain text, not the dark-header underline */
  .site-nav.is-open > ul > li > a::after { display: none; }

  .header-cta { display: none; }
  .nav-cta-item { display: list-item; margin-top: .5rem; }
  .nav-cta-item .btn { width: 100%; justify-content: center; color: var(--color-on-primary); }

  .nav-drawer-contact {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
  }
  .nav-drawer-contact a {
    font-size: .9rem;
    color: var(--color-muted);
  }
  .nav-drawer-contact a:hover { color: var(--color-primary); }
}

@media (max-width: 768px) {
  .hero-wrap      { grid-template-columns: 1fr; gap: 2rem; }
  .hero-content .lead { max-width: none; }
  .hero-media     { max-height: 320px; order: -1; }

  .contact-card   { grid-template-columns: 1fr; }

  .price-grid     { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .service-grid   { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

@media (max-width: 480px) {
  .section { padding-block: 3.25rem; }
  .hero    { padding-block: 1.75rem 2.75rem; }
  .hero-wrap { gap: 1.25rem; }

  .hero-media {
    margin-left: -1.4rem;
    width: calc(100% + 2.8rem);
    margin-top: -1.75rem;
    border-radius: 0;
  }
  .hero-media img { border-radius: 0; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.16,.84,.44,1);
  }
  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  [data-reveal] .card,
  [data-reveal] .service-card,
  [data-reveal] .price-card,
  [data-reveal] .faq-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s cubic-bezier(.16,.84,.44,1);
  }
  [data-reveal].is-visible .card,
  [data-reveal].is-visible .service-card,
  [data-reveal].is-visible .price-card,
  [data-reveal].is-visible .faq-item {
    opacity: 1;
    transform: none;
  }
  [data-reveal] .card:nth-child(1),
  [data-reveal] .service-card:nth-child(1),
  [data-reveal] .price-card:nth-child(1),
  [data-reveal] .faq-item:nth-child(1) { transition-delay: .08s; }
  [data-reveal] .card:nth-child(2),
  [data-reveal] .service-card:nth-child(2),
  [data-reveal] .price-card:nth-child(2),
  [data-reveal] .faq-item:nth-child(2) { transition-delay: .16s; }
  [data-reveal] .card:nth-child(3),
  [data-reveal] .service-card:nth-child(3),
  [data-reveal] .price-card:nth-child(3),
  [data-reveal] .faq-item:nth-child(3) { transition-delay: .24s; }
  [data-reveal] .card:nth-child(4),
  [data-reveal] .service-card:nth-child(4),
  [data-reveal] .price-card:nth-child(4),
  [data-reveal] .faq-item:nth-child(4) { transition-delay: .32s; }
  [data-reveal] .faq-item:nth-child(5) { transition-delay: .40s; }
}

/* ============================================================
   BOKADIREKT RATING & TESTIMONIALS
   ============================================================ */
.bokadirekt-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem;
  margin: 0;
  flex-wrap: wrap;
}
.bokadirekt-rating-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.bokadirekt-rating-score {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--color-text);
  margin-right: 1rem;
  font-family: var(--font-heading);
}
.bokadirekt-rating-stars {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  font-size: 1.5rem;
}
.bokadirekt-rating-stars svg {
  width: 22px;
  height: 22px;
  fill: var(--color-star, #e8a52a);
}
.bokadirekt-rating-reviews {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: underline;
  margin-left: .5rem;
}
.bokadirekt-rating-badge {
  margin-left: 1.5rem;
  display: flex;
  align-items: center;
}

.bokadirekt-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.bokadirekt-testimonial {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.6rem 1.6rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  transition: box-shadow .25s, transform .25s;
}
.bokadirekt-testimonial:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.bokadirekt-testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .2rem;
}
.bokadirekt-testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-alt);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
  flex-shrink: 0;
}
.bokadirekt-testimonial-name {
  font-weight: 600;
  font-size: 1rem;
}
.bokadirekt-testimonial-stars {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  font-size: 1.1rem;
}
.bokadirekt-testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--color-star, #e8a52a);
}
.bokadirekt-testimonial-content {
  color: var(--color-text);
  font-size: 1.04rem;
  line-height: 1.55;
}
.bokadirekt-testimonial-content::before { content: '“'; color: var(--color-primary-bright); font-family: var(--font-heading); font-size: 1.4em; line-height: 0; vertical-align: -.25em; margin-right: .08em; }

/* =========================
   Frontness badge
   ========================= */
frontness {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: 12px;
  color: #fff;
  background: var(--color-footer-bg);
  padding: 1rem;
  text-align: center;
  border-top: 1px solid var(--color-footer-border);
}
frontness div {
  opacity: 0.5;
  display: flex;
  align-items: center;
  gap: .25rem;
}
frontness img {
  border-radius: 0;
  height: 14px;
  width: auto;
  padding-bottom: 3px;
}

/* ============================================================
   BOOKING LANDING PAGE  [boka-visning.php]
   ============================================================ */
.booking-points {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: 1.5rem;
}
.booking-points li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--color-text);
}
.booking-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .28em;
  width: 1.05rem;
  height: 1.05rem;
  background:
    no-repeat center/1.05rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7d22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.booking-call {
  margin-top: 1.5rem;
  color: var(--color-muted);
  font-size: .95rem;
}

/* Card holding the form — overrides the image styling of .hero-media */
.booking-media {
  box-shadow: none;
  overflow: visible;
  border-radius: 0;
}
.booking-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-lg);
  padding: 1.9rem 1.75rem;
}
.booking-card-title {
  font-size: 1.4rem;
  margin-bottom: .25rem;
}

.booking-form { display: flex; flex-direction: column; gap: 1rem; }

.form-field { display: flex; flex-direction: column; gap: .35rem; }
.form-field label { font-size: .85rem; font-weight: 600; color: var(--color-text); }
.form-field label span { color: var(--color-primary); }
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: .7rem .85rem;
  transition: border-color .15s, box-shadow .15s;
}
.form-field textarea { resize: vertical; min-height: 84px; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(84,183,71,.18);
}

.booking-submit { width: 100%; margin-top: .25rem; }
.form-note { font-size: .82rem; color: var(--color-muted); text-align: center; }
.form-error {
  background: #fdecec;
  border: 1px solid #f5c2c2;
  color: #a12626;
  padding: .65rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
}

/* Honeypot — visually hidden, off-screen */
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Thank-you state */
.booking-thanks { text-align: center; padding: 1.25rem .5rem 1.5rem; }
.booking-thanks-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--color-alt);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.booking-thanks h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.booking-thanks p { color: var(--color-muted); }

/* On mobile the form sits BELOW the copy (override the hero-image order:-1)
   and isn't height-capped like a hero image */
@media (max-width: 768px) {
  .booking-media { max-height: none; order: 0; }
}
