/* ==========================================================
   Løvvold Takst og Tilstandsrapport — lovvoldtakst.no
   ========================================================== */

:root {
  --navy: #16324a;
  --navy-dark: #0e2335;
  --navy-soft: #1f4160;
  --taupe: #8f8171;
  --taupe-light: #b3a692;
  --cream: #f7f5f1;
  --white: #ffffff;
  --ink: #24313c;
  --ink-soft: #55636f;
  --line: #e5e0d8;
  --shadow: 0 10px 30px rgba(14, 35, 53, 0.10);
  --shadow-lg: 0 18px 50px rgba(14, 35, 53, 0.16);
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--navy);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; color: var(--ink-soft); }

a { color: var(--navy); text-decoration: none; }

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

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* ---------- Header ---------- */

.topbar {
  background: var(--navy-dark);
  color: #cfd8e0;
  font-size: 0.85rem;
  padding: 0.45rem 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar a { color: var(--white); font-weight: 600; }
.topbar a:hover { color: var(--taupe-light); }
.topbar .area { color: #9fb0bf; }

header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(14, 35, 53, 0.06);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand img { height: 52px; width: auto; }
.brand .brand-text { line-height: 1.15; }
.brand .brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--navy);
  display: block;
}
.brand .brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
  display: block;
}

nav.main { display: flex; align-items: center; gap: 1.6rem; }
nav.main > ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}
nav.main a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.4rem 0;
}
nav.main a:hover, nav.main a.active { color: var(--navy); }
nav.main a.active { border-bottom: 2px solid var(--taupe); }

/* dropdown */
.has-drop { position: relative; }
.has-drop > a::after { content: " ▾"; font-size: 0.7em; color: var(--taupe); }
.drop {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 270px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.18s ease;
}
.has-drop:hover .drop, .has-drop:focus-within .drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
nav.main .drop a {
  display: block;
  padding: 0.6rem 1.4rem;
  font-size: 0.92rem;
}
.drop a:hover { background: var(--cream); }

.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
nav.main a.btn { flex-shrink: 0; padding: 0.65rem 1.3rem; color: var(--white); }
.btn:hover { background: var(--navy-soft); transform: translateY(-1px); }
.btn.ghost {
  background: transparent;
  color: var(--white) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
}
.btn.ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn.light {
  background: var(--white);
  color: var(--navy) !important;
}
.btn.light:hover { background: var(--cream); }

/* mobile nav */
.nav-toggle { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.25s;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: var(--white);
  min-height: 560px;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(14, 35, 53, 0.72), rgba(14, 35, 53, 0.58)), url("../img/hero.jpg") center 65% / cover no-repeat;
}
.hero .container { padding: 5rem 0; }
.hero h1 { color: var(--white); max-width: 720px; }
.hero .kicker {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe-light);
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero p.lead {
  font-size: 1.15rem;
  color: #dbe3ea;
  max-width: 600px;
  margin: 1.2rem 0 2rem;
}
.hero .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-badges {
  display: flex;
  gap: 2rem;
  margin-top: 2.6rem;
  flex-wrap: wrap;
}
.hero-badges .badge { font-size: 0.9rem; color: #cfd8e0; }
.hero-badges .badge strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  color: var(--white);
}

/* page hero (subpages) */
.page-hero {
  background: linear-gradient(rgba(14, 35, 53, 0.78), rgba(14, 35, 53, 0.66)), var(--hero-img, url("../img/hero.jpg")) center / cover no-repeat;
  color: var(--white);
  padding: 4.5rem 0 3.5rem;
}
.page-hero h1 { color: var(--white); }
.page-hero .crumbs {
  font-size: 0.85rem;
  color: #b8c4cf;
  margin-bottom: 0.8rem;
}
.page-hero .crumbs a { color: var(--taupe-light); }
.page-hero p.lead { color: #dbe3ea; max-width: 640px; font-size: 1.1rem; margin-top: 0.8rem; }

/* ---------- Sections ---------- */

section { padding: 4.5rem 0; }
section.tight { padding: 3rem 0; }
section.cream { background: var(--cream); }

.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

/* service cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .card-img { height: 190px; overflow: hidden; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.card .card-body { padding: 1.5rem 1.5rem 1.7rem; flex: 1; display: flex; flex-direction: column; }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; flex: 1; }
.card .more {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}
.card .more::after { content: " →"; color: var(--taupe); }

/* USP / feature list */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.usp {
  text-align: center;
  padding: 1.8rem 1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.usp .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.usp h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.usp p { font-size: 0.88rem; margin: 0; }

/* split (text + image) */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}
.split .img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split .img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.checklist { list-style: none; margin: 1.2rem 0 1.6rem; }
.checklist li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.65rem;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.2rem;
}
.checklist li strong { color: var(--ink); }

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  position: relative;
}
.step .num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.6rem;
  color: var(--taupe-light);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.8rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.92rem; margin: 0; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-soft));
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.6rem; }
.cta-band p { color: #c4d0da; max-width: 560px; margin: 0 auto 1.8rem; }
.cta-band .cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-band .phone-big {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.9rem;
  color: var(--white);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 1rem;
}

/* prose (service pages) */
.prose { max-width: 760px; }
.prose h2 { margin: 2.4rem 0 0.9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.8rem 0 0.6rem; }
.prose ul { margin: 0 0 1.2rem 1.4rem; color: var(--ink-soft); }
.prose ul li { margin-bottom: 0.45rem; }

.info-box {
  background: var(--cream);
  border-left: 4px solid var(--taupe);
  border-radius: 0 10px 10px 0;
  padding: 1.4rem 1.6rem;
  margin: 1.8rem 0;
}
.info-box p { margin: 0; font-size: 0.95rem; }
.info-box strong { color: var(--navy); }

/* sidebar layout for service pages */
.service-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3.5rem;
  align-items: start;
}
.sidebar .side-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
}
.sidebar .side-card.dark {
  background: var(--navy);
  color: var(--white);
  border: none;
}
.sidebar .side-card.dark h3 { color: var(--white); }
.sidebar .side-card.dark p { color: #c4d0da; font-size: 0.92rem; }
.sidebar h3 { margin-bottom: 0.7rem; font-size: 1.15rem; }
.sidebar ul.side-links { list-style: none; }
.sidebar ul.side-links li {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
}
.sidebar ul.side-links li:has(a) { padding: 0; }
.sidebar ul.side-links li:last-child { border-bottom: none; }
.sidebar ul.side-links a {
  display: block;
  padding: 0.6rem 0;
  font-size: 0.93rem;
  font-weight: 500;
}
.sidebar ul.side-links a:hover { color: var(--taupe); }
.sidebar ul.side-links a.current { color: var(--taupe); font-weight: 700; }
.sidebar .phone-side {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: inline-block;
  margin: 0.4rem 0 0.8rem;
}

/* about page */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2rem;
}
.fact {
  text-align: center;
  padding: 1.6rem 1rem;
  background: var(--cream);
  border-radius: var(--radius);
}
.fact strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.2rem;
  color: var(--navy);
}
.fact span { font-size: 0.88rem; color: var(--ink-soft); }

/* contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
}
.contact-card .row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-card .row:last-child { border-bottom: none; }
.contact-card .row .ico {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.contact-card .row h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.contact-card .row p { margin: 0; font-size: 0.95rem; }
.contact-card .row a { font-weight: 600; }

/* ---------- Footer ---------- */

footer.site {
  background: var(--navy-dark);
  color: #b8c4cf;
  padding: 4rem 0 0;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
footer.site h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
footer.site a { color: #b8c4cf; }
footer.site a:hover { color: var(--white); }
footer.site ul { list-style: none; }
footer.site ul li { margin-bottom: 0.55rem; }
.footer-brand img { height: 60px; margin-bottom: 1rem; background: var(--white); border-radius: 10px; padding: 6px; }
.footer-brand p { color: #8fa0af; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.3rem 0;
  font-size: 0.82rem;
  color: #7d8f9e;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .grid-3, .usp-grid, .steps, .facts { grid-template-columns: repeat(2, 1fr); }
  .split, .service-layout, .contact-grid, .grid-2 { grid-template-columns: 1fr; }
  .split { gap: 2rem; }
  .service-layout { gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  .hamburger { display: flex; }
  nav.main {
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 5.5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 90;
    overflow-y: auto;
  }
  .nav-toggle:checked ~ nav.main { transform: translateX(0); }
  nav.main > ul { flex-direction: column; align-items: flex-start; gap: 0.4rem; width: 100%; }
  nav.main > ul > li { width: 100%; border-bottom: 1px solid var(--line); }
  nav.main a { display: block; padding: 0.8rem 0; font-size: 1.05rem; }
  .drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0.6rem 1rem;
    min-width: 0;
  }
  nav.main .drop a { padding: 0.45rem 0; color: var(--ink-soft); }
  .has-drop > a::after { content: ""; }
  nav.main .btn { margin-top: 1.2rem; width: 100%; text-align: center; }

  .nav-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .hamburger { z-index: 95; }
}

@media (max-width: 720px) {
  .grid-3, .usp-grid, .steps, .facts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero {
    min-height: 0;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  }
  .hero .container { padding: 3.5rem 0; }
  .hero-badges { display: none; }
  .brand img { height: 44px; }
  .brand .brand-name { font-size: 1.1rem; }
}

/* ---------- Priskalkulator ---------- */

.calc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2.2rem;
  max-width: 820px;
  margin: 0 auto;
}
.calc-progress { margin-bottom: 1.8rem; }
.calc-progress .steptext {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.5rem;
  display: block;
}
.calc-progress .bar {
  height: 6px;
  background: var(--cream);
  border-radius: 3px;
  overflow: hidden;
}
.calc-progress .bar > span {
  display: block;
  height: 100%;
  background: var(--navy);
  border-radius: 3px;
  transition: width 0.3s ease;
}
.calc-card h2 { margin-bottom: 1.2rem; }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
.svc-choice {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.svc-choice:hover, .svc-choice:focus-visible { border-color: var(--navy); background: var(--white); }
.svc-choice small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.85rem; margin-top: 0.2rem; }
.q-group { margin-bottom: 1.3rem; }
.q-group > label, .q-group > .q-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.calc-card input[type="text"], .calc-card input[type="number"], .calc-card input[type="tel"],
.calc-card input[type="email"], .calc-card input[type="date"], .calc-card select, .calc-card textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
}
.calc-card input:focus, .calc-card select:focus, .calc-card textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
  border-color: var(--navy);
}
.opt-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.opt-pill {
  border: 2px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-family: inherit;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
}
.opt-pill[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.opt-pill:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.field-err { color: #a33324; font-size: 0.85rem; margin-top: 0.3rem; display: none; }
.q-group.has-err .field-err { display: block; }
.q-group.has-err input, .q-group.has-err select, .q-group.has-err textarea { border-color: #a33324; }
.calc-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}
.btn-back {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0.6rem 0;
}
.btn-back:hover { color: var(--navy); }
.price-ticker {
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.price-ticker strong { color: var(--navy); }
.result-box {
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  padding: 1.8rem;
  margin: 1.4rem 0;
}
.result-box .result-label { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe-light); font-weight: 700; }
.result-box .result-total {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 700;
  margin: 0.3rem 0 0.4rem;
}
.result-box .result-note { font-size: 0.88rem; color: #c4d0da; margin: 0; }
.breakdown { list-style: none; margin: 1rem 0 0; }
.breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.breakdown li strong { color: var(--ink); font-weight: 600; }
.breakdown li:last-child { border-bottom: none; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.f-grid .full { grid-column: 1 / -1; }
.privacy-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.9rem; }
.calc-foot-note { max-width: 820px; margin: 1.6rem auto 0; font-size: 0.9rem; color: var(--ink-soft); }
.price-table-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
}
.price-card h3 { margin-bottom: 0.3rem; }
.price-card .from {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0.4rem 0 0.6rem;
}
.price-card .from small { font-size: 0.8rem; font-family: "Inter", sans-serif; font-weight: 400; color: var(--ink-soft); }
.price-card p { font-size: 0.9rem; flex: 1; }
@media (max-width: 960px) {
  .price-table-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .calc-card { padding: 1.4rem; }
  .svc-grid, .f-grid, .price-table-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   Direktelenker fra tjenestesidene til priskalkulatoren
   ========================================================== */
.page-hero .hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.calc-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  flex-wrap: wrap;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  margin: 2.2rem 0 0;
}
.calc-cta strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.calc-cta p { margin: 0; font-size: 0.95rem; max-width: 46ch; }
.calc-cta .btn { flex-shrink: 0; }

.price-card .more + .more { margin-top: 0.5rem; }
.price-card .more { display: inline-block; }

@media (max-width: 720px) {
  .page-hero .hero-actions .btn { flex: 1 1 100%; text-align: center; }
  .calc-cta { flex-direction: column; align-items: flex-start; }
  .calc-cta .btn { width: 100%; text-align: center; }
}

/* fast header ligger over innholdet – hold kalkulatortoppen synlig ved hopp */
.calc-card { scroll-margin-top: 92px; }
.calc-anchors { position: relative; }
.calc-anchors span { display: block; position: absolute; top: 0; width: 1px; height: 1px; scroll-margin-top: 92px; }

/* ==========================================================
   Fleksible befaringstider (kveld og helg)
   ========================================================== */
.hero .flex-note {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  max-width: 620px;
  margin-top: 2rem;
  padding: 1rem 1.3rem;
  background: rgba(14, 35, 53, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  backdrop-filter: blur(2px);
}
.hero .flex-note .fn-ico { font-size: 1.4rem; line-height: 1; }
.hero .flex-note strong { display: block; color: var(--white); font-size: 1.02rem; }
.hero .flex-note p { margin: 0.25rem 0 0; color: #dbe3ea; font-size: 0.92rem; }
.fn-narrow { display: none; }

.flex-hint {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.hours { list-style: none; margin: 0.3rem 0 0.7rem; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.22rem 0;
  font-size: 0.93rem;
}
.hours li span:last-child { font-weight: 500; color: var(--ink); }
.hours-note { margin-bottom: 0.35rem; }
.hours-fine { font-size: 0.87rem; color: var(--ink-soft); }

@media (max-width: 720px) {
  .fn-wide { display: none; }
  .fn-narrow { display: block; }
  .hero .flex-note { margin-top: 1.6rem; }
}

/* hidden-attributtet må slå gjennom: .btn setter display og vant over
   nettleserens [hidden]-regel, slik at «Neste»-knappen ble stående igjen
   på steg 1 og på siste steg i kalkulatoren. */
[hidden] { display: none !important; }
