/* 1. TEMA — varmvit, puderrosa och turkos med loggans bruna och gyllene toner. */
:root {
  --background: #fffaf3;
  --surface-pink: #fbf5e9;
  --surface-turquoise: #f5ecde;
  --accent: #4d301e;
  --accent-hover: #3e2517;
  --accent-soft: #eee0ce;
  --text: #402b1e;
  --text-muted: #6b5848;
  --brand-ink: #40240f;
  --brand-gold: #b78a45;
  --border: #ded0bd;
  --pink-border: #e7d8c3;
  --focus: #7a4b2c;
  --radius: 20px;
  --button-radius: 999px;
  --font: 'Segoe UI', Arial, sans-serif;
  --font-heading: Georgia, 'Times New Roman', serif;
}

/* 2. GRUND — lokal typografi, länkar och gemensamma knappar. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font: 1rem/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
}
::selection { color: var(--text); background: #e5cfad; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--font-heading); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 5.4vw, 4.5rem); line-height: 1.06; letter-spacing: -.055em; }
h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.15; letter-spacing: -.035em; margin-bottom: 28px; }
h3 { font-size: 1.125rem; line-height: 1.35; font-weight: 600; margin-bottom: 14px; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.wrap { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.muted { color: var(--text-muted); }
.small { font-size: .8125rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 24px;
  border: 1px solid var(--accent);
  border-radius: var(--button-radius);
  font-size: .875rem;
  line-height: 1.5;
  font-weight: 600;
  text-align: center;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
/* Boka tid: varm brun reflex och mörkare kanter, som i knappreferensen.
   Genomskinliga lager låter designstudions valda grundfärg slå igenom. */
.button-primary {
  background-color: var(--accent);
  background-image:
    radial-gradient(ellipse at 50% 78%, rgb(186 125 49 / 30%) 0%, transparent 68%),
    linear-gradient(110deg, rgb(24 12 2 / 32%) 0%, rgb(45 21 0 / 12%) 46%, rgb(24 12 2 / 28%) 100%);
  color: #fbf5e9;
}
.button-primary:hover { background-color: var(--accent-hover); box-shadow: 0 4px 12px #4d301e18; }
.button-secondary { color: var(--accent); background: transparent; border-color: #4d301e; }
.button-secondary:hover { background: var(--accent-soft); border-color: var(--accent); }
.text-link {
  display: inline-block;
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid #b49a7b;
  border-radius: 0;
  color: var(--accent);
  background: none;
  font-size: .875rem;
  line-height: 1.5;
}
.text-link:hover { color: var(--accent-hover); border-bottom-color: var(--accent-hover); }
.example-note { color: var(--text-muted); font-size: .8125rem; margin: 20px 0 0; line-height: 1.65; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px; background: #fbf5e9; z-index: 100; }
.skip-link:focus { top: 12px; }

/* 3. SIDHUVUD — trädesign, layout och mobilmeny finns i topbar.css. */

/* 4. INTRODUKTION — layout och spegelform. Gulddekoren finns i intro-theme.css. */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr);
  gap: 52px;
  align-items: center;
  margin-block: 36px 12px;
  padding: 48px 52px;
  border: 1px solid var(--pink-border);
  border-radius: var(--radius);
  background: var(--surface-pink);
}
.intro-copy { min-width: 0; max-width: 510px; }
.intro-logo {
  display: block;
  width: min(80%, 296px);
  height: auto;
  margin-bottom: 28px;
}
.intro h1 { max-width: 420px; margin-bottom: 18px; font-size: clamp(2rem, 3.1vw, 2.65rem); line-height: 1.15; letter-spacing: -.035em; color: var(--brand-ink); }
.intro-description { max-width: 340px; color: var(--text-muted); font-size: 1.0625rem; margin-bottom: 30px; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px; }
#intro-image {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 53%;
  border-radius: 180px 180px 12px 12px;
  box-shadow: 10px 10px 0 #e8d9c8;
}
.intro-text-only { grid-template-columns: 1fr; }
.intro-text-only .intro-copy { max-width: 750px; }

/* 5. BEHANDLINGAR — kategorier och en sammanhängande prislista. */
.page-section { padding-block: 60px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-heading h2, .section-heading p { margin: 0; }
.section-heading .small {
  flex-shrink: 0;
  padding: 5px 12px;
  border: 1px solid var(--pink-border);
  border-radius: var(--button-radius);
  background: #f5ecde;
  color: #6b5848;
}
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 24px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: var(--button-radius);
  background: var(--surface-turquoise);
}
.category {
  min-height: 44px;
  padding: 9px 24px;
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  color: var(--accent);
  background: transparent;
  font-size: .875rem;
  font-weight: 500;
  transition: background-color 160ms ease, color 160ms ease;
}
.category:hover { background: var(--accent-soft); }
.category[aria-pressed="true"] { color: #fbf5e9; background: var(--accent); }
.service-list { padding: 0 26px; border: 1px solid var(--border); border-radius: var(--radius); background: #fffaf3; }
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 28px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.service-row:last-child { border-bottom: 0; }
.service-row h3 { margin-bottom: 6px; letter-spacing: -.015em; }
.service-row p { color: var(--text-muted); font-size: .875rem; line-height: 1.65; margin-bottom: 0; max-width: 430px; }
.service-price { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.service-price strong { display: block; font-size: .9375rem; font-weight: 600; }
.service-price span { color: var(--text-muted); font-size: .8125rem; }
.service-row .button { padding-inline: 20px; }

/* 6. PRESENTATION, KONTAKT OCH SIDFOT */
.about {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: baseline;
  gap: 32px;
  border-block: 1px solid var(--border);
}
.about h2 { margin: 0; }
.about-copy { min-width: 0; max-width: 600px; }
.about-lead { font-family: var(--font-heading); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 400; margin-bottom: 18px; }
.about-lead:empty { display: none; }
.about p { max-width: 600px; color: var(--text-muted); margin-bottom: 0; }
.contact-section { padding-bottom: 56px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-grid > div {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--pink-border);
  border-radius: var(--radius);
  background: #fbf5e9;
}
.contact-grid > div + div { border-color: var(--border); background: var(--surface-turquoise); }
.contact-grid h3 { margin-bottom: 18px; }
.details-list { margin: 0; font-size: .875rem; }
.details-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 12px 0; border-bottom: 1px solid #4d301e12; }
.details-list > div:last-child { border-bottom: 0; }
.details-list dt { flex-shrink: 0; color: var(--text-muted); }
.details-list dd { min-width: 0; margin: 0; text-align: right; overflow-wrap: anywhere; }
.details-list .text-link { font-size: inherit; }
.instagram-link { gap: 10px; margin-top: 22px; background: #fbf5e966; }
.instagram-link svg { flex-shrink: 0; }
/* Sidfotens layout och färger finns i footer.css. */

/* 7. BOKADIREKT — avslutande bokningsyta finns i bokadirekt.css. */

/* 8. MOBIL OCH SMÅ SKÄRMAR */
@media (max-width: 900px) {
  .wrap { width: calc(100% - 40px); }
  .intro { gap: 32px; padding: 36px; }
  #intro-image { height: 420px; }
  .contact-grid { gap: 18px; }
  .contact-grid > div { padding: 24px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 116px; }
  .intro { grid-template-columns: 1fr; gap: 30px; padding: 28px; margin-top: 24px; }
  .intro-copy { max-width: 500px; }
  .intro-logo { width: min(80%, 272px); margin-bottom: 24px; }
  .intro h1 { max-width: 440px; font-size: clamp(1.9rem, 5.5vw, 2.5rem); }
  .intro-description { max-width: 360px; margin-bottom: 24px; font-size: 1rem; }
  #intro-image { width: min(100%, 420px); height: clamp(245px, 65vw, 350px); justify-self: center; border-radius: 180px 180px 10px 10px; box-shadow: 7px 7px 0 #e8d9c8; }
  .page-section { padding-block: 42px; }
  .section-heading { align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
  .section-heading h2 { flex: 1 1 220px; }
  .category-tabs { width: 100%; gap: 2px; padding: 4px; }
  .category { flex: 1; padding-inline: 10px; }
  .service-list { padding-inline: 20px; }
  .service-row { gap: 18px; grid-template-columns: minmax(0, 1fr) auto; padding-block: 24px; }
  .service-row > div:first-child { grid-column: 1 / -1; }
  .service-price { text-align: left; }
  .service-row .button { padding-inline: 18px; }
  .about { grid-template-columns: 1fr; gap: 18px; }
  .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-grid > div { padding: 24px; }
}

@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .intro { padding: 24px 20px; }
  .intro h1 { font-size: 1.9rem; }
  .intro-actions { gap: 10px; }
  .intro-actions .button { padding-inline: 16px; }
  .intro-actions .button-primary { width: 100%; }
  .intro-actions .button-secondary { width: 100%; }
  .service-list { padding-inline: 16px; }
  .service-row { column-gap: 12px; }
  .service-row .button { padding-inline: 14px; }
  .contact-grid > div { padding: 20px; }
  .details-list > div { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
