/* Malmö Implantatgrupp, "Uniform" (demo). Riktning: Vega, _playbooks/vega/demos/lumopitch-malmo-implantatgrupp/riktning.md.
   Grundtema: klar (katalogen är oförändrad). Hela designen för den här demon bor i den här filen:
   1) tokens (enda källan till färg), 2) demons egen stilmall som läser bara tokens.
   brand.css laddas FÖRE theme.css, därför börjar varje regel i del 2 med "html body" (högre specificitet än temat).
   Marin som fält, himmelsblå som enda accent, båge som fotoform, en enda mjuk skugga, inga gradienter. */

/* ---------- 1. TOKENS ---------- */
:root{
  --brand-50:  #f3f9fd;  --brand-100: #e8f5fc;  --brand-200: #cbe5f3;
  --brand-300: #86bcd9;  --brand-400: #3b86ad;
  --brand-500: #005079;  --brand-600: #073f5f;  --brand-700: #0a3550;
  --brand-rgb: 0,80,121;
  --brand-dark-rgb: 10,53,80;

  --accent-100:#e8f5fc;  --accent-300:#24a5e1;
  --accent-600:#0b7db3;  --accent-700:#005079;
  --accent-rgb:36,165,225;

  /* Ingen tredje färg: stödfärgerna är marin och himmelsblå */
  --support-100:#e8f5fc;  --support-500:#005079;  --support-700:#0a3550;

  --ink-900:#0e2433;  --ink-700:#1e3646;  --ink-600:#2a4558;  --ink-500:#3e586a;
  --ink-400:#566f80;  --ink-300:#9ab0be;  --ink-200:#bcd0dc;  --ink-100:#d3e5ef;
  --ink-50:#f6fafc;
  --ink-rgb:14,36,51;
  --ink-mid-rgb:10,53,80;

  --gradient-inverse: #0a3550;   /* platt marin, ingen gradient */

  --paper:#ffffff;  --panel:#ffffff;
}

/* ---------- 2. DEMONS EGEN STILMALL ---------- */
html:root{
  --sans:"Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display:"Young Serif", Georgia, "Times New Roman", serif;
  --wrap:1200px;
  --gutter:clamp(20px,4vw,40px);
  --r-sm:8px; --r-md:14px; --r-lg:16px; --r-xl:22px; --r-pill:999px;
  --arc:22px 22px 50% 50% / 22px 22px 13% 13%;      /* loggans leende som fotoform */
  --arc-s:14px 14px 50% 50% / 14px 14px 10% 10%;
  --lift:0 22px 44px -22px rgba(10,53,80,.55);       /* den enda skuggan */
  --sky-btn:var(--accent-300);
}

html body{background:var(--paper); color:var(--ink-900); font-family:var(--sans); font-size:17px; line-height:1.6; font-weight:400; font-synthesis:none}
html body a{color:inherit}
html body h1, html body h2, html body h3{font-family:var(--display); font-weight:400; color:var(--brand-700); letter-spacing:-.015em; line-height:1.02; hyphens:manual}
html body h1{font-size:50px}
html body h2{font-size:36px; line-height:1.06}
html body h3{font-size:20px; line-height:1.15; letter-spacing:-.005em}
@media (min-width:900px){
  html body h1{font-size:96px}
  html body h2{font-size:56px}
}
html body .container{max-width:var(--wrap)}
html body .section{padding-block:64px}
@media (min-width:900px){ html body .section{padding-block:104px} }

/* toningar: platt vitt, utom de två som är den isblå plattan */
html body .wash-teal, html body .wash-rose, html body .wash-sand, html body .wash-shell,
html body .wash-cream, html body .wash-sky{background:var(--paper); border:0}
html body .wash-mist, html body .sunken.wash-teal, html body .sunken.wash-shell:has(.price-card){background:var(--accent-100); border:0}
html body .sunken.wash-shell{background:var(--paper)}
html body .rule{display:none}
html body .rich, html body .rich strong{color:var(--ink-900)}
html body .split .rich a, html body .faq-item a, html body .contact-info a:not(.tel-link){color:var(--brand-500); font-weight:700}
html body .split{align-items:center}
html body .split > *{min-width:0}
html body h2{overflow-wrap:anywhere}

/* ---------- Knappar: piller ---------- */
html body .btn{font-family:var(--sans); font-weight:700; font-size:16px; line-height:1; border-width:2px; border-radius:var(--r-pill); padding:0 24px; height:50px;
  background:var(--sky-btn); border-color:var(--sky-btn); color:var(--brand-700)}
html body .btn:hover{background:var(--brand-700); border-color:var(--brand-700); color:var(--paper)}
html body .btn-primary{background:var(--sky-btn); border-color:var(--sky-btn); color:var(--brand-700)}
html body .btn-secondary, html body .btn-ghost{background:transparent; border-color:var(--brand-700); color:var(--brand-700)}
html body .btn-secondary:hover, html body .btn-ghost:hover{background:var(--brand-700); border-color:var(--brand-700); color:var(--paper)}
html body .btn-light{background:var(--sky-btn); border-color:var(--sky-btn); color:var(--brand-700)}
html body .btn .dot{display:none}
html body .split .btn-row{margin-top:30px}

/* ---------- Sidhuvud (form 1): vitt ---------- */
html body header{background:var(--paper); border-bottom:0}
html body .bar{height:68px; padding-block:0; gap:12px}
html body .logo{height:40px; width:auto}
html body .bar nav a{font-family:var(--sans); font-weight:500; font-size:16px; color:var(--ink-900); border-radius:var(--r-sm); border-bottom:0}
html body .bar nav a:hover{background:var(--accent-100); color:var(--brand-700)}
html body .bar nav .is-current > a{background:var(--accent-100); font-weight:700}
html body .bar > .btn{height:42px; padding:0 18px; font-size:15px}
html body .submenu{border:0; border-radius:var(--r-md); box-shadow:var(--lift); padding:8px}
html body .hamburger{border:0; border-radius:50%; background:var(--accent-100); width:42px; height:42px}
html body .hamburger span{background:var(--brand-700)}
@media (min-width:821px){
  html body .bar{height:84px; gap:8px}
  html body .bar nav{margin-left:auto}
  html body .bar > .btn{margin-left:20px}
}
@media (max-width:820px){
  html body .bar{gap:10px}
  html body .bar > .logo-link{order:1; margin-right:auto}
  html body .bar > .btn{display:inline-flex; order:2; width:auto; margin-left:0}
  html body .hamburger{order:3; margin-left:0}
  html body .bar nav{order:4; border-bottom:2px solid var(--accent-100)}
  html body .bar nav a{font-size:18px}
  html body .submenu{border-radius:0; box-shadow:none}
}

/* ---------- Hero: marinfält ---------- */
html body .hero{background:var(--brand-700); color:var(--paper); border:0; padding:28px 0}
html body .hero .frame{max-width:var(--wrap); padding-inline:var(--gutter); display:flex; flex-direction:column; gap:26px; align-items:stretch}
html body .hero .caption{order:1; padding:0}
html body .hero .frame > img{order:2; width:100%; height:270px; min-height:0; object-fit:cover; object-position:50% 22%; border-radius:var(--arc); box-shadow:var(--lift)}
html body .hero h1{color:var(--paper); margin:0 0 14px}
/* orten i himmelsblått: på startsidan via första raden, på behandlingssidorna via spannet */
html body .hero-home .caption h1{color:var(--accent-300); width:min-content; max-width:100%}
html body .hero-home .caption h1::first-line{color:var(--paper)}
html body .hero .caption h1 span{display:block; color:var(--accent-300); font-size:inherit; font-weight:inherit; margin:0}
html body .hero .caption h1 span:empty{display:none}
html body .hero .caption > p{font-size:18px; line-height:1.5; color:rgba(255,255,255,.88); max-width:34ch; margin:0}
html body .bullet-list{margin:18px 0 22px; gap:10px}
html body .bullet-list li{color:var(--paper); font-weight:500; font-size:17px; align-items:center; line-height:1.35}
html body .check-badge{width:24px; height:24px; margin-top:0; border-radius:50%; background:var(--accent-300); color:var(--brand-700)}
html body .check-badge svg{width:14px; height:14px}
html body .hero-actions{margin-top:0}
html body .hero .btn-row{flex-direction:row; gap:10px}
html body .hero .btn{width:auto}
html body .hero .btn-secondary{color:var(--paper); border-color:var(--paper)}
html body .hero .btn-secondary:hover{background:var(--paper); color:var(--brand-700)}
/* behandlingssidor: långa ord ryms inte i hemsidans storlek */
html body .hero:not(.hero-home) h1{font-size:clamp(28px,8.4vw,44px); overflow-wrap:anywhere; hyphens:manual}
@media (min-width:900px){
  html body .hero{padding:56px 0 0}
  html body .hero .frame{flex-direction:row; align-items:flex-end; gap:56px}
  html body .hero .caption{flex:1 1 52%; min-width:0; padding-bottom:72px}
  html body .hero .frame > img{flex:1 1 48%; height:560px; min-width:0}
  html body .hero:not(.hero-home) h1{font-size:clamp(44px,4.2vw,60px)}
  html body .hero .caption > p{font-size:20px}
}

/* ---------- Intro ---------- */
html body .intro .inner{max-width:760px}
html body .intro h2{max-width:24ch; margin-inline:auto; text-wrap:balance}
html body .intro p{font-family:var(--display); font-weight:400; font-size:24px; line-height:1.3; letter-spacing:-.005em; color:var(--brand-700); max-width:32ch; margin:20px auto 0; text-wrap:balance}
@media (min-width:900px){ html body .intro p{font-size:30px; line-height:1.28} }

/* intro på behandlingssidorna: löpande text, inte serif-citat */
html body:not(:has(.hero-home)) .intro p{font-family:var(--sans); font-size:19px; line-height:1.6; color:var(--ink-900); max-width:56ch}

/* ---------- Behandlingskort: vita kort på isblå platta ---------- */
html body .grid-4{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:26px}
html body .treat-card{display:block; min-width:0; background:var(--paper); border:0; border-radius:16px; padding:5px 5px 11px; overflow:visible; box-shadow:none; text-decoration:none; transition:transform .2s ease}
html body .treat-card:hover{transform:translateY(-4px); box-shadow:none; border:0}
html body .treat-card img{width:100%; aspect-ratio:4/5; height:auto; object-fit:cover; object-position:50% 25%; border-radius:var(--arc-s)}
html body .treat-card .label{display:flex; justify-content:space-between; align-items:center; gap:6px; padding:0; margin:9px 3px 0;
  font-family:var(--display); font-weight:400; font-size:12.5px; line-height:1.15; color:var(--brand-700); overflow-wrap:break-word; hyphens:auto}
html body .treat-card:hover .label{text-decoration:none}
html body .treat-card .label::before{display:none}
html body .treat-card .label::after{content:none; flex:none; width:26px; height:26px; border-radius:50%;
  background:var(--accent-300) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A3550' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") center/14px no-repeat}
html body .reveal-wrap{display:flex; margin-top:30px; justify-content:center}
html body .reveal-btn{width:auto; background:transparent; border-color:var(--brand-700); color:var(--brand-700)}
html body .reveal-btn:hover{background:var(--brand-700); color:var(--paper)}
@media (min-width:900px){
  html body .grid-4{gap:22px; margin-top:40px}
  html body .treat-card{padding:8px 8px 16px; border-radius:20px}
  html body .treat-card .label{font-size:22px; margin:14px 8px 0}
  html body .treat-card .label::after{content:""}
}
@media (min-width:1000px){
  html body .grid-4{grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px}
  html body .treat-card .label{font-size:19px}
  html body .treat-card.more:nth-child(-n+8){display:block}
  html body .section.sunken:has(.grid-4){padding-block:72px}
}

/* ---------- Bilder i tvåspalt: bågform ---------- */
html body .cb-photo-img{width:100%; aspect-ratio:4/5; object-fit:cover; object-position:50% 20%; border-radius:var(--arc)}
html body .band-photo{width:100%; aspect-ratio:1/1; object-fit:cover; object-position:50% 25%; border-radius:var(--arc)}
@media (min-width:961px){ html body .band-photo{order:-1} }
html body .img-stack{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; align-items:start}
html body .img-stack img{width:100%; aspect-ratio:4/5; object-fit:cover; object-position:50% 20%; border-radius:var(--arc-s)}
html body .img-stack img:nth-child(2){margin-top:36px; box-shadow:var(--lift)}
html body .img-stack img[src$=".png"]{background:var(--brand-200)}
@media (min-width:900px){
  html body .img-stack{gap:20px}
  html body .img-stack img{border-radius:var(--arc)}
  html body .img-stack img:nth-child(2){margin-top:56px}
}

/* ---------- Punktlistor: himmelsblå prickar ---------- */
html body .offer-list{margin-top:24px; gap:0 32px}
html body .offer-list li{color:var(--ink-900); font-size:17px; padding:13px 0 13px 28px; border-bottom:1px solid var(--ink-100)}
html body .offer-list li::before{width:10px; height:10px; left:2px; top:1.35em; border:0; background:var(--accent-300); transform:none; border-radius:50%}
html body .sunken .offer-list{grid-template-columns:minmax(0,1fr)}
html body .sunken .offer-list li{border-bottom-color:rgba(var(--brand-dark-rgb),.15)}
html body .split:not(.faq-section .split) > div > .offer-list{grid-template-columns:minmax(0,1fr)}
html body .offer-list li a{color:var(--brand-500); font-weight:700}
html body .sunken.wash-mist:has(.band-photo){background:var(--paper); border-top:1px solid var(--ink-100)}

/* ---------- Stegen: marinfält, full bredd ---------- */
html body .steps-section{background:var(--brand-700); color:var(--paper); box-shadow:0 0 0 100vmax var(--brand-700); clip-path:inset(0 -100vmax)}
html body .steps-section h2{color:var(--paper)}
html body .steps{gap:32px; margin-top:44px}
html body .steps .step{background:none; border:0; border-radius:0; padding:0; color:var(--paper); text-align:left}
html body .steps .step .n{background:none; color:var(--accent-300); font-family:var(--display); font-weight:400; font-size:64px; line-height:1; width:auto; height:auto; border-radius:0; justify-content:flex-start; margin-bottom:10px}
html body .steps .step h3{color:var(--paper)}
html body .steps .step p{color:rgba(255,255,255,.86); font-size:16.5px}
html body .steps .step.active{border:0}
@media (max-width:620px){ html body .grid-4.steps{grid-template-columns:minmax(0,1fr); gap:28px; margin-top:32px} }
@media (min-width:621px) and (max-width:1080px){ html body .grid-4.steps{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (min-width:1081px){ html body .grid-4.steps{grid-template-columns:repeat(4,minmax(0,1fr))} }

/* ---------- Bildband: platt marinpanel, ingen gradient ---------- */
html body .band{background:var(--brand-500); border:0; min-height:460px; display:flex; align-items:stretch}
html body .band .bg{position:absolute; top:0; bottom:0; left:45%; width:55%; height:100%; object-fit:cover; object-position:30% 30%}
html body .band .scrim{position:relative; z-index:1; width:45%; background:var(--brand-500); display:flex; align-items:center;
  padding:clamp(48px,6vw,88px) 48px clamp(48px,6vw,88px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)))}
html body .band .scrim .container{padding:0; max-width:none; display:block}
html body .band .content{width:100%; color:var(--paper)}
html body .band h2{color:var(--paper); font-size:clamp(34px,3.4vw,48px); margin-bottom:16px}
html body .band p{color:rgba(255,255,255,.88); font-size:18px}
html body .band .btn-row{margin-top:26px}
@media (max-width:960px){
  html body .band{display:block; min-height:0}
  html body .band .bg{position:static; display:block; width:100%; height:220px; object-position:50% 30%}
  html body .band .scrim{width:100%; padding:36px var(--gutter) 44px}
}

/* ---------- Omdömen: fotobakgrund på sektionen, vit ruta som skjuter upp över fotot ---------- */
html body .reviews-widget{background:var(--paper); border:0; border-radius:var(--r-xl); color:var(--brand-700); min-height:0;
  display:block; text-align:left; font-family:var(--display); font-size:22px; line-height:1.3; padding:26px 22px}
html body .reviews-widget::before{content:"\2605\2605\2605\2605\2605"; display:block; color:var(--accent-300); letter-spacing:3px; font-size:20px; font-family:var(--sans); margin-bottom:10px}
html body section.container:has(> .reviews-widget):not(.reviews-row){max-width:none; padding:150px 0 64px; position:relative;
  background:url("assets/omdomen-bakgrund.jpg") 50% 30%/100% 240px no-repeat}
html body section.container:has(> .reviews-widget):not(.reviews-row) > .reviews-widget{margin:0 auto; width:min(calc(100% - 2 * var(--gutter)), var(--wrap)); box-shadow:var(--lift)}
html body .reviews-row{padding-block:28px 0}
html body .reviews-row .reviews-widget{background:var(--accent-100); border-radius:var(--r-md); padding:16px 20px; font-family:var(--sans); font-size:15.5px; font-weight:500; line-height:1.4; color:var(--brand-700); display:flex; flex-wrap:wrap; align-items:center; gap:2px 12px}
html body .reviews-row .reviews-widget::before{display:inline; margin:0; font-size:16px}
@media (min-width:900px){
  html body section.container:has(> .reviews-widget):not(.reviews-row){padding:260px 0 104px; background-size:100% 460px}
  html body section.container:has(> .reviews-widget):not(.reviews-row) > .reviews-widget{margin-top:0; margin-left:auto; margin-right:max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); width:min(560px, calc(100% - 2 * var(--gutter))); padding:36px 40px; font-size:28px}
}

/* ---------- Priser och fakta ---------- */
html body .price-card{background:var(--paper); border:0; border-radius:var(--r-xl); padding:8px 24px}
html body .price-row{border-bottom:1px solid var(--ink-100)}
html body .price-row span{color:var(--ink-900)}
html body .price-row strong{font-family:var(--sans); font-weight:700; color:var(--brand-500)}
html body .price-tags{gap:12px}
html body .tag{background:var(--accent-100); border:0; border-radius:var(--r-pill); color:var(--brand-700); padding:12px 22px; min-width:0}
html body .tag b{font-family:var(--sans); font-weight:700; color:var(--brand-700); font-size:20px}
html body .tag span{color:var(--brand-700); font-weight:500; font-size:14px; display:block}
html body .sunken .tag{background:var(--paper)}
html body .sunken.wash-shell .tag{background:var(--accent-100)}

/* ---------- FAQ: plus i himmelsblå cirkel ---------- */
html body .faq{border-top:1px solid var(--ink-100)}
html body .faq-item{border-bottom:1px solid var(--ink-100)}
html body .faq-item summary{font-family:var(--display); font-weight:400; font-size:20px; line-height:1.25; color:var(--brand-700); padding:22px 0}
html body .faq-item summary:hover{text-decoration:none; color:var(--brand-500)}
html body .faq-item summary::after{content:"+"; width:28px; height:28px; border:0; border-radius:50%; background:var(--accent-300); color:var(--brand-700);
  display:inline-flex; align-items:center; justify-content:center; font-family:var(--sans); font-weight:500; font-size:22px; line-height:1; transform:none}
html body .faq-item[open] summary::after{content:"\2212"; transform:none}
html body .faq-item p{color:var(--ink-900); font-size:17px}
html body .sunken .faq{border-top-color:rgba(var(--brand-dark-rgb),.15)}
html body .sunken .faq-item{border-bottom-color:rgba(var(--brand-dark-rgb),.15)}

/* ---------- Kontakt och karta ---------- */
html body .contact-info .row{border-color:var(--ink-100)}
html body .contact-info .ico{border-radius:50%; background:var(--accent-300); color:var(--brand-700); width:38px; height:38px}
html body .contact-info a{font-size:17px; text-decoration-thickness:1px}
html body .map-box{border:0; border-radius:var(--arc); background:var(--ink-100); overflow:hidden}
html body .map-box iframe{filter:grayscale(1)}

/* ---------- CTA: marinfält ---------- */
html body .inverse{background:var(--brand-700); color:var(--paper)}
html body .inverse h2{color:var(--paper); font-size:clamp(34px,5vw,56px)}
html body .inverse p{color:rgba(255,255,255,.88); font-size:19px}
html body .inverse .btn-light{background:var(--accent-300); border-color:var(--accent-300); color:var(--brand-700)}
html body .inverse .btn-light:hover{background:var(--paper); border-color:var(--paper)}
html body .inverse .btn-secondary{background:transparent; color:var(--paper); border-color:var(--paper)}
html body .inverse .btn-secondary:hover{background:var(--paper); color:var(--brand-700)}

/* ---------- Bokning: vit ruta, himmelsblå ram ---------- */
html body .booking-slot{background:var(--paper); border:2px solid var(--accent-300); border-radius:20px; color:var(--ink-900); padding:44px 28px; font-size:17px}

/* ---------- Sidfot (form 3): marinfält, numret i himmelsblått ---------- */
html body footer{background:var(--brand-700); color:rgba(255,255,255,.84); padding:56px 0 24px}
html body .footer-split{display:grid; gap:40px; grid-template-columns:minmax(0,1fr)}
html body .footer-brand img{height:44px; width:auto; filter:brightness(0) invert(1)}
html body .footer-brand > p{font-family:var(--display); font-size:22px; line-height:1.25; color:var(--paper); margin:18px 0; max-width:18ch}
html body .footer-call{font-family:var(--display); font-weight:400; font-size:38px; line-height:1; color:var(--accent-300); text-decoration:none; margin-bottom:14px}
html body .footer-call:hover{color:var(--paper)}
html body footer a{color:rgba(255,255,255,.84); text-decoration:none}
html body footer a:hover{color:var(--paper); text-decoration:underline}
html body footer .footer-call{color:var(--accent-300)}
html body .hours{display:block; margin-top:14px; font-size:15px; line-height:1.55}
html body .footer-cols{display:grid; grid-template-columns:1fr 1fr; gap:20px}
html body .col-title{font-weight:700; color:var(--paper); margin-bottom:8px}
html body .footer-cols nav{gap:6px; font-size:15px}
html body .footer-bottom a{font-size:13px}
html body .footer-bottom{margin-top:44px; padding-top:18px; border-top:1px solid rgba(255,255,255,.18); color:rgba(255,255,255,.7); font-size:13px}
html body footer :focus-visible{outline-color:var(--accent-300)}
@media (min-width:900px){
  html body footer{padding:72px 0 28px}
  html body .footer-split{grid-template-columns:1.2fr 1fr}
  html body .footer-call{font-size:64px}
}

/* ---------- Cookie och fokus ---------- */
html body .cookie{border-top:2px solid var(--accent-300); color:var(--ink-900)}
html body .cookie button{background:var(--accent-300); border-color:var(--accent-300); color:var(--brand-700); border-radius:var(--r-pill)}
html body :focus-visible{outline-color:var(--brand-500)}
html body .hero :focus-visible, html body .inverse :focus-visible, html body .band :focus-visible{outline-color:var(--accent-300)}
html body ::selection{background:var(--accent-300); color:var(--brand-700)}
