/*
 * Stockholmskliniken – Behandlingssida stylesheet
 * Fil: behandling-style.css
 * Placering: /wp-content/themes/hello-theme-child-master/behandling-style.css
 */

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --brand:      #8B6764;
  --brand-dark: #4c3736;
  --brand-pale: #baa3a1;
  --cream:      #faf8f5;
  --warm-white: #f5f1ed;
  --ink:        #1c1a18;
  --ink-mid:    #4a4540;
  --ink-light:  #8a8480;
  --border:     #e8e0da;
  --serif:      'Josefin Sans', system-ui, sans-serif;
  --sans:       'DM Sans', system-ui, sans-serif;
}

/* ── Reset (scoped to behandling page) ──────────────────────── */
.sk-behandling-page *, .sk-behandling-page *::before, .sk-behandling-page *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}
/* Kill Elementor's #F2295B accent bleed on any button inside our page */
.sk-behandling-page button:hover,
.sk-behandling-page button:focus { background: none; outline: none; }
.sk-behandling-page {
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.sk-behandling-page img { display: block; max-width: 100%; }
.sk-behandling-page a { color: inherit; text-decoration: none; }
.sk-behandling-page button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }


/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  padding: 20px 80px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--ink-light);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: var(--ink-light); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--brand); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 580px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 64px 64px 80px;
}
.hero-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-kicker::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--brand);
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 4.8rem, 5.5rem);
  font-weight: 200;
  line-height: 1.02;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.hero-title em { font-style: normal; color: var(--brand); }
.hero-sub {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--ink-mid);
  margin-top: 20px;
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 420px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #d4bfbb 0%, #b89b97 40%, #926563 100%);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 500px;
  background: linear-gradient(145deg, #d4bfbb 0%, #b89b97 40%, #926563 100%);
}

/* ── Buttons ────────────────────────────────────────────────── */
/* Scoped inside .sk-behandling-page för att slå temat's a { color } */
.sk-behandling-page .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--brand);
  color: #fff;
  font-family: var(--serif);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.sk-behandling-page .btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); }
.sk-behandling-page .btn-ghost {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  font-weight: 400;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.sk-behandling-page .btn-ghost:hover { color: var(--brand); border-color: var(--brand); }
.sk-behandling-page .btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--brand);
  color: #fff;
  font-family: var(--serif);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 1px;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.sk-behandling-page .btn-brand:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); }
.sk-behandling-page .btn-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: #fff;
  color: var(--brand);
  font-family: var(--serif);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 1px;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.sk-behandling-page .btn-light:hover { background: #f5f0ee; color: var(--brand-dark); transform: translateY(-2px); }
.sk-behandling-page .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-family: var(--serif);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 1px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.25s, color 0.25s;
}
.sk-behandling-page .btn-outline:hover { border-color: rgba(255,255,255,0.75); color: #fff; }

/* ── Info-bar ───────────────────────────────────────────────── */
.infobar {
  background: var(--ink);
  display: flex;
  align-items: stretch;
}
.infobar-item {
  flex: 1;
  padding: 28px 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.infobar-item:last-child { border-right: none; }
.infobar-val {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #fff;
}
.infobar-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

/* ── Section helpers ────────────────────────────────────────── */
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--brand);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 28px;
}
.section-title em { font-style: normal; color: var(--brand); }
.section-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-mid);
  font-weight: 300;
}

/* ── Om behandlingen (2-col) ────────────────────────────────── */
.about {
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.about-grid { display: contents; }
.about-left { padding: 100px 64px 100px 80px; }
.about-right {
  background: var(--warm-white);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-item { display: flex; gap: 18px; align-items: flex-start; }
.feature-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 200;
  color: var(--brand);
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
  opacity: 0.5;
}
.feature-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 6px;
}
.feature-desc { font-size: 0.9rem; color: var(--ink-light); line-height: 1.6; }

/* ── Processteg ─────────────────────────────────────────────── */
.how-it-works { padding: 100px 80px; background: var(--cream); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 60px;
}
.step { position: relative; }
.step::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 32px;
}
.step-num {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--brand);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.step-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}
.step-desc { font-size: 0.9rem; color: var(--ink-mid); line-height: 1.7; }

/* ── Indikationer ───────────────────────────────────────────── */
.indications {
  background: var(--brand);
  padding: 80px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: center;
}
.indications-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 200;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  color: #fff;
}
.indications-title em { font-style: normal; opacity: 0.75; }
.indications-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
  font-weight: 300;
  letter-spacing: 0.03em;
  transition: all 0.2s;
}
.tag:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.6); }
.indications-aftercare {
  width: 100%;
  margin-top: 24px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  line-height: 1.6;
}

/* ── Priser ─────────────────────────────────────────────────── */
.pricing { padding: 100px 80px; background: #fff; }
.pricing-inner { max-width: 1000px; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 48px; }
.price-table thead th {
  text-align: left;
  padding: 16px 24px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
  font-weight: 400;
  border-bottom: 2px solid var(--border);
}
.price-table thead th:last-child { text-align: right; }
.price-row { border-bottom: 1px solid var(--border); transition: background 0.15s; }
.price-row:hover { background: var(--cream); }
.price-row td { padding: 22px 24px; vertical-align: middle; }
.price-name { font-family: var(--serif); font-size: 1.05rem; font-weight: 300; color: var(--ink); }
.price-desc { font-size: 0.82rem; color: var(--ink-light); margin-top: 4px; }
.price-area { font-size: 0.85rem; color: var(--ink-mid); }
.price-val {
  text-align: right;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--ink);
  white-space: nowrap;
}
.price-availability { font-size: 0.75rem; color: var(--ink-light); }
.avail-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
}
.avail-dot.both { background: #5c9e5c; }
.avail-dot.sabb { background: var(--brand); }
.avail-dot.varmdo { background: #6b8cae; }
.price-note {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--brand-pale);
  border-left: 3px solid var(--brand);
  font-size: 0.85rem;
  color: var(--ink-mid);
  line-height: 1.6;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-section { padding: 100px 80px; background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.faq-sidebar { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq-sidebar-title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 200;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 24px;
}
.faq-sidebar-desc { font-size: 0.9rem; color: var(--ink-mid); line-height: 1.7; margin-bottom: 32px; }
.faq-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
  border-bottom: 1px solid var(--brand-pale);
  padding-bottom: 4px;
  transition: border-color 0.2s;
}
.faq-contact:hover { border-color: var(--brand); }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
}
.faq-q:hover { color: var(--brand); background: none; }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s;
  font-size: 1.2rem;
  color: var(--ink-mid);
}
.faq-item.open .faq-icon {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: rotate(45deg);
}
.faq-a-wrap { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); }
.faq-item.open .faq-a-wrap { max-height: 500px; }
.faq-a { padding-bottom: 28px; font-size: 0.95rem; line-height: 1.8; color: var(--ink-mid); font-weight: 300; }

/* ── Kliniker ───────────────────────────────────────────────── */
.clinics { display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.clinic-card { padding: 40px; border-right: 1px solid var(--border); }
.clinic-card:last-child { border-right: none; }
.clinic-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid var(--brand-pale);
  border-radius: 100px;
  margin-bottom: 28px;
}
.clinic-name {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 200;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}
.clinic-address { font-size: 0.9rem; color: var(--ink-mid); line-height: 1.7; margin-bottom: 32px; }
.clinic-hours { font-size: 0.82rem; color: var(--ink-light); border-top: 1px solid var(--border); padding-top: 20px; margin-bottom: 32px; }
.clinic-hours strong { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mid); margin-bottom: 6px; }

/* ── Booking CTA ────────────────────────────────────────────── */
.book-cta {
  background: var(--brand);
  padding: 100px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.book-cta-kicker { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.book-cta-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.6rem, 4rem);
  font-weight: 200;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.book-cta-title em { font-style: normal; color: rgba(255,255,255,0.55); }
.book-cta-sub { font-size: 1rem; color: rgba(255,255,255,0.5); margin-bottom: 48px; font-weight: 300; }
.book-cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── Scroll animations ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .breadcrumb { padding: 16px 24px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 60px 24px; }
  .hero-title { font-size: clamp(2rem, 9vw, 3.2rem); }
  .hero-visual { height: 50vw; min-height: 260px; }
  .infobar { flex-direction: column; }
  .infobar-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .about { grid-template-columns: 1fr; }
  .about-left { padding: 60px 24px; }
  .about-right { padding: 48px 24px; border-left: none; border-top: 1px solid var(--border); }
  .steps { grid-template-columns: 1fr; }
  .how-it-works { padding: 60px 24px; }
  .indications { grid-template-columns: 1fr; padding: 60px 24px; gap: 40px; }
  .pricing, .faq-section, .book-cta { padding: 60px 24px; }
  .price-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }
  .price-table { min-width: 540px; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-sidebar { position: static; }
  .clinics { grid-template-columns: 1fr; }
  .clinic-card { padding: 48px 24px; border-right: none; border-bottom: 1px solid var(--border); }
  .footer { padding: 40px 24px; flex-direction: column; align-items: flex-start; }
  .footer-contact { text-align: left; }
}
