/* ============================================
   HANINGE GRÄVTJÄNST AB — Custom CSS
   Färger: Antracit #1A1A1A | Grävmaskinsgult #F5B400
   Variabelnamnen (--nt-navy/--nt-orange) är kvar från den ursprungliga
   mallen av historiska skäl, men pekar nu på den nya profilen — bytte inte
   namn för att undvika att röra om i alla inline-stilar i /templates.
   VIKTIGT (kundkrav, WCAG-verifierat): mörk text (#1A1A1A) på gul bakgrund
   ger ~9.5:1 kontrast — vit text på gult klarar INTE AA-kravet. Gult text-
   på-ljus-botten är också ett problem (#F5B400 på vitt ≈ 1.8:1, långt under
   AA), så gult används bara till bakgrunder/kanter/ikoner/hover — aldrig
   som textfärg på ljus botten. Se längre ner var textfärg därför pekar på
   --nt-navy (mörk) istället för --nt-orange på ljusa sektioner.
   ============================================ */

/* --- CSS Variables / Brand Colors --- */
:root {
  --nt-navy:        #1A1A1A; /* antracit — rubriker, brödtext, header/footer-bakgrund */
  --nt-navy-dark:   #0F0F0F; /* mörkare antracit, för gradient-variation */
  --nt-navy-light:  #333333; /* ljusare antracit, för gradient-variation */
  --nt-orange:      #F5B400; /* grävmaskinsgult — CTA, highlights, ikoner, hover */
  --nt-orange-dark: #D99A00; /* hover/active på gula element */
  --nt-orange-light:#FFF4D6; /* ljus gul tint — bakgrundstoner, badges, ljus text på mörk botten */
  --nt-white:       #ffffff;
  --nt-gray-light:  #E5E5E5; /* kantlinjer, sektionsbakgrunder, kort */
  --nt-gray:        #4A4A4A; /* sekundär text */
  --nt-text:        #1A1A1A;
}

/* --- Typografi ---
   Bytt ut budgeto-mallens DM Sans/DM Serif Display (generisk SaaS-look) mot
   Archivo (rubriker — robust, kantig grotesk med industriell karaktär) och
   Barlow (brödtext — stadig, lättläst, inte trendig/rundad). Definierar en
   medveten typskala med tydliga vikter istället för bara bold/normal. */
:root {
  --tp-ff-body: 'Barlow', sans-serif;
  --tp-ff-heading: 'Archivo', sans-serif;
  --tp-ff-dm: 'Archivo', sans-serif;
  --tp-ff-p: 'Barlow', sans-serif;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--tp-ff-heading); letter-spacing: -0.01em; }
h1 { font-weight: 800; }
h2 { font-weight: 800; }
h3, h4 { font-weight: 700; }
h5, h6 { font-weight: 600; }
body, p, a, li, input, textarea, select, button { font-family: var(--tp-ff-body); }
.nt-eyebrow { font-family: var(--tp-ff-body); font-weight: 700; }
.nt-step__num { font-family: var(--tp-ff-heading); }

/* Bootstrap rows with large gutters (`g-5`) are wider than their container by half
   the gutter on each side, which produced ~9px of horizontal scroll on phones.
   Needs to be on both `html` and `body` — `body` alone doesn't stop the viewport
   itself from scrolling horizontally (tested in Chromium and WebKit).
   Safe here because the sticky header is `position: fixed`, not `sticky`. */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* `px-40` is used on the header container but is defined by neither
   main.css nor spacing.css, so the header sat flush against the viewport edge. */
.px-40 { padding-left: 40px; padding-right: 40px; }
@media (max-width: 767px) {
  .px-40 { padding-left: 18px; padding-right: 18px; }
}

/* --- Override Budgeto primary/theme colors --- */
/* `.tp-btn` is a class from the original reference template (not a budgeto one), so it needs its own
   geometry as well as its colour — otherwise it renders as bare text on a block. */
.tp-btn,
.tp-btn-2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 26px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
  background-color: var(--nt-orange) !important;
  border-color: var(--nt-orange) !important;
  color: var(--nt-navy) !important;
}
.tp-btn:hover,
.tp-btn-2:hover {
  background-color: var(--nt-orange-dark) !important;
  border-color: var(--nt-orange-dark) !important;
  color: var(--nt-navy) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(245,180,0,0.35);
}

/* Secondary / outline button */
.tp-btn-border {
  border-color: var(--nt-navy) !important;
  color: var(--nt-navy) !important;
}
.tp-btn-border:hover {
  background-color: var(--nt-navy) !important;
  color: var(--nt-white) !important;
}

/* --- Navbar --- */
/* budgeto capitalises every submenu word, which is wrong for Swedish sentence case
   ("Bemanning Vid Arbetstoppar"). */
.tp-main-menu > nav > ul > li > .submenu li a,
.tp-main-menu > nav > ul > li > a,
.tpoffcanvas .tp-offcanvas-menu a { text-transform: none !important; }

/* Off-canvas (mobile) menu links: dark by default. Yellow text on the white
   off-canvas background fails WCAG AA (~1.8:1), so hover uses the darker
   accent shade and the persistent "active" state stays dark with a yellow
   underline instead of switching the text itself to yellow. */
.tpoffcanvas .tp-offcanvas-menu nav ul li a { color: var(--nt-navy) !important; }
.tpoffcanvas .tp-offcanvas-menu nav ul li a:hover { color: var(--nt-orange-dark) !important; }
.tpoffcanvas .tp-offcanvas-menu nav ul li.active > a {
  color: var(--nt-navy) !important;
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--nt-orange);
  padding-left: 10px;
}
.tpoffcanvas .tpoffcanvas__contact-info ul { list-style: none; padding-left: 0; }
.tpoffcanvas .tpoffcanvas__contact-info a { color: var(--nt-navy) !important; text-decoration: none; }
.tpoffcanvas .tpoffcanvas__contact-info a:hover { color: var(--nt-orange-dark) !important; }

/* Mörk header — låter den ljusa loggan (haninge-logo-white.svg) och det gula
   varumärkesaccenten synas tydligt istället för att drunkna mot vit botten. */
.tpheader {
  background-color: var(--nt-navy) !important;
}
/* budgeto's default sticky-header entrance (main.css: headerSlideDown) animates
   margin-top from -150px to 0 over ~1s. Since the header is only ~90px tall, for
   most of that transition it's still sliding up from fully off-screen — the
   bottom edge appears first, reading as if the nav is cropped/cut off at the top
   until it finishes settling. Swap it for a plain fade so it never looks clipped. */
@keyframes ntHeaderStickyIn { from { opacity: 0; } to { opacity: 1; } }
.tpheader.header-sticky {
  background-color: var(--nt-navy) !important;
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
  animation: ntHeaderStickyIn .3s ease both;
}
.main-menu ul li a {
  color: var(--nt-white) !important;
}
/* main.css's dropdown-caret ::after uses font-weight:400, the one Font
   Awesome weight this project doesn't ship (only solid/900 is loaded —
   see font-awesome-pro.css). Force it to 900 so it renders instead of
   silently falling through every other declared weight looking for a 400
   match. It also inherits --tp-theme-primary (near-black) for color —
   invisible now that the header is dark, same bug class as the dropdown
   panel text fixed above, just dark-on-dark instead of white-on-white. */
.tp-main-menu > nav > ul > li.has-dropdown > a::after {
  font-weight: 900;
  color: var(--nt-white) !important;
}
.main-menu ul li a:hover {
  color: var(--nt-orange) !important;
}
.main-menu ul li.active > a {
  color: var(--nt-white) !important;
  box-shadow: inset 0 -2px 0 var(--nt-orange);
  padding-bottom: 4px;
}
.tp-header-btn .tp-btn {
  background-color: var(--nt-orange) !important;
  border-color: var(--nt-orange) !important;
}

/* --- Megamenu (Tjänster) --- */
.main-menu ul li.has-dropdown { position: relative; }
.nt-megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  width: min(920px, 92vw);
  background: var(--nt-white);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 30px 70px rgba(28, 46, 74, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index: 999;
}
.main-menu ul li.has-dropdown:hover .nt-megamenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nt-megamenu__inner {
  display: flex;
  align-items: stretch;
  padding: 36px 32px;
}
.nt-megamenu__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 28px;
  flex: 1;
}
.nt-megamenu__heading {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--nt-orange);
  margin-bottom: 14px;
}
/* Specificity note: the dark header's ".main-menu ul li a" white-text rule
   (0,1,3) outranks a bare ".nt-megamenu__col a" (0,1,1) despite !important
   on both, so the dropdown text stayed white-on-white. Scope with an extra
   ancestor class to beat it. */
.main-menu .nt-megamenu__col a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 8px;
  border-radius: 8px;
  color: var(--nt-navy) !important;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: background .2s ease, padding-left .2s ease;
}
.nt-megamenu__col a i {
  width: 16px;
  text-align: center;
  color: var(--nt-orange-dark);
  font-size: .85rem;
  flex-shrink: 0;
}
.nt-megamenu__col a:hover { background: var(--nt-gray-light); padding-left: 13px; }
.nt-megamenu__promo {
  width: 240px;
  flex-shrink: 0;
  margin-left: 28px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.nt-megamenu__promo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 46, 74, 0) 25%, rgba(28, 46, 74, .93) 100%);
}
.nt-megamenu__promo-content { position: relative; z-index: 1; padding: 20px; color: #fff; }
.nt-megamenu__promo-content span {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--nt-orange-light);
  font-weight: 700;
}
.nt-megamenu__promo-content h4 { font-size: .98rem; font-weight: 700; margin: 6px 0 14px; line-height: 1.35; color: #fff; }
.nt-megamenu__promo .nt-megamenu__promo-btn { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; text-decoration: none; font-size: .84rem; font-weight: 600; }
.nt-megamenu__promo-btn i { font-size: .72rem; transition: transform .2s ease; }
.nt-megamenu__promo-btn:hover i { transform: translateX(4px); }
@media (max-width: 1399.98px) {
  .nt-megamenu { width: min(680px, 92vw); }
  .nt-megamenu__promo { display: none; }
}

/* --- Hero / Video Section --- */
.nt-hero-video {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--nt-navy);
}
.nt-hero-video video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.nt-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 46, 74, 0.55);
  z-index: 1;
}
.nt-hero-logo-intro {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  animation: logoFadeOut 2s ease-in-out 1.5s forwards;
}
.nt-hero-logo-intro img {
  width: 280px;
  max-width: 60vw;
}
@keyframes logoFadeOut {
  0%   { opacity: 1; }
  100% { opacity: 0; pointer-events: none; }
}
.nt-hero-content {
  /* 3-value `padding: 160px 0 100px` was zeroing left/right padding, since it
     sits on the same element as Bootstrap's `.container` class and overrides
     that class's own horizontal padding (both set padding-left/right, and this
     rule loads later) — every line of hero text sat flush against the screen
     edge on mobile. Set top/bottom only so `.container`'s padding survives,
     plus extra breathing room below the sm breakpoint where the gutter is small. */
  position: relative;
  z-index: 2;
  padding-top: 160px;
  padding-bottom: 100px;
  opacity: 0;
  animation: contentFadeIn 1s ease-out 2.8s forwards;
}
@media (max-width: 767px) {
  .nt-hero-content { padding-top: 120px; padding-bottom: 70px; }
}
@keyframes contentFadeIn {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
.nt-hero-content h1 {
  color: var(--nt-white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.nt-hero-content h1 span {
  color: var(--nt-orange);
}
.nt-hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 36px;
}

/* --- Hero med riktigt projektfoto som bakgrund (background-image sätts
   inline per sida via site-data) — ingen film ännu, men ett äkta foto
   istället för en generisk gradient. Mörk gradient-overlay håller texten
   läsbar oavsett vilket foto som används. */
.nt-hero-static {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--nt-navy);
  background-size: cover;
  background-position: center;
}
.nt-hero-static::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15,15,15,.94) 0%, rgba(15,15,15,.82) 45%, rgba(15,15,15,.55) 100%);
}
.nt-hero-static .nt-hero-content {
  padding-top: 170px;
  padding-bottom: 90px;
  opacity: 0;
  animation: heroFadeUp .7s ease-out .1s forwards;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 767px) {
  .nt-hero-static { min-height: auto; }
}

/* --- Erbjudande-banner --- */
.nt-offer-banner {
  background-color: var(--nt-orange);
  color: var(--nt-white);
  padding: 18px 0;
  text-align: center;
}
.nt-offer-banner p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  /* main.css colours `p` explicitly, so white has to be restated here */
  color: var(--nt-white);
}
.nt-offer-banner strong { color: var(--nt-white); }
.nt-offer-banner span {
  background: rgba(255,255,255,0.2);
  padding: 2px 10px;
  border-radius: 4px;
  margin-left: 8px;
}

/* --- Section titles --- */
.tp-section-title,
.tp-section-title-2 {
  color: var(--nt-navy) !important;
}
.tp-section-subtitle {
  color: var(--nt-orange) !important;
}
.tp-section-subtitle::before,
.tp-section-subtitle::after {
  background-color: var(--nt-orange) !important;
}

/* --- Service Cards --- */
.tpservice {
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: var(--nt-white);
}
.tpservice:hover {
  border-color: var(--nt-orange);
  box-shadow: 0 8px 30px rgba(244,124,32,0.15);
  transform: translateY(-4px);
}
.tpservice__icon i {
  color: var(--nt-orange) !important;
}
.tpservice__title a:hover {
  color: var(--nt-orange) !important;
}
.tpservice__btn a {
  color: var(--nt-orange) !important;
}
.tpservice__btn a:hover {
  color: var(--nt-navy) !important;
}

/* Populär-badge */
.nt-badge-popular {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--nt-orange);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- USP / Varför oss --- */
.nt-usp-section {
  background-color: var(--nt-navy);
  padding: 80px 0;
}
.nt-usp-section .tp-section-subtitle {
  color: var(--nt-orange) !important;
}
.nt-usp-section .tp-section-title {
  color: var(--nt-white) !important;
}
.nt-usp-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}
.nt-usp-icon {
  width: 48px;
  height: 48px;
  background: rgba(244,124,32,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nt-usp-icon i {
  color: var(--nt-orange);
  font-size: 1.2rem;
}
.nt-usp-text h3 {
  color: var(--nt-white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.nt-usp-text p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin: 0;
}

/* --- Counter/Stats Section --- */
.nt-counter-area {
  background-color: var(--nt-gray-light);
}
.tpcounter__number {
  color: var(--nt-navy) !important;
}
.tpcounter__title {
  color: var(--nt-gray) !important;
}

/* --- CTA Section --- */
.nt-cta-section {
  background: linear-gradient(135deg, var(--nt-navy) 0%, var(--nt-navy-light) 100%);
  padding: 80px 0;
  text-align: center;
}
.nt-cta-section h2 {
  color: var(--nt-white);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.nt-cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

/* --- Footer --- */
.tpfooter {
  background-color: var(--nt-navy-dark) !important;
}
.tpfooter-widget__title {
  color: var(--nt-white) !important;
}
.tpfooter-widget__title::after {
  background-color: var(--nt-orange) !important;
}
.tpfooter__link { list-style: none; padding-left: 0; margin-bottom: 0; }
.tpfooter__link li { list-style: none; margin-bottom: 10px; }
.tpfooter__link li a {
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none;
}
.tpfooter__link li a:hover {
  color: var(--nt-orange) !important;
}
.tpfooter__social a {
  background-color: rgba(255,255,255,0.1) !important;
  color: var(--nt-white) !important;
}
.tpfooter__social a:hover {
  background-color: var(--nt-orange) !important;
}
.tpfooter__bottom {
  background-color: var(--nt-navy-dark) !important;
  border-top: 1px solid rgba(255,255,255,0.1) !important;
}
.tpfooter__bottom p {
  color: rgba(255,255,255,0.6) !important;
}

/* --- Breadcrumb / Page Hero --- */
.tpbreadcrumb {
  background-color: var(--nt-navy) !important;
}
.tpbreadcrumb__title {
  color: var(--nt-white) !important;
}
.tpbreadcrumb__menu span,
.tpbreadcrumb__menu a {
  color: rgba(255,255,255,0.7) !important;
}
.tpbreadcrumb__menu .current {
  color: var(--nt-orange) !important;
}

/* --- Hire Modal --- */
.nt-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28,46,74,0.75);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.nt-modal-overlay.active {
  display: flex;
}
.nt-modal {
  background: var(--nt-white);
  border-radius: 12px;
  padding: 48px 40px;
  max-width: 580px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nt-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--nt-gray);
  cursor: pointer;
  line-height: 1;
}
.nt-modal__close:hover { color: var(--nt-navy); }
.nt-modal h3 {
  color: var(--nt-navy);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.nt-modal p.subtitle {
  color: var(--nt-gray);
  margin-bottom: 28px;
  font-size: 0.95rem;
}
.nt-modal .form-group {
  margin-bottom: 18px;
}
.nt-modal label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--nt-navy);
  margin-bottom: 6px;
  display: block;
}
.nt-modal input,
.nt-modal select,
.nt-modal textarea {
  width: 100%;
  border: 1.5px solid #dde2ea;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.95rem;
  color: var(--nt-text);
  transition: border-color 0.2s;
  outline: none;
  background: white;
}
.nt-modal input:focus,
.nt-modal select:focus,
.nt-modal textarea:focus {
  border-color: var(--nt-orange);
}
.nt-modal textarea { height: 100px; resize: vertical; }
.nt-modal .nt-submit-btn {
  width: 100%;
  background: var(--nt-orange);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.nt-modal .nt-submit-btn:hover {
  background: var(--nt-orange-dark);
}
.nt-modal .row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 480px) {
  .nt-modal .row-2col { grid-template-columns: 1fr; }
  .nt-modal { padding: 32px 20px; }
}

/* ============================================================
   BUDGETO THEME REMAP
   main.css ships budgeto's demo palette (teal #1F3130 /
   peach #F8D0B3) as CSS variables. Re-point those variables at
   the Haninge Grävtjänst brand so every budgeto component class
   picks up our colours without per-element overrides.
   ============================================================ */
:root {
  --tp-theme-primary:   #1A1A1A;   /* was #1f3130 teal -> antracit */
  --tp-theme-secondary: #FFF4D6;   /* was #f8d0b3 peach -> ljus gul tint */
  --tp-grey-1: #4A4A4A;
  --tp-grey-2: #4a5568;
  --tp-grey-3: #e9edf3;
  --tp-grey-4: #E5E5E5;
  --tp-common-white-2: #E5E5E5;
  --tp-border-1: rgba(0, 0, 0, 0.10);
  --tp-border-2: rgba(0, 0, 0, 0.12);
}

/* Budgeto renders CTA buttons in the primary colour; the reference template's
   call-to-action colour is orange. Target buttons only (elements),
   so large `tp-bg-theme-primary` section panels stay navy. */
a[class*="tp-btn-"].tp-bg-theme-primary,
button[class*="tp-btn-"].tp-bg-theme-primary {
  background-color: var(--nt-orange) !important;
  color: var(--nt-navy) !important;
}
a[class*="tp-btn-"].tp-bg-theme-primary:hover,
button[class*="tp-btn-"].tp-bg-theme-primary:hover {
  background-color: var(--nt-orange-dark) !important;
  color: var(--nt-navy) !important;
}
/* Outlined buttons */
a[class*="tp-btn-"].border-full-1 {
  border-color: rgba(28, 46, 74, 0.25) !important;
  color: var(--nt-navy) !important;
}
a[class*="tp-btn-"].border-full-1:hover {
  background-color: var(--nt-navy) !important;
  border-color: var(--nt-navy) !important;
  color: var(--nt-white) !important;
}
/* Light button sitting on a navy panel */
a[class*="tp-btn-"].tp-bg-common-white { color: var(--nt-navy) !important; }
a[class*="tp-btn-"].tp-bg-common-white:hover {
  background-color: var(--nt-orange) !important;
  color: var(--nt-navy) !important;
}
/* Soft yellow-tint accent button */
a[class*="tp-btn-"].tp-bg-theme-secondary { color: var(--nt-navy) !important; }
a[class*="tp-btn-"].tp-bg-theme-secondary:hover {
  background-color: var(--nt-orange) !important;
  color: var(--nt-navy) !important;
}

/* Budgeto's serif italic accent inside headings -> brand orange */
.text-italic { color: var(--nt-orange); }
.tp-text-common-white .text-italic,
h2.tp-text-common-white .text-italic { color: var(--nt-orange-light); }

/* Checklist ticks used across budgeto content blocks */
.tp-about-bottom-feature ul li i,
.tp-chose-list ul li i { color: var(--nt-orange) !important; }
/* main.css sets `column-count: 2` on these lists; without a break rule a single
   bullet splits across both columns mid-sentence. */
.tp-about-bottom-feature ul li {
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
  line-height: 1.6;
}
/* Long-form checklist on a dark panel: single column, light text */
.tp-about-bottom-feature ul.nt-check--light { column-count: 1; margin-right: 0; }
.tp-about-bottom-feature ul.nt-check--light li { color: rgba(255,255,255,0.78); margin-bottom: 16px; }

/* Counters */
.tp-counter-wrap h2, .tp-about-4-count-item h2 { color: var(--nt-navy) !important; }

/* Section eyebrow label */
/* Gult som brödtextfärg på ljus botten klarar inte WCAG AA (~1.8:1) — eyebrow-
   labels på ljusa sektioner får därför mörk text, med en gul accentprick
   framför för att fortfarande signalera varumärkesfärgen. */
.nt-eyebrow {
  font-weight: 600;
  font-size: 15px;
  color: var(--nt-gray);
  display: inline-block;
  margin-bottom: 6px;
}
.nt-eyebrow-light { color: rgba(255,255,255,0.65); }

/* ============================================================
   REFERENCE-TEMPLATE SECTION HELPERS (budgeto layouts, brand skin)
   ============================================================ */

/* Dark band used for hero/CTA/breadcrumb, painted with the
   recoloured budgeto texture set in assets/img/ */
.nt-dark-band { background-color: var(--nt-navy); background-size: cover; background-position: center; position: relative; }
.nt-dark-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,15,15,0.92) 0%, rgba(15,15,15,0.75) 55%, rgba(15,15,15,0.6) 100%);
}
.nt-dark-band > * { position: relative; z-index: 2; }

/* Breadcrumb built on budgeto's tp-breadcrumb component */
.tp-breadcrumb-area { background-color: var(--nt-navy); }
.tp-breadcrumb-title { color: var(--nt-white) !important; }
.tp-breadcrumb-dvdr ul li,
.tp-breadcrumb-dvdr ul li a { color: rgba(255,255,255,0.72) !important; }
.tp-breadcrumb-dvdr ul li a:hover { color: var(--nt-orange) !important; }
.tp-breadcrumb-dvdr ul li:last-child { color: var(--nt-orange) !important; }

/* Icon-led service / feature card (budgeto tp-service-8-item) */
.nt-icon-card {
  background: var(--nt-white);
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  padding: 34px 30px;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.nt-icon-card:hover {
  transform: translateY(-6px);
  border-color: var(--nt-orange);
  box-shadow: 0 16px 40px rgba(28,46,74,0.12);
}
.nt-icon-card__icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: var(--nt-orange-light);
  color: var(--nt-navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 22px;
  transition: background .3s ease, color .3s ease;
}
.nt-icon-card:hover .nt-icon-card__icon {
  background: var(--nt-orange);
  color: var(--nt-navy);
}
.nt-icon-card h2, .nt-icon-card h3, .nt-icon-card h4 {
  font-size: 1.15rem; font-weight: 700;
  color: var(--nt-navy); margin-bottom: 10px;
}
.nt-icon-card h2 a, .nt-icon-card h3 a, .nt-icon-card h4 a { color: inherit; text-decoration: none; }
.nt-icon-card h2 a:hover, .nt-icon-card h3 a:hover, .nt-icon-card h4 a:hover { text-decoration: underline; }
.nt-icon-card p { color: var(--nt-gray); font-size: .95rem; margin-bottom: 0; }
.nt-icon-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; font-weight: 600; font-size: .9rem;
  color: var(--nt-navy); text-decoration: none;
}
.nt-icon-card__link:hover { text-decoration: underline; }
.nt-icon-card__link i { color: var(--nt-orange-dark); transition: transform .25s ease; }
.nt-icon-card__link:hover i { transform: translateX(4px); }

/* Före/efter-jämförelse (referensprojekt) — se templates/partials/beforeAfter.js */
.nt-before-after {
  background: var(--nt-white);
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.nt-before-after:hover {
  transform: translateY(-6px);
  border-color: var(--nt-orange);
  box-shadow: 0 16px 40px rgba(28,46,74,0.12);
}
.nt-before-after__images { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #e6eaf0; }
.nt-before-after__img-wrap { position: relative; }
.nt-before-after__badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  padding: 4px 12px; border-radius: 20px;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  color: var(--nt-white); background: rgba(20,30,48,0.75);
}
.nt-before-after__badge--after { background: var(--nt-orange); color: var(--nt-navy); }
.nt-before-after__caption { padding: 22px 26px; }
.nt-before-after__caption h3 { font-size: 1.1rem; font-weight: 700; color: var(--nt-navy); margin-bottom: 6px; }
.nt-before-after__caption p { color: var(--nt-gray); font-size: .92rem; margin: 0; }
@media (max-width: 575.98px) {
  .nt-before-after__images { grid-template-columns: 1fr; }
}

/* Numbered step (process / how it works) */
.nt-step {
  position: relative;
  background: var(--nt-white);
  border-radius: 12px;
  padding: 38px 30px 32px;
  height: 100%;
  border: 1px solid #e6eaf0;
}
.nt-step__num {
  position: absolute; top: -22px; left: 30px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--nt-orange); color: var(--nt-navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 8px 20px rgba(245,180,0,0.35);
}
.nt-step h3 { color: var(--nt-navy); font-weight: 700; font-size: 1.1rem; margin: 14px 0 10px; }
.nt-step p { color: var(--nt-gray); font-size: .93rem; margin: 0; }

/* Media panel with image + navy wash */
.nt-media {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.nt-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nt-media--tall { min-height: 420px; }

/* Stat block on a dark background */
.nt-stat h3 {
  color: var(--nt-white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1;
}
.nt-stat h3 span { color: var(--nt-orange); }
.nt-stat p { color: rgba(255,255,255,0.65); margin: 0; font-size: .93rem; }

/* Stat block on a light background. The brand orange (#F5B400) only reaches
   ~1.5:1 against this section's light-gray background — far under the 3:1
   WCAG AA minimum for large bold text — so the numbers stay navy here; the
   icon above each stat already carries the orange accent on a navy circle. */
.nt-stat-light h3 { color: var(--nt-navy); font-size: clamp(2rem,4vw,3rem); font-weight: 700; margin-bottom: 4px; line-height: 1; }
.nt-stat-light p { color: var(--nt-gray); margin: 0; font-size: .93rem; }

/* Checklist */
.nt-check { list-style: none; padding: 0; margin: 0; }
.nt-check li {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 14px; color: var(--nt-gray); line-height: 1.6;
}
.nt-check li i { color: var(--nt-orange); margin-top: 4px; flex-shrink: 0; }
.nt-check--light li { color: rgba(255,255,255,0.78); }

/* Testimonial card */
.nt-quote {
  background: var(--nt-white);
  border-radius: 14px;
  padding: 38px 34px;
  height: 100%;
  border: 1px solid #e6eaf0;
}
.nt-quote__stars { color: #F5A623; margin-bottom: 16px; letter-spacing: 2px; }
.nt-quote p { color: var(--nt-text); font-size: 1.02rem; line-height: 1.75; margin-bottom: 24px; }
.nt-quote__author { display: flex; align-items: center; gap: 14px; }
.nt-quote__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--nt-navy); color: var(--nt-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem; flex-shrink: 0;
}
.nt-quote__author .nt-quote__author-name { margin: 0; color: var(--nt-navy); font-weight: 700; font-size: .95rem; line-height: normal; }
.nt-quote__author span { color: var(--nt-gray); font-size: .85rem; }

/* Sticky sidebar card used on service detail pages */
.nt-side-sticky { position: sticky; top: 110px; }
@media (max-width: 991.98px) { .nt-side-sticky { position: static; } }
.nt-side-card {
  background: var(--nt-gray-light);
  border-radius: 12px;
  padding: 30px 28px;
  margin-bottom: 22px;
}
.nt-side-card--navy { background: var(--nt-navy); }
/* These were <h5> before the heading-order fix; the theme never styled
   them explicitly (they just inherited h5's small UA-default size), so
   the switch to <h3> needs an explicit size to avoid ballooning. */
.nt-contact-info-box h3 { font-size: 1.05rem; font-weight: 700; color: var(--nt-navy); margin-bottom: 4px; }
.nt-side-card h3 { color: var(--nt-navy); font-weight: 700; margin-bottom: 16px; font-size: 1.05rem; }
/* Högre specificitet (två klasser) än ".nt-side-card h3" ovan, så den vinner
   oavsett källordning — .nt-side-card--navy h3 hade samma specificitet som
   .nt-side-card h3 och förlorade eftersom den kom först i filen. */
.nt-side-card.nt-side-card--navy h3 { color: var(--nt-white); }
/* .nt-contact-form label is dark text (#1A1A1A) by default for the white
   hero/kontakt forms — invisible on this card's navy background, so it
   needs its own override here, same reasoning as the h3 rule above. */
.nt-side-card.nt-side-card--navy .nt-contact-form label { color: rgba(255,255,255,.85); }
.nt-side-nav { list-style: none; padding: 0; margin: 0; }
.nt-side-nav li { margin-bottom: 2px; }
.nt-side-nav li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px; border-radius: 8px;
  background: var(--nt-white); color: var(--nt-navy);
  text-decoration: none; font-size: .92rem; font-weight: 500;
  transition: all .25s ease;
}
.nt-side-nav li a i { color: var(--nt-orange); font-size: .8rem; transition: transform .25s ease; }
.nt-side-nav li a:hover { background: var(--nt-navy); color: var(--nt-white); }
.nt-side-nav li a:hover i { color: var(--nt-orange); transform: translateX(3px); }
.nt-side-nav li.is-active a { background: var(--nt-navy); color: var(--nt-white); }

/* Highlight / offer box */
.nt-highlight {
  background: var(--nt-gray-light);
  border-left: 4px solid var(--nt-orange);
  border-radius: 10px;
  padding: 28px 30px;
}
.nt-highlight__icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--nt-orange-light);
  color: var(--nt-navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.nt-highlight h3 { color: var(--nt-navy); font-weight: 700; margin-bottom: 8px; font-size: 1rem; }
.nt-highlight p { color: var(--nt-gray); margin: 0; }

/* Accordion (FAQ) — brand skin over bootstrap */
.nt-accordion .accordion-item {
  border: 1px solid #e6eaf0;
  border-radius: 10px !important;
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--nt-white);
}
.nt-accordion .accordion-button {
  font-weight: 600; color: var(--nt-navy);
  background: var(--nt-white); box-shadow: none;
  padding: 20px 24px; font-size: 1rem;
}
.nt-accordion .accordion-button:not(.collapsed) {
  color: var(--nt-orange);
  background: var(--nt-gray-light);
}
.nt-accordion .accordion-button:focus { box-shadow: none; border-color: transparent; }
.nt-accordion .accordion-body { color: var(--nt-gray); padding: 4px 24px 22px; line-height: 1.75; }

/* Logo strip / trust row */
.nt-trust-row {
  display: flex; flex-wrap: wrap; gap: 14px 34px;
  align-items: center;
}
.nt-trust-row span {
  display: inline-flex; align-items: center; gap: 9px;
  color: rgba(255,255,255,0.8); font-size: .92rem; font-weight: 500;
}
.nt-trust-row i { color: var(--nt-orange); }

/* Decorative budgeto shape overlay */
.nt-shape {
  position: absolute; pointer-events: none; opacity: .10; z-index: 1;
}
.nt-shape--tr { top: 40px; right: 40px; width: 150px; }
.nt-shape--br { bottom: 30px; right: 6%; width: 190px; }

/* Section padding helpers */
.nt-sec    { padding: 100px 0; }
.nt-sec-sm { padding: 70px 0; }
@media (max-width: 767px) {
  .nt-sec { padding: 64px 0; }
  .nt-sec-sm { padding: 48px 0; }
  .nt-icon-card { padding: 26px 22px; }
}

/* --- Misc --- */
.tp-theme-color { color: var(--nt-orange) !important; }
.tp-theme-bg { background-color: var(--nt-orange) !important; }
.tp-navy-bg { background-color: var(--nt-navy) !important; }
a { color: var(--nt-navy); }
a:hover { color: var(--nt-orange-dark); }

/* Inline text links (inside body copy) need a non-color cue too — navy text
   on the surrounding gray body copy only reaches ~2:1, under the 3:1 WCAG AA
   minimum, so color alone doesn't distinguish them. Nav links, buttons and
   cards style their own links and aren't inside a <p>, so this stays scoped
   to prose. */
p a { text-decoration: underline; text-underline-offset: 2px; }

/* Back to top */
.back-to-top-btn {
  background-color: var(--nt-orange) !important;
}

/* Preloader */
.preloader { background-color: var(--nt-navy) !important; }

/* --- Tjänste-dropdown (Haninge Grävtjänst, 7 tjänster, ingen promo-box) --- */
.nt-megamenu--services { width: min(360px, 92vw); left: 0; transform: translateY(14px); }
.main-menu ul li.has-dropdown:hover .nt-megamenu--services { transform: translateY(0); }
.nt-megamenu--services .nt-megamenu__cols { grid-template-columns: 1fr; gap: 2px; }
.nt-megamenu__col a.nt-coming-soon {
  color: var(--nt-gray) !important;
  cursor: default;
  pointer-events: none;
}
.nt-megamenu__col a.nt-coming-soon i { color: var(--nt-gray); }
.nt-coming-soon__badge {
  margin-left: auto;
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  background: var(--nt-gray-light);
  color: var(--nt-gray);
  padding: 2px 8px;
  border-radius: 20px;
}
.tp-offcanvas-menu ul li a.nt-coming-soon { opacity: .55; pointer-events: none; }

/* --- FAQ-accordion (native <details>, ingen JS behövs) --- */
.nt-faq-item {
  background: var(--nt-gray-light);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 14px;
}
.nt-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--nt-navy);
  list-style: none;
}
.nt-faq-item summary::-webkit-details-marker { display: none; }
.nt-faq-item summary::after {
  content: '+';
  float: right;
  color: var(--nt-navy);
  font-weight: 700;
}
.nt-faq-item[open] summary::after { content: '\2212'; }
.nt-faq-item p { color: var(--nt-gray); margin: 14px 0 0; line-height: 1.7; }

/* --- Flytande "Ring nu"-knapp ---
   Cirkel med bara ikon på mobil (där den gör mest nytta — folk ringer
   hellre än fyller i formulär), utökas till pill med text på större skärmar. */
.nt-floating-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--nt-orange);
  color: var(--nt-navy) !important;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  transition: transform .2s ease, box-shadow .2s ease, width .2s ease, border-radius .2s ease, opacity .2s ease;
}
.nt-floating-call i { font-size: 1.15rem; flex-shrink: 0; }
.nt-floating-call__text { display: none; white-space: nowrap; }
.nt-floating-call--hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.nt-floating-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,.32);
  color: var(--nt-navy) !important;
}
@media (min-width: 576px) {
  .nt-floating-call {
    width: auto;
    height: auto;
    padding: 14px 22px;
    border-radius: 30px;
  }
  .nt-floating-call__text { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  .nt-floating-call { transition: none; }
}
/* Undvik att knappen hamnar bakom cookie-bannern medan den visas. */
body:has(#nt-cookie-banner.nt-show) .nt-floating-call { bottom: 100px; }
@media (max-width: 767px) {
  body:has(#nt-cookie-banner.nt-show) .nt-floating-call { bottom: 130px; }
}

/* --- Källor och läsvärt (E-E-A-T, utlänkar till myndigheter m.fl.) --- */
.nt-sources {
  border-top: 1px solid #e6eaf0;
  padding-top: 22px;
}
.nt-sources h3 {
  font-size: .82rem;
  font-weight: 700;
  color: var(--nt-gray);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.nt-sources ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.nt-sources a {
  font-size: .88rem;
  color: var(--nt-gray);
  text-decoration: underline;
}
.nt-sources a:hover { color: var(--nt-navy); }

/* --- Statistik-block (siffror på startsidan) — centrerat med ikon ovanför --- */
.nt-stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.nt-stat-block__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--nt-navy);
  color: var(--nt-orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* --- "Vad ingår i tjänsten?" --- */
.nt-inclusion {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--nt-gray-light);
  border-radius: 10px;
  padding: 16px 20px;
  height: 100%;
}
.nt-inclusion i { color: var(--nt-orange-dark); margin-top: 3px; flex-shrink: 0; }
.nt-inclusion span { color: var(--nt-navy); font-weight: 500; }

/* --- Relaterade tjänster --- */
.nt-related-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid #e6eaf0;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}
.nt-related-card:hover { border-color: var(--nt-orange-dark); background: var(--nt-gray-light); }
.nt-related-card__icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--nt-orange-light); color: var(--nt-navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem;
}
.nt-related-card__label { display: block; font-size: .78rem; color: var(--nt-gray); }
.nt-related-card__name { display: block; font-weight: 700; color: var(--nt-navy); font-size: 1rem; }
.nt-related-card__arrow { margin-left: auto; color: var(--nt-gray); flex-shrink: 0; }

/* --- Satellitdomän-länk (tjänstekort) --- */
.nt-satellite-link {
  font-size: .82rem;
  color: var(--nt-gray) !important;
  margin: 10px 0 0 !important;
}
.nt-satellite-link i { margin-right: 5px; font-size: .78rem; }
.nt-satellite-link a { color: var(--nt-gray) !important; text-decoration: underline; }
.nt-satellite-link a:hover { color: var(--nt-navy) !important; }

/* --- Tillgänglighet --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #1A1A1A;
  outline-offset: 2px;
  border-radius: 2px;
}
.tp-btn:focus-visible,
.tp-btn-2:focus-visible,
a[class*="tp-btn-"]:focus-visible {
  outline: 3px solid #1A1A1A;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .nt-hero-content, .wow { opacity: 1 !important; transform: none !important; }
}

/* --- TODO-placeholder-markering (tas bort när riktigt innehåll finns) --- */
.nt-todo {
  display: inline-block;
  background: #FFF4E5;
  color: #9a5b00;
  border: 1px dashed #F4A94F;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: .78rem;
  font-weight: 600;
}
.nt-todo-block {
  background: #FFF4E5;
  border: 1px dashed #F4A94F;
  border-radius: 10px;
  padding: 14px 18px;
  color: #9a5b00;
  font-size: .88rem;
  margin-bottom: 18px;
}

/* --- Trygghetspunkter (F-skatt/försäkring/erfarenhet) på tablet/mobil ---
   Temats standard (main.css) staplar ikon ovanför text (flex-direction:column)
   på ALLA bredder under 1400px, vilket ger stora, oproportionerliga cirklar
   och konstig vitrymd på tablet/mobil. Vi behåller ikon+text i rad istället,
   och krymper bara cirkeln på riktigt smala skärmar. */
@media (max-width: 1399.98px) {
  .tp-feature-3-wrap {
    flex-direction: row !important;
    align-items: center;
  }
  .tp-feature-3-wrap span {
    margin-bottom: 0 !important;
  }
}
@media (max-width: 574.98px) {
  .tp-feature-3-wrap span {
    width: 56px;
    height: 56px;
    line-height: 56px;
    font-size: .85rem;
  }
}

/* --- "Scrolla upp"-knappen hamnade bakom "Ring nu" ---
   Båda är fixed-positionerade i samma hörn (höger/nederkant) och överlappar
   varandra; eftersom "Ring nu" har högre z-index (måste ligga över allt
   annat innehåll) doldes scrolla-upp-knappen bakom den. Lösning: stapla
   scrolla-upp-knappen ovanför "Ring nu" istället för att dela samma yta,
   och flytta upp den ytterligare när cookie-bannern också är synlig
   (samma mönster som redan används för .nt-floating-call). */
.back-to-top-wrapper.back-to-top-btn-show {
  bottom: 90px;
}
body:has(#nt-cookie-banner.nt-show) .back-to-top-wrapper.back-to-top-btn-show {
  bottom: 170px;
}
@media (max-width: 767px) {
  body:has(#nt-cookie-banner.nt-show) .back-to-top-wrapper.back-to-top-btn-show {
    bottom: 200px;
  }
}

/* --- Formulär (kontaktformuläret på /kontakt + hero-minformuläret på
   startsidan) — global så båda kan återanvända samma stil. --- */
.nt-contact-form input,
.nt-contact-form select,
.nt-contact-form textarea {
  width: 100%; border: 1.5px solid #dde2ea; border-radius: 8px;
  padding: 13px 16px; font-size: .95rem; color: #1A1A1A;
  margin-bottom: 18px; outline: none; transition: border-color .2s; background: #fff;
}
.nt-contact-form input:focus,
.nt-contact-form select:focus,
.nt-contact-form textarea:focus { border-color: #D99A00; }
.nt-contact-form textarea { height: 130px; resize: vertical; }
.nt-contact-form label { font-size: .88rem; font-weight: 600; color: #1A1A1A; margin-bottom: 6px; display: block; }
.nt-contact-form input[type="file"] { padding: 10px 14px; }
.nt-contact-form .nt-file-hint { font-size: .78rem; color: var(--nt-gray); margin: -12px 0 18px; display: block; }

/* --- Hero-minformulär ("Vill du diskutera ditt projekt?") ---
   Ligger som ett fristående kort i hero-sektionen, till höger om texten på
   desktop och under den på mobil (naturlig flex-wrap, ingen extra CSS för
   det). Vitt kort mot den mörka hero-bakgrunden för tydlig kontrast. */
.nt-hero-form-card {
  background: var(--nt-white);
  border-radius: 16px;
  padding: 36px 34px;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.nt-hero-form-card .nt-eyebrow { justify-content: flex-start; }
.nt-hero-form-card h2 { color: var(--nt-navy); font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.nt-hero-form-card > p { color: var(--nt-gray); font-size: .92rem; margin-bottom: 22px; }
.nt-hero-form-card .nt-contact-form input,
.nt-hero-form-card .nt-contact-form select { margin-bottom: 14px; }
.nt-hero-form-card .nt-form-message { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 8px; font-size: .88rem; }
@media (max-width: 991.98px) {
  .nt-hero-form-card { margin-top: 40px; }
}

/* --- Riktiga loggan (haninge.png) på mörk botten ---
   Loggan är en enfärgad grå PNG (#C0C0C0 på transparent botten) gjord för
   ljus bakgrund. Istället för att ersätta den med en påhittad logotyp när
   header/footer blev mörka, återger vi SAMMA fil vit via ett CSS-filter —
   filtret fungerar rent här eftersom loggan bara har en enda gråton (ingen
   färgåtergivning att förvränga): brightness(0) gör allt icke-transparent
   svart, invert(1) vänder svart till vitt. */
.nt-logo-on-dark {
  filter: brightness(0) invert(1);
}
