/* Compact comparison layout, with generous space between chapters. */
.service-page > :is(.page-intro, section) {
  width: calc(100% - 80px);
  max-width: 1176px;
  padding: 0;
  margin: 0 auto clamp(56px, 5vw, 80px);
  border-radius: 0;
  background: #fff;
}
.service-page > .page-intro { background: #fff; padding-top: 20px; }
/* Warm, quiet section frames retain the compact comparison content. */
.service-page > :is(.page-intro, #pakker, #prosess) {
  width: calc(100% - 40px);
  max-width: 1256px;
  padding: 36px 40px;
  background: #f5f4f0;
  border: 0;
  border-radius: 32px;
}
.service-page > section:not(.contact) { border-top: 1px solid var(--line); padding-top: 36px; }
.service-page .section-title { margin-bottom: 24px; gap: 28px; }
.service-page .section-title h2 { font-size: clamp(1.65rem, 2.5vw, 2.1rem); }
.service-page .intro-row { gap: 44px; }
.service-page .section-nav { margin-top: 27px; }
.service-page .section-nav a { padding: 7px 13px; }
.service-page .areas { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.service-page .area {
  display: flex; flex-direction: column; padding: 21px 19px;
  border-radius: 0; border-top: 3px solid var(--brand-jet);
}
.service-page .area:nth-child(1) { background: #baccd0 !important; border-top-color: #60858e !important; }
.service-page .area:nth-child(2) { background: #b4b9ba !important; border-top-color: #747f82 !important; }
.service-page .area:nth-child(3) { background: #dce5e7 !important; border-top-color: #91a8ae !important; }
.service-page .area:nth-child(4) { background: #a9bec3 !important; border-top-color: #60858e !important; color: var(--ink); }
.service-page .area:nth-child(4) :is(h3,li,a,summary) { color: var(--ink) !important; }
.service-page .area:nth-child(4) :is(p,.number) { color: var(--muted) !important; }
.service-page .area:nth-child(4) .services li { border-color: var(--line); }
.service-page .area h3 { min-height: 48px; font-size: 1.3rem; }
.service-page .area > p { min-height: 72px; margin: 10px 0 15px; font-size: .95rem; }
.service-page .area .services { flex: 1; }
.service-page .area > a { margin-top: 20px; }
.service-page .packages { gap: 14px; }
.service-page .package { padding: 23px; border-radius: 3px; border-color: #b4b9ba; }
.service-page .package:nth-child(2) { background: #baccd0; border-color: #8aa6ad; color: var(--ink); }
.service-page .package:nth-child(2) :is(p,li,.label,.price) { color: var(--ink); }
.service-page .package:nth-child(2) li { border-color: var(--line); }
.service-page .package:nth-child(2) .button { background: transparent; border-color: #11111140; color: var(--ink); }
.service-page .package:nth-child(2) .button:hover { background: var(--brand-jet); border-color: var(--brand-jet); }
.service-page .package > p { min-height: 67px; }
.service-page .way { border-left-color: var(--line); }
.service-page > .contact { padding: 0; }
@media(max-width: 1100px) {
 .service-page .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
 .service-page .area h3,.service-page .area > p { min-height: 0; }
}
@media(min-width: 901px) {
 .service-page .packages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media(max-width: 900px) {
 .service-page .packages { grid-template-columns: 1fr; }
 .service-page .package > p { min-height: 0; }
}
@media(max-width: 700px) {
 .service-page > :is(.page-intro, section) { width: calc(100% - 40px); margin-bottom: 48px; }
 .service-page > section:not(.contact) { padding-top: 28px; }
 .service-page > :is(.page-intro, #pakker, #prosess) { padding: 28px 20px; border-radius: 24px; }
 .service-page .areas { grid-template-columns: 1fr; }
 .service-page .area { padding: 22px; }
 .service-page .intro-row { gap: 22px; }
}

/* Two clear routes into existing prices and packages. */
.service-page .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service-page a.way { display: flex; flex-direction: column; padding: 26px; border: 1px solid #b4b9ba; border-radius: 8px; text-decoration: none; color: var(--ink); background: #f5f4f0; transition: background .2s, border-color .2s; }
.service-page a.way:last-child { background: #dce5e7; }
.service-page a.way:hover { background: #baccd0; border-color: #60858e; }
.service-page a.way:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
.service-page .way-action { margin-top: 20px; text-decoration: underline; text-underline-offset: 5px; }
.service-page .price-contact { margin-top: 22px; }
.service-page > :is(#priser, #pakker) { scroll-margin-top: 140px; }
@media(max-width: 700px) { .service-page .ways { grid-template-columns: 1fr; } }

.service-page .area > p { min-height: 100px; }
.service-page .package-scope { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.service-page .package-scope h3, .service-page .ad-scope h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-page .package-scope > p { max-width: 900px; }
.service-page .package-scope details { margin-top: 14px; }
.service-page .package-scope details p { max-width: 900px; margin-top: 12px; }
.service-page .ad-scope { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.service-page .ad-scope p { font-size: .95rem; }
@media(max-width: 1100px) { .service-page .area > p { min-height: 0; } }
@media(max-width: 700px) { .service-page .ad-scope { grid-template-columns: 1fr; gap: 22px; } }


/* Contact portrait: use the same proportions and density as the homepage contact block. */
.service-page > .contact { max-width: 1120px; }
.service-page .contact-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  max-width: 1120px;
  margin-inline: auto;
  overflow: hidden;
}
.service-page .contact-content { padding: clamp(26px, 3vw, 40px); }
.service-page .contact .person-panel.person-panel--portrait {
  grid-template-rows: minmax(260px, 1fr) auto;
  min-height: 0;
}
.service-page .contact .person-panel--portrait .portrait-frame {
  min-height: 260px;
}
.service-page .contact .person-panel--portrait .person-details {
  padding: 22px clamp(24px, 3vw, 40px) 26px;
}
@media (max-width: 820px) {
  .service-page .contact-layout { grid-template-columns: 1fr; }
  .service-page .contact .person-panel.person-panel--portrait {
    grid-template-columns: minmax(180px, .75fr) minmax(0, 1.25fr);
    grid-template-rows: 320px;
    align-items: stretch;
    min-height: 0;
  }
  .service-page .contact .person-panel--portrait .portrait-frame { min-height: 320px; }
  .service-page .contact .person-panel--portrait .person-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
@media (max-width: 560px) {
  .service-page .contact .person-panel.person-panel--portrait {
    display: block;
    min-height: 0;
  }
  .service-page .contact .person-panel--portrait .portrait-frame {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .service-page .contact .person-panel--portrait .person-details {
    display: block;
  }
}
