/* ==========================================================================
   Akutrörmokare.se — Shared styles v4
   Fixar: dropdown-menyer fungerar med klick + hover + tangentbord
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #1a3d6e;
  --blue-dark:   #112d52;
  --teal:        #1798ac;
  --teal-light:  #22b4ca;
  --cream:       #f6f4ef;
  --off-white:   #fdfcf9;
  --text-dark:   #141f2d;
  --text-body:   #2e3f52;
  --text-muted:  #3d5168;
  --text-sub:    #556070;
  --border:      #d8d4cc;
  --warn:        #d94535;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--off-white); color: var(--text-dark); font-size: 16px; line-height: 1.7; overflow-x: hidden; }

a { color: inherit; }

/* ── NAVBAR ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 66px;
  background: var(--blue);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: background 0.3s, box-shadow 0.3s;
}
#navbar.scrolled { background: var(--blue-dark); box-shadow: 0 2px 12px rgba(0,0,0,0.25); }
.nav-wrap {
  max-width: 1080px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-mark {
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(255,255,255,0.6);
}
.nav-logo-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}
.nav-logo-name b { color: var(--teal-light); font-weight: 400; }

.nav-menu {
  display: flex; align-items: center; gap: 2rem;
}

/* Vanlig länk i menyn */
.nav-menu > a {
  font-size: 0.875rem; font-weight: 400;
  color: #ffffff; text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
  white-space: nowrap;
  padding: 0.5rem 0;
}
.nav-menu > a:hover { opacity: 1; }

/* Dropdown-trigger – funkar nu med både hover OCH klick */
.nav-drop { position: relative; }
.nav-drop-trigger {
  font-size: 0.875rem; font-weight: 400;
  color: #ffffff;
  opacity: 0.85;
  background: none; border: none;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  padding: 0.5rem 0;
  display: inline-flex; align-items: center; gap: 0.35rem;
  transition: opacity 0.2s;
}
.nav-drop-trigger:hover,
.nav-drop-trigger:focus { opacity: 1; outline: none; }
.nav-drop-trigger::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  opacity: 0.65;
  transition: transform 0.2s;
  margin-left: 2px;
}
.nav-drop.open .nav-drop-trigger::after,
.nav-drop[data-open="true"] .nav-drop-trigger::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.nav-drop-panel {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(17, 45, 82, 0.18);
  padding: 0.5rem;
  min-width: 240px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 50;
}

/* Osynlig "bridge" så hover inte tappas mellan trigger och panel */
.nav-drop-panel::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
}

/* Visa panelen vid hover (desktop med mus) ELLER när data-open="true" (klick) */
@media (hover: hover) {
  .nav-drop:hover .nav-drop-panel {
    opacity: 1; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}
.nav-drop[data-open="true"] .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-panel a {
  display: block; padding: 0.6rem 0.9rem;
  font-size: 0.88rem; color: var(--text-dark);
  text-decoration: none; border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
.nav-drop-panel a:hover,
.nav-drop-panel a:focus { background: var(--cream); color: var(--blue); outline: none; }
.nav-drop-panel-title {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-sub); padding: 0.65rem 0.9rem 0.3rem; font-weight: 500;
}

.nav-btn {
  font-size: 0.85rem; font-weight: 500;
  color: #ffffff; text-decoration: none;
  background: var(--teal);
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-btn:hover { background: var(--teal-light); }

/* Mobile menu toggle */
.nav-mobile-btn {
  display: none;
  background: none; border: none;
  color: #fff; cursor: pointer;
  padding: 0.5rem; opacity: 0.85;
}
.nav-mobile-btn:hover { opacity: 1; }
.nav-mobile-btn svg { display: block; }

@media (max-width: 880px) {
  .nav-menu { display: none; }
  .nav-mobile-btn { display: flex; }
  .nav-wrap { padding: 0 1.25rem; }

  /* Mobil meny som dropdown från navbar */
  #navbar.menu-open .nav-menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: 66px; left: 0; right: 0;
    background: var(--blue-dark);
    padding: 0.5rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  }
  #navbar.menu-open .nav-menu > a,
  #navbar.menu-open .nav-menu .nav-drop-trigger {
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    justify-content: space-between;
    font-size: 1rem;
  }
  #navbar.menu-open .nav-drop-panel {
    position: static; transform: none; opacity: 1; pointer-events: auto;
    background: transparent; box-shadow: none; border: none;
    padding: 0.25rem 0 0.5rem 1rem; min-width: 0;
    display: none;
  }
  #navbar.menu-open .nav-drop[data-open="true"] .nav-drop-panel { display: block; }
  #navbar.menu-open .nav-drop-panel a { color: rgba(255,255,255,0.78); padding: 0.55rem 0; }
  #navbar.menu-open .nav-drop-panel a:hover { background: transparent; color: #fff; }
  #navbar.menu-open .nav-drop-panel-title { color: rgba(255,255,255,0.4); padding-left: 0; font-size: 0.65rem; }
}

/* ── HERO ── */
.hero {
  min-height: 88vh;
  background: var(--blue);
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem 2rem 4rem;
  position: relative; overflow: hidden;
}
.hero-sub {
  min-height: auto;
  padding: 7rem 2rem 3.5rem;
}
.ripples { position: absolute; inset: 0; pointer-events: none; }
.ripple {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.07);
  animation: rexp 7s ease-out infinite;
}
.ripple:nth-child(1) { width: 600px; height: 600px; top:   5%; left:  -8%; animation-delay: 0s; }
.ripple:nth-child(2) { width: 900px; height: 900px; top: -25%; right:-18%; animation-delay: 2s; }
.ripple:nth-child(3) { width: 450px; height: 450px; bottom: 5%; right:  8%; animation-delay: 4s; }
.ripple:nth-child(4) { width: 300px; height: 300px; bottom:22%; left:  22%; animation-delay: 6s; }
@keyframes rexp {
  0%   { transform: scale(0.7); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.hero-vline {
  position: absolute; top: 0; bottom: 0; right: 13%; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.12) 30%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.12) 70%, transparent);
  animation: vpulse 5s ease-in-out infinite alternate;
}
@keyframes vpulse { from { opacity: 0.4; } to { opacity: 1; } }

.hero-inner { max-width: 860px; margin: 0 auto; position: relative; z-index: 1; }

.badge-row { display: flex; gap: 0.6rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.79rem; font-weight: 500; letter-spacing: 0.03em;
  padding: 0.38rem 0.9rem; border-radius: 2rem;
}
.badge-red  { background: rgba(210,55,35,0.2); color: #ff8878; border: 1px solid rgba(210,55,35,0.3); }
.badge-calm { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.18); }
.badge-dot  { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: bdot 1.5s ease-in-out infinite; }
.badge-calm .badge-dot { animation: none; }
@keyframes bdot { 0%,100%{opacity:1} 50%{opacity:0.25} }

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  color: #ffffff; line-height: 1.07; letter-spacing: -0.025em;
  margin-bottom: 1.25rem; font-weight: 400;
}
.hero-sub h1 {
  font-size: clamp(2.1rem, 5.3vw, 3.6rem);
}
.hero h1 em { font-style: italic; color: rgba(255,255,255,0.45); }

.hero-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 580px; line-height: 1.75; margin-bottom: 1.75rem; font-weight: 300;
}

/* Telefon-callout i hero (Göteborg) */
.hero-phone {
  display: inline-flex; align-items: center; gap: 0.85rem;
  background: var(--teal);
  border: 1px solid var(--teal-light);
  border-radius: 10px;
  padding: 0.85rem 1.25rem 0.85rem 1.1rem;
  color: #fff; text-decoration: none;
  font-size: 1.15rem; font-weight: 600;
  letter-spacing: -0.005em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 20px rgba(23, 152, 172, 0.25);
}
.hero-phone:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(23, 152, 172, 0.35);
}
.hero-phone-icon {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-phone-text {
  display: flex; flex-direction: column;
  line-height: 1.1;
}
.hero-phone-label {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn-teal {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--teal); color: #fff;
  text-decoration: none; font-weight: 500; font-size: 0.95rem;
  padding: 0.9rem 1.9rem; border-radius: 6px;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer;
}
.btn-teal:hover { background: var(--teal-light); transform: translateY(-1px); }
.btn-white-ghost {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: #ffffff; text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  padding: 0.85rem 1.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}
.btn-white-ghost:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 0.9rem; font-weight: 400;
  transition: color 0.2s; background: none; border: none; cursor: pointer;
}
.btn-ghost:hover { color: #fff; }

.trust-row { display: flex; align-items: center; gap: 0.75rem; margin-top: 2rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.81rem; color: rgba(255,255,255,0.75); }
.trust-sep  { color: rgba(255,255,255,0.3); }

/* ── SECTIONS ── */
section { padding: 5rem 2rem; }
section.tight { padding: 4rem 2rem; }
.wrap { max-width: 960px; margin: 0 auto; }
.wrap-narrow { max-width: 760px; margin: 0 auto; }

.s-tag   { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); font-weight: 500; margin-bottom: 0.85rem; }
.s-title { font-family: var(--serif); font-size: clamp(1.9rem,4.5vw,3rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--text-dark); margin-bottom: 1.1rem; font-weight: 400; }
.s-title em { font-style: italic; color: var(--text-sub); }
.s-lead  { font-size: 1.02rem; color: var(--text-body); max-width: 620px; line-height: 1.8; font-weight: 300; }

/* Reveal-animationer */
.rv { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.rv.on { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ── KORT (cards) ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.card {
  display: block;
  text-decoration: none;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.875rem 1.625rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(26,61,110,0.1);
}
.card-ico {
  width: 42px; height: 42px;
  border-radius: 9px;
  background: rgba(26,61,110,0.07);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--blue);
}
.card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.75;
}
.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.1rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--teal);
  transition: gap 0.2s;
}
.card:hover .card-arrow { gap: 0.6rem; }

/* ── ARTIKEL-INNEHÅLL ── */
.article {
  max-width: 760px; margin: 0 auto;
}
.article h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 2.75rem 0 1rem;
}
.article h2:first-child { margin-top: 0; }
.article h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  margin: 1.75rem 0 0.6rem;
  letter-spacing: -0.005em;
}
.article p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}
.article p strong { color: var(--text-dark); font-weight: 500; }
.article ul, .article ol {
  margin: 0.5rem 0 1.4rem 1.5rem;
  color: var(--text-body);
}
.article li { margin-bottom: 0.55rem; line-height: 1.75; }

/* Stegblock i artiklar */
.steps-block {
  background: var(--cream);
  border-radius: 14px;
  padding: 2rem 2.25rem;
  margin: 2rem 0 2.5rem;
  border: 1px solid var(--border);
}
.steps-block h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
}
.steps-block ol { list-style: none; margin: 0; counter-reset: step; }
.steps-block li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
  counter-increment: step;
  font-size: 0.95rem;
}
.steps-block li::before {
  content: counter(step);
  position: absolute; left: 0; top: -0.1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--teal);
  line-height: 1;
}

/* Callout */
.callout {
  background: rgba(23,152,172,0.07);
  border-left: 3px solid var(--teal);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
  border-radius: 0 8px 8px 0;
}
.callout p { font-size: 0.92rem; margin: 0; color: var(--text-body); }
.callout strong { color: var(--blue); }

.callout-warn {
  background: rgba(217,69,53,0.06);
  border-left-color: var(--warn);
}
.callout-warn strong { color: var(--warn); }

/* Quick-answer-panel */
.quick-answer {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
}
.quick-answer-label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-sub); font-weight: 500; margin-bottom: 0.6rem;
}
.quick-answer p {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.45;
  color: var(--text-dark);
  letter-spacing: -0.005em;
  margin: 0;
}

/* FAQ */
.faq-list { margin-top: 1.5rem; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--teal);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item-body {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.75;
  padding-top: 0.85rem;
}

/* Relaterade sidor */
.related {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem;
}
.related-grid {
  max-width: 960px; margin: 2rem auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.875rem;
}
.related-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
  text-decoration: none;
  color: var(--text-dark);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.related-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(26,61,110,0.08);
}
.related-card-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}
.related-card-desc {
  font-size: 0.83rem;
  color: var(--text-sub);
  line-height: 1.55;
}

/* ── FORMULÄR ── */
.form-sec {
  background: var(--off-white);
  padding: 5rem 2rem;
}
.form-sec-cream {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.form-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
  margin-top: 2.75rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.form-side-lbl {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-sub); font-weight: 500; margin-bottom: 1.5rem;
}
.promise-list { display: flex; flex-direction: column; gap: 1.375rem; }
.promise { display: flex; gap: 0.875rem; align-items: flex-start; }
.promise-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); margin-top: 0.65rem; flex-shrink: 0;
}
.promise p { font-size: 0.9rem; color: var(--text-body); line-height: 1.65; }
.promise p strong { color: var(--text-dark); font-weight: 500; }

form { display: flex; flex-direction: column; gap: 1rem; }
.fg { display: flex; flex-direction: column; gap: 0.375rem; }
.fg label { font-size: 0.82rem; font-weight: 500; color: var(--text-muted); }
.fg input:not([type="checkbox"]), .fg select, .fg textarea {
  font-family: var(--sans); font-size: 0.95rem; color: var(--text-dark);
  background: #fff; border: 1px solid var(--border);
  border-radius: 6px; padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none; width: 100%;
  -webkit-appearance: none;
}
.fg input:not([type="checkbox"]):focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,152,172,0.12);
}
.fg textarea { resize: vertical; min-height: 108px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.email-err { display: none; font-size: 0.82rem; color: var(--warn); margin-top: -0.5rem; }

.fg-consent {
  flex-direction: row; align-items: flex-start; gap: 0.65rem; margin-top: 0.25rem;
}
.fg-consent input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 0.2rem; cursor: pointer;
  flex-shrink: 0; accent-color: var(--teal);
  -webkit-appearance: checkbox; appearance: checkbox;
  padding: 0;
}
.fg-consent label {
  font-size: 0.85rem; color: var(--text-body); line-height: 1.55;
  cursor: pointer; font-weight: 400;
}
.fg-consent label a { color: var(--teal); text-decoration: underline; }

.form-sub {
  background: var(--blue); color: #fff; font-family: var(--sans);
  font-size: 0.95rem; font-weight: 500; padding: 0.9rem 2rem;
  border-radius: 6px; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 0.5rem;
}
.form-sub:hover { background: var(--teal); transform: translateY(-1px); }
.form-response {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.84rem; color: var(--teal); font-weight: 400; margin-top: 0.25rem;
}
.form-note { font-size: 0.77rem; color: var(--text-sub); line-height: 1.6; }
#form-ok {
  display: none; background: rgba(23,152,172,0.08); border: 1px solid rgba(23,152,172,0.25);
  border-radius: 6px; padding: 1rem 1.125rem; font-size: 0.9rem; color: var(--teal);
  margin-top: 0.5rem; line-height: 1.6;
}

/* ── STEPS-SEKTION (mörk bakgrund) ── */
.steps-sec { background: var(--blue); padding: 6rem 2rem; }
.steps-sec .s-title { color: #fff; }
.steps-sec .s-lead { color: rgba(255,255,255,0.75); }
.steps-sec .s-tag { color: var(--teal-light); }
.step-list { margin-top: 3rem; max-width: 760px; margin-left: auto; margin-right: auto; }
.step {
  display: grid; grid-template-columns: 52px 1fr; gap: 1.5rem;
  padding: 1.875rem 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step-n {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-style: italic;
  color: rgba(255,255,255,0.22);
  line-height: 1;
  transition: color 0.3s;
}
.step:hover .step-n { color: rgba(255,255,255,0.45); }
.step h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.72;
}

/* ── ABOUT BAND ── */
.about-band {
  background: var(--cream); padding: 4rem 2rem;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.about-inner {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: center;
}
.about-h {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 400;
  color: var(--text-dark); letter-spacing: -0.02em; line-height: 1.2;
}
.about-h em { font-style: italic; color: var(--text-sub); }
.about-p { font-size: 0.9rem; color: var(--text-body); line-height: 1.8; }
.about-disc {
  display: inline-flex; align-items: flex-start; gap: 0.5rem;
  background: rgba(23,152,172,0.07); border: 1px solid rgba(23,152,172,0.18);
  border-radius: 6px; padding: 0.75rem 1rem; font-size: 0.82rem;
  color: var(--teal); margin-top: 1.125rem; line-height: 1.5;
}

/* ── FOOTER ── */
footer { background: var(--blue-dark); padding: 3.5rem 2rem 2.5rem; }
.footer-wrap {
  max-width: 1080px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 2rem;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem;
}
.footer-brand {
  display: flex; flex-direction: column; gap: 0.85rem;
}
.footer-logo { display: flex; align-items: center; gap: 0.6rem; }
.footer-logo-mark {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-name {
  font-family: var(--serif); font-size: 1.1rem; color: rgba(255,255,255,0.92);
}
.footer-logo-name b { color: var(--teal-light); font-weight: 400; }
.footer-brand-text {
  font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.7;
}
.footer-col-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  margin-bottom: 1rem;
}
.footer-col-links {
  display: flex; flex-direction: column; gap: 0.6rem;
}
.footer-col-links a {
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: 0.86rem; transition: color 0.2s;
}
.footer-col-links a:hover { color: rgba(255,255,255,0.95); }
.footer-hr { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 0.5rem; }
.footer-bot {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.75rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
}
.footer-bot a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer-bot a:hover { color: rgba(255,255,255,0.9); }

@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .form-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 640px) {
  .hero { padding: 6rem 1.25rem 3rem; min-height: auto; }
  .hero-sub { padding: 6rem 1.25rem 2.5rem; }
  .hero h1 { font-size: 2.4rem; }
  section { padding: 3.5rem 1.25rem; }
  .form-sec { padding: 3.5rem 1.25rem; }
  .steps-sec { padding: 4rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bot { flex-direction: column; align-items: flex-start; }
  .hero-vline { display: none; }
  .steps-block { padding: 1.5rem 1.5rem; }
  .quick-answer { padding: 1.5rem 1.5rem; }
  .hero-phone { font-size: 1.05rem; padding: 0.75rem 1.1rem; }
}

/* === V8: Sticky mobile CTA — touch-only, ALDRIG på desktop === */
.sticky-cta {
  display: none !important;
}
/* Visa endast när: smal skärm + touch-enhet (ingen hover, grovt pekardon) */
@media (max-width: 720px) and (hover: none) and (pointer: coarse) {
  .sticky-cta {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem 1rem;
    background: linear-gradient(to top, rgba(253,252,249,0.98) 0%, rgba(253,252,249,0.95) 70%, rgba(253,252,249,0) 100%);
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
  }
  .sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .sticky-cta a {
    flex: 1;
    background: var(--teal);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.95rem 1.25rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(23, 152, 172, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s;
  }
  .sticky-cta a:hover, .sticky-cta a:active {
    background: var(--teal-light);
  }
  .sticky-cta a.sticky-cta-phone {
    background: var(--blue);
    box-shadow: 0 4px 16px rgba(26, 61, 110, 0.35);
  }
  .sticky-cta a.sticky-cta-phone:hover, .sticky-cta a.sticky-cta-phone:active {
    background: var(--blue-dark);
  }
}

/* === V9: Prislist i original-stil (horisontell bar) === */
.price-section {
  padding: 4rem 2rem 2rem;
}
.price-section .price-tag {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 0.85rem;
}
.price-section .price-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-weight: 400;
}
.price-section .price-title em {
  font-style: italic;
  color: var(--text-sub);
}
.price-bar {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}
.price-item {
  text-align: center;
}
.price-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-sub);
  font-weight: 500;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}
.price-val {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.4rem;
  font-weight: 400;
}
.price-note {
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.45;
}
.price-div {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 0 auto;
}
.price-rot {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-body);
  margin-top: 1.5rem;
  padding: 0.95rem 1.25rem;
  background: rgba(23, 152, 172, 0.07);
  border-radius: 8px;
  line-height: 1.5;
}
.price-rot strong {
  color: var(--teal);
  font-weight: 500;
}
.price-disclaimer {
  font-size: 0.78rem;
  color: var(--text-sub);
  font-style: italic;
  margin-top: 0.85rem;
  text-align: center;
  line-height: 1.55;
}
@media (max-width: 640px) {
  .price-section { padding: 3rem 1.25rem 1.5rem; }
  .price-bar { padding: 1.75rem 1.25rem; }
  .price-div { display: none; }
}

/* Gamla v7-prisruta-stilar borttagna (.price-info, .price-info-*) — ersatta av .price-bar ovan */

/* === V7: Liten "förmedlingstjänst"-disclaimer vid formuläret === */
.legal-note {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.55;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

/* === V7: Inline CTA på ämnessidor === */
.inline-cta {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.4rem 1.5rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.inline-cta-text {
  flex: 1;
  min-width: 200px;
}
.inline-cta-text strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.2rem;
}
.inline-cta-text p {
  font-size: 0.88rem;
  color: var(--text-body);
  margin: 0;
}
.inline-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  transition: background 0.2s;
  white-space: nowrap;
}
.inline-cta a:hover {
  background: var(--teal-light);
}

