/*
Theme Name: Fot- och Massagecenter
Theme URI: https://fotochmassagecenter.ax
Description: Fot- och Massagecenter
Author: UpNorth
Author URI: https://upnorth.ax
Version: 1.5.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fmc
*/

/* =========================================================
   0. Fonts
   Inlined @font-face instead of the fonts.googleapis.com CSS request -
   that request was render-blocking (~600 ms on mobile). Files are the
   variable woff2 fonts Google serves (latin subset, covers å ä ö), still
   on fonts.gstatic.com with a preconnect in functions.php.
   ========================================================= */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/cormorantgaramond/v21/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYqXtK.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/cormorantgaramond/v21/co3ZmX5slCNuHLi8bLeY9MK7whWMhyjYrEtImSo.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/raleway/v37/1Ptug8zYS_SKggPNyC0ITw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Raleway';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/raleway/v37/1Pt_g8zYS_SKggPNyCgSQamb1W0lwk4S4WjMDrMfIA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   1. Design tokens
   ========================================================= */
:root {
  /* Brand */
  --fmc-gold:        #D0B06A;   /* primary brand (from logo) */
  --fmc-gold-deep:   #B0904A;   /* hover / contrast gold */
  --fmc-gold-soft:   #E7D7AE;   /* light gold tint */

  /* Neutrals — warm, calm, spa */
  --fmc-bg:          #FAF6EF;   /* warm cream page background */
  --fmc-bg-alt:      #F2EADD;   /* deeper cream section */
  --fmc-surface:     #FFFFFF;   /* cards */
  --fmc-ink:         #2A2520;   /* espresso text */
  --fmc-ink-soft:    #6E655B;   /* muted body text */
  --fmc-ink-faint:   #9A9085;   /* captions / meta */
  --fmc-line:        rgba(42, 37, 32, 0.12);
  --fmc-line-soft:   rgba(42, 37, 32, 0.07);
  --fmc-dark:        #221E1A;   /* footer / deep sections */
  --fmc-dark-2:      #2E2823;

  /* Type — Raleway for body/UI (matches the logo), Cormorant Garamond as the
     single elegant heading font. The "script" accent is Cormorant italic so
     the site stays at exactly two typefaces. */
  --fmc-font-body:    "Raleway", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fmc-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --fmc-font-script:  "Cormorant Garamond", Georgia, serif;

  /* Layout */
  --fmc-container: 1180px;
  --fmc-gutter: clamp(1.25rem, 4vw, 3rem);
  --fmc-radius: 18px;
  --fmc-radius-sm: 12px;
  --fmc-shadow: 0 18px 50px -28px rgba(42, 37, 32, 0.45);
  --fmc-shadow-soft: 0 10px 30px -22px rgba(42, 37, 32, 0.35);

  --fmc-section-y: clamp(4rem, 9vw, 8rem);
  --fmc-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   2. Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--fmc-font-body);
  background: var(--fmc-bg);
  color: var(--fmc-ink);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--fmc-ease); }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--fmc-gold); color: #fff; }

/* =========================================================
   3. Typography
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--fmc-font-display);
  font-weight: 600;
  line-height: 1.08;
  color: var(--fmc-ink);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
p { color: var(--fmc-ink-soft); }
strong { color: var(--fmc-ink); font-weight: 600; }

.fmc-script {
  font-family: var(--fmc-font-script);
  font-style: italic;
  font-weight: 500;
  color: var(--fmc-gold-deep);
  font-size: 1.2em;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.fmc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--fmc-font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fmc-gold-deep);
}
.fmc-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--fmc-gold);
  flex: none;
}

.fmc-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--fmc-ink-soft); }

/* =========================================================
   4. Layout helpers
   ========================================================= */
.fmc-container {
  width: 100%;
  max-width: var(--fmc-container);
  margin-inline: auto;
  padding-inline: var(--fmc-gutter);
}
.fmc-section { padding-block: var(--fmc-section-y); }
.fmc-section--alt { background: var(--fmc-bg-alt); }
.fmc-section--dark { background: var(--fmc-dark); color: #fff; }
.fmc-section--dark h2,
.fmc-section--dark h3 { color: #fff; }
.fmc-section--dark p { color: rgba(255,255,255,0.72); }

.fmc-section__head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.fmc-section__head--center { margin-inline: auto; text-align: center; }
.fmc-section__title { margin-top: .8rem; }
.fmc-section__intro { margin-top: 1.1rem; }

.fmc-grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.fmc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.fmc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.fmc-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Card grid that centers an incomplete last row (e.g. 5 cards as 3 + 2 centered) */
.fmc-grid--center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.fmc-grid--center > * { width: calc((100% - 2 * clamp(1.25rem, 2.5vw, 2rem)) / 3); }
/* Flex items only stretch to equal height when their height computes to auto;
   .fmc-card's height:100% would otherwise leave short cards (e.g. Jäsenkorjaus)
   ending early. */
.fmc-grid--center > .fmc-card { height: auto; }

/* Anchored sections shouldn't hide under the sticky header */
[id] { scroll-margin-top: 104px; }

/* =========================================================
   5. Buttons
   ========================================================= */
.fmc-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .95rem 1.7rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  transition: transform .3s var(--fmc-ease), background .3s var(--fmc-ease), color .3s var(--fmc-ease), box-shadow .3s var(--fmc-ease);
  will-change: transform;
}
.fmc-btn:hover { transform: translateY(-2px); }
.fmc-btn--primary {
  background: var(--fmc-gold);
  color: #fff;
  box-shadow: 0 14px 30px -16px var(--fmc-gold-deep);
}
.fmc-btn--primary:hover { background: var(--fmc-gold-deep); }
.fmc-btn--ghost {
  border: 1px solid var(--fmc-line);
  color: var(--fmc-ink);
}
.fmc-btn--ghost:hover { border-color: var(--fmc-gold); color: var(--fmc-gold-deep); }
.fmc-btn--light { background: #fff; color: var(--fmc-ink); }
.fmc-btn--light:hover { background: var(--fmc-gold); color: #fff; }

.fmc-textlink {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  color: var(--fmc-gold-deep);
}
.fmc-textlink span { transition: transform .25s var(--fmc-ease); }
.fmc-textlink:hover span { transform: translateX(4px); }

/* =========================================================
   6. Header / navigation
   ========================================================= */
.fmc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--fmc-line-soft);
  transition: background .3s var(--fmc-ease);
}
.fmc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 88px;
}
.fmc-logo { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--fmc-font-display); font-size: 1.35rem; font-weight: 600; color: var(--fmc-ink); position: relative; z-index: 2; }
/* Logo: larger and readable — natural proportions, never cropped or stretched */
.fmc-logo img { height: 72px; width: auto; }

.fmc-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.fmc-nav__list { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.fmc-nav__list a {
  font-size: .96rem;
  font-weight: 500;
  color: var(--fmc-ink);
  position: relative;
  padding-block: .3rem;
}
.fmc-nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--fmc-gold);
  transition: width .3s var(--fmc-ease);
}
.fmc-nav__list a:hover,
.fmc-nav__list .current-menu-item > a { color: var(--fmc-gold-deep); }
.fmc-nav__list a:hover::after,
.fmc-nav__list .current-menu-item > a::after { width: 100%; }

.fmc-burger { display: none; flex-direction: column; gap: 5px; padding: .5rem; position: relative; z-index: 2; }
.fmc-nav__quick { display: none; }
.fmc-burger span { width: 24px; height: 2px; background: var(--fmc-ink); transition: .3s var(--fmc-ease); }
.fmc-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fmc-burger.is-open span:nth-child(2) { opacity: 0; }
.fmc-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   7. Hero
   ========================================================= */
.fmc-hero { position: relative; padding-block: clamp(3.5rem, 8vw, 7rem); }
.fmc-hero__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
/* Hero only: give the image a bigger share (~20% wider than before).
   Other sections reusing .fmc-hero__grid keep the original split. */
.fmc-hero .fmc-hero__grid { grid-template-columns: 0.75fr 1.25fr; }
.fmc-hero__title { margin: 1rem 0 0; }
.fmc-hero__title em { font-family: var(--fmc-font-script); font-style: italic; color: var(--fmc-gold-deep); font-weight: 500; }
.fmc-hero__text { margin-top: 1.5rem; max-width: 46ch; }
.fmc-hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.fmc-hero__media {
  position: relative;
  border-radius: var(--fmc-radius);
  overflow: hidden;
  box-shadow: var(--fmc-shadow);
  aspect-ratio: 4 / 5;
  background: var(--fmc-bg-alt);
}
.fmc-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.fmc-hero__badge {
  position: absolute; bottom: 1rem; left: 1rem;
  max-width: calc(100% - 2rem);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: .5rem .9rem;
  font-size: clamp(.7rem, 1.8vw, .85rem); font-weight: 600;
  line-height: 1.35;
  display: inline-flex; gap: .5rem; align-items: center;
}

/* =========================================================
   8. Cards
   ========================================================= */
.fmc-card {
  background: var(--fmc-surface);
  border: 1px solid var(--fmc-line-soft);
  border-radius: var(--fmc-radius);
  padding: clamp(1.5rem, 2.5vw, 2.1rem);
  box-shadow: var(--fmc-shadow-soft);
  transition: transform .35s var(--fmc-ease), box-shadow .35s var(--fmc-ease);
  height: 100%;
}
.fmc-card:hover { transform: translateY(-5px); box-shadow: var(--fmc-shadow); }
.fmc-card__kicker { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fmc-gold-deep); }
.fmc-card__title { margin: .65rem 0 .35rem; }
.fmc-card__person { font-size: .92rem; color: var(--fmc-ink-faint); font-style: italic; margin-bottom: .9rem; }
.fmc-card__text { font-size: .98rem; }
.fmc-card__cta { margin-top: 1.2rem; }

/* Treatment card with image */
.fmc-treat { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.fmc-treat__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--fmc-bg-alt); }
.fmc-treat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--fmc-ease); }
.fmc-treat:hover .fmc-treat__media img { transform: scale(1.05); }
.fmc-treat__body { padding: clamp(1.4rem, 2.2vw, 1.9rem); display: flex; flex-direction: column; flex: 1; }
.fmc-treat__body .fmc-card__cta { margin-top: auto; padding-top: 1.1rem; }

/* Founders — two rounded portrait cards side by side, second slightly offset,
   with white role-label cards overlapping the photos. Polished, not raw images. */
.fmc-founders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 2.5vw, 2rem); align-items: start; }
.fmc-founders__item { position: relative; }
.fmc-founders__item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--fmc-radius);
  box-shadow: var(--fmc-shadow);
  display: block;
  background: var(--fmc-bg-alt);
}
.fmc-founders__item--offset { margin-top: clamp(2.2rem, 5vw, 3.8rem); }
.fmc-founders__label {
  position: absolute;
  left: .9rem;
  bottom: .9rem;
  max-width: calc(100% - 1.8rem);
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--fmc-radius-sm);
  box-shadow: var(--fmc-shadow-soft);
  padding: .65rem 1rem;
  line-height: 1.35;
}
.fmc-founders__label strong { display: block; font-size: .95rem; color: var(--fmc-ink); }
.fmc-founders__label span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fmc-gold-deep); font-weight: 600; }
@media (max-width: 600px) {
  .fmc-founders { gap: .9rem; }
  .fmc-founders__item--offset { margin-top: 1.4rem; }
  .fmc-founders__label { left: .6rem; bottom: .6rem; padding: .5rem .7rem; }
  .fmc-founders__label strong { font-size: .8rem; }
  .fmc-founders__label span { font-size: .62rem; }
}

/* Map embed — warm tint to match the theme + branded badge over the map.
   The iframe fills the container absolutely so it has its final size the
   moment Google Maps loads (percent heights on a min-height container
   resolve to 0 at load, which left the map tiny in the top-left corner). */
.fmc-map { position: relative; }
.fmc-map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  filter: sepia(.16) saturate(.9) contrast(.98);
}
.fmc-map__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--fmc-radius-sm);
  box-shadow: var(--fmc-shadow-soft);
  padding: .6rem 1rem;
  line-height: 1.4;
  pointer-events: none;
}
.fmc-map__badge strong { display: block; font-size: .92rem; }
.fmc-map__badge span { font-size: .78rem; color: var(--fmc-ink-soft); }

/* Team row: flex so a lone member on the last row stays centered */
.fmc-team { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.25rem, 2.5vw, 2rem); }
.fmc-team .fmc-member { flex: 0 1 190px; min-width: 150px; }

/* Team member */
.fmc-member { text-align: center; }
.fmc-member__photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 0 auto 1.1rem; max-width: 200px; box-shadow: var(--fmc-shadow-soft); border: 3px solid #fff; }
.fmc-member__photo img { width: 100%; height: 100%; object-fit: cover; }
.fmc-member__name { font-size: 1.3rem; }
.fmc-member__role { color: var(--fmc-gold-deep); font-weight: 600; font-size: .92rem; }
.fmc-member__biz { color: var(--fmc-ink-faint); font-size: .9rem; font-style: italic; }

/* =========================================================
   9. Steps (Så går ett besök till)
   ========================================================= */
.fmc-steps { counter-reset: step; }
.fmc-step { position: relative; padding-left: 4.2rem; }
.fmc-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: -.2rem;
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--fmc-gold);
  color: var(--fmc-gold-deep);
  font-family: var(--fmc-font-display);
  font-size: 1.4rem; font-weight: 600;
}
.fmc-step__title { font-size: 1.2rem; margin-bottom: .4rem; }

/* =========================================================
   10. FAQ (accordion)
   ========================================================= */
.fmc-faq { max-width: 800px; margin-inline: auto; }
.fmc-faq__item { border-bottom: 1px solid var(--fmc-line); }
.fmc-faq__q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.3rem 0;
  font-family: var(--fmc-font-display);
  font-size: 1.2rem; font-weight: 600; color: var(--fmc-ink);
}
.fmc-faq__icon { flex: none; width: 22px; height: 22px; position: relative; transition: transform .3s var(--fmc-ease); }
.fmc-faq__icon::before, .fmc-faq__icon::after { content: ""; position: absolute; background: var(--fmc-gold-deep); }
.fmc-faq__icon::before { top: 10px; left: 0; width: 22px; height: 2px; }
.fmc-faq__icon::after { left: 10px; top: 0; width: 2px; height: 22px; transition: transform .3s var(--fmc-ease); }
.fmc-faq__item.is-open .fmc-faq__icon::after { transform: rotate(90deg); opacity: 0; }
.fmc-faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--fmc-ease); }
.fmc-faq__a p { padding-bottom: 1.3rem; }

/* =========================================================
   11. CTA band
   ========================================================= */
.fmc-cta {
  border-radius: var(--fmc-radius);
  background: linear-gradient(135deg, var(--fmc-dark), var(--fmc-dark-2));
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.fmc-cta::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% -20%, rgba(208,176,106,0.35), transparent 55%);
}
.fmc-cta > * { position: relative; z-index: 1; }
.fmc-cta h2 { color: #fff; }
.fmc-cta p { color: rgba(255,255,255,0.75); max-width: 52ch; margin-inline: auto; margin-top: 1rem; }
.fmc-cta__actions { margin-top: 2rem; display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   12. Footer
   ========================================================= */
.fmc-footer { background: var(--fmc-dark); color: rgba(255,255,255,0.7); padding-top: clamp(3.5rem, 7vw, 6rem); }
.fmc-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.fmc-footer__brand img { height: 54px; margin-bottom: 1.2rem; }
.fmc-footer h4 { color: #fff; font-family: var(--fmc-font-body); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.2rem; font-weight: 600; }
.fmc-footer a:hover { color: var(--fmc-gold); }
.fmc-footer__links li { margin-bottom: .7rem; }
.fmc-footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-block: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .86rem; }

/* =========================================================
   13. Page hero (interior pages)
   ========================================================= */
.fmc-pagehero { padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 4vw, 3rem); text-align: center; }
.fmc-pagehero__title { margin-top: .8rem; }
.fmc-pagehero__intro { margin: 1.2rem auto 0; max-width: 60ch; }

/* Rich text (legal pages, post content) */
.fmc-prose { max-width: 760px; margin-inline: auto; }
.fmc-prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 2.4rem 0 1rem; }
.fmc-prose h3 { margin: 1.8rem 0 .8rem; }
.fmc-prose p { margin-bottom: 1.1rem; }
.fmc-prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.1rem; }
.fmc-prose li { margin-bottom: .5rem; color: var(--fmc-ink-soft); }
.fmc-prose a { color: var(--fmc-gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.fmc-prose img { border-radius: var(--fmc-radius-sm); margin-block: 1.5rem; }

/* =========================================================
   14. Blog
   ========================================================= */
.fmc-post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.fmc-post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--fmc-bg-alt); }
.fmc-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--fmc-ease); }
.fmc-post-card:hover .fmc-post-card__media img { transform: scale(1.05); }
.fmc-post-card__body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.fmc-post-card__meta { font-size: .82rem; color: var(--fmc-ink-faint); letter-spacing: .04em; }
.fmc-post-card__title { margin: .5rem 0 .6rem; font-size: 1.3rem; }
.fmc-post-card__excerpt { font-size: .95rem; }
.fmc-post-card__cta { margin-top: auto; padding-top: 1.1rem; }

.fmc-single { max-width: 820px; margin-inline: auto; }
/* Clear air between the post title and the article text */
.fmc-single .fmc-pagehero { padding-bottom: 0; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.fmc-single__meta { color: var(--fmc-ink-faint); font-size: .9rem; letter-spacing: .04em; margin-bottom: 1rem; }
.fmc-single__featured { border-radius: var(--fmc-radius); overflow: hidden; margin: 2rem 0; box-shadow: var(--fmc-shadow-soft); }

/* Featured image ratio handling — random formats (phone/FB/TikTok) still look designed.
   wide (≈16:9): normal full-width layout.
   portrait (≈9:16) & square (≈1:1): sit beside the intro text on desktop, stack on mobile. */
.fmc-single__featured--portrait,
.fmc-single__featured--square {
  float: right;
  margin: .3rem 0 1.3rem 1.8rem;
  /* No container chrome — the image alone is the visual, no box behind it */
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.fmc-single__featured--portrait { width: min(300px, 42%); }
.fmc-single__featured--square   { width: min(360px, 48%); }
.fmc-single__featured--portrait img,
.fmc-single__featured--square img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  border-radius: var(--fmc-radius-sm);
  box-shadow: var(--fmc-shadow-soft);
  background: transparent;
}
.fmc-prose::after { content: ""; display: table; clear: both; }
@media (max-width: 680px) {
  .fmc-single__featured--portrait,
  .fmc-single__featured--square {
    float: none;
    width: 100%;
    max-width: 420px;
    margin: 1.5rem auto;
  }
}

/* Fallback logo when a post has no usable featured image.
   Always contain — the full logo must be visible, never cropped or zoomed. */
.fmc-post-card__media img.fmc-post-card__fallback {
  object-fit: contain !important;
  object-position: center;
  padding: 1.8rem;
  opacity: .9;
}
.fmc-post-card:hover .fmc-post-card__media img.fmc-post-card__fallback { transform: none; }

.fmc-pagination { display: flex; justify-content: center; gap: .6rem; margin-top: 3.5rem; }
.fmc-pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding-inline: .5rem; border-radius: 10px; border: 1px solid var(--fmc-line); font-weight: 600; }
.fmc-pagination .page-numbers.current { background: var(--fmc-gold); color: #fff; border-color: var(--fmc-gold); }
.fmc-pagination a.page-numbers:hover { border-color: var(--fmc-gold); color: var(--fmc-gold-deep); }

/* =========================================================
   15. Forms / newsletter
   ========================================================= */
.fmc-newsletter { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.4rem; }
.fmc-input {
  flex: 1; min-width: 220px;
  padding: .9rem 1.2rem;
  border-radius: 10px;
  border: 1px solid var(--fmc-line);
  background: var(--fmc-surface);
}
.fmc-input:focus { outline: none; border-color: var(--fmc-gold); box-shadow: 0 0 0 3px rgba(208,176,106,0.2); }

.fmc-formnote { margin: 0 auto 1.1rem; max-width: 480px; padding: .75rem 1.1rem; border-radius: 12px; font-size: .95rem; }
.fmc-formnote--ok { background: rgba(208,176,106,0.18); color: #fff; border: 1px solid rgba(208,176,106,0.55); }
.fmc-formnote--err { background: rgba(255,255,255,0.08); color: #ffdad4; border: 1px solid rgba(255,140,130,0.5); }

/* Wrapper for embedded booking / Stripe / Forminator content */
.fmc-embed { background: var(--fmc-surface); border: 1px solid var(--fmc-line-soft); border-radius: var(--fmc-radius); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--fmc-shadow-soft); }

/* Cliento booking widget renders into this container */
#cliento-booking { min-height: 520px; }

/* Booking page: branded container + full re-theme of the Cliento widget.
   Cliento v3 defines its palette as CSS variables on :root. The widget also
   renders parts of its UI (the fixed "Fortsätt" cart bar, modals) in portals
   OUTSIDE #cliento-booking, directly under <body>. The overrides therefore
   live on body so they reach every Cliento element, portaled or not. */
.fmc-embed--booking { border-top: 4px solid var(--fmc-gold); }
#cliento-booking { accent-color: var(--fmc-gold); }
body {
  /* Purple/blue primary → brand gold (selected states, radios, links,
     and the "Fortsätt" button in the cart bar) */
  --cb-color-primary: var(--fmc-gold-deep);
  --cb-color-primary-hover: #9a7c3c;
  --cb-color-secondary: var(--fmc-gold-deep);
  --cb-input-focus: rgba(208, 176, 106, 0.25);
  --cb-input-focus-border: var(--fmc-gold);

  /* Purple-tinted grays → warm cream neutrals (panels, rows, text) */
  --cb-color-neutral-10: #2a2520;
  --cb-color-neutral-20: #4a4339;
  --cb-color-neutral-40: #6e655b;
  --cb-color-neutral-50: #9a9085;
  --cb-color-neutral-60: #d6cfc2;
  --cb-color-neutral-70: #e9e1d3;
  --cb-color-neutral-80: #f2eadd;
  --cb-color-neutral-90: #faf6ef;
  --cb-color-neutral-100: #ffffff;

  /* Green "Välj" buttons → gold */
  --cb-color-success-10: #8a6d2f;
  --cb-color-success-30: var(--fmc-gold-deep);
  --cb-color-success-40: var(--fmc-gold);
  --cb-color-success-50: var(--fmc-gold-soft);
  --cb-color-success-100: #fdf9f0;
  --cb-alt-button-bg: #fdf9f0;
  --cb-alt-button-bg-hover: var(--fmc-gold-soft);
  --cb-alt-button-bg-active: var(--fmc-gold);
  --cb-alt-button-border: var(--fmc-gold);
  --cb-alt-button-label: #8a6d2f;
}
#cliento-booking a { color: var(--fmc-gold-deep); }

/* Service lists (treatments) + check lists (therapist specialities) */
.fmc-servicelist { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 2.2rem; }
.fmc-servicelist li { padding: .65rem 0; border-bottom: 1px solid var(--fmc-line-soft); }
.fmc-checklist { list-style: none; padding: 0; margin: 1.1rem 0; display: grid; gap: .45rem; }
.fmc-checklist li { position: relative; padding-left: 1.6rem; }
.fmc-checklist li::before { content: "\2713"; position: absolute; left: 0; color: var(--fmc-gold-deep); font-weight: 700; }

/* Treatment menu (category + collapsible services) */
.fmc-menu { max-width: 860px; margin-inline: auto; }
.fmc-menu__cat { margin-top: clamp(2.5rem, 5vw, 4rem); }
.fmc-menu__cat:first-child { margin-top: 0; }
.fmc-menu__intro { margin-top: .6rem; max-width: 62ch; }
.fmc-service { border-bottom: 1px solid var(--fmc-line); }
.fmc-service summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-family: var(--fmc-font-display); font-size: 1.18rem; font-weight: 600; color: var(--fmc-ink); }
.fmc-service summary::-webkit-details-marker { display: none; }
.fmc-service summary::after { content: "+"; flex: none; color: var(--fmc-gold-deep); font-size: 1.4rem; line-height: 1; transition: transform .3s var(--fmc-ease); }
.fmc-service[open] summary::after { transform: rotate(45deg); }
.fmc-service__body { padding: 0 0 1.3rem; }
.fmc-service__body p { color: var(--fmc-ink-soft); }

/* Bio cards (om oss) */
.fmc-bio { display: grid; grid-template-columns: 220px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.fmc-bio + .fmc-bio { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--fmc-line); }
.fmc-bio__photo { border-radius: var(--fmc-radius); overflow: hidden; aspect-ratio: 4/5; background: var(--fmc-bg-alt); box-shadow: var(--fmc-shadow-soft); }
.fmc-bio__photo img { width: 100%; height: 100%; object-fit: cover; }
.fmc-bio__biz { color: var(--fmc-gold-deep); font-weight: 600; }
.fmc-bio__contact { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.1rem; font-size: .95rem; }
.fmc-bio__contact a { color: var(--fmc-gold-deep); font-weight: 600; }
@media (max-width: 680px) { .fmc-bio { grid-template-columns: 1fr; } .fmc-bio__photo { max-width: 260px; } }

/* =========================================================
   16. Reveal animation
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--fmc-ease), transform .7s var(--fmc-ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="delay-1"] { transition-delay: .08s; }
[data-reveal="delay-2"] { transition-delay: .16s; }
[data-reveal="delay-3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   17. Utilities
   ========================================================= */
.fmc-center { text-align: center; }
.fmc-nowrap { white-space: nowrap; }
.fmc-mt-1 { margin-top: 1rem; }
.fmc-mt-2 { margin-top: 2rem; }
.fmc-mauto { margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 999; background: #fff; padding: .6rem 1rem; border-radius: 8px; }

/* =========================================================
   18. Responsive
   ========================================================= */
@media (max-width: 980px) {
  /* Match the specificity of the desktop ".fmc-hero .fmc-hero__grid" rule,
     otherwise the hero keeps two columns on mobile and the image collapses. */
  .fmc-hero__grid,
  .fmc-hero .fmc-hero__grid { grid-template-columns: 1fr; }
  .fmc-hero__media { aspect-ratio: 16 / 11; order: -1; }
  /* Single column hero: center the content */
  .fmc-hero { text-align: center; }
  .fmc-hero .fmc-hero__text { margin-inline: auto; }
  .fmc-hero .fmc-hero__actions { justify-content: center; }
  .fmc-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .fmc-grid--center > * { width: calc((100% - clamp(1.25rem, 2.5vw, 2rem)) / 2); }
  .fmc-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .fmc-header__inner { min-height: 72px; }
  .fmc-logo img { height: 54px; }
  /* Fullscreen mobile menu. Closed state uses opacity + visibility (no
     transform), so nothing can peek out above the header or animate on
     desktop-to-mobile resize. */
  .fmc-nav {
    position: fixed; inset: 0; height: 100dvh; z-index: 1;
    background: var(--fmc-bg);
    flex-direction: column; justify-content: center; align-items: center;
    padding: 5.5rem var(--fmc-gutter) 2.5rem;
    text-align: center;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s var(--fmc-ease), visibility .3s var(--fmc-ease);
  }
  .fmc-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .fmc-nav__list { flex-direction: column; align-items: center; gap: .4rem; }
  .fmc-nav__list a { padding-block: .5rem; font-size: 1.35rem; font-family: var(--fmc-font-display); border-bottom: none; }
  /* Gold marker sits right under the text, centered */
  .fmc-nav__list a::after { left: 50%; transform: translateX(-50%); bottom: .2rem; height: 2px; }
  .fmc-nav__list a:hover::after,
  .fmc-nav__list .current-menu-item > a::after { width: 30px; }
  .fmc-nav > .fmc-btn { margin-top: 1.6rem; }
  .fmc-nav__quick {
    display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem 1.6rem;
    margin-top: 2.2rem; padding-top: 1.6rem;
    border-top: 1px solid var(--fmc-line-soft);
    width: min(100%, 320px);
  }
  .fmc-nav__quick a { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 600; color: var(--fmc-ink); }
  .fmc-nav__quick a:hover { color: var(--fmc-gold-deep); }
  .fmc-burger { display: flex; }
  .fmc-grid--2, .fmc-grid--3, .fmc-grid--4 { grid-template-columns: 1fr; }
  .fmc-grid--center > * { width: 100%; }
  .fmc-footer__grid { grid-template-columns: 1fr; }
}
