/* LouGrace — bright, modern health & beauty */

/* ---------- Fonts (self-hosted, variable) ---------- */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Palette: sage greens + amber accent (+ derived light tints) */
  --bg: #f8faf6;
  --surface: #ffffff;
  --blush: #eaf1e9;
  --blush-deep: #d8e6d8;
  --rose: #7fa385;
  --rose-dark: #4e7254;
  --rose-soft: #9cc8a3;
  --gold: #f5a623;
  --ink: #131111;
  --muted: #6f776c;
  --line: #c4c3c2;
  --radius: 18px;
  --shadow: 0 2px 6px rgb(46 42 43 / 4%), 0 12px 32px rgb(46 42 43 / 7%);
  --font-display: georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.42em; }
p { margin: 0 0 1em; }
p, span { text-wrap: pretty; }
a { color: var(--rose-dark); text-underline-offset: 3px; }
a:hover { color: var(--rose); }
img { max-width: 100%; height: auto; display: block; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 8px;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(248 250 246 / 90%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 72px;
}
.logo {
  font-family: georgia, "Times New Roman", serif;
  font-size: 1.55rem; color: var(--ink);
  text-decoration: none; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.logo:hover { color: var(--ink); }
.logo .logo-mark { height: 2em; width: auto; flex: none; color: var(--rose); }
.site-footer .logo, .site-footer .logo:hover { color: #fff; }
.site-footer .logo .logo-mark { color: #fff; }
.site-nav { display: flex; align-items: center; gap: clamp(0.9rem, 2.4vw, 1.8rem); }
.site-nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem;
  padding: 0.35rem 0.1rem; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--rose-dark); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--rose); color: var(--rose-dark); }
/* The generic .site-nav a rules must not bleed into the CTA button */
.site-nav a.btn { color: #fff; padding: 0.45rem 1.1rem; border-bottom: 0; }
.site-nav a.btn:hover { color: #fff; background: var(--rose-dark); border-color: var(--rose-dark); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 0.5rem 0.65rem; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { display: block; }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--rose); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1rem;
  padding: 0.7rem 1.4rem; border-radius: 10px; border: 2px solid var(--rose);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { background: var(--rose-dark); border-color: var(--rose-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--rose-dark); }
.btn-ghost:hover { background: var(--blush); color: var(--rose-dark); transform: none; }
.btn-small { padding: 0.45rem 1rem; font-size: 0.92rem; border-radius: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--blush); color: var(--rose-dark);
  font-size: 0.88rem; font-weight: 700;
  padding: 0.28rem 0.8rem; border-radius: 999px; white-space: nowrap;
}
.chip-gold { background: #fdf1da; color: #8a5c0a; }

/* ---------- Schema (träning) ---------- */
.schema-list { list-style: none; padding: 0; margin: 0.4rem 0 0; }
.schema-list li {
  display: flex; gap: 0.7rem; align-items: baseline;
  padding: 0.5rem 0; border-bottom: 1px solid var(--line);
}
.schema-list li:last-child { border-bottom: 0; }
.schema-time {
  flex: none; min-width: 3.4em; font-weight: 700; color: var(--rose-dark);
  font-variant-numeric: tabular-nums;
}
.schema-list em { color: var(--muted); font-style: normal; font-size: 0.9em; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(52rem 30rem at 112% -18%, var(--blush-deep) 0%, transparent 60%),
    radial-gradient(40rem 26rem at -14% 118%, var(--blush) 0%, transparent 55%);
}
.hero .wrap {
  display: grid; grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--gold); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem;
}
.hero-kicker::before { content: ""; width: 2rem; height: 2px; background: var(--gold); }
.hero p.lead { font-size: 1.18rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.6rem 0 1.4rem; }
.hero-media { position: relative; }
.hero-lotus {
  aspect-ratio: 16 / 12;
  border-radius: 44% 56% 52% 48% / 42% 44% 56% 58%;
  box-shadow: var(--shadow);
  background:
    radial-gradient(120% 90% at 30% 20%, #fff 0%, var(--blush) 55%, var(--blush-deep) 100%);
  position: relative; overflow: hidden;
}
.hero-lotus img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-lotus svg {
  position: absolute; left: 9%; top: 12%;
  height: 58%; width: auto;
  color: #fff; opacity: 0.9;
}
.rating-badge {
  position: absolute; left: -0.6rem; bottom: 1.2rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 0.55rem 0.95rem;
  display: flex; align-items: center; gap: 0.55rem; font-size: 0.92rem;
}
.rating-badge .stars { color: var(--gold); letter-spacing: 0.1em; font-size: 1rem; }
.rating-badge strong { font-size: 1.05rem; }
.rating-inline { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.95rem; }
.rating-inline .stars { color: var(--gold); letter-spacing: 0.08em; }

/* ---------- Sections ---------- */
.section { padding: clamp(2.8rem, 6vw, 4.6rem) 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 44em; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.section-head p { color: var(--muted); }
.eyebrow {
  color: var(--rose); font-weight: 700; font-size: 0.88rem;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.5rem;
}

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--blush); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media-tint {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
}
.card-media-tint svg { width: 64px; height: 64px; }
.card-body { padding: 1.15rem 1.3rem 1.35rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.card-link { margin-top: auto; color: var(--rose-dark); font-weight: 700; font-size: 0.95rem; }

/* Treatment list cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.svc-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.3rem 1.25rem; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: 0.55rem;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--rose-soft); color: var(--ink); }
.svc-card h3 { margin: 0; font-size: 1.14rem; }
.svc-card p { color: var(--muted); font-size: 0.94rem; margin: 0; flex: 1; }
.svc-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; }

/* Category section on /behandlingar/ */
.cat-section { padding-top: 2.6rem; scroll-margin-top: 96px; }
.cat-section > h2 { display: flex; align-items: baseline; gap: 0.7rem; }
.cat-section > h2 .count { font-family: var(--font-body); font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.cat-intro { color: var(--muted); max-width: 46em; margin-bottom: 1.4rem; }
.cat-nav {
  position: sticky; top: 72px; z-index: 40;
  background: rgb(248 250 246 / 92%); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch;
}
.cat-nav .wrap { display: flex; gap: 0.4rem; padding-top: 0.55rem; padding-bottom: 0.55rem; }
.cat-nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.92rem;
  padding: 0.34rem 0.9rem; border-radius: 999px; border: 1px solid transparent;
}
.cat-nav a:hover { background: var(--blush); color: var(--rose-dark); }

/* ---------- Treatment detail ---------- */
.breadcrumb { font-size: 0.9rem; color: var(--muted); margin: 1.6rem 0 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--rose-dark); }
.svc-hero { padding: 1.2rem 0 0.6rem; }
.svc-hero h1 { margin-bottom: 0.6rem; }
.svc-hero .svc-meta { margin: 0.4rem 0 1.2rem; }
.svc-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(1.8rem, 4vw, 3.2rem); align-items: start;
  padding-bottom: clamp(2.4rem, 5vw, 4rem);
}
.svc-body { max-width: 46em; }
.svc-body ul { color: var(--ink); }
.book-panel {
  position: sticky; top: 96px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.4rem 1.4rem 1.5rem;
}
.book-panel .price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; }
.book-panel .duration { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; }
.book-panel .btn { width: 100%; }
.book-panel .note { font-size: 0.85rem; color: var(--muted); margin: 0.8rem 0 0; }

/* ---------- Om oss / profiles ---------- */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.profile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
}
.profile .avatar {
  width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
  margin-bottom: 1rem; flex: none;
}
.profile .avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile ul { color: var(--muted); font-size: 0.96rem; margin: 0.8rem 0 0; }
.profile li { margin-bottom: 0.15rem; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.review .stars { color: var(--gold); letter-spacing: 0.12em; margin-bottom: 0.6rem; }
.review p { font-size: 0.98rem; margin-bottom: 0.7rem; }
.review footer { color: var(--muted); font-size: 0.9rem; font-weight: 600; }

/* ---------- Info strip ---------- */
.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.info-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-item .ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--blush); color: var(--rose-dark);
  display: flex; align-items: center; justify-content: center;
}
.info-item h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.info-item p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Kontakt ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.hours-table td { padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr.today td { color: var(--rose-dark); font-weight: 700; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.contact-list li { display: flex; gap: 0.7rem; align-items: baseline; padding: 0.3rem 0; }
.contact-list .lbl { color: var(--muted); font-size: 0.9rem; min-width: 5.2em; }
.map-placeholder {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--blush);
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.8rem; text-align: center; padding: 1.5rem;
}
.map-placeholder p { color: var(--muted); font-size: 0.92rem; margin: 0; max-width: 26em; }
.map-frame { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--rose) 0%, var(--rose-dark) 100%);
  color: #fff; border-radius: calc(var(--radius) + 6px);
  padding: clamp(2rem, 5vw, 3.2rem); text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgb(255 255 255 / 85%); max-width: 36em; margin: 0 auto 1.4rem; }
.cta-band .btn { background: #fff; border-color: #fff; color: var(--rose-dark); }
.cta-band .btn:hover { background: var(--bg); border-color: var(--bg); transform: translateY(-1px); }
.cta-band .cta-leaf {
  position: absolute;
  width: 120px;
  bottom: 7%;
  opacity: 0.6;
  right: 3%;
  transform: rotate(12deg);
  color: #fff;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c4c3c2; margin-top: clamp(2.5rem, 6vw, 4rem); }
.site-footer a { color: #fff; text-decoration: none;}
.footer-main {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem;
  padding: clamp(2.2rem, 5vw, 3.4rem) 0 2rem;
}
.footer-main h3 { color: #fff;}
.footer-main .logo { color: #fff; }
.footer-main ul { list-style: none; padding: 0; margin: 0; }
.footer-main li { padding: 0.18rem 0; font-size: 0.97rem; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 14%);
  padding: 1.2rem 0 1.6rem; font-size: 0.9rem;
}
.footer-bottom p { margin: 0; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: clamp(4rem, 10vw, 7rem) 0; }
.error-page .code { font-family: var(--font-display); font-size: 5rem; color: var(--rose-soft); font-weight: 600; line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid, .svc-grid, .review-grid, .info-strip { grid-template-columns: repeat(2, 1fr); }
  .svc-layout { grid-template-columns: 1fr; }
  .book-panel { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 420px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.2rem 1rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.7rem 0.2rem; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 0.8rem; }
  .contact-layout, .profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .card-grid, .svc-grid, .review-grid, .info-strip { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
