/* ═══════════════════════════════════════════════════════════
   Rehabkliniken — Naprapater i Stockholm
   Designed with UI/UX Pro Max: Accessible & Ethical
   ═══════════════════════════════════════════════════════════ */

:root {
  --primary: #0E7490;        /* deep cyan */
  --primary-dark: #155E75;
  --primary-light: #06B6D4;
  --accent: #059669;         /* health green CTA */
  --accent-dark: #047857;
  --bg: #FFFFFF;
  --bg-soft: #F0F9FF;        /* very light cyan */
  --bg-tint: #ECFEFF;
  --text: #0F172A;           /* high contrast */
  --text-muted: #475569;
  --border: #E2E8F0;
  --gold: #D4AF37;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.06);
  --shadow: 0 4px 16px rgba(15,23,42,0.08);
  --shadow-lg: 0 24px 60px rgba(15,23,42,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 200ms cubic-bezier(0.25, 0.1, 0.25, 1);
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background: var(--primary-light); color: #fff; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Figtree', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: 'Figtree', sans-serif; font-weight: 700; line-height: 1.2; color: var(--text); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
p { color: var(--text-muted); }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--primary-light); outline-offset: 3px; border-radius: 4px;
}

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: 12px 20px; z-index: 1000; }
.skip-link:focus { left: 16px; top: 16px; }

/* ─── Top contact strip ─── */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  padding: 10px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.topbar-info { display: flex; gap: 24px; align-items: center; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--bg-tint); }
.topbar svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }

/* ─── Header ─── */
.header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: var(--shadow-sm);
}
.brand-text strong { display: block; font-size: 19px; color: var(--text); font-weight: 800; line-height: 1.1; }
.brand-text span { font-size: 12px; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }

.nav { display: flex; gap: 8px; align-items: center; }
.nav a { padding: 10px 16px; font-size: 15px; font-weight: 600; color: var(--text); border-radius: 8px; }
.nav a:hover { background: var(--bg-soft); color: var(--primary-dark); }
.nav a.active { color: var(--primary-dark); }
.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 12px 22px !important; border-radius: 10px !important;
  font-weight: 700; box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; min-width: 44px; min-height: 44px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: all 0.3s; border-radius: 2px; }

/* ─── Hero ─── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--bg-tint) 0%, var(--bg-soft) 50%, #fff 100%);
  padding: clamp(60px, 8vw, 110px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 70%; height: 200%;
  background: radial-gradient(closest-side, rgba(6,182,212,0.18), transparent);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(5,150,105,0.1); color: var(--accent-dark);
  padding: 8px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(5,150,105,0.2); }
.hero h1 { margin-bottom: 20px; }
.hero h1 span { color: var(--primary); }
.hero-sub { font-size: 19px; color: var(--text-muted); margin-bottom: 32px; max-width: 540px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 32px; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); }
.hero-trust-item strong { display: block; font-size: 22px; color: var(--text); font-weight: 800; line-height: 1; }
.hero-trust-item span { font-size: 13px; }
.hero-trust-divider { width: 1px; height: 36px; background: var(--border); }

.hero-visual { position: relative; }
.hero-img-main {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute; bottom: 24px; left: -24px;
  background: #fff; padding: 18px 22px;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
  max-width: 280px;
}
.hero-badge-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(5,150,105,0.15); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.hero-badge strong { display: block; font-size: 14px; color: var(--text); font-weight: 700; }
.hero-badge span { font-size: 12px; color: var(--text-muted); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  font-size: 15px; font-weight: 700;
  border-radius: 10px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: all var(--transition);
  font-family: inherit; min-height: 48px;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-secondary { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ─── Sections ─── */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-soft { background: var(--bg-soft); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--primary); margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 18px; }

/* ─── Treatment cards ─── */
.treatments-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.treatment {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.treatment:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.treatment-img { aspect-ratio: 4/3; overflow: hidden; }
.treatment-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.treatment:hover .treatment-img img { transform: scale(1.05); }
.treatment-body { padding: 24px 22px; flex: 1; display: flex; flex-direction: column; }
.treatment-icon { width: 40px; height: 40px; color: var(--primary); margin-bottom: 14px; }
.treatment h3 { margin-bottom: 10px; }
.treatment p { font-size: 15px; flex: 1; }
.treatment-link { margin-top: 18px; font-weight: 700; font-size: 14px; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.treatment-link::after { content: '→'; transition: transform var(--transition); }
.treatment:hover .treatment-link::after { transform: translateX(4px); }

/* ─── Symptoms list (SEO content) ─── */
.symptoms {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.symptoms h3 { font-size: 1.4rem; margin-bottom: 20px; }
.symptoms-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 24px; list-style: none; margin-top: 16px; }
.symptoms-list li {
  padding: 10px 0 10px 28px; position: relative;
  font-size: 15px; color: var(--text);
  border-bottom: 1px solid rgba(15,23,42,0.06);
}
.symptoms-list li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); opacity: 0.15;
}
.symptoms-list li::after {
  content: ''; position: absolute; left: 5px; top: 19px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* ─── Process / How it works ─── */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.process-step { text-align: left; padding: 32px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: all var(--transition); }
.process-step:hover { box-shadow: var(--shadow); }
.process-step-icon {
  width: 56px; height: 56px;
  background: var(--bg-tint); color: var(--primary);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.process-step h3 { margin-bottom: 10px; }
.process-step p { font-size: 15px; }

/* ─── Therapists ─── */
.therapists { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.therapist {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden; text-align: center;
  transition: all var(--transition);
}
.therapist:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.therapist-photo {
  aspect-ratio: 1; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-tint), var(--bg-soft));
}
.therapist-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.therapist:hover .therapist-photo img { transform: scale(1.04); }
.therapist-body { padding: 22px 18px; }
.therapist-body h3 { font-size: 1.1rem; margin-bottom: 4px; }
.therapist-body p { font-size: 13px; color: var(--text-muted); }

/* ─── Testimonials ─── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: #fff; padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-stars { color: var(--gold); font-size: 14px; letter-spacing: 3px; margin-bottom: 14px; }
.testimonial blockquote { font-size: 16px; color: var(--text); line-height: 1.7; margin-bottom: 18px; }
.testimonial figcaption strong { display: block; font-size: 14px; color: var(--text); font-weight: 700; }
.testimonial figcaption span { font-size: 13px; color: var(--text-muted); }

/* ─── CTA band ─── */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: clamp(48px, 7vw, 84px) 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: -50%; right: -10%; width: 60%; height: 200%;
  background: radial-gradient(closest-side, rgba(255,255,255,0.08), transparent);
}
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  position: relative; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 17px; }
.cta-band .btn-primary { background: #fff; color: var(--primary-dark); border-color: #fff; }
.cta-band .btn-primary:hover { background: var(--bg-tint); color: var(--primary-dark); }

/* ─── Blog grid ─── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-light); }
.blog-card-img {
  aspect-ratio: 16/10; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-tint), var(--bg-soft));
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--primary); margin-bottom: 10px;
}
.blog-card h3 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.35; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { font-size: 14px; flex: 1; margin-bottom: 18px; }
.blog-card-meta { font-size: 13px; color: var(--text-muted); display: flex; gap: 12px; align-items: center; }

/* ─── Article (blog post) ─── */
.article { padding: clamp(40px, 6vw, 80px) 0; }
.article-header { max-width: 760px; margin: 0 auto 40px; text-align: left; }
.article-header .blog-tag { margin-bottom: 16px; }
.article-header h1 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 2.8rem); }
.article-meta { font-size: 14px; color: var(--text-muted); display: flex; gap: 16px; align-items: center; }
.article-hero { max-width: 980px; margin: 0 auto 40px; }
.article-hero img { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: var(--radius-lg); }
.article-body { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.8; }
.article-body p { color: var(--text); margin-bottom: 24px; }
.article-body h2 { font-size: 1.7rem; margin: 48px 0 16px; }
.article-body h3 { font-size: 1.3rem; margin: 32px 0 12px; }
.article-body ul, .article-body ol { margin: 0 0 24px 24px; color: var(--text); }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--text); }
.article-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px; margin: 32px 0;
  background: var(--bg-soft); border-radius: 0 8px 8px 0;
  font-style: italic; color: var(--text);
}
.article-cta {
  background: linear-gradient(135deg, var(--bg-tint), var(--bg-soft));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; margin: 48px 0; text-align: center;
}
.article-cta h3 { margin-bottom: 8px; }
.article-cta p { margin-bottom: 20px; }
.article-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-top: 32px; }

/* ─── Contact ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-tint); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 14px; color: var(--text-muted); font-weight: 600; margin-bottom: 2px; }
.contact-item a, .contact-item span { color: var(--text); font-size: 16px; font-weight: 600; }

.contact-form { background: #fff; padding: 36px; border-radius: var(--radius-lg); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.contact-form label { font-size: 13px; font-weight: 600; color: var(--text); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 14px 16px;
  background: var(--bg); border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 16px; font-family: inherit; color: var(--text);
  transition: border-color var(--transition);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--primary); outline: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-status { font-size: 14px; padding: 12px; border-radius: 8px; display: none; }
.form-status.success { display: block; background: rgba(5,150,105,0.1); color: var(--accent-dark); }
.form-status.error { display: block; background: #FEF2F2; color: #991B1B; }
.form-note { font-size: 13px; color: var(--text-muted); }

/* ─── Footer ─── */
.footer { background: #0B1F2A; color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { font-size: 14px; margin-top: 16px; max-width: 320px; }
.footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; font-weight: 700; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-links span { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; font-size: 13px; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: var(--primary-light); }

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .treatments-grid, .therapists { grid-template-columns: repeat(2, 1fr); }
  .symptoms-list { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .topbar-info { gap: 14px; font-size: 13px; }
  .topbar-info > span:first-child { display: none; }
  .nav { display: none; position: fixed; inset: 64px 0 0; background: #fff; flex-direction: column; padding: 32px 24px; gap: 4px; z-index: 90; border-top: 1px solid var(--border); align-items: stretch; }
  .nav.open { display: flex; }
  .nav a { padding: 16px; font-size: 17px; border-radius: 12px; }
  .nav-cta { margin-top: 12px; text-align: center; }
  .menu-toggle { display: block; }
  .menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .header-inner { height: 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .hero-img-main { aspect-ratio: 4/3; }
  .hero-badge { left: 12px; right: 12px; max-width: none; }
  .hero-trust { gap: 20px; }
  .hero-trust-divider { display: none; }
  .treatments-grid, .therapists, .testimonials-grid, .blog-grid { grid-template-columns: 1fr; }
  .symptoms { padding: 28px; }
  .symptoms-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; align-items: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ═══════════════════════════════════════════════════════════
   v2: Pricing, FAQ, Map, CTA band fixes
   ═══════════════════════════════════════════════════════════ */

/* ─── Pricing ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price-card {
  position: relative;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}
.price-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text);
}
.price-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.55;
}
.price-amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-amount span {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 4px;
}
.price-amount-text {
  font-size: 24px;
  color: var(--accent);
}
.price-card-featured {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%);
}
.price-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.pricing-note {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { padding: 28px 24px; }
}

/* ─── FAQ ─── */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item[open] {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: background var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg-tint); }
.faq-plus {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.faq-plus::before,
.faq-plus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--primary);
  transition: transform var(--transition);
}
.faq-plus::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-plus::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-body {
  padding: 0 24px 22px;
  animation: faq-slide 0.25s ease-out;
}
.faq-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}
@keyframes faq-slide {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Contact map ─── */
.contact-map iframe {
  display: block;
  filter: grayscale(0.1) contrast(1.05);
}

/* ─── CTA band — two buttons ─── */
.cta-band-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

@media (max-width: 640px) {
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ───────── Therapist subpages, Om oss, breadcrumb ───────── */

.breadcrumb { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-muted); }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 6px; color: var(--text-muted); }
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 500; }

.therapist-hero { padding: 56px 0 24px; background: var(--bg-soft); }
.therapist-hero-grid { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: center; }
.therapist-hero-photo img { width: 100%; height: auto; border-radius: var(--radius-lg); object-fit: cover; box-shadow: var(--shadow); }
.therapist-hero-text h1 { margin: 12px 0 16px; }
.therapist-hero-text .lead { font-size: 19px; color: var(--text-muted); margin-bottom: 24px; max-width: 540px; }

.therapist-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 28px; max-width: 520px; }
.therapist-facts .fact { background: #fff; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--border); }
.therapist-facts .fact strong { display: block; font-size: 18px; color: var(--primary); margin-bottom: 2px; }
.therapist-facts .fact span { font-size: 12px; color: var(--text-muted); }

.therapist-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.therapist-content { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.therapist-bio h2 { margin-top: 32px; margin-bottom: 12px; }
.therapist-bio h2:first-child { margin-top: 0; }
.therapist-bio p { margin-bottom: 14px; line-height: 1.8; }
.therapist-bio .lead { font-size: 18px; color: var(--text); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 8px 0 8px 28px; position: relative; color: var(--text); border-bottom: 1px solid var(--border); }
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 16px;
  background: var(--accent); mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
}

.side-card { position: sticky; top: 100px; padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.side-card h3 { margin-bottom: 16px; font-size: 1.15rem; }
.side-dl { display: grid; grid-template-columns: 1fr; gap: 0; }
.side-dl dt { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 12px; }
.side-dl dt:first-child { margin-top: 0; }
.side-dl dd { color: var(--text); font-weight: 500; margin-bottom: 4px; }

.therapist-link { display: block; text-decoration: none; color: inherit; }
.therapist-link:hover .therapist { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-light); }
.therapist-link-arrow { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--primary); font-weight: 500; }

/* FAQ accordion */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--border); border-radius: 10px; padding: 18px 22px;
  margin-bottom: 12px; background: #fff; transition: border-color var(--transition);
}
.faq details[open] { border-color: var(--primary-light); }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 16px; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 22px; color: var(--primary); margin-left: 12px;
  transition: transform var(--transition);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; color: var(--text-muted); line-height: 1.7; }

@media (max-width: 980px) {
  .therapist-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .therapist-hero-photo { max-width: 320px; }
  .therapist-content { grid-template-columns: 1fr; gap: 32px; }
  .side-card { position: static; }
  .therapist-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .therapist-facts { grid-template-columns: 1fr; }
}

/* ───────── Reviews + Rating Summary ───────── */

.rating-summary {
  display: inline-flex; gap: 12px; align-items: center;
  margin-top: 14px; padding: 8px 16px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  font-size: 14px;
}
.rating-stars { color: #FFC107; font-size: 18px; letter-spacing: 1px; }
.rating-text strong { color: var(--text); margin-right: 4px; }
.rating-text a { font-weight: 500; }

.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px; margin-top: 28px;
}
.review {
  background: #fff; padding: 26px;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.review:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.review-stars { color: #FFC107; font-size: 16px; letter-spacing: 1px; margin-bottom: 12px; }
.review-text {
  font-size: 15px; line-height: 1.7; color: var(--text); margin: 0 0 18px;
  font-style: italic;
}
.review-text::before { content: """; font-size: 32px; line-height: 0; vertical-align: -10px; color: var(--primary); margin-right: 4px; }
.review-meta { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.review-meta strong { color: var(--text); }
.review-meta span { color: var(--text-muted); font-size: 12px; }



/* Article body styling for legal pages */
.legal-page { padding: 40px 0 80px; }
.legal-page h1 { margin-bottom: 8px; }
.legal-page .legal-meta { color: var(--text-muted); margin-bottom: 32px; font-size: 14px; }
.legal-page h2 { margin-top: 36px; margin-bottom: 12px; }
.legal-page p, .legal-page li { line-height: 1.7; }
.legal-page ul { margin-bottom: 16px; padding-left: 24px; }
.legal-page li { margin-bottom: 6px; }


/* ===========================================================
   Cookie consent — popup + settings modal (clean rewrite)
   =========================================================== */

/* Overlay = backdrop + popup container, full-screen flex center */
#cookie-overlay,
#cookie-settings-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.55);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

/* Banner popup card */
#cookie-banner {
  background: #fff;
  width: 100%;
  max-width: 520px;
  padding: 36px 32px 28px;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
  text-align: center;
  font-family: 'Figtree', system-ui, sans-serif;
}

.cb-popup-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: #ECFEFF;
  color: #0E7490;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cb-popup-icon svg { width: 32px; height: 32px; }

.cb-popup-title {
  font-size: 22px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 12px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.cb-popup-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 12px;
}

.cb-popup-link {
  font-size: 12.5px;
  color: #94A3B8;
  margin: 0 0 24px;
}
.cb-popup-link a {
  color: #0E7490;
  text-decoration: none;
}
.cb-popup-link a:hover { text-decoration: underline; }

.cb-popup-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Buttons */
.cb-btn {
  width: 100%;
  padding: 13px 20px;
  border-radius: 10px;
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  border: 1.5px solid;
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: -0.005em;
}
.cb-btn-primary {
  background: #059669;
  color: #fff;
  border-color: #059669;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}
.cb-btn-primary:hover {
  background: #047857;
  border-color: #047857;
}
.cb-btn-outline {
  background: #fff;
  color: #0F172A;
  border-color: #E2E8F0;
}
.cb-btn-outline:hover {
  border-color: #0E7490;
  color: #0E7490;
  background: #F0F9FF;
}
.cb-btn-ghost {
  background: transparent;
  color: #64748B;
  border-color: transparent;
}
.cb-btn-ghost:hover {
  color: #0F172A;
  background: #F8FAFC;
}

/* Settings modal */
#cookie-settings {
  background: #fff;
  width: 100%;
  max-width: 720px;
  max-height: calc(100% - 32px);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Figtree', system-ui, sans-serif;
}

.cb-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid #E2E8F0;
  flex-shrink: 0;
}
.cb-modal-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.015em;
}
.cb-close {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  cursor: pointer;
  color: #64748B;
}
.cb-close svg { width: 18px; height: 18px; }
.cb-close:hover { background: #F8FAFC; color: #0F172A; }

.cb-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
}
.cb-modal-intro {
  font-size: 14px;
  line-height: 1.6;
  color: #64748B;
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E2E8F0;
}

.cb-category {
  padding: 18px 0;
  border-bottom: 1px solid #E2E8F0;
}
.cb-category:last-child { border-bottom: none; }
.cb-category-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.cb-category h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
}
.cb-category-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #64748B;
  margin: 0 0 10px;
}

/* Toggle switch */
.cb-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}
.cb-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cb-switch-track {
  position: absolute;
  inset: 0;
  background: #CBD5E1;
  border-radius: 999px;
  transition: background 0.18s ease;
}
.cb-switch-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(15,23,42,0.2);
  transition: transform 0.18s ease;
}
.cb-switch input:checked + .cb-switch-track { background: #059669; }
.cb-switch input:checked + .cb-switch-track::after { transform: translateX(20px); }

.cb-toggle-locked {
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.cb-cookie-details {
  margin-top: 8px;
  background: #F0F9FF;
  border-radius: 10px;
  padding: 6px 14px;
}
.cb-cookie-details summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #0E7490;
  padding: 6px 0;
  list-style: none;
}
.cb-cookie-details summary::-webkit-details-marker { display: none; }
.cb-cookie-list {
  margin: 6px 0 12px;
  padding-left: 16px;
  font-size: 12.5px;
  color: #475569;
}
.cb-cookie-list li { margin-bottom: 4px; }
.cb-cookie-empty {
  font-size: 13px;
  color: #94A3B8;
  font-style: italic;
  background: #F8FAFC;
  padding: 10px 14px;
  border-radius: 10px;
  margin: 8px 0 0;
}

.cb-modal-foot {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px 28px;
  border-top: 1px solid #E2E8F0;
  background: #F8FAFC;
  flex-shrink: 0;
}
.cb-modal-foot .cb-btn {
  width: auto;
  flex: 0 0 auto;
}

@media (max-width: 600px) {
  .cb-modal-head, .cb-modal-body { padding-left: 20px; padding-right: 20px; }
  .cb-modal-foot { flex-direction: column-reverse; padding: 16px 20px; }
  .cb-modal-foot .cb-btn { width: 100%; }
}

/* ───────── Contact section — flexbox + !important ───────── */
.contact-top {
  display: flex !important;
  flex-direction: row !important;
  gap: 28px !important;
  margin-top: 48px !important;
  margin-bottom: 32px !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
}
.contact-info-card {
  flex: 0 0 360px !important;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.contact-info-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
  margin: 0 0 20px;
}
.contact-info-card .contact-details { margin-top: 0; gap: 20px; }

.contact-map-card {
  flex: 1 1 auto !important;
  min-height: 480px !important;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  box-sizing: border-box;
}
.contact-map-card iframe {
  border: 0 !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.contact-form-wide {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form-wide h3 { font-size: 22px; margin: 0 0 4px; }

@media (max-width: 820px) {
  .contact-top {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .contact-info-card { flex: 1 1 auto !important; padding: 24px 20px; }
  .contact-map-card { min-height: 320px !important; }
  .contact-form-wide { padding: 24px; }
}
