/* Salong Prins – gemensam stilmall */

@font-face {
  font-family: "DM Serif Display";
  src: url("/assets/fonts/dm-serif-display-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #161616;
  --muted: #4a4a4a;
  --bg: #ffffff;
  --sand: #f6f4f0;
  --line: #e6e2dc;
  --accent: #1c1c1c;
  --map: #e7e2da;
  --dark-line: #3a3a3a;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }
a:hover { color: #555555; }

h1, h2, h3, p, figure, blockquote { margin: 0; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  border-radius: 4px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 880px; }

/* Typografi */
.h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
}
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 44px);
  line-height: 1.1;
}
.h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 32em; }
.muted { color: var(--muted); }

/* Knappar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #3a3a3a; color: #fff; }
.btn--secondary { border-color: var(--ink); color: var(--ink); background: transparent; cursor: pointer; font-family: inherit; }
.btn--secondary:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--line); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
}

.icon { flex: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1;
}
.logo img { display: block; height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; }
.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.nav .nav-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
}
.nav .nav-call:hover { background: #3a3a3a; color: #fff; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  border-radius: 4px;
}
.nav-toggle .icon-close { display: none; }
.site-header.is-open .nav-toggle .icon-open { display: none; }
.site-header.is-open .nav-toggle .icon-close { display: block; }

/* Fast ringknapp på mobil */
.call-bar { display: none; }

/* Hero */
.hero { background: var(--sand); }
.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  padding-top: 96px;
  padding-bottom: 72px;
}
.hero-text {
  flex: 1 1 480px;
  min-width: 0;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-media {
  flex: 0 1 440px;
  min-width: 280px;
  align-self: flex-start;
  margin-bottom: -170px;
  position: relative;
  z-index: 1;
}
.hero-media img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 2px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
  padding-top: 8px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }

.page-title { background: var(--sand); }
.page-title .container { padding-top: 80px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; }

/* Sektioner */
.section { padding: 96px 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: #fff; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 40px; }
.section-head--row {
  max-width: none;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

/* Tjänstekort */
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card {
  flex: 1 1 280px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-price { font-family: var(--serif); font-size: 40px; line-height: 1; }
.cards + .link-arrow { margin-top: 32px; }

/* Därför */
.features { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 48px; }
.feature {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--dark-line);
  padding-top: 24px;
}
.feature p { font-size: 19px; font-weight: 600; line-height: 1.4; }

/* Recensioner */
.rating { display: flex; align-items: center; gap: 10px; color: var(--muted); margin-top: 12px; }
.reviews { display: flex; flex-wrap: wrap; gap: 20px; }
.review {
  flex: 1 1 300px;
  min-width: 0;
  background: #fff;
  border-radius: 4px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.review blockquote { font-family: var(--serif); font-size: 23px; line-height: 1.4; }
.review figcaption { font-size: 15px; font-weight: 600; color: var(--muted); }

/* Galleri */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }

/* Delad layout: text + karta/bild */
.split { display: flex; flex-wrap: wrap; align-items: stretch; gap: 56px; }
.split-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.split-media { flex: 1 1 460px; min-width: 0; }

.info-row { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; }
.info-row .icon { margin-top: 4px; }
.info-row address { font-style: normal; }
.hours { display: flex; flex-direction: column; gap: 6px; line-height: 1.5; min-width: 240px; }
.hours div { display: flex; justify-content: space-between; gap: 24px; }

.map {
  min-height: 440px;
  height: 100%;
  background: var(--map);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  overflow: hidden;
}
.map p { font-size: 14px; color: var(--muted); max-width: 28em; }
.map.is-loaded { padding: 0; display: block; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 440px; border: 0; }

/* Prislista */
.price-list { display: flex; flex-direction: column; margin-top: 24px; }
.price-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.price-row:last-child { border-bottom: 1px solid var(--line); }
.price-row-text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.price { font-family: var(--serif); font-size: 22px; line-height: 1.2; white-space: nowrap; }
.price-call { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

.info-cards { display: flex; flex-wrap: wrap; gap: 20px; }
.info-card {
  flex: 1 1 300px;
  min-width: 0;
  background: #fff;
  border-radius: 4px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.info-card--dark { background: var(--ink); color: #fff; }
.info-card--dark p { color: #d6d6d6; }
.info-card .h2 { font-size: 30px; }

/* Om oss */
.text-blocks { display: flex; flex-direction: column; gap: 48px; max-width: 640px; }
.text-blocks > div { display: flex; flex-direction: column; gap: 14px; }
.text-blocks p { font-size: 18px; color: var(--muted); }
.photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.photo-row img { width: 100%; height: 420px; object-fit: cover; border-radius: 2px; }

/* Avslutande uppmaning */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band > div { display: flex; flex-direction: column; gap: 10px; }
.section--dark .cta-band p { color: #d6d6d6; }

/* Footer */
.site-footer { background: var(--ink); color: #d6d6d6; font-size: 15px; }
.section--dark + .site-footer { border-top: 1px solid #2a2a2a; }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 40px;
}
.footer-col { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col--brand { flex-basis: 260px; gap: 14px; }
.footer-col h2 { font-size: 15px; font-weight: 700; color: #fff; }
.footer-col a { color: #fff; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; color: #fff; }
.footer-col address { font-style: normal; }
.footer-logo { color: #fff; font-size: 24px; }
.footer-logo img { height: 60px; }
.footer-bottom { border-top: 1px solid var(--dark-line); padding-top: 24px; padding-bottom: 32px; font-size: 13px; color: #a8a8a8; }

/* Surfplatta */
@media (max-width: 1000px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobil */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    font-size: 17px;
  }
  .site-header.is-open .nav { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav .nav-call { display: none; }

  .call-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 60px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
  }
  .call-bar:hover { color: #fff; }
  body { padding-bottom: 60px; }

  .hero-inner { padding-top: 48px; padding-bottom: 48px; gap: 36px; }
  .hero-media { flex: 1 1 100%; min-width: 0; margin-bottom: 0; }
  .hero-media img { height: 420px; }

  .page-title .container { padding-top: 48px; padding-bottom: 40px; }
  .section { padding: 64px 0; }
  .split { gap: 40px; }
  .photo-row { grid-template-columns: 1fr; }
  .photo-row img { height: 320px; }
  .map, .map iframe { min-height: 340px; }
  .logo img { height: 40px; }
}

@media (max-width: 480px) {
  .btn-row .btn { flex: 1 1 100%; }
  .card, .review, .info-card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
